File manager - Edit - /home/wwwroot/camplus.hk/master.camplus.hk/public_html/assets/custom/survey-creator/survey-creator.min.js
Back
/*! * SurveyJS Creator v1.1.22 * (c) Devsoft Baltic O� - http://surveyjs.io/ * Github: https://github.com/surveyjs/survey-creator * License: https://surveyjs.io/Licenses#BuildSurvey */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("knockout"),require("survey-knockout")):"function"==typeof define&&define.amd?define("SurveyCreator",["knockout","survey-knockout"],t):"object"==typeof exports?exports.SurveyCreator=t(require("knockout"),require("survey-knockout")):e.SurveyCreator=t(e.ko,e.Survey)}(this,function(e,t){return function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=20)}([function(e,t,o){"use strict";var i=o(28),n=o(2);o.n(n);o.d(t,"a",function(){return r}),o.d(t,"b",function(){return a});var r={camelCaseBreaking:!0,currentLocale:"",locales:{},getString:function(e,t){void 0===t&&(t=null);for(var o=this.getLocale(t),i=this.getLocale("en"),n=e.split("."),r=o,a=0;a<n.length;a++)if(!(r=r[n[a]])&&""!==r)return o===i?n[a]:this.getString(e,"en");return r},hasString:function(e,t){void 0===t&&(t=null);for(var o=this.getLocale(t),i=e.split("."),n=o,r=0;r<i.length;r++)if(!(n=n[i[r]])&&""!==n)return!1;return!0},getLocaleName:function(e,t){void 0===t&&(t=null);var o=n.surveyLocalization.localeNames;return t||(t=n.surveyLocalization.defaultLocale),e?o[e]:r.getString("ed.defaultLocale").format(o[t])},getPropertyName:function(e,t){void 0===t&&(t=null);var o=this.getProperty(e,t),i=o.name;return i?i!=e?i:this.getAutoPropertyName(i):o},getPropertyTitle:function(e,t){void 0===t&&(t=null);var o=this.getProperty(e,t);return o.title?o.title:""},getPropertyInEditor:function(e,t){void 0===t&&(t=null);var o=this.getString("pe."+e,t);return o!==e?o:this.getProperty(e)},getProperty:function(e,t){void 0===t&&(t=null);var o=this.getString("p."+e,t);if(o!==e)return o;var i=e.indexOf("_");return i<-1?this.getAutoPropertyName(o):(e=e.substr(i+1),o=this.getString("p."+e,t),o!==e?o:this.getAutoPropertyName(o))},getAutoPropertyName:function(e){if(!e||!this.camelCaseBreaking)return e;for(var t=e[0].toUpperCase(),o=1;o<e.length;o++)e[o]===e[o].toUpperCase()&&(t+=" "),t+=e[o];return t},getPropertyValue:function(e,t){return void 0===t&&(t=null),this.getValueInternal(e,"pv",t)},getValidatorName:function(e,t){return void 0===t&&(t=null),this.getValueInternal(e,"validators",t)},getTriggerName:function(e,t){return void 0===t&&(t=null),this.getValueInternal(e,"triggers",t)},getLocale:function(e){e||(e=this.currentLocale);var t=e?this.locales[e]:a;return t||(t=a),t},getValueInternal:function(e,t,o){if(void 0===o&&(o=null),""===e||null===e||void 0===e)return"";e=e.toString();var i=this.getLocale(o),n=i[t]?i[t][e]:null;return n||(n=a[t][e]),n||e},getLocales:function(){var e=[];e.push("");for(var t in this.locales)e.push(t);return e}},a=i.a},function(t,o){t.exports=e},function(e,o){e.exports=t},function(e,t,o){"use strict";function i(e,t){function o(){this.constructor=e}for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}t.a=i;Object.assign},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(13)),s=o(31),l=o(0);o.d(t,"a",function(){return d}),o.d(t,"b",function(){return u}),o.d(t,"c",function(){return c}),o.d(t,"d",function(){return p}),o.d(t,"e",function(){return m});var d=function(){function e(){}return e.getOperators=function(){for(var e=["empty","notempty","equal","notequal","contains","notcontains","anyof","allof","greater","less","greaterorequal","lessorequal"],t=[],o=0;o<e.length;o++){var i=e[o];t.push({name:i,text:l.a.getString("op."+i)})}return t},e.registerEditor=function(t,o,i){void 0===i&&(i=null),e.creatorList[t]=o;var n=i||t;e.creatorByClassList[n]=o},e.registerCustomEditor=function(t,o){e.widgetRegisterList[t]=o},e.unregisterCustomEditor=function(t){delete e.widgetRegisterList[t]},e.createEditor=function(t,o){var i=t.type;!e.isDropdownEditor(t)||i&&i!=e.defaultEditor||(i="dropdown");var n=e.createCustomEditor(i,t);if(!n){var a=e.creatorList[i];a&&(n=a(t))}if(!n&&t.isArray&&r.Serializer.isDescendantOf(t.className,"itemvalue")){var a=e.creatorList["itemvalue[]"];a&&(n=a(t))}return n||(a=e.findParentCreator(i),n=a(t)),n.onChanged=o,n},e.isDropdownEditor=function(e){return void 0!==e.hasChoices?!0===e.hasChoices:null!=e.choices},e.createCustomEditor=function(t,o){var i=e.widgetRegisterList[t];return i?new s.a(o,i):null},e.findParentCreator=function(t){for(var o=r.Serializer.findClass(t);o&&o.parentName;){var i=e.creatorByClassList[o.parentName];if(i)return i;o=r.Serializer.findClass(o.parentName)}return e.creatorList[e.defaultEditor]},e.defaultEditor="string",e.creatorList={},e.creatorByClassList={},e.widgetRegisterList={},e}(),u=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"string"},enumerable:!0,configurable:!0}),t}(a.a),c=function(e){function t(t){var o=e.call(this,t)||this;o.koChoices=n.observableArray([]),o.koHasFocus=n.observable(!1);var i=o;return o.koHasFocus.subscribe(function(e){e&&i.property.isDynamicChoices&&i.updateChoices()}),o}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"dropdown"},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){if("locale"===this.property.name){var t=l.a.getLocaleName(e);if(t)return t}if("cellType"===this.property.name){var t=l.a.getString("qt."+e);if(t)return t}return l.a.getPropertyValue(e)},t.prototype.setObject=function(t){e.prototype.setObject.call(this,t),this.beginValueUpdating(),0==this.koChoices().length&&this.updateChoices(),this.endValueUpdating()},t.prototype.updateDynamicProperties=function(){e.prototype.updateDynamicProperties.call(this),this.updateChoices()},t.prototype.updateChoices=function(){var e=this.getPropertyChoices();this.setChoices(e)},t.prototype.setChoices=function(e){(e=this.makeChoicesLocalizable(e))&&Array.isArray(e)&&this.koChoices(e)},t.prototype.makeChoicesLocalizable=function(e){if(!e)return e;var t=new Array;r.ItemValue.setData(t,e);for(var o=0;o<t.length;o++){var i=t[o].value,n=this.getValueText(i);n!=i&&(t[o].text=n)}return t},t.prototype.getPropertyChoices=function(){if(!this.property)return null;if(this.object){var e=this.object;this.object.getEditingPropertyValue=function(t){return e.editingProperties&&void 0!=e.editingProperties[t]?e.editingProperties[t]:e[t]}}var t=this;return this.property.getChoices(this.object,function(e){t.setChoices(e)})},t}(a.a),p=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"boolean"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alwaysShowEditor",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canShowDisplayNameOnTop",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){return l.a.getPropertyValue(e)},t}(a.a),m=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"number"},enumerable:!0,configurable:!0}),t.prototype.getCorrectedValue=function(t){return t?(("string"==typeof t||t instanceof String)&&((t=Number(t))||(t=0)),e.prototype.getCorrectedValue.call(this,t)):t},t}(a.a);d.registerEditor("string",function(e){return new u(e)}),d.registerEditor("dropdown",function(e){return new c(e)}),d.registerEditor("boolean",function(e){return new p(e)}),d.registerEditor("number",function(e){return new m(e)})},function(e,t,o){"use strict";var i=o(0);o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r});var n;!function(e){e[e.Unknown=0]="Unknown",e[e.Survey=1]="Survey",e[e.Page=2]="Page",e[e.Panel=3]="Panel",e[e.Question=4]="Question"}(n||(n={}));var r=function(){function e(){}return e.getNewPageName=function(t){return e.getNewName(t,i.a.getString("ed.newPageName"))},e.getNewQuestionName=function(t){return e.getNewName(t,i.a.getString("ed.newQuestionName"))},e.getNewPanelName=function(t){return e.getNewName(t,i.a.getString("ed.newPanelName"))},e.generateNewName=function(e){for(var t=e.length;t>0&&e[t-1]>="0"&&e[t-1]<="9";)t--;var o=e.substr(0,t),i=0;return t<e.length&&(i=parseInt(e.substr(t))),i++,o+i},e.getNewName=function(e,t){for(var o={},i=0;i<e.length;i++)o[e[i].name]=!0;for(var n=1;;){if(!o[t+n.toString()])break;n++}return t+n.toString()},e.getObjectType=function(e){return e&&e.getType?"page"==e.getType()?n.Page:"panel"==e.getType()?n.Panel:"survey"==e.getType()?n.Survey:e.name?n.Question:n.Unknown:n.Unknown},e.getObjectTypeStr=function(t){var o=e.getObjectType(t);return o===n.Survey?"survey":o===n.Page?"page":o===n.Panel?"panel":o===n.Question?"question":"unknown"},e.getObjectName=function(t,o){if(void 0===o&&(o=!1),o&&t.title)return t.title;if(t.name)return t.name;if(e.getObjectType(t)!=n.Page)return"";var i=t.data;return i||(i=t.survey),"[Page "+(i.pages.indexOf(t)+1)+"]"},e.getElements=function(e,t){return void 0===t&&(t=!1),e?e.getElementsInDesign?e.getElementsInDesign(t):e.elements?e.elements:[]:[]},e.isPropertyVisible=function(e,t,o){if(void 0===o&&(o=null),!t||!t.visible)return!1;if(t.isVisible&&e.getLayoutType&&!t.isVisible(e.getLayoutType(),null))return!1;var i=o?function(e,t){return o.onCanShowPropertyCallback(e,t)}:null;return!(i&&!i(e,t))},e.scrollIntoViewIfNeeded=function(t){if(t&&t.scrollIntoView){var o=t.getBoundingClientRect(),i=e.getScrollableDiv(t);if(i){var n=i.clientHeight;if(o.top<i.offsetTop)t.scrollIntoView();else{var r=n+i.offsetTop;o.bottom>r&&o.height<n&&t.scrollIntoView(!1)}}}},e.getScrollableDiv=function(e){for(;e;){if(e.id&&e.id.indexOf("scrollableDiv")>-1)return e;if(!e.offsetParent)return null;e=e.offsetParent}return null},e}()},function(e,t,o){"use strict";function i(e){if(!e)return null;var t=e.survey;return t||e.data}function n(e){e.dragEnterCounter=0,e.emptyElement=null,e.rowCount=h.computed(function(){return(e.koRow?e.koRows():e.rows).length},e),e.rowCount.subscribe(function(t){e.emptyElement&&(e.emptyElement.style.display=t>0?"none":"")})}function r(e){e.allowingOptions={allowDelete:!0,allowEdit:!0,allowCopy:!0,allowAddToToolbox:!0,allowDragging:!0,allowChangeType:!0,allowShowHideTitle:!0,allowChangeRequired:!0},e.dragDropHelperValue=null,e.dragDropHelper=function(){return null==e.dragDropHelperValue&&(e.dragDropHelperValue=i(e).dragDropHelper),e.dragDropHelperValue},e.renderedElement=null,e.koIsDragging=h.observable(!1),e.koIsSelected=h.observable(!1),e.koIsDragging.subscribe(function(t){e.renderedElement&&(e.renderedElement.style.opacity=t?.4:1)}),e.koIsSelected.subscribe(function(t){e.renderedElement&&(t?e.renderedElement.classList.add("svd_q_selected","svd-main-border-color"):e.renderedElement.classList.remove("svd_q_selected","svd-main-border-color"))})}function a(e,t){return function(t,o,n,r){o.renderedElement=t,o.renderedElement.classList.add("svd_question"),"bootstrap"===f.a.currentTheme()&&o.renderedElement.classList.add("svd-dark-bg-color"),o.renderedElement.classList.add("svd_q_design_border");var a=!o.getLayoutType||"row"==o.getLayoutType(),s=o.allowingOptions;if(s.allowCopy=s.allowCopy&&a,s.allowAddToToolbox=s.allowAddToToolbox&&a,s.allowChangeType=s.allowChangeType&&a,s.allowShowHideTitle=s.allowShowHideTitle&&a,s.allowChangeRequired=s.allowChangeRequired&&a,i(o).updateElementAllowingOptions(o),o.koIsSelected()&&o.renderedElement.classList.add("svd_q_selected","svd-main-border-color"),t.onclick=function(e){e.markEvent||(e.markEvent=!0,o.parent&&(i(o).selectedElement=o))},r=r&&!("paneldynamic"==o.getType()))for(var l=t.childNodes,d=0;d<l.length;d++)l[d].style&&(l[d].style.pointerEvents="none");if(!e.readOnly){o.dragDropHelper().attachToElement(t,o),t.tabindex="0",t.onkeyup=function(e){var o=!!document&&document.activeElement;if(!o||!o.dataset||"adorner"!==o.dataset.svdInfo){var i=e.which||e.keyCode;19!==i&&32!==i||t.click()}},t.ondblclick=function(e){i(o).doElementDoubleClick(o)};var u=function(e){e.tabIndex=-1};["input","select","textarea"].forEach(function(e){for(var o=t.querySelectorAll(e),i=0;i<o.length;i++)u(o[i])}),p(t,o)}}}function s(e,t){x[e]||(x[e]=[]),x[e].push(t)}function l(e){void 0===e&&(e=void 0),void 0!==e?(e||[]).forEach(function(e){return delete x[e]}):x={}}function d(e,t){var o=t.panel?t.cssClasses.panel:t.cssClasses;Object.keys(x).forEach(function(e){x[e].forEach(function(e){var i=e.getElementName(t.question||t.panel),n=e.getMarkerClass(t.question||t.panel);o[i]=u(o[i],n)})})}function u(e,t){var o=e;return t&&(o=o?o+" "+t:t),o}function c(e,t){for(var i=[],n=0;n<t.length;n++){o.i(y.b)("svd_question",t[n])===e&&i.push(t[n])}return i}function p(e,t){Object.keys(x).forEach(function(o){x[o].forEach(function(o){var n=o.getMarkerClass(t);if(n){for(var r=e.querySelectorAll("."+n.replace(/\s/g,".")),a=[],s=0;s<r.length;s++)a.push(r[s]);r=a,-1!==e.className.split(" ").indexOf(n)&&r.unshift(e),r=c(e,r),0===r.length&&-1!==e.className.indexOf(n)&&(r=[e]),r.length>0&&o.afterRender(r,t,i(t).getEditor())}})})}var m=o(3),h=o(1),g=(o.n(h),o(0)),v=o(2),y=(o.n(v),o(8)),f=o(22);o.d(t,"a",function(){return b}),t.d=a,t.b=s,t.c=l;var b=function(e){function t(t,o,i){void 0===t&&(t=null),void 0===o&&(o=null),void 0===i&&(i=null);var n=e.call(this,t,o,i)||this;n.onSelectedElementChanged=new v.Event,n.onEditButtonClick=new v.Event,n.onGetMenuItems=new v.Event,n.onElementDoubleClick=new v.Event;var r=n;return n.setDesignMode(!0),n.onAfterRenderPage.add(function(e,t){t.page.onAfterRenderPage(t.htmlElement)}),n.editQuestionClick=function(){r.onEditButtonClick.fire(r,null)},n.onUpdateQuestionCssClasses.add(d),n.onUpdatePanelCssClasses.add(d),n}return o.i(m.a)(t,e),t.prototype.updateElementAllowingOptions=function(e){this.onUpdateElementAllowingOptions&&e.allowingOptions&&(e.allowingOptions.obj=e,this.onUpdateElementAllowingOptions(e.allowingOptions))},t.prototype.getMenuItems=function(e){var t=[],o={obj:e,items:t};return this.onGetMenuItems.fire(this,o),o.items},Object.defineProperty(t.prototype,"selectedElement",{get:function(){return this.selectedElementValue},set:function(e){if(e&&e.selectedElementInDesign&&(e=e.selectedElementInDesign),e!=this.selectedElementValue){var t=this.selectedElementValue;this.selectedElementValue=e,null!=t&&t.onSelectedElementChanged&&t.onSelectedElementChanged(),null!=this.selectedElementValue&&this.selectedElementValue.onSelectedElementChanged&&this.selectedElementValue.onSelectedElementChanged(),this.onSelectedElementChanged.fire(this,{oldElement:t,newElement:e})}},enumerable:!0,configurable:!0}),t.prototype.doElementDoubleClick=function(e){this.onElementDoubleClick.fire(this,{element:e})},t.prototype.getEditorLocString=function(e){return g.a.getString(e)},t}(v.Survey),x={};v.Page.prototype.onCreating=function(){n(this)},v.Page.prototype.onAfterRenderPage=function(e){if(i(this).isDesignMode){var t=this,o=i(this).dragDropHelper;this.dragEnterCounter=0,e.ondragenter=function(e){e.preventDefault(),t.dragEnterCounter++},e.ondragleave=function(e){0===--t.dragEnterCounter&&o.doLeavePage(e)},e.ondragover=function(e){return!1},e.ondrop=function(e){o.doDrop(e)}}},v.Panel.prototype.onCreating=function(){n(this),r(this)},v.Panel.prototype.onSelectedElementChanged=function(){null!=i(this)&&this.koIsSelected(i(this).selectedElementValue==this)},v.FlowPanel&&(v.FlowPanel.prototype.onCreating=function(){this.placeHolder="Enter here text or drop a question",r(this)},v.FlowPanel.prototype.onSelectedElementChanged=function(){null!=i(this)&&this.koIsSelected(i(this).selectedElementValue==this)});var k=v.QuestionBase?v.QuestionBase.prototype:v.Question.prototype;k.onCreating=function(){r(this)},k.onSelectedElementChanged=function(){null!=i(this)&&this.koIsSelected(i(this).selectedElementValue==this)},v.QuestionSelectBaseImplementor.prototype.onCreated=function(){var e=this,t=this.question,o=function(){setTimeout(function(){return t.koElementType.notifySubscribers()},0)};["choices","hasOther","hasComment","hasNone","hasSelectAll","colCount"].forEach(function(t){return e.question.registerFunctionOnPropertyValueChanged(t,o)})}},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(13)),a=o(4),s=o(0),l=o(8),d=o(43);o.d(t,"a",function(){return c}),o.d(t,"b",function(){return p}),o.d(t,"c",function(){return m});var u=function(){function e(e){this.json=e}return e.prototype.afterRender=function(t,o){if(this.json&&this.json.afterRender&&(o.id||(o.id=e.customWidgetName+e.customWidgetId,e.customWidgetId++),this.json.afterRender(t,o),this.json.destroy)){var i=this;n.utils.domNodeDisposal.addDisposeCallback(o,function(){i.destroy(t,o)})}},e.prototype.destroy=function(e,t){this.json&&this.json.destroy&&this.json.destroy(e,t)},e.customWidgetId=1,e.customWidgetName="modalEditorCustomWidget",e}(),c=function(e){function t(i){var r=e.call(this,i)||this;r.isShowingModalValue=!1,r.koTitleCaption=n.observable(""),r.koHtmlTop=n.observable(""),r.koHtmlBottom=n.observable(""),r.property&&r.koTitleCaption(s.a.getString("pe.editProperty").format(s.a.getPropertyName(r.property.name))),r.modalName="modelEditor"+r.editorType+t.idCounter,t.idCounter++,r.modalNameTarget="#"+r.modalName;var a=r;return r.koShowApplyButton=n.observable(!0),a.onHideModal=function(){},a.onApplyClick=function(){a.apply()},a.onOkClick=function(){a.apply(),a.koHasError()||a.onHideModal()},a.onResetClick=function(){a.updateValue(),a.onHideModal()},a.onShowModal=function(){a.beforeShow();var e=new d.a(document.querySelector(a.modalNameTarget),{bodyClass:"",closeTimeout:100,dialogOpenClass:"animated fadeInDown",focus:!1});e.open(),document.addEventListener("keydown",function(t){e.keydown(t)},!1),a.onHideModal=function(){a.beforeCloseModal(),e.close()},this.elements&&o.i(l.c)(this.elements)},a.koAfterRender=function(e,t){return a.afterRender(e,t)},r}return o.i(i.a)(t,e),t.registerCustomWidget=function(e,o){t.customWidgets||(t.customWidgets={}),t.customWidgets[e]=new u(o)},t.getCustomWidget=function(e){return t.customWidgets?t.customWidgets[e]:null},t.prototype.setup=function(){e.prototype.setup.call(this),this.beforeShow()},Object.defineProperty(t.prototype,"isModal",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShowingModal",{get:function(){return this.isShowingModalValue},enumerable:!0,configurable:!0}),t.prototype.beforeShow=function(){this.isShowingModalValue=!0,this.updateValue()},t.prototype.beforeCloseModal=function(){this.isShowingModalValue=!1},t.prototype.onOptionsChanged=function(){this.koShowApplyButton=n.observable(!this.options||this.options.showApplyButtonInEditors)},t.prototype.setObject=function(t){if(this.editingObject=t,e.prototype.setObject.call(this,t),this.options&&this.property){var o=this.options.onPropertyEditorModalShowDescriptionCallback(this.property.name,t);o&&(o.top&&this.koHtmlTop(o.top),o.bottom&&this.koHtmlBottom(o.bottom))}},Object.defineProperty(t.prototype,"isEditable",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.afterRender=function(e,i){this.elements=e;var n=t.getCustomWidget(this.editorType);if(n){var r=this.GetFirstNonTextElement(e),a=e[0];"#text"==a.nodeName&&(a.data=""),a=e[e.length-1],"#text"==a.nodeName&&(a.data=""),n.afterRender(this,r)}o.i(l.c)(e)},t.prototype.GetFirstNonTextElement=function(e){if(e&&e.length){for(var t=0;t<e.length;t++)if("#text"!=e[t].nodeName&&"#comment"!=e[t].nodeName)return e[t];return null}},t.idCounter=1,t}(r.a),p=function(e){function t(t){var o=e.call(this,t)||this;o.koTextValue=n.observable();var i=o;return o.koTextValue.subscribe(function(e){i.onkoTextValueChanged(e)}),o}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"text"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isEditable",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){if(!e)return null;var t=e;return t.length>20&&(t=t.substr(0,20)+"..."),t},t.prototype.onkoTextValueChanged=function(e){},t.prototype.onValueChanged=function(){this.koTextValue(this.editingValue)},t.prototype.onBeforeApply=function(){this.setValueCore(this.koTextValue())},t}(c),m=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"html"},enumerable:!0,configurable:!0}),t}(p);a.a.registerEditor("text",function(e){return new p(e)}),a.a.registerEditor("html",function(e){return new m(e)})},function(e,t,o){"use strict";function i(e){if(!e)return"";for(var t="",o=e.length-1;o>=0;o--)e[o]>="0"&&e[o]<="9"&&(t=e[o]+t);return t}function n(e){return d[e]?d[e]:null}function r(e,t){if(t.length>0)var o=n(t[t.length-1]);if(o&&t.indexOf(o)<0)return o;for(var r="",a="",s=t.length-1;s>=0;s--){var l=t[s];if(r=i(l)){a=l.substr(0,l.length-r.length);break}}if(r){for(var d=parseInt(r);t.indexOf(a+d)>-1;)d++;return a+d}return e+1}function a(e,t){for(var o=t;o&&!o.classList.contains(e);)o=o.parentElement;return o}function s(e){for(var t=0;t<e.length;t++)if("function"==typeof e[t].getElementsByClassName){var o=e[t].getElementsByClassName("form-control");if(0===o.length&&-1!==e[t].className.indexOf("form-control")&&(o=[e[t]]),o.length>0){var i=o[0];if("a"!==i.tagName.toLowerCase()){setTimeout(function(){return i.focus({preventScroll:!0})},10);break}}}}var l=o(1);o.n(l);t.a=r,t.b=a,t.c=s;var d={true:"false",True:"False",TRUE:"FALSE",false:"true",False:"True",FALSE:"TRUE",yes:"no",Yes:"No",YES:"NO",no:"yes",No:"Yes",NO:"YES"};l.bindingHandlers.trueclick={init:function(e,t,o){e.onclick=function(){return!0}}},l.bindingHandlers.key2click={init:function(e,t,o){e.onkeyup=function(t){var o=t.which||t.keyCode;13===o||32===o?e.click():27===o&&e.blur()}}},l.bindingHandlers.clickNoFocus={init:function(e,t,o,i){e.onclick=function(o){return t().call(i,i,o),setTimeout(function(){e.blur()},1),!0}}}},function(e,t,o){var i,n;/**! * Sortable * @author RubaXa <trash@rubaxa.org> * @license MIT */ !function(r){"use strict";i=r,void 0!==(n="function"==typeof i?i.call(t,o,t,e):i)&&(e.exports=n)}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=b({},t),e[F]=this;var o={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var i in o)!(i in t)&&(t[i]=o[i]);ae(t);for(var n in this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Y,r(e,"mousedown",this._onTapStart),r(e,"touchstart",this._onTapStart),r(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(r(e,"dragover",this),r(e,"dragenter",this)),ne.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),P&&P.state!==t&&(l(P,"display",t?"none":""),t||P.state&&(e.options.group.revertClone?(C.insertBefore(P,E),e._animate(w,P)):C.insertBefore(P,w)),P.state=t)}function o(e,t,o){if(e){o=o||U;do{if(">*"===t&&e.parentNode===o||y(e,t))return e}while(e=i(e))}return null}function i(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function n(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function r(e,t,o){e.addEventListener(t,o,Z)}function a(e,t,o){e.removeEventListener(t,o,Z)}function s(e,t,o){if(e)if(e.classList)e.classList[o?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(Q," ").replace(" "+t+" "," ");e.className=(i+(o?" "+t:"")).replace(Q," ")}}function l(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return U.defaultView&&U.defaultView.getComputedStyle?o=U.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||(t="-webkit-"+t),i[t]=o+("string"==typeof o?"":"px")}}function d(e,t,o){if(e){var i=e.getElementsByTagName(t),n=0,r=i.length;if(o)for(;n<r;n++)o(i[n],n);return i}return[]}function u(e,t,o,i,n,r,a){e=e||t[F];var s=U.createEvent("Event"),l=e.options,d="on"+o.charAt(0).toUpperCase()+o.substr(1);s.initEvent(o,!0,!0),s.to=t,s.from=n||t,s.item=i||t,s.clone=P,s.oldIndex=r,s.newIndex=a,t.dispatchEvent(s),l[d]&&l[d].call(e,s)}function c(e,t,o,i,n,r,a,s){var l,d,u=e[F],c=u.options.onMove;return l=U.createEvent("Event"),l.initEvent("move",!0,!0),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=n||t,l.relatedRect=r||t.getBoundingClientRect(),l.willInsertAfter=s,e.dispatchEvent(l),c&&(d=c.call(u,l,a)),d}function p(e){e.draggable=!1}function m(){ee=!1}function h(e,t){var o=e.lastElementChild,i=o.getBoundingClientRect();return t.clientY-(i.top+i.height)>5||t.clientX-(i.left+i.width)>5}function g(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function v(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!y(e,t)||o++;return o}function y(e,t){if(e){t=t.split(".");var o=t.shift().toUpperCase(),i=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==o&&e.nodeName.toUpperCase()!=o||t.length&&((" "+e.className+" ").match(i)||[]).length!=t.length)}return!1}function f(e,t){var o,i;return function(){void 0===o&&(o=arguments,i=this,setTimeout(function(){1===o.length?e.call(i,o[0]):e.apply(i,o),o=void 0},t))}}function b(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e}function x(e){return G?G(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function k(e){for(var t=e.getElementsByTagName("input"),o=t.length;o--;){var i=t[o];i.checked&&ie.push(i)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,T,S,P,C,E,N,O,V,I,j,A,z,L,R,q,M,D,H,_,B={},Q=/\s+/g,$=/left|right|inline/,F="Sortable"+(new Date).getTime(),J=window,U=J.document,W=J.parseInt,G=J.jQuery||J.Zepto,K=J.Polymer,Z=!1,Y=!!("draggable"in U.createElement("div")),X=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=U.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,oe=Math.min,ie=[],ne=[],re=f(function(e,t,o){if(o&&t.scroll){var i,n,r,a,s,l,d=o[F],u=t.scrollSensitivity,c=t.scrollSpeed,p=e.clientX,m=e.clientY,h=window.innerWidth,g=window.innerHeight;if(V!==o&&(O=t.scroll,V=o,I=t.scrollFn,!0===O)){O=o;do{if(O.offsetWidth<O.scrollWidth||O.offsetHeight<O.scrollHeight)break}while(O=O.parentNode)}O&&(i=O,n=O.getBoundingClientRect(),r=(te(n.right-p)<=u)-(te(n.left-p)<=u),a=(te(n.bottom-m)<=u)-(te(n.top-m)<=u)),r||a||(r=(h-p<=u)-(p<=u),a=(g-m<=u)-(m<=u),(r||a)&&(i=J)),B.vx===r&&B.vy===a&&B.el===i||(B.el=i,B.vx=r,B.vy=a,clearInterval(B.pid),i&&(B.pid=setInterval(function(){if(l=a?a*c:0,s=r?r*c:0,"function"==typeof I)return I.call(d,s,l,e);i===J?J.scrollTo(J.pageXOffset+s,J.pageYOffset+l):(i.scrollTop+=l,i.scrollLeft+=s)},24)))}},30),ae=function(e){function t(e,t){return void 0!==e&&!0!==e||(e=o.name),"function"==typeof e?e:function(o,i){var n=i.options.group.name;return t?e:e&&(e.join?e.indexOf(n)>-1:n==e)}}var o={},i=e.group;i&&"object"==typeof i||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o};e.prototype={constructor:e,_onTapStart:function(e){var t,i=this,n=this.el,r=this.options,a=r.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],d=(l||e).target,c=e.target.shadowRoot&&e.path&&e.path[0]||d,p=r.filter;if(k(n),!w&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||r.disabled)&&(d=o(d,r.draggable,n))&&N!==d){if(t=v(d,r.draggable),"function"==typeof p){if(p.call(this,e,d,this))return u(i,c,"filter",d,n,t),void(a&&e.preventDefault())}else if(p&&(p=p.split(",").some(function(e){if(e=o(c,e.trim(),n))return u(i,e,"filter",d,n,t),!0})))return void(a&&e.preventDefault());r.handle&&!o(c,r.handle,n)||this._prepareDragStart(e,l,d,t)}},_prepareDragStart:function(e,t,o,i){var n,a=this,l=a.el,c=a.options,m=l.ownerDocument;o&&!w&&o.parentNode===l&&(D=e,C=l,w=o,T=w.parentNode,E=w.nextSibling,N=o,q=c.group,L=i,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",n=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,c.chosenClass,!0),a._triggerDragStart(e,t),u(a,C,"choose",w,C,L)},c.ignore.split(",").forEach(function(e){d(w,e.trim(),p)}),r(m,"mouseup",a._onDrop),r(m,"touchend",a._onDrop),r(m,"touchcancel",a._onDrop),r(m,"pointercancel",a._onDrop),r(m,"selectstart",a),c.delay?(r(m,"mouseup",a._disableDelayedDrag),r(m,"touchend",a._disableDelayedDrag),r(m,"touchcancel",a._disableDelayedDrag),r(m,"mousemove",a._disableDelayedDrag),r(m,"touchmove",a._disableDelayedDrag),r(m,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(n,c.delay)):n())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(D={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(D,"touch")):this.nativeDraggable?(r(w,"dragend",this),r(C,"dragstart",this._onDragStart)):this._onDragStart(D,!0);try{U.selection?setTimeout(function(){U.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(C&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,C,"start",w,C,L)}else this._nulling()},_emulateDragOver:function(){if(H){if(this._lastX===H.clientX&&this._lastY===H.clientY)return;this._lastX=H.clientX,this._lastY=H.clientY,X||l(S,"display","none");var e=U.elementFromPoint(H.clientX,H.clientY),t=e,o=ne.length;if(t)do{if(t[F]){for(;o--;)ne[o]({clientX:H.clientX,clientY:H.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);X||l(S,"display","")}},_onTouchMove:function(t){if(D){var o=this.options,i=o.fallbackTolerance,n=o.fallbackOffset,r=t.touches?t.touches[0]:t,a=r.clientX-D.clientX+n.x,s=r.clientY-D.clientY+n.y,d=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(i&&oe(te(r.clientX-this._lastX),te(r.clientY-this._lastY))<i)return;this._dragStarted()}this._appendGhost(),_=!0,H=r,l(S,"webkitTransform",d),l(S,"mozTransform",d),l(S,"msTransform",d),l(S,"transform",d),t.preventDefault()}},_appendGhost:function(){if(!S){var e,t=w.getBoundingClientRect(),o=l(w),i=this.options;S=w.cloneNode(!0),s(S,i.ghostClass,!1),s(S,i.fallbackClass,!0),s(S,i.dragClass,!0),l(S,"top",t.top-W(o.marginTop,10)),l(S,"left",t.left-W(o.marginLeft,10)),l(S,"width",t.width),l(S,"height",t.height),l(S,"opacity","0.8"),l(S,"position","fixed"),l(S,"zIndex","100000"),l(S,"pointerEvents","none"),i.fallbackOnBody&&U.body.appendChild(S)||C.appendChild(S),e=S.getBoundingClientRect(),l(S,"width",2*t.width-e.width),l(S,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var o=e.dataTransfer,i=this.options;this._offUpEvents(),q.checkPull(this,this,w,e)&&(P=x(w),P.draggable=!1,P.style["will-change"]="",l(P,"display","none"),s(P,this.options.chosenClass,!1),C.insertBefore(P,w),u(this,C,"clone",w)),s(w,i.dragClass,!0),t?("touch"===t?(r(U,"touchmove",this._onTouchMove),r(U,"touchend",this._onDrop),r(U,"touchcancel",this._onDrop),r(U,"pointermove",this._onTouchMove),r(U,"pointerup",this._onDrop)):(r(U,"mousemove",this._onTouchMove),r(U,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(o&&(o.effectAllowed="move",i.setData&&i.setData.call(this,o,w)),r(U,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(i){var n,r,a,s,d=this.el,u=this.options,p=u.group,g=e.active,v=q===p,y=!1,f=u.sort;if(void 0!==i.preventDefault&&(i.preventDefault(),!u.dragoverBubble&&i.stopPropagation()),!w.animated&&(_=!0,g&&!u.disabled&&(v?f||(s=!C.contains(w)):M===this||(g.lastPullMode=q.checkPull(this,g,w,i))&&p.checkPut(this,g,w,i))&&(void 0===i.rootEl||i.rootEl===this.el))){if(re(i,u,this.el),ee)return;if(n=o(i.target,u.draggable,d),r=w.getBoundingClientRect(),M!==this&&(M=this,y=!0),s)return t(g,!0),T=C,void(P||E?C.insertBefore(w,P||E):f||C.appendChild(w));if(0===d.children.length||d.children[0]===S||d===i.target&&h(d,i)){if(0!==d.children.length&&d.children[0]!==S&&d===i.target&&(n=d.lastElementChild),n){if(n.animated)return;a=n.getBoundingClientRect()}t(g,v),!1!==c(C,d,w,r,n,a,i)&&(w.contains(d)||(d.appendChild(w),T=d),this._animate(r,w),n&&this._animate(a,n))}else if(n&&!n.animated&&n!==w&&void 0!==n.parentNode[F]){j!==n&&(j=n,A=l(n),z=l(n.parentNode)),a=n.getBoundingClientRect();var b=a.right-a.left,x=a.bottom-a.top,k=$.test(A.cssFloat+A.display)||"flex"==z.display&&0===z["flex-direction"].indexOf("row"),N=n.offsetWidth>w.offsetWidth,O=n.offsetHeight>w.offsetHeight,V=(k?(i.clientX-a.left)/b:(i.clientY-a.top)/x)>.5,I=n.nextElementSibling,L=!1;if(k){var R=w.offsetTop,D=n.offsetTop;L=R===D?n.previousElementSibling===w&&!N||V&&N:n.previousElementSibling===w||w.previousElementSibling===n?(i.clientY-a.top)/x>.5:D>R}else y||(L=I!==w&&!O||V&&O);var H=c(C,d,w,r,n,a,i,L);!1!==H&&(1!==H&&-1!==H||(L=1===H),ee=!0,setTimeout(m,30),t(g,v),w.contains(d)||(L&&!I?d.appendChild(w):n.parentNode.insertBefore(w,L?I:n)),T=w.parentNode,this._animate(r,w),this._animate(a,n))}}},_animate:function(e,t){var o=this.options.animation;if(o){var i=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-i.left)+"px,"+(e.top-i.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+o+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},o)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(U,"touchmove",this._onTouchMove),a(U,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var o=this.el,i=this.options;clearInterval(this._loopId),clearInterval(B.pid),clearTimeout(this._dragStartTimer),a(U,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(U,"drop",this),a(o,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(_&&(t.preventDefault(),!i.dropBubble&&t.stopPropagation()),S&&S.parentNode&&S.parentNode.removeChild(S),C!==T&&"clone"===e.active.lastPullMode||P&&P.parentNode&&P.parentNode.removeChild(P),w&&(this.nativeDraggable&&a(w,"dragend",this),p(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,C,"unchoose",w,C,L),C!==T?(R=v(w,i.draggable))>=0&&(u(null,T,"add",w,C,L,R),u(this,C,"remove",w,C,L,R),u(null,T,"sort",w,C,L,R),u(this,C,"sort",w,C,L,R)):w.nextSibling!==E&&(R=v(w,i.draggable))>=0&&(u(this,C,"update",w,C,L,R),u(this,C,"sort",w,C,L,R)),e.active&&(null!=R&&-1!==R||(R=L),u(this,C,"end",w,C,L,R),this.save()))),this._nulling()},_nulling:function(){C=w=T=S=E=P=N=O=V=D=H=_=R=j=A=M=q=e.active=null,ie.forEach(function(e){e.checked=!0}),ie.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),n(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],i=this.el.children,n=0,r=i.length,a=this.options;n<r;n++)e=i[n],o(e,a.draggable,this.el)&&t.push(e.getAttribute(a.dataIdAttr)||g(e));return t},sort:function(e){var t={},i=this.el;this.toArray().forEach(function(e,n){var r=i.children[n];o(r,this.options.draggable,i)&&(t[e]=r)},this),e.forEach(function(e){t[e]&&(i.removeChild(t[e]),i.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return o(e,t||this.options.draggable,this.el)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];o[e]=t,"group"===e&&ae(o)},destroy:function(){var e=this.el;e[F]=null,a(e,"mousedown",this._onTapStart),a(e,"touchstart",this._onTapStart),a(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(e,"dragover",this),a(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),ne.splice(ne.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},r(U,"touchmove",function(t){e.active&&t.preventDefault()});try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){Z={capture:!1,passive:!1}}}))}catch(e){}return e.utils={on:r,off:a,css:l,find:d,is:function(e,t){return!!o(e,t,e)},extend:b,throttle:f,closest:o,toggleClass:s,clone:x,index:v},e.create=function(t,o){return new e(t,o)},e.version="1.6.1",e})},function(e,t,o){"use strict";var i=o(2);o.n(i);o.d(t,"a",function(){return n});var n=function(){function e(e){this.objValue=e,this.editableObjValue=this.createEditableObj()}return e.getOrigionalSurvey=function(e){return e&&e.origionalObj?e.origionalObj:e},Object.defineProperty(e.prototype,"obj",{get:function(){return this.objValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editableObj",{get:function(){return this.editableObjValue},enumerable:!0,configurable:!0}),e.prototype.isPropertyChanged=function(e){return!i.Helpers.isTwoValueEquals(this.obj[e],this.editableObj[e])},e.prototype.apply=function(e){this.isPropertyChanged(e)&&(this.obj[e]=this.editableObj[e])},e.prototype.reset=function(){this.assignProperties(this.editableObj)},e.prototype.createEditableObj=function(){var e=this.obj.getType(),t=i.Serializer.createClass(e);return null==t&&"survey"==e&&(t=new i.Survey),this.assignProperties(t),"matrixdropdowncolumn"==e&&(t.colOwner=this.obj.colOwner),"survey"!=e&&(t.setSurveyImpl?t.setSurveyImpl(this.obj.survey):this.obj.survey&&!t.survey&&(t.survey=this.obj.survey)),this.obj.parent&&(t.parent=this.obj.parent),t.isCopy=!0,t.origionalObj=this.obj,t},e.prototype.assignProperties=function(e){(new i.JsonObject).toObject(this.getObjJson(),e)},e.prototype.getObjJson=function(){var e=new i.JsonObject;return e.lightSerializing=!0,e.toJsonObject(this.obj)},e}()},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(6)),s=o(0),l=o(9),d=o.n(l),u=o(19),c=o(8),p=o(84);o.n(p);o.d(t,"a",function(){return g}),o.d(t,"c",function(){return v}),o.d(t,"b",function(){return y});var m=o(137),h=function(e){function t(t,o,i,n,r){var a=e.call(this,t,n)||this;return a.question=o,a.item=i,a.editor=r,a}return o.i(i.a)(t,e),t.prototype.deleteItem=function(e,t){if(this.question.otherItem===this.item)this.question.hasOther=!1;else if(this.question.selectAllItem===this.item)this.question.hasSelectAll=!1;else if(this.question.noneItem===this.item)this.question.hasNone=!1;else{var o=e.question.choices.indexOf(e.item);e.question.choices.splice(o,1)}this.editor.onQuestionEditorChanged(this.question)},Object.defineProperty(t.prototype,"isDraggable",{get:function(){return this.question.otherItem!==this.item&&this.question.selectAllItem!==this.item&&this.question.noneItem!==this.item},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLastItem",{get:function(){return 1===this.question.choices.length},enumerable:!0,configurable:!0}),t}(u.b);n.components.register("item-editor",{viewModel:{createViewModel:function(e,t){var o=new h(e.target[e.name],e.question,e.item,t.element,e.editor),i=r.Serializer.findProperty(e.target.getType(),e.name);return o.valueChanged=function(t){var o={propertyName:i.name,obj:e.item,value:t,newValue:null,doValidation:!1};e.editor.onValueChangingCallback(o),t=null===o.newValue?o.value:o.newValue,t||"value"!=e.name||(t=e.item.value),e.target[e.name]=t,e.editor.onPropertyValueChanged(i,e.target,t),!!e.valueChanged&&e.valueChanged(e.target,i.name,t)},o}},template:m});var g={inplaceEditForValues:!1,getMarkerClass:function(e){return e.parent&&e.choices&&"function"==typeof e.getType&&"imagepicker"!==e.getType()?"item_editable":""},getElementName:function(e){return"controlLabel"},afterRender:function(e,t,o){for(var i=0;i<e.length;i++){e[i].onclick=function(e){return e.preventDefault()};var r=document.createElement("span");r.className="svda-adorner-root";var a=n.dataFor(e[i]),s=g.inplaceEditForValues?"value":"text",l=a;a===t.selectAllItem&&(l=t,s="selectAllText"),a===t.noneItemValue&&(l=t,s="noneText"),a===t.otherItemValue&&(l=t,s="otherText"),r.innerHTML="<item-editor params='name: \""+s+"\", target: target, item: item, question: question, editor: editor'></item-editor>",e[i].appendChild(r),n.applyBindings({item:a,question:t,target:l,editor:o},r),n.tasks.runEarly(),o.onAdornerRenderedCallback(t,"choices-label",r,a)}}};o.i(a.b)("choices-label",g);var v=function(e,t,i){return void 0===i&&(i=null),function(){var n=null,a=e.choices.map(function(e){return e.itemValue}),s=r.surveyLocalization.getString("choices_Item");n=o.i(c.a)(s,a);var l=new r.ItemValue(n);l.locOwner={getLocale:function(){return e.getLocale?e.getLocale():""},getMarkdownHtml:function(e){return e},getProcessedText:function(e){return e}},!!i&&i(l),e.choices=e.choices.concat([l]),l=e.choices.filter(function(e){return e.value===l.value})[0],!!t&&t(l)}},y=function(e){var t=document.createElement("div");t.title=s.a.getString("pe.addItem"),t.className="sv_technical svda-add-new-item svd-primary-icon svda-add-custom-item",t.onclick=e;var o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("class","svd-svg-icon"),o.style.width="12px",o.style.height="12px";var i=document.createElementNS("http://www.w3.org/2000/svg","use");return i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#icon-inplaceplus"),o.appendChild(i),t.appendChild(o),t},f=function(e,t){var o=document.createElement("div");o.title=e,o.className="sv_technical svda-add-new-item svda-add-custom-item",o.onclick=t;var i=document.createElement("span");return i.innerHTML=o.title,o.appendChild(i),o},b={getMarkerClass:function(e){return e.parent&&e.choices&&"function"==typeof e.getType&&"imagepicker"!==e.getType()?"item_draggable":""},getElementName:function(e){return"item"},afterRender:function(e,t,o){for(var i=[],a=0;a<e.length;a++)-1===i.indexOf(e[a].parentElement)&&i.push(e[a].parentElement);for(var a=0;a<e.length;a++){var l=n.dataFor(e[a]);l!==t.selectAllItemValue&&l!==t.noneItemValue&&l!==t.otherItemValue||e[a].classList.remove("item_draggable")}i.forEach(function(e){return d.a.create(e,{handle:".svda-drag-handle",group:t.id,draggable:".item_draggable",animation:150,onEnd:function(e){var i=e.oldIndex,r=e.newIndex,a=t.choices,s=a[e.oldIndex];if(t.hasColumns){s=n.dataFor(e.item);var l=n.dataFor(e.item.parentElement),d=l&&l[r];i=a.indexOf(s),r=a.indexOf(d)}a.splice(i,1),a.splice(r,0,s),o.onQuestionEditorChanged(t)}})});var u=y(v(t,function(e){o.onQuestionEditorChanged(t)},function(e){o.onItemValueAddedCallback(t,"choices",e,t.choices)})),c=function(e,t,i){var n={propertyName:t,obj:e,value:i,newValue:null,doValidation:!1};return o.onValueChangingCallback(n),i=null===n.newValue?n.value:n.newValue},p=function(e,t,i){if("function"==typeof e.getType){var n=r.Serializer.findProperty(e.getType(),t);o.onPropertyValueChanged(n,e,i)}};i[0].appendChild(u),o.canShowObjectProperty(t,"hasOther")&&i[0].appendChild(f(s.a.getString("pe.addOther"),function(){var e=!t.hasOther;e=c(t,"hasOther",e),t.hasOther=e,p(t,"hasOther",e)})),void 0!==t.hasSelectAll&&o.canShowObjectProperty(t,"hasSelectAll")&&i[0].appendChild(f(s.a.getString("pe.addSelectAll"),function(){var e=!t.hasSelectAll;e=c(t,"hasSelectAll",e),t.hasSelectAll=e,p(t,"hasSelectAll",e)})),void 0!==t.hasNone&&o.canShowObjectProperty(t,"hasNone")&&i[0].appendChild(f(s.a.getString("pe.addNone"),function(){var e=!t.hasNone;e=c(t,"hasNone",e),t.hasNone=e,p(t,"hasNone",e)}))}};o.i(a.b)("choices-draggable",b)},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(4));o.d(t,"a",function(){return r});var r=function(){function e(e,t,o){void 0===t&&(t=null),void 0===o&&(o=null),this.property=e,this.koIsShowEditor=i.observable(!1),this.onPropertyChanged=t,this.name=this.property.name,this.disabled=e.readOnly;var r=this,a=function(e){r.onEditorValueChanged(e)};this.editor=n.a.createEditor(e,a),this.editor.onGetLocale=this.doOnGetLocale,this.editor.options=o,this.editorType=this.editor.editorType,this.editorTypeTemplate=this.editor.editorTypeTemplate,this.isActive=!1,this.koVisible=i.observable(this.isVisible())}return Object.defineProperty(e.prototype,"displayName",{get:function(){return this.editor.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.editor.title},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this.isActiveValue},set:function(e){this.isActive!=e&&(this.isActiveValue=e,this.koIsShowEditor(!this.disabled&&(this.editor.alwaysShowEditor||this.isActive)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koValue",{get:function(){return this.editor.koValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koText",{get:function(){return this.editor.koText},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koIsDefault",{get:function(){return this.editor.koIsDefault},enumerable:!0,configurable:!0}),e.prototype.doOnGetLocale=function(){return this.object&&this.object.getLocale?this.object.getLocale():""},Object.defineProperty(e.prototype,"object",{get:function(){return this.objectValue},set:function(e){this.objectValue=e,this.editor.object=e,this.updateDependedProperties(),this.updateDynamicProperties()},enumerable:!0,configurable:!0}),e.prototype.updateDynamicProperties=function(){this.koVisible(this.isVisible()),this.editor.updateDynamicProperties()},e.prototype.isVisible=function(){if(!this.object)return!0;var e=this.object.getLayoutType?this.object.getLayoutType():"";return!(this.property.isVisible&&!this.property.isVisible(e,this.object))},e.prototype.onEditorValueChanged=function(e){this.object&&(this.onPropertyChanged&&this.onPropertyChanged(this,e),this.onChanged&&this.onChanged(e)),this.updateDependedProperties()},e.prototype.updateDependedProperties=function(){if(this.object&&this.onDependedPropertyUpdateCallback&&this.property.getDependedProperties){var e=this.property.getDependedProperties();if(e)for(var t=0;t<e.length;t++)this.onDependedPropertyUpdateCallback(e[t])}},e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2)),r=(o.n(n),o(0));o.d(t,"a",function(){return a});var a=function(){function e(e){this.editingValue_=null,this.isApplyinNewValue=!1,this.valueUpdatingCounter=0,this.optionsValue=null,this.isRequriedValue=!1,this.isCustomDisplayName=!1,this._displayNameValue=i.observable(),this.isTabProperty=!1,this.isInplaceProperty=!1,this.iskoValueChanging=!1,this.property_=e;var t=this;this.koValue=i.observable(),this.koValue.subscribe(function(e){t.onkoValueChanged(e)}),this.koText=i.computed(function(){return t.getValueText(t.koValue())}),this.koIsDefault=i.computed(function(){return!!t.property&&t.property.isDefaultValue(t.koValue())}),this.koHasError=i.observable(!1),this.koErrorText=i.observable(""),this.koDisplayError=i.computed(function(){return t.koHasError()&&!!t.koErrorText()}),this.koMaxLength=i.computed(function(){return t.property&&t.property.maxLength&&t.property.maxLength>0?t.property.maxLength:524288}),this.koMaxValue=i.computed(function(){return t.property&&t.property.maxValue?t.property.maxValue:""}),this.koMinValue=i.computed(function(){return t.property&&t.property.minValue?t.property.minValue:""}),this.setIsRequired(),this.setTitleAndDisplayName(),this.readOnly=i.observable(this.getReadOnly())}return Object.defineProperty(e.prototype,"displayNameValue",{get:function(){return this._displayNameValue()},set:function(e){this._displayNameValue(e)},enumerable:!0,configurable:!0}),e.prototype.setup=function(){},e.prototype.beforeShow=function(){},Object.defineProperty(e.prototype,"editorType",{get:function(){throw"editorType is not defined"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editorTypeTemplate",{get:function(){return this.editorType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"property",{get:function(){return this.property_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this.property.defaultValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editablePropertyName",{get:function(){return this.property?this.property.name:""},enumerable:!0,configurable:!0}),e.prototype.getReadOnly=function(){var e=!!this.property&&this.property.readOnly;return this.options&&this.property&&this.object&&(e=this.options.onIsEditorReadOnlyCallback(this.object,this,e)),e},Object.defineProperty(e.prototype,"alwaysShowEditor",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.titleValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDiplayNameVisible",{get:function(){return!(this.isTabProperty&&this.isModal||this.isInplaceProperty||"."===this.displayName)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){return this.displayNameValue},set:function(e){this.isCustomDisplayName=!0,this.displayNameValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showDisplayNameOnTop",{get:function(){return this.isDiplayNameVisible&&this.canShowDisplayNameOnTop},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canShowDisplayNameOnTop",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentTemplateName",{get:function(){var e="propertyeditor";return this.isModal?e+="-modalcontent":e+="-"+this.editorTypeTemplate,e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isModal",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"object",{get:function(){return this.objectValue},set:function(e){this.setObjectCore(e)},enumerable:!0,configurable:!0}),e.prototype.setObjectCore=function(e){var t=this;this.objectValue=e,"function"==typeof e.registerFunctionOnPropertyValueChanged&&e.registerFunctionOnPropertyValueChanged(this.property.name,function(){return t.updateValue()},this.property.name),this.setIsRequired(),this.setTitleAndDisplayName(),this.setObject(this.object),this.updateValue(),this.options&&this.property&&(this.options.onPropertyEditorObjectSetCallback(this.property.name,this.object,this),this.readOnly(this.getReadOnly()))},e.prototype.getValueText=function(e){return e},Object.defineProperty(e.prototype,"editingValue",{get:function(){return this.editingValue_},set:function(e){e=this.getCorrectedValue(e),this.setValueCore(e),this.onValueChanged()},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.koHasError(this.checkForErrors()),this.koHasError()},e.prototype.getLocString=function(e){return r.a.getString(e)},e.prototype.hasLocString=function(e){return r.a.hasString(e)},Object.defineProperty(e.prototype,"isCurrentValueEmpty",{get:function(){return this.isValueEmpty(this.koValue())},enumerable:!0,configurable:!0}),e.prototype.checkForErrors=function(){var e="";if(this.isRequired||this.checkForItemValue()){this.isCurrentValueEmpty&&(e=this.getLocString("pe.propertyIsEmpty"))}return!e&&this.property&&this.options&&this.options.onGetErrorTextOnValidationCallback&&(e=this.options.onGetErrorTextOnValidationCallback(this.property.name,this.object,this.editingValue)),this.koErrorText(e),""!==e},e.prototype.checkForItemValue=function(){return this.property&&"value"===this.property.name&&this.objectValue&&"function"==typeof this.objectValue.getType&&"itemvalue"===this.objectValue.getType()},Object.defineProperty(e.prototype,"isRequired",{get:function(){return this.isRequriedValue},enumerable:!0,configurable:!0}),e.prototype.setIsRequired=function(){this.isRequriedValue=!!this.property&&this.property.isRequired},e.prototype.setTitleAndDisplayName=function(){if(!this.isCustomDisplayName&&(this.displayNameValue=this.property?this.property.name:"",this.titleValue="",this.property)){var e=this.property.name;this.displayNameValue=r.a.getPropertyName(e);var t=r.a.getPropertyTitle(e);this.titleValue=t}},e.prototype.onBeforeApply=function(){},e.prototype.apply=function(){return this.onBeforeApply(),!this.hasError()&&(this.isApplyinNewValue=!0,this.koValue(this.editingValue),this.isApplyinNewValue=!1,!0)},Object.defineProperty(e.prototype,"locale",{get:function(){return this.onGetLocale?this.onGetLocale():""},enumerable:!0,configurable:!0}),e.prototype.getLocale=function(){return this.locale},e.prototype.getMarkdownHtml=function(e){return e},e.prototype.getProcessedText=function(e){return e},Object.defineProperty(e.prototype,"options",{get:function(){return this.optionsValue},set:function(e){this.optionsValue=e,this.onOptionsChanged()},enumerable:!0,configurable:!0}),e.prototype.onOptionsChanged=function(){},e.prototype.setValueCore=function(e){this.editingValue_=e},e.prototype.setObject=function(e){if(this.options){var t=this.createEditorOptions();this.options.onSetPropertyEditorOptionsCallback(this.editablePropertyName,e,t),this.onSetEditorOptions(t)}},e.prototype.createEditorOptions=function(){return{}},e.prototype.onSetEditorOptions=function(e){},e.prototype.onValueChanged=function(){},e.prototype.getCorrectedValue=function(e){return this.property?!n.Helpers.isValueEmpty(this.property.minValue)&&e<this.property.minValue?this.property.minValue:!n.Helpers.isValueEmpty(this.property.maxValue)&&e>this.property.maxValue?this.property.maxValue:e:e},e.prototype.beginValueUpdating=function(){this.valueUpdatingCounter++},e.prototype.endValueUpdating=function(){this.valueUpdatingCounter>0&&this.valueUpdatingCounter--},e.prototype.updateValue=function(){this.beginValueUpdating(),this.koValue(this.getValue()),this.editingValue=this.koValue.peek(),this.onValueUpdated&&this.onValueUpdated(this.editingValue),this.endValueUpdating()},e.prototype.getValue=function(){return this.property&&this.object?this.property.getPropertyValue(this.object):null},e.prototype.onkoValueChanged=function(e){if(!(this.valueUpdatingCounter>0||this.iskoValueChanging)){if(this.iskoValueChanging=!0,e=this.getCorrectedValue(e),this.options&&this.property&&this.object){var t={propertyName:this.property.name,obj:this.object,value:this.getValue(),newValue:e,doValidation:!1};this.updateEditingProperties(e),this.options.onValueChangingCallback(t),this.isValueEmpty(t.newValue)||(e=t.newValue,this.koValue(e)),t.doValidation&&this.hasError()}this.updateEditingProperties(e),this.isApplyinNewValue||(this.editingValue=e),this.iskoValueChanging=!1,this.property&&this.object&&this.getValue()==e||null!=this.onChanged&&this.onChanged(e)}},e.prototype.updateEditingProperties=function(e){!this.isModal&&this.object&&(this.object.editingProperties||(this.object.editingProperties={}),this.object.editingProperties[this.property.name]=e)},e.prototype.isValueEmpty=function(e){return n.Helpers.isValueEmpty(e)},e.prototype.updateDynamicProperties=function(){},e.prototype.keyDownHandler=function(e,t){var o=e.editor.options;return o&&o.onPropertyEditorKeyDownCallback(e.property.name,e.obj,e.editor,t),!0},e}()},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(7)),a=o(0);o.d(t,"a",function(){return s});var s=function(e){function t(t){var o=e.call(this,t)||this;o.sortableOptions={handle:".svd-drag-handle",animation:150},o.koItems=n.observableArray(),o.editingValue=[],o.koAllowAddRemoveItems=n.observable(!0);var i=o;return i.onDeleteClick=function(e){i.koItems.remove(e)},i.onClearClick=function(e){i.koItems.removeAll()},i.onAddClick=function(){i.AddItem()},o}return o.i(i.a)(t,e),t.prototype.getValueText=function(e){var t=e?e.length:0;return a.a.getString("pe.items").format(t)},t.prototype.getCorrectedValue=function(t){return null!=t&&Array.isArray(t)||(t=[]),e.prototype.getCorrectedValue.call(this,t)},t.prototype.createEditorOptions=function(){return{allowAddRemoveItems:!0}},t.prototype.onSetEditorOptions=function(e){this.koAllowAddRemoveItems(e.allowAddRemoveItems)},t.prototype.AddItem=function(){this.koItems.push(this.createEditorItemCore())},t.prototype.setupItems=function(){this.koItems(this.getItemsFromValue(this.editingValue))},t.prototype.onValueChanged=function(){this.isShowingModal&&this.setupItems()},t.prototype.setup=function(){e.prototype.setup.call(this),this.updateValue()},t.prototype.getItemsFromValue=function(e){void 0===e&&(e=null);var t=[];e||(e=this.editingValue);for(var o=0;o<e.length;o++)t.push(this.createEditorItemCore(e[o]));return t},Object.defineProperty(t.prototype,"isCurrentValueEmpty",{get:function(){return 0==this.koItems().length},enumerable:!0,configurable:!0}),t.prototype.onBeforeApply=function(){for(var e=[],t=this.koItems(),o=0;o<t.length;o++)e.push(this.createItemFromEditorItem(t[o]));this.setValueCore(e)},t.prototype.createEditorItemCore=function(e){void 0===e&&(e=null);var t=e?this.createEditorItem(e):this.createNewEditorItem();return t.onCreated&&t.onCreated(),t},t.prototype.createNewEditorItem=function(){throw"Override 'createNewEditorItem' method"},t.prototype.createEditorItem=function(e){return e},t.prototype.createItemFromEditorItem=function(e){return e},t}(r.a)},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(14)),s=o(17),l=o(0),d=o(12),u=o(18);o.d(t,"a",function(){return c}),o.d(t,"b",function(){return p});var c=function(e){function t(t){var o=e.call(this,t)||this;o.koColumnsValue=n.observable([]),o.createColumns();var i=o;return o.koEditItem=n.observable(null),o.koIsList=n.observable(!0),o.koActiveView=n.observable("form"),o.koEditItem.subscribe(function(e){i.koIsList(null==i.koEditItem()),i.onListDetailViewChanged()}),o.onEditItemClick=function(e){i.koEditItem(e)},o.onCancelEditItemClick=function(){var e=i.koEditItem();e.itemEditor&&e.itemEditor.hasError()||i.koEditItem(null)},o.koEditorName=n.computed(function(){return i.getEditorName()}),o}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"canShowDisplayNameOnTop",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.koColumnsValue()},enumerable:!0,configurable:!0}),t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.koEditItem(null)},t.prototype.createColumns=function(){for(var e=[],t=this.getProperties(),o=0;o<t.length;o++)e.push(new m(t[o]));this.koColumnsValue(e)},t.prototype.getProperties=function(){return[]},t.prototype.getPropertiesNames=function(e,t){var o=[],i=u.a.getProperties(e);if(i)for(var n=0;n<i.length;n++){var r=i[n];o.push(r.name?r.name:r)}return 0==o.length&&(o=t),o},t.prototype.getPropertiesByNames=function(e,t){for(var o=[],i=0;i<t.length;i++){var n=t[i];n.name&&n.name;var a=r.Serializer.findProperty(e,n);a&&a.visible&&o.push(a)}return o},t.prototype.getEditorName=function(){return""},t.prototype.onListDetailViewChanged=function(){},t.prototype.checkForErrors=function(){for(var t=!1,o=0;o<this.koItems().length;o++)t=t||this.koItems()[o].hasError();return e.prototype.checkForErrors.call(this)||t},t.prototype.onBeforeApply=function(){for(var t=this.koItems(),o=0;o<t.length;o++)t[o].apply();e.prototype.onBeforeApply.call(this)},t}(a.a),p=function(){function e(e,t,o){var i=this;this.obj=e,this.getColumns=t,this.koCellsValue=n.observableArray(),this.options=o,this.koHasDetails=n.observable(!0),n.computed(function(){var t=i.getColumns();i.koCellsValue([]);for(var o=0;o<t.length;o++)i.koCellsValue.push(new h(e,t[o].property,i.options))})}return e.prototype.getClassName=function(){return""},Object.defineProperty(e.prototype,"columns",{get:function(){return this.getColumns()},enumerable:!0,configurable:!0}),e.prototype.onCreated=function(){this.updateDetailButton()},e.prototype.updateDetailButton=function(){this.koHasDetails(u.a.hasTabsToShow(this.getClassName()))},Object.defineProperty(e.prototype,"itemEditor",{get:function(){return this.itemEditorValue||(this.itemEditorValue=this.createSurveyQuestionEditor()),this.itemEditorValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cells",{get:function(){return this.koCellsValue()},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){if(this.itemEditorValue&&this.itemEditorValue.hasError())return!0;for(var e=!1,t=0;t<this.cells.length;t++)e=this.cells[t].hasError||e;return e},e.prototype.resetSurveyQuestionEditor=function(){this.itemEditorValue=null},e.prototype.createSurveyQuestionEditor=function(){return new s.b(this.obj,this.getClassName(),this.options)},e.prototype.apply=function(){this.itemEditorValue&&this.itemEditorValue.apply()},e}(),m=function(){function e(e){this.property=e}return Object.defineProperty(e.prototype,"text",{get:function(){var e=l.a.hasString("pel."+this.property.name)?this.getLocText("pel."):this.getLocText("pe.");return e||this.property.name},enumerable:!0,configurable:!0}),e.prototype.getLocText=function(e){return l.a.getString(e+this.property.name)},e}(),h=function(){function e(e,t,o){void 0===o&&(o=null),this.obj=e,this.property=t,this.options=o;var i=this,n=function(e,t){i.value=t};this.objectPropertyValue=new d.a(this.property,n,this.options),this.objectPropertyValue.editor.isInplaceProperty=!0,this.objectProperty.object=e}return Object.defineProperty(e.prototype,"objectProperty",{get:function(){return this.objectPropertyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editor",{get:function(){return this.objectProperty.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"koValue",{get:function(){return this.objectProperty.editor.koValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.property.getValue(this.obj)},set:function(e){this.obj[this.property.name]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasError",{get:function(){return this.editor.hasError()},enumerable:!0,configurable:!0}),e}()},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(14)),s=o(17);o.d(t,"a",function(){return l}),o.d(t,"b",function(){return d});var l=function(e){function t(t){var o=e.call(this,t)||this;o.selectedObjectEditor=n.observable(null),o.koSelected=n.observable(null);var i=o;return o.koAvailableClasses=n.observableArray(o.getAvailableClasses()),o.koSelected.subscribe(function(e){i.selectedObjectEditor()&&i.selectedObjectEditor().apply();var t=null!=e?new s.b(e.obj,null,i.options):null;i.selectedObjectEditor(t)}),o.onDeleteClick=function(){i.readOnly()||i.koItems.remove(i.koSelected())},o.onAddClick=function(e){i.addNewItem(e?e.value:null)},o}return o.i(i.a)(t,e),t.prototype.onBeforeApply=function(){this.selectedObjectEditor()&&this.selectedObjectEditor().apply(),e.prototype.onBeforeApply.call(this)},Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"oneselected"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editorType",{get:function(){return"oneselected"},enumerable:!0,configurable:!0}),t.prototype.createOneSelectedItem=function(e){return new d(e)},t.prototype.getObjClassName=function(){return this.currentObjClassName},t.prototype.getAvailableClasses=function(){return[]},t.prototype.addNewItem=function(e){this.currentObjClassName=e,this.AddItem(),this.koSelected(this.koItems()[this.koItems().length-1])},t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.koSelected&&this.koSelected(this.koItems().length>0?this.koItems()[0]:null)},t.prototype.createEditorItem=function(e){var t=new r.JsonObject,o=r.Serializer.createClass(e.getType());return t.toObject(e.toJSON(),o),this.setItemProperties(o),this.createOneSelectedItem(o)},t.prototype.createNewEditorItem=function(){return this.createEditorItem(r.Serializer.createClass(this.getObjClassName()))},t.prototype.createItemFromEditorItem=function(e){var t=e;return delete t.obj.survey,t.obj},t.prototype.setItemProperties=function(e){this.object&&(e.survey="survey"==this.object.getType()?this.object:this.object.survey),e.locOwner=this},t}(a.a),d=function(){function e(e){this.obj=e,this.koText=n.observable(this.getText())}return e.prototype.getText=function(){return""},e.prototype.objectChanged=function(){this.koText(this.getText())},e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(0)),r=o(35),a=o(18),s=o(2),l=(o.n(s),o(43)),d=o(5),u=o(8),c=o(10);o.d(t,"a",function(){return p}),o.d(t,"b",function(){return h}),o.d(t,"c",function(){return g});var p=function(){function e(){this.koVisible=i.observable(!1),this.koEditor=i.observable(null)}return e.prototype.show=function(e,t,o,i,n){void 0===i&&(i=null),void 0===n&&(n=null);var r=new h(e,null,i);r.onChanged=o,this.koEditor(r),this.koVisible(!0);var a=new l.a(t,{bodyClass:"",closeTimeout:100,dialogOpenClass:"animated fadeIn",focus:!1,afterClose:function(){n&&n()}});a.open(),document.addEventListener("keydown",function(e){a.keydown(e)},!1),r.onHideWindow=function(){a.close()}},e}(),m=function(){function e(e,t){void 0===t&&(t=null),this.obj=e,this.options=t,this.properties=s.Serializer.getPropertiesByObj(this.obj),this.editorDefinition=a.a.getAllDefinitionsByClass(this.obj.getType())}return e.prototype.getProperty=function(e){var t=this.getPropertyCore(e);return t&&d.b.isPropertyVisible(this.obj,t,this.options)?t:null},e.prototype.getPropertyCore=function(e){for(var t=0;t<this.properties.length;t++)if(this.properties[t].name==e)return this.properties[t];return null},e.prototype.getProperties=function(e){var t=this;return this.editorDefinition.reduce(function(e,t){return e.concat(t.properties)},[{name:e.name,tab:e.name}]).filter(function(t){return void 0!==t&&"string"!=typeof t&&t.tab===e.name}).map(function(e){return"string"!=typeof e&&t.getPropertyCore(e.name)}).filter(function(o){return!!o&&(o.name==e.name&&!0===e.visible||d.b.isPropertyVisible(t.obj,o,t.options))})},e}(),h=function(){function e(e,t,o){void 0===t&&(t=null),void 0===o&&(o=null),this.className=t,this.options=o,this.koActiveTab=i.observable(),this.koTitle=i.observable(),this.editableObject=new c.a(e);var n=this;!this.className&&this.obj.getType&&(this.className=this.obj.getType()),this.properties=new m(this.editableObj,this.options),n.onApplyClick=function(){n.apply()},n.onOkClick=function(){n.doCloseWindow(!1)},n.onResetClick=function(){n.doCloseWindow(!0)},this.onTabClick=function(e){n.koActiveTab(e.name)};var r=this.buildTabs();this.koTabs=i.observableArray(r),r.forEach(function(e){return e.beforeShow()}),r.length>0&&this.koActiveTab(r[0].name),this.koShowApplyButton=i.observable(!this.options||this.options.showApplyButtonInEditors),this.koTitle(this.getTitle())}return Object.defineProperty(e.prototype,"obj",{get:function(){return this.editableObject.obj},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editableObj",{get:function(){return this.editableObject.editableObj},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return!!this.options&&this.options.readOnly},enumerable:!0,configurable:!0}),e.prototype.getTitle=function(){var e;return e=this.editableObj.name?n.a.getString("pe.qEditorTitle").format(this.editableObj.name):n.a.getString("pe.surveyEditorTitle"),this.options&&this.options.onGetElementEditorTitleCallback&&(e=this.options.onGetElementEditorTitleCallback(this.editableObj,e)),e},e.prototype.doCloseWindow=function(e){var t=!1;if(e||(t=this.apply()),e||t){for(var o=this.koTabs(),i=0;i<o.length;i++)o[i].doCloseWindow();this.onHideWindow&&this.onHideWindow()}},e.prototype.hasError=function(){for(var e=this.koTabs(),t=0;t<e.length;t++)if(e[t].hasError())return this.koActiveTab(e[t].name),!0;return!1},e.prototype.reset=function(){this.editableObject.reset();for(var e=this.koTabs(),t=0;t<e.length;t++)e[t].reset()},e.prototype.apply=function(){for(var e=!0,t=!1,o=this.koTabs(),i=0;i<o.length;i++){var n=o[i].apply();n||(o[i].expand(),t||(this.koActiveTab(o[i].name),t=!0)),e=n&&e}if(e){for(var i=0;i<o.length;i++)o[i].applyToObj(this.obj);this.onChanged&&this.onChanged(this.obj)}return e},e.prototype.getPropertyEditorByName=function(e){for(var t=this.koTabs(),o=0;o<t.length;o++){var i=t[o].getPropertyEditorByName(e);if(i)return i}return i},e.prototype.buildTabs=function(){var e=[],t=this,o=new r.a(this.editableObj,a.a.getProperties(this.className),this.options,null,function(e){return t.getQuestionEditorPropertyByName(e)});return a.a.isGeneralTabVisible(this.className)&&e.push(new g(this.editableObj,o,"general")),this.addPropertiesTabs(e),e},e.prototype.addPropertiesTabs=function(e){for(var t=this,o=a.a.getTabs(this.className),i=0;i<o.length;i++){var n=o[i],s=this.properties.getProperties(n);if(s.length>0){var l=new g(this.editableObj,new r.a(this.editableObj,s,this.options,n,function(e){return t.getQuestionEditorPropertyByName(e)}),n.name);l.title=n.title,e.push(l)}}},e.prototype.getQuestionEditorPropertyByName=function(e){if(!this.koTabs)return null;for(var t=this.koTabs(),o=0;o<t.length;o++){var i=t[o].getPropertyEditorByName(e);if(i)return i}return null},Object.defineProperty(e.prototype,"useTabsInElementEditor",{get:function(){return!!this.options&&this.options.useTabsInElementEditor&&this.koTabs().length>1},enumerable:!0,configurable:!0}),e}(),g=function(){function e(e,t,o){void 0===t&&(t=null),this.obj=e,this.properties=t,this._name=o}return e.prototype.expand=function(){this.onExpand&&this.onExpand()},e.prototype.koAfterRender=function(e,t){o.i(u.c)(e)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){if(this.titleValue)return this.titleValue;var e=n.a.getString("pe.tabs."+this.name);return e||this.name},set:function(e){this.titleValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"htmlTemplate",{get:function(){return"questioneditortab"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateObject",{get:function(){return this},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.properties.hasError()},e.prototype.beforeShow=function(){this.properties.beforeShow()},e.prototype.reset=function(){this.properties.reset()},e.prototype.apply=function(){return this.properties.apply()},e.prototype.applyToObj=function(e){return this.properties.applyToObj(e)},e.prototype.getPropertyEditorByName=function(e){return this.properties.getPropertyEditorByName(e)},e.prototype.doCloseWindow=function(){},e.prototype.getValue=function(e){return e.getPropertyValue(this.obj)},e}()},function(e,t,o){"use strict";var i=o(2);o.n(i);o.d(t,"a",function(){return n});var n=function(){function e(){}return e.getProperties=function(t){for(var o=[],i=e.getAllDefinitionsByClass(t),n=0;n<i.length;n++){var r=i[n];if(r.properties)for(var a=0;a<r.properties.length;a++)r.properties[a].tab&&"general"!==r.properties[a].tab||o.push(r.properties[a])}return o},e.hasTabsToShow=function(t){return e.isGeneralTabVisible(t)||e.getTabs(t).length>0},e.isGeneralTabVisible=function(t){for(var o=e.getAllDefinitionsByClass(t),i=0;i<o.length;i++){var n=o[i];if(n.tabs)for(var r=0;r<n.tabs.length;r++){var a=n.tabs[r];if("general"==a.name)return!1!==a.visible}}return!0},e.getTabs=function(t){for(var o=[],i=e.getAllDefinitionsByClass(t),n={},r=i.length-1;r>=0;r--){var a=i[r];if(a.tabs)for(var s=0;s<a.tabs.length;s++){var l=a.tabs[s];n[l.name]||(n[l.name]=!0,!1!==l.visible&&o.push(l))}}return o.sort(function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}),o},e.getAllDefinitionsByClass=function(t){var o=[];if(t.indexOf("@")>-1&&e.definition[t])return o.push(e.definition[t]),o;for(var n=t;n;){var r=i.Serializer.findClass(n);if(!r)break;e.definition[r.name]&&o.unshift(e.definition[r.name]),n=r.parentName}if(0==o.length){for(var a=i.Serializer.getProperties(t),s={properties:[]},l=0;l<a.length;l++)a[l].isVisible(null)&&s.properties.push(a[l].name);o.push(s)}return o},e.definition={question:{properties:["name","title","description",{name:"visible",category:"checks"},{name:"isRequired",category:"checks"},{name:"startWithNewLine",category:"checks"}],tabs:[{name:"visibleIf",index:100},{name:"enableIf",index:110}]},comment:{properties:["rows","placeHolder"]},file:{properties:[{name:"showPreview",category:"imageChecks"},{name:"storeDataAsText",category:"imageChecks"},"maxSize","imageHeight","imageWidth"]},html:{tabs:[{name:"html",index:10}]},matrixdropdownbase:{properties:["cellType","columnsLocation"],tabs:[{name:"columns",index:10},{name:"rows",index:11},{name:"choices",index:12}]},matrixdynamic:{properties:["rowCount","addRowLocation","addRowText","removeRowText"]},matrixdropdown:{properties:["totalText"]},matrix:{properties:["isAllRowRequired"],tabs:[{name:"columns",index:10},{name:"rows",index:11}]},multipletext:{properties:["colCount"],tabs:[{name:"items",index:10}]},rating:{properties:["rateMin","rateMax","rateStep","minRateDescription","maxRateDescription"],tabs:[{name:"rateValues",index:10}]},selectbase:{properties:[{name:"hasOther",tab:"choices"},{name:"otherText",tab:"choices"},"choicesOrder","colCount"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"validators",index:200}]},"itemvalue[]@choices":{title:"Rules",tabs:[{name:"general",visible:!1},{name:"visibleIf",visible:!0},{name:"enableIf",visible:!0}]},"itemvalue[]@rows":{title:"Rules",tabs:[{name:"general",visible:!1},{name:"visibleIf",visible:!0}]},"itemvalue[]@columns":{title:"Rules",tabs:[{name:"general",visible:!1},{name:"visibleIf",visible:!0}]},checkbox:{properties:[{name:"hasSelectAll",tab:"choices"},{name:"selectAllText",tab:"choices"},{name:"hasNone",tab:"choices"},{name:"noneText",tab:"choices"}]},radiogroup:{},dropdown:{properties:["optionsCaption",{name:"choicesMin",tab:"choices"},{name:"choicesMax",tab:"choices"},{name:"choicesStep",tab:"choices"}]},text:{properties:["inputType","placeHolder"],tabs:[{name:"validators",index:200}]},boolean:{properties:["label"]},expression:{properties:["currency","displayStyle","format"],tabs:[{name:"expression",index:10}]},matrixdropdowncolumn:{properties:["isRequired","cellType","name","title",{name:"totalType",tab:"totals"},{name:"totalDisplayStyle",tab:"totals"},{name:"totalCurrency",tab:"totals"},{name:"totalFormat",tab:"totals"},{name:"totalExpression",tab:"totals"}]},"matrixdropdowncolumn@default":{properties:["width"],tabs:[{name:"general",visible:!1},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@checkbox":{properties:["hasOther","otherText","choicesOrder","colCount","width"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@radiogroup":{properties:["hasOther","otherText","choicesOrder","colCount","width"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@dropdown":{properties:["hasOther","otherText","choicesOrder","optionsCaption","width"],tabs:[{name:"choices",index:10},{name:"choicesByUrl",index:11},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@text":{properties:["inputType","placeHolder","maxLength","width"],tabs:[{name:"validators",index:10},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@comment":{properties:["rows","placeHolder","maxLength","width"],tabs:[{name:"validators",index:10},{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@boolean":{properties:["defaultValue","width"],tabs:[{name:"visibleIf",index:12},{name:"enableIf",index:20},{name:"requiredIf",index:30},{name:"totals",index:40}]},"matrixdropdowncolumn@expression":{properties:["name","displayStyle","currency","width"],tabs:[{name:"expression",index:10},{name:"totals",index:40}]},multipletextitem:{properties:["inputType","maxLength","placeHolder","requiredErrorText"],tabs:[{name:"validators",index:10}]},paneldynamic:{properties:[{name:"renderMode",category:"render"},{name:"allowAddPanel",category:"render"},{name:"allowRemovePanel",category:"render"},"panelAddText","panelRemoveText"],tabs:[{name:"templateTitle",index:10}]},panel:{properties:["name","title",{name:"visible",category:"checks"}],tabs:[{name:"visibleIf",index:100}]},page:{properties:["name","title","description",{name:"visible",category:"checks"},"questionsOrder"],tabs:[{name:"visibleIf",index:100}]},survey:{properties:["title","description","showTitle","locale","mode","clearInvisibleValues","cookieName",{name:"sendResultOnPageNext",category:"data"},{name:"storeOthersAsComment",category:"data"},{name:"showPageTitles",category:"page"},{name:"showPageNumbers",category:"page"},{name:"pagePrevText",tab:"navigation"},{name:"pageNextText",tab:"navigation"},{name:"completeText",tab:"navigation"},{name:"startSurveyText",tab:"navigation"},{name:"showNavigationButtons",tab:"navigation",category:"navbuttons"},{name:"showPrevButton",tab:"navigation",category:"navbuttons"},{name:"firstPageIsStarted",tab:"navigation",category:"navpages"},{name:"showCompletedPage",tab:"navigation",category:"navpages"},{name:"goNextPageAutomatic",tab:"navigation",category:"navopt"},{name:"showProgressBar",tab:"navigation",category:"navopt"},{name:"isSinglePage",tab:"navigation"},{name:"questionTitleLocation",tab:"question"},{name:"requiredText",tab:"question"},{name:"questionStartIndex",tab:"question"},{name:"showQuestionNumbers",tab:"question"},{name:"questionTitleTemplate",tab:"question"},{name:"questionErrorLocation",tab:"question"},{name:"focusFirstQuestionAutomatic",tab:"question"},{name:"questionsOrder",tab:"question"},{name:"maxTimeToFinish",tab:"timer"},{name:"maxTimeToFinishPage",tab:"timer"},{name:"showTimerPanel",tab:"timer",category:"check"},{name:"showTimerPanelMode",tab:"timer",category:"check"}],tabs:[{name:"navigation",index:10},{name:"question",index:20},{name:"completedHtml",index:70},{name:"completedHtmlOnCondition",index:75},{name:"loadingHtml",index:80},{name:"timer",index:90},{name:"calculatedValues",index:95},{name:"triggers",index:100}]}},e}()},function(e,t,o){"use strict";function i(e){var t=window.getComputedStyle(e);e.style.width=n(e.value,t.font)+p+"px"}function n(e,t){var o=u||(u=document.createElement("canvas")),i=o.getContext("2d");return i.font=t,i.measureText(e).width}var r=o(1),a=(o.n(r),o(6)),s=o(0),l=o(89),d=(o.n(l),o(2));o.n(d);o.d(t,"b",function(){return m}),o.d(t,"a",function(){return h});var u,c=o(141),p=36,m=function(){function e(e,t){var o=this;this.rootElement=t,this.editingName=r.observable(),this.prevName=r.observable(),this.isEditing=r.observable(!1),this.hideEditor=function(){o.isEditing(!1),o.forNeibours(function(e){e.style.display=e.dataset.sjsOldDisplay})},this.startEdit=function(e,t){o.editingName(o.prevName()),o.isEditing(!0),o.forNeibours(function(e){e.dataset.sjsOldDisplay=e.style.display,e.style.display="none"});var n=o.rootElement.getElementsByTagName("input")[0];n.focus(),i(n)},this.postEdit=function(){o.prevName()!==o.editingName()&&(o.prevName(o.editingName()),!!o.valueChanged&&o.valueChanged(o.editingName())),o.hideEditor()},this.cancelEdit=function(){o.editingName(o.prevName()),o.hideEditor()},this.nameEditorKeypress=function(e,t){i(t.target),13===t.keyCode?o.postEdit():27===t.keyCode&&o.cancelEdit()},this.editingName(e),this.prevName(e),this.forNeibours(function(e){return e.onclick=function(e){o.startEdit(o,e),e.preventDefault()}})}return e.prototype.forNeibours=function(e){if(this.rootElement.parentElement&&this.rootElement.parentElement.parentElement)for(var t=this.rootElement.parentElement.parentElement,o=0;o<t.children.length-1;o++){var i=t.children[o];-1===i.className.indexOf("svda-custom-content")&&e(i)}},e.prototype.getLocString=function(e){return s.a.getString(e)},e}();r.components.register("title-editor",{viewModel:{createViewModel:function(e,t){var o=new m(e.model[e.name],t.element);r.computed(function(){o.prevName(r.unwrap(e.model[e.name]))});var i=d.Serializer.findProperty(e.model.getType(),e.name);return o.valueChanged=function(t){var o={propertyName:i.name,obj:e.model,value:t,newValue:null,doValidation:!1};e.editor.onValueChangingCallback(o),t=null===o.newValue?o.value:o.newValue,e.model[e.name]=t,e.editor.onPropertyValueChanged(i,e.model,t)},o}},template:c});var h={getMarkerClass:function(e){return"title_editable"},getElementName:function(e){return"title"},afterRender:function(e,t,o){var i=document.createElement("span");i.innerHTML="<title-editor params='name: \"title\", model: model, editor: editor'></title-editor>",e[0].appendChild(i),r.applyBindings({model:t,editor:o},i),r.tasks.runEarly(),o.onAdornerRenderedCallback(t,"title",i)}};o.i(a.b)("title",h);var g={getMarkerClass:function(e){return e.items?"item_title_editable title_editable":""},getElementName:function(e){return"itemTitle"},afterRender:function(e,t,o){for(var i=0;i<e.length;i++){var n=document.createElement("span");n.innerHTML="<title-editor params='name: \"title\", model: model, editor: editor'></title-editor>",e[i].appendChild(n),r.applyBindings({model:t.items[i],editor:o},n),r.tasks.runEarly(),o.onAdornerRenderedCallback(t,"item-title",n,t.items[i])}}};o.i(a.b)("item-title",g)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(46),n=(o.n(i),o(47)),r=(o.n(n),o(48)),a=(o.n(r),o(45)),s=(o.n(a),o(28));o.d(t,"enStrings",function(){return s.a});var l=o(0);o.d(t,"editorLocalization",function(){return l.a}),o.d(t,"defaultStrings",function(){return l.b}),o.d(t,"localization",function(){return l.a});var d=o(27);o.d(t,"DragDropHelper",function(){return d.a});var u=o(10);o.d(t,"EditableObject",function(){return u.a});var c=o(34);o.d(t,"SurveyElementSelector",function(){return c.a});var p=o(13);o.d(t,"SurveyPropertyEditorBase",function(){return p.a});var m=o(31);o.d(t,"SurveyPropertyCustomEditor",function(){return m.a});var h=o(4);o.d(t,"SurveyPropertyEditorFactory",function(){return h.a}),o.d(t,"SurveyStringPropertyEditor",function(){return h.b}),o.d(t,"SurveyDropdownPropertyEditor",function(){return h.c}),o.d(t,"SurveyBooleanPropertyEditor",function(){return h.d}),o.d(t,"SurveyNumberPropertyEditor",function(){return h.e});var g=o(78);o.d(t,"SurveyPropertyTextItemsEditor",function(){return g.a});var v=o(14);o.d(t,"SurveyPropertyItemsEditor",function(){return v.a});var y=o(74);o.d(t,"SurveyPropertyItemValuesEditor",function(){return y.a});var f=o(76);o.d(t,"SurveyPropertyMultipleValuesEditor",function(){return f.a});var b=o(15);o.d(t,"SurveyNestedPropertyEditor",function(){return b.a}),o.d(t,"SurveyNestedPropertyEditorItem",function(){return b.b});var x=o(75);o.d(t,"SurveyPropertyDropdownColumnsEditor",function(){return x.a}),o.d(t,"SurveyPropertyMatrixDropdownColumnsItem",function(){return x.b});var k=o(7);o.d(t,"SurveyPropertyModalEditor",function(){return k.a}),o.d(t,"SurveyPropertyTextEditor",function(){return k.b}),o.d(t,"SurveyPropertyHtmlEditor",function(){return k.c});var w=o(21);o.d(t,"SurveyPropertyConditionEditor",function(){return w.a});var T=o(77);o.d(t,"SurveyPropertyResultfullEditor",function(){return T.a});var S=o(32);o.d(t,"SurveyPropertyDefaultValueEditor",function(){return S.a}),o.d(t,"SurveyPropertyDefaultRowValueEditor",function(){return S.b}),o.d(t,"SurveyPropertyDefaultPanelValueEditor",function(){return S.c}),o.d(t,"SurveyPropertySetEditor",function(){return S.d});var P=o(33);o.d(t,"SurveyPropertyTriggersEditor",function(){return P.a});var C=o(73);o.d(t,"SurveyPropertyHtmlConditionEditor",function(){return C.a});var E=o(71);o.d(t,"SurveyPropertyCalculatedValueEditor",function(){return E.a});var N=o(79);o.d(t,"SurveyPropertyValidatorsEditor",function(){return N.a});var O=o(72);o.d(t,"SurveyPropertyCellsEditor",function(){return O.a});var V=o(39);o.d(t,"SurveyObjects",function(){return V.a});var I=o(35);o.d(t,"SurveyQuestionEditorProperties",function(){return I.a}),o.d(t,"SurveyQuestionEditorRow",function(){return I.b}),o.d(t,"SurveyQuestionEditorProperty",function(){return I.c});var j=o(18);o.d(t,"SurveyQuestionEditorDefinition",function(){return j.a});var A=o(17);o.d(t,"SurveyPropertyEditorShowWindow",function(){return A.a}),o.d(t,"SurveyQuestionEditor",function(){return A.b}),o.d(t,"SurveyQuestionEditorTab",function(){return A.c});var z=o(36);o.d(t,"QuestionToolbox",function(){return z.a});var L=o(12);o.d(t,"SurveyObjectProperty",function(){return L.a});var R=o(30);o.d(t,"SurveyObjectEditor",function(){return R.a});var q=o(70);o.d(t,"PagesEditor",function(){return q.a});var M=o(23);o.d(t,"SurveyTextWorker",function(){return M.a});var D=o(5);o.d(t,"ObjType",function(){return D.a}),o.d(t,"SurveyHelper",function(){return D.b});var H=o(40);o.d(t,"SurveyLiveTester",function(){return H.a});var _=o(38);o.d(t,"SurveyEmbedingWindow",function(){return _.a});var B=o(37);o.d(t,"QuestionConverter",function(){return B.a});var Q=o(42);o.d(t,"SurveyUndoRedo",function(){return Q.a}),o.d(t,"UndoRedoItem",function(){return Q.b});var $=o(29);o.d(t,"SurveyLogic",function(){return $.a});var F=o(6);o.d(t,"SurveyForDesigner",function(){return F.a}),o.d(t,"registerAdorner",function(){return F.b}),o.d(t,"removeAdorners",function(){return F.c});var J=o(54);o.d(t,"Extentions",function(){return J.a});var U=o(24);o.d(t,"SurveyEditor",function(){return U.a}),o.d(t,"SurveyCreator",function(){return U.b});var W=o(69);o.d(t,"SurveysManager",function(){return W.a});var G=o(22);o.d(t,"StylesManager",function(){return G.a});var K=(o(55),o(56),o(57),o(60),o(59),o(61),o(63),o(64),o(65),o(66),o(67),o(68),o(62),o(58),o(41));o.d(t,"Translation",function(){return K.a}),o.d(t,"TranslationGroup",function(){return K.b}),o.d(t,"TranslationItem",function(){return K.c}),o.d(t,"TranslationItemBase",function(){return K.d});var Z=o(19);o.d(t,"titleAdorner",function(){return Z.a});var Y=o(11);o.d(t,"itemAdorner",function(){return Y.a});var X=o(51);o.d(t,"labelAdorner",function(){return X.a});var ee=o(26);o.d(t,"questionActionsAdorner",function(){return ee.a});var te=o(53);o.d(t,"selectItemsEditorAdorner",function(){return te.a});var oe=o(52);o.d(t,"ratingItemAdorner",function(){return oe.a});var ie=o(50);o.d(t,"imageItemsAdorner",function(){return ie.a});var ne=o(49);o.d(t,"flowpanelActionsAdorner",function(){return ne.a});var re=o(80);o.d(t,"AccordionItemModel",function(){return re.a}),o.d(t,"AccordionModel",function(){return re.b});var ae=o(81);o.d(t,"SplitterComponentViewModel",function(){return ae.a});var se=o(16);o.d(t,"SurveyPropertyOneSelectedEditor",function(){return se.a}),o.d(t,"SurveyPropertyOneSelectedItem",function(){return se.b}),o.d(t,"Version",function(){return le});var le;le="1.1.22"},function(e,t,o){"use strict";function i(e,t,o,i){void 0===i&&(i=null);var n=[],r=o.question,a=(o.questions||[]).filter(function(e){return e!==r});if(a||r instanceof s.MatrixDropdownColumn||r.data instanceof s.QuestionPanelDynamicItem)if("row"===e&&r instanceof s.MatrixDropdownColumn)n=r.colOwner.columns.filter(function(e){return e.name!==r.name}).map(function(e){return{name:"",value:"{row."+e.name+"}",some:"",meta:e.title,identifierRegex:g}});else if("panel"===e&&r.data instanceof s.QuestionPanelDynamicItem){var l=r.data.panel;n=l.elements.filter(function(e){return e.name!==r.name}).map(function(e){return{name:"",value:"{panel."+e.name+"}",some:"",meta:e.name,identifierRegex:g}})}else{var d=m.filter(function(e){return!t||-1!==e.value.indexOf(t)}),u=a.filter(function(e){return!t||-1!==e.name.indexOf(t)});r instanceof s.MatrixDropdownColumn?n.push({name:"",value:"{row.",some:"",meta:c.a.getString(c.b.pe.aceEditorRowTitle),identifierRegex:g}):r&&r.data instanceof s.QuestionPanelDynamicItem&&n.push({name:"",value:"{panel.",some:"",meta:c.a.getString(c.b.pe.aceEditorPanelTitle),identifierRegex:g}),n=n.concat(u.map(function(e){return{completer:i,name:"",value:"{"+e.name+"}",some:"",meta:e.title,identifierRegex:g}})).concat(d.map(function(e){return{name:"",value:e.value,some:"",meta:e.title,identifierRegex:g}}))}return n}function n(e,t){if(e.completer.completions.filterText)for(var o,i=e.selection.getAllRanges(),n=0;o=i[n];n++){o.start.column-=e.completer.completions.filterText.length;var r=e.session.getTextRange(o);if(0!==r.indexOf("{")){var a=o.clone();a.start.column--,0===e.session.getTextRange(a).indexOf("{")&&(o=a)}e.session.remove(o)}e.execCommand("insertstring",t.value||t)}var r=o(3),a=o(1),s=(o.n(a),o(2)),l=(o.n(s),o(7)),d=o(4),u=o(10),c=o(0);o.d(t,"a",function(){return p});var p=function(e){function t(o,i,n){void 0===i&&(i="condition"),void 0===n&&(n="createCondition");var r=e.call(this,o)||this;r._type=i,r.syntaxCheckMethodName=n,r.availableOperators=[],r.showHelpText=!0,r.isValueChanging=!1,r.addConditionQuestionsHash={},t.emptySurvey||(t.emptySurvey=!!r.options&&r.options.createSurvey({},"conditionEditor")),r.availableOperators=d.a.getOperators(),r.koIsValid=a.observable(!0),r.koAddConditionQuestions=a.observableArray(),r.koAddConditionQuestion=a.observable(""),r.koAddConditionOperator=a.observable(""),r.koAddConditionValue=a.observable(""),r.koAddConditionType=a.observable("and"),r.koHasValueSurvey=a.observable(!1),r.koValueSurvey=a.observable(t.emptySurvey);var s=r;return r.koAddConditionQuestion.subscribe(function(e){s.koAddConditionValue(""),s.onValueSurveyChanged(e,s.koAddConditionOperator())}),r.koAddConditionOperator.subscribe(function(e){s.onValueSurveyChanged(s.koAddConditionQuestion(),e)}),r.koAddConditionValue.subscribe(function(e){if(s.koHasValueSurvey()){var t=e?JSON.parse(e):{};s.isValueChanging=!0,s.koValueSurvey().setValue("question",t),s.isValueChanging=!1}}),r.koCanAddCondition=a.computed(function(){return""!=this.koAddConditionQuestion()&&void 0!=this.koAddConditionQuestion()&&""!=this.koAddConditionOperator()&&(!this.koCanAddConditionValue()||""!=this.koAddConditionValue())},r),r.koShowAddConditionType=a.computed(function(){if(!this.koIsValid())return!1;var e=this.koTextValue();return e&&(e=e.trim()),e},r),r.koAddConditionButtonText=a.computed(function(){var e=this.koIsValid()?"conditionButtonAdd":"conditionButtonReplace";return c.a.getPropertyInEditor(e)},r),r.koCanAddConditionValue=a.computed(function(){return s.canShowValueByOperator(s.koAddConditionOperator())},r),r.koAddContionValueEnabled=a.computed(function(){return s.koCanAddConditionValue()&&!s.koHasValueSurvey()},r),r.onConditionAddClick=function(){s.addCondition()},r.resetAddConditionValues(),r}return o.i(r.a)(t,e),t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.koAddConditionQuestion(""),this.addConditionQuestionsHash={},this.koAddConditionQuestions(this.allConditionQuestions)},Object.defineProperty(t.prototype,"editorType",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"availableQuestions",{get:function(){var e=this.getSurvey();return e?e.getAllQuestions():[]},enumerable:!0,configurable:!0}),t.prototype.getSurvey=function(){return this.object instanceof s.SurveyModel?this.getOrigionalSurvey(this.object):this.object instanceof s.MatrixDropdownColumn&&this.object.colOwner?this.object.colOwner.survey:this.object&&this.object.survey?this.getOrigionalSurvey(this.object.survey):null},t.prototype.getOrigionalSurvey=function(e){return u.a.getOrigionalSurvey(e)},Object.defineProperty(t.prototype,"allConditionQuestions",{get:function(){var e=this.getConditionQuetions();return e.sort(function(e,t){return e.text.localeCompare(t.text)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isExpressionValid",{get:function(){var e=this.koTextValue();return!!e&&new s.ConditionRunner(e).canRun()},enumerable:!0,configurable:!0}),t.prototype.getConditionQuetions=function(){if(!this.object)return[];var e=[],t=this.availableQuestions;if(t.length>0){for(var o=0;o<t.length;o++)this.object!=t[o]&&t[o].addConditionObjectsByContext(e,this.object);this.addConditionQuestionsHash={};for(var o=0;o<e.length;o++)this.options&&this.options.showTitlesInExpressions||(e[o].text=e[o].name),this.addConditionQuestionsHash[e[o].name]=e[o].question}return this.addCalculatedValues(e),!!this.options&&this.options.onConditionQuestionsGetListCallback(this.editablePropertyName,this.object,this,e),e},t.prototype.addCalculatedValues=function(e){var t=this.getSurvey();if(t)for(var o=t.calculatedValues,i=0;i<o.length;i++){var n=o[i].name;e.push({name:n,text:n,question:null})}},t.prototype.onValueSurveyChanged=function(e,t){if(!this.canShowValueByOperator(t)||!e||!this.getSurvey())return void this.koHasValueSurvey(!1);var o=this.getQuestionConditionJson(e,t);if(this.koHasValueSurvey(!!o&&!!o.type),this.koHasValueSurvey()){this.koValueSurvey(this.createValueSurvey(o,e));var i=this.koValueSurvey().getQuestionByName("question");i&&!i.isEmpty()&&this.koAddConditionValue(JSON.stringify(i.value))}},t.prototype.deleteConditionProperties=function(e){delete e.visible,delete e.visibleIf,delete e.enable,delete e.enableIf},t.prototype.createValueSurvey=function(e,t){if(e.name="question",e.title=c.a.getString("pe.conditionValueQuestionTitle"),this.deleteConditionProperties(e),e.choices)for(var o=0;o<e.choices.length;o++)this.deleteConditionProperties(e.choices[o]);var i={questions:[],showNavigationButtons:!1,showQuestionNumbers:"off"};i.questions.push(e);var n=this.options?this.options.createSurvey(i,"conditionEditor"):new s.Survey(i),r=this;if(n.onValueChanged.add(function(e,t){r.isValueChanging||r.koAddConditionValue(JSON.stringify(t.value))}),this.options){var a=this.property?this.property.name:"";this.options.onConditionValueSurveyCreatedCallBack(t,a,this.object,this,n)}return n},t.prototype.getQuestionByName=function(e){return this.getSurvey()?this.addConditionQuestionsHash[e]:null},t.prototype.getQuestionValueByName=function(e){var t=this.getQuestionByName(e);return t&&t.name!=t.getValueName()?e.replace(t.name,t.getValueName()):e},t.prototype.getQuestionConditionJson=function(e,t){var o="",i=this.getQuestionByName(e);if(!i)return null;var o=e.substr(i.name.length);o&&"."==o[0]&&(o=o.substr(1));var n=i&&i.getConditionJson?i.getConditionJson(t,o):null;return n&&("text"!==n.type||n.inputType)?n:null},t.prototype.canShowValueByOperator=function(e){return"empty"!=e&&"notempty"!=e},Object.defineProperty(t.prototype,"hasAceEditor",{get:function(){return"undefined"!=typeof ace&&void 0!==ace.require("ace/ext/language_tools")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addConditionQuestionOptions",{get:function(){return c.a.getString("pe.conditionSelectQuestion")},enumerable:!0,configurable:!0}),t.prototype.addCondition=function(){if(this.koCanAddCondition()){var e="";this.koShowAddConditionType()&&(e=this.koTextValue()+" "+this.koAddConditionType()+" "),e+="{"+this.getQuestionValueByName(this.koAddConditionQuestion())+"} "+this.getAddConditionOperator(),this.koCanAddConditionValue()&&(e+=" "+this.getAddConditionValue()),this.koTextValue(e),this.resetAddConditionValues()}},t.prototype.onBeforeApply=function(){!this.koTextValue()&&this.koCanAddCondition()&&this.addCondition(),e.prototype.onBeforeApply.call(this)},t.prototype.getAddConditionOperator=function(){var e=this.koAddConditionOperator();return"equal"==e?"=":"notequal"==e?"<>":"greater"==e?">":"less"==e?"<":"greaterorequal"==e?">=":"lessorequal"==e?"<=":e},t.prototype.getAddConditionValue=function(){var e=this.koAddConditionValue();return e?"true"==e||"false"==e?e:isNaN(e)?"["==e[0]?e.replace(/(?!^)(['])(?!$)/g,"\\$1"):(this.isQuote(e[0])||(e="'"+e),this.isQuote(e[e.length-1])||(e+="'"),e.replace(/(?!^)(['"])(?!$)/g,"\\$1")):e:e},t.prototype.isQuote=function(e){return"'"==e||'"'==e},t.prototype.onkoTextValueChanged=function(e){if(e){var t=new s.ConditionsParser;t[this.syntaxCheckMethodName](e),this.koIsValid(!t.error)}else this.koIsValid(!0)},t.prototype.resetAddConditionValues=function(){this.koAddConditionQuestion(""),this.koAddConditionOperator("equal"),this.koAddConditionValue("")},t.emptySurvey=void 0,t}(l.b);d.a.registerEditor("condition",function(e){return new p(e,"condition","createCondition")}),d.a.registerEditor("expression",function(e){return new p(e,"expression","parseExpression")});var m=[{value:"and",title:"logical 'and' operator"},{value:"&&",title:"logical 'and' operator"},{value:"or",title:"logical 'or' operator"},{value:"||",title:"logical 'or' operator"},{value:"empty",title:"returns true if the left operand is empty\t{questionName} empty"},{value:"notempty",title:"returns true if the left operand is not empty\t{questionName} notempty"},{value:"=",title:"returns true if two values are equal\t{questionName} = 5, {questionName} == 'abc', {questionName} equal 124"},{value:"==",title:"returns true if two values are equal\t{questionName} = 5, {questionName} == 'abc', {questionName} equal 124"},{value:"equal",title:"returns true if two values are equal\t{questionName} = 5, {questionName} == 'abc', {questionName} equal 124"},{value:"<>",title:"returns true if two values are not equal\t{questionName} <> 5, {questionName} != 'abc', {questionName} notequal 124"},{value:"!=",title:"returns true if two values are not equal\t{questionName} <> 5, {questionName} != 'abc', {questionName} notequal 124"},{value:"notequal",title:"returns true if two values are not equal\t{questionName} <> 5, {questionName} != 'abc', {questionName} notequal 124"},{value:">",title:"returns true if the left operand greater then the second operand\t{questionName} > 2, {questionName} greater 'a'"},{value:"greater",title:"returns true if the left operand greater then the second operand\t{questionName} > 2, {questionName} greater 'a'"},{value:"<",title:"returns true if the left operand less then the second operand\t{questionName} < 2, {questionName} less 'a'"},{value:"less",title:"returns true if the left operand less then the second operand\t{questionName} < 2, {questionName} less 'a'"},{value:">=",title:"returns true if the left operand equal or greater then the second operand\t{questionName} >= 2, {questionName} greaterorequal 'a'"},{value:"greaterorequal",title:"returns true if the left operand equal or greater then the second operand\t{questionName} >= 2, {questionName} greaterorequal 'a'"},{value:"<=",title:"returns true if the left operand equal or less then the second operand\t{questionName} <= 2, {questionName} lessorequal 'a'"},{value:"lessorequal",title:"returns true if the left operand equal or less then the second operand\t{questionName} <= 2, {questionName} lessorequal 'a'"},{value:"contains",title:"return true if the left operand is an array and it contains a value of the second operand\t{questionName} contains 'a'"},{value:"notcontains",title:"return true if the left operand is an array and it does not contain a value of the second operand"},{value:"anyof",title:"return true if the left operand is an array and it contains any value of the second array operand"},{value:"allof",title:"return true if the left operand is an array and it contains all values of the second array operand"}],h=function(e,t){e=e||"";var o=new Array,i=new s.ConditionsParser;if(i[t](e),e&&i.error){var n=e.substring(0,i.error.at),r=n.length-n.lastIndexOf("\n"),a={row:e.match(/\n/g)?e.match(/\n/g).length:0,column:r,text:i.error.code+" ("+r+")",type:"error"};o.push(a)}return o},g=/[a-zA-Z_0-9{\*\/\<\>\=\!\$\.\-\u00A2-\uFFFF]/;a.bindingHandlers.aceEditor={init:function(e,t){var o=t(),r=ace.require("ace/ext/language_tools"),s=ace.require("ace/autocomplete/util"),l=ace.edit(e),d=o.editor,u=!1;l.setOption("useWorker",!1),l.getSession().on("change",function(){var e=h(l.getValue(),d.syntaxCheckMethodName);u=!0,d.koTextValue(l.getValue()),u=!1,l.getSession().setAnnotations(e)}),l.on("focus",function(){l.setReadOnly(d.readOnly())});var c=function(){u||l.setValue(d.koTextValue()||"")},p=d.koTextValue.subscribe(c);c();var m={identifierRegexps:[g],insertMatch:n,getCompletions:function(e,t,n,r,a){a(null,i(s.retrievePrecedingIdentifier(t.getLine(n.row),n.column-1),r,o,m))},getDocTooltip:function(e){e.docHTML="<div style='max-width: 300px; white-space: normal;'>"+e.meta+"</div>"}};r.setCompleters([m]),l.setOptions({enableBasicAutocompletion:!0,enableLiveAutocompletion:!0}),a.utils.domNodeDisposal.addDisposeCallback(e,function(){l.destroy(),p.dispose()}),l.focus()}}},function(e,t,o){"use strict";var i=o(2),n=(o.n(i),o(1));o.n(n);o.d(t,"a",function(){return r});var r=function(){function e(){this.sheet=null,this.sheet=e.findSheet(e.SurveyJSStylesSheetId),this.sheet||(this.sheet=e.createSheet(e.SurveyJSStylesSheetId),this.initializeStyles(this.sheet))}return e.findSheet=function(e){for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode&&document.styleSheets[t].ownerNode.id===e)return document.styleSheets[t];return null},e.createSheet=function(e){var t=document.createElement("style");return t.id=e,t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet},e.applyTheme=function(t,o){void 0===t&&(t="default"),void 0===o&&(o=".svd_container"),e.currentTheme(t),e.applySurveyTheme(t);var i=e.findSheet(t+o);if(!i){i=e.createSheet(t+o);var n,r=e.ThemeColors[t]||e.ThemeColors.default;n=-1!==["bootstrap","bootstrapmaterial"].indexOf(t)?e[t+"ThemeCss"]:e.ThemeCss,Object.keys(n).forEach(function(e){var t=n[e];Object.keys(r).forEach(function(e){return t=t.replace(new RegExp("\\"+e,"g"),r[e])}),i.insertRule(o+e+" { "+t+" }",0)})}},e.applySurveyTheme=function(e){-1!==["bootstrap","bootstrapmaterial","modern"].indexOf(e)?i.Survey.cssType=e:i.Survey.cssType="default",i.StylesManager.applyTheme(e)},e.prototype.initializeStyles=function(t){Object.keys(e.Styles).forEach(function(o){return t.insertRule(o+" { "+e.Styles[o]+" }",0)})},e.SurveyJSStylesSheetId="surveyjs",e.Styles={},e.ThemeColors={default:{"$primary-color":"#1ab394","$secondary-color":"#1ab394","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#18a689","$selection-border-color":"#1ab394","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},orange:{"$primary-color":"#f78119","$secondary-color":"#4a4a4a","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#e77109","$selection-border-color":"#4a4a4a","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},darkblue:{"$primary-color":"#3c4f6d","$secondary-color":"#3c4f6d","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#2c3f5d","$selection-border-color":"#4a4a4a","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},darkrose:{"$primary-color":"#68656e","$secondary-color":"#68656e","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#57545e","$selection-border-color":"#4a4a4a","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},stone:{"$primary-color":"#0f0f33","$secondary-color":"#0f0f33","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#000023","$selection-border-color":"#cdccd2","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},winter:{"$primary-color":"#5ac8fa","$secondary-color":"#5ac8fa","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#4ad8ea","$selection-border-color":"#82b8da","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"},winterstone:{"$primary-color":"#3c3b40","$secondary-color":"#3c3b40","$primary-text-color":"#676a6c","$secondary-text-color":"#a7a7a7","$inverted-text-color":"#ffffff","$primary-hover-color":"#1c1b20","$selection-border-color":"#b8b8b8","$primary-icon-color":"#3d4d5d","$primary-bg-color":"#fff","$secondary-bg-color":"#f4f4f4","$primary-border-color":"#e7eaec","$secondary-border-color":"#ddd"}},e.ThemeCss={".svd_container":"color: $primary-text-color;",".svd_container a:focus, .svd_container select:focus, .svd_container span:focus, .svd_container div:focus, .svd_container tr:focus, .svd_container input[type='checkbox']:focus + span.checkmark":"outline-color: $primary-color;",".svd_container .svd_toolbar button:focus":"outline-color: $primary-text-color;",".svd_container a":"color: $primary-color;",".svd_container a:hover":"color: $primary-hover-color;",".svd_container .svd-main-color":"color: $primary-color;",".svd_container .svd-main-border-color":"border-color: $selection-border-color;",".svd_container .svd-main-background-color":"background-color: $primary-color;",".svd_container .svd-light-background-color":"background-color: $primary-border-color;",".svd_container .btn-primary":"color: $inverted-text-color; background-color: $secondary-color; border-color: $secondary-color;",".svd_container .btn-link":"color: $primary-text-color; background-color: $secondary-bg-color; border-color: $secondary-bg-color;",".svd_container .svd-svg-icon":"fill: $primary-icon-color;",".svd_container .icon-white .svd-svg-icon":"fill: $primary-bg-color;",".svd_container .svd-primary-icon .svd-svg-icon":"fill: $primary-color;",".svd_container .svd-secondary-icon .svd-svg-icon":"fill: $secondary-color;",".svd_container .icon-gearactive .svd-svg-icon":"fill: $primary-color;",".svd_container .nav-tabs a":"color: $primary-text-color",".svd_container .nav-tabs > li.active > a":"color: $primary-color",".svd_container .nav-item.active .nav-link":"background-color: $primary-bg-color;",".svd_container .sjs-cb-container:hover input ~ .checkmark":"background-color: $dd-menu-border",".svd_container .sjs-cb-container:hover input:checked ~ .checkmark":"background-color: $primary-hover-color",".svd_container .svd_custom_select:before":"background-color: $primary-color;",".svd_container .form-control:focus":"border-color: $primary-color;",".svd_container .svd-light-text-color":"color: $secondary-text-color;",".svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container .svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container .svd_toolbar li.active a":"background-color: $primary-color; color: $primary-bg-color;",".svd_container .svd_selected_page":"border-bottom: 1px solid $primary-bg-color;",".svd_container .editor-tabs > li > a:hover":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color;",".svd_container .editor-tabs > li > a:focus":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color;",".svd_container .editor-tabs > li.active > a":"color: $primary-color; background-color: $secondary-bg-color; border: 1px solid $primary-border-color; border-bottom-color: $secondary-bg-color;",".svd_container .svd-light-border-color":"border-color: $primary-border-color",".svd_container .svd-dark-border-color":"border-color: $secondary-border-color",".svd_container .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow":"background: $primary-color;",".svd_container .select2-container .select2-selection--single .select2-selection__arrow":"background: $primary-color;",".svd_container .svd_custom_select":"background-color: $primary-bg-color;",".svd_container .question_actions.svd_question:hover":"border-top: 1px solid $primary-color;",".svd_container .panel_actions.svd_question:hover":"border-top: 1px solid $primary-color;"},e.bootstrapThemeCss={".svd_container.sv_bootstrap_css":"color: $primary-text-color;",".svd_container.sv_bootstrap_css a:focus, .svd_container.sv_bootstrap_css select:focus, .svd_container.sv_bootstrap_css span:focus, .svd_container.sv_bootstrap_css div:focus, .svd_container.sv_bootstrap_css tr:focus, .svd_container.sv_bootstrap_css input[type='checkbox']:focus + span.checkmark":"outline-color: $primary-color;",".svd_container.sv_bootstrap_css .svd_toolbar button:focus":"outline-color: $primary-text-color;",".svd_container.sv_bootstrap_css a":"color: $primary-color;",".svd_container.sv_bootstrap_css a:hover":"color: $primary-hover-color;",".svd_container.sv_bootstrap_css .svd-main-color":"color: $primary-color;",".svd_container.sv_bootstrap_css .svd-main-border-color":"border-color: $selection-border-color;",".svd_container.sv_bootstrap_css .svd-main-background-color":"background-color: $primary-color;",".svd_container.sv_bootstrap_css .svd-light-background-color":"background-color: $primary-border-color;",".svd_container.sv_bootstrap_css .btn-primary":"color: $inverted-text-color; background-color: $secondary-color; border-color: $secondary-color;",".svd_container.sv_bootstrap_css .btn-link":"color: $primary-text-color; background-color: $secondary-bg-color; border-color: $secondary-bg-color;",".svd_container.sv_bootstrap_css .svd-svg-icon":"fill: $primary-icon-color;",".svd_container.sv_bootstrap_css .icon-white .svd-svg-icon":"fill: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd-primary-icon .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrap_css .svd-secondary-icon .svd-svg-icon":"fill: $secondary-color;",".svd_container.sv_bootstrap_css .icon-gearactive .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrap_css .nav-tabs a":"color: $primary-text-color;",".svd_container.sv_bootstrap_css .nav-tabs > li.active > a":"color: $primary-color;",".svd_container.sv_bootstrap_css .nav-item.active .nav-link":"background-color: $primary-bg-color;",".svd_container.sv_bootstrap_css .sjs-cb-container:hover input ~ .checkmark":"background-color: $dd-menu-border",".svd_container.sv_bootstrap_css .sjs-cb-container:hover input:checked ~ .checkmark":"background-color: $primary-hover-color",".svd_container.sv_bootstrap_css .svd_custom_select:before":"background-color: $primary-color;",".svd_container.sv_bootstrap_css .form-control:focus":"border-color: $primary-color;",".svd_container.sv_bootstrap_css .svd-light-text-color":"color: $secondary-text-color;",".svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd_toolbar li.active a":"background-color: $primary-color; color: $primary-bg-color;",".svd_container.sv_bootstrap_css .svd_selected_page":"border-bottom: 1px solid $primary-bg-color;",".svd_container.sv_bootstrap_css .editor-tabs > li > a:hover":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color;",".svd_container.sv_bootstrap_css .editor-tabs > li > a:focus":"background-color: $secondary-bg-color; border-bottom: 1px solid $secondary-bg-color",".svd_container.sv_bootstrap_css .editor-tabs > li.active > a":"color: $primary-color; background-color: $secondary-bg-color; border: 1px solid $primary-border-color; border-bottom-color: $secondary-bg-color;",".svd_container.sv_bootstrap_css .svd-light-border-color":"border-color: $primary-border-color",".svd_container.sv_bootstrap_css .svd-dark-border-color":"border-color: $secondary-border-color",".svd_container.sv_bootstrap_css .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow":"background: $primary-color;",".svd_container.sv_bootstrap_css .select2-container .select2-selection--single .select2-selection__arrow":"background: $primary-color;",".svd_container.sv_bootstrap_css .modal-tabs":"background: transparent; padding-bottom: 10px;",".svd_container.sv_bootstrap_css .modal-tabs > li > a":"color: $primary-text-color; border: 1px solid transparent;",".svd_container.sv_bootstrap_css .modal-tabs > li > a:hover":"color: $primary-color; border-bottom: 1px solid $inverted-text-color;",".svd_container.sv_bootstrap_css .modal-tabs > li > a:focus":"$primary-color; border-bottom: 1px solid $inverted-text-color;",".svd_container.sv_bootstrap_css .modal-tabs > li.active > a":"color: $primary-color; border: 1px solid $primary-border-color; border-bottom-color: $inverted-text-color;",".svd_container.sv_bootstrap_css .form-group.is-focused .form-control":"background-image: linear-gradient($primary-color, $primary-color), linear-gradient(#D2D2D2, #D2D2D2);",".svd_container.sv_bootstrap_css .form-group.is-focused label":"color:$primary-color;",".svd_container.sv_bootstrap_css .question_actions.svd_question:hover":"border-top: 1px solid $primary-color;",".svd_container.sv_bootstrap_css .panel_actions.svd_question:hover":"border-top: 1px solid $primary-color;"},e.bootstrapmaterialThemeCss={".svd_container.sv_bootstrapmaterial_css":"color: $primary-text-color;",".svd_container.sv_bootstrapmaterial_css a":"color: $primary-color;",".svd_container.sv_bootstrapmaterial_css a:hover":"color: $primary-hover-color;",".svd_container.sv_bootstrapmaterial_css .svd-main-color":"color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-main-border-color":"border-color: $selection-border-color;",".svd_container.sv_bootstrapmaterial_css .svd-main-background-color":"background-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-light-background-color":"background-color: $primary-border-color;",".svd_container.sv_bootstrapmaterial_css .btn-primary":"color: $inverted-text-color; background-color: $secondary-color; border-color: $secondary-color;",".svd_container.sv_bootstrapmaterial_css .btn-secondary":"background-color: $primary-border-color;",".svd_container.sv_bootstrapmaterial_css .btn-secondary:hover":"opacity: 0.8;",".svd_container.sv_bootstrapmaterial_css .btn-link":"color: $primary-text-color; background-color: $secondary-bg-color; border-color: $secondary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd-svg-icon":"fill: $primary-icon-color;",".svd_container.sv_bootstrapmaterial_css .icon-white .svd-svg-icon":"fill: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd-primary-icon .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-secondary-icon .svd-svg-icon":"fill: $secondary-color;",".svd_container.sv_bootstrapmaterial_css .icon-gearactive .svd-svg-icon":"fill: $primary-color;",".svd_container.sv_bootstrapmaterial_css .nav-tabs a":"color: $primary-text-color !important;",".svd_container.sv_bootstrapmaterial_css .nav-tabs > li.active > a":"color: $primary-color !important;",".svd_container.sv_bootstrapmaterial_css .nav-item.active .nav-link":"background-color: $primary-bg-color !important;",".svd_container.sv_bootstrapmaterial_css .sjs-cb-container:hover input ~ .checkmark":"background-color: $dd-menu-border",".svd_container.sv_bootstrapmaterial_css .sjs-cb-container:hover input:checked ~ .checkmark":"background-color: $primary-hover-color",".svd_container.sv_bootstrapmaterial_css .svd_custom_select:before":"background-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .form-control:focus":"border-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd-light-text-color":"color: $secondary-text-color;",".svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd-light-bg-color":"background-color: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd_toolbar li.active a":"background-color: $primary-color; color: $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .svd_selected_page":"border-bottom: 1px solid $primary-bg-color;",".svd_container.sv_bootstrapmaterial_css .editor-tabs > li > a:hover":"background-color: $secondary-bg-color !important; border-bottom: 1px solid $secondary-bg-color !important;",".svd_container.sv_bootstrapmaterial_css .editor-tabs > li > a:focus":"background-color: $secondary-bg-color !important; border-bottom: 1px solid $secondary-bg-color !important",".svd_container.sv_bootstrapmaterial_css .editor-tabs > li.active > a":"color: $primary-color !important; background-color: $secondary-bg-color !important; border: 1px solid $primary-border-color !important; border-bottom-color: $secondary-bg-color !important;",".svd_container.sv_bootstrapmaterial_css .svd-light-border-color":"border-color: $primary-border-color",".svd_container.sv_bootstrapmaterial_css .svd-dark-border-color":"border-color: $secondary-border-color",".svd_container.sv_bootstrapmaterial_css .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow":"background: $primary-color;",".svd_container.sv_bootstrapmaterial_css .select2-container .select2-selection--single .select2-selection__arrow":"background: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd_properties_grid .glyphicon-edit":"background-color: $primary-color;",".svd_container.sv_bootstrapmaterial_css .svd_properties_grid .glyphicon-edit:hover":"background-color: $primary-hover-color;",".svd_container.sv_bootstrapmaterial_css .modal-tabs":"background: transparent; padding-bottom: 10px;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li > a":"color: $primary-text-color !important; border: 1px solid transparent !important;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li > a:hover":"color: $primary-color !important; border-bottom: 1px solid $inverted-text-color !important;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li > a:focus":"$primary-color !important; border-bottom: 1px solid $inverted-text-color !important;",".svd_container.sv_bootstrapmaterial_css .modal-tabs > li.active > a":"color: $primary-color !important; border: 1px solid $primary-border-color !important; border-bottom-color: $inverted-text-color !important;",".svd_container.sv_bootstrapmaterial_css .form-group.is-focused .form-control":"background-image: linear-gradient($primary-color, $primary-color), linear-gradient(#D2D2D2, #D2D2D2);",".svd_container.sv_bootstrapmaterial_css .form-group.is-focused label":"color:$primary-color;",".svd_container.sv_bootstrapmaterial_css .question_actions.svd_question:hover":"border-top: 1px solid $primary-color;",".svd_container.sv_bootstrapmaterial_css .panel_actions.svd_question:hover":"border-top: 1px solid $primary-color;"},e.currentTheme=n.observable("bootstrap"),e}()},function(e,t,o){"use strict";var i=o(3),n=o(25),r=o(2);o.n(r);o.d(t,"a",function(){return s});var a=(function(){function e(){}}(),function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"isDesignMode",{get:function(){return!0},enumerable:!0,configurable:!0}),t}(r.Survey)),s=function(){function e(e){this.text=e,this.text&&""!=this.text.trim()||(this.text="{}"),this.errors=[],this.process()}return Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isJsonCorrect",{get:function(){return null!=this.surveyValue},enumerable:!0,configurable:!0}),e.prototype.process=function(){try{this.jsonValue=new n.a(1).parse(this.text)}catch(o){this.errors.push({pos:{start:o.at,end:-1},text:o.message})}if(null!=this.jsonValue){this.updateJsonPositions(this.jsonValue);var e=(new n.a).parse(this.text);if(this.surveyValue=new a(e),null!=this.surveyValue.jsonErrors)for(var t=0;t<this.surveyValue.jsonErrors.length;t++){var o=this.surveyValue.jsonErrors[t];this.errors.push({pos:{start:o.at,end:-1},text:o.getFullDescription()})}}this.surveyObjects=this.createSurveyObjects(),this.setEditorPositionByChartAt(this.surveyObjects),this.setEditorPositionByChartAt(this.errors)},e.prototype.updateJsonPositions=function(e){e.pos.self=e;for(var t in e){var o=e[t];o&&o.pos&&(e.pos[t]=o.pos,this.updateJsonPositions(o))}},e.prototype.createSurveyObjects=function(){var e=[];if(null==this.surveyValue)return e;this.isSurveyAsPage=!1;for(var t=0;t<this.surveyValue.pages.length;t++){var o=this.surveyValue.pages[t];0!=t||o.pos||(o.pos=this.surveyValue.pos,this.isSurveyAsPage=!0),e.push(o);for(var i=0;i<o.questions.length;i++)e.push(o.questions[i])}return e},e.prototype.setEditorPositionByChartAt=function(e){if(null!=e&&0!=e.length)for(var t={row:0,column:0},o=this.getAtArray(e),i=0,n=0;n<o.length;n++){var r=o[n].at;t=this.getPostionByChartAt(t,i,r);var a=o[n].obj;a.position||(a.position={}),r==a.pos.start?a.position.start=t:r==a.pos.end&&(a.position.end=t),i=r}},e.prototype.getPostionByChartAt=function(t,o,i){for(var n={row:t.row,column:t.column},r=o;r<i;)this.text.charAt(r)==e.newLineChar?(n.row++,n.column=0):n.column++,r++;return n},e.prototype.getAtArray=function(e){for(var t=[],o=0;o<e.length;o++){var i=e[o],n=i.pos;n&&(t.push({at:n.start,obj:i}),n.end>0&&t.push({at:n.end,obj:i}))}return t.sort(function(e,t){return e.at>t.at?1:e.at<t.at?-1:0})},e}()},function(e,t,o){"use strict";function i(e,t,o,i){var n=document.createElement("div");n.className="well card card-block",n.ondragover=function(e){o.doDragDropOver(e,i)};var r=document.createElement("span");return r.textContent=e.getEditorLocString("survey.dropQuestion"),n.appendChild(r),t.appendChild(n),n}var n=o(3),r=o(1),a=(o.n(r),o(0)),s=o(30),l=o(40),d=o(38),u=o(39),c=o(37),p=o(17),m=o(144),h=o(23),g=o(42),v=o(5),y=o(27),f=o(36),b=o(25),x=o(2),k=(o.n(x),o(6)),w=o(22),T=o(11),S=o(41),P=o(29);o.d(t,"b",function(){return E}),o.d(t,"a",function(){return N});var C=o(142),E=function(){function e(e,t){var o=this;void 0===e&&(e=null),void 0===t&&(t=null),this._haveCommercialLicense=r.observable(!1),this.surveyValue=r.observable(),this.stateValue="",this.dragDropHelper=null,this.showJSONEditorTabValue=r.observable(!1),this.showTestSurveyTabValue=r.observable(!1),this.showEmbededSurveyTabValue=r.observable(!1),this.showTranslationTabValue=r.observable(!1),this.showLogicTabValue=r.observable(!1),this.select2=null,this.alwaySaveTextInPropertyEditorsValue=!1,this.showApplyButtonValue=!0,this.isRTLValue=!1,this.scrollToNewElement=!0,this.useTabsInElementEditor=!1,this.showObjectTitles=!1,this.showTitlesInExpressions=!1,this.showPagesInTestSurveyTab=!0,this.allowModifyPages=!0,this.showDefaultLanguageInTestSurveyTab="auto",this.showInvisibleElementsInTestSurveyTab=!0,this.surveyId=null,this.surveyPostId=null,this.onBeforeUndo=new x.Event,this.onBeforeRedo=new x.Event,this.onAfterUndo=new x.Event,this.onAfterRedo=new x.Event,this.onSelectedElementChanging=new x.Event,this.onSelectedElementChanged=new x.Event,this.onShowingProperty=new x.Event,this.onCanShowProperty=this.onShowingProperty,this.onEditorTabRendered=new x.Event,this.onActiveTabChanged=new x.Event,this.onGetPropertyReadOnly=new x.Event,this.onCustomSortProperty=new x.Event,this.onGetObjectDisplayName=new x.Event,this.onPropertyAfterRender=new x.Event,this.onElementDeleting=new x.Event,this.onQuestionAdded=new x.Event,this.onElementDoubleClick=new x.Event,this.onItemValueAdded=new x.Event,this.onMatrixColumnAdded=new x.Event,this.onPanelAdded=new x.Event,this.onPageAdded=new x.Event,this.onModified=new x.Event,this.onElementNameChanged=new x.Event,this.onSurveyInstanceCreated=new x.Event,this.onDesignerSurveyCreated=new x.Event,this.onTestSurveyCreated=new x.Event,this.onSetPropertyEditorOptions=new x.Event,this.onPropertyValidationCustomError=new x.Event,this.onPropertyValueChanging=new x.Event,this.onPropertyEditorObjectAssign=new x.Event,this.onConditionValueSurveyCreated=new x.Event,this.onConditionQuestionsGetList=new x.Event,this.onPropertyEditorKeyDown=new x.Event,this.onElementAllowOperations=new x.Event,this.onDefineElementMenuItems=new x.Event,this.onShowPropertyModalEditorDescription=new x.Event,this.onGetObjectTextInPropertyGrid=new x.Event,this.koAutoSave=r.observable(!1),this.onCustomElementAddingIntoToolbox=new x.Event,this.onCustomElementAddedIntoToolbox=new x.Event,this.onUploadFile=new x.Event,this.onTranslationImported=new x.Event,this.onDragDropAllow=new x.Event,this.onAdornerRendered=new x.Event,this.onElementEditorClosed=new x.Event,this.showErrorOnFailedSave=!0,this.koShowState=r.observable(!1),this.koReadOnly=r.observable(!1),this.koShowPropertyGrid=r.observable(!0),this.koShowToolbox=r.observable(!0),this.koHideAdvancedSettings=r.observable(!1),this.koState=r.observable(""),this.tabs=r.observableArray(),this.themeCss=r.computed(function(){return-1===["bootstrap","bootstrapmaterial"].indexOf(w.a.currentTheme())?"sv_default_css":"sv_"+w.a.currentTheme()+"_css"}),this.toolbarItems=r.observableArray(),this.autoSaveDelay=500,this.autoSaveTimerId=null,this.saveNo=0,this.showExternalHelpLink=r.observable(!1),this.addPage=function(){var e=v.b.getNewPageName(o.pages()),t=o.survey.addNewPage(e);o.pages.valueHasMutated(),o.addPageToUI(t),o.setModified({type:"PAGE_ADDED",newValue:t})},this.deletePage=function(){o.deleteCurrentObject(),o.pages.valueHasMutated()},this.movePage=function(e,t){var i=o.pages()[t];o.surveyObjects.survey=null,o.surveyObjects.survey=o.survey,o.surveyObjects.selectObject(i),o.setModified({type:"PAGE_MOVED",page:i,indexFrom:e,indexTo:t})},this.newQuestions=[],this.newPanels=[],this.isCurrentPageEmpty=r.computed(function(){return!!o.surveyValue()&&!!o.surveyValue().koCurrentPage()&&0===o.getRows(o.surveyValue().koCurrentPage()).length}),this.showQuestionEditor=function(e,t){void 0===t&&(t=null);var i=o,n=o.renderedElement?o.renderedElement.querySelector("#surveyquestioneditorwindow"):null,r=!0;o.showEditorOldName=e.name,o.questionEditorWindow.show(e,n,function(e){i.onQuestionEditorChanged(e),r=!1},o,function(){t&&t(r),i.onElementEditorClosed.fire(i,{isCanceled:r,element:e})})},this.dirtyPageUpdate=function(){var e=o.koSelectedObject().value;if(v.b.getObjectType(e)!==v.a.Page)return void(v.b.getObjectType(e)===v.a.Question&&e.koElementType&&e.koElementType.notifySubscribers());o.pages.notifySubscribers(),o.surveyObjects.selectObject(e)},this.copyPage=function(e){var t=o.copyElement(e),i=o.pages.indexOf(e);return i>-1?o.pages.splice(i+1,0,t):o.pages.push(t),o.addPageToUI(t),o.setModified({type:"PAGE_ADDED",newValue:t}),t},this.onEditorTabRenderedCallback=function(e,t,i,n){o.onEditorTabRendered.fire(o,{tabName:e,elements:t,model:i,tabData:n})},this.koShowOptions=r.observable(),this.koGenerateValidJSON=r.observable(!0),this.koDesignerHeight=r.observable(),this.koShowPagesToolbox=r.observable(!0),this.setOptions(t),this.koCanDeleteObject=r.observable(!1);var i=this;w.a.applyTheme(w.a.currentTheme()),this.pages=r.observableArray(),this.koShowSaveButton=r.observable(!1),this.koTestSurveyWidth=r.observable("100%"),this.saveButtonClick=function(){i.doSave()},this.koObjects=r.observableArray(),window.sel=this.koSelectedObject,this.koSelectedObject=r.observable(),this.koSelectedObject.subscribe(function(e){i.selectedObjectChanged(null!=e?e.value:null)}),this.koGenerateValidJSON.subscribe(function(e){i.options||(i.options={}),i.options.generateValidJSON=e,i.generateValidJSONChangedCallback&&i.generateValidJSONChangedCallback(e)}),this.surveyObjects=new u.a(this.koObjects,this.koSelectedObject,function(e){return i.getObjectDisplayName(e)}),this.surveyObjects.getItemTextCallback=function(e,t){var o={obj:e,text:t};return i.onGetObjectTextInPropertyGrid.fire(i,o),o.text},this.selectPage=function(e){o.surveyObjects.selectObject(e)},this.undoRedo=new g.a,this.selectedObjectEditorValue=new s.a(this),this.selectedObjectEditorValue.onSortPropertyCallback=function(e,t,o){return i.onCustomSortPropertyObjectProperty(e,t,o)},this.selectedObjectEditorValue.onPropertyValueChanged.add(function(e,t){t.updatedValue=i.onPropertyValueChanged(t.property,t.object,t.newValue)}),this.selectedObjectEditorValue.onAfterRenderCallback=function(e,t,o){if(!i.onPropertyAfterRender.isEmpty){var n={obj:e,htmlElement:t,property:o.property,propertyEditor:o.editor};i.onPropertyAfterRender.fire(i,n)}},this.questionEditorWindow=new p.a,this.surveyLive=new l.a(this),this.surveyEmbeding=new d.a,this.translationValue=new S.a(this.createSurvey({},"translation")),this.translation.importFinishedCallback=function(){i.onTranslationImported.fire(i,{})},this.translation.availableTranlationsChangedCallback=function(){o.setModified({type:"TRANSLATIONS_CHANGED"})},this.translation.tranlationChangedCallback=function(e,t,i,n){o.setModified({type:"TRANSLATIONS_CHANGED",locale:e,name:t,value:i,context:n})},this.logicValue=new P.a(this.createSurvey({},"logic")),this.logic.onChangedCallback=function(e,t){o.setModified({type:"LOGIC_CHANGED",item:e,changeType:t})},this.toolboxValue=new f.a(this.options&&this.options.questionTypes?this.options.questionTypes:null),this.koViewType=r.observable("designer"),this.koViewType.subscribe(function(e){i.onActiveTabChanged.fire(i,{tabName:e})}),this.koIsShowDesigner=r.computed(function(){return"designer"==i.koViewType()}),this.generateValidJSONClick=function(){i.koGenerateValidJSON(!0)},this.generateReadableJSONClick=function(){i.koGenerateValidJSON(!1)},this.runSurveyClick=function(){i.showLiveSurvey()},this.deleteObjectClick=function(){i.deleteCurrentObject()},this.draggingToolboxItem=function(e,t){i.doDraggingToolboxItem(e.json,t)},this.clickToolboxItem=function(e){i.doClickToolboxItem(e.json)},this.dragEnd=function(e,t){i.dragDropHelper.end()},this.doUndoClick=function(){var e={canUndo:!0};if(i.onBeforeUndo.fire(i,e),e.canUndo){var t=i.undoRedo.undo();i.doUndoRedo(t),i.onAfterUndo.fire(i,{state:t})}},this.doRedoClick=function(){var e={canRedo:!0};if(i.onBeforeRedo.fire(i,e),e.canRedo){var t=i.undoRedo.redo();i.doUndoRedo(t),i.onAfterRedo.fire(i,{state:t})}},this.jsonEditor=new m.a,r.computed(function(){o.jsonEditor.readOnly=o.readOnly}),r.computed(function(){o.tabs([]),o.tabs.push({name:"designer",title:o.getLocString("ed.designer"),template:"se-tab-designer",data:o,action:function(){return o.showDesigner()}}),o.showTestSurveyTab&&o.tabs.push({name:"test",title:o.getLocString("ed.testSurvey"),template:"se-tab-test",data:o,action:function(){return o.showTestSurvey()}}),o.showLogicTab&&o.tabs.push({name:"logic",title:o.getLocString("ed.logic"),template:"surveylogic",data:o.logic,action:function(){return o.showLogicEditor()}}),o.showJSONEditorTab&&o.tabs.push({name:"editor",title:o.getLocString("ed.jsonEditor"),template:"jsoneditor",data:o.jsonEditor,action:function(){return o.showJsonEditor()}}),o.showEmbededSurveyTab&&o.tabs.push({name:"embed",title:o.getLocString("ed.embedSurvey"),template:"surveyembeding",data:o.surveyEmbeding,action:function(){return o.showEmbedEditor()}}),o.showTranslationTab&&o.tabs.push({name:"translation",title:o.getLocString("ed.translation"),template:"translation",data:o.translation,action:function(){return o.showTranslationEditor()}})}),e&&this.render(e),this.text="",this.addToolbarItems()}return Object.defineProperty(e.prototype,"haveCommercialLicense",{get:function(){return this._haveCommercialLicense()},set:function(e){this._haveCommercialLicense(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inplaceEditForValues",{get:function(){return T.a.inplaceEditForValues},set:function(e){T.a.inplaceEditForValues=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAutoSave",{get:function(){return this.koAutoSave()},set:function(e){this.koAutoSave(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showState",{get:function(){return this.koShowState()},set:function(e){this.koShowState(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readOnly",{get:function(){return this.koReadOnly()},set:function(e){this.koReadOnly(e)},enumerable:!0,configurable:!0}),e.prototype.addToolbarItems=function(){var e=this;this.toolbarItems.push({id:"svd-undo",icon:"icon-actionundo",visible:this.koIsShowDesigner,enabled:this.undoRedo.koCanUndo,action:this.doUndoClick,title:this.getLocString("ed.undo")}),this.toolbarItems.push({id:"svd-redo",icon:"icon-actionredo",visible:this.koIsShowDesigner,enabled:this.undoRedo.koCanRedo,action:this.doRedoClick,title:this.getLocString("ed.redo")}),this.toolbarItems.push({id:"svd-survey-settings",icon:"icon-actionsettings",visible:this.koIsShowDesigner,enabled:!1,action:function(){e.surveyObjects.selectObject(e.survey),e.showQuestionEditor(e.survey)},title:this.getLocString("ed.settings")}),this.toolbarItems.push({id:"svd-options",visible:r.computed(function(){return e.koIsShowDesigner()&&e.koShowOptions()}),title:this.getLocString("ed.options"),template:"svd-toolbar-options",items:r.observableArray([{id:"svd-valid-json",visible:!0,css:r.computed(function(){return e.koGenerateValidJSON()?"active":""}),action:this.generateValidJSONClick,title:this.getLocString("ed.generateValidJSON")},{id:"svd-readable-json",visible:!0,css:r.computed(function(){return e.koGenerateValidJSON()?"":"active"}),action:this.generateReadableJSONClick,title:this.getLocString("ed.generateReadableJSON")}])}),this.toolbarItems.push({id:"svd-test",visible:r.computed(function(){return"test"===e.koViewType()}),title:r.computed(function(){return e.getLocString("ed.testSurveyWidth")+" "+e.koTestSurveyWidth()}),template:"svd-toolbar-options",items:r.observableArray([{id:"svd-100-json",visible:!0,action:function(){return e.koTestSurveyWidth("100%")},title:"100%"},{id:"svd-1200px-json",visible:!0,action:function(){return e.koTestSurveyWidth("1200px")},title:"1200px"},{id:"svd-1000px-json",visible:!0,action:function(){return e.koTestSurveyWidth("1000px")},title:"1000px"},{id:"svd-800px-json",visible:!0,action:function(){return e.koTestSurveyWidth("800px")},title:"800px"},{id:"svd-600px-json",visible:!0,action:function(){return e.koTestSurveyWidth("600px")},title:"600px"},{id:"svd-400px-json",visible:!0,action:function(){return e.koTestSurveyWidth("400px")},title:"400px"}])}),this.toolbarItems.push({id:"svd-save",visible:this.koShowSaveButton,action:this.saveButtonClick,innerCss:"svd_save_btn",title:this.getLocString("ed.saveSurvey")}),this.toolbarItems.push({id:"svd-state",visible:this.koShowState,css:"svd_state",innerCss:r.computed(function(){return"icon-"+e.koState()}),title:r.computed(function(){return e.getLocString("ed."+e.koState())}),template:"svd-toolbar-state"})},e.prototype.setOptions=function(e){e||(e={}),e.hasOwnProperty("generateValidJSON")||(e.generateValidJSON=!0),this.options=e,this.showLogicTabValue(void 0!==e.showLogicTab&&e.showLogicTab),this.showJSONEditorTabValue(void 0===e.showJSONEditorTab||e.showJSONEditorTab),this.showTestSurveyTabValue(void 0===e.showTestSurveyTab||e.showTestSurveyTab),this.showEmbededSurveyTabValue(void 0!==e.showEmbededSurveyTab&&e.showEmbededSurveyTab),this.showTranslationTabValue(void 0!==e.showTranslationTab&&e.showTranslationTab),this.showLogicTabValue(void 0!==e.showLogicTab&&e.showLogicTab),this.haveCommercialLicense=void 0!==e.haveCommercialLicense&&e.haveCommercialLicense,this.inplaceEditForValues=void 0!==e.inplaceEditForValues&&e.inplaceEditForValues,this.showObjectTitles=void 0!==e.showObjectTitles&&e.showObjectTitles,this.showTitlesInExpressions=void 0!==e.showTitlesInExpressions&&e.showTitlesInExpressions,this.useTabsInElementEditor=void 0!==e.useTabsInElementEditor&&e.useTabsInElementEditor,this.showState=void 0!==e.showState&&e.showState,this.koShowOptions(void 0!==e.showOptions&&e.showOptions),this.showPropertyGrid=void 0===e.showPropertyGrid||e.showPropertyGrid,this.showToolbox=void 0===e.showToolbox||e.showToolbox,this.koGenerateValidJSON(this.options.generateValidJSON),this.isAutoSave=void 0!==e.isAutoSave&&e.isAutoSave,this.showErrorOnFailedSave=void 0===e.showErrorOnFailedSave||e.showErrorOnFailedSave,this.isRTLValue=void 0!==e.isRTL&&e.isRTL,this.scrollToNewElement=void 0===e.scrollToNewElement||e.scrollToNewElement,e.designerHeight&&this.koDesignerHeight(e.designerHeight),e.objectsIntend&&(u.a.intend=e.objectsIntend),void 0!==e.showPagesToolbox&&this.koShowPagesToolbox(e.showPagesToolbox),void 0!==e.readOnly&&this.koReadOnly(e.readOnly),void 0!==e.showPagesInTestSurveyTab&&(this.showPagesInTestSurveyTab=e.showPagesInTestSurveyTab),void 0!==e.showDefaultLanguageInTestSurveyTab&&(this.showDefaultLanguageInTestSurveyTab=e.showDefaultLanguageInTestSurveyTab),void 0!==e.showInvisibleElementsInTestSurveyTab&&(this.showInvisibleElementsInTestSurveyTab=e.showInvisibleElementsInTestSurveyTab),void 0!==e.allowModifyPages&&(this.allowModifyPages=e.allowModifyPages)},Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedObjectEditor",{get:function(){return this.selectedObjectEditorValue},enumerable:!0,configurable:!0}),e.prototype.update=function(e){e.koElementType.notifySubscribers()},e.prototype.render=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null),t&&this.setOptions(t);var o=this;e&&"string"==typeof e&&(e=document.getElementById(e)),e&&(this.renderedElement=e),(e=this.renderedElement)&&(e.innerHTML=C,o.applyBinding())},e.prototype.loadSurvey=function(e){var t=this;(new x.dxSurveyService).loadSurvey(e,function(e,o,i){e&&o&&(t.text=JSON.stringify(o))})},Object.defineProperty(e.prototype,"text",{get:function(){return"editor"==this.koViewType()?this.jsonEditor.text:this.getSurveyTextFromDesigner()},set:function(e){this.changeText(e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"JSON",{get:function(){return this.survey.toJSON()},set:function(e){"editor"==this.koViewType()?this.setTextValue(JSON.stringify(e)):this.initSurveyWithJSON(e,!0)},enumerable:!0,configurable:!0}),e.prototype.changeText=function(e,t){void 0===t&&(t=!1);var o=new h.a(e);o.isJsonCorrect?this.initSurveyWithJSON(o.survey.toJSON(),t):(this.setTextValue(e),this.koViewType("editor"))},e.prototype.initSurveyWithJSON=function(e,t){this.initSurvey(e),this.showDesigner(),this.setUndoRedoCurrentState(t)},Object.defineProperty(e.prototype,"toolbox",{get:function(){return this.toolboxValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"translation",{get:function(){return this.translationValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logic",{get:function(){return this.logicValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customToolboxQuestionMaxCount",{get:function(){return this.toolbox.copiedItemMaxCount},set:function(e){this.toolbox.copiedItemMaxCount=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this.stateValue},enumerable:!0,configurable:!0}),e.prototype.setState=function(e){this.stateValue=e,this.koState(this.state)},e.prototype.doAutoSave=function(){if(this.autoSaveDelay<=0)return void this.doSave();this.autoSaveTimerId&&clearTimeout(this.autoSaveTimerId);var e=this;this.autoSaveTimerId=setTimeout(function(){clearTimeout(e.autoSaveTimerId),e.autoSaveTimerId=null,e.doSave()},this.autoSaveDelay)},e.prototype.doSave=function(){if(this.setState("saving"),this.saveSurveyFunc){this.saveNo++;var e=this;this.saveSurveyFunc(this.saveNo,function(t,o){e.saveNo===t&&(o?e.setState("saved"):(e.showErrorOnFailedSave&&alert(e.getLocString("ed.saveError")),e.setState("modified")))})}},e.prototype.setModified=function(e){void 0===e&&(e=null),this.setState("modified"),this.setUndoRedoCurrentState(),this.onModified.fire(this,e),this.isAutoSave&&this.doAutoSave()},e.prototype.undo=function(){return!!this.undoRedo.koCanUndo()&&(this.doUndoRedo(this.undoRedo.undo()),!0)},e.prototype.redo=function(){return!!this.undoRedo.koCanRedo()&&(this.doUndoRedo(this.undoRedo.redo()),!0)},e.prototype.setUndoRedoCurrentState=function(e){void 0===e&&(e=!1),e&&this.undoRedo.clear();var t=this.koSelectedObject()?this.koSelectedObject().value:null;this.undoRedo.setCurrent(this.surveyValue(),t?t.name:null)},Object.defineProperty(e.prototype,"saveSurveyFunc",{get:function(){return this.saveSurveyFuncValue},set:function(e){this.saveSurveyFuncValue=e,this.koShowSaveButton(null!=e&&!this.isAutoSave)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showOptions",{get:function(){return this.koShowOptions()},set:function(e){this.koShowOptions(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showPropertyGrid",{get:function(){return this.koShowPropertyGrid()},set:function(e){this.koShowPropertyGrid(e),this.koHideAdvancedSettings(!e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showToolbox",{get:function(){return this.koShowToolbox()},set:function(e){this.koShowToolbox(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideAdvancedSettings",{get:function(){return this.koHideAdvancedSettings()},set:function(e){this.koHideAdvancedSettings(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showJSONEditorTab",{get:function(){return this.showJSONEditorTabValue()},set:function(e){this.showJSONEditorTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTestSurveyTab",{get:function(){return this.showTestSurveyTabValue()},set:function(e){this.showTestSurveyTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showEmbededSurveyTab",{get:function(){return this.showEmbededSurveyTabValue()},set:function(e){this.showEmbededSurveyTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTranslationTab",{get:function(){return this.showTranslationTabValue()},set:function(e){this.showTranslationTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showLogicTab",{get:function(){return this.showLogicTabValue()},set:function(e){this.showLogicTabValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRTL",{get:function(){return this.isRTLValue},set:function(e){this.isRTLValue=e},enumerable:!0,configurable:!0}),e.prototype.canShowObjectProperty=function(e,t){if(!e||!e.getType)return!0;var o=x.Serializer.findProperty(e.getType(),t);return this.onCanShowObjectProperty(e,o)},e.prototype.onCanShowObjectProperty=function(e,t){var o={obj:e,property:t,canShow:!0};return this.onCanShowProperty.fire(this,o),o.canShow},e.prototype.onCustomSortPropertyObjectProperty=function(e,t,o){if(this.onCustomSortProperty.isEmpty)return 0;var i={obj:e,property1:t,property2:o,result:0};return this.onCustomSortProperty.fire(this,i),i.result},e.prototype.setTextValue=function(e){this.jsonEditor.text=e},e.prototype.getLocString=function(e){return a.a.getString(e)},e.prototype.addPageToUI=function(e){this.surveyObjects.addPage(e)},e.prototype.doOnQuestionAdded=function(e,t){if(!this.dragDropHelper.isMoving){var o=this.getPageByElement(e),i={question:e,page:o};this.onQuestionAdded.fire(this,i)}-1!==t.elements.indexOf(e)&&this.surveyObjects.addElement(e,t)},e.prototype.doOnElementRemoved=function(e){this.surveyObjects.removeObject(e)},e.prototype.doOnPanelAdded=function(e,t){if(!this.dragDropHelper.isMoving){var o=this.getPageByElement(e),i={panel:e,page:o};this.onPanelAdded.fire(this,i)}-1!==t.elements.indexOf(e)&&this.surveyObjects.addElement(e,t)},e.prototype.doOnPageAdded=function(e){var t={page:e};this.onPageAdded.fire(this,t)},e.prototype.onPropertyValueChanged=function(e,t,o){var i=t[e.name];if("page"===e.name&&"string"==typeof o?t[e.name]=t.survey.getPageByName(o):t[e.name]=o,"name"==e.name){var n=this.generateUniqueName(t,o);if(this.updateConditions(i,n),this.onElementNameChanged.fire(this,{obj:t,oldName:i,newName:n}),n!=o)return n}return"name"!=e.name&&"title"!=e.name||this.surveyObjects.nameChanged(t),"name"===e.name?this.dirtyPageUpdate():"page"===e.name&&(this.selectPage(o),this.surveyObjects.selectObject(t)),this.setModified({type:"PROPERTY_CHANGED",name:e.name,target:t,oldValue:i,newValue:o}),"locale"!=e.name&&"hasComment"!=e.name&&"hasSelectAll"!=e.name&&"hasNone"!=e.name&&"hasOther"!=e.name||this.selectedObjectEditorValue.objectChanged(),null},e.prototype.doUndoRedo=function(e){if(this.initSurvey(e.surveyJSON),e.selectedObjName){var t=this.findObjByName(e.selectedObjName);t&&this.surveyObjects.selectObject(t)}this.setState("modified"),this.isAutoSave&&this.doSave()},e.prototype.findObjByName=function(e){var t=this.survey.getPageByName(e);if(t)return t;var o=this.survey.getQuestionByName(e);return o||null},e.prototype.canSwitchViewType=function(e){return(!e||this.koViewType()!=e)&&("designer"==this.koViewType()&&(this.jsonEditor.text=this.getSurveyTextFromDesigner()),"translation"!=this.koViewType()&&"logic"!=this.koViewType()||"designer"!=e||this.survey.render(),"editor"!=this.koViewType()||(this.jsonEditor.isJsonCorrect?(this.readOnly||(this.initSurvey((new x.JsonObject).toJsonObject(this.jsonEditor.survey)),this.setModified({type:"VIEW_TYPE_CHANGED",newType:e})),!0):(alert(this.getLocString("ed.correctJSON")),!1)))},Object.defineProperty(e.prototype,"showingViewName",{get:function(){return this.koViewType()},enumerable:!0,configurable:!0}),e.prototype.makeNewViewActive=function(e){return!!this.canSwitchViewType(e)&&("editor"==e&&this.jsonEditor.show(this.getSurveyTextFromDesigner()),"test"==e&&this.showLiveSurvey(),"embed"==e&&this.showSurveyEmbeding(),"translation"==e&&this.showSurveyTranslation(),this.koViewType(e),!0)},e.prototype.showDesigner=function(){this.makeNewViewActive("designer")},e.prototype.showJsonEditor=function(){this.makeNewViewActive("editor")},e.prototype.showTestSurvey=function(){this.makeNewViewActive("test")},e.prototype.showEmbedEditor=function(){this.makeNewViewActive("embed")},e.prototype.showTranslationEditor=function(){this.makeNewViewActive("translation")},e.prototype.showLogicEditor=function(){this.canSwitchViewType("logic")&&(this.showSurveyLogic(),this.koViewType("logic"))},e.prototype.getSurveyTextFromDesigner=function(){var e=this.survey.toJSON();return this.options&&this.options.generateValidJSON?JSON.stringify(e,null,1):(new b.a).stringify(e,null,1)},e.prototype.getPageByElement=function(e){var t=this.survey.getPageByElement(e);return t||this.surveyObjects.getSelectedObjectPage(e)},Object.defineProperty(e.prototype,"selectedElement",{get:function(){return this.koSelectedObject()?this.koSelectedObject().value:null},set:function(e){this.surveyObjects.selectObject(e)},enumerable:!0,configurable:!0}),e.prototype.selectedObjectChanged=function(e){var t={newSelectedElement:e};if(this.onSelectedElementChanging.fire(this,t),e!=t.newSelectedElement)return void this.surveyObjects.selectObject(t.newSelectedElement);var o=!1;this.selectedObjectEditorValue.selectedObject=e;var i=v.b.getObjectType(e);if(i==v.a.Page&&(this.survey.currentPage=e,o=this.pages().length>1),i==v.a.Question||i==v.a.Panel){this.survey.selectedElement=e,o=!0,this.survey.currentPage=this.getPageByElement(e);var n=e.id;if(this.renderedElement&&n&&this.survey.currentPage){var r=this.renderedElement.querySelector("#"+n);v.b.scrollIntoViewIfNeeded(r)}}else this.survey.selectedElement=null;if(this.koCanDeleteObject(o),this.renderedElement&&this.select2){var a=this.renderedElement.querySelector("#select2-objectSelector-container");if(a){var s=this.surveyObjects.koSelected();s&&s.text&&(a.innerText=s.text())}}this.onSelectedElementChanged.fire(this,t)},e.prototype.applyBinding=function(){var e=this;if(null!=this.renderedElement){if(r.cleanNode(this.renderedElement),r.applyBindings(this,this.renderedElement),this.surveyjs=this.renderedElement.querySelector("#surveyjs"),this.surveyjs){var t=this;this.surveyjs.onkeydown=function(e){e&&(38!=e.keyCode&&40!=e.keyCode||t.selectQuestion(38==e.keyCode))}}if(this.initSurvey(this.getDefaultSurveyJson()),this.setUndoRedoCurrentState(!0),this.jsonEditor.init(this.renderedElement.querySelector("#surveyjsJSONEditor")),"undefined"!=typeof jQuery&&jQuery().select2){var o={width:"100%"};this.isRTLValue&&(o.dir="rtl");var i=jQuery("#objectSelector");this.select2=i.select2(o),i.on("select2:select",function(t){e.koSelectedObject(t.target.value)})}}},e.prototype.getDefaultSurveyJson=function(){var t=(new b.a).parse(e.defaultNewSurveyText);return t.pages&&t.pages.length>0&&t.pages[0].name&&(t.pages[0].name=a.a.getString("ed.newPageName")+"1"),t},e.prototype.createSurvey=function(e,t,o){void 0===e&&(e={}),void 0===t&&(t="designer"),void 0===o&&(o=x.Survey);var i=new o(e);return this.onSurveyInstanceCreated.fire(this,{survey:i,reason:t}),i},e.prototype.initSurvey=function(e){var t=this,n=this;this.surveyValue(this.createSurvey({},"designer",k.a)),this.dragDropHelper=new y.a(this.survey,function(e){n.setModified(e)},this.renderedElement),this.dragDropHelper.readOnly=this.readOnly,this.surveyValue().getEditor=function(){return n},this.surveyValue().setJsonObject(e),this.surveyValue().isEmpty&&this.surveyValue().setJsonObject(this.getDefaultSurveyJson()),x.surveyLocalization.currentLocale=this.surveyValue().locale,this.surveyValue().dragDropHelper=this.dragDropHelper,this.surveyValue().onUpdateElementAllowingOptions=function(e){n.onElementAllowOperations.fire(n,e)};var a=o.i(k.d)(this,this.surveyValue());this.surveyValue().onAfterRenderQuestion.add(function(e,t){a(t.htmlElement,t.question,!1,!0)}),this.surveyValue().onAfterRenderPanel.add(function(e,o){if("flowpanel"===o.panel.getType()){a(o.htmlElement,o.panel,!0,o.panel.koIsDragging());var n=o.htmlElement.querySelector("f-panel");n&&(n.className?n.className+=" svd_flowpanel":n.className="svd_flowpanel")}else 0==o.panel.elements.length&&(o.panel.emptyElement=i(t.surveyValue(),o.htmlElement,o.panel.dragDropHelper(),o.panel)),a(o.htmlElement,o.panel,!0,o.panel.koIsDragging())}),this.surveyValue().onDragDropAllow.add(function(e,t){t.survey=e,n.onDragDropAllow.fire(n,t)}),this.surveyValue().onGetMenuItems.add(function(e,o){if(!t.readOnly){var i=o.obj.allowingOptions;if(i||(i={}),i.allowEdit&&o.items.push({name:"editelement",text:t.getLocString("survey.edit"),hasTitle:!0,onClick:function(e){return t.showQuestionEditor(e)}}),i.allowDelete){var a=o.obj.isPanel?"survey.deletePanel":"survey.deleteQuestion";o.items.push({name:"delete",text:n.getLocString(a),onClick:function(e){n.deleteObject(e)}})}if(i.allowShowHideTitle&&void 0!==o.obj.titleLocation){var s=r.observable("hidden"!==o.obj.titleLocation);o.items.push({name:"showtitle",text:t.getLocString("pe.showTitle"),icon:r.computed(function(){return s()?"icon-actionshowtitle":"icon-actionhidetitle"}),onClick:function(e){"hidden"!==e.titleLocation?(e.titleLocation="hidden","boolean"===e.getType()&&(e.showTitle=!1)):(e.titleLocation="default","boolean"===e.getType()&&(e.showTitle=!0)),s("hidden"!==e.titleLocation),t.onQuestionEditorChanged(e)}})}if(i.allowChangeRequired&&void 0!==o.obj.isRequired){var l=r.computed(function(){return o.obj.isRequired});o.items.push({name:"isrequired",text:t.getLocString("pe.isRequired"),icon:r.computed(function(){return l()?"icon-actionisrequired":"icon-actionnotrequired"}),onClick:function(e){e.isRequired=!e.isRequired,t.onQuestionEditorChanged(e)}})}if(o.items.length>0&&o.items.push({template:"action-separator"}),i.allowCopy&&o.items.push({name:"copy",text:n.getLocString("survey.copy"),onClick:function(e){n.fastCopyQuestion(e)}}),i.allowAddToToolbox&&o.items.push({name:"addtotoolbox",text:n.getLocString("survey.addToToolbox"),onClick:function(e){n.addCustomToolboxQuestion(e)}}),i.allowChangeType){o.items.length>0&&o.items.push({template:"action-separator"});for(var d=o.obj.getType(),u=c.a.getConvertToClasses(d,t.toolbox.itemNames),p=u.length>0,m=function(e){return{name:t.getLocString("qt."+e),value:e}},h=[m(d)],g=0;g<u.length;g++){var v=u[g];h.push(m(v))}o.items.push({text:t.getLocString("qt."+d),title:t.getLocString("survey.convertTo"),type:d,allowChangeType:p,template:"convert-action",availableTypes:h,onConvertType:function(e,i){var n=i.target.value;t.convertCurrentObject(o.obj,n)}})}i.allowDragging&&o.items.push({name:"dragelement",needFocus:!1,text:n.getLocString("survey.drag"),onClick:function(e){}}),n.onDefineElementMenuItems.fire(n,o)}}),this.onDesignerSurveyCreated.fire(this,{survey:this.surveyValue()}),this.survey.render(this.surveyjs),this.surveyObjects.survey=this.survey,this.pages(this.survey.pages),this.surveyValue().onSelectedElementChanged.add(function(e,t){n.surveyObjects.selectObject(e.selectedElement)}),this.surveyValue().onEditButtonClick.add(function(e){n.showQuestionEditor(n.koSelectedObject().value)}),this.surveyValue().onElementDoubleClick.add(function(e,t){n.onElementDoubleClick.fire(n,t)}),this.surveyValue().onProcessHtml.add(function(e,t){t.html=n.processHtml(t.html)}),this.surveyValue().onQuestionAdded.add(function(e,t){n.doOnQuestionAdded(t.question,t.parentPanel)}),this.surveyValue().onQuestionRemoved.add(function(e,t){n.doOnElementRemoved(t.question)}),this.surveyValue().onPanelAdded.add(function(e,t){n.doOnPanelAdded(t.panel,t.parentPanel)}),this.surveyValue().onPanelRemoved.add(function(e,t){n.doOnElementRemoved(t.panel)});var s=this.surveyValue().onPageAdded;s&&s.add&&s.add(function(e,t){n.doOnPageAdded(t.page)})},e.prototype.processHtml=function(e){if(!e)return e;for(var t=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;t.test(e);)e=e.replace(t,"");return e},e.prototype.doDraggingToolboxItem=function(e,t){this.dragDropHelper.startDragToolboxItem(t,this.getNewName(e.type),e)},e.prototype.doClickToolboxItem=function(e){if(!this.readOnly){var t=this.createNewElement(e);this.doClickQuestionCore(t)}},e.prototype.copyElement=function(e){var t=(new x.JsonObject).toJsonObject(e);return t.type=e.getType(),this.createNewElement(t)},e.prototype.getRows=function(e){return e.koRows?e.koRows():e.rows},e.prototype.dragOverQuestionsEditor=function(e,t){return e.survey.dragDropHelper.doDragDropOver(t,e.survey.currentPage),!1},e.prototype.dropOnQuestionsEditor=function(e,t){e.survey.dragDropHelper.doDrop(t)},e.prototype.createNewElement=function(e){var t=x.Serializer.createClass(e.type);return(new x.JsonObject).toObject(e,t),this.setNewNames(t),t},e.prototype.setNewNames=function(e){this.newQuestions=[],this.newPanels=[],this.setNewNamesCore(e)},e.prototype.setNewNamesCore=function(e){var t=e.getType();if(e.name=this.getNewName(t),e.isPanel||"page"==t){e.isPanel&&this.newPanels.push(e);for(var o=e,i=0;i<o.elements.length;i++)this.setNewNamesCore(o.elements[i])}else this.newQuestions.push(e)},e.prototype.generateUniqueName=function(e,t){for(;!this.isNameUnique(e,t);)t=v.b.generateNewName(t);return t},e.prototype.isNameUnique=function(e,t){return!!this.isNameUniqueInArray(this.survey.pages,e,t)&&(!!this.isNameUniqueInArray(this.survey.getAllPanels(),e,t)&&this.isNameUniqueInArray(this.survey.getAllQuestions(),e,t))},e.prototype.isNameUniqueInArray=function(e,t,o){o=o.toLowerCase();for(var i=0;i<e.length;i++)if(e[i]!=t&&e[i].name.toLowerCase()==o)return!1;return!0},e.prototype.getNewName=function(e){return"page"==e?v.b.getNewPageName(this.pages()):"panel"==e||"flowpanel"==e?this.getNewPanelName():this.getNewQuestionName()},e.prototype.getNewQuestionName=function(){return v.b.getNewQuestionName(this.getAllQuestions())},e.prototype.getNewPanelName=function(){return v.b.getNewPanelName(this.getAllPanels())},e.prototype.getAllQuestions=function(){for(var e=[],t=0;t<this.pages().length;t++)this.addElements(this.pages()[t].elements,!1,e);return this.addElements(this.newPanels,!1,e),this.addElements(this.newQuestions,!1,e),e},e.prototype.getAllPanels=function(){for(var e=[],t=0;t<this.pages().length;t++)this.addElements(this.pages()[t].elements,!0,e);return this.addElements(this.newPanels,!0,e),this.addElements(this.newQuestions,!0,e),e},e.prototype.addElements=function(e,t,o){for(var i=0;i<e.length;i++)e[i].isPanel===t&&o.push(e[i]),this.addElements(v.b.getElements(e[i]),t,o)},e.prototype.doClickQuestionCore=function(e,t){void 0===t&&(t="ADDED_FROM_TOOLBOX");var o=this.survey.currentPage,i=-1,n=this.survey.selectedElement;n&&n.parent&&(o=n.parent,(i=o.elements.indexOf(this.survey.selectedElement))>-1&&i++),o.addElement(e,i),this.renderedElement&&this.scrollToNewElement&&v.b.scrollIntoViewIfNeeded(this.renderedElement.querySelector("#"+e.id)),this.setModified({type:t,question:e})},e.prototype.deleteQuestion=function(){this.getSelectedObjAsQuestion()&&this.deleteCurrentObject()},e.prototype.selectQuestion=function(e){this.getSelectedObjAsQuestion()&&this.surveyObjects.selectNextQuestion(e)},e.prototype.getSelectedObjAsQuestion=function(){var e=this.koSelectedObject().value;return e&&v.b.getObjectType(e)==v.a.Question?e:null},e.prototype.deleteCurrentObject=function(){this.deleteObject(this.koSelectedObject().value)},e.prototype.editCurrentObject=function(){this.showQuestionEditor(this.koSelectedObject().value)},e.prototype.convertCurrentObject=function(e,t){var o=c.a.convertObject(e,t);this.setModified({type:"QUESTION_CONVERTED",className:t,oldValue:e,newValue:o})},e.prototype.showElementEditor=function(e,t){this.showQuestionEditor(e,t)},e.prototype.updateConditions=function(e,t){new P.a(this.survey).renameQuestion(e,t)},e.prototype.onQuestionEditorChanged=function(e){e.name&&!this.isNameUnique(e,e.name)&&(e.name=this.generateUniqueName(e,e.name)),this.showEditorOldName&&e.name&&this.showEditorOldName!=e.name&&(this.updateConditions(this.showEditorOldName,e.name),this.showEditorOldName=""),this.surveyObjects.nameChanged(e),this.selectedObjectEditorValue.objectChanged(),this.dirtyPageUpdate(),this.setModified({type:"QUESTION_CHANGED_BY_EDITOR",question:e})},e.prototype.addCustomToolboxQuestion=function(e){var t={};this.onCustomElementAddingIntoToolbox.fire(this,{element:e,itemOptions:t}),this.toolbox.addCopiedItem(e,t),this.onCustomElementAddedIntoToolbox.fire(this,{element:e})},e.prototype.fastCopyQuestion=function(e){var t=this.copyElement(e);this.doClickQuestionCore(t,"ELEMENT_COPIED")},e.prototype.deleteElement=function(e){this.deleteObject(e)},e.prototype.deleteObject=function(e){var t={element:e,elementType:v.b.getObjectType(e),allowing:!0};if(this.onElementDeleting.fire(this,t),t.allowing){this.surveyObjects.removeObject(e);v.b.getObjectType(e)==v.a.Page?this.survey.removePage(e):(this.survey.currentPage.removeElement(e),this.survey.selectedElement=null,this.surveyObjects.selectObject(this.survey.currentPage)),this.setModified({type:"OBJECT_DELETED",target:e})}},Object.defineProperty(e.prototype,"surveyLiveTester",{get:function(){return this.surveyLive},enumerable:!0,configurable:!0}),e.prototype.showLiveSurvey=function(){var e=this;this.surveyLive.onSurveyCreatedCallback=function(t){e.onTestSurveyCreated.fire(e,{survey:t})},this.surveyLive.setJSON(this.getSurveyJSON());var t={showPagesInTestSurveyTab:this.showPagesInTestSurveyTab,showDefaultLanguageInTestSurveyTab:this.showDefaultLanguageInTestSurveyTab,showInvisibleElementsInTestSurveyTab:this.showInvisibleElementsInTestSurveyTab};this.surveyLive.onGetObjectDisplayName=function(t){return e.getObjectDisplayName(t)},this.surveyLive.show(t)},e.prototype.showSurveyEmbeding=function(){var e=this.getSurveyJSON();this.surveyEmbeding.json=e,this.surveyEmbeding.surveyId=this.surveyId,this.surveyEmbeding.surveyPostId=this.surveyPostId,this.surveyEmbeding.generateValidJSON=this.options&&this.options.generateValidJSON,this.surveyEmbeding.show()},e.prototype.showSurveyTranslation=function(){this.translation.survey=this.survey},e.prototype.showSurveyLogic=function(){this.logic.update(this.survey,this)},e.prototype.getSurveyJSON=function(){return this.koIsShowDesigner()||"translation"==this.koViewType()||"logic"==this.koViewType()?(new x.JsonObject).toJsonObject(this.survey):this.jsonEditor.isJsonCorrect?(new x.JsonObject).toJsonObject(this.jsonEditor.survey):null},e.prototype.createAnnotations=function(e,t){for(var o=new Array,i=0;i<t.length;i++){var n=t[i],r={row:n.position.start.row,column:n.position.start.column,text:n.text,type:"error"};o.push(r)}return o},e.prototype.getObjectDisplayName=function(e){var t=v.b.getObjectName(e,this.showObjectTitles),o={obj:e,displayName:t};return this.onGetObjectDisplayName.fire(this,o),o.displayName},Object.defineProperty(e.prototype,"alwaySaveTextInPropertyEditors",{get:function(){return this.alwaySaveTextInPropertyEditorsValue},set:function(e){this.alwaySaveTextInPropertyEditorsValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showApplyButtonInEditors",{get:function(){return this.showApplyButtonValue},set:function(e){this.showApplyButtonValue=e},enumerable:!0,configurable:!0}),e.prototype.onCanShowPropertyCallback=function(e,t){return this.onCanShowObjectProperty(e,t)},e.prototype.onIsEditorReadOnlyCallback=function(e,t,o){var i=this.readOnly||o;if(this.onGetPropertyReadOnly.isEmpty)return i;var n={obj:e,property:t.property,readOnly:i,propertyName:t.property.name};return this.onGetPropertyReadOnly.fire(this,n),n.readOnly},e.prototype.onItemValueAddedCallback=function(e,t,o,i){var n={obj:e,propertyName:t,newItem:o,itemValues:i};this.onItemValueAdded.fire(this,n)},e.prototype.onMatrixDropdownColumnAddedCallback=function(e,t,o){var i={newColumn:t,matrix:e,columns:o};this.onMatrixColumnAdded.fire(this,i)},e.prototype.onSetPropertyEditorOptionsCallback=function(e,t,o){var i={propertyName:e,obj:t,editorOptions:o};this.onSetPropertyEditorOptions.fire(this,i)},e.prototype.onGetErrorTextOnValidationCallback=function(e,t,o){var i={propertyName:e,obj:t,value:o,error:""};return this.onPropertyValidationCustomError.fire(this,i),i.error},e.prototype.onValueChangingCallback=function(e){this.onPropertyValueChanging.fire(this,e)},e.prototype.onPropertyEditorKeyDownCallback=function(e,t,o,i){var n={propertyName:e,obj:t,editor:o,event:i};this.onPropertyEditorKeyDown.fire(this,n)},e.prototype.onPropertyEditorObjectSetCallback=function(e,t,o){var i={propertyName:e,obj:t,editor:o};this.onPropertyEditorObjectAssign.fire(this,i)},e.prototype.onPropertyEditorModalShowDescriptionCallback=function(e,t){var o={obj:t,propertyName:e,htmlTop:"",htmlBottom:""};return this.onShowPropertyModalEditorDescription.fire(this,o),{top:o.htmlTop,bottom:o.htmlBottom}},e.prototype.onGetElementEditorTitleCallback=function(e,t){return t},e.prototype.onConditionValueSurveyCreatedCallBack=function(e,t,o,i,n){var r={valueQuestionName:e,propertyName:t,obj:o,editor:i,survey:n};this.onConditionValueSurveyCreated.fire(this,r)},e.prototype.onConditionQuestionsGetListCallback=function(e,t,o,i){var n={propertyName:e,obj:t,editor:o,list:i};this.onConditionQuestionsGetList.fire(this,n)},e.prototype.onAdornerRenderedCallback=function(e,t,o,i){var n={survey:this.survey,question:e,adorner:t,element:o,context:i};this.onAdornerRendered.fire(this,n)},e.prototype.uploadFiles=function(e,t){if(this.onUploadFile.isEmpty){var o=new FileReader;o.onload=function(e){t("success",o.result)},o.readAsDataURL(e[0])}else this.onUploadFile.fire(this,{files:e||[],callback:t})},e.defaultNewSurveyText="{ pages: [ { name: 'page1'}] }",e}();r.components.register("survey-widget",{viewModel:function(e){this.survey=e.survey},template:"\x3c!-- ko if: $data.survey --\x3e\x3c!-- ko template: { name: 'survey-content', data: survey, afterRender: $parent.koEventAfterRender } --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e"}),r.components.register("svg-icon",{viewModel:{createViewModel:function(e,t){r.computed(function(){var o=(r.unwrap(e.size)||16)+"px",i=t.element.childNodes[0];i.style.width=o,i.style.height=o,i.childNodes[0].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+r.unwrap(e.iconName))})}},template:"<svg class='svd-svg-icon'><use></use></svg>"});var N=function(e){function t(t,o){return void 0===t&&(t=null),void 0===o&&(o=null),e.call(this,t,o)||this}return o.i(n.a)(t,e),t}(E)},function(e,t,o){"use strict";o.d(t,"a",function(){return i});var i=function(){function e(e){void 0===e&&(e=0),this.parseType=e}return e.prototype.parse=function(e,t,o,i){void 0===t&&(t=null),void 0===o&&(o=0),void 0===i&&(i=-1);var n;return this.text=String(e),this.at=o,this.endAt=i,this.ch=" ",n=this.value(),this.white(),this.ch&&this.error("Syntax error"),"function"==typeof t?function e(o,i){var n,r,a=o[i];if(a&&"object"==typeof a)for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(r=e(a,n),void 0!==r?a[n]=r:delete a[n]);return t.call(o,i,a)}({"":n},""):n},e.prototype.error=function(e){var t=new SyntaxError;throw t.message=e,t.at=this.at,t},e.prototype.next=function(e){return void 0===e&&(e=null),e&&e!==this.ch&&this.error("Expected '"+e+"' instead of '"+this.ch+"'"),this.ch=this.chartAt(),this.at+=1,this.ch},e.prototype.peek=function(){return this.chartAt()},e.prototype.chartAt=function(){return this.endAt>-1&&this.at>=this.endAt?"":this.text.charAt(this.at)},e.prototype.identifier=function(){var e=this.ch;for("_"!==this.ch&&"$"!==this.ch&&(this.ch<"a"||this.ch>"z")&&(this.ch<"A"||this.ch>"Z")&&this.error("Bad identifier");this.next()&&("_"===this.ch||"$"===this.ch||this.ch>="a"&&this.ch<="z"||this.ch>="A"&&this.ch<="Z"||this.ch>="0"&&this.ch<="9");)e+=this.ch;return e},e.prototype.number=function(){var e,t="",o="",i=10;if("-"!==this.ch&&"+"!==this.ch||(t=this.ch,this.next(this.ch)),"I"===this.ch)return e=this.word(),("number"!=typeof e||isNaN(e))&&this.error("Unexpected word for number"),"-"===t?-e:e;if("N"===this.ch)return e=this.word(),isNaN(e)||this.error("expected word to be NaN"),e;switch("0"===this.ch&&(o+=this.ch,this.next(),"x"===this.ch||"X"===this.ch?(o+=this.ch,this.next(),i=16):this.ch>="0"&&this.ch<="9"&&this.error("Octal literal")),i){case 10:for(;this.ch>="0"&&this.ch<="9";)o+=this.ch,this.next();if("."===this.ch)for(o+=".";this.next()&&this.ch>="0"&&this.ch<="9";)o+=this.ch;if("e"===this.ch||"E"===this.ch)for(o+=this.ch,this.next(),"-"!==this.ch&&"+"!==this.ch||(o+=this.ch,this.next());this.ch>="0"&&this.ch<="9";)o+=this.ch,this.next();break;case 16:for(;this.ch>="0"&&this.ch<="9"||this.ch>="A"&&this.ch<="F"||this.ch>="a"&&this.ch<="f";)o+=this.ch,this.next()}if(e="-"===t?-o:+o,isFinite(e))return e;this.error("Bad number")},e.prototype.string=function(){var t,o,i,n,r="";if('"'===this.ch||"'"===this.ch)for(i=this.ch;this.next();){if(this.ch===i)return this.next(),r;if("\\"===this.ch)if(this.next(),"u"===this.ch){for(n=0,o=0;o<4&&(t=parseInt(this.next(),16),isFinite(t));o+=1)n=16*n+t;r+=String.fromCharCode(n)}else if("\r"===this.ch)"\n"===this.peek()&&this.next();else{if("string"!=typeof e.escapee[this.ch])break;r+=e.escapee[this.ch]}else{if("\n"===this.ch)break;r+=this.ch}}this.error("Bad string")},e.prototype.inlineComment=function(){"/"!==this.ch&&this.error("Not an inline comment");do{if(this.next(),"\n"===this.ch||"\r"===this.ch)return void this.next()}while(this.ch)},e.prototype.blockComment=function(){"*"!==this.ch&&this.error("Not a block comment");do{for(this.next();"*"===this.ch;)if(this.next("*"),"/"===this.ch)return void this.next("/")}while(this.ch);this.error("Unterminated block comment")},e.prototype.comment=function(){"/"!==this.ch&&this.error("Not a comment"),this.next("/"),"/"===this.ch?this.inlineComment():"*"===this.ch?this.blockComment():this.error("Unrecognized comment")},e.prototype.white=function(){for(;this.ch;)if("/"===this.ch)this.comment();else{if(!(e.ws.indexOf(this.ch)>=0))return;this.next()}},e.prototype.word=function(){switch(this.ch){case"t":return this.next("t"),this.next("r"),this.next("u"),this.next("e"),!0;case"f":return this.next("f"),this.next("a"),this.next("l"),this.next("s"),this.next("e"),!1;case"n":return this.next("n"),this.next("u"),this.next("l"),this.next("l"),null;case"I":return this.next("I"),this.next("n"),this.next("f"),this.next("i"),this.next("n"),this.next("i"),this.next("t"),this.next("y"),1/0;case"N":return this.next("N"),this.next("a"),this.next("N"),NaN}this.error("Unexpected '"+this.ch+"'")},e.prototype.array=function(){var e=[];if("["===this.ch)for(this.next("["),this.white();this.ch;){if("]"===this.ch)return this.next("]"),e;if(","===this.ch?this.error("Missing array element"):e.push(this.value()),this.white(),","!==this.ch)return this.next("]"),e;this.next(","),this.white()}this.error("Bad array")},e.prototype.object=function(){var t,o,i=!0,n={};if(this.parseType>0&&(n[e.positionName]={start:this.at-1}),"{"===this.ch)for(this.next("{"),this.white(),o=this.at-1;this.ch;){if("}"===this.ch)return this.parseType>0&&(n[e.positionName].end=o),this.next("}"),n;if(t='"'===this.ch||"'"===this.ch?this.string():this.identifier(),this.white(),this.parseType>1&&(n[e.positionName][t]={start:o,valueStart:this.at}),this.next(":"),n[t]=this.value(),this.parseType>1&&(o=this.at-1,n[e.positionName][t].valueEnd=o,n[e.positionName][t].end=o),this.white(),","!==this.ch)return this.parseType>1&&(n[e.positionName][t].valueEnd--,n[e.positionName][t].end--),this.parseType>0&&(n[e.positionName].end=this.at-1),this.next("}"),n;this.parseType>1&&(n[e.positionName][t].valueEnd--,i||n[e.positionName][t].end--),this.next(","),this.white(),i=!1}this.error("Bad object")},e.prototype.value=function(){switch(this.white(),this.ch){case"{":return this.object();case"[":return this.array();case'"':case"'":return this.string();case"-":case"+":case".":return this.number();default:return this.ch>="0"&&this.ch<="9"?this.number():this.word()}},e.prototype.stringify=function(e,t,o){if(void 0===t&&(t=null),void 0===o&&(o=null),t&&"function"!=typeof t&&!this.isArray(t))throw new Error("Replacer must be a function or an array");this.replacer=t,this.indentStr=this.getIndent(o),this.objStack=[];var i={"":e};return void 0===e?this.getReplacedValueOrUndefined(i,"",!0):this.internalStringify(i,"",!0)},e.prototype.getIndent=function(e){if(e){if("string"==typeof e)return e;if("number"==typeof e&&e>=0)return this.makeIndent(" ",e,!0)}return""},e.prototype.getReplacedValueOrUndefined=function(e,t,o){var i=e[t];return i&&i.toJSON&&"function"==typeof i.toJSON&&(i=i.toJSON()),"function"==typeof this.replacer?this.replacer.call(e,t,i):this.replacer?o||this.isArray(e)||this.replacer.indexOf(t)>=0?i:void 0:i},e.prototype.isWordChar=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e||"$"===e},e.prototype.isWordStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e||"$"===e},e.prototype.isWord=function(e){if("string"!=typeof e)return!1;if(!this.isWordStart(e[0]))return!1;for(var t=1,o=e.length;t<o;){if(!this.isWordChar(e[t]))return!1;t++}return!0},e.prototype.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},e.prototype.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.prototype.isNaN=function(e){return"number"==typeof e&&e!==e},e.prototype.checkForCircular=function(e){for(var t=0;t<this.objStack.length;t++)if(this.objStack[t]===e)throw new TypeError("Converting circular structure to JSON")},e.prototype.makeIndent=function(e,t,o){if(void 0===o&&(o=!1),!e)return"";e.length>10&&(e=e.substring(0,10));for(var i=o?"":"\n",n=0;n<t;n++)i+=e;return i},e.prototype.escapeString=function(t){return e.escapable.lastIndex=0,e.escapable.test(t)?'"'+t.replace(e.escapable,function(t){var o=e.meta[t];return"string"==typeof o?o:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'},e.prototype.internalStringify=function(e,t,o){var i,n,r=this.getReplacedValueOrUndefined(e,t,o);switch(r&&!this.isDate(r)&&(r=r.valueOf()),typeof r){case"boolean":return r.toString();case"number":return isNaN(r)||!isFinite(r)?"null":r.toString();case"string":return this.escapeString(r.toString());case"object":if(null===r)return"null";if(this.isArray(r)){this.checkForCircular(r),i="[",this.objStack.push(r);for(var a=0;a<r.length;a++)n=this.internalStringify(r,a,!1),i+=this.makeIndent(this.indentStr,this.objStack.length),i+=null===n||void 0===n?"null":n,a<r.length-1?i+=",":this.indentStr&&(i+="\n");this.objStack.pop(),i+=this.makeIndent(this.indentStr,this.objStack.length,!0)+"]"}else{this.checkForCircular(r),i="{";var s=!1;this.objStack.push(r);for(var l in r)if(r.hasOwnProperty(l)){var d=this.internalStringify(r,l,!1);if(o=!1,void 0!==d&&null!==d){i+=this.makeIndent(this.indentStr,this.objStack.length),s=!0;var u=this.isWord(l)?l:this.escapeString(l);i+=u+":"+(this.indentStr?" ":"")+d+","}}this.objStack.pop(),i=s?i.substring(0,i.length-1)+this.makeIndent(this.indentStr,this.objStack.length)+"}":"{}"}return i;default:return}},e.positionName="pos",e.escapee={"'":"'",'"':'"',"\\":"\\","/":"/","\n":"",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},e.ws=[" ","\t","\r","\n","\v","\f"," ","\ufeff"],e.cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e.escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e.meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(6)),r=o(0),a=o(86);o.n(a);o.d(t,"b",function(){return l}),o.d(t,"a",function(){return d});var s=o(138),l=function(){function e(e,t){this.question=e,this.editor=t,this.actions=i.observableArray();var o=t.survey;this.actions(o.getMenuItems(e))}return e.prototype.getStyle=function(e){return e.icon?i.unwrap(e.icon):"icon-action"+e.name},e.prototype.localize=function(e){return r.a.getString(e)},e}();i.components.register("question-actions",{viewModel:{createViewModel:function(e,t){return new l(e.question,e.editor)}},template:s});var d={getMarkerClass:function(e){return e.isPanel?"":"question_actions"},getElementName:function(e){return"mainRoot"},afterRender:function(e,t,o){var n=document.createElement("div");n.className="svda-question-actions",n.innerHTML="<question-actions params='question: model, editor: editor'></question-actions>",e[0].appendChild(n),i.applyBindings({model:t,editor:o},n),i.tasks.runEarly(),o.onAdornerRenderedCallback(t,"question-actions",n)}};o.i(n.b)("question-actions",d);var u={getMarkerClass:function(e){return e.isPanel&&e.parent&&"flowpanel"!==e.getType()?"panel_actions":""},getElementName:function(e){return"container"},afterRender:d.afterRender};o.i(n.b)("panel-actions",u)},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2));o.n(n);o.d(t,"a",function(){return a}),i.options&&(i.options.useOnlyNativeEvents=!0);var r=function(){function e(e,t,o,i){void 0===i&&(i=-1),this.page=e,this.target=t,this.source=o,e.dragDropStart(o,t,i)}return e.prototype.moveTo=function(e,t,o){return void 0===o&&(o=!1),this.page.dragDropMoveTo(e,t,o)},e.prototype.doDrop=function(){return this.clearCore(),this.page.dragDropFinish()},e.prototype.clear=function(){this.clearCore(),this.page.dragDropFinish(!0)},e.prototype.clearCore=function(){this.target&&this.target.koIsDragging(!1)},e}(),a=function(){function e(t,o,i){void 0===i&&(i=null),this.data=t,this.scrollableElement=null,this.ddTarget=null,this.id=e.counter++,this.isScrollStop=!0,this.readOnly=!1,this.onModifiedCallback=o,this.scrollableElement=i&&i.querySelector("#scrollableDiv"),this.prevCoordinates={x:-1,y:-1}}return e.prototype.attachToElement=function(e,t){var o=t.isPanel&&"function"==typeof t.getChildrenLayoutType&&"flow"===t.getChildrenLayoutType(),i=o&&!!window.chrome;e.style.opacity=t.koIsDragging()?.4:1,e.draggable=t.allowingOptions.allowDragging&&!o,i&&(e.onpaste=function(e,t){e.preventDefault();var o=window.clipboardData;if(o){var i=o.getData("text");if(window.getSelection){var n=window.getSelection(),r=n.getRangeAt(0);r.deleteContents(),r.insertNode(document.createTextNode(i))}}else(e.originalEvent||e).clipboardData&&(i=(e.originalEvent||e).clipboardData.getData("text/plain"),document.execCommand("insertText",!1,i));return!0}),e.ondragover=function(e){return!!t.allowingOptions.allowDragging&&(o?t.dragDropHelper().doDragDropOverFlow(e,t):e.markEvent?void 0:(e.markEvent=!0,t.dragDropHelper().doDragDropOver(e,t,!0),!1))},e.ondrop=function(e){var n=t.dragDropHelper(),r=!(o&&n.ddTarget&&n.ddTarget.source&&n.ddTarget.source.parent==t);if(i&&(!n.ddTarget||!n.ddTarget.destination||n.ddTarget.destination.isLayoutTypeSupported("flow"))){var a=e.dataTransfer.getData("text"),s=null;if(document.caretRangeFromPoint?s=document.caretRangeFromPoint(e.clientX,e.clientY):document.caretPositionFromPoint&&(s=document.caretPositionFromPoint(e.clientX,e.clientY)),s){if(r=!0,e.preventDefault(),t.isDragStarted){var l=window.getSelection();if(l&&l.rangeCount>0){var d=l.getRangeAt(0);d&&d.deleteContents()}}s.insertNode(document.createTextNode(a));var u=window.getSelection();u&&(u.removeAllRanges(),u.addRange(s))}}e.markEvent||(e.markEvent=!0,n.doDrop(e,r))},e.ondragstart=o?function(e){t.isDragStarted=!0,e.markEvent||(e.markEvent=!0,t.dragDropHelper().getData(e).text||t.dragDropHelper().startDragQuestion(e,t))}:function(e){var o=e.target||e.srcElement;return o&&o.contains&&o.contains(document.activeElement)?(e.preventDefault(),!1):!!t.allowingOptions.allowDragging&&(e.markEvent||(e.markEvent=!0,t.dragDropHelper().startDragQuestion(e,t)),void(e.cancelBubble=!0))},e.ondragend=function(e){delete t.isDragStarted,t.dragDropHelper().end()}},Object.defineProperty(e.prototype,"survey",{get:function(){return this.data},enumerable:!0,configurable:!0}),e.prototype.startDragQuestion=function(e,t){var o=(new n.JsonObject).toJsonObject(t);o.type=t.getType(),this.prepareData(e,t.name,o,t)},e.prototype.startDragToolboxItem=function(e,t,o){this.prepareData(e,t,o,null),e.cancelBubble=!0},e.prototype.isSurveyDragging=function(t){if(!t)return!1;var o=this.getData(t).text;return o&&0==o.indexOf(e.dataStart)},e.prototype.doDragDropOver=function(e,t,o){if(void 0===o&&(o=!1),e=this.isCanDragContinue(e,t)){var i=this.isBottom(e);if(t.isPage&&t.elements.length>0){var n=t.elements[t.elements.length-1];if(!this.isBottomThanElement(e,n))return;t=n,i.isEdge=!0,i.isBottom=!0}o=!t.isPanel||o&&i.isEdge,t.isPanel&&!o&&t.elements.length>0||this.ddTarget.moveTo(t,i.isBottom,o)}},e.prototype.doDragDropOverFlow=function(e,t){if(this.ddTarget){if(!(e=this.isCanDragContinue(e,t)))return!0;var o=this.isBottom(e);return this.ddTarget.moveTo(t,o.isBottom,o.isEdge)}return!0},e.prototype.isCanDragContinue=function(e,t){return e=this.getEvent(e),this.isSameCoordinates(e)?null:(this.checkScrollY(e),t&&this.isSurveyDragging(e)&&!this.isSamePlace(e,t)?e:null)},e.prototype.end=function(){this.ddTarget&&this.ddTarget.clear(),this.isScrollStop=!0,this.clearData()},Object.defineProperty(e.prototype,"isMoving",{get:function(){return this.ddTarget&&this.ddTarget.source},enumerable:!0,configurable:!0}),e.prototype.doDrop=function(e,t){if(void 0===t&&(t=!0),e.stopPropagation&&e.stopPropagation(),this.isSurveyDragging(e)&&(t&&e.preventDefault(),!this.readOnly)){var o=this.ddTarget.doDrop();this.onModifiedCallback&&this.onModifiedCallback({type:"DO_DROP",page:this.ddTarget.page,source:this.ddTarget.source,target:this.ddTarget.target,newElement:this.ddTarget.source?null:o,moveToParent:o.parent,moveToIndex:o.parent?o.parent.elements.indexOf(o):-1})}this.end()},e.prototype.doLeavePage=function(e){this.ddTarget&&this.ddTarget.moveTo(null,!1)},e.prototype.createTargetElement=function(e,t){if(!e||!t)return null;var o=null;return o=n.Serializer.createClass(t.type),(new n.JsonObject).toObject(t,o),o.name=e,o.setSurveyImpl?o.setSurveyImpl(this.survey):o.setData(this.survey),o.renderWidth="100%",o.koIsDragging(!0),o},e.prototype.isBottom=function(t){t=this.getEvent(t);var o=t.currentTarget.clientHeight,i=t.offsetY;return t.hasOwnProperty("layerX")&&(i=t.layerY-t.currentTarget.offsetTop),{isBottom:i>o/2,isEdge:i<=e.edgeHeight||o-i<=e.edgeHeight}},e.prototype.isBottomThanElement=function(e,t){var o=t.renderedElement;if(!o)return!1;e=this.getEvent(e);var i=o.offsetTop+o.clientHeight,n=e.offsetY;return e.hasOwnProperty("layerX")&&(n=e.layerY-e.currentTarget.offsetTop),n>i},e.prototype.isSameCoordinates=function(e){var t=Math.abs(e.pageX-this.prevCoordinates.x)>5||Math.abs(e.pageY-this.prevCoordinates.y)>5;return t&&(this.prevCoordinates.x=e.pageX,this.prevCoordinates.y=e.pageY),!t},e.prototype.isSamePlace=function(t,o){var i=e.prevEvent;return!(i.element!=o||Math.abs(t.clientX-i.x)>5||Math.abs(t.clientY-i.y)>5)||(i.element=o,i.x=t.clientX,i.y=t.clientY,!1)},e.prototype.checkScrollY=function(t){if(this.scrollableElement){var o=this.getScrollableElementPosY(t);if(!(o<0)){this.isScrollStop=!0;var i=this.scrollableElement.clientHeight;o<e.ScrollOffset&&o>=0&&(this.isScrollStop=!1,this.doScrollY(-1)),i-o<e.ScrollOffset&&i>=o&&(this.isScrollStop=!1,this.doScrollY(1))}}},e.prototype.doScrollY=function(t){var o=this.scrollableElement,i=o.scrollTop+t;if(i<0)return void(this.isScrollStop=!0);o.scrollTop=i;var n=this;this.isScrollStop||setTimeout(function(){n.doScrollY(t)},e.ScrollDelay)},e.prototype.getScrollableElementPosY=function(e){if(!this.scrollableElement||!e.currentTarget)return-1;for(var t=e.currentTarget,o=0;t&&t!=this.scrollableElement;)o+=t.offsetTop,t=t.offsetParent;return e.offsetY+e.currentTarget.offsetTop-this.scrollableElement.offsetTop-this.scrollableElement.scrollTop},e.prototype.getEvent=function(e){return e.originalEvent?e.originalEvent:e},e.prototype.getY=function(e){for(var t=0;e;)t+=e.offsetTop-e.scrollTop+e.clientTop,e=e.offsetParent;return t},e.prototype.prepareData=function(t,o,i,n){var a=e.dataStart+o+"}";this.setData(t,a);var s=this.createTargetElement(o,i);this.ddTarget=new r(this.survey.currentPage,s,n,e.nestedPanelDepth)},e.prototype.setData=function(t,o){t.originalEvent&&(t=t.originalEvent),t.dataTransfer&&(t.dataTransfer.setData("Text",o),t.dataTransfer.effectAllowed="copy"),e.dragData={text:o}},e.prototype.getData=function(t){if(t.originalEvent&&(t=t.originalEvent),t.dataTransfer){var o=t.dataTransfer.getData("Text");o&&(e.dragData.text=o)}return e.dragData},e.prototype.clearData=function(){this.ddTarget=null,e.dragData={text:"",json:null};var t=e.prevEvent;t.element=null,t.x=-1,t.y=-1,this.prevCoordinates.x=-1,this.prevCoordinates.y=-1},e.edgeHeight=20,e.nestedPanelDepth=-1,e.dataStart="{element:",e.dragData={text:"",json:null},e.prevEvent={element:null,x:-1,y:-1},e.counter=1,e.ScrollDelay=30,e.ScrollOffset=100,e}()},function(e,t,o){"use strict";o.d(t,"a",function(){return i});var i={survey:{edit:"Edit",externalHelpLink:"Watch and learn how to create surveys",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Please drop a question here from the Toolbox on the left.",copy:"Copy",addToToolbox:"Add to toolbox",deletePanel:"Delete Panel",deleteQuestion:"Delete Question",convertTo:"Convert to",drag:"Drag element"},qt:{default:"Default",checkbox:"Checkbox",comment:"Comment",imagepicker:"Image picker",dropdown:"Dropdown",file:"File",html:"Html",matrix:"Matrix (single choice)",matrixdropdown:"Matrix (multiple choice)",matrixdynamic:"Matrix (dynamic rows)",multipletext:"Multiple Text",panel:"Panel",paneldynamic:"Panel (dynamic panels)",radiogroup:"Radiogroup",rating:"Rating",text:"Single Input",boolean:"Boolean",expression:"Expression (read-only)",flowpanel:"Flow Panel"},ed:{defaultLocale:"Default ({0})",survey:"Survey",settings:"Survey Settings",opjectPropertiesHeader:"Advanced",showObjectProperties:"Show Object Properties",hideObjectProperties:"Hide Object Properties",editSurvey:"Edit Survey",addNewPage:"Add New Page",moveRight:"Scroll to the Right",moveLeft:"Scroll to the Left",deletePage:"Delete Page",editPage:"Edit Page",edit:"Edit",newPageName:"page",newQuestionName:"question",newPanelName:"panel",newTextItemName:"text",testSurvey:"Test Survey",testSurveyAgain:"Test Survey Again",testSurveyWidth:"Survey width: ",logic:"Survey Logic",embedSurvey:"Embed Survey",translation:"Translation",saveSurvey:"Save Survey",designer:"Survey Designer",jsonEditor:"JSON Editor",undo:"Undo",redo:"Redo",options:"Options",generateValidJSON:"Generate Valid JSON",generateReadableJSON:"Generate Readable JSON",toolbox:"Toolbox",toolboxGeneralCategory:"General",delSelObject:"Delete selected object",editSelObject:"Edit selected object",correctJSON:"Please correct JSON.",surveyResults:"Survey Result: ",surveyResultsTable:"As Table",surveyResultsJson:"As JSON",resultsTitle:"Question Title",resultsName:"Question Name",resultsValue:"Answer Value",resultsDisplayValue:"Display Value",modified:"Modified",saving:"Saving",saved:"Saved",saveError:"Error! Editor content is not saved.",translationAddLanguage:"Select language to translate",translationShowAllStrings:"Show all strings",translationShowAllPages:"Show all pages",translationNoStrings:"No strings to translate. Please, change the filter.",translationExportToSCVButton:"Export to CSV",translationImportFromSCVButton:"Import from CSV",translationMergeLocaleWithDefault:"Merge {0} with default locale",bold:"Bold",italic:"Italic",underline:"Underline",fpAddQuestion:"Add question...",completedHtmlOnConditionItemText:"Show if:",lg:{page_visibilityName:"Page visibility",panel_visibilityName:"Panel visibility",panel_enableName:"Panel enable/disable",question_visibilityName:"Question visibility",question_enableName:"Question enable/disable",question_requireName:"Question optional required",trigger_completeName:"Complete survey",trigger_setvalueName:"Set question value",trigger_copyvalueName:"Copy question value",trigger_skipName:"Skip to question",trigger_runExpressionName:"Run custom expression",completedHtmlOnConditionName:"Custom 'Thank you page' text",page_visibilityDescription:"Make the page visible when the logic expression returns true. Otherwise keep it invisible.",panel_visibilityDescription:"Make the panel visible when the logic expression returns true. Otherwise keep it invisible.",panel_enableDescription:"Make the panel, and all elements inside it, enable when the logic expression returns true. Otherwise keep them disabled.",question_visibilityDescription:"Make the question visible when the logic expression returns true. Otherwise keep it invisible.",question_enableDescription:"Make the question enable when the logic expression returns true. Otherwise keep it disabled.",question_requireDescription:"Question becomes required when the logic expression returns true.",trigger_completeDescription:"When the logic expression returns true then the survey becomes completed and an end-user see the 'Thank you page'.",trigger_setvalueDescription:"When question values, that are used in the logic expression, are changed and the logic expression returns true, then the value is set to the selected question.",trigger_copyvalueDescription:"When question values, that are used in the logic expression, are changed and the logic expression returns true, then the value of one selected question is copied to another selected question.",trigger_skipDescription:"When the logic expression returns true then the survey skip to / focus the selected question.",trigger_runExpressionDescription:"When the logic expression returns true, then the custom expression is performed. You may optionally set this expression result into the selected question",completedHtmlOnConditionDescription:"If the logic expression returns true, then the default text for the 'Thank you page' is changed to the given one.",itemExpressionText:"When expression: '{0}' returns true:",page_visibilityText:"Make page {0} visible",panel_visibilityText:"Make panel {0} visible",panel_enableText:"Make panel {0} enable",question_visibilityText:"Make question {0} visible",question_enableText:"Make question {0} enable",question_requireText:"Make question {0} required",trigger_completeText:"Survey becomes completed",trigger_setvalueText:"Set into question: {0} value {1}",trigger_copyvalueText:"Copy into question: {0} value from question {1}",trigger_skipText:"Survey skip to the question {0}",trigger_runExpressionText1:"Run expression: '{0}'",trigger_runExpressionText2:" and set it's result into question: {0}",completedHtmlOnConditionText:"Show custom text for the 'Thank you page'.",expressionEditorTitle:"Setup the logic expression",deleteOperation:"Delete operation",addNewOperation:"Add New Operation(s)",expressionInvalid:"The logic expression is empty or invalid. Please correct it.",noOperationError:"Please, add at least one operation.",operationInvalid:"Please, fix problems in your operation(s)."}},pel:{isRequired:"Required?"},pe:{apply:"Apply",ok:"OK",save:"Save",cancel:"Cancel",reset:"Reset",close:"Close",delete:"Delete",add:"Add",addNew:"Add New",addItem:"Click to add an item...",addOther:"Other",addSelectAll:"Select All",addNone:"None",removeAll:"Remove All",edit:"Edit",back:"Return without saving",saveAndBack:"Save and return",itemValueEdit:"Visible If",editChoices:"Edit Choices",move:"Move",empty:"<empty>",notEmpty:"<edit value>",fastEntry:"Fast Entry",formEntry:"Form Entry",testService:"Test the service",itemSelectorEmpty:"Please select the element",conditionSelectQuestion:"Select question...",conditionSelectPage:"Select page...",conditionSelectPanel:"Select panel...",conditionValueQuestionTitle:"Please enter/select the value",conditionButtonAdd:"Add",conditionButtonReplace:"Replace",conditionHelp:"Please enter a boolean expression. It should return true to keep the question/page visible. For example: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Please enter an expression. You may use curly brackets to get access to the question values: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Press ctrl+space to get expression completion hint",aceEditorRowTitle:"Current row",aceEditorPanelTitle:"Current panel",showMore:"For more details please check the documentation",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Available questions:",cellsEmptyRowsColumns:"There is should be at least one column or row",propertyIsEmpty:"Please enter a value",value:"Value",text:"Text",rowid:"Row ID",imageLink:"Image Link",columnEdit:"Edit column: {0}",itemEdit:"Edit item: {0}",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",hasOther:"Has other item",otherText:"Other item text",hasNone:"Has none item",noneText:"None item text",hasSelectAll:"Has select all item",selectAllText:"Select all item text",choicesMin:"Minimum value for auto generated items",choicesMax:"Maximum value for auto generated items",choicesStep:"The difference between auto generated items",name:"Name",title:"Title",cellType:"Cell type",colCount:"Column count",choicesOrder:"Select choices order",visible:"Is visible?",isRequired:"Is required?",isAllRowRequired:"Require answer for all rows",requiredErrorText:"Required error text",startWithNewLine:"Is start with new line?",rows:"Row count",placeHolder:"Input place holder",showPreview:"Is image preview shown?",storeDataAsText:"Store file content in JSON result as text",maxSize:"Maximum file size in bytes",imageHeight:"Image height",imageWidth:"Image width",rowCount:"Row count",columnLayout:"Columns layout",addRowLocation:"Add row button location",addRowText:"Add row button text",removeRowText:"Remove row button text",rateMin:"Minimum rate",rateMax:"Maximum rate",rateStep:"Rate step",minRateDescription:"Minimum rate description",maxRateDescription:"Maximum rate description",inputType:"Input type",optionsCaption:"Options caption",defaultValue:"Default value",cellsDefaultRow:"Default cells texts",surveyEditorTitle:"Edit survey settings",qEditorTitle:"Edit: {0}",maxLength:"Maximum length",showTitle:"Show/hide title",locale:"Default language",simulator:"Choose device",landscapeOrientation:"Landscape",mode:"Mode (edit/read only)",clearInvisibleValues:"Clear invisible values",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"Show page titles",showPageNumbers:"Show page numbers",pagePrevText:"Page previous button text",pageNextText:"Page next button text",completeText:"Complete button text",startSurveyText:"Start button text",showNavigationButtons:"Show navigation buttons (default navigation)",showPrevButton:"Show previous button (user may return on previous page)",firstPageIsStarted:"The first page in the survey is a started page.",showCompletedPage:"Show the completed page at the end (completedHtml)",goNextPageAutomatic:"On answering all questions, go to the next page automatically",showProgressBar:"Show progress bar",questionTitleLocation:"Question title location",requiredText:"The question required symbol(s)",questionStartIndex:"Question start index (1, 2 or 'A', 'a')",showQuestionNumbers:"Show question numbers",questionTitleTemplate:"Question title template, default is: '{no}. {require} {title}'",questionErrorLocation:"Question error location",focusFirstQuestionAutomatic:"Focus first question on changing the page",questionsOrder:"Elements order on the page",maxTimeToFinish:"Maximum time to finish the survey",maxTimeToFinishPage:"Maximum time to finish a page in the survey",showTimerPanel:"Show timer panel",showTimerPanelMode:"Show timer panel mode",renderMode:"Render mode",allowAddPanel:"Allow adding a panel",allowRemovePanel:"Allow removing the panel",panelAddText:"Adding panel text",panelRemoveText:"Removing panel text",isSinglePage:"Show all elements on one page",html:"Html",expression:"Expression",minValue:"Minimum value",maxValue:"Maximum value",minLength:"Minimum length",allowDigits:"Allow digits",minCount:"Minimum count",maxCount:"Maximum count",regex:"Regular expression",totalText:"Total text",totalType:"Total type",totalExpression:"Total expression",totalDisplayStyle:"Total display style",totalCurrency:"Total currency",totalFormat:"Total format",tabs:{general:"General",fileOptions:"Options",html:"Html Editor",columns:"Columns",rows:"Rows",choices:"Choices",items:"Items",visibleIf:"Visible If",enableIf:"Enable If",requiredIf:"Required If",rateValues:"Rate Values",choicesByUrl:"Choices from Web",matrixChoices:"Default Choices",multipleTextItems:"Text Inputs",validators:"Validators",navigation:"Navigation",question:"Question",completedHtml:"Completed Html",completedHtmlOnCondition:"Completed Html on Condition",loadingHtml:"Loading Html",timer:"Timer/Quiz",calculatedValues:"Calculated Values",triggers:"Triggers",templateTitle:"Template title",totals:"Totals"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Please, enter the value.",noquestions:"There is no any question in the survey.",createtrigger:"Please create a trigger",triggerOn:"On ",triggerMakePagesVisible:"Make pages visible:",triggerMakeQuestionsVisible:"Make elements visible:",triggerCompleteText:"Complete the survey if succeed.",triggerNotSet:"The trigger is not set",triggerRunIf:"Run if",triggerSetToName:"Change value of: ",triggerFromName:"Copy value from: ",triggerRunExpression:"Run this Expression:",triggerSetValue:"to: ",triggerGotoName:"Go to the question:",triggerIsVariable:"Do not put the variable into the survey result.",triggerRunExpressionEmpty:"Please enter a valid expression"},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",anyof:"any of",allof:"all of",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals"},ew:{angular:"Use Angular version",jquery:"Use jQuery version",knockout:"Use Knockout version",react:"Use React version",vue:"Use Vue version",bootstrap:"For bootstrap framework",standard:"No bootstrap",showOnPage:"Show survey on a page",showInWindow:"Show survey in a window",loadFromServer:"Load Survey JSON from server",titleScript:"Scripts and styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Select the page to test it:",showInvisibleElements:"Show invisible elements"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"complete survey",setvaluetrigger:"set value",copyvaluetrigger:"copy value",skiptrigger:"skip to question",runexpressiontrigger:"run expression",visibletrigger:"change visibility (deprecated)"},p:{name:"name",title:{name:"title",title:"Leave it empty, if it is the same as 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",requiredIf:"requiredIf",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text"}}},function(e,t,o){"use strict";function i(e){return d.a.getString("ed.lg."+e)}var n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(21)),s=o(33),l=o(34),d=o(0),u=o(44);o.d(t,"a",function(){return h});var c=function(){function e(e,t,o){void 0===o&&(o=null),this.logicType=e,this.survey=t,this.options=o,this.hasUniqueItem=!1,this.koVisible=n.observable(!0),this.update()}return e.expressionToDisplayText=function(e,t,o){return t&&t.showTitlesInExpressions?new u.a(e,t).toDisplayText(o):o},Object.defineProperty(e.prototype,"name",{get:function(){return this.logicType.name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseClass",{get:function(){return this.logicType.baseClass},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"propertyName",{get:function(){return this.logicType.propertyName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateName",{get:function(){return this.isTrigger?"propertyeditorcontent-trigger-content":this.logicType.templateName?this.logicType.templateName:"elementselector"},enumerable:!0,configurable:!0}),e.prototype.update=function(e){void 0===e&&(e=null),this.hasUniqueItem=this.isUniqueItem&&this.hasThisOperation(e),this.koVisible(this.visible)},Object.defineProperty(e.prototype,"visible",{get:function(){return!!this.showInUI&&(!this.hasUniqueItem&&(!this.logicType.showIf||this.logicType.showIf(this.survey)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTitlesInExpression",{get:function(){return!!this.options&&this.options.showTitlesInExpressions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasItemSelector",{get:function(){return!!this.baseClass&&this.showInUI&&!this.canCreateNewElement()},enumerable:!0,configurable:!0}),e.prototype.createItemSelector=function(){if(!this.hasItemSelector)return null;var e=new l.a(this.survey,this.baseClass,this.showTitlesInExpression);return e.disabledPropertyName=this.propertyName,e},Object.defineProperty(e.prototype,"showInUI",{get:function(){return!1!==this.logicType.showInUI},enumerable:!0,configurable:!0}),e.prototype.canCreateNewElement=function(){return!!this.logicType.createNewElement||this.isTrigger},Object.defineProperty(e.prototype,"isTrigger",{get:function(){return!!this.baseClass&&this.baseClass.indexOf("trigger")>-1},enumerable:!0,configurable:!0}),e.prototype.createNewElement=function(e){return this.logicType.createNewElement?this.logicType.createNewElement(e):this.isTrigger?this.createTriggerElement(e):null},e.prototype.saveElement=function(e){this.logicType.saveElement&&this.logicType.saveElement(this.survey,e),this.isTrigger&&this.saveTriggerElement(e)},e.prototype.createTemplateObject=function(e){return this.logicType.createTemplateObject?this.logicType.createTemplateObject(e):this.isTrigger?this.createTriggerTemplateObject(e):null},Object.defineProperty(e.prototype,"isUniqueItem",{get:function(){return!0===this.logicType.isUniqueItem},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"questionNames",{get:function(){return this.logicType.questionNames},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){return i(this.name+"Name")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"description",{get:function(){return i(this.name+"Description")},enumerable:!0,configurable:!0}),e.prototype.getDisplayText=function(e){var t=i(this.name+"Text");if(this.logicType.getDisplayText)return this.logicType.getDisplayText(e,t,this);var o="";return this.logicType.getDisplayTextName?o=this.logicType.getDisplayTextName(e):e&&e.name&&(o=e.name),o?t.format(this.formatElName(o)):t},e.prototype.formatElName=function(e){if(this.showTitlesInExpression&&this.survey){var t=this.survey.getQuestionByName(e);t&&t.title&&(e=t.title)}return"{"+e+"}"},e.prototype.formatExpression=function(t){return e.expressionToDisplayText(this.survey,this.options,t)},e.prototype.hasThisOperation=function(e){if(!e)return!1;for(var t=0;t<e.length;t++)if(e[t].logicType==this)return!0;return!1},e.prototype.createTriggerElement=function(e){var t=r.Serializer.createClass(this.baseClass);return t.survey=e,t.setOwner(e),t},e.prototype.saveTriggerElement=function(e){var t=e.element;e.templateObject.applyProperties(t);var o=this.survey;o&&o.triggers.indexOf(t)<0&&t.expression&&o.triggers.push(t)},e.prototype.createTriggerTemplateObject=function(e){return s.a.createTriggerEditor(this.survey,e,this.options)},e}(),p=function(){function e(e,t){if(this.logicType=e,this.itemSelectorValue=null,this.koElement=n.observable(t),this.itemSelectorValue=this.logicType.createItemSelector(),this.itemSelector){var o=this;this.itemSelector.element=t,this.itemSelector.onValueChangedCallback=function(e){o.element=o.itemSelector.element}}this.templateObjectValue=e.createTemplateObject(this.element)}return Object.defineProperty(e.prototype,"template",{get:function(){return this.logicType.templateName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateObject",{get:function(){return this.templateObjectValue?this.templateObjectValue:this.itemSelector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.koElement()},set:function(e){this.koElement(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemSelector",{get:function(){return this.itemSelectorValue},enumerable:!0,configurable:!0}),e.prototype.apply=function(e,t){void 0===t&&(t=!1),this.element&&(this.element[this.logicType.propertyName]=e,t||this.logicType.saveElement(this))},e.prototype.renameQuestion=function(e,t){if(this.element)for(var o=this.questionNames,i=0;i<o.length;i++){var n=this.element[o[i]];n&&n.toLowerCase()==e.toLowerCase()&&(this.element[o[i]]=t)}},e.prototype.equals=function(e){return this.logicType===e.logicType&&this.element===e.element},Object.defineProperty(e.prototype,"name",{get:function(){return this.logicType.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.logicType.getDisplayText(this.element)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deleteOperationText",{get:function(){return i("deleteOperation")},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.itemSelector?this.itemSelector.hasError():!(!this.templateObject||!this.templateObject.hasError)&&this.templateObject.hasError()},Object.defineProperty(e.prototype,"questionNames",{get:function(){return this.logicType.questionNames?this.logicType.questionNames:[]},enumerable:!0,configurable:!0}),e}(),m=function(){function e(t,o){void 0===o&&(o=""),this.owner=t,this.expression=o,this.id=++e.counter,this.removedOperations=[],this.koOperations=n.observableArray()}return Object.defineProperty(e.prototype,"name",{get:function(){return"logicItem"+this.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){var e=this.getExpressionAsDisplayText();return e&&e.length>50&&(e=e.substr(1,50)+"..."),e},enumerable:!0,configurable:!0}),e.prototype.edit=function(){this.owner&&this.owner.editItem(this)},e.prototype.remove=function(){this.owner&&this.owner.removeItem(this)},Object.defineProperty(e.prototype,"isReadOnly",{get:function(){return!!this.owner&&this.owner.readOnly},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"operations",{get:function(){return this.koOperations()},enumerable:!0,configurable:!0}),e.prototype.addOperation=function(e,t){void 0===t&&(t=null);var o=new p(e,t);return this.koOperations.push(o),e.update(this.operations),o},e.prototype.removeOperation=function(e){this.removedOperations.push(e);var t=this.koOperations().indexOf(e);t>-1&&(this.koOperations.splice(t,1),e.logicType&&e.logicType.update(this.operations))},e.prototype.apply=function(e){this.removeSameOperations();for(var t=0;t<this.removedOperations.length;t++)this.removedOperations[t].apply("");this.removedOperations=[],this.applyExpression(e,!1)},e.prototype.renameQuestion=function(e,t){if(e&&t){this.renameQuestionInExpression(e,t);for(var o=this.operations,i=0;i<o.length;i++)o[i].renameQuestion(e,t)}},Object.defineProperty(e.prototype,"expressionText",{get:function(){return d.a.getString("ed.lg.itemExpressionText").format(this.getExpressionAsDisplayText())},enumerable:!0,configurable:!0}),e.prototype.getExpressionAsDisplayText=function(){return this.owner?this.owner.getExpressionAsDisplayText(this.expression):this.expression},Object.defineProperty(e.prototype,"editText",{get:function(){return d.a.getString("pe.edit")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deleteText",{get:function(){return d.a.getString("pe.delete")},enumerable:!0,configurable:!0}),e.prototype.renameQuestionInExpression=function(e,t){if(this.expression){var o=this.expression,i=this.expression.toLocaleLowerCase();e="{"+e.toLowerCase()+"}",t="{"+t+"}";for(var n=i.lastIndexOf(e,i.length);n>-1;)o=o.substring(0,n)+t+o.substr(n+e.length,+o.length),i=i.substring(0,n),n=i.lastIndexOf(e,i.length);o!=this.expression&&this.applyExpression(o,!0)}},e.prototype.applyExpression=function(e,t){this.expression=e;for(var o=this.operations,i=0;i<o.length;i++)o[i].apply(e,t)},e.prototype.removeSameOperations=function(){for(var e=this.operations,t=e.length-1;t>=0;t--)for(var o=t-1;o>=0;o--)if(e[t].equals(e[o])){this.removeOperation(e[t]);break}},e.counter=0,e}(),h=function(){function e(e,t){void 0===t&&(t=null),this.survey=e,this.options=t,this.invisibleItems=[],this.createExpressionPropertyEditor(),this.koItems=n.observableArray(),this.koLogicTypes=n.observableArray(),this.koMode=n.observable("view"),this.koReadOnly=n.observable(this.readOnly),this.koErrorText=n.observable("");var o=this;this.koDisplayError=n.computed(function(){return!!o.koErrorText()}),this.koAddNew=function(){o.addNew()},this.koEditItem=function(e){o.editItem(e)},this.koRemoveItem=function(e){o.removeItem(e)},this.koShowView=function(){o.mode="view"},this.koSaveAndShowView=function(){o.saveEditableItem()&&(o.mode="view")},this.koSaveEditableItem=function(){o.saveEditableItem()},this.koAddNewOperation=function(e){o.addNewOperation(e)},this.koRemoveOperation=function(e){o.removeOperation(e)},this.koEditableItem=n.observable(null),this.update()}return e.hasNeededElements=function(e,t){if(!e||!Array.isArray(e))return!1;for(var o=0;o<e.length;o++){if(!e[o][t])return!0}return!1},e.prototype.getTypeByName=function(e){for(var t=0;t<this.logicTypes.length;t++)if(this.logicTypes[t].name==e)return this.logicTypes[t];return null},e.prototype.update=function(e,t){void 0===e&&(e=null),void 0===t&&(t=null),e&&(this.survey=e),t&&(this.options=t),this.koLogicTypes(this.createLogicTypes()),this.updateVisibleItems(),this.invisibleItems=this.buildItems(!1),this.koReadOnly(this.readOnly),this.mode="view",this.expressionEditor.object=this.survey,this.expressionEditor.options=this.options,this.expressionEditor.displayName=i("expressionEditorTitle"),this.expressionEditor.showHelpText=!1,this.expressionEditor.beforeShow()},e.prototype.updateVisibleItems=function(){this.koItems(this.buildItems(!0)),this.koEditableItem(null),this.koErrorText("")},Object.defineProperty(e.prototype,"readOnly",{get:function(){return!!this.options&&this.options.readOnly},enumerable:!0,configurable:!0}),e.prototype.saveEditableItem=function(){if(!this.editableItem||this.hasError())return!1;this.expressionEditor.apply(),this.editableItem.apply(this.expressionEditor.editingValue);var e=this.koItems.indexOf(this.editableItem)<0;return e&&this.koItems.push(this.editableItem),this.onItemChanged(this.editableItem,e?"new":"modify"),!0},e.prototype.onItemChanged=function(e,t){this.onChangedCallback&&this.onChangedCallback(e,t)},Object.defineProperty(e.prototype,"items",{get:function(){return this.koItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logicTypes",{get:function(){return this.koLogicTypes()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editableItem",{get:function(){return this.koEditableItem()},enumerable:!0,configurable:!0}),e.prototype.renameQuestion=function(e,t){this.renameQuestionCore(e,t,this.items),this.renameQuestionCore(e,t,this.invisibleItems)},e.prototype.hasError=function(){if(!this.editableItem)return!1;var e="";this.isExpressionValid||(e=i("expressionInvalid"));var t=this.editableItem.operations;if(e||0!=t.length||(e=i("noOperationError")),!e)for(var o=0;o<t.length;o++)t[o].hasError()&&(e=i("operationInvalid"));return this.koErrorText(e),!!e},Object.defineProperty(e.prototype,"addNewOperationText",{get:function(){return i("addNewOperation")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExpressionValid",{get:function(){return this.expressionEditor.isExpressionValid},enumerable:!0,configurable:!0}),e.prototype.renameQuestionCore=function(e,t,o){for(var i=0;i<o.length;i++)o[i].renameQuestion(e,t)},Object.defineProperty(e.prototype,"mode",{get:function(){return this.koMode()},set:function(e){if(("view"===e||"new"===e||"edit"===e)&&this.mode!=e){var t=this.mode;"new"!=e&&"edit"!=e||this.updateLogicTypes(),"new"!=t&&"edit"!=t||"view"!=e||this.updateVisibleItems(),this.koMode(e)}},enumerable:!0,configurable:!0}),e.prototype.addNew=function(){this.koEditableItem(new m(this)),this.expressionEditor.editingValue="",this.mode="new"},e.prototype.editItem=function(e){this.koEditableItem(e),this.expressionEditor.editingValue=e.expression,this.mode="edit"},e.prototype.removeItem=function(e){e.apply("");var t=this.koItems.indexOf(e);t>-1&&this.koItems.splice(t,1),this.onItemChanged(e,"delete")},e.prototype.addNewOperation=function(e){var t=e.createNewElement(this.survey);return this.editableItem.addOperation(e,t)},e.prototype.removeOperation=function(e){this.editableItem.removeOperation(e)},e.prototype.getExpressionAsDisplayText=function(e){return c.expressionToDisplayText(this.survey,this.options,e)},e.prototype.buildItems=function(e){for(var t=[],o={},i=this.getAllElements(),n=0;n<i.length;n++)this.buildItemsByElement(i[n],t,o,e);return t},e.prototype.getAllElements=function(){var e=[];return this.AddElements(this.survey.pages,e),this.AddElements(this.survey.getAllQuestions(),e),this.AddElements(this.survey.getAllPanels(),e),this.AddElements(this.survey.triggers,e),this.AddElements(this.survey.completedHtmlOnCondition,e),this.AddElements(this.survey.calculatedValues,e),this.AddElements(this.getMatrixColumns(),e),this.AddElements(this.getValidators(),e),this.AddElements(this.getItemValues(),e),e},e.prototype.getMatrixColumns=function(){for(var e=[],t=this.survey.getAllQuestions(),o=0;o<t.length;o++){var i=t[o],n=i.columns;if(n){var a=r.Serializer.findProperty(i.getType(),"columns");a&&"matrixdropdowncolumn"===a.className&&this.AddElements(n,e)}}return e},e.prototype.getValidators=function(){for(var e=[],t=this.survey.getAllQuestions(),o=0;o<t.length;o++)this.AddElements(t[o].validators,e);return e},e.prototype.getItemValues=function(){for(var e=[],t=this.survey.getAllQuestions(),o=0;o<t.length;o++){var i=t[o],n=i.choices;if(n){var a=r.Serializer.findProperty(i.getType(),"choices");a&&"itemvalue[]"===a.type&&this.AddElements(n,e)}}return e},e.prototype.updateLogicTypes=function(){for(var e=this.logicTypes,t=0;t<e.length;t++)e[t].update()},e.prototype.AddElements=function(e,t){for(var o=0;o<e.length;o++)t.push(e[o])},e.prototype.buildItemsByElement=function(e,t,o,i){for(var n=this.getElementAllTypes(e),a=0;a<this.logicTypes.length;a++){var s=this.logicTypes[a];if(s.showInUI===i){var l=e[s.propertyName];if(n.indexOf(s.baseClass)>-1&&!r.Helpers.isValueEmpty(l)){var d=this.getExpressionHashKey(l),u=o[d];u||(u=new m(this,l),o[d]=u,t.push(u)),u.addOperation(s,e)}}}},e.prototype.getExpressionHashKey=function(e){return e.replace(" ","").toLowerCase()},e.prototype.getElementAllTypes=function(e){var t=[],o=e.getType();for(t.push(o);o&&"base"!=o;){var i=r.Serializer.findClass(o);if(!i)break;o=i.parentName,o&&t.push(o)}return t},e.prototype.createLogicTypes=function(){for(var t=[],o=0;o<e.types.length;o++)t.push(new c(e.types[o],this.survey,this.options));return t},e.prototype.getExpressionProperty=function(){var e=r.Serializer.findProperty("survey","hiddenLogic");return e||(r.Serializer.addProperty("survey",{name:"hiddenLogic:condition",visible:!1,isSerializable:!1}),r.Serializer.findProperty("survey","hiddenLogic"))},e.prototype.createExpressionPropertyEditor=function(){this.expressionEditor=new a.a(this.getExpressionProperty()),this.expressionEditor.object=this.survey},e.types=[{name:"page_visibility",baseClass:"page",propertyName:"visibleIf",showIf:function(t){return t.pages.length>1&&e.hasNeededElements(t.pages,"visibleIf")}},{name:"panel_visibility",baseClass:"panel",propertyName:"visibleIf",showIf:function(t){return e.hasNeededElements(t.getAllPanels(),"visibleIf")}},{name:"panel_enable",baseClass:"panel",propertyName:"enableIf",showIf:function(t){return e.hasNeededElements(t.getAllPanels(),"enableIf")}},{name:"question_visibility",baseClass:"question",propertyName:"visibleIf",showIf:function(t){return e.hasNeededElements(t.getAllQuestions(),"visibleIf")}},{name:"question_enable",baseClass:"question",propertyName:"enableIf",showIf:function(t){return e.hasNeededElements(t.getAllQuestions(),"enableIf")}},{name:"question_require",baseClass:"question",propertyName:"requiredIf",showIf:function(t){return e.hasNeededElements(t.getAllQuestions(),"requiredIf")}},{name:"expression_expression",baseClass:"expression",propertyName:"expression",showInUI:!1},{name:"matrixdropdowncolumn_visibleIf",baseClass:"matrixdropdowncolumn",propertyName:"visibleIf",showInUI:!1},{name:"matrixdropdowncolumn_enableIf",baseClass:"matrixdropdowncolumn",propertyName:"enableIf",showInUI:!1},{name:"matrixdropdowncolumn_requiredIf",baseClass:"matrixdropdowncolumn",propertyName:"requiredIf",showInUI:!1},{name:"matrixdropdowncolumn_totalExpression",baseClass:"matrixdropdowncolumn",propertyName:"totalExpression",showInUI:!1},{name:"trigger_complete",baseClass:"completetrigger",propertyName:"expression",isUniqueItem:!0},{name:"trigger_setvalue",baseClass:"setvaluetrigger",propertyName:"expression",questionNames:["setToName"],getDisplayText:function(e,t,o){return t.format(o.formatElName(e.setToName),e.setValue)}},{name:"trigger_copyvalue",baseClass:"copyvaluetrigger",propertyName:"expression",questionNames:["setToName","fromName"],getDisplayText:function(e,t,o){return t.format(o.formatElName(e.setToName),o.formatElName(e.fromName))}},{name:"trigger_skip",baseClass:"skiptrigger",propertyName:"expression",questionNames:["gotoName"],isUniqueItem:!0,getDisplayTextName:function(e){return e.gotoName}},{name:"trigger_runExpression",baseClass:"runexpressiontrigger",propertyName:"expression",questionNames:["setToName"],getDisplayText:function(e,t,o){var n=i("trigger_runExpressionText1");(n=n.format(o.formatExpression(e.runExpression)),e.setToName)&&(n+=i("trigger_runExpressionText2").format(o.formatElName(e.setToName)));return n}},{name:"completedHtmlOnCondition",baseClass:"htmlconditionitem",propertyName:"expression",isUniqueItem:!0,templateName:"propertyeditorcontent-html",createNewElement:function(e){return new r.HtmlConditionItem},createTemplateObject:function(e){var t=e;return{koValue:n.observable(t.html),readOnly:!1}},saveElement:function(e,t){var o=t.element;o.html=t.templateObject.koValue(),e.completedHtmlOnCondition.indexOf(o)<0&&e.completedHtmlOnCondition.push(o)}},{name:"trigger_runExpression_Expression",baseClass:"runexpressiontrigger",propertyName:"runExpression",showInUI:!1},{name:"question_expressionValidator",baseClass:"expressionvalidator",propertyName:"expression",showInUI:!1},{name:"matrix_rowsVisibleIf",baseClass:"matrix",propertyName:"rowsVisibleIf",showInUI:!1},{name:"matrix_columnsVisibleIf",baseClass:"matrix",propertyName:"columnsVisibleIf",showInUI:!1},{name:"matrixdropdown_rowsVisibleIf",baseClass:"matrixdropdown",propertyName:"rowsVisibleIf",showInUI:!1},{name:"select_choicesVisibleIf",baseClass:"selectbase",propertyName:"choicesVisibleIf",showInUI:!1},{name:"select_choicesEnableIf",baseClass:"selectbase",propertyName:"choicesEnableIf",showInUI:!1},{name:"itemvalue_visibleIf",baseClass:"itemvalue",propertyName:"visibleIf",showInUI:!1},{name:"itemvalue_enableIf",baseClass:"itemvalue",propertyName:"enableIf",showInUI:!1},{name:"calculatedValue",baseClass:"calculatedvalue",propertyName:"expression",showInUI:!1}],e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2)),r=(o.n(n),o(12)),a=o(5);o.d(t,"a",function(){return s});var s=function(){function e(e){var t=this;void 0===e&&(e=null),this.propertyEditorOptions=e,this.oldActiveProperty=null,this.koProperties=i.observableArray(),this.koActiveProperty=i.observable(),this.koHasObject=i.observable(),this.onPropertyValueChanged=new n.Event,this.koActiveProperty.subscribe(function(e){t.oldActiveProperty!==e&&(t.oldActiveProperty&&(t.oldActiveProperty.isActive=!1),t.oldActiveProperty=e,e&&(e.isActive=!0))});var o=this;this.koAfterRender=function(e,t){o.afterRender(e,t)}}return Object.defineProperty(e.prototype,"selectedObject",{get:function(){return this.selectedObjectValue},set:function(e){this.selectedObjectValue!=e&&(this.koHasObject(null!=e),this.selectedObjectValue=e,this.updateProperties(),this.updatePropertiesObject())},enumerable:!0,configurable:!0}),e.prototype.getPropertyEditor=function(e){for(var t=this.koProperties(),o=0;o<t.length;o++)if(t[o].name==e)return t[o];return null},e.prototype.changeActiveProperty=function(e){this.koActiveProperty(e)},e.prototype.objectChanged=function(){this.updatePropertiesObject()},e.prototype.afterRender=function(e,t){if(n.SurveyElement&&n.SurveyElement.GetFirstNonTextElement&&this.onAfterRenderCallback){var o=n.SurveyElement.GetFirstNonTextElement(e),i=e[0];"#text"===i.nodeName&&(i.data=""),i=e[e.length-1],"#text"===i.nodeName&&(i.data=""),this.onAfterRenderCallback(this.selectedObject,o,t)}},e.prototype.updateProperties=function(){var e=this;if(!this.selectedObject||!this.selectedObject.getType)return this.koProperties([]),void this.koActiveProperty(null);for(var t=n.Serializer.getPropertiesByObj(this.selectedObject),o=[],i=this,a=function(t,o){if(t.property.isRequired&&n.Helpers.isValueEmpty(o))return void t.koValue(t.object[t.name]);var r={property:t.property,object:t.object,newValue:o,updatedValue:null};i.onPropertyValueChanged.fire(e,r),r.updatedValue&&r.updatedValue!=r.newValue&&t.koValue(r.updatedValue)},s=[],l=0;l<t.length;l++)this.canShowProperty(t[l])&&s.push(t[l]);for(var d=function(e,t){var o=0;return i.onSortPropertyCallback&&(o=i.onSortPropertyCallback(i.selectedObject,e.property,t.property)),o||(e.displayName==t.displayName?0:e.displayName>t.displayName?1:-1)},l=0;l<s.length;l++){var u=new r.a(s[l],a,this.propertyEditorOptions);u.editor.isInplaceProperty=!0,u.onDependedPropertyUpdateCallback=function(e){i.updatePropertyEditor(e)},o.push(u)}o.sort(d),this.koProperties(o);var c=this.getPropertyEditor("name");!c&&o.length>0&&(c=this.getPropertyEditor(o[0].name)),c&&this.koActiveProperty(c)},e.prototype.updatePropertyEditor=function(e){var t=this.getPropertyEditor(e);t&&(t.object=this.selectedObject,t.updateDynamicProperties())},e.prototype.canShowProperty=function(e){return a.b.isPropertyVisible(this.selectedObject,e,this.propertyEditorOptions)},e.prototype.updatePropertiesObject=function(){for(var e=this.koProperties(),t=0;t<e.length;t++)e[t].object=this.selectedObject},e}()},function(e,t,o){"use strict";var i=o(3),n=o(13);o.d(t,"a",function(){return r});var r=function(e){function t(t,o){void 0===o&&(o=null);var i=e.call(this,t)||this;i.isValueChanging=!1,i.widgetJSONValue=o;var n=i;return i.koAfterRender=function(e,t){n.doAfterRender(e,t)},i}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"custom"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"widgetJSON",{get:function(){return this.widgetJSONValue},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){this.isValueChanging||(this.isValueChanging=!0,e.prototype.onValueChanged.call(this),this.onValueChangedCallback&&this.onValueChangedCallback(this.editingValue),this.isValueChanging=!1)},t.prototype.checkForErrors=function(){var t=e.prototype.checkForErrors.call(this);if(t)return t;var o=this.widgetValidate();return o&&this.koErrorText(o),!!o},Object.defineProperty(t.prototype,"widgetRender",{get:function(){return this.widgetJSON?this.widgetJSON.render:null},enumerable:!0,configurable:!0}),t.prototype.widgetValidate=function(){return this.widgetJSON&&this.widgetJSON.validate?this.widgetJSON.validate(this,this.koValue()):null},t.prototype.doAfterRender=function(e,t){var o=e[0];o&&this.widgetRender&&this.widgetRender(this,o)},t}(n.a)},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d}),o.d(t,"b",function(){return c}),o.d(t,"c",function(){return p}),o.d(t,"d",function(){return m});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.koSurvey=n.observable(!!o.options&&o.options.createSurvey({},"defaultValueEditor")),o}return o.i(i.a)(t,e),t.createJsonFromQuestion=function(e,o){var i=(new r.JsonObject).toJsonObject(e);if(i.name=t.defaultQuestionName,i.type=e.getType(),"expression"==i.type&&(i.type="text"),i.titleLocation="hidden",i.storeOthersAsComment=!1,i.readOnly=o,t.deleteConditionProperties(i),i.choices)for(var n=0;n<i.choices.length;n++)t.deleteConditionProperties(i.choices[n]);return i},t.deleteConditionProperties=function(e){delete e.visible,delete e.visibleIf,delete e.enable,delete e.enableIf,delete e.valueName},t.createSurveyFromJsonQuestion=function(e,t){var o={questions:[],showNavigationButtons:!1,showQuestionNumbers:"off"};return o.questions.push(e),t?t.createSurvey(o,"defaultValueEditor"):new r.Survey(o)},t.prototype.resetText=function(){return s.a.getString("pe.reset")},t.prototype.resetValue=function(e){e.koSurvey().data={}},t.prototype.getValueText=function(e){return e?JSON.stringify(e):s.a.getString("pe.empty")},t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.createSurvey()},t.prototype.onBeforeApply=function(){this.survey&&this.setValueCore(this.getSurveyResult())},Object.defineProperty(t.prototype,"editorType",{get:function(){return"value"},enumerable:!0,configurable:!0}),t.prototype.createSurvey=function(){this.survey=t.createSurveyFromJsonQuestion(this.buildQuestionJson(),this.options),this.survey.setValue(t.defaultQuestionName,this.getSurveyInitialValue()),this.koSurvey(this.survey)},t.prototype.buildQuestionJson=function(){return t.createJsonFromQuestion(this.object,this.readOnly())},t.prototype.getSurveyInitialValue=function(){return this.editingValue},t.prototype.getSurveyResult=function(){return this.survey.getValue(t.defaultQuestionName)},t.defaultQuestionName="question",t}(a.a),u=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"value"},enumerable:!0,configurable:!0}),t.prototype.getSurveyInitialValue=function(){var e=this.editingValue;return e?(Array.isArray(e)||(e=[e]),e):e},t.prototype.getSurveyResult=function(){var t=e.prototype.getSurveyResult.call(this);return t&&Array.isArray(t)?0==t.length?null:t[0]:t},t}(d),c=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),t.prototype.buildQuestionJson=function(){var t=e.prototype.buildQuestionJson.call(this);return t.rowCount=1,t.minRowCount=1,t.maxRowCount=1,t.columnsLocation="vertical",t},Object.defineProperty(t.prototype,"editorType",{get:function(){return"rowvalue"},enumerable:!0,configurable:!0}),t}(u),p=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),t.prototype.buildQuestionJson=function(){var t=e.prototype.buildQuestionJson.call(this);return t.panelCount=1,t.minPanelCount=1,t.maxPanelCount=1,t},Object.defineProperty(t.prototype,"editorType",{get:function(){return"panelvalue"},enumerable:!0,configurable:!0}),t}(u),m=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"set"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"value"},enumerable:!0,configurable:!0}),t.prototype.getSurveyInitialValue=function(){var e=this.editingValue;return e?(Array.isArray(e)||(e=[e]),e):e},t.prototype.buildQuestionJson=function(){var e=new r.QuestionCheckbox("q1"),t=!!r.Serializer.findClass("tagbox");e.hasSelectAll=!t,this.property&&(e.choices=this.property.getChoices(this.object));var o=d.createJsonFromQuestion(e,this.readOnly());return t&&(o.type="tagbox"),o},t}(d);l.a.registerEditor("value",function(e){return new d(e)}),l.a.registerEditor("rowvalue",function(e){return new c(e)}),l.a.registerEditor("panelvalue",function(e){return new p(e)}),l.a.registerEditor("set",function(e){return new m(e)})},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(14)),s=o(0),l=o(4),d=o(21),u=o(32),c=o(20),p=o(44),m=o(10);o.d(t,"a",function(){return h});var h=function(e){function t(t){var o=e.call(this,t)||this;o.availableTriggers=[],o.triggerClasses=[];var i=o;return o.onDeleteClick=function(){i.readOnly()||i.koItems.remove(i.koSelected())},o.onAddClick=function(e){i.addItem(e.value)},o.koSelected=n.observable(null),o.koSelected.subscribe(function(e){e&&e.beforeShow()}),o.koPages=n.observableArray(),o.koQuestions=n.observableArray(),o.koElements=n.observableArray(),o.triggerClasses=r.Serializer.getChildrenClasses("surveytrigger",!0),o.availableTriggers=o.getAvailableTriggers(),o.koTriggers=n.observableArray(o.getLocalizedTriggers()),o}return o.i(i.a)(t,e),t.createTriggerEditor=function(e,t,o){return t.survey=e,"setvaluetrigger"==t.getType()?new y(e,t,o):"copyvaluetrigger"==t.getType()?new f(e,t,o):"skiptrigger"==t.getType()?new b(e,t,o):"runexpressiontrigger"==t.getType()?new x(e,t,o):new g(e,t,o)},Object.defineProperty(t.prototype,"editorType",{get:function(){return"triggers"},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){if(this.editingObject){var t=this.getOrigionalSurvey().getAllQuestions();this.koPages(this.getElements(this.getOrigionalSurvey().pages)),this.koQuestions(this.getElements(t)),this.koElements(this.getElements(this.getAllElements()))}e.prototype.onValueChanged.call(this),this.koSelected&&this.koSelected(this.koItems().length>0?this.koItems()[0]:null)},t.prototype.getAllElements=function(){for(var e=[],t=this.getOrigionalSurvey().pages,o=0;o<t.length;o++)this.addElemenetsIntoList(t[o],e);return e},t.prototype.addElemenetsIntoList=function(e,t){var o=e.getElementsInDesign(!1);if(o)for(var i=0;i<o.length;i++)t.push(o[i]),this.addElemenetsIntoList(o[i],t)},t.prototype.addItem=function(e){var t=r.Serializer.createClass(e),o=this.createPropertyTrigger(t);this.koItems.push(o),this.koSelected(o)},t.prototype.createEditorItem=function(e){var t=new r.JsonObject,o=r.Serializer.createClass(e.getType());return t.toObject(e,o),this.createPropertyTrigger(o)},t.prototype.createItemFromEditorItem=function(e){return e.createTrigger()},t.prototype.getLocalizedTriggers=function(){for(var e=[],t=0;t<this.availableTriggers.length;t++){var o=this.availableTriggers[t];e.push({value:o,text:s.a.getTriggerName(o)})}return e},t.prototype.getAvailableTriggers=function(){for(var e=[],t=0;t<this.triggerClasses.length;t++){var o=this.triggerClasses[t].name;"visibletrigger"!=o&&e.push(o)}return e},t.prototype.getElements=function(e){var t=this,o=[],i=this.options;return e.forEach(function(e){var i={};i.name=e.name,i.text=e.name,t.options&&t.options.showTitlesInExpressions&&e.title&&(i.text=e.title),e.isPage?i.page=e:i.question=e,o.push(i)}),i&&i.onConditionQuestionsGetListCallback(this.editablePropertyName,this,i,o),o},t.prototype.createPropertyTrigger=function(e){var o=this.getSurvey();return e.survey=o,"visibletrigger"==e.getType()?new v(o,e,this.options,this.koPages,this.koElements):t.createTriggerEditor(o,e,this.options)},t.prototype.getSurvey=function(){return this.object?this.object:this.editingObject},t.prototype.getOrigionalSurvey=function(){return m.a.getOrigionalSurvey(this.getSurvey())},t}(a.a),g=function(){function e(e,t,o){this.survey=e,this.trigger=t,this.options=o,this.conditionEditor=null,this.triggerType=t.getType(),this.koType=n.observable(this.triggerType);var i=r.Serializer.findProperty("trigger","expression");this.conditionEditor=new d.a(i),this.conditionEditor.options=o,this.conditionEditor.showHelpText=!1,this.trigger.expression||(this.trigger.expression=this.trigger.buildExpression()),this.conditionEditor.object=this.trigger;var a=this;this.koIsValid=n.computed(function(){return!!a.conditionEditor.koTextValue()}),this.koText=n.computed(function(){return a.getText()})}return e.prototype.beforeShow=function(){this.conditionEditor.beforeShow()},e.prototype.hasError=function(){return!1},e.prototype.createTrigger=function(){var e=r.Serializer.createClass(this.triggerType);return e.expression=this.conditionEditor.koTextValue(),this.applyProperties(e),e},e.prototype.applyProperties=function(e){},e.prototype.getText=function(){if(!this.koIsValid())return s.a.getString("pe.triggerNotSet");var e=this.conditionEditor.koTextValue();return e?(this.options&&this.options.showTitlesInExpressions&&(e=new p.a(this.survey).toDisplayText(e)),s.a.getString("pe.triggerRunIf")+": "+e):""},Object.defineProperty(e.prototype,"setToNameOptions",{get:function(){return s.a.getString("pe.conditionSelectQuestion")},enumerable:!0,configurable:!0}),e.prototype.createElementSelector=function(e){var t=new c.SurveyElementSelector(this.survey,"question",!!this.options&&this.options.showTitlesInExpressions);return t.value=e(),t.onValueChangedCallback=function(t){e(t)},t},e}(),v=function(e){function t(t,o,i,n,r){var a=e.call(this,t,o,i)||this;return a.valueSurvey=t,a.trigger=o,a.options=i,a.pages=new k(s.a.getString("pe.triggerMakePagesVisible"),n(),o.pages),a.questions=new k(s.a.getString("pe.triggerMakeQuestionsVisible"),r(),o.questions),a}return o.i(i.a)(t,e),t.prototype.applyProperties=function(t){e.prototype.applyProperties.call(this,t);var o=t;o.pages=this.pages.koChoosen().map(function(e){return e.name}),o.questions=this.questions.koChoosen().map(function(e){return e.name})},t}(g),y=function(e){function t(o,i,r){var a=e.call(this,o,i,r)||this;a.survey=o,a.trigger=i,a.options=r,t.emptySurvey||(t.emptySurvey=!!r&&r.createSurvey({},"triggersEditor")),a.koSurvey=n.observable(t.emptySurvey),a.koHasSurvey=n.observable(!1),a.kosetToName=n.observable(i.setToName),a.kosetValue=n.observable(i.setValue),a.koisVariable=n.observable(i.isVariable),a.setToNameSelector=a.createElementSelector(a.kosetToName);var s=a;return a.kosetToName.subscribe(function(e){s.koisVariable()||s.kosetValue(null),s.buildSurvey()}),a.koisVariable.subscribe(function(e){s.kosetToName(""),s.kosetValue(null),s.buildSurvey()}),a.buildSurvey(),a}return o.i(i.a)(t,e),t.prototype.hasError=function(){return this.setToNameSelector.hasError()},t.prototype.applyProperties=function(t){e.prototype.applyProperties.call(this,t);var o=t;o.setToName=this.kosetToName(),o.setValue=this.kosetValue(),o.isVariable=this.koisVariable()},t.prototype.buildSurvey=function(){var e=!this.koisVariable()&&this.kosetToName()?this.survey.getQuestionByName(this.kosetToName()):null;if(!e)return this.valueSurvey=null,this.koHasSurvey(!1),void this.koSurvey(t.emptySurvey);var o=u.a.createJsonFromQuestion(e,!1);o.titleLocation="top",o.title=s.a.getString("pe.triggerSetValue"),this.valueSurvey=u.a.createSurveyFromJsonQuestion(o,this.options),this.valueSurvey.setValue("question",this.kosetValue());var i=this;this.valueSurvey.onValueChanged.add(function(e,t){i.kosetValue(t.value)}),this.koSurvey(this.valueSurvey),this.koHasSurvey(!0)},t.emptySurvey=void 0,t}(g),f=function(e){function t(t,o,i){var r=e.call(this,t,o,i)||this;return r.survey=t,r.trigger=o,r.kosetToName=n.observable(o.setToName),r.kofromName=n.observable(o.fromName),r.setToNameSelector=r.createElementSelector(r.kosetToName),r.fromNameSelector=r.createElementSelector(r.kofromName),r}return o.i(i.a)(t,e),t.prototype.hasError=function(){var e=this.setToNameSelector.hasError(),t=this.fromNameSelector.hasError();return e||t},t.prototype.applyProperties=function(t){e.prototype.applyProperties.call(this,t);var o=t;o.setToName=this.kosetToName(),o.fromName=this.kofromName()},t}(g),b=function(e){function t(t,o,i){var r=e.call(this,t,o,i)||this;return r.survey=t,r.trigger=o,r.koGotoName=n.observable(o.gotoName),r.gotoNameSelector=r.createElementSelector(r.koGotoName),r}return o.i(i.a)(t,e),t.prototype.hasError=function(){return this.gotoNameSelector.hasError()},t.prototype.applyProperties=function(t){e.prototype.applyProperties.call(this,t),t.gotoName=this.koGotoName()},t}(g),x=function(e){function t(t,o,i){var r=e.call(this,t,o,i)||this;r.survey=t,r.trigger=o,r.kosetToName=n.observable(o.setToName),r.korunExpression=n.observable(o.runExpression),r.setToNameSelector=r.createElementSelector(r.kosetToName),r.koErrorText=n.observable("");var a=r;return r.koDisplayError=n.computed(function(){return!!a.koErrorText()}),r}return o.i(i.a)(t,e),t.prototype.hasError=function(){var e=this.korunExpression()?"":s.a.getString("pe.triggerRunExpressionEmpty");return this.koErrorText(e),!!e},t.prototype.applyProperties=function(t){e.prototype.applyProperties.call(this,t),t.setToName=this.kosetToName(),t.runExpression=this.korunExpression()},t}(g),k=function(){function e(e,t,o){var i=this;this.title=e,this.koObjects=n.observableArray(),this.koChoosen=n.observableArray(),this.koSelected=n.observable(),this.koChoosenSelected=n.observable(),this.deleteItem=function(){i.changeItems(i.koChoosenSelected(),i.koChoosen,i.koObjects)},this.addItem=function(){i.changeItems(i.koSelected(),i.koObjects,i.koChoosen)},t.forEach(function(e){-1!==o.indexOf(e.name)?i.koChoosen.push(e):i.koObjects.push(e)})}return e.prototype.changeItems=function(e,t,o){e&&(t.remove(e),o.push(e),t.sort(),o.sort())},e}();l.a.registerEditor("triggers",function(e){return new h(e)})},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(0)),r=o(10);o.d(t,"a",function(){return a});var a=function(){function e(e,t,o,n){void 0===t&&(t="question"),void 0===o&&(o=!1),void 0===n&&(n=""),this.survey=e,this.disableCallback=!1,this.selectedValues=[],this.survey=r.a.getOrigionalSurvey(this.survey),this.showTitle=o,this.optionsCaptionValue=this.getOptionsText(n,t),this.koValue=i.observable("");var a=this;this.koValue.subscribe(function(e){!a.disableCallback&&a.onValueChangedCallback&&a.onValueChangedCallback(e)}),this.koElements=i.observableArray(this.buildElements(t)),this.koHasFocus=i.observable(!1),this.koHasFocus.subscribe(function(e){e&&a.updateItems()}),this.koErrorText=i.observable(""),this.koDisplayError=i.computed(function(){return!!a.koErrorText()})}return Object.defineProperty(e.prototype,"value",{get:function(){return this.koValue()},set:function(e){this.disableCallback=!0,this.koValue(e),this.selectedValues.push(e),this.disableCallback=!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){var e=this.findItemByName(this.value);return e?e.element:null},set:function(e){var t=this.findItemByElement(e);t&&(this.value=t.name)},enumerable:!0,configurable:!0}),e.prototype.findItemByName=function(e){if(!e)return null;for(var t=this.koElements(),o=0;o<t.length;o++)if(t[o].name==e)return t[o];return null},e.prototype.findItemByElement=function(e){if(!e)return null;for(var t=this.koElements(),o=0;o<t.length;o++)if(t[o].element===e)return t[o];return null},Object.defineProperty(e.prototype,"optionsCaption",{get:function(){return this.optionsCaptionValue},enumerable:!0,configurable:!0}),e.prototype.updateItems=function(){if(this.disabledPropertyName)for(var e=this.koElements(),t=0;t<e.length;t++){var o=e[t],i=!!o.element[this.disabledPropertyName]&&this.selectedValues.indexOf(o.name)<0;o.koDisabled(i)}},e.prototype.hasError=function(){var e=this.element?"":n.a.getString("pe.itemSelectorEmpty");return this.koErrorText(e),!!e},e.prototype.buildElements=function(e){var t=[];"question"==e&&(t=this.survey.getAllQuestions()),"page"==e&&(t=this.survey.pages),"panel"==e&&(t=this.survey.getAllPanels());for(var o=[],n=0;n<t.length;n++){var r=t[n],a="";this.showTitle&&(a=r.locTitle.renderedHtml),a||(a=r.name),o.push({name:r.name,text:a,element:r,koDisabled:i.observable(!1)})}return o},e.prototype.getOptionsText=function(e,t){return e||(e="page"==t?"pe.conditionSelectPage":"panel"==t?"pe.conditionSelectPanel":"pe.conditionSelectQuestion"),n.a.getString(e)},e}()},function(e,t,o){"use strict";var i=o(0),n=o(2),r=(o.n(n),o(12)),a=o(5);o.d(t,"c",function(){return s}),o.d(t,"b",function(){return l}),o.d(t,"a",function(){return d});var s=function(){function e(e,t,o,n,a,s){void 0===n&&(n=null),void 0===a&&(a=!1),void 0===s&&(s=null),this.obj=e,this.property=t,this.getEditorPropertyByName=s;var l=this;this.objectPropertyValue=new r.a(this.property,function(e,t){l.onPropertyChanged(e,t)},n),this.editor.isTabProperty=a,o||(o=i.a.getPropertyInEditor(this.property.name)),o&&(this.editor.displayName=o),this.objectProperty.onDependedPropertyUpdateCallback=function(e){l.updateDependedProperty(e)},this.objectProperty.object=e,this.editor.setup()}return Object.defineProperty(e.prototype,"objectProperty",{get:function(){return this.objectPropertyValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editor",{get:function(){return this.objectProperty.editor},enumerable:!0,configurable:!0}),e.prototype.hasError=function(){return this.editor.hasError()},e.prototype.apply=function(){return!!this.editor.apply()&&(this.obj[this.property.name]=this.editor.koValue(),!0)},e.prototype.applyToObj=function(e){n.Helpers.isTwoValueEquals(e[this.property.name],this.obj[this.property.name])||(e[this.property.name]=this.obj[this.property.name])},e.prototype.reset=function(){this.editor.koValue(this.property.getPropertyValue(this.obj))},e.prototype.beforeShow=function(){this.editor.beforeShow(),this.objectProperty.updateDynamicProperties()},e.prototype.onPropertyChanged=function(e,t){this.obj[this.property.name]=t},e.prototype.updateDependedProperty=function(e){if(this.getEditorPropertyByName){var t=this.getEditorPropertyByName(e);t&&t.objectProperty.updateDynamicProperties()}},e}(),l=function(){function e(e,t){void 0===t&&(t=null),this.obj=e,this.getEditorPropertyByName=t,this.properties=[]}return e.prototype.addProperty=function(e,t,o,i){this.properties.push(new s(this.obj,e,t,o,i,this.getEditorPropertyByName))},e.prototype.hasError=function(){for(var e=!1,t=0;t<this.properties.length;t++)e=this.properties[t].hasError()||e;return e},e}(),d=function(){function e(e,t,o,i,r){void 0===o&&(o=null),void 0===i&&(i=null),void 0===r&&(r=null),this.obj=e,this.options=o,this.tab=i,this.getEditorPropertyByName=r,this.isTabProperty=!1,this.rows=[],this.isTabProperty=!!i,this.properties=n.Serializer.getPropertiesByObj(this.obj),this.buildRows(t)}return e.prototype.apply=function(){var e=!0;return this.performForAllProperties(function(t){return e=t.apply()&&e}),e},e.prototype.applyToObj=function(e){this.performForAllProperties(function(t){return t.applyToObj(e)})},e.prototype.reset=function(){this.performForAllProperties(function(e){return e.reset()})},e.prototype.beforeShow=function(){this.performForAllProperties(function(e){return e.beforeShow()}),1===this.getAllProperties().length&&this.isTabProperty&&void 0!==this.tab.visible&&this.getAllProperties()[0].objectProperty.koVisible(this.tab.visible)},e.prototype.hasError=function(){for(var e=!1,t=0;t<this.rows.length;t++)e=this.rows[t].hasError()||e;return e},e.prototype.getPropertyEditorByName=function(e){for(var t=this.getAllProperties(),o=0;o<t.length;o++)if(t[o].property.name==e)return t[o]},e.prototype.performForAllProperties=function(e){for(var t=this.getAllProperties(),o=0;o<t.length;o++)e(t[o])},e.prototype.getAllProperties=function(){for(var e=[],t=0;t<this.rows.length;t++)for(var o=0;o<this.rows[t].properties.length;o++)e.push(this.rows[t].properties[o]);return e},e.prototype.buildRows=function(e){for(var t=0;t<e.length;t++){var o=this.getName(e[t]),i=this.getProperty(o);if(i){var n=this.getRowByCategory(e[t].category);n||(n=new l(this.obj,this.getEditorPropertyByName),e[t].category&&(n.category=e[t].category),this.rows.push(n)),n.addProperty(i,e[t].title,this.options,1===e.length&&this.isTabProperty)}}},e.prototype.getName=function(e){return e?"string"==typeof e?e:e.name?e.name:null:null},e.prototype.getRowByCategory=function(e){if(!e)return null;for(var t=0;t<this.rows.length;t++)if(this.rows[t].category==e)return this.rows[t];return null},e.prototype.getProperty=function(e){if(!e)return null;for(var t=null,o=0;o<this.properties.length;o++)if(this.properties[o].name==e){t=this.properties[o];break}return t?this.tab&&t.name==this.tab.name&&!0===this.tab.visible?t:a.b.isPropertyVisible(this.obj,t,this.options)?t:null:null},e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2)),r=(o.n(n),o(0));o.d(t,"a",function(){return a});var a=function(){function e(e){void 0===e&&(e=null),this.supportedQuestions=e,this._orderedQuestions=["text","checkbox","radiogroup","dropdown","comment","rating","imagepicker","boolean","html"],this._questionDefaultSettings={imagepicker:function(){return{choices:[{value:"lion",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/lion.jpg"},{value:"giraffe",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/giraffe.jpg"},{value:"panda",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/panda.jpg"},{value:"camel",imageLink:"https://surveyjs.io/Content/Images/examples/image-picker/camel.jpg"}]}}},this.copiedItemMaxCount=3,this.allowExpandMultipleCategoriesValue=!1,this.keepAllCategoriesExpandedValue=!1,this.itemsValue=[],this.koItems=i.observableArray(),this.koCategories=i.observableArray(),this.koActiveCategory=i.observable(""),this.koHasCategories=i.observable(!1),this.koCanCollapseCategories=i.observable(!0),this.createDefaultItems(e);var t=this;this.koActiveCategory.subscribe(function(e){for(var o=0;o<t.koCategories().length;o++){var i=t.koCategories()[o];i.koCollapsed(i.name!==e)}})}return Object.defineProperty(e.prototype,"orderedQuestions",{get:function(){return this._orderedQuestions},set:function(e){this._orderedQuestions=e,this.reorderItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"jsonText",{get:function(){return JSON.stringify(this.itemsValue)},set:function(e){this.itemsValue=e?JSON.parse(e):[],this.onItemsChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copiedJsonText",{get:function(){return JSON.stringify(this.copiedItems)},set:function(e){var t=e?JSON.parse(e):[];this.clearCopiedItems();for(var o=0;o<t.length;o++)t[o].isCopied=!0,this.addItem(t[o])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this.itemsValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemNames",{get:function(){for(var e=[],t=0;t<this.items.length;t++)e.push(this.items[t].name);return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copiedItems",{get:function(){for(var e=[],t=0;t<this.itemsValue.length;t++)this.itemsValue[t].isCopied&&e.push(this.itemsValue[t]);return e},enumerable:!0,configurable:!0}),e.prototype.addItems=function(e,t){void 0===t&&(t=!1),t&&this.clearItems();for(var o=0;o<e.length;o++)this.itemsValue.push(e[o]);this.onItemsChanged()},e.prototype.addCopiedItem=function(e,t){void 0===t&&(t=null),t||(t={});var o=t.name?t.name:e.name,i=t.title?t.title:o,n=t.tooltip?t.tooltip:i,r={name:o,title:i,tooltip:n,isCopied:!1!==t.isCopied,iconName:t.iconName?t.iconName:"icon-default",json:t.json?t.json:this.getQuestionJSON(e),category:t.category?t.category:""};if(!this.replaceItem(r)){var a=this.copiedItems;this.copiedItemMaxCount>0&&a.length==this.copiedItemMaxCount&&this.removeItem(a[this.copiedItemMaxCount-1].name),this.addItem(r)}},e.prototype.addItem=function(e){this.correctItem(e),this.itemsValue.push(e),this.onItemsChanged()},e.prototype.correctItem=function(e){e.title||(e.title=e.name),e.tooltip||(e.tooltip=e.title)},e.prototype.replaceItem=function(e){this.correctItem(e);var t=this.indexOf(e.name);if(!(t<0))return this.itemsValue[t]=e,this.onItemsChanged(),!0},e.prototype.removeItem=function(e){var t=this.indexOf(e);return!(t<0)&&(this.itemsValue.splice(t,1),this.onItemsChanged(),!0)},e.prototype.clearItems=function(){this.itemsValue=[],this.onItemsChanged()},e.prototype.clearCopiedItems=function(){for(var e=this.copiedItems,t=0;t<e.length;t++)this.removeItem(e[t].name)},e.prototype.getItemByName=function(e){var t=this.indexOf(e);return t>-1?this.itemsValue[t]:null},Object.defineProperty(e.prototype,"allowExpandMultipleCategories",{get:function(){return this.allowExpandMultipleCategoriesValue},set:function(e){this.allowExpandMultipleCategoriesValue=e,this.updateCategoriesState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepAllCategoriesExpanded",{get:function(){return this.keepAllCategoriesExpandedValue},set:function(e){this.keepAllCategoriesExpandedValue=e,this.koCanCollapseCategories(!this.keepAllCategoriesExpanded),this.updateCategoriesState()},enumerable:!0,configurable:!0}),e.prototype.updateCategoriesState=function(){this.allowExpandMultipleCategories||this.keepAllCategoriesExpanded?(this.activeCategory="",this.keepAllCategoriesExpanded&&this.expandAllCategories()):this.koCategories().length>0&&(this.activeCategory=this.koCategories()[0].name)},e.prototype.changeCategory=function(e,t){this.changeCategories([{name:e,category:t}])},e.prototype.changeCategories=function(e){for(var t=0;t<e.length;t++){var o=e[t],i=this.getItemByName(o.name);i&&(i.category=o.category)}this.onItemsChanged()},Object.defineProperty(e.prototype,"activeCategory",{get:function(){return this.koActiveCategory()},set:function(e){this.koActiveCategory(e)},enumerable:!0,configurable:!0}),e.prototype.doCategoryClick=function(e){if(!this.keepAllCategoriesExpanded)if(this.allowExpandMultipleCategories){var t=this.getCategoryByName(e);t&&t.koCollapsed(!t.koCollapsed())}else this.activeCategory=e},e.prototype.expandCategory=function(e){if(this.allowExpandMultipleCategories){var t=this.getCategoryByName(e);t&&t.koCollapsed(!1)}else this.activeCategory=e},e.prototype.collapseCategory=function(e){if(this.allowExpandMultipleCategories){var t=this.getCategoryByName(e);t&&t.koCollapsed(!0)}},e.prototype.expandAllCategories=function(){this.expandCollapseAllCategories(!1)},e.prototype.collapseAllCategories=function(){this.expandCollapseAllCategories(!0)},e.prototype.expandCollapseAllCategories=function(e){for(var t=this.koCategories(),o=0;o<t.length;o++)t[o].koCollapsed(e)},e.prototype.getCategoryByName=function(e){for(var t=this.koCategories(),o=0;o<t.length;o++){var i=t[o];if(i.name===e)return i}return null},e.prototype.onItemsChanged=function(){this.koItems([]),this.koItems(this.itemsValue);for(var e=[],t={},o=this.koActiveCategory(),n=this,a=0;a<this.itemsValue.length;a++){var s=this.itemsValue[a],l=s.category?s.category:r.a.getString("ed.toolboxGeneralCategory");if(!t[l]){var d={name:l,items:[],koCollapsed:i.observable(l!==o),expand:function(){n.doCategoryClick(this.name)}};t[l]=d,e.push(d)}t[l].items.push(s)}this.koCategories(e),this.allowExpandMultipleCategories?e.length>0&&e[0].koCollapsed(!1):o&&t[o]?this.koActiveCategory(o):this.koActiveCategory(e.length>0?e[0].name:""),this.koHasCategories(e.length>1)},e.prototype.indexOf=function(e){for(var t=0;t<this.itemsValue.length;t++)if(this.itemsValue[t].name==e)return t;return-1},e.prototype.reorderItems=function(){var e=this;this.itemsValue.sort(function(t,o){var i=e._orderedQuestions.indexOf(t.name);-1===i&&(i=Number.MAX_VALUE);var n=e._orderedQuestions.indexOf(o.name);return-1===n&&(n=Number.MAX_VALUE),i-n}),this.onItemsChanged()},e.prototype.createDefaultItems=function(e){this.clearItems();for(var t=this.getQuestionTypes(e),o=0;o<t.length;o++){var i=t[o],a=n.ElementFactory.Instance.createElement(i,"q1");a||(a=n.Serializer.createClass(i));var s=this.getQuestionJSON(a),l=r.a.getString("qt."+i),d={name:i,iconName:"icon-"+i,title:l,tooltip:l,json:s,isCopied:!1,category:""};this.itemsValue.push(d)}this.registerCustomWidgets(),this.onItemsChanged()},e.prototype.registerCustomWidgets=function(){var e=n.CustomWidgetCollection.Instance;if(e.getActivatedBy)for(var t=e.widgets,o=0;o<t.length;o++)if("customtype"==e.getActivatedBy(t[o].name)){var i=t[o].widgetJson;if(i.widgetIsLoaded&&i.widgetIsLoaded()){var a=i.iconName?i.iconName:"icon-default",s=r.a.getString("qt."+i.name);s&&s!=i.name||(s=i.title),s||(s=i.name);var l=i.defaultJSON?i.defaultJSON:{};l.type||(l.type=i.name);var d={name:i.name,iconName:a,title:s,tooltip:s,json:l,isCopied:!1,category:""};this.itemsValue.push(d)}}},e.prototype.getQuestionJSON=function(e){var t=(new n.JsonObject).toJsonObject(e);if(t.type=e.getType(),this._questionDefaultSettings[t.type]){var o=this._questionDefaultSettings[t.type]();for(var i in o)t[i]=o[i]}return t},e.prototype.getQuestionTypes=function(e){var t=n.ElementFactory.Instance.getAllTypes();e&&0!=e.length||(e=t);for(var o=[],i=0;i<this.orderedQuestions.length;i++){var r=this.orderedQuestions[i];e.indexOf(r)>-1&&t.indexOf(r)>-1&&o.push(r)}for(var i=0;i<e.length;i++){var r=e[i];o.indexOf(e[i])<0&&t.indexOf(r)>-1&&o.push(r)}return o},e}()},function(e,t,o){"use strict";function i(){for(var e=n.Serializer.getChildrenClasses("selectbase",!0),t=0;t<e.length;t++)for(var o=0;o<e.length;o++)t!=o&&r.addConvertInfo(e[t].name,e[o].name);r.addConvertInfo("text","comment"),r.addConvertInfo("comment","text")}var n=o(2);o.n(n);o.d(t,"a",function(){return r});var r=function(){function e(){}return e.addConvertInfo=function(t,o){e.convertInfo[t]||(e.convertInfo[t]=[]),e.convertInfo[t].push(o)},e.getConvertToClasses=function(t,o){void 0===o&&(o=null);var i=e.convertInfo[t];if(!i)return[];if(o&&Array.isArray(o)&&o.length>0)for(var n=i.length-1;n>=0;n--)o.indexOf(i[n])<0&&i.splice(n,1);return i||[]},e.convertObject=function(e,t){if(!e||!e.parent||t==e.getType())return null;var o=n.QuestionFactory.Instance.createQuestion(t,e.name),i=new n.JsonObject,r=i.toJsonObject(e);i.toObject(r,o);var a=e.parent,s=a.elements.indexOf(e);return a.removeElement(e),a.addElement(o,s),o},e.convertInfo={},e}();i()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2)),r=(o.n(n),o(25));o.d(t,"a",function(){return a});var a=function(){function e(){this.surveyId=null,this.surveyPostId=null,this.generateValidJSON=!1,this.surveyJSVersion=n.Version,this.surveyCDNPath="https://surveyjs.azureedge.net/",this.platformSurveyJSPrefix={angular:"angular",jquery:"jquery",knockout:"ko",react:"react",vue:"vue"},this.platformJSonPage={angular:"@Component({\n selector: 'ng-app',\n template: \n <div id='surveyElement'></div>\",\n})\nexport class AppComponent {\n ngOnInit() {\n var survey = new Survey.Model(surveyJSON);\n survey.onComplete.add(sendDataToServer);\n Survey.SurveyNG.render(\"surveyElement\", { model: survey });\n }\n}",jquery:'var survey = new Survey.Model(surveyJSON);\n$("#surveyContainer").Survey({\n model: survey,\n onComplete: sendDataToServer\n});',knockout:'var survey = new Survey.Model(surveyJSON, "surveyContainer");\nsurvey.onComplete.add(sendDataToServer);',react:'ReactDOM.render(\n <Survey.Survey json={ surveyJSON } onComplete={ sendDataToServer } />, document.getElementById("surveyContainer"));',vue:"var survey = new Survey.Model(surveyJSON);\nnew Vue({ el: '#surveyContainer', data: { survey: survey } });"},this.platformJSonWindow={angular:"@Component({\n selector: 'ng-app',\n template: \n <div id='surveyElement'></div>\",\n})\nexport class AppComponent {\n ngOnInit() {\n var survey = new Survey.Model(surveyJSON);\n survey.onComplete.add(sendDataToServer);\n Survey.SurveyWindowNG.render(\"surveyElement\", { model: survey });\n }\n}",jquery:'var survey = new Survey.Model(surveyJSON);\n$("#surveyContainer").SurveyWindow({\n model: survey,\n onComplete: sendDataToServer\n});',knockout:"var survey = new Survey.Model(surveyJSON);\nsurveyWindow.show();\nsurvey.onComplete.add(sendDataToServer);",react:'ReactDOM.render(\n <Survey.SurveyWindow json={ surveyJSON } onComplete={ sendDataToServer } />, document.getElementById("surveyContainer"));',vue:""},this.platformHtmlonPage={angular:"<ng-app></ng-app>",jquery:'<div id="surveyContainer"></div>',knockout:'<div id="surveyContainer"></div>',react:'<div id="surveyContainer"></div>',vue:'<div id="surveyContainer"><survey :survey="survey"></survey></div>'},this.platformHtmlonWindow={angular:"<ng-app></ng-app>",jquery:'<div id="surveyContainer"></div>',knockout:"",react:'<div id="surveyContainer"></div>',vue:"<div id='surveyContainer'><survey-window :survey='survey'></survey-window></div>"};var e=this;this.koLibraryVersion=i.observable("jquery"),this.koShowAsWindow=i.observable("page"),this.koScriptUsing=i.observable("bootstrap"),this.koHasIds=i.observable(!1),this.koLoadSurvey=i.observable(!1),this.koHeadText=i.observable(""),this.koJavaText=i.observable(""),this.koBodyText=i.observable(""),this.koVisibleHtml=i.computed(function(){return"page"==e.koShowAsWindow()||""!=e.platformHtmlonWindow[e.koLibraryVersion()]}),this.koLibraryVersion.subscribe(function(t){e.setHeadText(),e.setJavaTest(),e.setBodyText()}),this.koShowAsWindow.subscribe(function(t){e.setJavaTest(),e.setBodyText()}),this.koScriptUsing.subscribe(function(t){e.setHeadText(),e.setJavaTest()}),this.koLoadSurvey.subscribe(function(t){e.setJavaTest()}),this.surveyEmbedingHead=null}return Object.defineProperty(e.prototype,"json",{get:function(){return this.jsonValue},set:function(e){this.jsonValue=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasAceEditor",{get:function(){return"undefined"!=typeof ace},enumerable:!0,configurable:!0}),e.prototype.show=function(){this.hasAceEditor&&null==this.surveyEmbedingHead&&(this.surveyEmbedingHead=this.createEditor("surveyEmbedingHead"),this.surveyEmbedingBody=this.createEditor("surveyEmbedingBody"),this.surveyEmbedingJava=this.createEditor("surveyEmbedingJava")),this.koHasIds(this.surveyId&&this.surveyPostId),this.setBodyText(),this.setHeadText(),this.setJavaTest()},e.prototype.setBodyText=function(){this.setTextToEditor(this.surveyEmbedingBody,this.koBodyText,this.platformHtmlonPage[this.koLibraryVersion()])},Object.defineProperty(e.prototype,"getCDNPath",{get:function(){return this.surveyCDNPath+this.surveyJSVersion+"/"},enumerable:!0,configurable:!0}),e.prototype.setHeadText=function(){var e="\x3c!-- Your platform ("+this.koLibraryVersion()+") scripts. --\x3e\n";"bootstrap"!=this.koScriptUsing()&&(e+='\n<link href="'+this.getCDNPath+'survey.css" type="text/css" rel="stylesheet" />'),e+='\n<script src="'+this.getCDNPath+"survey."+this.platformSurveyJSPrefix[this.koLibraryVersion()]+'.min.js"><\/script>',this.setTextToEditor(this.surveyEmbedingHead,this.koHeadText,e)},e.prototype.setJavaTest=function(){this.setTextToEditor(this.surveyEmbedingJava,this.koJavaText,this.getJavaText())},e.prototype.createEditor=function(e){var t=ace.edit(e);return t.setTheme("ace/theme/monokai"),t.session.setMode("ace/mode/json"),t.setShowPrintMargin(!1),t.renderer.setShowGutter(!1),t.setReadOnly(!0),t},e.prototype.getJavaText=function(){var e="page"==this.koShowAsWindow(),t=this.getSaveFunc()+"\n\n";t+=e?this.platformJSonPage[this.koLibraryVersion()]:this.platformJSonWindow[this.koLibraryVersion()];var o="var surveyJSON = "+this.getJsonText()+"\n\n";return this.getSetCss()+"\n"+o+t},e.prototype.getSetCss=function(){return"bootstrap"!=this.koScriptUsing()?"":'Survey.StylesManager.applyTheme("bootstrap");\n'},e.prototype.getSaveFunc=function(){return"function sendDataToServer(survey) {\n"+this.getSaveFuncCode()+"\n}"},e.prototype.getSaveFuncCode=function(){return this.koHasIds()?" survey.sendResult('"+this.surveyPostId+"');":' //send Ajax request to your web server.\n alert("The results are:" + JSON.stringify(survey.data));'},e.prototype.getJsonText=function(){return this.koHasIds()&&this.koLoadSurvey()?"{ surveyId: '"+this.surveyId+"'}":this.generateValidJSON?JSON.stringify(this.json):(new r.a).stringify(this.json)},e.prototype.setTextToEditor=function(e,t,o){e&&e.setValue(o),t&&t(o)},e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(5)),r=o(0);o.d(t,"a",function(){return s});var a=function(){function e(){this.level=0}return e}(),s=function(){function e(e,t,o){void 0===o&&(o=null),this.koObjects=e,this.koSelected=t,this.getObjectDisplayName=o}return Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},set:function(e){this.survey!=e&&(this.surveyValue=e,this.rebuild())},enumerable:!0,configurable:!0}),e.prototype.addPage=function(e){this.addElement(e,null)},e.prototype.addElement=function(e,t){var o=null!=t?this.getItemIndex(t):0;if(!(o<0)){var i=null!=t?this.getElements(t):this.survey.pages,n=i.indexOf(e),r=n+1+o;if(n>0){var a=i[n-1];r=this.getItemIndex(a)+this.getAllElementCount(a)+1}var s=this.createItem(e,this.koObjects()[o]);this.addItem(s,r);var l=[];this.buildElements(l,this.getElements(e),s);for(var d=0;d<l.length;d++)this.koObjects.splice(r+1+d,0,l[d]);this.koSelected(s)}},e.prototype.selectObject=function(e){for(var t=this.koObjects(),o=0;o<t.length;o++)if(t[o].value==e)return void this.koSelected(t[o])},e.prototype.getSelectedObjectPage=function(e){if(void 0===e&&(e=null),!this.survey)return null;if(!e){if(!this.koSelected())return;e=this.koSelected().value}for(var t=this.koObjects(),o=this.getItemIndex(e);o>0;){var i=t[o];if(1==i.level)return i.value;o--}return null},e.prototype.removeObject=function(e){var t=this.getItemIndex(e);if(!(t<0)){var o=1+this.getAllElementCount(e);this.koObjects.splice(t,o)}},e.prototype.nameChanged=function(e){var t=this.getItemIndex(e);t<0||this.koObjects()[t].text(this.getText(this.koObjects()[t]))},e.prototype.selectNextQuestion=function(e){var t=this.getSelectedQuestion(),o=this.getItemIndex(t);if(o<0)return t;var i=this.koObjects(),r=o+(e?-1:1);if(r<i.length&&n.b.getObjectType(i[r].value)==n.a.Question)o=r;else for(r=o;r<i.length&&n.b.getObjectType(i[r].value)==n.a.Question;)o=r,r+=e?1:-1;this.koSelected(i[o])},e.prototype.getAllElementCount=function(e){for(var t=this.getElements(e),o=0,i=0;i<t.length;i++)o+=1+this.getAllElementCount(t[i]);return o},e.prototype.getSelectedQuestion=function(){if(!this.koSelected())return null;var e=this.koSelected().value;return e&&n.b.getObjectType(e)==n.a.Question?e:null},e.prototype.addItem=function(e,t){t>this.koObjects().length?this.koObjects.push(e):this.koObjects.splice(t,0,e)},e.prototype.rebuild=function(){var e=[];if(null==this.survey)return this.koObjects(e),void this.selectObject(null);var t=this.createItem(this.survey,null);e.push(t);for(var o=0;o<this.survey.pages.length;o++){var i=this.survey.pages[o],n=this.createItem(i,t);e.push(n),this.buildElements(e,this.getElements(i),n)}this.koObjects(e),this.selectObject(this.survey)},e.prototype.getElements=function(e){return n.b.getElements(e)},e.prototype.buildElements=function(e,t,o){for(var i=0;i<t.length;i++){var n=t[i],r=this.createItem(n,o);e.push(r),this.buildElements(e,this.getElements(n),r)}},e.prototype.createItem=function(e,t){var o=new a;return o.value=e,o.level=null!=t?t.level+1:0,o.text=i.observable(this.getText(o)),o},e.prototype.getItemIndex=function(e){if(!e)return-1;e.selectedElementInDesign&&(e=e.selectedElementInDesign);for(var t=this.koObjects(),o=0;o<t.length;o++)if(t[o].value==e)return o;return-1},e.prototype.getText=function(t){if(0==t.level)return r.a.getString("ed.survey");for(var o=e.intend,i=1;i<t.level;i++)o+=e.intend;var a=this.getObjectDisplayName?this.getObjectDisplayName(t.value):n.b.getObjectName(t.value,!1);return this.getItemTextCallback&&(a=this.getItemTextCallback(t.value,a)),o+a},e.intend=".",e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(0)),r=o(2),a=(o.n(r),o(90));o.n(a);o.d(t,"a",function(){return s});var s=function(){function e(e){var t=this;this.surveyProvider=e,this.koIsRunning=i.observable(!0),this.koResultText=i.observable(""),this.koResultData=i.observableArray(),this.koResultViewType=i.observable("table"),this.koPages=i.observableArray([]),this.koActivePage=i.observable(null),this.koShowInvisibleElements=i.observable(!1),this.onGetObjectDisplayName=null,this.koShowPagesInTestSurveyTab=i.observable(!0),this.koShowDefaultLanguageInTestSurveyTab=i.observable(!0),this.koShowInvisibleElementsInTestSurveyTab=i.observable(!0),this._simulatorEnabled=i.observable(!0),this._simulatorScaleEnabled=i.observable(!0),this.simulatorOptions={device:"desktop",orientation:"l",considerDPI:!0},this.koActiveDevice=i.observable("desktop"),this.koDevices=i.observableArray(Object.keys(d).filter(function(e){return!!d[e].title}).map(function(e){return{text:d[e].title,value:e}})),this.koLandscapeOrientation=i.observable(!0),this.koHasFrame=i.computed(function(){var e=d[t.koActiveDevice()];return t.simulatorEnabled&&"desktop"!==e.deviceType}),this.koSimulatorFrame=i.computed(function(){if(t.koHasFrame){var e=d[t.koActiveDevice()],o=l/(e.ppi/e.cssPixelRatio),i=(t.koLandscapeOrientation()?e.height:e.width)/e.cssPixelRatio*o,n=(t.koLandscapeOrientation()?e.width:e.height)/e.cssPixelRatio*o,r=t.koLandscapeOrientation()?.15:.165,a=t.koLandscapeOrientation()?.17:.155;return{scale:t.simulatorScaleEnabled?2*o:1,width:i,height:n,frameWidth:1.33*i,frameHeight:1.34*n,frameX:i*r,frameY:n*a}}});var o=this;this.survey=this.surveyProvider.createSurvey({},"test"),this.selectTestClick=function(){o.testAgain()},this.selectPageClick=function(e){o.survey&&("starting"==o.survey.state&&o.survey.start(),o.survey.currentPage=e.page)},this.koActivePage.subscribe(function(e){e&&(o.survey.currentPage=e)}),this.koShowInvisibleElements.subscribe(function(e){o.survey.showInvisibleElements=e}),this.setPageDisable=function(e,t){i.applyBindingsToNode(e,{disable:t.koDisabled},t)},this.koLanguages=i.observable(this.getLanguages()),this.koActiveLanguage=i.observable(""),this.koActiveLanguage.subscribe(function(e){o.survey.locale!=e&&(o.survey.locale=e,o.koSurvey(o.survey))}),this.koSurvey=i.observable(this.survey),this.koActiveDevice.subscribe(function(e){t.simulator&&(t.simulatorOptions.device=e||"desktop",t.simulator.options(t.simulatorOptions))}),this.koLandscapeOrientation.subscribe(function(e){t.simulator&&(t.simulatorOptions.orientation=e?"l":"p",t.simulator.options(t.simulatorOptions))})}return Object.defineProperty(e.prototype,"simulatorEnabled",{get:function(){return this._simulatorEnabled()},set:function(e){this._simulatorEnabled(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"simulatorScaleEnabled",{get:function(){return this._simulatorScaleEnabled()},set:function(e){this._simulatorScaleEnabled(e)},enumerable:!0,configurable:!0}),e.prototype.setJSON=function(e){this.json=e,null!=e&&e.cookieName&&delete e.cookieName,this.survey=e?this.surveyProvider.createSurvey(e,"test"):this.surveyProvider.createSurvey({},"test"),this.onSurveyCreatedCallback&&this.onSurveyCreatedCallback(this.survey);var t=this;this.survey.onComplete.add(function(e){t.koIsRunning(!1),t.koResultText(JSON.stringify(t.survey.data,null,4));var o=function(e){return e.forEach(function(e){e&&e.isNode&&(e.collapsed=i.observable(!0),e.data=o(e.data||[]))}),e.filter(function(e){return!!e})},n=t.survey.getPlainData({includeEmpty:!1});n=o(n),t.koResultData(n)}),this.survey.onStarted.add(function(e){t.setActivePageItem(t.survey.currentPage,!0)}),this.survey.onCurrentPageChanged.add(function(e,o){t.koActivePage(o.newCurrentPage),t.setActivePageItem(o.oldCurrentPage,!1),t.setActivePageItem(o.newCurrentPage,!0)}),this.survey.onPageVisibleChanged.add(function(e,o){t.updatePageItem(o.page)})},e.prototype.updatePageItem=function(e){var t=this.getPageItemByPage(e);t&&(t.koVisible(e.isVisible),t.koDisabled(!e.isVisible))},e.prototype.show=function(e){void 0===e&&(e=null);for(var t=[],o=0;o<this.survey.pages.length;o++){var n=this.survey.pages[o];t.push({page:n,title:this.onGetObjectDisplayName?this.onGetObjectDisplayName(n):n.name,koVisible:i.observable(n.isVisible),koDisabled:i.observable(!n.isVisible),koActive:i.observable("running"==this.survey.state&&n===this.survey.currentPage)})}e&&void 0!=e.showPagesInTestSurveyTab&&this.koShowPagesInTestSurveyTab(e.showPagesInTestSurveyTab),e&&void 0!=e.showDefaultLanguageInTestSurveyTab&&this.setDefaultLanguageOption(e.showDefaultLanguageInTestSurveyTab),e&&void 0!=e.showInvisibleElementsInTestSurveyTab&&this.koShowInvisibleElementsInTestSurveyTab(e.showInvisibleElementsInTestSurveyTab),this.koShowInvisibleElements(!1),this.koPages(t),this.koSurvey(this.survey),this.koActivePage(this.survey.currentPage),this.koActiveLanguage(this.survey.locale),this.koIsRunning(!0)},Object.defineProperty(e.prototype,"testSurveyAgainText",{get:function(){return n.a.getString("ed.testSurveyAgain")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"surveyResultsText",{get:function(){return n.a.getString("ed.surveyResults")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsTitle",{get:function(){return n.a.getString("ed.resultsTitle")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsName",{get:function(){return n.a.getString("ed.resultsName")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsValue",{get:function(){return n.a.getString("ed.resultsValue")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resultsDisplayValue",{get:function(){return n.a.getString("ed.resultsDisplayValue")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectPageText",{get:function(){return n.a.getString("ts.selectPage")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showInvisibleElementsText",{get:function(){return n.a.getString("ts.showInvisibleElements")},enumerable:!0,configurable:!0}),e.prototype.selectTableClick=function(e){e.koResultViewType("table")},e.prototype.selectJsonClick=function(e){e.koResultViewType("text")},Object.defineProperty(e.prototype,"localeText",{get:function(){return n.a.getString("pe.locale")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"simulatorText",{get:function(){return n.a.getString("pe.simulator")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"landscapeOrientationText",{get:function(){return n.a.getString("pe.landscapeOrientation")},enumerable:!0,configurable:!0}),e.prototype.testAgain=function(){this.setJSON(this.json),this.show()},e.prototype.setDefaultLanguageOption=function(e){var t=!0===e||"all"===e||"auto"===e&&this.survey.getUsedLocales().length>1;this.koShowDefaultLanguageInTestSurveyTab(t),t&&this.koLanguages(this.getLanguages("all"!==e?this.survey.getUsedLocales():null))},e.prototype.setActivePageItem=function(e,t){var o=this.getPageItemByPage(e);o&&o.koActive(t)},e.prototype.getPageItemByPage=function(e){for(var t=this.koPages(),o=0;o<t.length;o++)if(t[o].page===e)return t[o];return null},e.prototype.getLanguages=function(e){void 0===e&&(e=null);for(var t=[],o=e&&e.length>1?e:r.surveyLocalization.getLocales(),i=0;i<o.length;i++){var a=o[i];t.push({value:a,text:n.a.getLocaleName(a)})}return t},e.prototype.koEventAfterRender=function(e,t){t.onRendered.fire(self,{}),t.afterRenderSurvey(e)},e}(),l=102.69,d={desktop:{deviceType:"desktop",title:"Desktop"},iPhone:{cssPixelRatio:2,ppi:326,width:640,height:960,deviceType:"phone",title:"iPhone"},iPhone5:{cssPixelRatio:2,ppi:326,width:640,height:1136,deviceType:"phone",title:"iPhone 5"},iPhone6:{cssPixelRatio:2,ppi:326,width:750,height:1334,deviceType:"phone",title:"iPhone 6"},iPhone6plus:{cssPixelRatio:2,ppi:401,width:1080,height:1920,deviceType:"phone",title:"iPhone 6 Plus"},iPhone8:{cssPixelRatio:2,ppi:326,width:750,height:1334,deviceType:"phone",title:"iPhone 8"},iPhone8plus:{cssPixelRatio:2,ppi:401,width:1080,height:1920,deviceType:"phone",title:"iPhone 8 Plus"},iPhoneX:{cssPixelRatio:2,ppi:458,width:1125,height:2436,deviceType:"phone",title:"iPhone X"},iPhoneXmax:{cssPixelRatio:2,ppi:458,width:1242,height:2688,deviceType:"phone",title:"iPhone X Max"},iPad:{cssPixelRatio:2,ppi:264,width:1536,height:2048,deviceType:"tablet",title:"iPad"},iPadMini:{cssPixelRatio:1,ppi:163,width:768,height:1024,deviceType:"tablet",title:"iPad Mini"},iPadPro:{cssPixelRatio:1,ppi:264,width:1688,height:2388,deviceType:"tablet",title:'iPad Pro 11"'},iPadPro13:{cssPixelRatio:1,ppi:264,width:2048,height:2732,deviceType:"tablet",title:'iPad Pro 12,9"'},androidPhone:{cssPixelRatio:2,ppi:316,width:720,height:1280,deviceType:"phone",title:"Android Phone"},androidTablet:{cssPixelRatio:1.5,ppi:149,width:800,height:1280,deviceType:"tablet",title:"Android Tablet"},win10Phone:{cssPixelRatio:1,ppi:152,width:330,height:568,deviceType:"phone",title:"Windows 10 Phone"},msSurface:{cssPixelRatio:1,ppi:148,width:768,height:1366,deviceType:"tablet",title:"MS Surface"},genericPhone:{cssPixelRatio:1,deviceType:"phone",title:""}}},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(0));o.d(t,"d",function(){return s}),o.d(t,"c",function(){return l}),o.d(t,"b",function(){return d}),o.d(t,"a",function(){return u});var s=function(){function e(e){this.name=e}return Object.defineProperty(e.prototype,"isGroup",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.fillLocales=function(e){},e.prototype.mergeLocaleWithDefault=function(e){},e}(),l=function(e){function t(t,o,i,n,r){void 0===i&&(i="");var a=e.call(this,t)||this;return a.name=t,a.locString=o,a.defaultValue=i,a.translation=n,a.context=r,a.values={},a}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return a.a.getPropertyName(this.name)},enumerable:!0,configurable:!0}),t.prototype.koValue=function(e){if(this.values[e])return this.values[e];var t=n.observable(this.locString.getLocaleText(e)),o=this;return t.subscribe(function(t){o.locString.setLocaleText(e,t),!!o.translation.tranlationChangedCallback&&o.translation.tranlationChangedCallback(e,o.name,t,o.context)}),this.values[e]=t,t},t.prototype.fillLocales=function(e){var t=this.locString.getJson();if(t&&"string"!=typeof t)for(var o in t)o&&e.indexOf(o)<0&&o!==r.LocalizableString.defaultLocale&&e.push(o)},t.prototype.mergeLocaleWithDefault=function(e){var t=this.locString.getLocaleText(e);t&&(this.locString.setLocaleText("",t),this.locString.setLocaleText(e,null))},t}(s),d=function(e){function t(t,o,i){void 0===i&&(i=null);var r=e.call(this,t)||this;return r.name=t,r.obj=o,r.translation=i,r.koExpanded=n.observable(!1),r.reset(),r}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.itemValues},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locItems",{get:function(){for(var e=[],t=0;t<this.items.length;t++)this.items[t].isGroup||e.push(this.items[t]);return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"groups",{get:function(){for(var e=[],t=0;t<this.items.length;t++)this.items[t].isGroup&&e.push(this.items[t]);return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isGroup",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"koLocales",{get:function(){return this.translation?this.translation.koLocales:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localeCount",{get:function(){if(!this.koLocales())return 0;for(var e=this.koLocales(),t=0,o=0;o<e.length;o++)e[o].koVisible()&&t++;return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locWidth",{get:function(){var e=this.localeCount;return e<2?"100%":Math.floor(100/e).toString()+"%"},enumerable:!0,configurable:!0}),t.prototype.getLocaleName=function(e){return this.translation?this.translation.getLocaleName(e):a.a.getLocaleName(e)},t.prototype.reset=function(){this.itemValues=[],this.fillItems()},t.prototype.fillLocales=function(e){for(var t=0;t<this.items.length;t++)this.items[t].fillLocales(e)},Object.defineProperty(t.prototype,"showAllStrings",{get:function(){return!this.translation||this.translation.showAllStrings},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasItems",{get:function(){if(this.locItems.length>0)return!0;for(var e=this.groups,t=0;t<e.length;t++)if(e[t].hasItems)return!0;return!1},enumerable:!0,configurable:!0}),t.prototype.mergeLocaleWithDefault=function(e){for(var t=0;t<this.itemValues.length;t++)this.itemValues[t].mergeLocaleWithDefault(e)},t.prototype.fillItems=function(){if(this.isItemValueArray(this.obj))return void this.createItemValues();if(this.obj&&this.obj.getType){for(var e=r.Serializer.getPropertiesByObj(this.obj),o=0;o<e.length;o++){var i=e[o];if(i.isSerializable||i.isLocalizable)if(i.isLocalizable){if(!i.readOnly&&i.visible){var n=this.getDefaultValue(i),a=this.obj[i.serializationProperty];if(!a)continue;if(!this.showAllStrings&&!n&&a.isEmpty)continue;this.itemValues.push(new l(i.name,a,n,this.translation,this.obj))}}else{var s=this.obj[i.name];if(s&&Array.isArray(s)&&s.length>0)if(this.isItemValueArray(s)){var d=new t(i.name,s,this.translation);d.hasItems&&this.itemValues.push(d)}else this.createGroups(s,i)}}this.itemValues.sort(function(e,t){return e.name?t.name?e.name.localeCompare(t.name):1:-1})}},t.prototype.getDefaultValue=function(e){if("title"==e.name&&e.isLocalizable&&e.serializationProperty){var t=this.obj[e.serializationProperty];if(t&&"page"!=this.obj.getType()&&(t.onGetTextCallback||t.onRenderedHtmlCallback))return this.obj.name}return""},t.prototype.isItemValueArray=function(e){return!!e&&Array.isArray(e)&&e.length>0&&!!e[0]&&!!e[0].getType&&!!e[0].setData&&!!e[0].setLocText},t.prototype.createGroups=function(e,o){for(var i=0;i<e.length;i++){var n=e[i];if(n&&n.getType){var r=n.name;r||(r=o.name+"["+i.toString()+"]");var a=new t(r,n,this.translation);a.hasItems&&this.itemValues.push(a)}}},t.prototype.createItemValues=function(){for(var e=0;e<this.obj.length;e++){var t=this.obj[e];(this.showAllStrings||!t.locText.isEmpty||isNaN(t.value))&&this.itemValues.push(new l(t.value,t.locText,t.value,this.translation,t))}},t}(s),u=function(){function e(e,t){void 0===t&&(t=!1),this.koLocales=n.observableArray([{locale:"",koVisible:n.observable(!0),koEnabled:n.observable(!0)}]),this.koRoot=n.observable(null),this.koShowAllStrings=n.observable(t),this.koIsEmpty=n.observable(!0),this.koAvailableLanguages=n.observableArray(),this.koSelectedLanguageToAdd=n.observable(null),this.koFilteredPage=n.observable(),this.koCanMergeLocaleWithDefault=n.observable(!1),this.koMergeLocaleWithDefaultText=n.computed(function(){if(!this.koCanMergeLocaleWithDefault())return"";var e=this.getLocaleName(this.defaultLocale);return a.a.getString("ed.translationMergeLocaleWithDefault").format(e)},this),this.koFilteredPages=n.observableArray([{value:null,text:this.showAllPagesText}]);var o=this;this.koSelectedLanguageToAdd.subscribe(function(e){e&&o.addLocale(e.value)}),this.koShowAllStrings.subscribe(function(e){o.reset()}),this.koFilteredPage.subscribe(function(e){o.reset()}),this.koExportToSCVFile=function(){o.exportToSCVFile("survey_translation.csv")},this.koImportFromSCVFile=function(e){e.files.length<1||(o.importFromSCVFile(e.files[0]),e.value="")},this.koMergeLocaleWithDefault=function(){o.mergeLocaleWithDefault()},this.survey=e}return Object.defineProperty(e.prototype,"survey",{get:function(){return this.surveyValue},set:function(e){this.surveyValue=e,this.updateFilteredPages(),this.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this.rootValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredPage",{get:function(){return this.koFilteredPage()},set:function(e){this.koFilteredPage(e)},enumerable:!0,configurable:!0}),e.prototype.reset=function(){var e=this.filteredPage?this.filteredPage:this.survey,t=this.filteredPage?e.name:"survey";this.rootValue=new d(t,e,this),this.root.reset(),this.resetLocales(),this.koIsEmpty(!this.root.hasItems),this.koRoot(this.root)},Object.defineProperty(e.prototype,"locales",{get:function(){for(var e=[],t=this.koLocales(),o=0;o<t.length;o++)e.push(t[o].locale);return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultLocale",{get:function(){return this.survey.locale?this.survey.locale:r.surveyLocalization.defaultLocale},enumerable:!0,configurable:!0}),e.prototype.getLocaleName=function(e){return a.a.getLocaleName(e,this.defaultLocale)},e.prototype.hasLocale=function(e){for(var t=this.koLocales(),o=0;o<t.length;o++)if(t[o].locale==e)return!0;return!1},e.prototype.addLocale=function(e){if(!this.hasLocale(e)){var t=this.locales;t.push(e),this.setLocales(t)}},e.prototype.resetLocales=function(){var e=[""];this.root.fillLocales(e),this.setLocales(e)},e.prototype.getSelectedLocales=function(){for(var e=[],t=this.koLocales(),o=0;o<t.length;o++)t[o].koVisible()&&e.push(t[o].locale);return e},e.prototype.setSelectedLocales=function(e){e=e||[];for(var t=0;t<e.length;t++)this.hasLocale(e[t])||this.addLocale(e[t]);for(var o=[],i=this.koLocales(),t=0;t<i.length;t++){var n=this.isLocaleEnabled(i[t].locale);i[t].koVisible(n&&e.indexOf(i[t].locale)>-1),i[t].koEnabled(n)}return o},Object.defineProperty(e.prototype,"selectLanguageOptionsCaption",{get:function(){return a.a.getString("ed.translationAddLanguage")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showAllStrings",{get:function(){return this.koShowAllStrings()},set:function(e){this.koShowAllStrings(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showAllStringsText",{get:function(){return a.a.getString("ed.translationShowAllStrings")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showAllPagesText",{get:function(){return a.a.getString("ed.translationShowAllPages")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"noStringsText",{get:function(){return a.a.getString("ed.translationNoStrings")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exportToCSVText",{get:function(){return a.a.getString("ed.translationExportToSCVButton")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"importFromCSVText",{get:function(){return a.a.getString("ed.translationImportFromSCVButton")},enumerable:!0,configurable:!0}),e.prototype.exportToCSV=function(){for(var t=[],o="",i=this.getVisibleLocales(),n=0;n<i.length;n++)o+=e.csvDelimiter+(i[n]?i[n]:"default");t.push(o);var r={};this.fillItemsHash("",this.root,r);for(var a in r){for(var s=a,l=r[a],n=0;n<i.length;n++){var d=l.locString.getLocaleText(i[n]);d||0!=n||(d=l.defaultValue),s+=e.csvDelimiter+d}t.push(s)}return t.join(e.newLineDelimiter)},e.prototype.importFromCSV=function(t){if(t){var o=t.split(e.newLineDelimiter);if(!(o.length<2)){var i=this.readLocales(o[0]),n=new e(this.survey,!0),r=[];this.fillItemsHash("",n.root,r);for(var a=1;a<o.length;a++)if(o[a]){var s=o[a].split(e.csvDelimiter),l=s[0].trim();if(l){var d=r[l];d&&this.updateItemWithStrings(d,s,i)}}this.reset(),this.importFinishedCallback&&this.importFinishedCallback()}}},e.prototype.exportToSCVFile=function(e){var t=this.exportToCSV(),o=new Blob([t],{type:"text/csv"});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(o,e);else{var i=window.document.createElement("a");i.href=window.URL.createObjectURL(o),i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i)}},e.prototype.importFromSCVFile=function(e){var t=new FileReader,o=this;t.onload=function(e){o.importFromCSV(t.result)},t.readAsText(e)},e.prototype.mergeLocaleWithDefault=function(){this.hasLocale(this.defaultLocale)&&(this.root.mergeLocaleWithDefault(this.defaultLocale),this.koLocales([{locale:"",koVisible:n.observable(!0),koEnabled:n.observable(!0)}]),this.reset())},e.prototype.updateItemWithStrings=function(e,t,o){for(var i=0;i<t.length-1&&i<o.length;i++){var n=t[i+1].trim();n&&e.koValue(o[i])(n)}},e.prototype.getVisibleLocales=function(){for(var e=[],t=this.koLocales(),o=0;o<t.length;o++)t[o].koVisible()&&e.push(t[o].locale);return e},e.prototype.readLocales=function(t){var o=[];if(!t)return o;for(var i=t.split(e.csvDelimiter),n=1;n<i.length;n++){var r=i[n].trim();"default"==r&&(r=""),o.push(r)}return o},e.prototype.fillItemsHash=function(e,t,o){var i=e;i&&(i+="."),i+=t.name;for(var n=t.locItems,r=0;r<n.length;r++)o[i+"."+n[r].name]=n[r];for(var a=t.groups,r=0;r<a.length;r++)this.fillItemsHash(i,a[r],o)},e.prototype.setLocales=function(e){for(var t=this.koLocales(),o=0;o<e.length;o++){var i=e[o];if(!this.hasLocale(i)){var r=this.isLocaleEnabled(i);t.push({locale:i,koVisible:n.observable(r),koEnabled:n.observable(r)})}}this.koLocales(t),this.koCanMergeLocaleWithDefault(this.hasLocale(this.defaultLocale)),this.updateAvailableTranlations()},e.prototype.isLocaleEnabled=function(e){if(!e)return!0;var t=r.surveyLocalization.supportedLocales;return!t||t.length<=0||t.indexOf(e)>-1},e.prototype.updateAvailableTranlations=function(){for(var e=[],t=r.surveyLocalization.getLocales(),o=0;o<t.length;o++){var i=t[o];i&&(this.hasLocale(i)||i!=this.defaultLocale&&e.push({value:i,text:a.a.getLocaleName(i)}))}this.koSelectedLanguageToAdd(null),this.koAvailableLanguages(e),!!this.availableTranlationsChangedCallback&&this.availableTranlationsChangedCallback()},e.prototype.updateFilteredPages=function(){for(var e=[{value:null,text:this.showAllPagesText}],t=0;t<this.survey.pages.length;t++){var o=this.survey.pages[t];e.push({value:o,text:o.name})}this.koFilteredPages(e)},e.csvDelimiter="|",e.newLineDelimiter="\n",e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2));o.n(n);o.d(t,"a",function(){return r}),o.d(t,"b",function(){return a});var r=function(){function e(){this.index=-1,this.maximumCount=10,this.items=[],this.koCanUndo=i.observable(!1),this.koCanRedo=i.observable(!1)}return e.prototype.clear=function(){this.items=[],this.koCanUndo(!1),this.koCanRedo(!1)},e.prototype.setCurrent=function(e,t){var o=new a;o.surveyJSON=(new n.JsonObject).toJsonObject(e),o.selectedObjName=t,this.index<this.items.length-1&&this.items.splice(this.index+1),this.items.push(o),this.removeOldData(),this.index=this.items.length-1,this.updateCanUndoRedo()},e.prototype.undo=function(){return this.canUndo?this.doUndoRedo(-1):null},e.prototype.redo=function(){return this.canRedo?this.doUndoRedo(1):null},e.prototype.updateCanUndoRedo=function(){this.koCanUndo(this.canUndo),this.koCanRedo(this.canRedo)},e.prototype.doUndoRedo=function(e){return this.index+=e,this.updateCanUndoRedo(),this.index>=0&&this.index<this.items.length?this.items[this.index]:null},Object.defineProperty(e.prototype,"canUndo",{get:function(){return this.index>=1&&this.index<this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canRedo",{get:function(){return this.items.length>1&&this.index<this.items.length-1},enumerable:!0,configurable:!0}),e.prototype.removeOldData=function(){this.items.length-1<this.maximumCount||this.items.splice(0,this.items.length-this.maximumCount-1)},e}(),a=function(){function e(){}return e}()},function(e,t,o){"use strict";var i=function(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object "+t+"]"},n=function(e,t){e.className.split(/\s+/).filter(function(e){return!!e&&e==t}).length||(e.className+=" "+t)},r=function(e,t){e.className=e.className.split(/\s+/).filter(function(e){return!!e&&e!=t}).join(" ")},a=function(e,t){var o=this;this.opened=!1,this.opts={bodyClass:"modal-open",dialogClass:"modal-dialog",dialogOpenClass:"bounceInDown",dialogCloseClass:"bounceOutUp",focus:!0,focusElements:["a[href]","area[href]","input:not([disabled]):not([type=hidden])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])","iframe","object","embed","*[tabindex]","*[contenteditable]"],escapeClose:!0,content:null,closeTimeout:500},Object.keys(t||{}).forEach(function(e){void 0!==t[e]&&(o.opts[e]=t[e])}),this.overlay=e,this.dialog=e.querySelector("."+this.opts.dialogClass),this.opts.content&&this.content(this.opts.content)};a.prototype.open=function(e){var t=this;if(this.content(e),!i(this.opts.beforeOpen,"function"))return this._doOpen();this.opts.beforeOpen(function(){t._doOpen()})},a.prototype._doOpen=function(){n(document.body,this.opts.bodyClass),r(this.dialog,this.opts.dialogCloseClass),n(this.dialog,this.opts.dialogOpenClass),this.overlay.style.display="block",this.opts.focus&&(this.focusOutElement=document.activeElement,this.focus()),i(this.opts.afterOpen,"function")&&this.opts.afterOpen(),this.opened=!0},a.prototype.close=function(){var e=this;if(!i(this.opts.beforeClose,"function"))return this._doClose();this.opts.beforeClose(function(){e._doClose()})},a.prototype._doClose=function(){var e=this;r(this.dialog,this.opts.dialogOpenClass),n(this.dialog,this.opts.dialogCloseClass),r(document.body,this.opts.bodyClass),this.opts.focus&&this.focus(this.focusOutElement),i(this.opts.afterClose,"function")&&this.opts.afterClose(),this.opened=!1,setTimeout(function(){e.overlay.style.display="none"},this.opts.closeTimeout)},a.prototype.content=function(e){if(void 0===e)return this.dialog.innerHTML;this.dialog.innerHTML=e},a.prototype.elements=function(e,t){return t=t||window.navigator.appVersion.indexOf("MSIE 9.0")>-1,e=i(e,"array")?e.join(","):e,[].filter.call(this.dialog.querySelectorAll(e),function(e){if(t){var o=window.getComputedStyle(e);return"none"!==o.display&&"hidden"!==o.visibility}return null!==e.offsetParent})},a.prototype.focus=function(e){(e=e||this.elements(this.opts.focusElements)[0]||this.dialog.firstChild)&&i(e.focus,"function")&&e.focus()},a.prototype.keydown=function(e){function t(){e.preventDefault(),e.stopPropagation()}if(this.opts.escapeClose&&27==e.which&&this.close(),this.opened&&9==e.which&&this.dialog.contains(e.target)){var o=this.elements(this.opts.focusElements),i=o[0],n=o[o.length-1];i==n?t():e.target==i&&e.shiftKey?(t(),n.focus()):e.target!=n||e.shiftKey||(t(),i.focus())}},a.prototype.version="1.0.31",a.version="1.0.31",t.a=a},function(e,t,o){"use strict";var i=o(2);o.n(i);o.d(t,"a",function(){return n});var n=function(){function e(e,t){void 0===t&&(t=null),this.survey=e,this.options=t}return e.prototype.toDisplayText=function(e){if(!this.survey||this.options&&!this.options.showTitlesInExpressions)return e;var t=new i.ConditionsParser,o=t.parseExpression(e);if(!o)return e;if(o.getType)return this.toDisplayTextCore(o,e);var n=[];return o.setVariables(n),this.replaceVariables(e,n)},e.prototype.toDisplayTextCore=function(e,t){this.currentQuestion=null;var o=this,i=function(e){return"variable"==e.getType()?o.getQuestionText(e):"const"==e.getType()?o.getDisplayText(e):void("binary"==e.getType()&&o.proceedBinary(e))};return e.toString(i)},e.prototype.getQuestionText=function(e){var t=this.survey.getQuestionByName(e.variable);if(t&&t.title)return"{"+t.title+"}"},e.prototype.getDisplayText=function(e){if(this.currentQuestion){var t=this.currentQuestion.getDisplayValue(!0,e.correctValue);return t?new i.Const(t).toString():void 0}},e.prototype.proceedBinary=function(e){if(e.isArithmetic||e.isConjunction)return void(this.currentQuestion=null);this.currentQuestion=this.getQuestionFromOperands(e.leftOperand,e.rightOperand),this.currentQuestion||(this.currentQuestion=this.getQuestionFromOperands(e.rightOperand,e.leftOperand))},e.prototype.getQuestionFromOperands=function(e,t){if(!e||!t)return null;if("variable"!=e.getType())return null;var o=t.getType();return"const"!=o&&"function"!=o&&"array"!=o?null:this.survey.getQuestionByName(e.variable)},e.prototype.replaceVariables=function(e,t){for(var o=0;o<t.length;o++)e=this.replaceVariable(e,t[o]);return e},e.prototype.replaceVariable=function(e,t){var o=this.survey.getQuestionByName(t);return o&&o.title?e.replace("{"+t+"}","{"+o.title+"}"):e},e}()},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(6)),a=o(82),s=(o.n(a),o(26));o.d(t,"a",function(){return u});var l=o(135),d=function(e){function t(t,o,i){var n=e.call(this,t,o)||this;n.adornerElement=i;var r=n,a=(o.survey,r.adornerElement.parentElement.parentElement.getElementsByTagName("f-panel")[0],function(e){return function(){var o=document.getSelection();if(o&&o.rangeCount>0){var i=o.toString();i&&(t.content=t.content.replace(i,"<"+e+">"+i+"</"+e+">"))}}});return n.actions.splice(0,0,{name:"bold",text:n.localize("ed.bold")||"B",onClick:a("b")}),n.actions.splice(1,0,{name:"italic",text:n.localize("ed.italic")||"I",onClick:a("i")}),n.actions.splice(2,0,{name:"underline",text:n.localize("ed.underline")||"U",onClick:a("u")}),n.actions.splice(3,0,{name:"fpAddQuestion",text:n.localize("ed.fpAddQuestion"),title:n.localize("ed.fpAddQuestion"),hasTitle:!0,template:"fp-add-question",availableTypes:["text","boolean","radiogroup","checkbox"],onAddQuestion:function(e,i){var n=i.target.value;if(n){var r=o.getNewName(n);t.addNewQuestion(n,r),i.target.value=""}}}),n.actions.splice(4,0,{template:"action-separator"}),n}return o.i(i.a)(t,e),t}(s.b);n.components.register("flowpanel-actions",{viewModel:{createViewModel:function(e,t){return new d(e.question,e.editor,t.element)}},template:l});var u={getMarkerClass:function(e){return"flowpanel"===e.getType()?"panel_actions":""},getElementName:function(e){return"container"},afterRender:function(e,t,o){var i=document.createElement("div");i.className="svda-question-actions",i.innerHTML="<flowpanel-actions params='question: model, editor: editor'></question-flowpanel>",e[0].appendChild(i),n.applyBindings({model:t,editor:o},i),n.tasks.runEarly(),o.onAdornerRenderedCallback(t,"flowpanel-actions",i)}};o.i(r.b)("flowpanel-actions",u)},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2)),r=(o.n(n),o(6)),a=o(0),s=o(9),l=o.n(s),d=o(11),u=o(8),c=o(83);o.n(c);o.d(t,"a",function(){return h});var p=o(136),m=function(){function e(e,t,o,i,n,r){var a=this;this.name=e,this.question=t,this.item=o,this.rootElement=i,this.editor=n,this.itemsRoot=r,this.imageChoosen=function(e){var t=a.itemsRoot.getElementsByClassName("svda-choose-file")[0];if(window.FileReader&&t&&t.files&&!(t.files.length<1)){for(var o=[],i=0;i<t.files.length;i++)o.push(t.files[i]);a.valueChanged&&a.valueChanged(o)}}}return e.prototype.deleteItem=function(e,t){if(e.question.choices.length>1){var o=e.question.choices.indexOf(e.item);e.question.choices.splice(o,1),this.editor.onQuestionEditorChanged(this.question)}},Object.defineProperty(e.prototype,"isLastItem",{get:function(){return 1===this.question.choices.length},enumerable:!0,configurable:!0}),e.prototype.chooseImage=function(e,t){var o=this.itemsRoot.getElementsByClassName("svda-choose-file")[0];o.value="",o.onchange=this.imageChoosen,o.click()},e.prototype.getLocString=function(e){return a.a.getString(e)},e}();i.components.register("image-item-editor",{viewModel:{createViewModel:function(e,t){var o=new m(e.target[e.name],e.question,e.item,t.element,e.editor,e.itemsRoot),i=n.Serializer.findProperty("imageitemvalue",e.name);return o.valueChanged=function(t){t[0]&&e.editor.uploadFiles(t,function(t,o){var n={propertyName:i.name,obj:e.item,value:o,newValue:null,doValidation:!1};e.editor.onValueChangingCallback(n),o=null===n.newValue?n.value:n.newValue,e.target[e.name]=o,e.editor.onPropertyValueChanged(i,e.target,o),e.editor.onQuestionEditorChanged(e.question)})},o}},template:p});var h={getMarkerClass:function(e){return"function"==typeof e.getType&&"imagepicker"===e.getType()?"image_item_editable":""},getElementName:function(e){return"item"},afterRender:function(e,t,o){for(var n=e[0].parentElement,r=0;r<e.length;r++){e[r].onclick=function(e){return e.preventDefault()};var a=document.createElement("span");a.className="svda-adorner-root",a.innerHTML="<image-item-editor params='name: \"imageLink\", target: target, item: item, question: question, editor: editor, itemsRoot: itemsRoot'></image-item-editor>",e[r].appendChild(a),i.applyBindings({item:t.choices[r],question:t,target:t.choices[r],editor:o,itemsRoot:n},a),i.tasks.runEarly(),o.onAdornerRenderedCallback(t,"image-items",a,t.choices[r])}var s=(l.a.create(n,{handle:".svda-drag-handle",draggable:".image_item_editable",animation:150,onEnd:function(e){var i=t.choices,n=i[e.oldIndex];i.splice(e.oldIndex,1),i.splice(e.newIndex,0,n),o.onQuestionEditorChanged(t)}}),document.createElement("input"));s.type="file",s.accept="image/*",s.className="svda-choose-file",s.style.position="absolute",s.style.opacity="0",n.appendChild(s)}};o.i(r.b)("image-items",h);var g={getMarkerClass:function(e){return"function"==typeof e.getType&&"imagepicker"===e.getType()?"sv_imagepicker_root":""},getElementName:function(e){return"root"},afterRender:function(e,t,i){var r=e[0],a=o.i(d.b)(function(){var e=r.getElementsByClassName("svda-choose-file")[0];e.value="",e.onchange=function(r){if(e&&e.files&&!(e.files.length<1)){for(var a=[],s=0;s<e.files.length;s++)a.push(e.files[s]);var l=n.surveyLocalization.getString("choices_Item"),d=o.i(u.a)(l,(t.choices||[]).map(function(e){return e.value})),c=new n.ItemValue(d,void 0,"imageitemvalue");c.locOwner={getLocale:function(){return t.getLocale?t.getLocale():""},getMarkdownHtml:function(e){return e},getProcessedText:function(e){return e}},t.choices=t.choices.concat([c]),c=t.choices[t.choices.length-1],i.onQuestionEditorChanged(t),i.onItemValueAddedCallback(t,"choices",c,t.choices);var p=n.Serializer.findProperty("imageitemvalue","imageLink");i.uploadFiles(a,function(e,o){var n={propertyName:p.name,obj:c,value:o,newValue:null,doValidation:!1};i.onValueChangingCallback(n),o=null===n.newValue?n.value:n.newValue,c.imageLink=o,i.onPropertyValueChanged(p,c,o),i.onQuestionEditorChanged(t)})}},e.click()});a.style.width=(t.imageWidth||200)+10+"px",a.style.height=(t.imageHeight||150)+10+"px",a.style.lineHeight=a.style.height,r.appendChild(a);var s=document.createElement("input");s.type="file",s.accept="image/*",s.className="svda-choose-file",s.style.position="absolute",s.style.opacity="0",r.appendChild(s)}};o.i(r.b)("add-image-item",g)},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(85));o.n(n);o.d(t,"a",function(){return r});var r={getMarkerClass:function(e){return"boolean"===e.getType()?"label_editable":""},getElementName:function(e){return"label"},afterRender:function(e,t,o){var n=document.createElement("span");n.innerHTML="<title-editor params='name: \"title\", model: model, editor: editor'></title-editor>",e[0].onclick=function(e){return e.preventDefault()},e[0].appendChild(n),i.applyBindings({model:t,editor:o},n),i.tasks.runEarly(),o.onAdornerRenderedCallback(t,"label",n)}}},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(6)),s=o(0),l=o(19),d=o(8),u=o(87);o.n(u);o.d(t,"a",function(){return h});var c=o(139),p=function(e){function t(t,o,i,n,r){var a=e.call(this,t,n)||this;return a.question=o,a.item=i,a.editor=r,a}return o.i(i.a)(t,e),t.prototype.deleteItem=function(e,t){var o=e.question,i=o.visibleRateValues.map(function(e){return e.value}).indexOf(e.item.value);0===o.rateValues.length&&i===o.visibleRateValues.length-1?o.rateMax-=o.rateStep:(0===o.rateValues.length&&(o.rateValues=o.visibleRateValues),o.rateValues.splice(i,1)),e.editor.onQuestionEditorChanged(o)},Object.defineProperty(t.prototype,"isLastItem",{get:function(){return 1===this.question.visibleRateValues.length},enumerable:!0,configurable:!0}),t}(l.b);n.components.register("rating-item-editor",{viewModel:{createViewModel:function(e,t){var o=new p(e.target[e.name],e.question,e.item,t.element,e.editor),i=e.question;r.Serializer.findProperty(e.target.getType(),e.name);return o.valueChanged=function(t){if(0===i.rateValues.length){i.rateValues=i.visibleRateValues;var o=i.rateValues.map(function(e){return e.value}).indexOf(e.item.value);i.rateValues[o]=e.target}e.target[e.name]=t,e.editor.onQuestionEditorChanged(i)},o}},template:c});var m=function(e,t,i){return void 0===i&&(i=null),function(){if(0===e.rateValues.length)e.rateMax+=e.rateStep;else{var n=null,a=e.rateValues.map(function(e){return e.itemValue}),s=r.surveyLocalization.getString("choices_Item");n=o.i(d.a)(s,a);var l=new r.ItemValue(n);!!i&&i(l),l.locOwner={getLocale:function(){return e.getLocale?e.getLocale():""},getMarkdownHtml:function(e){return e},getProcessedText:function(e){return e}},e.rateValues=e.rateValues.concat([l])}!!t&&t(l)}},h={getMarkerClass:function(e){return e.visibleRateValues?"item_editable":""},getElementName:function(e){return"itemText"},afterRender:function(e,t,o){for(var i=0;i<e.length;i++){e[i].onclick=function(e){return e.preventDefault()};var r=document.createElement("span");r.innerHTML="<rating-item-editor params='name: \"text\", target: target, item: item, question: question, editor: editor'></rating-item-editor>",e[i].appendChild(r);var a=t.visibleRateValues[i];n.applyBindings({item:a,question:t,target:a,editor:o},r),n.tasks.runEarly(),o.onAdornerRenderedCallback(t,"rating-item",r,a)}var l=document.createElement("span");l.title=s.a.getString("pe.addItem"),l.className="svda-add-new-rating-item icon-inplace-add-item svd-primary-icon",l.onclick=m(t,function(e){o.onQuestionEditorChanged(t),o.onItemValueAddedCallback(t,"rateValues",e,t.visibleRateValues)},function(e){o.onItemValueAddedCallback(t,"rateValues",e,t.visibleRateValues)});var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.setAttribute("class","svd-svg-icon"),d.style.width="12px",d.style.height="12px";var u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#icon-inplaceplus"),d.appendChild(u),l.appendChild(d),e[0].parentElement.parentElement.appendChild(l)}};o.i(a.b)("rating-item",h)},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(2)),r=(o.n(n),o(9)),a=o.n(r),s=o(6),l=o(0),d=o(11),u=o(88);o.n(u);o.d(t,"a",function(){return p});var c=o(140);i.components.register("select-items-editor",{viewModel:{createViewModel:function(e,t){var r=i.observable(p.isExpanded),s=i.observableArray(e.question.choices),u=i.observable(e.question.otherText),c=t.element.parentElement.getElementsByClassName("svda-select-items-collection")[0],m=null,h=function(t,o,i){var n={propertyName:o,obj:t,value:i,newValue:null,doValidation:!1};return e.editor.onValueChangingCallback(n),i=null===n.newValue?n.value:n.newValue},g=function(t,o,i){if("function"==typeof t.getType){var r=n.Serializer.findProperty(t.getType(),o);e.editor.onPropertyValueChanged(r,t,i)}};return{choices:s,valueName:e.valueName,question:e.question,editor:e.editor,isExpanded:r,toggle:function(){return r(!r())},addOther:function(){var t=!e.question.hasOther;t=h(e.question,"hasOther",t),e.question.hasOther=t,g(e.question,"hasOther",t)},addItem:o.i(d.c)(e.question,function(t){s(e.question.choices)},function(t){e.editor.onItemValueAddedCallback(e.question,"choices",t,e.question.choices),e.editor.onQuestionEditorChanged(e.question)}),getLocString:function(e){return l.a.getString(e)},choicesRendered:function(){m&&m.destroy(),m=a.a.create(c,{handle:".svda-drag-handle",draggable:".item_draggable",animation:150,onEnd:function(t){var o=[].concat(e.question.choices),i=o[t.oldIndex];o.splice(t.oldIndex,1),o.splice(t.newIndex,0,i),e.question.choices=o,s(o)}})},valueChanged:function(o,n,r){var a=[].concat(e.question.choices);s([]),s(a),i.tasks.runEarly(),e.editor.onAdornerRenderedCallback(e.question,"select-choices",t.element)},otherText:u,otherValueChanged:function(t,o,i){u(e.question.otherText)}}}},template:c});var p={getMarkerClass:function(e){return e.parent&&e.choices?"select_items_editor":""},getElementName:function(e){return"selectWrapper"},afterRender:function(e,t,o){e[0].onclick=function(e){return e.preventDefault()};var n=document.createElement("div");n.innerHTML="<select-items-editor params='question: question, editor: editor, valueName: \""+(d.a.inplaceEditForValues?"value":"text")+"\"'></select-items-editor>",e[0].appendChild(n),i.applyBindings({question:t,editor:o},n),i.tasks.runEarly(),o.onAdornerRenderedCallback(t,"select-choices",n)},isExpanded:!0};o.i(s.b)("select-choices",p)},function(e,t,o){"use strict";var i=o(4);o.d(t,"a",function(){return n});var n=function(){function e(){}return e.registerCustomPropertyEditor=function(e,t){i.a.registerCustomEditor(e,t)},e.unregisterCustomPropertyEditor=function(e){i.a.unregisterCustomEditor(e)},e.registerPropertyEditor=function(e,t){i.a.registerEditor(e,t)},e}()},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Rediger",dropQuestion:"Træk et spørgsmål hertil fra paletten til venstre.",copy:"Kopier",addToToolbox:"Tilføj til paletten",deletePanel:"Slet panel",deleteQuestion:"Slet spørgsmål",convertTo:"Konverter til",drag:"Træk element"},qt:{default:"Standard",checkbox:"Afkrydsningsfelt",comment:"Kommentar",imagepicker:"Billedvælger",dropdown:"Dropdown",file:"Fil",html:"Html",matrix:"Matrice (ét valg)",matrixdropdown:"Matrice (flere valg)",matrixdynamic:"Matrice (dynamiske rækker)",multipletext:"Flere tekstfelter",panel:"Panel",paneldynamic:"Panel (dynamiske paneler)",radiogroup:"Alternativknap",rating:"Vurdering",text:"Tekstfelt",boolean:"Sandt/falsk",expression:"Udtryk"},ed:{defaultLocale:"Standard ({0})",survey:"Undersøgelse",settings:"Indstillinger for undersøgelse",editSurvey:"Rediger undersøgelse",addNewPage:"Tilføj ny side",moveRight:"Gå til højre",moveLeft:"Gå til venstre",deletePage:"Slet side",editPage:"Rediger side",edit:"Rediger",newPageName:"side",newQuestionName:"spørgsmål",newPanelName:"panel",testSurvey:"Afprøv undersøgelse",testSurveyAgain:"Afprøv undersøgelse igen",testSurveyWidth:"Bredde af undersøgelse: ",embedSurvey:"Indlejr undersøgelse",translation:"Oversættelse",saveSurvey:"Gem undersøgelse",designer:"Undersøgelsesdesigner",jsonEditor:"JSON Editor",undo:"Fortryd",redo:"Annuller fortryd",options:"Indstillinger",generateValidJSON:"Generer gylding JSON",generateReadableJSON:"Generer læsbar JSON",toolbox:"Værktøjskasse",toolboxGeneralCategory:"Generelt",delSelObject:"Slet valgt objekt",editSelObject:"Rediger valgt objekt",correctJSON:"Ret venligst JSON.",surveyResults:"Undersøgelsesresultat: ",modified:"Ændret",saving:"Gemmer",saved:"Gemt",saveError:"Fejl! Undersøgelsen er ikke blevet gemt.",translationAddLanguage:"Vælg et sprog at oversætte",translationShowAllStrings:"Vis alle tekststrenge",translationShowAllPages:"Vis alle sider",translationNoStrings:"Ingen tekststrenge at oversætte. Ret filteret.",translationExportToSCVButton:"Eksporter til CSV",translationImportFromSCVButton:"Importer fra CSV",translationMergeLocaleWithDefault:"Flet {0} med standardsprog"},pel:{isRequired:"Påkrævet?"},pe:{apply:"Anvend",ok:"OK",cancel:"Annuller",reset:"Nulstil",close:"Luk",delete:"Slet",addNew:"Tilføj ny",addItem:"Klik for at tilføje...",removeAll:"Fjern alle",edit:"Rediger",itemValueEdit:"Synlig hvis",editChoices:"Rediger valgmuligheder",move:"Flyt",empty:"<tom>",notEmpty:"<redigér værdi>",fastEntry:"Fast Entry",formEntry:"Form Entry",testService:"Test the service",conditionSelectQuestion:"Vælg spørgsmål...",conditionValueQuestionTitle:"Indtast/vælg værdi",conditionButtonAdd:"Tilføj",conditionButtonReplace:"Erstat",conditionHelp:"Indtast et boolsk udtryk. Det skal returnere true for at holde spørgsmålet/siden synlig. For eksempel: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Indtast et udtryk. Du kan bruge krølle-parenteser for at få adgang til svarene: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Tast ctrl+space for hjælp til at afslutte udtrykket",aceEditorRowTitle:"Aktuel række",aceEditorPanelTitle:"Aktuelt panel",showMore:"Se dokumentationen for flere informationer",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Tilgængelige spørgsmål:",cellsEmptyRowsColumns:"Der skal være mindst én kolonne eller række",propertyIsEmpty:"Indtast en værdi",value:"Værdi",text:"Tekst",rowid:"Række ID",imageLink:"Billedlink",columnEdit:"Rediger kolonne: {0}",itemEdit:"Redigér: {0}",url:"URL",path:"Sti",valueName:"Værdiens navn",titleName:"Titelnavn",hasOther:"Har andet element",otherText:"Andet element tekst",name:"Navn",title:"Titel",cellType:"Celletype",colCount:"Antal kolonner",choicesOrder:"Vælg rækkefølge på valg",visible:"Er synlig?",isRequired:"Er påkrævet?",startWithNewLine:"Skal starte med ny linie?",rows:"Antal rækker",placeHolder:"Hint-tekst",showPreview:"Vises forhåndsvisning af billeder?",storeDataAsText:"Gem filindhold i JSON-resultat som tekst",maxSize:"Maksimal filstørrelse i bytes",imageHeight:"Billedhøjde",imageWidth:"Billedbredde",rowCount:"Antal rækker",columnLayout:"Kolonnelayout",addRowLocation:"Tilføj række knapplacering",addRowText:"Tilføj række knaptekst",removeRowText:"Fjern række knaptekst",minRateDescription:"Beskriv laveste vurdering",maxRateDescription:"Beskriv højeste vurdering",inputType:"Inputtype",optionsCaption:"Muligheder tekst",defaultValue:"Standardværdi",cellsDefaultRow:"Standard celletekst",surveyEditorTitle:"Rediger undersøgelsesindstillinger",qEditorTitle:"Redigér: {0}",maxLength:"Maximal længde",showTitle:"Vis/skjul titel",locale:"Standardsprog",mode:"Mode (rediger/skrivebeskyttet)",clearInvisibleValues:"Fjern usynlige værdier",cookieName:"Cookienavn (for at undgå at afvikle undersøgelsen to gange lokalt)",sendResultOnPageNext:"Send undersøgelsesresultatet ved næste side",storeOthersAsComment:"Gem 'others' værdien i et seperat felt",showPageTitles:"Vis sidetitler",showPageNumbers:"Vis sidenumre",pagePrevText:"Forrige side knaptekst",pageNextText:"Næste side knaptekst",completeText:"Færdig knaptekst",startSurveyText:"Start knaptekst",showNavigationButtons:"Vis navigationsknapper (standard navigation)",showPrevButton:"Vis forrige knap (brugeren må gå tilbage til forrige side)",firstPageIsStarted:"Den første side in undersøgelsen er starten på undersøgelsen.",showCompletedPage:"Vis afslutningssiden til slut (completedHtml)",goNextPageAutomatic:"Gå til næste side automatisk når alle spørgsmål er besvaret",showProgressBar:"Vis fremdriftslinje",questionTitleLocation:"Spørgsmålstitel placering",requiredText:"Påkrævet spørgsmålssymbol(er)",questionStartIndex:"Spørgsmål startindex (1, 2 eller 'A', 'a')",showQuestionNumbers:"Vis spørgsmålsnumre",questionTitleTemplate:"Spørgsmålstitel template, standard er: '{no}. {require} {title}'",questionErrorLocation:"Spørgsmålsfejl placering",focusFirstQuestionAutomatic:"Fokusér første spørgsmål ved sideskift",questionsOrder:"Rækkefølge af spørgsmål på siden",maxTimeToFinish:"Maximal tid til at gennemføre undersøgelsen",maxTimeToFinishPage:"Maximal tid til at gennemføre en side i undersøgelsen",showTimerPanel:"Vis tidspanel",showTimerPanelMode:"Vis tidspanel tilstand",renderMode:"Renderingstilstand",allowAddPanel:"Tillad at tilføje et panel",allowRemovePanel:"Tillad at fjerne et panel",panelAddText:"Tilføj panel tekst",panelRemoveText:"Fjern panel tekst",isSinglePage:"Vis alle elementer på én side",tabs:{general:"Generelt",fileOptions:"Indstillinger",html:"Html-editor",columns:"Kolonner",rows:"Rækker",choices:"Valgmuligheder",items:"Elementer",visibleIf:"Synlig hvis",enableIf:"Aktiv hvis",rateValues:"Bedøm-værdier",choicesByUrl:"Valgmuligheder fra Web",matrixChoices:"Standard valgmuligheder",multipleTextItems:"Tekst inputmuligheder",validators:"Valideringer",navigation:"Navigation",question:"Spørgsmål",completedHtml:"Færdig Html",loadingHtml:"Indlæser Html",timer:"Tid/Quiz",triggers:"Triggere",templateTitle:"Skabelon titel"},editProperty:"Rediger egenskab '{0}'",items:"[ Element: {0} ]",enterNewValue:"Indtast værdien.",noquestions:"Der er ingen spørgsmål i undersøgelsen.",createtrigger:"Opret en trigger",triggerOn:"På ",triggerMakePagesVisible:"Gør sider synlige:",triggerMakeQuestionsVisible:"Gør spørgsmål synlige:",triggerCompleteText:"Aflslut spørgeskema ved at fortsætte.",triggerNotSet:"Triggerer er ikke sat",triggerRunIf:"Afvikl hvis",triggerSetToName:"Ændr værdien af: ",triggerFromName:"Kopier værdi fra: ",triggerRunExpression:"Afvikl dette udtryk:",triggerSetValue:"til: ",triggerIsVariable:"Gem ikke variablen i undersøgelsesresultatet."},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals"},ew:{angular:"Benyt Angular version",jquery:"Benyt jQuery version",knockout:"Benyt Knockout version",react:"Benyt React version",vue:"Benyt Vue version",bootstrap:"For bootstrap framework",standard:"Ingen bootstrap",showOnPage:"Vis undersøgelsen på en side",showInWindow:"Vis undersøgelsen i et vindue",loadFromServer:"Hent undersøgelsen som JSON fra serveren",titleScript:"Scripts og styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Vælg siden for at teste den:"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"undersøgelse gennemført",setvaluetrigger:"sæt værdi",copyvaluetrigger:"kopiér værdi",runexpressiontrigger:"afvikl udtry",visibletrigger:"skift synlighed"},p:{name:"navn",title:{name:"titel",title:"Lad den være tom hvis det er det samme som 'Navn'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",minValue:"minimum value",maxValue:"maximum value",minLength:"minumum length",maxLength:"maximum length",allowDigits:"allow digits",minCount:"minumum count",maxCount:"maximum count",regex:"regular expression"}};i.a.locales.da=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Éditer",dropQuestion:"Déposer votre question ici.",copy:"Copier",addToToolbox:"Ajouter à la boîte à outils",deletePanel:"Supprimer le panneau",deleteQuestion:"Supprimer la question",convertTo:"Convertir en"},qt:{default:"Par défaut",checkbox:"Cases à cocher",comment:"Commentaire",imagepicker:"Choix d'image",dropdown:"Liste déroulante",file:"Fichier",html:"HTML",matrix:"Matrice (choix unique)",matrixdropdown:"Matrice (choix multiples)",matrixdynamic:"Matrice (lignes dynamiques)",multipletext:"Champ multilignes",panel:"Panneau",paneldynamic:"Panneau (panneaux dynamiques)",radiogroup:"Boutons radio",rating:"Évaluation",text:"Champ texte",boolean:"Booléen",expression:"Expression"},ed:{survey:"Questionnaire",editSurvey:"Éditer le questionnaire",settings:"Configuration du questionnaire",opjectPropertiesHeader:"Propriétés",showObjectProperties:"Afficher les propriétés",hideObjectProperties:"Cacher les propriétés",addNewPage:"Ajouter une page",moveRight:"Défiler à droite",moveLeft:"Défiler à gauche",deletePage:"Supprimer une page",editPage:"Éditer une page",edit:"Éditer",newPageName:"page",newQuestionName:"question",newPanelName:"panneau",newTextItemName:"texte",testSurvey:"Tester le questionnaire",testSurveyAgain:"Tester à nouveau le questionnaire",testSurveyWidth:"Largeur du questionnaire : ",embedSurvey:"Intégrer le questionnaire",translation:"Traduction",saveSurvey:"Sauvegarder le questionnaire",designer:"Éditeur de questionnaire",jsonEditor:"Éditer JSON",undo:"Annuler",redo:"Rétablir",options:"Options",generateValidJSON:"Générer un JSON valide",generateReadableJSON:"Générer un JSON lisible",toolbox:"Boîte à outils",toolboxGeneralCategory:"Général",delSelObject:"Supprimer l'objet sélectionné",editSelObject:"Éditer l'objet sélectionné",correctJSON:"SVP corrigez le JSON",surveyResults:"Résultat du questionnaire : ",surveyResultsTable:"Comme tableau",surveyResultsJson:"Comme JSON",resultsTitle:"Titre de la question",resultsName:"Nom de la question",resultsValue:"Valeur de la réponse",resultsDisplayValue:"Valeur affichée",modified:"Modifié",saving:"Sauvegarde en cours",saved:"Sauvegardé",saveError:"Erreur! Le contenu de l'éditeur n'a pas été sauvegardé.",translationAddLanguage:"Choisir langue à traduire",translationShowAllStrings:"Afficher tous les termes",translationShowAllPages:"Afficher toutes les pages",translationNoStrings:"Aucun terme à traduire. Veuillez modifier le filtre.",translationExportToSCVButton:"Exporter en CSV",translationImportFromSCVButton:"Importer d'un CSV",translationMergeLocaleWithDefault:"Fusionner {0} avec langue par défaut",bold:"Gras",italic:"Italique",underline:"Souligné",fpAddQuestion:"Ajouter question...",completedHtmlOnConditionItemText:"Afficher si :"},pel:{isRequired:"Obligatoire ?"},pe:{apply:"Appliquer",ok:"OK",cancel:"Annuler",reset:"Réinitialiser",close:"Fermer",delete:"Supprimer",addNew:"Ajouter un nouveau",addItem:"Cliquer pour ajouter un item...",addOther:"Autre",addSelectAll:"Tout sélectionner",addNone:"Aucun",removeAll:"Tout supprimer",edit:"Éditer",move:"Déplacer",empty:"<vide>",notEmpty:"<éditer la valeur>",fastEntry:"Ajout rapide",formEntry:"Ajout via formulaire",testService:"Tester le service",conditionSelectQuestion:"Sélectionner une question...",conditionButtonAdd:"Ajouter",conditionButtonReplace:"Remplacer",conditionHelp:'Veuillez entrer une expression booléenne. Elle doit retourner Vrai(true) pour garder la question/page visible. Par exemple: {question1} = "valeur1" or ({question2} = 3 and {question3} < 5)',expressionHelp:"Veuillez entrer une expression. Vous pouvez utiliser des accolades pour accéder aux valeurs des questions '{question1} + {question2}', '({prix}*{quantite}) * (100 - {remise})'",aceEditorHelp:"Appuyer sur Ctrl + espace pour obtenir une aide pour la saisie d'expression",aceEditorRowTitle:"Ligne courante",aceEditorPanelTitle:"Panneau courant",showMore:"Pour plus d'informations, veuillez vous référer à la documentation",assistantTitle:"Questions disponibles :",cellsEmptyRowsColumns:"Il faut au minimum une ligne ou une colonne",propertyIsEmpty:"Veuillez entrer une valeur pour la propriété",value:"Valeur",text:"Texte",rowid:"ID Ligne",imageLink:"URL de l'image",columnEdit:"Éditer la colonne: {0}",itemEdit:"Éditer l'item: {0}",url:"URL",path:"Chemin",valueName:"Nom de la valeur",titleName:"Nom du titre",hasOther:'Contient un item "Autre"',otherText:'Texte item "Autre"',hasNone:'Contient un item "Aucun"',noneText:'Texte item "Aucun"',hasSelectAll:'Contient un item "Tout sélectionner"',selectAllText:'Texte item "Tout sélectionner"',choicesMin:"Valeur minimum pour les items générés automatiquement",choicesMax:"Valeur maximum pour les items générés automatiquement",choicesStep:"Différence entre items générés automatiquement",name:"Nom",title:"Titre",cellType:"Type de cellule",colCount:"Nombre de colonnes",choicesOrder:"Sélectionner l'ordre des choix",visible:"Est visible ?",isRequired:"Est obligatoire ?",isAllRowRequired:"Réponse obligatoire pour toutes les lignes",requiredErrorText:"Message d'erreur lorsque obligatoire",startWithNewLine:"Commencer avec une nouvelle ligne ?",rows:"Nombre de lignes",placeHolder:"Placeholder (indice dans le champ)",showPreview:"L'aperçu d'image est-il affiché ?",storeDataAsText:"Stocker le contenu du fichier dans le résultat JSON sous forme de texte",maxSize:"Taille maximum du fichier en octets",imageHeight:"Hauteur de l'image",imageWidth:"Largeur de l'image",rowCount:"Nombre de lignes",addRowLocation:'Alignement bouton "Ajouter une ligne"',addRowText:'Texte bouton "Ajouter une ligne"',removeRowText:'Texte bouton "Supprimer une ligne"',rateMin:"Note minimum",rateMax:"Note maximum",rateStep:"Intervalle des notes",minRateDescription:"Description note minimum",maxRateDescription:"Description note maximum",inputType:"Type de champ",optionsCaption:"Texte par défaut",defaultValue:"Valeur par défaut",cellsDefaultRow:"Texte de cellule par défaut",surveyEditorTitle:"Éditer les préférences du questionnaire",qEditorTitle:"Éditer la question: {0}",maxLength:"Longueur maximum",showTitle:"Afficher/cacher le titre",locale:"Langue par défaut",simulator:"Choisir appareil",landscapeOrientation:"Paysage",mode:"Mode (édition/lecture seule)",clearInvisibleValues:"Effacer les valeurs invisibles",cookieName:"Nom du cookie (pour empêcher de compléter 2 fois le questionnaire localement)",sendResultOnPageNext:"Envoyer les résultats au changement de page",storeOthersAsComment:'Sauvegarder la valeur "Autres" dans un champ séparé',showPageTitles:"Afficher les titres de pages",showPageNumbers:"Afficher les numéros de pages",pagePrevText:"Texte bouton page précédente",pageNextText:"Texte bouton page suivante",completeText:"Texte bouton terminer",startSurveyText:"Texte bouton commencer",showNavigationButtons:"Afficher les boutons de navigation (navigation par défaut)",showPrevButton:"Afficher le bouton précédent (l'utilisateur pourra retourner sur la page précédente)",firstPageIsStarted:"La première page du questionnaire est une page de démarrage.",showCompletedPage:'Afficher la page "terminé" à la fin (completedHtml)',goNextPageAutomatic:"Aller à la page suivante automatiquement pour toutes les questions",showProgressBar:"Afficher la barre de progression",questionTitleLocation:"Emplacement du titre de la question",requiredText:"La question requiert un/des symbole(s)",questionStartIndex:"Index de départ de la question (1, 2 ou 'A', 'a')",showQuestionNumbers:"Afficher les numéros de questions",questionTitleTemplate:"Gabarit du titre de question, par défaut : '{no}. {require} {title}'",questionErrorLocation:"Emplacement de l'erreur",focusFirstQuestionAutomatic:"Focus sur la première question au changement de page",questionsOrder:"Ordre des éléments sur la page",maxTimeToFinish:"Temps maximum pour terminer le questionnaire",maxTimeToFinishPage:"Temps maximum pour terminer une page",showTimerPanel:"Afficher le panneau chronomètre",showTimerPanelMode:"Mode d'affichage du panneau chronomètre",renderMode:"Mode de rendu",allowAddPanel:"Autoriser l'ajout du panneau",allowRemovePanel:"Autoriser la suppression du panneau",panelAddText:"Ajouter un panneau texte",panelRemoveText:"Supprimer le panneau texte",isSinglePage:"Afficher tous les éléments sur une seule page",expression:"Expression",minValue:"Valeur minimum",maxValue:"Valeur maximum",minLength:"Longueur minimum",allowDigits:"Permettre chiffres",minCount:"Nombre minimum",maxCount:"Nombre maximum",regex:"Expression régulière",tabs:{general:"Général",fileOptions:"Options",html:"Éditeur HTML",columns:"Colonnes",rows:"Lignes",choices:"Choix",visibleIf:"Visible si",enableIf:"Actif si",requiredIf:"Requis si",rateValues:"Barème",choicesByUrl:"Choix depuis API web",matrixChoices:"Choix par défaut",multipleTextItems:"Champs texte multiples",validators:"Validateurs",navigation:"Navigation",question:"Question",completedHtml:"HTML de fin",completedHtmlOnCondition:"HTML de fin avec condition",loadingHtml:"HTML de chargement",timer:"Chronomètre/Quiz",calculatedValues:"Variables",triggers:"Déclencheurs",templateTitle:"Titre de gabarit",totals:"Totaux"},editProperty:'Éditer la propriété "{0}"',items:"[ Éléments: {0} ]",enterNewValue:"Veuillez saisir la valeur.",noquestions:"Il n'y a aucune question dans le questionnaire.",createtrigger:"Veuillez créer un déclencheur",triggerOn:"Quand ",triggerMakePagesVisible:"Rendre les pages visibles :",triggerMakeQuestionsVisible:"Rendre les questions visibles :",triggerCompleteText:"Terminer le questionnaire en cas de succès.",triggerNotSet:"Le déclencheur n'est pas défini",triggerRunIf:"Exécuter si",triggerSetToName:"Changer la valeur de : ",triggerFromName:"Copier la valeur de : ",triggerRunExpression:"Exécuter cette expression :",triggerSetValue:"à : ",triggerGotoName:"Aller à la question :",triggerIsVariable:"Ne placez pas la variable dans le résultat du questionnaire.",triggerRunExpressionEmpty:"Veuillez entrer une expression valide"},pv:{true:"vrai",false:"faux",inherit:"hérité",show:"afficher",hide:"masquer",default:"par défaut",initial:"initial",random:"aléatoire",collapsed:"replié",expanded:"déployé",none:"aucun",asc:"ascendant",desc:"descendant",indeterminate:"indeterminé",decimal:"décimal",currency:"monnaie",percent:"pourcentage",firstExpanded:"déployé en premier",off:"désactivé",onPanel:"panneau",onSurvey:"questionnaire",list:"liste",progressTop:"Progression en haut",progressBottom:"Progression en bas",progressTopBottom:"Progression en haut et en bas",top:"haut",bottom:"bas",topBottom:"haut et bas",left:"gauche",color:"couleur",date:"date",datetime:"heure","datetime-local":"heure locale",email:"email",month:"mois",number:"nombre",password:"mot de passe",range:"jauge",tel:"tél.",text:"texte",time:"heure",url:"URL",week:"semaine",hidden:"masqué",on:"activé",onPage:"page",edit:"éditer",display:"affichage",onComplete:"onComplete",onHidden:"onHidden",all:"tous",page:"page",survey:"questionnaire"},op:{empty:"est vide",notempty:"n'est pas vide",equal:"égal",notequal:"n'est pas égal",contains:"contient",notcontains:"ne contient pas",anyof:"n'importe quel de",allof:"tout de",greater:"supérieur",less:"inférieur",greaterorequal:"supérieur ou égal",lessorequal:"inférieur ou égal"},ew:{angular:"Utiliser la version Angular",jquery:"Utiliser la version jQuery",knockout:"Utiliser la version Knockout",react:"Utiliser la version React",vue:"Utiliser la version Vue",bootstrap:"Pour le framework Bootstrap",standard:"Sans Bootstrap",showOnPage:"Afficher le questionnaire dans une page",showInWindow:"Afficher le questionnaire dans une fenêtre",loadFromServer:"Charger le JSON du questionnaire depuis un serveur",titleScript:"Scripts et styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Sélectionner une page pour la tester",showInvisibleElements:"Afficher les éléments invisibles"},validators:{answercountvalidator:"total de réponses",emailvalidator:"e-mail",numericvalidator:"numérique",regexvalidator:"regex",textvalidator:"texte"},triggers:{completetrigger:"terminer le questionnaire",setvaluetrigger:"définir la valeur",copyvaluetrigger:"copier la valeur",skiptrigger:"sauter à la question",runexpressiontrigger:"exécuter expression",visibletrigger:"modifier la visibilité"},p:{name:"Nom",title:{name:"Titre",title:'Laissez vide, si même texte que le "Nom"'},navigationButtonsVisibility:"Visibilité des boutons de navigation",questionsOrder:"Ordre des questions",maxTimeToFinish:"Temps maximum pour terminer",visible:"Visible",visibleIf:"Visible si ",questionTitleLocation:"Emplacement titre question",description:"Description",state:"État",isRequired:"Obligatoire ?",requiredErrorText:"Message d'erreur text obligatoire",startWithNewLine:"Commencer avec une nouvelle ligne",innerIndent:"Indentation",page:"page",width:"largeur",commentText:"Description champ commentaire",valueName:"Nom de la valeur",enableIf:"Activer si",defaultValue:"Valeur par défaut",correctAnswer:"Bonne réponse",readOnly:"Lecture seule",validators:"Validateurs",titleLocation:"Emplacement du titre",hasComment:"Champ commentaire ?",hasOther:"Choix autre ?",choices:"Choix",choicesOrder:"Ordre des choix",choicesByUrl:"Choix par API",otherText:"Autre texte",otherErrorText:'Texte d\'erreur champ "Autre"',storeOthersAsComment:"Sauvegarder choix autre comme commentaire",label:"Intitulé",showTitle:"Afficher le titre",valueTrue:"Valeur vrai",valueFalse:"Valeur faux",cols:"Colonnes",rows:"Nombre de lignes",placeHolder:"PlaceHolder (indice dans le champ)",optionsCaption:"Texte par défaut",expression:"Expression",format:"Format",displayStyle:"Style d'affichage",currency:"Monnaie",useGrouping:"Utiliser les groupes",showPreview:"Voir la prévisualisation",allowMultiple:"Autoriser multiples",imageHeight:"Hauteur de l'image",imageWidth:"Largeur de l'image",storeDataAsText:"Stocker les données comme du texte",maxSize:"Taille maximum",html:"HTML",columns:"Colonnes",cells:"Cellules",horizontalScroll:"Scroll horizontal",cellType:"Type de cellule",columnColCount:"Nombre de colonnes",columnMinWidth:"Largeur minimale des colonnes",rowCount:"Nombre de lignes",minRowCount:"Nombre de lignes minimum",maxRowCount:"Nombre de lignes maximum",keyName:"Nom de la clé",keyDuplicationError:"Erreur de clés multiples",confirmDelete:"Confirmation de suppression",confirmDeleteText:"Texte de confirmation de suppression",addRowText:"Bouton ajouter une ligne",removeRowText:"Bouton supprimer une ligne",items:"Items",itemSize:"Nombre maximum de caractères",colCount:"Nombre de colonnes",templateTitle:"Titre de gabarit",templateDescription:"Description du gabarit",allowAddPanel:"Autoriser l'ajout de panneau",allowRemovePanel:"Autoriser la suppression de panneau",panelCount:"Nombre de panneaux",minPanelCount:"Nombre minimum de panneaux",maxPanelCount:"Nombre maximum de panneaux",panelsState:"État des panneaux",panelAddText:"Texte d'ajout des panneaux",panelRemoveText:"Texte de suppression des panneaux",panelPrevText:"Texte panneau précédent",panelNextText:"Texte panneau suivant",showQuestionNumbers:"Numérotation des questions",showRangeInProgress:"Afficher la progression",renderMode:"Mode de rendu",templateTitleLocation:"Emplacement du titre de gabarit",rateValues:"Barème",rateMin:"Valeur minimum",rateMax:"Valeur maximum",rateStep:"Pas",minRateDescription:"Description note minimum",maxRateDescription:"Description note maximum",inputType:"Type de champ",size:"Nombre maximum de caractères",focusFirstQuestionAutomatic:"Focus automatique sur la première question",completedHtml:"HTML questionnaire finalisé",completedBeforeHtml:"HTML avant complétion du questionnaire",loadingHtml:"HTML de chargement",triggers:"Déclencheurs",cookieName:"Nom du cookie",sendResultOnPageNext:"Envoyer les résultats au changement de page",showNavigationButtons:"Boutons de navigation",showPrevButton:"Afficher le bouton précédent",showPageTitles:"Titre des pages",showCompletedPage:"Voir la page formulaire complété ?",showPageNumbers:"Numérotation des pages",questionErrorLocation:"Emplacement des erreurs",showProgressBar:"Barre de progression",mode:"Mode d'affichage",goNextPageAutomatic:"Aller à la page suivante automatiquement",clearInvisibleValues:"Cacher les valeurs invisibles",startSurveyText:"Texte de démarrage du questionnaire",pagePrevText:"Bouton page précédente",pageNextText:"Bouton page suivante",completeText:"Texte questionnaire finalisé",requiredText:"Texte pour les champs obligatoires",questionStartIndex:"Index de numérotation des questions",questionTitleTemplate:"Template d'affichage des questions",firstPageIsStarted:"Commence à la première page",isSinglePage:"Affiché sur une page",maxTimeToFinishPage:"Temps maximum pour finir la page",showTimerPanel:"Afficher le panneau chronomètre",showTimerPanelMode:"Mode d'affichage du panneau chronomètre",indent:"Indentation",isAllRowRequired:"Toutes les lignes sont-elle obligatoires ?",locale:"Langue"}};i.a.locales.fr=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Bearbeiten",dropQuestion:"Frage bitte hier platzieren.",copy:"Kopieren",addToToolbox:"Zur Werkzeugleiste hinzufügen",deletePanel:"Panel löschen",deleteQuestion:"Frage löschen"},qt:{checkbox:"Checkbox",comment:"Kommentar",dropdown:"Aufklappmenü",file:"Datei",html:"Html",matrix:"Matrix (einfache Auswahl)",matrixdropdown:"Matrix (mehrfache Auswahl)",matrixdynamic:"Matrix (dynamische Zeilen)",multipletext:"Mehrzeiliger Text",panel:"Panel",paneldynamic:"Panel (dynamische Panels)",radiogroup:"Radiogruppe",rating:"Bewertung",text:"Einfache\tEingabe",boolean:"Boolean"},ed:{survey:"Umfrage",addNewPage:"Neue Seite hinzufügen",newPageName:"Seite",newQuestionName:"Frage",newPanelName:"Panel",testSurvey:"Testumfrage",testSurveyAgain:"Testumfrage wiederholen",testSurveyWidth:"Umfragebreite: ",embedSurvey:"Umfrage einfügen",saveSurvey:" Umfrage speichern",designer:"Umfrage Designer",jsonEditor:"JSON Editor",undo:"Rückgängig",redo:"Wiederherstellen",options:"Optionen",generateValidJSON:"Generiere gültiges JSON",generateReadableJSON:"Generiere lesbares JSON",toolbox:"Werkzeugleiste",delSelObject:"Lösche markiertes Objekt",correctJSON:"Bitte JSON korrigieren.",surveyResults:"Umfrageergebnis: "},pel:{isRequired:"Erforderlich?"},pe:{apply:"Anwenden",ok:"OK",cancel:"Abbrechen",reset:"Zurücksetzen",close:"Schliessen",delete:"Löschen",addNew:"Neu hinzufügen",removeAll:"Alles löschen",edit:"Bearbeiten",empty:"<leer>",fastEntry:"Schnell-Eintrag",formEntry:"Formular-Eintrag",testService:"Service testen",expressionHelp:"Bitte geben Sie eine booleschen Ausdruck ein. Es muss 'true' retournieren um die Frage/Seite anzuzeigen. zum Beispiel: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",propertyIsEmpty:"Bitte geben Sie einen Wert ein",value:"Wert",text:"Text",columnEdit:"Spalte bearbeiten: {0}",itemEdit:"Element bearbeiten: {0}",hasOther:"Hat ein anderes Element",name:"Name",title:"Titel",cellType:"Zellentyp",colCount:"Spaltenanzahl",choicesOrder:"Wähle Auswahlreihenfolge",visible:"Ist es sichtbar?",isRequired:"Ist es erforderlich?",startWithNewLine:"In neuer Zeile beginnen?",rows:"Zeilenanzahl",placeHolder:"Platzhalter eingeben",showPreview:"Wird eine Bildvorschau angezeigt?",storeDataAsText:"Speicher Dateininhalt des JSON-Resultats als Text",maxSize:"Maximale Dateigrösse in Bytes",imageHeight:"Bildhöhe",imageWidth:"Bildbreite",rowCount:"Zeilenanzahl",addRowText:"Zeilenknopftext hinzufügen",removeRowText:"Zeilenknopftext löschen",minRateDescription:"Bewertungsbeschreibung minimieren",maxRateDescription:"Bewertungsbeschreibung maximieren",inputType:"Eingabetyp",optionsCaption:"Auswahlbeschriftung",qEditorTitle:"Frage bearbeiten: {0}",tabs:{general:"Allgemein",fileOptions:"Optionen",html:"Html Editor",columns:"Spalten",rows:"Zeilen",choices:"Auswahlmöglichkeiten",visibleIf:"Sichtbar wenn",rateValues:"Bewertungswerte",choicesByUrl:"Auswahlmöglichkeiten vom Internet",matrixChoices:"Standardauswahl",multipleTextItems:"Texteingabe",validators:"Überprüfung"},editProperty:"Eigenschaft bearbeiten '{0}'",items:"[ Gegenstand: {0} ]",enterNewValue:"Bitte einen Wert eingeben.",noquestions:"Die Umfrage enthält keine Frage.",createtrigger:"Bitte einen Trigger eingeben.",triggerOn:"Ein ",triggerMakePagesVisible:"Seiten sichtbar machen:",triggerMakeQuestionsVisible:"Elemente sichtbar machen:",triggerCompleteText:"Bei Erfolg die Umfrage abschliessen.",triggerNotSet:"Kein Trigger eingerichtet",triggerRunIf:"Ausführen wenn",triggerSetToName:"Ändere Wert von: ",triggerSetValue:"auf: ",triggerIsVariable:"Variable nicht im Umfrageergebnis einbinden."},pv:{true:"true",false:"false"},op:{empty:"ist leer",notempty:"ist nicht leer",equal:"ist gleich",notequal:"ist ungleich",contains:"enthält",notcontains:"enthält nicht",greater:"grösser als",less:"kleiner als",greaterorequal:"grösser oder kleiner als",lessorequal:"kleiner oder ist gleich"},ew:{angular:"Angular-Version benutzen",jquery:"jQuery-Version benutzen",knockout:"Knockout-Version benutzen",react:"React-Version benutzen",vue:"Vue-Version benutzen",bootstrap:"Als Bootstrap Framework",standard:"Kein Bootstrap",showOnPage:"Zeige Umfrage auf Seite",showInWindow:"Zeige Umfrage als Fenster",loadFromServer:"Lade Umfrage als JSON vom Server",titleScript:"Skripte und Styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},validators:{answercountvalidator:"Anzahl Antworten",emailvalidator:"E-Mail",numericvalidator:"numerisch",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"Umfrage abschliessen",setvaluetrigger:"Wert setzen",visibletrigger:"Sichtbarkeit ändern"},p:{name:"Name",title:{name:"Titel",title:"Bitte leer lassen, falls gleich wie 'Name'"},survey_title:{name:"Titel",title:"Wird auf jeder Seite angezeigt."},page_title:{name:"title",title:"Seitentitel"}}};i.a.locales.de=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Szerkesztés",externalHelpLink:"Nézze meg, hogyan kell kérdőíveket készíteni.",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Kérem dobjon ide egy kérdést a bal oldali menüből.",copy:"Másolás",addToToolbox:"Hozzáadás az eszköztárhoz",deletePanel:"Panel eltávolítása",deleteQuestion:"Kérdés eltávolítása",convertTo:"Konvertálás",drag:"Elem mozgatása"},qt:{default:"Alapértelmezett",checkbox:"Jelölőnégyzet",comment:"Megjegyzés",imagepicker:"Képválasztó",dropdown:"Legördülő",file:"Állomány",html:"HTML",matrix:"Mátrix (egyválasztós)",matrixdropdown:"Mátrix (többválasztós)",matrixdynamic:"Mátrix (dinamikus)",multipletext:"Többsoros szöveg",panel:"Panel",paneldynamic:"Panel (dinamikus)",radiogroup:"Választógomb",rating:"Értékelés",text:"Egysoros szöveg",boolean:"Igaz-hamis",expression:"Kifejezés (csak olvasható)",flowpanel:"Folyamat"},ed:{defaultLocale:"Alapértelmezett ({0})",survey:"Kérdőív",settings:"Kérdőívbeállítások",opjectPropertiesHeader:"Haladó",showObjectProperties:"Tulajdonságok mutatása",hideObjectProperties:"Tulajdonságok elrejtése",editSurvey:"Kérdőív szerkesztése",addNewPage:"Új lap felvétele",moveRight:"Görgetés jobbra",moveLeft:"Görgetés balra",deletePage:"Lap eltávolítása",editPage:"Lap szerkesztése",edit:"Szerkesztés",newPageName:"lap",newQuestionName:"kérdés",newPanelName:"panel",newTextItemName:"szöveg",testSurvey:"Próba",testSurveyAgain:"Próba ismét",testSurveyWidth:"Kérdőív szélessége: ",embedSurvey:"Kérdőív beágyazása",translation:"Fordítás",saveSurvey:"Kérdőív mentése",designer:"Kérdőívtervező",jsonEditor:"JSON szerkesztő",undo:"Mégse",redo:"Ismét",options:"Beállítások",generateValidJSON:"Érvényes JSON generálása",generateReadableJSON:"Olvasható JSON generálása",toolbox:"Eszköztár",toolboxGeneralCategory:"Általános",delSelObject:"Kijelölt elem eltávolítása",editSelObject:"Kijelölt elem szerkesztése",correctJSON:"Kérem javítsa a JSON-t.",surveyResults:"Kérdőív eredménye: ",surveyResultsTable:"Táblaként",surveyResultsJson:"JSON-ként",resultsTitle:"Kérdés címe",resultsName:"Kérdés megnevezése",resultsValue:"Válasz értéke",resultsDisplayValue:"Kijelzett értéke",modified:"Módosított",saving:"Mentés folyamatban",saved:"Mentve",saveError:"Hiba! A szerkesztő értéke nem került mentésre.",translationAddLanguage:"Válasszon egy nyelvet a fordításhoz.",translationShowAllStrings:"Összes szöveg mutatása",translationShowAllPages:"Összes lap mutatása",translationNoStrings:"Nincs fordítható szöveg. Kérem változtasson a szűrési feltételeken.",translationExportToSCVButton:"Mentés CSV-ként",translationImportFromSCVButton:"Betöltés CSV-ből.",translationMergeLocaleWithDefault:"{0} összefűzése az alapértelmezett szöveggel.",bold:"Félkövér",italic:"Dőlt",underline:"Aláhúzott",fpAddQuestion:"Kérdés felvétele...",completedHtmlOnConditionItemText:"Mutatás ha:"},pel:{isRequired:"Kötelező?"},pe:{apply:"Alkalmaz",ok:"OK",cancel:"Mégsem",reset:"Visszaállítás",close:"Bezárás",delete:"Eltávolítás",addNew:"Új felvétele",addItem:"Kattintson egy elem felvételéhez...",addOther:"Egyéb",addSelectAll:"Összes kijelölése",addNone:"Semmi",removeAll:"Összes eltávolítása",edit:"Szerkesztés",itemValueEdit:"Látható ha",editChoices:"Lehetőségek szerkesztése",move:"Mozgatás",empty:"<üres>",notEmpty:"<érték szerkesztése>",fastEntry:"Gyors felvétel",formEntry:"Felvétel űrlappal",testService:"Szolgáltatás tesztelése",conditionSelectQuestion:"Válasszon kérdést...",conditionValueQuestionTitle:"Kérem adjon meg, vagy válasszon értéket",conditionButtonAdd:"Felvétel",conditionButtonReplace:"Csere",conditionHelp:"Kérem adjon meg egy igaz-hamis kifejezést. Igaz visszatérési értékkel kell rendelkeznie, hogy a kérdés vagy a lap látható maradjon. Például: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Kérem adjon meg egy kifejezést. Használjon kapcsos zárójeleket, hogy elérje a kérdések aktuális értékét. Például: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Nyomja meg a ctrl+space billentyűkombinációt a kifejezés befejezésére vonatkozó segítségért.",aceEditorRowTitle:"Jelenlegi sor",aceEditorPanelTitle:"Jelenlegi panel",showMore:"További információért kérem tekintse meg a dokumentációt",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Elérhető kérdések:",cellsEmptyRowsColumns:"Legalább egy sornak vagy egy oszlopnak lennie kell",propertyIsEmpty:"Kérem adjon meg egy értéket",value:"Érték",text:"Szöveg",rowid:"Sor ID",imageLink:"Kép URL",columnEdit:"Oszlop szerkesztése: {0}",itemEdit:"Elem szerkesztése: {0}",url:"URL",path:"Útvonal",valueName:"Érték megnevezése",titleName:"Cím megnevezése",hasOther:"Rendelkezik egyéb értékkel",otherText:"Az egyéb érték szövege",name:"Megnevezés",title:"Cím",cellType:"Cellatípus",colCount:"Oszlopok száma",choicesOrder:"Válassza ki a lehetőséget rendezését",visible:"Látható?",isRequired:"Kötelező?",startWithNewLine:"Új sorban kezdődik?",rows:"Sorok száma",placeHolder:"Mező kitöltőszövege",showPreview:"A kép előnézete látható?",storeDataAsText:"Az állomány tartalmát tárolja a JSON-ben, szövegként",maxSize:"Maximális állományméret byte-ban",imageHeight:"Kép magassága",imageWidth:"Kép szélessége",rowCount:"Sorok száma",columnLayout:"Oszlopok elrendezése",addRowLocation:"'Új sor felvétele' gomb elhelyezése",addRowText:"'Új sor felvétele' gomb szövege",removeRowText:"'Sor eltávolítása' gomb szövege",rateMin:"Legkisebb szorzó",rateMax:"Legnagyobb szorzó",rateStep:"Szorzó lépésköze",minRateDescription:"Legkisebb szorzó leírása",maxRateDescription:"Legnagyobb szorzó leírása",inputType:"Mező típusa",optionsCaption:"Beállítások felirata",defaultValue:"Alapértelmezett érték",cellsDefaultRow:"Cellák alapértelmezett szövege",surveyEditorTitle:"Kérdőív beállításainak módosítása",qEditorTitle:"Szerkesztés: {0}",maxLength:"Maximális hossz",showTitle:"Cím mutatása/elrejtése",locale:"Alapértelmezett nyelv",mode:"Mód (szerkesztés/megtekintés)",clearInvisibleValues:"Nemlátható értékek törlése",cookieName:"Süti megnevezése (a kérdőív csak egyszer kitölthető)",sendResultOnPageNext:"Kérdőív értékének küldése a következő lapra lépéskor",storeOthersAsComment:"Az 'egyéb' mező értékének tárolása külön mezőben",showPageTitles:"Lapok címének mutatása",showPageNumbers:"Lapok számának mutatása",pagePrevText:"'Előző lap' gomb felirata",pageNextText:"'Következő lap' gomb felirata",completeText:"'Befejezés' gomb felirata",startSurveyText:"'Kezdés' gomb felirata",showNavigationButtons:"Navigációs gombok mutatása (alapértelmezett navigáció)",showPrevButton:"'Előző lap' gomb mutatása",firstPageIsStarted:"Az megkezdett lap a kérdőív első oldala.",showCompletedPage:"Befejező szöveg mutatása a kérdőív befejezésekor",goNextPageAutomatic:"Minden kérdés megválaszolásakor automatikusan a következő lapra lépés",showProgressBar:"Előrehaladás-mutató megjelenítése",questionTitleLocation:"Kérdés címének helye",requiredText:"Kötelező szimbólum",questionStartIndex:"Kérdés kezdőindexe (1, 2 vagy 'A', 'a')",showQuestionNumbers:"Kérdés számának mutatása",questionTitleTemplate:"Kérdés címének sablonja: '{szám}. {kötelező} {cím}'",questionErrorLocation:"Kérdés hibaüzenetének helyzete",focusFirstQuestionAutomatic:"Első kérdés automatikus kijelölése lapváltás esetén",questionsOrder:"Elemek rendezése a lapon",maxTimeToFinish:"A kérdőív kitöltésére fordítható maximális idő",maxTimeToFinishPage:"Egy lap kitöltésére fordítható maximális idő",showTimerPanel:"Időzító mutatása",showTimerPanelMode:"Időzító módja",renderMode:"Megjelenítés módja",allowAddPanel:"Új panel hozzáadásának engedélyezése",allowRemovePanel:"Panel eltávolításának engedélyezése",panelAddText:"'Új panel felvétele' gomb szövege",panelRemoveText:"'Panel eltávolítása' gomb szövege",isSinglePage:"Minden elem mutatása egy lapon",html:"HTML",expression:"Kifejezés",minValue:"Minimális érték",maxValue:"Maximális érték",minLength:"Minimális hossz",allowDigits:"Számjegyek engedélyezése",minCount:"Minimális darabszám",maxCount:"Maximális darabszám",regex:"Reguláris kifejezés",tabs:{general:"Általános",fileOptions:"Beállítások",html:"HTML szerkesztő",columns:"Oszlopok",rows:"Sorok",choices:"Lehetőségek",items:"Elemek",visibleIf:"Látható ha",enableIf:"Engedélyezve ha",requiredIf:"Kötelező ha",rateValues:"Szorzó értékek",choicesByUrl:"Lehetőségek a webről",matrixChoices:"Alapértelmezett lehetőségek",multipleTextItems:"Szövegmezők",validators:"Validátorok",navigation:"Navigáció",question:"Kérdés",completedHtml:"Befejező szöveg (HTML)",completedHtmlOnCondition:"Befejző szöveg mutatásának feltétele",loadingHtml:"Betöltő szöveg (HTML)",timer:"Időzítő/Kvíz",triggers:"Eseményvezérlők",templateTitle:"Sablon címe"},editProperty:"Tulajdonság szerkesztése '{0}'",items:"[ Elemek: {0} ]",enterNewValue:"Kérem, adja meg az értéket.",noquestions:"Nincsenek kérdések a kérdőívben.",createtrigger:"Kérem hozzon létre egy eseményvezérlőt",triggerOn:"Be ",triggerMakePagesVisible:"Lapok láthatóvá tétele:",triggerMakeQuestionsVisible:"Elemek láthatóvá tétele:",triggerCompleteText:"Kérdőív befejezése, ha sikeres.",triggerNotSet:"Nincs eseménykezelő beállítva",triggerRunIf:"Futtatás ha",triggerSetToName:"A következő értékének cseréje: ",triggerFromName:"A következő értékének másolása: ",triggerRunExpression:"A következő kifejezés futtatása:",triggerSetValue:"erre: ",triggerIsVariable:"Ne mentse az eredményt a kérdőív eredményébe."},pv:{true:"igaz",false:"hamis",inherit:"öröklött",show:"mutatás",hide:"elrejtés",default:"alapértelmezett",initial:"kezdeti",random:"véletlen",collapsed:"csukott",expanded:"nyitott",none:"semmi",asc:"növekvő",desc:"csökkenő",indeterminate:"határozatlan",decimal:"deimális",currency:"pénz",percent:"százalék",firstExpanded:"első nyitva",off:"ki",onPanel:"a panelen",onSurvey:"a kérdőíven",list:"lista",progressTop:"felül",progressBottom:"alul",progressTopBottom:"alül és felül",horizontal:"horizontális",vertical:"vertikális",top:"fent",bottom:"lent",topBottom:"fent és lent",left:"bal",color:"szín",date:"dátum",datetime:"dátum és idő","datetime-local":"helyi dátum és idő",email:"email",month:"hónap",number:"szám",password:"jelszó",range:"intervallum",tel:"telefon",text:"szöveg",time:"idő",url:"URL",week:"hét",hidden:"rejtett",on:"be",onPage:"a lapon",edit:"szerkesztés",display:"mutatás",onComplete:"befejezéskor",onHidden:"eltűnéskor",all:"összes",page:"lap",survey:"kérdőív",onNextPage:"a következő lapra lépéskor",onValueChanged:"az érték változásakor"},op:{empty:"üres",notempty:"nem üres",equal:"megegyezik",notequal:"nem egyezik meg",contains:"tartalmazza",notcontains:"nem tartalmazza",greater:"nagyobb mint",less:"kisebb mint",greaterorequal:"nagyobb vagy egyenlő",lessorequal:"kisebb vagy egyenlő"},ew:{angular:"Angular verzió használata",jquery:"jQuery verzió használata",knockout:"Knockout verzió használata",react:"React verzió használata",vue:"Vue verzió használata",bootstrap:"Használat Bootstrap frameworkkel",standard:"Használat Bootstrap framework nélkül",showOnPage:"Kérdőív mutatása a lapon",showInWindow:"Kérdőív mutatása egy ablakban",loadFromServer:"Kérdőív JSON betöltése a szerverről",titleScript:"Szkriptek és stíluslapok",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Válassza ki a tesztelni kívánt lapot:",showInvisibleElements:"Nemlátható elemek megjelnítése"},validators:{answercountvalidator:"válaszok száma",emailvalidator:"e-mail",expressionvalidator:"kifejezés",numericvalidator:"szám",regexvalidator:"reguláris kifejezés",textvalidator:"szöveg"},triggers:{completetrigger:"kérdőív befejezése",setvaluetrigger:"érték beállítása",copyvaluetrigger:"érték másolása",runexpressiontrigger:"kifejezés futtatása",visibletrigger:"láthatóság megváltoztatása (már nincs használatban)"},p:{name:"Megnevezés",title:{name:"Cím",title:"Hagyja üresen, ha megegyezik a 'Megnevezés'-el"},navigationButtonsVisibility:"Navigációs gombok láthatósága",questionsOrder:"Kérdések rendezése",maxTimeToFinish:"Kitöltése fordítható maximális idő",visible:"Látható",visibleIf:"Látható ha",questionTitleLocation:"Kérdés címének elhelyezése",description:"Leírás",state:"Állapot",isRequired:"Kötelező",requiredIf:"Kötelező ha",indent:"Bekezdés",requiredErrorText:"Kötelező hibaüzenet",startWithNewLine:"Új sorban kezdődik",innerIndent:"Belső bekezdés",page:"Lap",width:"Szélesség",commentText:"Megjegyzés szövege",valueName:"Érték megnevezése",enableIf:"Engedélyezve ha",defaultValue:"Alapértelmezett érték",correctAnswer:"Helyes érték",readOnly:"Csak olvasható",validators:"Validátorok",titleLocation:"Cím elhelyezése",hasComment:"Van megjegyzés",hasOther:"Van 'egyéb'",choices:"Lehetőségek",choicesOrder:"Lehetőségek rendezése",choicesByUrl:"Lehetőségek a webről",otherText:"'Egyéb' szöveg",otherErrorText:"'Egyéb' hibaüzenet",storeOthersAsComment:"'Egyéb' tárolása megjegyzésként",label:"Cimke",showTitle:"Cím mutatása",valueTrue:"Érték igaz",valueFalse:"Érték hamis",cols:"Oszlopok",rows:"Sorok",placeHolder:"Helykitöltő",optionsCaption:"'Beállítások' felirata",expression:"Kifejezés",format:"Formátum",displayStyle:"Megjelenítés stílusa",currency:"Pénz",useGrouping:"Csoportosítás",showPreview:"Előnézet mutatása",allowMultiple:"Több engedélyezése",imageHeight:"Kép magassága",imageWidth:"Kép szélessége",storeDataAsText:"'Egyéb' tárolása szövegként",maxSize:"Maximális méret",html:"HTML",columns:"Oszlopok",cells:"Cellák",isAllRowRequired:"Minden sor kötelező",horizontalScroll:"Horizontális görgetés",cellType:"Cellatípus",columnsLayout:"Oszlopok elrendezése",columnColCount:"Oszlopok száma",columnMinWidth:"Oszlop minimális szélessége",rowCount:"Sorok száma",minRowCount:"Sorok minimális száma",maxRowCount:"Sorok maximális száma",keyName:"Kulcs megnevezése",keyDuplicationError:"Kulcs duplikációs hibaüzenete",confirmDelete:"Eltávolítás megerősítése",confirmDeleteText:"Eltávolíáts megerősítése kérdés",addRowLocation:"'Új sor felvétele' gomb elhelyezése",addRowText:"'Új sor felvétele' gomb szövege",removeRowText:"'Sor eltávolítása' gomb szövege",items:"Elemek",itemSize:"Elem mérete",colCount:"Oszlopok száma",templateTitle:"Sablon címe",templateDescription:"Sablon leírása",allowAddPanel:"Új panel felvételének engedélyezése",allowRemovePanel:"Panel eltávolításának engedélyezése",panelCount:"Panelek száma",minPanelCount:"Panelek minimális száma",maxPanelCount:"Panelek maximális száma",panelsState:"Panelek állapota",panelAddText:"'Új panel felvétele' gomb szövege",panelRemoveText:"'Panel eltávolítása' gomb szövege",panelPrevText:"'Előző panel' gomb szövege",panelNextText:"'Következő panel' szövege",showQuestionNumbers:"Kérdés számának mutatása",showRangeInProgress:"Előrehaladás-mutató ",renderMode:"Megjelenítés módja",templateTitleLocation:"Sablon címének elhelyezése",rateValues:"Szorzó értékek",rateMin:"Legkisebb szorzó",rateMax:"Legnagyobb szorzó",rateStep:"Szorzó lépésköze",minRateDescription:"Legkisebb szorzó leírása",maxRateDescription:"Legnagyobb szorzó leírása",inputType:"Mező típusa",size:"Méret",locale:"Alapértelmezett nyelv",focusFirstQuestionAutomatic:"Első kérdés automatikus kijelölése lapváltás esetén",completedHtml:"Befejező szöveg (HTML)",completedBeforeHtml:"Befejezés előtti szöveg (HTML)",loadingHtml:"Betöltő szöveg (HTML)",triggers:"Eseményvezérlők",cookieName:"Süti megnevezése",sendResultOnPageNext:"Kérdőív értékének küldése a következő lapra lépéskor",showNavigationButtons:"Navigációs gombok mutatása (alapértelmezett navigáció)",showPrevButton:"'Előző lap' gomb mutatása",showPageTitles:"Lapok címének mutatása",showCompletedPage:"Befejező szöveg mutatása a kérdőív befejezésekor",showPageNumbers:"Lapok számának mutatása",questionErrorLocation:"Kérdés hibaüzenetének helyzete",showProgressBar:"Előrehaladás-mutató megjelenítése",mode:"Mód (szerkesztés/megtekintés)",goNextPageAutomatic:"Minden kérdés megválaszolásakor automatikusan a következő lapra lépés",checkErrorsMode:"Hibavizsgálat",clearInvisibleValues:"Nemlátható értékek törlése",startSurveyText:"'Kezdés' gomb felirata",pagePrevText:"'Előző lap' gomb felirata",pageNextText:"'Következő lap' gomb felirata",completeText:"'Befejezés' gomb felirata",requiredText:"Kötelező szimbólum",questionStartIndex:"Kérdés kezdőindexe (1, 2 vagy 'A', 'a')",questionTitleTemplate:"Kérdés címének sablonja: '{szám}. {kötelező} {cím}'",firstPageIsStarted:"Az megkezdett lap a kérdőív első oldala.",isSinglePage:"Minden elem mutatása egy lapon",maxTimeToFinishPage:"Egy lap kitöltésére fordítható maximális idő",showTimerPanel:"Időzítő mutatása",showTimerPanelMode:"Időzítő módja",defaultPanelValue:"Panel alapértelmezett értéke",defaultRowValue:"Sor alapértelmezett értéke",hasNone:"Lehet üres",noneText:"Üres szöveg",text:"Szöveg"}};i.a.locales.hu=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Ubah",externalHelpLink:"Tonton dan pelajari cara membuat survei",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"Silahkan letakkan pertanyaan di sini dari Kotak Perkakas di sebelah kiri.",copy:"Salin",addToToolbox:"Tambahkan ke Kotak Perkakas",deletePanel:"Hapus Panel",deleteQuestion:"Hapus Pertanyaan",convertTo:"Mengubah ke",drag:"Tarik elemen"},qt:{default:"Default",checkbox:"Kotak Centang",comment:"Komentar",imagepicker:"Gambar",dropdown:"Kotak Kombo",file:"Berkas",html:"Html",matrix:"Matriks (pilihan tunggal)",matrixdropdown:"Matriks (pilihan ganda)",matrixdynamic:"Matriks (baris dinamis)",multipletext:"Teks Ganda",panel:"Panel",paneldynamic:"Panel (panel dinamis)",radiogroup:"Pilihan Ganda",rating:"Peringkat",text:"Input Tunggal",boolean:"Boolean",expression:"Ekspresi (dibaca saja)",flowpanel:"Panel Aliran"},ed:{defaultLocale:"Default ({0})",survey:"Survei",settings:"Pengaturan Survei",opjectPropertiesHeader:"Lanjutan",showObjectProperties:"Tampilkan Properti Obyek",hideObjectProperties:"Sembunyikan Properti Obyek",editSurvey:"Ubah Survei",addNewPage:"Tambah Halaman Baru",moveRight:"Geser ke Kanan",moveLeft:"Geser ke Kiri",deletePage:"Hapus Halaman",editPage:"Ubah Halaman",edit:"Ubah",newPageName:"halaman",newQuestionName:"pertanyaan",newPanelName:"panel",testSurvey:"Coba Survei",testSurveyAgain:"Coba Survei Lagi",testSurveyWidth:"Lebar survei: ",embedSurvey:"Embed Survei",translation:"Terjemahan",saveSurvey:"Simpan Survei",designer:"Rancangan Survei",jsonEditor:"Pengubah JSON",undo:"Urungkan",redo:"Ulangi",options:"Pilihan",generateValidJSON:"Hasilkan JSON yang Valid",generateReadableJSON:"Hasilkan JSON yang dapat dibaca",toolbox:"Kotak Perkakas",toolboxGeneralCategory:"Umum",delSelObject:"Hapus objek yang dipilih",editSelObject:"Ubah objek yang dipilih",correctJSON:"Please correct JSON.",surveyResults:"Hasil survei: ",surveyResultsTable:"Sebagai tabel",surveyResultsJson:"Sebagai JSON",resultsTitle:"Judul Pertanyaan",resultsName:"Nama Pertanyaan",resultsValue:"Nilai Jawaban",resultsDisplayValue:"Tampilkan Nilai",modified:"Dimodifikasi",saving:"Menyimpan",saved:"Tersimpan",saveError:"Error! Konten editor tidak berhasil disimpan.",translationAddLanguage:"Pilih bahasa untuk terjemahan",translationShowAllStrings:"Tampilkan seluruh string",translationShowAllPages:"Tampilkan seluruh halaman",translationNoStrings:"Tidak ada string diterjemahkan. Silahkan ganti penyaring.",translationExportToSCVButton:"Eksport ke CSV",translationImportFromSCVButton:"Import dari CSV",translationMergeLocaleWithDefault:"Gabungkan {0} dengan default locale",bold:"Tebal",italic:"Miring",underline:"Garis Bawah",fpAddQuestion:"Tambah pertanyaan...",completedHtmlOnConditionItemText:"Tampilkan jika:"},pel:{isRequired:"Wajib?"},pe:{apply:"Terapkan",ok:"OK",cancel:"Batal",reset:"Reset",close:"Tutup",delete:"Hapus",addNew:"Tambahkan Baru",addItem:"Klik untuk menambahkan sebuah item...",removeAll:"Hapus Semua",edit:"Ubah",itemValueEdit:"Ditampilkan Jika",editChoices:"Ubah Pilihan",move:"Pindah",empty:"<kosong>",notEmpty:"<ubah nilai>",fastEntry:"Entri Cepat",formEntry:"Entri Form",testService:"Coba layanan",conditionSelectQuestion:"Pilih pertanyaan...",conditionValueQuestionTitle:"Silahkan masukkan/pilih nilai",conditionButtonAdd:"Tambah",conditionButtonReplace:"Ganti",conditionHelp:"Silahkan masukkan ekspresi boolean. Harus mengembalikan 'benar' agar pertanyaan dapat terlihat. Contoh: {question1} = 'nilai1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Silahkan masukan sebuah ekspresi. Anda dapat menggunakan kurung kurawal untuk mendapatkan akses pada nilai pertanyaan: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Tekan ctrl+spasi untuk mendapatkan petunjuk penyelesaian ekspresi",aceEditorRowTitle:"Baris saat ini",aceEditorPanelTitle:"Panel saat ini",showMore:"Untuk detil selanjutnya silahkan periksa dokumentasi",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Pertanyaan tersedia:",cellsEmptyRowsColumns:"Harus ada setidaknya satu kolom atau baris",propertyIsEmpty:"Silahkan masukkan nilai",value:"Nilai",text:"Teks",rowid:"ID baris",imageLink:"Link Gambar",columnEdit:"Ubah kolom: {0}",itemEdit:"Ubah item: {0}",url:"URL",path:"Path",valueName:"Nama nilai",titleName:"Nama judul",hasOther:"Memiliki item lain",otherText:"Teks item lain",name:"Nama",title:"Judul",cellType:"Jenis sel",colCount:"Jumlah kolom",choicesOrder:"Tentukan urutan pilihan",visible:"Terlihat?",isRequired:"Wajib?",startWithNewLine:"Mulai dengan baris baru?",rows:"Jumlah baris",placeHolder:"Masukkan placeholder",showPreview:"Tunjukkan tinjauan gambar?",storeDataAsText:"Simpan konten berkas dalam hasil JSON sebagai teks",maxSize:"Ukuran maksimum berkas dalam byte",imageHeight:"Tinggi gambar",imageWidth:"Lebar gambar",rowCount:"Jumlah baris",columnLayout:"Tata letak kolom",addRowLocation:"Tambah lokasi tombol baris",addRowText:"Teks tambah tombol baris",removeRowText:"Teks hapus tombol baris",minRateDescription:"Deskripsi nilai minimum",maxRateDescription:"Deskripsi nilai maksimum",inputType:"Jenis masukan",optionsCaption:"Keterangan pilihan",defaultValue:"Nilai standar",cellsDefaultRow:"Teks sel standar",surveyEditorTitle:"Ubah pengaturan survei",qEditorTitle:"Ubah: {0}",maxLength:"Panjang maksimum",showTitle:"Tampilkan/sembunyikan judul",locale:"Bahasa standar",mode:"Mode (ubah/baca saja)",clearInvisibleValues:"Bersihkan nilai tak terlihat",cookieName:"Nama cookie (untuk menonaktifkan menjalankan survei dua kali secara lokal)",sendResultOnPageNext:"Kirim hasil survei pada halaman selanjutnya",storeOthersAsComment:"Simpan nilai 'lainnya' pada bidang lainnya",showPageTitles:"Tampilkan judul halaman",showPageNumbers:"Tampilkan nomor halaman",pagePrevText:"Teks halaman tombol sebelumnya",pageNextText:"Teks halaman tombol selanjutnya",completeText:"Teks tombol selesai",startSurveyText:"Teks tombol mulai",showNavigationButtons:"Tampilkan tombol navigasi (navigasi standar)",showPrevButton:"Tampilkan tombol sebelumnya (pengguna mungkin kembali ke halaman sebelumnya)",firstPageIsStarted:"Halaman pertama pada survei adalah halaman yang telah dimulai.",showCompletedPage:"Tampilkan keseluruhan halaman di akhir (completedHtml)",goNextPageAutomatic:"Setelah menjawa seluruh pertanyaan, pergi ke halaman berikutnya secara otomatis",showProgressBar:"Tampilkan progress bar",questionTitleLocation:"Lokasi judul pertanyaan",requiredText:"Simbil pertanyaan wajib",questionStartIndex:"Indeks mulai pertanyaan (1, 2 atau 'A', 'a')",showQuestionNumbers:"Tampilkan nomor pertanyaan",questionTitleTemplate:"Template Judul Pertanyaan, default adalah: '{no}. {require} {title}'",questionErrorLocation:"Lokasi Pertanyaan Error",focusFirstQuestionAutomatic:"Fokus ke pertanyaan pertama saat pergantian halaman",questionsOrder:"Urutakan elemen pada halaan",maxTimeToFinish:"Waktu maksimum untuk menyelesaikan survei",maxTimeToFinishPage:"Waktu maksimum untuk menyelesaikan suatu halaman",showTimerPanel:"Tampilkan panel pengatur waktu",showTimerPanelMode:"Tampilkan mode panel pengatur waktu",renderMode:"Mode render",allowAddPanel:"Bolehkan penambahan panel",allowRemovePanel:"Bolehkan penghapusan panel",panelAddText:"Teks tambah panel",panelRemoveText:"Teks hapus panel",isSinglePage:"Tampilkan seluruh elemen pada halaman",html:"Html",expression:"Ekspresi",minValue:"Nilai minimum",maxValue:"Nilai maksimum",minLength:"Panjang minimum",allowDigits:"Bolehkan angka",minCount:"Hitungan minimum",maxCount:"Hitungan maksimum",regex:"Ekspresi reguler",totalText:"Total teks",totalType:"Total jenis",totalExpression:"Total ekspresi",totalDisplayStyle:"Total gaya tampilan",totalCurrency:"Total mata uang",totalFormat:"Total format",tabs:{general:"Umum",fileOptions:"Pilihan berkas",html:"Editor Html",columns:"Kolom",rows:"Baris",choices:"Pilihan",items:"Barang",visibleIf:"Terlihat Jika",enableIf:"Memungkinkan Jika",requiredIf:"Wajib Jika",rateValues:"Nilai Tingkat",choicesByUrl:"Pilih dari Web",matrixChoices:"Pilihan Standar",multipleTextItems:"Masukan Teks",validators:"Validator",navigation:"Navigasi",question:"Pertanyaan",completedHtml:"Html Selesai",loadingHtml:"Memuat Html",timer:"Pengatur Waktu/Kuis",triggers:"Trigger",templateTitle:"Judul templat",totals:"Total"},editProperty:"Ubah properti '{0}'",items:"[ Barang: {0} ]",enterNewValue:"Silahkan masukkan nilai",noquestions:"Tidak ada pertanyaan dalam survei.",createtrigger:"Silahkan buat sebuah trigger",triggerOn:"On ",triggerMakePagesVisible:"Buat halaman terlihat:",triggerMakeQuestionsVisible:"Buat elemen terlihat:",triggerCompleteText:"Selesaikan survei jika sukses.",triggerNotSet:"Trigger belum diatur",triggerRunIf:"Berjalan jika",triggerSetToName:"Ubah nilai dari: ",triggerFromName:"Salin nilai dari: ",triggerRunExpression:"Jalankan ekspresi ini:",triggerSetValue:"ke: ",triggerIsVariable:"Jangan meletakkan variabel ke hasil survey."},pv:{true:"benar",false:"salah",inherit:"inherit",show:"tampilkan",hide:"sembunyikan",default:"standar",initial:"inisial",random:"acak",collapsed:"dilipat",expanded:"direntangkan",none:"tidak ada",asc:"naik",desc:"turun",indeterminate:"tidak tentu",decimal:"desimal",currency:"mata uang",percent:"persen",firstExpanded:"perluasanPertama",off:"mati",onPanel:"pada Panel",onSurvey:"pada Survei",list:"daftar",progressTop:"progress atas",progressBottom:"progress bawah",progressTopBottom:"progress atas bawah",horizontal:"horizontal",vertical:"vertikal",top:"atas",bottom:"bawah",topBottom:"atas dan bawah",left:"kiri",color:"warna",date:"tanggal",datetime:"tanggal&waktu","datetime-local":"tanggal&waktu-lokal",email:"surel",month:"bulan",number:"nomor",password:"kata sandi",range:"rentang",tel:"telepon",text:"teks",time:"waktu",url:"url",week:"minggu",hidden:"tersembunyi",on:"nyala",onPage:"pada halaman",edit:"ubah",display:"tampilan",onComplete:"saat selesai",onHidden:"saat tersembunyi",all:"semua",page:"halaman",survey:"survei",onNextPage:"pada halaman selanjutnya",onValueChanged:"saat nilai berubah"},op:{empty:"kosong",notempty:"tidak kosong",equal:"sama dengan",notequal:"tidak sama dengan",contains:"mengandung",notcontains:"tidak mengandung",greater:"lebih besar",less:"lebih kecil",greaterorequal:"lebih besar atau sama dengan",lessorequal:"lebih kecil atau sama dengan"},ew:{angular:"Gunakan versi Angular",jquery:"Gunakan versi JQuery",knockout:"Gunakan versi Knockout",react:"Gunakan versi React",vue:"Gunakan versi Vue",bootstrap:"Untuk framework bootstrap",standard:"Tidak ada bootstrap",showOnPage:"Tampilkan survei pada sebuah halaman",showInWindow:"Tampilkan survei pada sebuah jendela",loadFromServer:"Muat survei JSON dari server",titleScript:"Skrip dan gaya",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Pilih halaman untuk dicoba:",showInvisibleElements:"Tampilkan elemen tak terlihat",emptySurveyText:"Tidak ada halaman atau pertanyaan yang tersedia di survei ini."},validators:{answercountvalidator:"jumlah jawaban",emailvalidator:"surel",expressionvalidator:"ekspresi",numericvalidator:"numerik",regexvalidator:"ekspresi reguler",textvalidator:"teks"},triggers:{completetrigger:"selesaikan survei",setvaluetrigger:"atur nilai",copyvaluetrigger:"salin nilai",runexpressiontrigger:"jalankan ekspresi",visibletrigger:"ubah visibilitas"},p:{name:"nama",title:{name:"judul",title:"Biarkan kosong, jika sama dengan 'Nama'"},navigationButtonsVisibility:"visibilitas tombol navigasi",questionsOrder:"urutan pertanyaan",maxTimeToFinish:"waktu maks untuk menyelesaikan",visible:"terlihat",visibleIf:"terlihat jika",questionTitleLocation:"lokasi judul pertanyaan",description:"deskripsi",state:"keadaan",isRequired:"wajib",requiredIf:"wajib jika",indent:"indentansi",requiredErrorText:"teks error wajib",startWithNewLine:"mulai dengan baris baru",innerIndent:"inden dalam",page:"halaman",width:"lebar",commentText:"teks komentar",valueName:"nama nilai",enableIf:"aktif jika",defaultValue:"nilai default",correctAnswer:"jawaban benar",readOnly:"baca saja",validators:"validator",titleLocation:"lokasi judul",hasComment:"memiliki komentar",hasOther:"memiliki lainnya",choices:"pilihan",choicesOrder:"urutkan pilihan",choicesByUrl:"pilihan dari URL",otherText:"teks lainnya",otherErrorText:"teks error lainnya",storeOthersAsComment:"simpan lainnnya sebagai komentar",label:"label",showTitle:"tampilkan judul",valueTrue:"nilai benar",valueFalse:"nilai salah",cols:"kolom",rows:"baris",placeHolder:"placeHolder",optionsCaption:"keterangan pilihan",expression:"ekspresi",format:"format",displayStyle:"gaya tampilan",currency:"mata uang",useGrouping:"gunakan kelompok",showPreview:"tampilkan pratinjau",allowMultiple:"bolehkan ganda",imageHeight:"tinggi gambar",imageWidth:"lebar gambar",storeDataAsText:"simpan data sebagai teks",maxSize:"ukuran maks",html:"html",columns:"kolom",cells:"sel",isAllRowRequired:"semuaBarisWajib",horizontalScroll:"horizontalScroll",cellType:"jenisSel",columnsLayout:"tataLetakKolom",columnColCount:"jumlahKolom",columnMinWidth:"lebarMinimalKolom",rowCount:"jumlahBaris",minRowCount:"jumlahBarisMin",maxRowCount:"jumlahBarisMaks",keyName:"namaKunci",keyDuplicationError:"kesalahanDuplikasiKunci ",confirmDelete:"konfirmasiHapus",confirmDeleteText:"teksKonfirmasiHapus",addRowLocation:"tambahLokasiBaris",addRowText:"teksTambahBaris",removeRowText:"teksHapusBaris",items:"items",itemSize:"ukuranBarang",colCount:"jumlahKolom",templateTitle:"judulTemplat",templateDescription:"deskripsiTemplat",allowAddPanel:"bolehkanTambahPanel",allowRemovePanel:"bolehkanHapusPanel",panelCount:"jumlahPanel",minPanelCount:"jumlahMinimumPanel",maxPanelCount:"jumlahMaksimumPanel",panelsState:"keadaanPanel",panelAddText:"teksTambahPanel",panelRemoveText:"teksHapusPanel",panelPrevText:"teksPanelSebelumnya",panelNextText:"teksPanelSelanjutnya",showQuestionNumbers:"tampilkanNomorPertanyaan",showRangeInProgress:"tampilkanRentangBerlangsung",renderMode:"modeRender",templateTitleLocation:"lokasiJudulTemplat",rateValues:"nilaiTingkat",rateMin:"tingkatMinimum",rateMax:"tingkatMaksimum",rateStep:"langkahTingkat",minRateDescription:"deskripsiTingkatMinimum",maxRateDescription:"deskripsiTingkatMaksimum",inputType:"jenisMasukan",size:"ukuran",locale:"Lokal",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"HtmlSelesai",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"Trigger",cookieName:"namaCookie",sendResultOnPageNext:"Kirim hasil ke halaman selanjutnya",showNavigationButtons:"Tampilkan Tombol Navigasi",showPrevButton:"Tampilkan Tombol Sebelumnya",showPageTitles:"Tampilkan Judul Halaman",showCompletedPage:"Tampilkan Keseluruhan Halaman",showPageNumbers:"Tampilkan Nomor Halaman",questionErrorLocation:"Lokasi Pertanyaan Error",showProgressBar:"Tampilkan progress bar",mode:"mode",goNextPageAutomatic:"Ke Halaman Selanjutnya Otomatis",checkErrorsMode:"Mode Periksa Error",clearInvisibleValues:"Bersihkan Nilai Tak Terlihat",startSurveyText:"teksMulaiSurvei",pagePrevText:"teksHalamanSebelumnya",pageNextText:"teksHalamanSelanjutnya",completeText:"teksSelesai",requiredText:"teksWajib",questionStartIndex:"Index Mulai Pertanyaan",questionTitleTemplate:"Template Judul Pertanyaan",firstPageIsStarted:"Halaman Pertama Dimulai",isSinglePage:"Halaman Tunggal?",maxTimeToFinishPage:"Waktu Maks untuk Menyelesaikan Halaman",showTimerPanel:"Tampilkan Panel Pengatur Waktu",showTimerPanelMode:"Tampilkan showTimerPanelMode",defaultPanelValue:"nilai panel default",defaultRowValue:"nilai baris default",hasNone:"Memiliki None",noneText:"Non-teks",text:"teks"}};i.a.locales.id=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Modifica",dropQuestion:"Aggiungi una domanda qui",copy:"Copia",addToToolbox:"Aggiungi alla toolbox",deletePanel:"Elimina pannello",deleteQuestion:"Elimina domanda",convertTo:"Converti a"},qt:{checkbox:"Casella di controllo ",comment:"Commento",dropdown:"Combo",file:"Archivio",html:"Html",matrix:"Matrice (unica opzione)",matrixdropdown:"Matrice (opzioni multiple)",matrixdynamic:"Matrice (dinamica)",multipletext:"Testo multiplo",panel:"Pannello",paneldynamic:"Pannello (dinamico)",radiogroup:"Opzione multipla",rating:"Valutazione",text:"Testo semplice",expression:"Espressione"},ed:{defaultLocale:"Default ({0})",survey:"Questionario",settings:"Impostazioni Questionario",editSurvey:"Modifica Questionario",addNewPage:"Aggiungi Nuova Pagina",deletePage:"Elimina Pagina",editPage:"Modifica Pagina",newPageName:"pagina",newQuestionName:"domanda",newPanelName:"pannello",testSurvey:"Testa questionario",testSurveyAgain:"Testa questionario di nuovo",testSurveyWidth:"Larghezza questionario:",embedSurvey:"Includi questionario",saveSurvey:"Salva questionario",designer:"Disegna",jsonEditor:"Modifica JSON",undo:"Annulla",redo:"Ripeti",options:"Opzioni",generateValidJSON:"Genera JSON valido",generateReadableJSON:"Genera JSON leggibile",toolbox:"Strumenti",delSelObject:"Elimina oggetto selezionato",editSelObject:"Modifica oggetto selezionato",correctJSON:"Per favore, correggi il tuo JSON",surveyResults:"Risultati del questionario: ",modified:"Modificato",saving:"Salvataggio",saved:"Salvato"},pel:{isRequired:"Richiesto"},pe:{apply:"Applica",ok:"Accetta",cancel:"Annulla",reset:"Reimposta",close:"Chiudi",delete:"Elimina",addNew:"Nuovo",removeAll:"Elimina tutto",edit:"Modifica",empty:"<vuoto>",notEmpty:"<modifica valore>",fastEntry:"Inserimento rapido",formEntry:"Inserimento con dati ",testService:"Test del servizio",conditionSelectQuestion:"Seleziona domanda...",conditionButtonAdd:"Aggiungi",conditionButtonReplace:"Sostituisci",conditionHelp:"Per favore, inserire una espressione booleana. Dovrebbe restituire true per mantenere la domanda/pagina visibile. Ad esempio: {domanda1} = 'valore1' or ({domanda2} * {domanda4} > 20 and {domanda3} < 5)",expressionHelp:"Per favore inserire una espressione. Puoi usare parentesi graffe per ottenere l'accesso ai valori delle domande: '{domanda1} + {domanda2}', '({prezzo}*{qta}) * (100 - {sconto})'",aceEditorHelp:"Premi ctrl+space per ottenere un suggerimento sul completamento dell'espressione",aceEditorRowTitle:"Riga corrente",aceEditorPanelTitle:"Pannello Corrente",showMore:"Per favore, per maggiori dettagli guardare la documentazione",assistantTitle:"Domande disponibili:",cellsEmptyRowsColumns:"Dovrebbe esserci almeno una colonna o riga",propertyIsEmpty:"Per favore, inserire un valore per la propietà",value:"Valore",text:"Testo",columnEdit:"Modifica colonna: {0}",itemEdit:"Modifica elemento: {0}",url:"URL",path:"Percorso",valueName:"Nome Valore",titleName:"Nome Titolo",hasOther:"Altri elementi",otherText:"Testo altri elementi",name:"Nome",title:"Titolo",cellType:"Tipo di cella",colCount:"Numero di colonne",choicesOrder:"Seleziona altre opzioni",visible:"Visibile",isRequired:"Richiesto",startWithNewLine:"Nuova linea",rows:"Numero di righe",placeHolder:"Testo di riferimento",showPreview:"Mostra anteprima",storeDataAsText:"Vedi il contenuto JSON come testo",maxSize:"Dimensione massima in bytes",imageHeight:"Altezza immagine",imageWidth:"Larghezza immagine",rowCount:"Numero delle righe",addRowText:"Testo del pulsante per aggiungere una nuova righa",removeRowText:"Testo del pulsante per eliminare una righa",minRateDescription:"Descrizione del valore minimo",maxRateDescription:"Descrizione del valore massimo",inputType:"Tipo di inserimento",optionsCaption:"Titolo dell'opzione",defaultValue:"Valore default",cellsDefaultRow:"Valore default celle",surveyEditorTitle:"Edit survey settings",qEditorTitle:"Modifica domanda: {0}",showTitle:"Mostra/nascondi titolo",locale:"Lingua Default",mode:"Modalità (modifica/sola lettura)",clearInvisibleValues:"Pulischi valori non visibili",cookieName:"Nome cookie (per disabilitare esegui il questionario due volte in locale)",sendResultOnPageNext:"Invia i risultati del sondaggio alla pagina successiva",storeOthersAsComment:"Memorizza il valore 'altri' in campi separati",showPageTitles:"Visualizza titoli pagina",showPageNumbers:"Visualizza numeri pagina",pagePrevText:"Testo bottone pagina precedente",pageNextText:"Testo bottone pagina successiva",completeText:"Testo bottone Completato",startSurveyText:"Testo bottone Inizia",showNavigationButtons:"Visualizza bottoni di navigazione (navigazione di default)",showPrevButton:"Visualizza bottone precedente(l'utente può tornare alla pagina precedente)",firstPageIsStarted:"La prima pagina nel questionario è la pagina iniziale.",showCompletedPage:"Visualizza la pagina completata alla fine del questionario (completedHtml)",goNextPageAutomatic:"Rispondendo a tutte le domande, vai alla pagina successiva in automatico.",showProgressBar:"Visualizza barra di avanzamento",questionTitleLocation:"Posizione titolo domanda",requiredText:"Simbolo domanda obbligatoria, esempio (*)",questionStartIndex:"La domanda inizia con l'indice (1, 2 oppure 'A', 'a')",showQuestionNumbers:"Visualizza i numeri di domanda",questionTitleTemplate:"Template titolo della domanda, il default è: '{no}. {require} {title}'",questionErrorLocation:"Posizione notifica errore sulla domanda",focusFirstQuestionAutomatic:"Sul cambio pagina, posiziona il cursore sulla prima domanda",questionsOrder:"Ordine di elementi sulla pagina",maxTimeToFinish:"Tempo massimo per terminare il sondaggio",maxTimeToFinishPage:"Tempo massimo per terminare una pagina del sondaggio",showTimerPanel:"Visualizza pannello timer",showTimerPanelMode:"Visualizza modalità timer pannello",renderMode:"Modalità di rendering",allowAddPanel:"Consenti l'aggiunta di un pannello",allowRemovePanel:"Consenti la rimozione di un pannello",panelAddText:"Aggiungi testo pannello",panelRemoveText:"Remuovi testo pannello",isSinglePage:"Visualizza tutti gli elementi su una pagina",tabs:{general:"Generale",fileOptions:"Opzioni",html:"Modifica Html",columns:"Colonne",rows:"Righe",choices:"Scelte",visibleIf:"Visibile se",rateValues:"Valori della classifica",choicesByUrl:"Opzioni dal Web",matrixChoices:"Opzioni predefinite",multipleTextItems:"Voci di testo",validators:"Validazioni",navigation:"Navigazione",question:"Domanda",completedHtml:"Html questionario completato",loadingHtml:"Html caricamento questionario",timer:"Timer/Quiz",triggers:"Triggers",templateTitle:"Template titolo"},editProperty:"Modifca propietà '{0}'",items:"[ Elemento: {0} ]",enterNewValue:"Si prega di inserire il valore.",noquestions:"Non c'è alcun dubbio nel questionario.",createtrigger:"Si prega di creare un trigger",triggerOn:"Attivazione ",triggerMakePagesVisible:"Rendere visibili le pagine:",triggerMakeQuestionsVisible:"Rendere visibili le domande:",triggerCompleteText:"Completare il questionario, in caso di successo.",triggerNotSet:"Non impostato",triggerRunIf:"Esegui se",triggerSetToName:"Cambia il valore a: ",triggerSetValue:"a: ",triggerIsVariable:"Non posizionare la variabile del risultato del questionario"},op:{empty:"è vuoto",notempty:"non è vuoto ",equal:"è uguale a",notequal:"non è uguale a",contains:"contiene",notcontains:"non contiene",greater:"maggiore",less:"minore",greaterorequal:"maggiore o uguale",lessorequal:"minore o uguale"},ew:{angular:"Versione per Angular",jquery:"Versione per jQuery",knockout:"Versione per Knockout",react:"Versione per React",vue:"Versione per Vue",bootstrap:"Per framework bootstrap",standard:"No bootstrap",showOnPage:"Visualizza in questa pagina",showInWindow:"Visualizza in una finestra",loadFromServer:"Carica JSON dal server",titleScript:"Scripts e stili",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Seleziona la pagina da testare:",showInvisibleElements:"Mostra elementi nascosti"},validators:{answercountvalidator:"numero risposte",emailvalidator:"e-mail",numericvalidator:"numerico",regexvalidator:"regex",textvalidator:"testo"},triggers:{completetrigger:"completa questionario",setvaluetrigger:"setta valore",visibletrigger:"cambia visibilità"},p:{name:"Nome",title:{name:"Titolo",title:"Lascialo vuoto, se è uguale a 'Nome'"},visible:"Visibile",visibleIf:"Visibile Se",description:"Descrizione",isRequired:"Richiesto",requiredIf:"Richiesto Se",page:"Pagina",width:"Larghezza",enableIf:"Abilitato se",defaultValue:"Valore di default",readOnly:"Sola Lettura",hasComment:"Ha un commento",hasOther:"Ha altro",choices:"Scelte",choicesOrder:"Ordine Scelte",choicesByUrl:"Url Scelte",label:"label",showTitle:"Mostra Titolo",valueTrue:"Valore True",valueFalse:"Valore False",cols:"Colonne",rows:"Righe",currency:"Valuta",showPreview:"Visualizza Anteprima",html:"html",rateValues:"Valori della classifica",size:"Dimensione",locale:"locale",minValue:"Valore minimo",maxValue:"Valore massimo",minLength:"Lunghezza minima",maxLength:"Lunghezza massima",allowDigits:"Consenti cifre",regex:"Espressione regolare"}};i.a.locales.it=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"편집",dropQuestion:"왼쪽 도구상자에서 질문을 여기에 놓으십시오.",copy:"복사",addToToolbox:"도구상자에 추가",deletePanel:"패널 삭제",deleteQuestion:"질문 삭제",convertTo:"다음으로 변경",drag:"항목 끌어오기"},qt:{default:"기본값",checkbox:"체크박스",comment:"설명",dropdown:"드롭다운",file:"파일",html:"HTML",matrix:"행렬 (단일 선택)",matrixdropdown:"행렬 (복수 선택)",matrixdynamic:"행렬 (동적 행)",multipletext:"텍스트 상자 그룹",panel:"패널",paneldynamic:"패널 (동적 패널)",radiogroup:"라디오 그룹",rating:"등급",text:"텍스트 상자",boolean:"불린(boolean)",expression:"표현식"},ed:{survey:"설문지",settings:"설정",editSurvey:"설문지 편집",addNewPage:"새 페이지 추가",moveRight:"오른쪽으로 스크롤",moveLeft:"왼쪽으로 스크롤",deletePage:"페이지 삭제",editPage:"페이지 편집",edit:"편집",newPageName:"페이지",newQuestionName:"질문",newPanelName:"패널",testSurvey:"테스트 설문지",testSurveyAgain:"테스트 설문지 다시하기",testSurveyWidth:"설문지 너비: ",embedSurvey:"내장 설문지",saveSurvey:"설문지 저장",designer:"설문지 디자인",jsonEditor:"JSON 편집기",undo:"실행 취소",redo:"복원",options:"옵션",generateValidJSON:"JSON 데이터 생성",generateReadableJSON:"생성 JSON 데이터 읽기",toolbox:"도구상자",toolboxGeneralCategory:"일반",delSelObject:"선택한 객체 삭제",editSelObject:"선택한 객체 편집",correctJSON:"JSON 데이터를 수정하십시오.",surveyResults:"설문 결과: ",modified:"수정됨",saving:"저장중",saved:"저장됨"},pel:{isRequired:"필수입니까?"},pe:{apply:"적용",ok:"확인",cancel:"취소",reset:"재설정",close:"닫기",delete:"삭제",addNew:"새로 만들기",addItem:"항목을 추가하려면 클립하십시오.",removeAll:"모두 삭제",edit:"편집",itemValueEdit:"조건 충족 시 보기",editChoices:"선택사항 편집",move:"이동",empty:"<비어있음>",notEmpty:"<편집 값>",fastEntry:"빠른 입력",formEntry:"양식 입력",testService:"서비스 테스트",conditionSelectQuestion:"질문 선택...",conditionValueQuestionTitle:"값을 입력하거나 선택하십시오.",conditionButtonAdd:"추가",conditionButtonReplace:"바꾸기",conditionHelp:"불린 식을 입력하십시오. 질문 혹은 페이지를 계속 볼 수 있게 하려면 참값을 반환해야 합니다. 예를 들면: {질문1} = '값1' or ({질문2} * {질문4} > 20 and {질문3} < 5)",expressionHelp:"식을 입력하십시오. 다음과 같은 질문 값에 접근하려면 중괄호를 이용하십시오: '{질문1} + {질문2}', '({가격}*{수량}) * (100 - {할인})'",aceEditorHelp:"ctrl+space를 눌러 완성된 수식에 대한 힌트를 얻으십시오",aceEditorRowTitle:"현재 행",aceEditorPanelTitle:"현재 패널",showMore:"자세한 내용은 설명서를 확인하십시오.",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"유효 질문:",cellsEmptyRowsColumns:"최소한 하나의 열 또는 행이 있어야 합니다.",propertyIsEmpty:"값을 입력하십시오",value:"값",text:"텍스트",columnEdit:"열 편집: {0}",itemEdit:"항목 편집: {0}",url:"URL",path:"경로",valueName:"값 이름",titleName:"제목 이름",hasOther:"다른 항목이 있습니다",otherText:"기타 항목 텍스트",name:"이름",title:"제목",cellType:"셀 유형",colCount:"열 개수",choicesOrder:"항목 순서 선택",visible:"보입니까??",isRequired:"필수입니까?",startWithNewLine:"새 줄로 시작하겠습니까?",rows:"행 수",placeHolder:"입력 자리 표시자 ",showPreview:"이미지 미리보기가 표시됩니까?",storeDataAsText:"파일 내용을 JSON 결과에 텍스트로 저장",maxSize:"최대 파일 크기(bytes)",imageHeight:"이미지 높이",imageWidth:"이미지 너비",rowCount:"행 수",columnsLocation:"열 위치",addRowLocation:"행 버튼 위치 추가",addRowText:"행 버튼 텍스트 추가",removeRowText:"행 버튼 텍스트 제거",minRateDescription:"최소 설명 길이",maxRateDescription:"최대 설명 길이",inputType:"입력 유형",optionsCaption:"옵션 캡션",defaultValue:"기본값",cellsDefaultRow:"기본 셀 텍스트",surveyEditorTitle:"설문지 설정 편집",qEditorTitle:"편집: {0}",showTitle:"제목 표시/숨김",locale:"기본 언어",mode:"모드(편집/읽기전용)",clearInvisibleValues:"보이지 않는 값 지우기",cookieName:"쿠키 이름(로컬에서 설문 조사를 두 번 사용하지 않도록 설정)",sendResultOnPageNext:"다음 페이지에서 설문 조사 결과 보내기",storeOthersAsComment:"다른 사용자의 값을 별도의 필드에 저장",showPageTitles:"페이지 제목 표시",showPageNumbers:"페이지 번호 표시",pagePrevText:"이전 페이지 버튼 텍스트",pageNextText:"다음 페이지 버튼 텍스트",completeText:"완료 버튼 텍스트",startSurveyText:"시작 버튼 텍스트",showNavigationButtons:"탐색 버튼 표시 (기본 탐색)",showPrevButton:"이전 버튼 표시 (사용자가 이전 페이지로 돌아갈 수 있음)",firstPageIsStarted:"설문지의 첫 번째 페이지는 시작 페이지입니다",showCompletedPage:"끝 부분에 완료된 페이지 표시 (완료된 HTML)",goNextPageAutomatic:"모든 질문에 응답 후 자동으로 다음 페이지로 이동",showProgressBar:"진행률 막대 표시",questionTitleLocation:"질문 제목 위치",requiredText:"질문에 필요한 기호",questionStartIndex:"질문 시작 색인 (1, 2 또는 'A', 'a')",showQuestionNumbers:"질문 번호 표시",questionTitleTemplate:"질문 제목 템플릿입니다. 기본값: '{no}. {require} {title}'",questionErrorLocation:"질문 위치 오류",focusFirstQuestionAutomatic:"페이지 변경시 첫 번째 질문에 초점",questionsOrder:"페이지의 요소 순서",maxTimeToFinish:"설문 조사를 마칠 수있는 최대 시간",maxTimeToFinishPage:"설문 조사에서 페이지를 마칠 수있는 최대 시간",showTimerPanel:"타이머 패널 표시",showTimerPanelMode:"타이머 패널 모드 표시",renderMode:"렌더링 모드",allowAddPanel:"패널 추가 허용",allowRemovePanel:"패널 제거 허용",panelAddText:"패널 텍스트 추가",panelRemoveText:"패널 텍스트 삭제",isSinglePage:"한 페이지에 모든 요소 표시",tabs:{general:"일반",fileOptions:"옵션",html:"Html 편집기",columns:"열",rows:"행",choices:"선택",items:"항목",visibleIf:"조건 충족시 보기",enableIf:"조건 충족시 허용",rateValues:"길이 값",choicesByUrl:"웹에서 선택",matrixChoices:"기본 선택",multipleTextItems:"텍스트 입력",validators:"유효성 검사기",navigation:"탐색",question:"질문",completedHtml:"완료된 HTML",loadingHtml:"HTML 로드 중",timer:"타이머 / 퀴즈",triggers:"트리거",templateTitle:"템플릿 제목"},editProperty:"편집 속성 '{0}'",items:"[ 항목: {0} ]",enterNewValue:"값을 입력하십시오.",noquestions:"설문 조사에는 어떤 질문도 없습니다.",createtrigger:"트리거를 만드십시오",triggerOn:"트리거 켜기",triggerMakePagesVisible:"페이지 표시:",triggerMakeQuestionsVisible:"요소 표시:",triggerCompleteText:"조건 충족 시 설문 조사를 작성하십시오.",triggerNotSet:"트리거가 설정되지 않았습니다.",triggerRunIf:"다음 조건 충족 시 실행",triggerSetToName:"다음 값 변경: ",triggerSetValue:"다음으로 수정: ",triggerIsVariable:"변수를 설문 결과에 넣지 마십시오."},pv:{true:"참",false:"거짓",inherit:"상속",show:"보기",hide:"숨기기",default:"기본값",initial:"초기값",random:"무작위",collapsed:"축소",expanded:"확장",none:"없음",asc:"오름차순",desc:"내림차순",indeterminate:"불확정",decimal:"진수",currency:"화폐",percent:"퍼센트",firstExpanded:"우선 확장",off:"꺼짐",onPanel:"패널에서",onSurvey:"설문에서",list:"목록",progressTop:"상단 진행률",progressBottom:"하단 진행률",progressTopBottom:"상하단 진행률",horizontal:"가로",vertical:"세로",top:"위",bottom:"아래",topBottom:"위아래",left:"왼쪽",color:"색상",date:"날짜",datetime:"날짜/시간","datetime-local":"현지 날짜/시간",email:"이메일",month:"월",number:"숫자",password:"패스워드",range:"범위",tel:"tel",text:"텍스트",time:"시간",url:"URL",week:"주",hidden:"숨김",on:"켜기",onPage:"페이지 켜기",edit:"편집",display:"디스플레이",onComplete:"완료",onHidden:"숨김",all:"모두",page:"페이지",survey:"설문지",onNextPage:"다음 페이지로",onValueChanged:"값 변경"},op:{empty:"비어있습니다",notempty:"비어있지 않습니다",equal:"같습니다",notequal:"같지 않습니다",contains:"포함합니다",notcontains:"포함하지 않습니다",greater:"큰",less:"작은",greaterorequal:"크거나 같음",lessorequal:"작거나 같음"},ew:{angular:"Angular 버전 사용",jquery:"jQuery 버전 사용",knockout:"Knockout 버전 사용",react:"React 버전 사용",vue:"Vue 버전 사용",bootstrap:"부트 스트랩 프레임",standard:"부트 스트랩 없음",showOnPage:"페이지에서 설문조사 보기",showInWindow:"윈도우 창에서 설문조사 보기",loadFromServer:"서버에서 설문조사 JSON 실행",titleScript:"스크립트 및 스타일",titleHtml:"HTML",titleJavaScript:"자바스크립트"},ts:{selectPage:"테스트 할 페이지를 선택하십시오:"},validators:{answercountvalidator:"답 개수",emailvalidator:"이메일",expressionvalidator:"표현식",numericvalidator:"숫자",regexvalidator:"정규식",textvalidator:"텍스트"},triggers:{completetrigger:"설문 완료",setvaluetrigger:"값 설정",visibletrigger:"선명도 변경"},p:{name:"이름",title:{name:"제목",title:"'이름'과 같은 경우 비워 둡니다."},navigationButtonsVisibility:"탐색 버튼 선명도",questionsOrder:"질문 순서",maxTimeToFinish:"최대 완료 시간",visible:"보기",visibleIf:"조건 충족시 보기",questionTitleLocation:"질문 제목 위치",description:"설명",state:"state",isRequired:"필수",indent:"들여쓰기",requiredErrorText:"필수 오류 텍스트",startWithNewLine:"새 줄로 시작",innerIndent:"안으로 들여쓰기",page:"페이지",width:"너비",commentText:"메모 텍스트",valueName:"이름값",enableIf:"조건 충족시 허가",defaultValue:"기본값",correctAnswer:"답안 수정",readOnly:"읽기 전용",validators:"유효성 검사기",titleLocation:"제목 위치",hasComment:"답변",hasOther:"다른 답변 허용",choices:"선택",choicesOrder:"기타 선택",choicesByUrl:"URL을 통한 선택",otherText:"기타 텍스트",otherErrorText:"기타 오류 텍스트",storeOthersAsComment:"기타 답변 저장",label:"라벨",showTitle:"제목 표시",valueTrue:"참값",valueFalse:"거짓값",cols:"열",rows:"행",placeHolder:"자리 표시자",optionsCaption:"옵션 캡션",expression:"표현식",format:"포맷",displayStyle:"디스플레이 스타일",currency:"화폐",useGrouping:"그룹 사용",showPreview:"미리보기 보기",allowMultiple:"다수 허용",imageHeight:"이미지 높이",imageWidth:"이미지 너비",storeDataAsText:"텍스트로 데이터 저장",maxSize:"최대 크기",html:"HTML",columns:"열",cells:"셀",isAllRowRequired:"모두 필수 행입니까",horizontalScroll:"가로 스크롤바",cellType:"셀 유형",columnsLocation:"열 위치",columnColCount:"열 개수",columnMinWidth:"열 최소 너비",rowCount:"행 수",minRowCount:"최소 행 개수",maxRowCount:"최대 행 개수",keyName:"keyName",keyDuplicationError:"주요 복제 에러",confirmDelete:"삭제 확인",confirmDeleteText:"텍스트 삭제 확인",addRowLocation:"행 위치 추가",addRowText:"행 텍스트 추가",removeRowText:"행 텍스트 제거",items:"항목",itemSize:"항목 크기",colCount:"열 개수",templateTitle:"템플릿 이름",templateDescription:"템플릿 설명",allowAddPanel:"패널 추가 허용",allowRemovePanel:"패널 제거 허용",panelCount:"패널 개수",minPanelCount:"최소 패널 개수",maxPanelCount:"최대 패널 개수",panelsState:"panelsState",panelAddText:"패널 텍스트 추가",panelRemoveText:"패널 텍스트 제거",panelPrevText:"이전 패널 텍스트",panelNextText:"다음 패널 텍스트",showQuestionNumbers:"질문 개수 보기",showRangeInProgress:"진행중인 범위 보기",renderMode:"renderMode",templateTitleLocation:"템플릿 이름 위치",rateValues:"길이값",rateMin:"최소 길이",rateMax:"최대 길이",rateStep:"rateStep",minRateDescription:"최소 설명 길이",maxRateDescription:"최대 설명 길이",inputType:"입력 유형",size:"크기",locale:"로컬",focusFirstQuestionAutomatic:"첫 질문 자동 초점",completedHtml:"완료된 HTML",completedBeforeHtml:"완료된 이전 HTML",loadingHtml:"HTML 로드",triggers:"트리거",cookieName:"쿠키 이름",sendResultOnPageNext:"현 페이지로 결과 전송",showNavigationButtons:"탐색 버튼 보기",showPrevButton:"뒤로가기 버튼 보기",showPageTitles:"페이지 제목 보기",showCompletedPage:"완료 페이지 보기",showPageNumbers:"페이지 수 보기",questionErrorLocation:"질문 오류 위치",showProgressBar:"진행 상태바 보기",mode:"모드",goNextPageAutomatic:"다음 페이지로 자동으로 넘어가기",checkErrorsMode:"오류 모드 확인",clearInvisibleValues:"보이지 않는 변수 제거",startSurveyText:"설문 테스트 시작",pagePrevText:"이전 텍스트 페이지",pageNextText:"다음 텍스트 페이지",completeText:"완료 텍스트",requiredText:"필수 텍스트",questionStartIndex:"질문 시작 색인",questionTitleTemplate:"질문 제목 템플릿",firstPageIsStarted:"첫 페이지에서 시작",isSinglePage:"단일 페이지",maxTimeToFinishPage:"페이지 종료 최대 시간",showTimerPanel:"타이머 패널 보기",showTimerPanelMode:"타이머 패널 모드 보기",text:"텍스트",minValue:"최소값",maxValue:"최대값",minLength:"최소 길이",maxLength:"최대 길이",allowDigits:"숫자 허용",minCount:"최소 개수",maxCount:"최대 개수",regex:"정규 표현식"}};i.a.locales.ko=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Rediger",dropQuestion:"Dra og slipp et spørsmål her fra Verktøylisten til venstre.",copy:"Kopier",addToToolbox:"Legg til Verktøylisten",deletePanel:"Slett Panel",deleteQuestion:"Slett spørsmål",convertTo:"Konverter til",drag:"Dra element"},qt:{default:"Standard",checkbox:"Sjekkboks",comment:"Kommentar",imagepicker:"Bilde-velger",dropdown:"Nedtrekksliste",file:"Fil",html:"Html",matrix:"Matrise (enkelvalg)",matrixdropdown:"Matrise (flere valg)",matrixdynamic:"Matrise (dynamiske rader)",multipletext:"Flerlinje tekst",panel:"Panel",paneldynamic:"Panel (dynamisk panel)",radiogroup:"Radiogruppe",rating:"Rangering",text:"Enkel tekst",boolean:"Boolean",expression:"Formel"},ed:{defaultLocale:"Standard ({0})",survey:"Skjema",settings:"Skjema innstillinger",editSurvey:"Rediger skjema",addNewPage:"Legg til ny side",moveRight:"Bla til høyre",moveLeft:"Bla til venstre",deletePage:"Slett side",editPage:"Rediger side",edit:"Rediger",newPageName:"side",newQuestionName:"spørsmål",newPanelName:"panel",testSurvey:"Test skjema",testSurveyAgain:"Test skjema igjen",testSurveyWidth:"Skjema bredde: ",embedSurvey:"Integrer skjema",translation:"Oversettelse",saveSurvey:"Lagre skjema",designer:"Skjema Designer",jsonEditor:"JSON Redigering",undo:"Angre",redo:"Gjenta",options:"Alternativer",generateValidJSON:"Lag gyldig JSON",generateReadableJSON:"Lag lesbar JSON",toolbox:"Verktøyliste",toolboxGeneralCategory:"Generelt",delSelObject:"Slett valgte elementer",editSelObject:"Rediger valgte elementer",correctJSON:"Vennligst korriger JSON.",surveyResults:"Skjema resultat: ",surveyResultsTable:"Som tabell",surveyResultsJson:"Som JSON",resultsTitle:"Spørsmål tittel",resultsName:"Spørsmål navn",resultsValue:"Svar verdi",resultsDisplayValue:"Vist verdi",modified:"Endret",saving:"Lagrer",saved:"Lagret",saveError:"Feil! Skjema innhold er ikke lagret.",translationAddLanguage:"Velg språk for oversetting",translationShowAllStrings:"Vis alle strenger",translationShowAllPages:"Vis alle sider",translationNoStrings:"Ingen strenger å oversette. Vennligst endre filteret.",translationExportToSCVButton:"Eksporter til CSV",translationImportFromSCVButton:"Importer fra CSV",translationMergeLocaleWithDefault:"Flett {0} med standard språk"},pel:{isRequired:"Nødvendig?"},pe:{apply:"Bruk",ok:"OK",cancel:"Avbryt",reset:"Tilbakestill",close:"Lukk",delete:"Slett",addNew:"Legg til ny",addItem:"Klikk for å legge til...",removeAll:"Fjern alt",edit:"Rediger",itemValueEdit:"Synlig dersom",editChoices:"Rediger valg",move:"Flytt",empty:"<tom>",notEmpty:"<rediger verdi>",fastEntry:"Rask innfylling",formEntry:"Innfylling i skjema",testService:"Sjekk tjenesten",conditionSelectQuestion:"Velg spørsmål...",conditionValueQuestionTitle:"Vennligst skriv inn/velg verdi",conditionButtonAdd:"Legg til",conditionButtonReplace:"Erstatt",conditionHelp:"Skriv inn et boolsk uttrykk. Det burde returnere SANN for å gjøre spørsmål/side synlig. For eksempel: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"Vennligst skriv inn et uttrykk. Du kan bruke klammeparenteser for å få tilgang til spørsmåls verdiene: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Trykk ctrl+mellomrom for å få hint til å fullføre uttrykk",aceEditorRowTitle:"Gjeldende rad",aceEditorPanelTitle:"Gjeldende panel",showMore:"For mer detaljer - se dokumentasjonen",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Tilgjengelige spørsmål:",cellsEmptyRowsColumns:"Det må være minst 1 kolonne eller rad",propertyIsEmpty:"Vennligst fyll inn en verdi",value:"Verdi",text:"Tekst",rowid:"Rad ID",imageLink:"Bilde lenke",columnEdit:"Rediger kolonne: {0}",itemEdit:"Rediger element: {0}",url:"URL",path:"Sti",valueName:"Verdi navn",titleName:"Tittel navn",hasOther:"Har annet element",otherText:"Annet element tekst",name:"Navn",title:"Tittel",cellType:"Celle type",colCount:"Antall kolonner",choicesOrder:"Velg rekkefølge på valg",visible:"Er synlig?",isRequired:"Er nødvendig?",startWithNewLine:"Er start med ny linje?",rows:"Antall rader",placeHolder:"Inndate plassholder",showPreview:"Er forhåndsvisning av bilde vist?",storeDataAsText:"Lagre fil innhold i JSON resultat som tekst",maxSize:"Maksimum filstørrelse i bytes",imageHeight:"Bilde høyde",imageWidth:"Bilde bredde",rowCount:"Antall rader",columnLayout:"Oppsett kolonner",addRowLocation:"Legg til rad knapp plassering",addRowText:"Legg til rad knapp tekst",removeRowText:"Fjern rad knapp tekst",minRateDescription:"Beskrivelse Minimum vudering",maxRateDescription:"Beskrivelse Maksimum vurdering",inputType:"Inndata type",optionsCaption:"Tekst for alternativer",defaultValue:"Standard verdi",cellsDefaultRow:"Standard celle tekster",surveyEditorTitle:"Rediger skjema innstillinger",qEditorTitle:"Rediger: {0}",maxLength:"Maksimum lengde",showTitle:"Vis/skjul tittel",locale:"Standard språk",mode:"Modus (redigere/kun lesing)",clearInvisibleValues:"Fjern usynlige verdier",cookieName:"Informasjonskapsel navn (for å hindre bruk av skjema to ganger localt)",sendResultOnPageNext:"Send skjema resultat ved neste side",storeOthersAsComment:"Lagre 'andre' verdier i et separat felt",showPageTitles:"Vis sidetitel",showPageNumbers:"Vis sidenummer",pagePrevText:"Forrige side knapp tekst",pageNextText:"Neste side knapp tekst",completeText:"Fullfør knapp tekst",startSurveyText:"Start knapp tekst",showNavigationButtons:"Vis navigasjonsknapper (standard navigering)",showPrevButton:"Vis forrige knapp (bruker kan gå til forrige side)",firstPageIsStarted:"Den første siden i skjema er startside.",showCompletedPage:"Vis ferdigsiden på slutten (completedHtml)",goNextPageAutomatic:"Når en har svart alle spørsmål, gå til neste side automatisk",showProgressBar:"Vis fremdriftslinje",questionTitleLocation:"Spørsmål tittel plassering",requiredText:"Svar nødvendig symbol(er)",questionStartIndex:"Spørsmål startindeks (1, 2 eller 'A', 'a')",showQuestionNumbers:"Vis spørsmålsnummer",questionTitleTemplate:"Spørsmål tittel mal, standard er: '{no}. {require} {title}'",questionErrorLocation:"Spørsmål feil plassering",focusFirstQuestionAutomatic:"Sett fokus på første spørsmål når en endrer side",questionsOrder:"Rekkefølge på elementer på siden",maxTimeToFinish:"Maks tid for å gjøre ferdig skjema",maxTimeToFinishPage:"Maks tid til å gjøre ferdig en side i skjema",showTimerPanel:"Vis tidtaking",showTimerPanelMode:"Vis tidtaking modus",renderMode:"Gjengivelse modus",allowAddPanel:"Tillat å legge til panel",allowRemovePanel:"Tillat å fjerne panel",panelAddText:"Legg til panel tekst",panelRemoveText:"Fjern panel tekst",isSinglePage:"Vis alle elementer på en side",tabs:{general:"Generelt",fileOptions:"Alternativer",html:"Html-editor",columns:"Kolonner",rows:"Rader",choices:"Valg",items:"Elementer",visibleIf:"Synlig hvis",enableIf:"Tilgjengelig hvis",rateValues:"Rangering verdier",choicesByUrl:"Valg fra web",matrixChoices:"Standard valg",multipleTextItems:"Tekst inndata",validators:"Valideringer",navigation:"Navigering",question:"Spørsmål",completedHtml:"Fullført Html",loadingHtml:"Laster Html",timer:"Tidtaker/Quiz",triggers:"Triggere",templateTitle:"Mal tittel"},editProperty:"Rediger egenskap '{0}'",items:"[ Elementer: {0} ]",enterNewValue:"Vennligst skriv inn en verdi.",noquestions:"Der er ingen spørsmål i skjema.",createtrigger:"Vennligst lag en trigger",triggerOn:"Når ",triggerMakePagesVisible:"Gjør sider synlige:",triggerMakeQuestionsVisible:"Gjør elementer synlige:",triggerCompleteText:"Fullfør skjema dersom vellykket.",triggerNotSet:"Trigger er ikke satt",triggerRunIf:"Kjør dersom",triggerSetToName:"Endre verdien av: ",triggerFromName:"Kopier verdi fra: ",triggerRunExpression:"Kjør dette uttrykket:",triggerSetValue:"til: ",triggerIsVariable:"Ikke legg variabelen i resultatet."},pv:{true:"true",false:"false",inherit:"inherit",show:"show",hide:"hide",default:"default",initial:"initial",random:"random",collapsed:"collapsed",expanded:"expanded",none:"none",asc:"ascending",desc:"descending",indeterminate:"indeterminate",decimal:"decimal",currency:"currency",percent:"percent",firstExpanded:"firstExpanded",off:"off",onPanel:"onPanel",onSurvey:"onSurvey",list:"list",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"horizontal",vertical:"vertical",top:"top",bottom:"bottom",topBottom:"top and bottom",left:"left",color:"color",date:"date",datetime:"datetime","datetime-local":"datetime-local",email:"email",month:"month",number:"number",password:"password",range:"range",tel:"tel",text:"text",time:"time",url:"url",week:"week",hidden:"hidden",on:"on",onPage:"onPage",edit:"edit",display:"display",onComplete:"onComplete",onHidden:"onHidden",all:"all",page:"page",survey:"survey",onNextPage:"onNextPage",onValueChanged:"onValueChanged"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"less or equals"},ew:{angular:"Bruk Angular versjon",jquery:"Bruk jQuery versjon",knockout:"Bruk Knockout versjon",react:"Bruk React versjon",vue:"Bruk Vue versjon",bootstrap:"For bootstrap framework",standard:"Ingen bootstrap",showOnPage:"Vis skjema på en side",showInWindow:"Vis skjema i et vindu",loadFromServer:"Hent skjema som JSON fra serveren",titleScript:"Scripts og styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Velg siden for å teste den:",showInvisibleElements:"Vis usynlige elementer"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",expressionvalidator:"expression",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"skjema fullført",setvaluetrigger:"sett verdi",copyvaluetrigger:"kopier verdi",runexpressiontrigger:"kjør uttrykk",visibletrigger:"endre synlighet"},p:{name:"name",title:{name:"title",title:"La den være tom hvis det er samme som 'Name'"},navigationButtonsVisibility:"navigationButtonsVisibility",questionsOrder:"questionsOrder",maxTimeToFinish:"maxTimeToFinish",visible:"visible",visibleIf:"visibleIf",questionTitleLocation:"questionTitleLocation",description:"description",state:"state",isRequired:"isRequired",indent:"indent",requiredErrorText:"requiredErrorText",startWithNewLine:"startWithNewLine",innerIndent:"innerIndent",page:"page",width:"width",commentText:"commentText",valueName:"valueName",enableIf:"enableIf",defaultValue:"defaultValue",correctAnswer:"correctAnswer",readOnly:"readOnly",validators:"validators",titleLocation:"titleLocation",hasComment:"hasComment",hasOther:"hasOther",choices:"choices",choicesOrder:"choicesOrder",choicesByUrl:"choicesByUrl",otherText:"otherText",otherErrorText:"otherErrorText",storeOthersAsComment:"storeOthersAsComment",label:"label",showTitle:"showTitle",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"cols",rows:"rows",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"format",displayStyle:"displayStyle",currency:"currency",useGrouping:"useGrouping",showPreview:"showPreview",allowMultiple:"allowMultiple",imageHeight:"imageHeight",imageWidth:"imageWidth",storeDataAsText:"storeDataAsText",maxSize:"maxSize",html:"html",columns:"columns",cells:"cells",isAllRowRequired:"isAllRowRequired",horizontalScroll:"horizontalScroll",cellType:"cellType",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"rowCount",minRowCount:"minRowCount",maxRowCount:"maxRowCount",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"confirmDelete",confirmDeleteText:"confirmDeleteText",addRowLocation:"addRowLocation",addRowText:"addRowText",removeRowText:"removeRowText",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"size",locale:"locale",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"text",minValue:"minimum value",maxValue:"maximum value",minLength:"minumum length",maxLength:"maximum length",allowDigits:"allow digits",minCount:"minumum count",maxCount:"maximum count",regex:"regular expression"}};i.a.locales.nb=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"ویرایش",externalHelpLink:"Watch and learn how to create surveys",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"لطفا از جعبه ابزار سوالی در اینجا قرار دهید",copy:"کپی",addToToolbox:"افزودن به جعبه ابزار",deletePanel:"حذف پنل",deleteQuestion:"حذف سوال",convertTo:"تبدیل به",drag:"Drag element"},qt:{default:"Default",checkbox:"چند انتخابی",comment:"نظر",imagepicker:"Image picker",dropdown:"لیست انتخابی",file:"فایل",html:"Html",matrix:"ماتریس (تک انتخابی)",matrixdropdown:"ماتریس (چند انتخابی)",matrixdynamic:"ماتریس (سطرهای داینامیک)",multipletext:"متن چند خطی",panel:"پنل",paneldynamic:"پنل (پنل های داینامیک)",radiogroup:"تک انتخابی",rating:"رتبه بندی",text:"متن تک خطی",boolean:"صحیح و غلط",expression:"توصیفی",flowpanel:"Flow Panel"},ed:{defaultLocale:"پیش فرض ({0})",survey:"نظرسنجی",settings:"Survey Settings",opjectPropertiesHeader:"Advanced",showObjectProperties:"Show Object Properties",hideObjectProperties:"Hide Object Properties",editSurvey:"ویرایش نظرسنجی",addNewPage:"درج صفحه جدید",moveRight:"اسکرول به راست",moveLeft:"اسکرول به چپ",deletePage:"حذف صفحه",editPage:"ویرایش صفحه",edit:"ویرایش",newPageName:"صفحه",newQuestionName:"سوال",newPanelName:"پنل",newTextItemName:"text",testSurvey:"آزمایش نظرسنجی",testSurveyAgain:"آزمایش دوباره نظرسنجی",testSurveyWidth:"عرض نظرسنجی: ",logic:"Survey Logic",embedSurvey:"نظرسنجی توکار",translation:"ترجمه",saveSurvey:"ذخیره نظرسنجی",designer:"طراح نظرسنجی",jsonEditor:"ویرایشگر JSON",undo:"بازگردانی",redo:"بازانجام",options:"انتخاب ها",generateValidJSON:"تولید کد معتبر JSON",generateReadableJSON:"تولید کد خوانا JSON",toolbox:"جعبه ابزار",toolboxGeneralCategory:"عمومی",delSelObject:"حذف مورد انتخابی",editSelObject:"ویرایش مورد انتخابی",correctJSON:"لطفا JSON را تصحیح کنید.",surveyResults:"نتایج نظرسنجی: ",surveyResultsTable:"به صورت جدول",surveyResultsJson:"به صورت JSON",resultsTitle:"عنوان سوال",resultsName:"نام سوال",resultsValue:"محتوای پاسخ",resultsDisplayValue:"محتوای نمایشی",modified:"تغییر داده شده",saving:"در حال ذخیره",saved:"ذخیره شد",saveError:"خطا! محتوای ویرایشگر ذخیره نشده است.",translationAddLanguage:"زبانی را برای ترجمه انتخاب کنید",translationShowAllStrings:"نمایش تمام عبارات",translationShowAllPages:"نمایش تمام صفحات",translationNoStrings:"هیچ عبارتی برای ترجمه نیست، لطفا فیلتر را عوض کنید.",translationExportToSCVButton:"برون بری به CSV",translationImportFromSCVButton:"برون ریزی از CSV",translationMergeLocaleWithDefault:"ادغام {0} با زبان پیش فرض",bold:"Bold",italic:"Italic",underline:"Underline",fpAddQuestion:"Add question...",completedHtmlOnConditionItemText:"Show if:",lg:{page_visibilityName:"قابلیت رویت صفحه ",panel_visibilityName:"قابلیت رویت پنل",panel_enableName:"فعال/غیرفعال کردن پنل ",question_visibilityName:" قابلیت رویت سوال",question_enableName:"فعال/غیرفعال کردن سوال ",question_requireName:"سوال اختیاری موردنیاز",trigger_completeName:"تکمیل نظرسنجی",trigger_setvalueName:"تنظیم عنوان سوال",trigger_copyvalueName:"کپی مقدار سوال",trigger_skipName:"رد کردن سوال ",trigger_runExpressionName:"اجرای متن شفارشی مورد نظر",completedHtmlOnConditionName:"متن سفارشی صفحه 'تشکر' ",page_visibilityDescription:"زمانی که عبارت منطقی مقدار صحیح برمی گرداند صفحه را قابل مشاهده کنید، در غیراینصورت آن را غیرقابل مشاهده نگه دارید.",panel_visibilityDescription:"اگر عبارت منطقی مقدار صحیح بر میگرداند، پنل را فعال کنید، در غیر اینصورت آن را غیرقابل مشاهده نگه دارید.",panel_enableDescription:"یک پنل ایجاد کنید و همه المان های داخل آن را در صورتی که عبارت منطقی مقدار صحیح بر می گرداند را فعال کنید، در غیر اینصورت آن ها را غیرفعال نگه دارید.",question_visibilityDescription:"زمانی که عبارت منطقی مقدار صحیح را برمی گرداند، سوال را قابل مشاهده کنید، در غیر اینصورت آن را غیرمشاهده نگه دارید.",question_enableDescription:"زمانی که عبارت منطقی مقدار صحیح برمی گرداند، سوال را فعال کنید، در غیر اینصورت آن را غیرفعال نگه دارید.",question_requireDescription:"زمانی که عبارت منطقی مقدار صحیح را بر می گرداند، سوال اجبار ی می شود.",trigger_completeDescription:"زمانی که عبارت منطقی مقدار صحیح را بر می گرداند، و بررسی تکمیل می شود،کاربر نهایی صفحه 'تشکر' را مشاهده می کند.",trigger_setvalueDescription:"زمانی که مقدار سوالی که در عبارت منطقی استفاده شده است تغییر می یابد و عبارت منطقی مقدار صحیح را بر می گرداند، آنگاه مقدار برای سوال انتخاب شده تنظیم می شود.",trigger_copyvalueDescription:"زمانی که مقدارهای سوال که در عبارت منطقی استفاده شده اند، تغییر می یابد و عبارت منطقی مقدار صحیح را بر می گرداند، سپس مقدار یکی از سوال های انتخاب شده در سوال دیگر انتخاب شده کپی می شود.",trigger_skipDescription:"When the logic expression returns true then the survey skip to / focus the selected question.",trigger_runExpressionDescription:"اگر عبارت منطقی مقدار صحیح برگرداند، آنگاه عبارت سفارشی اجرا می شود. شما ممکن است به طور اختیاری این نتیجه را به سوال انتخاب شده تبدیل کنید.",completedHtmlOnConditionDescription:" اگر عبارت منطقی مقدار صحیح برگرداند متن صفحه 'تشکر' به متن داده شده تغییر می یابد.",itemExpressionText:"زمانی که عبارت {0} مقدار صحیح بر می گرداند",page_visibilityText:"صفحه {0} را قابل مشاهده کنید.",panel_visibilityText:"پنل {0} را قابل مشاهده کنید.",panel_enableText:"فعال کردن پنل {0}",question_visibilityText:"سوال {0} را قابل مشاهده کنید.",question_enableText:"فعال کردن سوال {0}",question_requireText:"ایجاد سوال {0} اجباری",trigger_completeText:"بررسی نظرسنجی تمام شد",trigger_setvalueText:"در سوال {0} مقدار {1} را قرار دهید",trigger_copyvalueText:"مقدار سوال {0} را از سوال {1} کپی کنید.",trigger_skipText:"رد کردن نظرسنجی برای سوال {0}",trigger_runExpressionText1:"اجرای عبارت '{0}' ",trigger_runExpressionText2:"و نتیجه آن را داخل سوال {0} ذخیره کنید",completedHtmlOnConditionText:"نمایش متن سفارشی برای صفحه 'تشکر'",expressionEditorTitle:"عبارت منطقی را تنظیم کنید",deleteOperation:"حذف عملکرد",addNewOperation:"اضافه کردن سوال (های) جدید",expressionInvalid:"عبارت منطقی خالی یا نادرست است. لطفا آن را تضحیح کنید",noOperationError:"لطفا حداقل یک عملکرد را اضافه نمایید",operationInvalid:"لطفا مشکلات مربوط به عملکرد(های) خود را برطرف نمایید."}},pel:{isRequired:"اجباری؟"},pe:{apply:"اعمال",ok:"تایید",save:"Save",cancel:"لغو",reset:"بازنشانی",close:"بستن",delete:"حذف",add:"Add",addNew:"افزودن",addItem:"برای اضافه کردن یک آیتم کلیک کنید...",addOther:"سایر",addSelectAll:"انتخاب همه",addNone:"هیچکدام",removeAll:"حذف همه",edit:"ویرایش",back:"بازگشت بدون ذخیره",saveAndBack:"ذخیره و بازگشت",itemValueEdit:"قابل مشاهده اگر",editChoices:"ویرایش انتخاب ها",move:"جابجایی",empty:"<خالی>",notEmpty:"<ویرایش مقدار>",fastEntry:"تکمیل سریع",formEntry:"تکمیل فرم",testService:"بررسی سرویس",itemSelectorEmpty:"لطفا یک المان را انتخاب کنید ",conditionSelectQuestion:"انتخاب سوال...",conditionSelectPage:"انتخاب صفحه...",conditionSelectPanel:"انتخاب پنل...",conditionValueQuestionTitle:"لطفا مقدار را انتخاب / وارد کنید",conditionButtonAdd:"اضافه",conditionButtonReplace:"جایگزین",conditionHelp:"لطفا یک مقدار بولین توصیفی وارد کنید که صحیح یا غلط را برگرداند تا صفحه سوالات نمایش داده شود. برای مثال: {question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"لطفا یک عبارت توصیفی را وارد کنید. شما ممکن است از کروشه برای دسترسی به مقدار سوالات استفاده کنید. برای مثال: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",aceEditorHelp:"برای مشاهده نکات تکمیلی ctrl+space را بفشارید",aceEditorRowTitle:"سطر فعلی",aceEditorPanelTitle:"پنل فعلی",showMore:"برای اطلاعات بیشتر لطفا سند راهنما را مطالعه کنید",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"سوالات موجود:",cellsEmptyRowsColumns:"حداقل باید یک سطر یا ستون وجود داشته باشد.",propertyIsEmpty:"لطفا یک مقدار وارد کنید",value:"مقدار",text:"متن",rowid:"Row ID",imageLink:"لینک تصویر",columnEdit:"ویرایش ستون: {0}",itemEdit:"ویرایش آیتم: {0}",url:"URL",path:"Path",valueName:"نام مقدار",titleName:"نام عنوان",hasOther:"دارای آیتم دیگر",otherText:"سایر آیتم های متن",hasNone:"هیچ آیتمی ندارد",noneText:"هیچ آیتم متنی وجود ندارد",hasSelectAll:"همه موارد انتخاب شده است",selectAllText:"انتخاب همه آیتم های متن",choicesMin:"حداقل مقدار برای ایجاد خودکار آیتم ها",choicesMax:"حداکثر مقدار برای ایجاد خود آیتم ها",choicesStep:"تفاوت بین موارد تولید شده خودکار",name:"نام",title:"عنوان",cellType:"نوع سلول",colCount:"تعداد ستون",choicesOrder:"ترتیب گزینه را انتخاب کنید",visible:"نمایش داده شود؟",isRequired:"ضروری است؟",isAllRowRequired:"نیاز به پاسخ برای همه سطرها",requiredErrorText:"متن خطای موردنیاز",startWithNewLine:"با سطر جدید شروع شود؟",rows:"تعداد سطر",placeHolder:"نگهدارنده متن",showPreview:"پیش نمایش تصویر نشان داده شود؟",storeDataAsText:"ذخیره کردن محتوای فایل در JSON به عنوان متن",maxSize:"حداکثر سایز به بایت",imageHeight:"ارتفاع تصویر",imageWidth:"عرض تصویر",rowCount:"تعداد سطر",columnLayout:"قالب ستون ها",addRowLocation:"اضافه کردن موقعیت دکمه سطری",addRowText:"متن دکمه درج سطر",removeRowText:"متن دکمه حذف سطر",rateMin:"حداقل میزان",rateMax:"حداکثر میزان",rateStep:"میزان مراحل",minRateDescription:"توضیح حداقل امتیاز",maxRateDescription:"توضیح حداکثر امتیاز",inputType:"نوع ورودی",optionsCaption:"نوشته انتخاب ها",defaultValue:"مقدار پیش فرض",cellsDefaultRow:"متن پیش فرض سلول ها",surveyEditorTitle:"ویرایش نظرسنجی",qEditorTitle:"ویرایش سوال: {0}",maxLength:"ماکزیمم طول",showTitle:"نمایش/پنهان کردن عنوان",locale:"زبان پیش فرض",simulator:"انتخاب دستگاه",landscapeOrientation:"Landscape",mode:"حالت (ویرایش/خواندن)",clearInvisibleValues:"پاکسازی مقادیر پنهان",cookieName:"نام کوکی (به منظور جلوگیری از اجرای دوباره نظرسنجی)",sendResultOnPageNext:"ارسال نتایج نظرسنجی در صفحه بعدی",storeOthersAsComment:"ذخیره مقدار 'سایر' در فیلد جداگانه",showPageTitles:"نمایش عنوان صفحات",showPageNumbers:"نمایش شماره صفحات",pagePrevText:"متن دکمه صفحه قبلی",pageNextText:"متن دکمه صفحه بعدی",completeText:"متن دکمه تکمیل نظرسنجی",startSurveyText:"متن دکمه شروع نظرسنجی",showNavigationButtons:"نمایش دکمه های ناوبری (ناوبری پیش فرض)",showPrevButton:"نمایش دکمه قبلی (کاربر ممکن است به صفحه قبل برگردد)",firstPageIsStarted:"صفحه اول در نظرسنجی نقطه آغازین آن است.",showCompletedPage:"نمایش صفحه اتمام نظرسنجی در پایان (completedHtml)",goNextPageAutomatic:"با پاسخگویی به تمام سوالات، به صورت اتوماتیک به صفحه بعد برود",showProgressBar:"نمایش نشانگر پیشرفت",questionTitleLocation:"محل عنوان سوال",requiredText:"سوالات نشان دار اجباری هستند",questionStartIndex:"نمایه شروع سوالات (۱،۲ یا a و b)",showQuestionNumbers:"نمایش شماره های سوالات",questionTitleTemplate:"قالب عنوان سوال، به صورت پیش فرض: '{no}. {require} {title}'",questionErrorLocation:"محل خطای سوال",focusFirstQuestionAutomatic:"تمرکز بر روی اولین سوال با تغییر صفحه",questionsOrder:"ترتیب المان ها در صفحه",maxTimeToFinish:"نهایت زمان برای اتمام نظرسنجی",maxTimeToFinishPage:"نهایت زمان برای اتمام این صفحه نظرسنجی",showTimerPanel:"نمایش پنل زمان سنج",showTimerPanelMode:"نمایش حالت پنل زمان سنج",renderMode:"حالت رندر",allowAddPanel:"اجازه افزودن پنل",allowRemovePanel:"اجازه حذف پنل",panelAddText:"متن افزودن پنل",panelRemoveText:"متن حذف پنل",isSinglePage:"نمایش تمام المان ها در یک صفحه",html:"Html",expression:"عبارت",minValue:"حداقل مقدار",maxValue:"حداکثر مقدار",minLength:"حداقل طول",allowDigits:"امکان ورود اعداد",minCount:"حداقل تعداد ",maxCount:"حداکثر مقدار",regex:"فرمت صحیح عبارت ",totalText:"متن کامل",totalType:"نوع کامل",totalExpression:"عبارت کامل",totalDisplayStyle:"سبک نمایش کل",totalCurrency:"مجموع ارز",totalFormat:"مجموع فرمت",tabs:{general:"عمومی",fileOptions:"انتخاب ها",html:"ویرایشگر HTML",columns:"ستون ها",rows:"سطرها",choices:"انتخاب ها",items:"آیتم ها",visibleIf:"نمایش در صورت",enableIf:"فعال اگر",requiredIf:"مورد نیاز ااگر",rateValues:"مقادیر رتبه بندی",choicesByUrl:"انتخاب ها از وب",matrixChoices:"انتخاب های پیشفرض",multipleTextItems:"فیلدهای متنی",validators:"اعتبارسنجی ها",navigation:"ناوبری",question:"سوال",completedHtml:"HTML صفحه تکمیل نظرسنجی",completedHtmlOnCondition:"Html در شرط کامل شد",loadingHtml:"HTML بارگزاری",timer:"زمان سنج/کوئیز",calculatedValues:"مقادیر محاسبه شد",triggers:"اجرا کننده",templateTitle:"عنوان قالب",totals:"جمع کل"},editProperty:"ویرایش خصوصیت '{0}'",items:"[ آیتم ها: {0} ]",enterNewValue:"لطفا یک مقدار وارد کنید",noquestions:"سوالی در پرسشنامه درج نشده",createtrigger:"اجرا کننده ای بسازید",triggerOn:"در ",triggerMakePagesVisible:"صفحات را قابل نمایش کن:",triggerMakeQuestionsVisible:"سوالات را قابل نمایش کن:",triggerCompleteText:"پرسشنامه را تکمیل کن اگر موفق بود.",triggerNotSet:"اجرا کننده تنظیم نشده.",triggerRunIf:"اجرا در صورت",triggerSetToName:"تعییر مقدار از: ",triggerFromName:"کپی مقدار از: ",triggerRunExpression:"اجرای این عبارت",triggerSetValue:"به: ",triggerIsVariable:"عدم درج متغییر در نتایج پرسشنامه",triggerRunExpressionEmpty:"لطفا عبارت معتبری وارد نمایید"},pv:{true:"صحیح",false:"غلط",inherit:"ارث بری",show:"آشکار",hide:"پنهان",default:"پیش فرض",initial:"اولیه",random:"تصادفی",collapsed:"جمع شده",expanded:"باز شده",none:"هیچ کدام",asc:"صعودی",desc:"نزولی",indeterminate:"نامشخص",decimal:"اعشاری",currency:"ارز",percent:"درصد",firstExpanded:"firstExpanded",off:"خاموش",onPanel:"روی پنل",onSurvey:"روی نظرسنجی",list:"لیست",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"افقی",vertical:"عمودی",top:"بالا",bottom:"پایین",topBottom:"بالا و پایین",left:"چپ",color:"رنگ",date:"تاریخ",datetime:"تاریخ و ساعت","datetime-local":"تاریخ و سوال پیش فرض",email:"ایمیل",month:"ماه",number:"عدد",password:"رمزعبور",range:"دامنه",tel:"تلفن",text:"متن",time:"زمان",url:"url",week:"هفته",hidden:"مخفی",on:"روشن",onPage:"روی صفحه",edit:"ویرایش",display:"نمایش",onComplete:"به محض تمام شدن",onHidden:"به محض مخفی شدن",all:"تمام",page:"صفحه",survey:"نظرسنجی",onNextPage:"به محض صفحه بعدی",onValueChanged:"به محض تغییر مقدار"},op:{empty:"خالی باشد",notempty:"خالی نباشد",equal:"مساوی باشد",notequal:"مساوی نباشد",contains:"شامل",notcontains:"شامل نباشد",anyof:"هرکدام",allof:"همه",greater:"بزرگتر",less:"کوچکتر",greaterorequal:"بزرگتر یا مساوی",lessorequal:"کوچکتر یا مساوی"},ew:{angular:"استفاده از نسخه Angular",jquery:"استفاده از نسخه jQuery",knockout:"استفاده از نسخه ناک اوت",react:"استفاده از نسخه React",vue:"استفاده از نسخه Vue",bootstrap:"برای فریم ورک بوتسترپ",standard:"بدون بوتسترپ",showOnPage:"نمایش نظرسنجی در یک صفحه",showInWindow:"نمایش نظرسنجی در یک پنجره",loadFromServer:"بارگزاری JSON از سرور",titleScript:"اسکریپت و شیوه نمایش",titleHtml:"HTML",titleJavaScript:"جاوااسکریپت"},ts:{selectPage:"صفحه ای را برای آزمایش انتخاب کنید:",showInvisibleElements:"نمایش المان های مخفی"},validators:{answercountvalidator:"تعداد پاسخ",emailvalidator:"ایمیل",numericvalidator:"عدد",regexvalidator:"regex",textvalidator:"متن"},triggers:{completetrigger:"تکمیل نظرسنجی",setvaluetrigger:"تنظیم مقدار",copyvaluetrigger:"کپی مقدار",skiptrigger:"رد کردن سوال ",runexpressiontrigger:"اجرای عبارت",visibletrigger:"تغییر وضعیت دیده شدن"},p:{name:"نام",title:{name:"عنوان",title:"اگر خالی باشد مانند نام درج می شود"},survey_title:{name:"عنوان",title:"در تمام صفحات دیده می شود"},page_title:{name:"عنوان",title:"عنوان صفحه"},navigationButtonsVisibility:"پدیداری دکمه های ناوبری",questionsOrder:"ترتیب سوالات",maxTimeToFinish:"حداکثر زمان برای تکمیل",visible:"آشکار",visibleIf:"آشکار اگر",questionTitleLocation:"موقعیت عنوان سوال",description:"توضیحات",state:"وضعیت",isRequired:"اجباری؟",requiredIf:"اجبار اگر؟",indent:"indent",requiredErrorText:"متن خطای اجباری",startWithNewLine:"شروع با خط جدید ",innerIndent:"تو رفتگی داخلی",page:"صفحه",width:"عرض",commentText:"متن نظر",valueName:"نام مقدار",enableIf:"فعال اگر",defaultValue:"مقدار پیش فرض",correctAnswer:"پاسخ صحیح",readOnly:"فقط خوانش",validators:"اعتبارسنج ها",titleLocation:"titleLocation",hasComment:"نظر دارد؟",hasOther:"سایر دارد؟",choices:"گزینه ها",choicesOrder:"ترتیب گزینه ها",choicesByUrl:"گزینه ها با لینک",otherText:"متن سایر",otherErrorText:"متن خطای سایر",storeOthersAsComment:"ذخیره سایر به صورت نظر",label:"برچسب",showTitle:"نامیش عنوان",valueTrue:"valueTrue",valueFalse:"valueFalse",cols:"ستون ها",rows:"سطر ها",placeHolder:"placeHolder",optionsCaption:"optionsCaption",expression:"expression",format:"فرمت",displayStyle:"سبک نمایش",currency:"ارز",useGrouping:"useGrouping",showPreview:"پیش نمایش",allowMultiple:"اجازه چند انتخابی",imageHeight:"طول عکس",imageWidth:"عرض عکس",storeDataAsText:"ذخیره داده به صورت متنی",maxSize:"نهایت حجم",html:"html",columns:"ستون ها",cells:"سلول ها",isAllRowRequired:"آیا تمام سطرها اجباری اند؟",horizontalScroll:"اسکرول افقی",cellType:"نوع سلول",columnsLayout:"columnsLayout",columnColCount:"columnColCount",columnMinWidth:"columnMinWidth",rowCount:"تعداد سطر",minRowCount:"حداقل تعداد سطر",maxRowCount:"حداکثر تعداد سطر",keyName:"keyName",keyDuplicationError:"keyDuplicationError",confirmDelete:"تاییدیه حذف",confirmDeleteText:"متن تاییدیه حذف",addRowLocation:"addRowLocation",addRowText:"افزودن متن سطر",removeRowText:"حذف متن سطر",items:"items",itemSize:"itemSize",colCount:"colCount",templateTitle:"templateTitle",templateDescription:"templateDescription",allowAddPanel:"allowAddPanel",allowRemovePanel:"allowRemovePanel",panelCount:"panelCount",minPanelCount:"minPanelCount",maxPanelCount:"maxPanelCount",panelsState:"panelsState",panelAddText:"panelAddText",panelRemoveText:"panelRemoveText",panelPrevText:"panelPrevText",panelNextText:"panelNextText",showQuestionNumbers:"showQuestionNumbers",showRangeInProgress:"showRangeInProgress",renderMode:"renderMode",templateTitleLocation:"templateTitleLocation",rateValues:"rateValues",rateMin:"rateMin",rateMax:"rateMax",rateStep:"rateStep",minRateDescription:"minRateDescription",maxRateDescription:"maxRateDescription",inputType:"inputType",size:"حجم",locale:"زبان",focusFirstQuestionAutomatic:"focusFirstQuestionAutomatic",completedHtml:"completedHtml",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"loadingHtml",triggers:"triggers",cookieName:"cookieName",sendResultOnPageNext:"sendResultOnPageNext",showNavigationButtons:"showNavigationButtons",showPrevButton:"showPrevButton",showPageTitles:"showPageTitles",showCompletedPage:"showCompletedPage",showPageNumbers:"showPageNumbers",questionErrorLocation:"questionErrorLocation",showProgressBar:"showProgressBar",mode:"mode",goNextPageAutomatic:"goNextPageAutomatic",checkErrorsMode:"checkErrorsMode",clearInvisibleValues:"clearInvisibleValues",startSurveyText:"startSurveyText",pagePrevText:"pagePrevText",pageNextText:"pageNextText",completeText:"completeText",requiredText:"requiredText",questionStartIndex:"questionStartIndex",questionTitleTemplate:"questionTitleTemplate",firstPageIsStarted:"firstPageIsStarted",isSinglePage:"isSinglePage",maxTimeToFinishPage:"maxTimeToFinishPage",showTimerPanel:"showTimerPanel",showTimerPanelMode:"showTimerPanelMode",defaultPanelValue:"defaultPanelValue",defaultRowValue:"defaultRowValue",hasNone:"hasNone",noneText:"noneText",text:"متن",minValue:"حداقل مقدار",maxValue:"حداکثر مقدار",minLength:"حداقل طول",maxLength:"حداکثر طول",allowDigits:"اجازه عدد",minCount:"حداقل تعداد",maxCount:"حداکثر تعداد",regex:"regular expression"}};i.a.locales.fa=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Edytuj",dropQuestion:"Przeciągnij pytanie.",copy:"Kopiuj",addToToolbox:"Dodaj do palety",deletePanel:"Usuń panel",deleteQuestion:"Usuń pytanie",convertTo:"Konwertuj na"},qt:{checkbox:"Wielokrotny wybór",comment:"Komentarz",dropdown:"Lista wyboru",file:"Plik",html:"Html",matrix:"Macierz (jednokrotny wybór)",matrixdropdown:"Matrix (wielokrotny wybór)",matrixdynamic:"Matrix (dynamiczne wiersze)",multipletext:"Wiele linii tekstu",panel:"Panel",paneldynamic:"Panel (dynamiczne panele)",radiogroup:"Jednokrotny wybór",rating:"Ocena",text:"Pojedyncza odpowiedź",boolean:"Prawda/Fałsz",expression:"Wyrażenie"},ed:{survey:"Ankieta",Survey:"Ankieta",editSurvey:"Edytuj ankietę",addNewPage:"Dodaj nową sekcję",deletePage:"Usuń sekcję",editPage:"Edytuj sekcję",newPageName:"sekcja",newQuestionName:"pytanie",newPanelName:"panel",testSurvey:"Testuj ankietę",testSurveyAgain:"Testuj ponownie",testSurveyWidth:"Szerokość ankiety: ",embedSurvey:"Embed Survey",saveSurvey:"Zapisz ankietę",designer:"Projektant ankiety",jsonEditor:"JSON Editor",undo:"Cofnij",redo:"Ponów",options:"Opcje",generateValidJSON:"Generate Valid JSON",generateReadableJSON:"Generate Readable JSON",toolbox:"Paleta",delSelObject:"Usuń wybrany element",correctJSON:"Please correct JSON.",surveyResults:"Wynik ankiety: ",modified:"Zmodyfikowana",saving:"Trwa zapis",saved:"Zapisano"},pel:{isRequired:"Wymagane?"},pe:{apply:"Zastosuj",ok:"OK",cancel:"Anuluj",reset:"Resetuj",close:"Zamknij",delete:"Usuń",addNew:"Dodaj nową",removeAll:"Usuń wszystkie",edit:"Edytuj",empty:"<pusty>",fastEntry:"Szybkie wprowadzanie",formEntry:"Formularz",testService:"Testuj usługę",conditionHelp:"Podaj wyrażenie, które zwróci wartość prawda/fałsz. Jeśli chcesz, aby sekcja lub pytanie pozostały widoczne - powinno zwrócić prawdę. Przykład: {pytanie1} = 'wartość1' or ({pytanie2} * {pytanie4} > 20 and {pytanie3} < 5)",expressionHelp:"Please enter an expression. You may use curly brackets to get access to the question values: '{question1} + {question2}', '({price}*{quantity}) * (100 - {discount})'",aceEditorHelp:"Press ctrl+space to get expression completion hint",aceEditorRowTitle:"Current row",aceEditorPanelTitle:"Current panel",showMore:"For more details please check the documentation",assistantTitle:"Available questions:",propertyIsEmpty:"Podaj wartość",value:"Wartość",text:"Etykieta",columnEdit:"Edit column: {0}",itemEdit:"Edit item: {0}",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",hasOther:"Czy możliwa własna odpowiedź",otherText:"Other item text",name:"Nazwa",title:"Etykieta",cellType:"Typ komórki",colCount:"Liczba kolumn",choicesOrder:"Kolejność odpowiedzi",visible:"Czy widoczne?",isRequired:"Czy wymagalne?",startWithNewLine:"Czy rozpoczyna się nową linią?",rows:"Liczba wierszy",placeHolder:"Input place holder",showPreview:"Is image preview shown?",storeDataAsText:"Store file content in JSON result as text",maxSize:"Maximum file size in bytes",imageHeight:"Image height",imageWidth:"Image width",rowCount:"Row count",addRowText:"Add row button text",removeRowText:"Remove row button text",minRateDescription:"Opis najniższej oceny",maxRateDescription:"Opis najwyższej oceny",inputType:"Input type",optionsCaption:"Options caption",defaultValue:"Default value",surveyEditorTitle:"Edytuj ankietę",qEditorTitle:"Edytuj: {0}",showTitle:"Pokaż/ukryj tytuł",locale:"Domyślny język",mode:"Tryb (edycja/podgląd)",clearInvisibleValues:"Usuń niewidoczne odpowiedzi",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"Show page titles",showPageNumbers:"Show page numbers",pagePrevText:"Page previous button text",pageNextText:"Page next button text",completeText:"Complete button text",startSurveyText:"Start button text",showNavigationButtons:"Show navigation buttons (default navigation)",showPrevButton:"Show previous button (user may return on previous page)",firstPageIsStarted:"The first page in the survey is a started page.",showCompletedPage:"Show the completed page at the end (completedHtml)",goNextPageAutomatic:"On answering all questions, go to the next page automatically",showProgressBar:"Show progress bar",questionTitleLocation:"Question title location",requiredText:"The question required symbol(s)",questionStartIndex:"Question start index (1, 2 or 'A', 'a')",showQuestionNumbers:"Show question numbers",questionTitleTemplate:"Question title template, default is: '{no}. {require} {title}'",questionErrorLocation:"Question error location",focusFirstQuestionAutomatic:"Focus first question on changing the page",questionsOrder:"Elements order on the page",maxTimeToFinish:"Maximum time to finish the survey",maxTimeToFinishPage:"Maximum time to finish a page in the survey",showTimerPanel:"Show timer panel",showTimerPanelMode:"Show timer panel mode",renderMode:"Render mode",allowAddPanel:"Allow adding a panel",allowRemovePanel:"Allow removing the panel",panelAddText:"Adding panel text",panelRemoveText:"Removing panel text",isSinglePage:"Show all elements on one page",tabs:{general:"Ogólne",fileOptions:"Options",html:"Html Editor",columns:"Kolumny",rows:"Wiersze",choices:"Odpowiedzi",visibleIf:"Widoczne jeśli",enableIf:"Enable If",rateValues:"Wartość oceny",choicesByUrl:"Odpowiedzi z webserwisu",matrixChoices:"Default Choices",multipleTextItems:"Text Inputs",validators:"Validators",navigation:"Navigation",question:"Question",completedHtml:"Completed Html",loadingHtml:"Loading Html",timer:"Timer/Quiz",triggers:"Triggers",templateTitle:"Template title"},editProperty:"Edit property '{0}'",items:"[ Items: {0} ]",enterNewValue:"Please, enter the value.",noquestions:"There is no any question in the survey.",createtrigger:"Please create a trigger",triggerOn:"On ",triggerMakePagesVisible:"Make pages visible:",triggerMakeQuestionsVisible:"Make elements visible:",triggerCompleteText:"Complete the survey if succeed.",triggerNotSet:"The trigger is not set",triggerRunIf:"Run if",triggerSetToName:"Change value of: ",triggerSetValue:"to: ",triggerIsVariable:"Do not put the variable into the survey result."},pv:{true:"prawda",false:"fałsz"},op:{empty:"is empty",notempty:"is not empty",equal:"equals",notequal:"not equals",contains:"contains",notcontains:"not contains",greater:"greater",less:"less",greaterorequal:"greater or equals",lessorequal:"Less or Equals"},ew:{angular:"Use Angular version",jquery:"Use jQuery version",knockout:"Use Knockout version",react:"Use React version",vue:"Use Vue version",bootstrap:"For bootstrap framework",standard:"No bootstrap",showOnPage:"Show survey on a page",showInWindow:"Show survey in a window",loadFromServer:"Load Survey JSON from server",titleScript:"Scripts and styles",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Wybierz stronę, aby ją przetestować:"},validators:{answercountvalidator:"answer count",emailvalidator:"e-mail",numericvalidator:"numeric",regexvalidator:"regex",textvalidator:"text"},triggers:{completetrigger:"complete survey",setvaluetrigger:"set value",visibletrigger:"change visibility"},p:{name:"nazwa",title:{name:"tytuł",title:"Pozostaw pusty, jeśli ma być taki sam, jak 'Nazwa'"},page_title:{name:"tytuł",title:"Tytuł sekcji"}}};i.a.locales.pl=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Editar",dropQuestion:"Por favor arraste uma pergunta aqui.",copy:"Copiar",addToToolbox:"Adicionar à toolbox",deletePanel:"Remover Painel",deleteQuestion:"Remover Pergunta",convertTo:"Converter para",drag:"Arrastar elemento"},qt:{default:"Default",checkbox:"Checkbox",comment:"Comentário",imagepicker:"Selecionador de imagem",dropdown:"Dropdown",file:"Arquivo",html:"Html",matrix:"Matriz (opção única)",matrixdropdown:"Matriz (multiplas opções)",matrixdynamic:"Matriz (linhas dinâmicas)",multipletext:"Texto múltiplo",panel:"Painel",paneldynamic:"Painel (painéis dinâmicos)",radiogroup:"Radiogroup",rating:"Rating",text:"Texto único",boolean:"Boleano",expression:"Expressão"},ed:{defaultLocale:"Default ({0})",survey:"Pesquisa",settings:"Configurações da Pesquisa",editSurvey:"Editar Pesquisa",addNewPage:"Adicionar Nova Página",moveRight:"Role para direita",moveLeft:"Role para esquerda",deletePage:"Deletar Página",editPage:"Editar Página",edit:"Editar",newPageName:"página",newQuestionName:"pergunta",newPanelName:"painel",testSurvey:"Testar pesquisa",testSurveyAgain:"Testar pesquisa novamente",testSurveyWidth:"Tamanho do pesquisa: ",embedSurvey:"Incorporar Pesquisa",translation:"Tradução",saveSurvey:"Salvar Pesquisa",designer:"Designer de Pesquisa",jsonEditor:"Editor de JSON",undo:"Desfazer",redo:"Refazer",options:"Opções",generateValidJSON:"Gerar JSON válido",generateReadableJSON:"Gerar JSON legível",toolbox:"Toolbox",toolboxGeneralCategory:"Geral",delSelObject:"Apagar objeto selecionado",editSelObject:"Editar objeto selecionado",correctJSON:"Por favor corrija o JSON.",surveyResults:"Resultado da pesquisa: ",surveyResultsTable:"Como Tabela",surveyResultsJson:"Como JSON",resultsTitle:"Título da Pergunta",resultsName:"Nome da Pergunta",resultsValue:"Valor da Resposta",resultsDisplayValue:"Mostrar Valor",modified:"Modificado",saving:"Salvando",saved:"Salvo",saveError:"Erro! Conteúdo do editor não foi salvo.",translationAddLanguage:"Selecione o idioma para traduzir",translationShowAllStrings:"Mostrar todas strings",translationShowAllPages:"Mostrar todas páginas",translationNoStrings:"Nenhuma string para traduzir. Por favor, altere o filtro.",translationExportToSCVButton:"Exportar para CSV",translationImportFromSCVButton:"Importar de CSV",translationMergeLocaleWithDefault:"Combinar {0} com o idioma default"},pel:{isRequired:"Obrigatório?"},pe:{apply:"Aplicar",ok:"OK",cancel:"Cancelar",reset:"Limpar",close:"Fechar",delete:"Apagar",addNew:"Adicionar Novo",addItem:"Clique para adicionar um item...",removeAll:"Remover Todos",edit:"Editar",itemValueEdit:"Visível Se",editChoices:"Editar Opções",move:"Mover",empty:"<vazio>",notEmpty:"<editar valor>",fastEntry:"Entrada Rápida",formEntry:"Entrada com formulário",testService:"Testar o serviço",conditionSelectQuestion:"Selecionar pergunta...",conditionValueQuestionTitle:"Por favor, entre/selecione o valor",conditionButtonAdd:"Add",conditionButtonReplace:"Substituir",conditionHelp:"Por favor, entre com uma expressão boleana. Deve retornar verdadeiro para manter a pergunta/página visível. Por exemplo: {´pergunta1} = 'valor1' ou ({pergunta2} * {pergunta4} > 20 e {pergunta3} < 5)",expressionHelp:"Por favor informe uma expressão boleana. Ela deve retornar verdadeiro para manter a pergunta/página visível. Por exemplo: {´pergunta1} = 'valor1' or ({pergunta2} = 3 and {pergunta3} < 5)",aceEditorHelp:"Pressione ctrl+space para autocompletar",aceEditorRowTitle:"Linha atual",aceEditorPanelTitle:"Painel atual",showMore:"Para mais detalhes, por favor visite a documentação",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Perguntas disponíveis:",cellsEmptyRowsColumns:"Deve haver ao menos uma coluna ou linha",propertyIsEmpty:"Por favor informe um valor na propriedade",value:"Valor",text:"Texto",rowid:"ID da Linha",imageLink:"Link da Imagem",columnEdit:"Editar coluna: {0}",itemEdit:"Editar item: {0}",url:"URL",path:"Caminho",valueName:"Nome do valor",titleName:"Nome do título",hasOther:"Tem item 'outros'",otherText:"Texto do item 'outros'",name:"Nome",title:"Título",cellType:"Tipo de célula",colCount:"Contagem de células",choicesOrder:"Selecione a ordem das alternativas",visible:"É visível?",isRequired:"É obrigatório?",startWithNewLine:"Começa com uma nova linha?",rows:"Contagem de linhas",placeHolder:"Texto de referência",showPreview:"Mostra pré-visualização de imagem?",storeDataAsText:"Gravar conteúdo de arquivo no resultado JSON como texto",maxSize:"Tamanho máximo de arquivo em bytes",imageHeight:"Altura da imagem",imageWidth:"Largura da imagem",rowCount:"Contagem de linhas",columnLayout:"Layout das colunas",addRowLocation:"Localização do botão de adicionar linha",addRowText:"Texto do botão para adicionar linhas",removeRowText:"Texto do botão para remover linhas",minRateDescription:"Descrição de qualificação mínima",maxRateDescription:"Descrição de qualificação máxima",inputType:"Tipo de entrada",optionsCaption:"Título de opção",defaultValue:"Valor default",cellsDefaultRow:"Texto default das células",surveyEditorTitle:"Editar configurações da pesquisa",qEditorTitle:"Editar pergunta: {0}",maxLength:"Tamanho máximo",showTitle:"Mostrar/ocultar título",locale:"Idioma default",mode:"Modo (editável/somente leitura)",clearInvisibleValues:"Limpar valores invisíveis",cookieName:"Nome do cookie (para desativar rode a pesquisa duas vezes localmente)",sendResultOnPageNext:"Enviar resultado da pesquisa na página seguinte",storeOthersAsComment:"Armazenar 'outros' valores em um campo separado",showPageTitles:"Mostrar título da página",showPageNumbers:"Mostrar número da página",pagePrevText:"Texto para botão de página anterior",pageNextText:"Texto para botão de página seguinte",completeText:"Texto para botão de completar",startSurveyText:"Texto para botão de começar",showNavigationButtons:"Mostrar botões de navegação (navegação default)",showPrevButton:"Mostrar botão de voltar (usuário pode retornar para página anterior)",firstPageIsStarted:"Primeira página da pesquisa é a página de início.",showCompletedPage:"Mostrar a página de conclusão no final (completedHtml)",goNextPageAutomatic:"Ao responder todas as perguntas, ir automaticamente para a próxima página",showProgressBar:"Mostrar barra de progresso",questionTitleLocation:"Localização do título da pergunta",requiredText:"Símbolo(s) para perguntas obrigatórias",questionStartIndex:"Index das perguntas (1, 2 or 'A', 'a')",showQuestionNumbers:"Mostrar número das perguntas",questionTitleTemplate:"Template do título da pergunta, default é: '{no}. {obrigatório} {título}'",questionErrorLocation:"Localização do erro da pergunta",focusFirstQuestionAutomatic:"Focar automaticamente na primeira pergunta ao trocar de página",questionsOrder:"Ordenar elementos na página",maxTimeToFinish:"Tempo máximo para finalizar pesquisa",maxTimeToFinishPage:"Tempo máximo para finalizar página da pesquisa",showTimerPanel:"Mostrar o painel de cronômetro",showTimerPanelMode:"Mostrar painel de modo de cronômetro",renderMode:"Modo de renderização",allowAddPanel:"Permitir adicionar painel",allowRemovePanel:"Permitir remover painel",panelAddText:"Texto de adicionar painel",panelRemoveText:"Texto de remover painel",isSinglePage:"Mostrar todos elementos em uma página",tabs:{general:"Geral",fileOptions:"Opções",html:"Editor Html",columns:"Colunas",rows:"Linhas",choices:"Opções",items:"Itens",visibleIf:"Visível se",enableIf:"Habilitar se",requiredIf:"Obrigatório se",rateValues:"Valores de qualificação",choicesByUrl:"Opções com origem na Web",matrixChoices:"Opções padrão",multipleTextItems:"Entradas de texto",validators:"Validadores",navigation:"Navegação",question:"Pergunta",completedHtml:"Completo Html",loadingHtml:"Carregando Html",timer:"Cronômetro/Quiz",triggers:"Triggers",templateTitle:"Título do template"},editProperty:"Editar propriedade '{0}'",items:"[ Items: {0} ]",enterNewValue:"Por favor, informe o valor.",noquestions:"Não há nenhuma pergunta na pesquisa.",createtrigger:"Por favor, crie um gatilho",triggerOn:"Ligado ",triggerMakePagesVisible:"Tornar páginas visíveis:",triggerMakeQuestionsVisible:"Tornar perguntas visíves:",triggerCompleteText:"Completar a pesquisa se obtiver êxito.",triggerNotSet:"O gatilho não está definido",triggerRunIf:"Executar se",triggerSetToName:"Mudar o valor de: ",triggerFromName:"Copiar valor de: ",triggerRunExpression:"Rodar essa expressão:",triggerSetValue:"para: ",triggerIsVariable:"Não colocar a variável no resultado da pesquisa."},pv:{true:"verdadeiro",false:"falso",inherit:"inherit",show:"mostrar",hide:"ocultar",default:"default",initial:"inicial",random:"aleatório",collapsed:"colapsado",expanded:"expandido",none:"nenhum",asc:"ascendente",desc:"descendente",indeterminate:"indeterminado",decimal:"decimal",currency:"moeda",percent:"percentagem",firstExpanded:"primeiro expandido",off:"desligado",onPanel:"no painel",onSurvey:"na pesquisa",list:"lista",progressTop:"progresso superior",progressBottom:"progresso inferior",progressTopBottom:"progresso superior inferior",horizontal:"horizontal",vertical:"vertical",top:"superior",bottom:"inferior",topBottom:"superior and bottom",left:"esquerda",color:"cor",date:"data",datetime:"data e hora","datetime-local":"data e hora - local",email:"email",month:"mês",number:"número",password:"senha",range:"intervalo",tel:"tel",text:"texto",time:"hora",url:"url",week:"semana",hidden:"oculto",on:"ligado",onPage:"na página",edit:"editar",display:"mostrar",onComplete:"ao completar",onHidden:"ao ocultar",all:"todos",page:"página",survey:"pesquisa",onNextPage:"na página seguinte",onValueChanged:"ao mudar valor"},op:{empty:"está vazio",notempty:"não está vazio",equal:"é igual",notequal:"não é igual",contains:"contém",notcontains:"não contém",greater:"maior",less:"menor",greaterorequal:"maior ou igual",lessorequal:"menor ou igual"},ew:{angular:"Usar versão Angular",jquery:"Usar versão jQuery",knockout:"Usar versão Knockout",react:"Usar versão React",vue:"Usar versão Vue",bootstrap:"Para framework bootstrap",standard:"Sem bootstrap",showOnPage:"Mostrar pesquisa em uma página",showInWindow:"Mostrar pesquisa em uma janela",loadFromServer:"Carregar JSON da pesquisa de um servidor",titleScript:"Scripts e estilos",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Selecione a página para testar:",showInvisibleElements:"Mostrar elementos invisíveis"},validators:{answercountvalidator:"contador de respostas",emailvalidator:"e-mail",expressionvalidator:"expressão",numericvalidator:"numérico",regexvalidator:"regex",textvalidator:"texto"},triggers:{completetrigger:"completar pesquisa",setvaluetrigger:"definir valor",copyvaluetrigger:"copiar valor",runexpressiontrigger:"rodar expressão",visibletrigger:"alterar visibilidade"},p:{name:"nome",title:{name:"título",title:"Deixar vazio se for o mesmo que 'Nome'"},navigationButtonsVisibility:"Visibilidade dos botões de navegação",questionsOrder:"Ordenar elementos na página",maxTimeToFinish:"Tempo máximo para finalizar pesquisa",visible:"Visível?",visibleIf:"Visível se",questionTitleLocation:"Localização do título da pergunta",description:"Descrição",state:"Estado",isRequired:"Obrigatório?",requiredIf:"Obrigatório se",indent:"Indentação",requiredErrorText:"Texto de erro para obrigatório",startWithNewLine:"Começar com uma nova linha",innerIndent:"Indentação interna",page:"Página",width:"Largura",commentText:"Texto do comentário",valueName:"Nome do valor",enableIf:"Habilitar se",defaultValue:"Valor default",correctAnswer:"Resposta correta",readOnly:"Somente leitura",validators:"Validadores",titleLocation:"Localização do título",hasComment:"Tem comentário",hasOther:"Tem item 'outros'",choices:"Opções",choicesOrder:"Selecione a ordem das alternativas",choicesByUrl:"Opções com origem na Web",otherText:"Texto do item 'outros'",otherErrorText:"Texto de erro da opção 'outros'",storeOthersAsComment:"Armazenar 'outros' valores em um campo separado",label:"Label",showTitle:"Mostrar título",valueTrue:"Valor verdadeiro",valueFalse:"Valor falso",cols:"Colunas",rows:"Linhas",placeHolder:"placeholder",optionsCaption:"Título das opções",expression:"Expressão",format:"Formato",displayStyle:"Mostrar estilo",currency:"Moeda",useGrouping:"Usar agrupamento",showPreview:"Mostrar preview",allowMultiple:"Permitir múltiplos",imageHeight:"Altura da imagem",imageWidth:"Largura da imagem",storeDataAsText:"Armazenar dados como texto",maxSize:"Tamanho máximo",html:"html",columns:"Colunas",cells:"Células",isAllRowRequired:"Todas linhas são obrigatórias",horizontalScroll:"Scroll horizontal",cellType:"Tipo de célula",columnsLayout:"Layout de colunas",columnColCount:"Contador de células de coluna",columnMinWidth:"Largura mínima da coluna",rowCount:"Contagem de linhas",minRowCount:"Contagem de linhas mínima",maxRowCount:"Contagem de linhas máxima",keyName:"Nome da chave",keyDuplicationError:"Erro de chave duplicada",confirmDelete:"Confirmar deleção",confirmDeleteText:"Texto de confirmar deleção",addRowLocation:"Localização do botão de adicionar linha",addRowText:"Texto do botão para adicionar linhas",removeRowText:"Texto do botão para remover linhas",items:"Itens",itemSize:"Tamanho do item",colCount:"Contagem de células",templateTitle:"Título do template",templateDescription:"Descrição do template",allowAddPanel:"Permitir adicionar painel",allowRemovePanel:"Permitir remover painel",panelCount:"Contador do painel",minPanelCount:"Contador do painel mínimo",maxPanelCount:"Contador do painel máximo",panelsState:"Estado dos painéis",panelAddText:"Texto de adicionar painel",panelRemoveText:"Texto de remover painel",panelPrevText:"Texto do painel anterior",panelNextText:"Texto do próximo painel",showQuestionNumbers:"Mostrar número das perguntas",showRangeInProgress:"showRangeInProgress",renderMode:"Modo de renderização",templateTitleLocation:"Localização do título do template",rateValues:"Valores de qualificação",rateMin:"Qualificação mínima",rateMax:"Qualificação máxima",rateStep:"Incremento da qualificação",minRateDescription:"Descrição de qualificação mínima",maxRateDescription:"Descrição de qualificação máxima",inputType:"Tipo de entrada",size:"Tamanho",locale:"Localidade",focusFirstQuestionAutomatic:"Focar automaticamente na primeira pergunta",completedHtml:"Completo Html",completedBeforeHtml:"Completo Html antes",loadingHtml:"Carregando Html",triggers:"Triggers",cookieName:"Nome do cookie",sendResultOnPageNext:"Enviar resultado da pesquisa na página seguinte",showNavigationButtons:"Mostrar botões de navegação (navegação default)",showPrevButton:"Mostrar botão de voltar (usuário pode retornar para página anterior)",showPageTitles:"Mostrar título da página",showCompletedPage:"Mostrar a página de conclusão no final (completedHtml)",showPageNumbers:"Mostrar número da página",questionErrorLocation:"Localização do erro da pergunta",showProgressBar:"Mostrar barra de progresso",mode:"Modo",goNextPageAutomatic:"Ao responder todas as perguntas, ir automaticamente para a próxima página",checkErrorsMode:"Modo de verificação de erros",clearInvisibleValues:"Limpar valores invisíveis",startSurveyText:"Texto para botão de começar",pagePrevText:"Texto para botão de página anterior",pageNextText:"Texto para botão de página seguinte",completeText:"Texto para botão de completar",requiredText:"Símbolo(s) para perguntas obrigatórias",questionStartIndex:"Index das perguntas (1, 2 or 'A', 'a')",questionTitleTemplate:"Template do título da pergunta, default é: '{no}. {obrigatório} {título}'",firstPageIsStarted:"Primeira página da pesquisa é a página de início.",isSinglePage:"Mostrar todos elementos em uma página",maxTimeToFinishPage:"Tempo máximo para finalizar página da pesquisa",showTimerPanel:"Mostrar o painel de cronômetro",showTimerPanelMode:"Mostrar painel de modo de cronômetro",defaultPanelValue:"valor default do painel",defaultRowValue:"valor default da linha",hasNone:"não tem nenhum",noneText:"nenhum texto",text:"texto",minValue:"valor mínimo",maxValue:"valor máximo",minLength:"tamanho mínimo",maxLength:"tamanho máximo",allowDigits:"permitir dígitos",minCount:"contador mínimo",maxCount:"contador máximo",regex:"expressão regular"}};i.a.locales.pt=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"编辑",externalHelpLink:"教学小片",externalHelpLinkUrl:"https://www.youtube.com/channel/UCH2ru9okIcooNZfpIbyq4qQ?view_as=subscriber",dropQuestion:"从左侧工具箱拖个问题",copy:"复制",addToToolbox:"添加到工具箱",deletePanel:"删除面板",deleteQuestion:"删除题目",convertTo:"转变为",drag:"拖放元件"},qt:{default:"默认",checkbox:"多项选择",comment:"多行文本",imagepicker:"选图片",dropdown:"下拉框",file:"文件上传",html:"Html 代码",matrix:"矩阵 (单选题)",matrixdropdown:"矩阵 (下拉框)",matrixdynamic:"矩阵 (动态问题)",multipletext:"文本框组",panel:"面板",paneldynamic:"面板(动态)",radiogroup:"单项选择",rating:"评分",text:"单行文本",boolean:"逻辑项",expression:"表达式(只读)",flowpanel:"流面板"},ed:{defaultLocale:"默认语言 ({0})",survey:"调查问卷",settings:"问卷设置",opjectPropertiesHeader:"高级",showObjectProperties:"显示属性",hideObjectProperties:"隐藏属性",editSurvey:"修改",addNewPage:"添加新页面",moveRight:"滚动到右侧",moveLeft:"滚动到左侧",deletePage:"删除页面",editPage:"编辑页面",edit:"编辑",newPageName:"页面",newQuestionName:"问题",newPanelName:"面板",newTextItemName:"文本",testSurvey:"测试问卷",testSurveyAgain:"再次测试问卷",testSurveyWidth:"问卷宽度: ",embedSurvey:"将问卷嵌入网页",translation:"转换",saveSurvey:"保存问卷",designer:"问卷设计器",jsonEditor:"JSON 编辑器",undo:"撤销",redo:"恢复",options:"选项",generateValidJSON:"生成 JSON 数据",generateReadableJSON:"生成易读的 JSON 数据",toolbox:"工具箱",toolboxGeneralCategory:"一般",delSelObject:"删除所选对象",editSelObject:"编辑所选对象",correctJSON:"请修正 JSON 数据",surveyResults:"问卷结果: ",surveyResultsTable:"表格形式",surveyResultsJson:"JSON形式",resultsTitle:"问题标题",resultsName:"问题名称",resultsValue:"答案名称",resultsDisplayValue:"显示答案",modified:"已修改",saving:"保存中...",saved:"已保存",saveError:"错误,未保存",translationAddLanguage:"语言选择",translationShowAllStrings:"全部名词",translationShowAllPages:"全部页面",translationNoStrings:"未翻译,重新选",translationExportToSCVButton:"导出CSV",translationImportFromSCVButton:"导入CSV",translationMergeLocaleWithDefault:"同默认合并 {0} ",bold:"加粗",italic:"斜体",underline:"下划线",fpAddQuestion:"添加问题",completedHtmlOnConditionItemText:"显示 if:"},pel:{isRequired:"是否为必填项?"},pe:{apply:"应用",ok:"确定",cancel:"取消",reset:"重置",close:"关闭",delete:"删除",addNew:"新建",addItem:"添加项...",addOther:"其他",addSelectAll:"全选",addNone:"无",removeAll:"全部删除",edit:"编辑器",itemValueEdit:"Visible If",editChoices:"编辑选项",move:"移动",empty:"<空>",notEmpty:"<编辑值>",fastEntry:"快速输入",formEntry:"表单输入",testService:"测试服务",conditionSelectQuestion:"选择问题...",conditionValueQuestionTitle:"选择值",conditionButtonAdd:"添加",conditionButtonReplace:"替换",conditionHelp:"请输入一个布尔表达式。当布尔值为真,问题/页面可见。例如:{question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"请输入一项条件判断。当条件判断为真时问题/页面将可见。例如: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",aceEditorHelp:"trl+space公式补完提示",aceEditorRowTitle:"当前行",aceEditorPanelTitle:"当前面板",showMore:"更多细节请查看文档",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Available questions:",cellsEmptyRowsColumns:"至少有1行",propertyIsEmpty:"请为该属性设定一个值",value:"值",text:"显示文本",rowid:"行号",imageLink:"图片链接",columnEdit:"编辑列: {0}",itemEdit:"编辑选项: {0}",url:"URL",path:"路径",valueName:"值名",titleName:"标题名",hasOther:"可添加其他答案?",otherText:"其他答案文本",hasNone:"无",noneText:"无文本",hasSelectAll:"有全选项",selectAllText:"选择全部文本",choicesMin:"选项最小值",choicesMax:"选项最大值",choicesStep:"选项间隔",name:"题目名",title:"题目文本",cellType:"单元格类型",colCount:"列数",choicesOrder:"设置选项顺序",visible:"是否可见?",isRequired:"是否为必填项?",requiredErrorText:"错误文字",startWithNewLine:"问题是否新起一行?",rows:"文本框行数",placeHolder:"占位文本",showPreview:"是否显示图像预览?",storeDataAsText:"以 JSON 文本方式存储文件",maxSize:"文件最大尺寸 (Bytes)",imageHeight:"图片高度",imageWidth:"图片宽度",rowCount:"默认行数",columnLayout:"列布局",addRowLocation:"添加行按钮位置",addRowText:"添加条目按钮文本",removeRowText:"删除条目按钮文本",rateMin:"最小评分",rateMax:"最大评分",rateStep:"评分间隔",minRateDescription:"最小值提示",maxRateDescription:"最大值提示",inputType:"文本框类型",optionsCaption:"下拉框提示语",defaultValue:"默认值",cellsDefaultRow:"Default cells texts",surveyEditorTitle:"问卷设置",qEditorTitle:"编辑问题: {0}",maxLength:"最大长度",showTitle:"显示/隐藏 标题",locale:"默认语言",mode:"模式 (编辑/只读)",clearInvisibleValues:"清除隐藏值",cookieName:"Cookie名,避免多次运行)",sendResultOnPageNext:"切换页时保存结果",storeOthersAsComment:"其他值单独储存",showPageTitles:"显示页面标题",showPageNumbers:"显示页数",pagePrevText:"前一页按钮文本",pageNextText:"后一页按钮文本",completeText:"完成按钮文本",startSurveyText:"开始按钮文本",showNavigationButtons:"显示导航按钮 (默认导航)",showPrevButton:"显示前一页按钮 (用户可返回至前一页面)",firstPageIsStarted:"调查的第一页面为起始页.",showCompletedPage:"结尾展示完成后的页面 (completedHtml)",goNextPageAutomatic:"回答本页所有问题后,自动跳转到下一页",showProgressBar:"显示进度条",questionTitleLocation:"问题的标题位置",requiredText:"问题必填标志",questionStartIndex:"问题起始标志 (1, 2 or 'A', 'a')",showQuestionNumbers:"显示问题编号",questionTitleTemplate:"问题标题模板, 默认为: '{no}. {require} {title}'",questionErrorLocation:"问题错误定位",focusFirstQuestionAutomatic:"改变页面时聚焦在第一个问题",questionsOrder:"页内问题顺序",maxTimeToFinish:"完成调查的最长时间",maxTimeToFinishPage:"完成调查中页面的最长时间",showTimerPanel:"显示计时器面板",showTimerPanelMode:"显示计时器面板模式",renderMode:"渲染模式",allowAddPanel:"允许添加面板",allowRemovePanel:"允许删除面板",panelAddText:"添加面板文本",panelRemoveText:"删除面板文本",isSinglePage:"在一个页面上展示所有元素",html:"Html",expression:"公式",minValue:"最小值",maxValue:"最大值",minLength:"最小长度",allowDigits:"允许的位数",minCount:"最小数量",maxCount:"最大数量",regex:"正则表达式",totalText:"总文本",totalType:"总类型",totalExpression:"总公式",totalDisplayStyle:"总显示风格",totalCurrency:"总currency",totalFormat:"总格式",tabs:{general:"一般",navigation:"导航",question:"问题",completedHtml:"完成后的Html",loadingHtml:"加载中的Html",timer:"问卷计时器",trigger:"触发器",fileOptions:"选项",html:"HTML 编辑器",columns:"设置列",rows:"设置行",choices:"设置选项",visibleIf:"设置可见条件",enableIf:"设置有效条件",rateValues:"设置评分值",choicesByUrl:"通过 URL 导入选项",matrixChoices:"默认选项",multipleTextItems:"文本输入",validators:"校验规则"},editProperty:"编辑属性: '{0}'",items:"[ 项目数量: {0} ]",enterNewValue:"请设定值",noquestions:"问卷中还没有创建任何问题",createtrigger:"请创建触发器",triggerOn:"当 ",triggerMakePagesVisible:"使页面可见:",triggerMakeQuestionsVisible:"使问题可见:",triggerCompleteText:"如果满足条件,则完成问卷",triggerNotSet:"触发器尚未设置",triggerRunIf:"满足下列条件时执行",triggerSetToName:"修改下列问题值: ",triggerFromName:"复制值: ",triggerRunExpression:"运行公式:",triggerSetValue:"修改为: ",triggerIsVariable:"在问卷提交结果中不要包含该变量"},pv:{true:"真",false:"假",inherit:"继承",show:"显示",hide:"隐藏",default:"默认",initial:"初始化",random:"随机",collapsed:"折叠",expanded:"扩展",none:"无",asc:"升序",desc:"降序",indeterminate:"indeterminate",decimal:"数字",currency:"货币",percent:"百分数",firstExpanded:"firstExpanded",off:"关闭",onPanel:"面板上",onSurvey:"问卷上",list:"列表",progressTop:"progressTop",progressBottom:"progressBottom",progressTopBottom:"progressTopBottom",horizontal:"水平",vertical:"垂直",top:"顶",bottom:"底",topBottom:"顶和底",left:"左",color:"颜色",date:"日期",datetime:"时间","datetime-local":"时间格式",email:"email",month:"月",number:"数字",password:"密码",range:"范围",tel:"电话",text:"text",time:"时间",url:"url",week:"周",hidden:"隐藏",on:"开",onPage:"页面上",edit:"编辑",display:"仅显示",onComplete:"完成时",onHidden:"隐藏中",all:"全部",page:"页",survey:"问卷",onNextPage:"下一页时",onValueChanged:"值变动时"},op:{empty:"为空",notempty:"不为空",equal:"等于",notequal:"不等于",contains:"包含",notcontains:"不包含",anyof:"任意",allof:"全部",greater:"大于",less:"小于",greaterorequal:"大于等于",lessorequal:"小于等于"},ew:{angular:"使用 Angular 时",jquery:"使用 JQuery 时",knockout:"使用 Knockout 时",react:"使用 React 时",vue:"使用 Vue 时",bootstrap:"使用 Bootstrap 时",standard:"不使用 Bootstrap 时",showOnPage:"嵌入页面显示",showInWindow:"使用单独的问卷窗口",loadFromServer:"从服务器加载问卷 JSON 数据",titleScript:"脚本和样式",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"选择测试页",showInvisibleElements:"显示隐藏元件"},validators:{answercountvalidator:"数量检查",emailvalidator:"Email",expressionvalidator:"公式",numericvalidator:"数字",regexvalidator:"正则表达式",textvalidator:"文本"},triggers:{completetrigger:"完成问卷",setvaluetrigger:"设置问题值",copyvaluetrigger:"复制值",runexpressiontrigger:"运行公式",visibletrigger:"修改可见性"},p:{name:"名字",title:{name:"标题",title:"如果与名字相同,请设置为空值"},navigationButtonsVisibility:"导航按钮可见",questionsOrder:"页面中元素的顺序",maxTimeToFinish:"完成调查的最长时间",visible:"可见",visibleIf:"条件可见",questionTitleLocation:"问题的标题位置",description:"说明",state:"状态",isRequired:"必选",requiredIf:"是否必选",indent:"缩进",requiredErrorText:"必填错误",startWithNewLine:"允许问题在新行",innerIndent:"缩进",page:"所在页面",width:"宽度",commentText:"备注文本",valueName:"值名",enableIf:"设置有效条件",defaultValue:"默认值",correctAnswer:"正确答案",readOnly:"只读",validators:"有效性",titleLocation:"标题位置",hasComment:"有备注",hasOther:"允许其他答案",choices:"选项",choicesOrder:"选项排序",choicesByUrl:"Url选项",otherText:"其他答案文本",otherErrorText:"其他错误",storeOthersAsComment:"其他值单独储存",label:"标签",showTitle:"显示/隐藏 标题",valueTrue:"选是的值",valueFalse:"不选的值",cols:"列",rows:"行",placeHolder:"占位",optionsCaption:"optionsCaption",expression:"公式",format:"格式",displayStyle:"显示风格",currency:"货币",useGrouping:"useGrouping",showPreview:"预览",allowMultiple:"允许多选",imageHeight:"图高",imageWidth:"图宽",storeDataAsText:"文本方式存储文件",maxSize:"最大号",html:"html",columns:"columns",cells:"单元",isAllRowRequired:"所有行必填",horizontalScroll:"滚动",cellType:"单元格类型",columnsLayout:"列布局",columnColCount:"列数",columnMinWidth:"列最小宽度",rowCount:"行数",minRowCount:"最小行数",maxRowCount:"最大行数",keyName:"键值名",keyDuplicationError:"键值重复",confirmDelete:"确认删除",confirmDeleteText:"确认删除文本",addRowLocation:"添加行位置",addRowText:"添加行文本",removeRowText:"删除文本",items:"items",itemSize:"itemSize",colCount:"列数",templateTitle:"模板标题",templateDescription:"模板描述",allowAddPanel:"允许添加面板",allowRemovePanel:"允许删除面板",panelCount:"面板数",minPanelCount:"最小面板数",maxPanelCount:"最大面板数",panelsState:"panelsState",panelAddText:"添加面板文本",panelRemoveText:"删除面板文本",panelPrevText:"前一项文字",panelNextText:"下一项文字",showQuestionNumbers:"显示问题编号",showRangeInProgress:"showRangeInProgress",renderMode:"渲染模式",templateTitleLocation:"模板标题位置",rateValues:"打分值",rateMin:"最小分",rateMax:"最大分",rateStep:"分值间距",minRateDescription:"最小分描述",maxRateDescription:"最大分描述",inputType:"inputType",size:"size",locale:"默认语言",focusFirstQuestionAutomatic:"改变页面时聚焦在第一个问题",completedHtml:"完成后的Html",completedBeforeHtml:"completedBeforeHtml",loadingHtml:"加载页面",triggers:"触发器",cookieName:"Cookie名,避免多次运行)",sendResultOnPageNext:"切换页时保存结果",showNavigationButtons:"显示导航按钮 (默认导航)",showPrevButton:"显示前一页按钮 (用户可返回至前一页面)",showPageTitles:"显示页面标题",showCompletedPage:"结尾展示完成后的页面 (completedHtml)",showPageNumbers:"显示页数",questionErrorLocation:"问题错误定位",showProgressBar:"显示进度条",mode:"模式 (编辑/只读)",goNextPageAutomatic:"回答本页所有问题后,自动跳转到下一页",checkErrorsMode:"查错模式",clearInvisibleValues:"清除隐藏值",startSurveyText:"开始按钮文本",pagePrevText:"前一页按钮文本",pageNextText:"后一页按钮文本",completeText:"完成按钮文本",requiredText:"问题必填标志",questionStartIndex:"问题起始标志 (1, 2 or 'A', 'a')",questionTitleTemplate:"问题标题模板, 默认为: '{no}. {require} {title}'",firstPageIsStarted:"调查的第一页面为起始页.",isSinglePage:"在一个页面上展示所有元素",maxTimeToFinishPage:"完成调查中页面的最长时间",showTimerPanel:"显示计时器面板",showTimerPanelMode:"显示计时器面板模式",defaultPanelValue:"默认面板值",defaultRowValue:"默认行值",hasNone:"都不选项",noneText:"无文本",text:"文本",defaultVaule:"默认选项",survey_title:{name:"标题",title:"问卷标题在每页上都会显示"},page_title:{name:"标题",title:"页面标题"}}};i.a.locales["zh-cn"]=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"Editar",dropQuestion:"Por favor coloque una pregunta aquí de la caja de herramientas en la izquierda.",copy:"Copiar",addToToolbox:"Añadir a la caja de herramientas",deletePanel:"Eliminar Panel",deleteQuestion:"Borrar Pregunta",convertTo:"Convertir a",drag:"Arrastrar Elemento"},qt:{default:"Predefinido",checkbox:"Checkbox",comment:"Comentario",dropdown:"Dropdown",file:"Archivo",html:"Html",matrix:"Matriz (elección única)",matrixdropdown:"Matriz (elección múltiple)",matrixdynamic:"Matriz (filas dinámicas)",multipletext:"Texto múltiple",panel:"Panel",paneldynamic:"Panel (paneles dinámicos)",radiogroup:"Grupo de radio",rating:"Rating",text:"Entrada sencilla",boolean:"Booleano",expression:"Expresión"},ed:{survey:"Encuesta",settings:"Ajustar Encuesta",editSurvey:"Editar Encuesta",addNewPage:"Añadir Nueva Página",moveRight:"Moverse hacia la derecha",moveLeft:"Moverse hacia la izquierda",deletePage:"Borrar Página",editPage:"Editar Página",edit:"Editar",newPageName:"página",newQuestionName:"pregunta",newPanelName:"panel",testSurvey:"Probar Encuesta",testSurveyAgain:"Probar Encuesta Otra Vez",testSurveyWidth:"Ancho de Encuesta: ",embedSurvey:"Empotrar Encuesta",saveSurvey:"Guardar Encuesta",designer:"Diseñador de Encuesta",jsonEditor:"Editor de JSON",undo:"Deshacer",redo:"Rehacer",options:"Opciones",generateValidJSON:"Generar JSON válido",generateReadableJSON:"Generar JSON legible",toolbox:"Caja de herramientas",toolboxGeneralCategory:"Categoría General",delSelObject:"Borrar objeto seleccionado",editSelObject:"Editar objeto seleccionado",correctJSON:"Por favor corrija JSON.",surveyResults:"Resultado de Encuesta: ",modified:"Modificado",saving:"Salvando",saved:"Salvado"},pel:{isRequired:"Requerido?"},pe:{apply:"Aplicar",ok:"OK",cancel:"Cancelar",reset:"Restaurar",close:"Cerrar",delete:"Borrar",addNew:"Añadir nuevo",addItem:"Click para añadir articulo...",removeAll:"Quitar todos",edit:"Editar",itemValueEdit:"Visible Si",editChoices:"Editar Opciones",move:"Mover",empty:"<vacío>",notEmpty:"<editar valor>",fastEntry:"Entrada rápida",formEntry:"Entrar en forma",testService:"Pruebe el servicio",conditionSelectQuestion:"Seleccionar pregunta...",conditionValueQuestionTitle:"Porfavor selecciona el valor",conditionButtonAdd:"Añadir",conditionButtonReplace:"Reemplazar",conditionHelp:"Por favor proporcione una expresión booleana. Debería regresar verdadero para mantener la pregunta/página visible. Por ejemplo: {pregunta1} = 'valor1' or ({pregunta2} * {pregunta4} > 20 and {pregunta3} < 5)",expressionHelp:"Por favor proporcione una expresión. Puede hacer uso de llaves para tener acceso a los valores de la pregunta: '{pregunta1} + {pregunta2}', '({precio}*{cantidad}) * (100 - {descuento})'",aceEditorHelp:"Presione ctrl+espacio para obtener un indicio de completado de expresión",aceEditorRowTitle:"Fila actual",aceEditorPanelTitle:"Panel actual",showMore:"Por favor use la documentación para más detalles",conditionShowMoreUrl:"https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf",assistantTitle:"Preguntas disponibles:",cellsEmptyRowsColumns:"Debe haber al menos una columna o fila",propertyIsEmpty:"Por favor proporcione un valor",value:"Valor",text:"Texto",columnEdit:"Editar columna: {0}",itemEdit:"Editar artículo: {0}",url:"URL",path:"trayecto",valueName:"Nombre del valor",titleName:"Título",hasOther:"Tiene otro artículo",otherText:"Texto de otro artículo",name:"Nombre",title:"Título",cellType:"Tipo de celda",colCount:"Conteo de columnas",choicesOrder:"Orden de selección de elecciones",visible:"Es visible?",isRequired:"Es requerido?",startWithNewLine:"Es inicio con nueva línea?",rows:"Conteo de filas",placeHolder:"Marcador de entrada",showPreview:"Se muestra avance de imagen?",storeDataAsText:"Guardar contenido de archivo en resultado JSON como texto",maxSize:"Tamaño máximo de archivo en bytes",imageHeight:"Altura de imagen",imageWidth:"Ancho de imagen",rowCount:"Conteo de filas",columnsLocation:"Columns location",addRowLocation:"Agregar ubicación de botón de fila",addRowText:"Añadir texto de boton de fila",removeRowText:"Quitar texto de boton de fila",minRateDescription:"Descripción de la tasa mínima",maxRateDescription:"Descripción de la tarifa máxima",inputType:"Tipo de entrada",optionsCaption:"Leyenda de opciones",defaultValue:"Valor de defecto",cellsDefaultRow:"Textos de celdas por defecto",surveyEditorTitle:"Editar ajustes de encuesta",qEditorTitle:"Editar: {0}",showTitle:"Mostrar/esconder título",locale:"Lenguaje de defecto",mode:"Modo (editar/solo lectura)",clearInvisibleValues:"Borrar valores invisibles",cookieName:"Nombre de Cookie (para deshabilitar corra encuesta dos veces localmente)",sendResultOnPageNext:"Mandar resultados de encuesta en página siguiente",storeOthersAsComment:"Guardar valor 'otros' en campo separado",showPageTitles:"Mostrar títulos de página",showPageNumbers:"Mostrar números de página",pagePrevText:"Texto de botón de página previa",pageNextText:"Texto de botón de página próxima",completeText:"Texto de botón de completado",startSurveyText:"Texto de botón de inicio",showNavigationButtons:"Mostrar botones de navigación (navegación de defecto)",showPrevButton:"Mostrar botón previo (el usuario puede regresar en página previa)",firstPageIsStarted:"La primera página en la encuesta es una página iniciada.",showCompletedPage:"Mostrar la página completada al final (completedHtml)",goNextPageAutomatic:"Al contestar todas las preguntas, ir a la próxima página automáticamente",showProgressBar:"Mostrar barra de progreso",questionTitleLocation:"Localización de título de pregunta",requiredText:"La pregunta requiere de símbolo(s)",questionStartIndex:"Índice de inicio de pregunta (1, 2 o 'A', 'a')",showQuestionNumbers:"Mostrar números de preguntas",questionTitleTemplate:"Plantilla de título de pregunta, defecto es: '{no}. {require} {title}'",questionErrorLocation:"Error en ubucación de la pregunta",focusFirstQuestionAutomatic:"Foco en primera pregunta al cambiar la página",questionsOrder:"Órden de elementos en la página",maxTimeToFinish:"Tiempo máximo para finalizar la encuesta",maxTimeToFinishPage:"Tiempo máximo para finalizar una página en la encuesta",showTimerPanel:"Mostrar panel de temporizador",showTimerPanelMode:"Modo de muestra de panel de temporizador",renderMode:"Modo de interpretador",allowAddPanel:"Permitir adición de un panel",allowRemovePanel:"Permitir remoción del panel",panelAddText:"Añadiendo texto de panel",panelRemoveText:"Quitando texto de panel",isSinglePage:"Mostrar todos los elementos en una página",tabs:{general:"General",fileOptions:"Opciones",html:"Editor Html",columns:"Columnas",rows:"Filas",choices:"Opciones",items:"Elementos",visibleIf:"Visible Si",enableIf:"Habilitar Si",rateValues:"Valores de tasa",choicesByUrl:"Opciones de la Web",matrixChoices:"Opciones de defecto",multipleTextItems:"Entradas de texto",validators:"Validadores",navigation:"Navegación",question:"Pregunta",completedHtml:"Html Completado",loadingHtml:"Cargando Html",timer:"Temporizador/Quiz",triggers:"Disparadores",templateTitle:"Título de plantilla"},editProperty:"Editar propiedad '{0}'",items:"[ Items: {0} ]",enterNewValue:"Por favor, proporcione el valor.",noquestions:"No hay ni una pregunta en la encuesta.",createtrigger:"Por favor cree un disparador",triggerOn:"En ",triggerMakePagesVisible:"Hacer páginas visibles:",triggerMakeQuestionsVisible:"Hacer elementos visibles:",triggerCompleteText:"Complete la encuesta en caso de éxito.",triggerNotSet:"El disparador no está configurado",triggerRunIf:"Correr si",triggerSetToName:"Cambiar valor de: ",triggerSetValue:"a: ",triggerIsVariable:"No poner la variable en el resultado de la encuesta."},pv:{true:"verdadero",false:"falso",inherit:"heredar",show:"mostrar",hide:"ocultar",default:"predefinido",initial:"inicial",random:"aleatorio",collapsed:"colapsado",expanded:"expandido",none:"ninguna",asc:"ascendente",desc:"descendente",indeterminate:"indeterminado",decimal:"decimal",currency:"moneda",percent:"por ciento",firstExpanded:"primeroExpandido",off:"apagado",onPanel:"onPanel",onSurvey:"onSurvey",list:"lista",progressTop:"progresoArriba",progressBottom:"progresoAbajo",progressTopBottom:"progresoArribaAbajo",horizontal:"horizontal",vertical:"vertical",top:"arriba",bottom:"abajo",topBottom:"arriba y abajo",left:"izquierda",color:"color",date:"fecha",datetime:"fecha y hora","datetime-local":"fechaHora-local",email:"correo electrónico",month:"mes",number:"número",password:"contraseña",range:"rango",tel:"teléfono",text:"texto",time:"tiempo",url:"url",week:"semana",hidden:"oculto",on:"encendido",onPage:"onPage",edit:"editar",display:"mostrar",onComplete:"Cuando se complete",onHidden:"Cuando se oculte",all:"todo",page:"página",survey:"encuesta",onNextPage:"Cuando se cambie de página",onValueChanged:"Cuando el valor cambie"},op:{empty:"es vacío",notempty:"no es vacío",equal:"igual a",notequal:"no igual a",contains:"contiene",notcontains:"no contiene",greater:"mayor",less:"menor",greaterorequal:"mayor o igual a",lessorequal:"menor or igual a"},ew:{angular:"Use versión Angular",jquery:"Use versión jQuery",knockout:"Use versión Knockout",react:"Use versión React",vue:"Use versión Vue",bootstrap:"Para entorno bootstrap",standard:"No bootstrap",showOnPage:"Mostrar encuesta en una página",showInWindow:"Mostrar encuesta en una ventana",loadFromServer:"Cargar JSON de encuesta del servidor",titleScript:"Scripts y estilos",titleHtml:"HTML",titleJavaScript:"JavaScript"},ts:{selectPage:"Seleccione la página para probarla:"},validators:{answercountvalidator:"cuenta de respuestas",emailvalidator:"e-mail",expressionvalidator:"expresión",numericvalidator:"numerico",regexvalidator:"regex",textvalidator:"texto"},triggers:{completetrigger:"encuesta completa",setvaluetrigger:"valor ajustado",visibletrigger:"cambio de visibilidad"},p:{name:"nombre",title:{name:"título",title:"Dejarlo vacío, si es igual que 'Nombre'"},page_title:{name:"título",title:"Título de página"},navigationButtonsVisibility:"Visibilidad de botones de navegación",questionsOrder:"Orden de las preguntas",maxTimeToFinish:"Tiempo máximo para terminar",visible:"Visible",visibleIf:"Visible Si",questionTitleLocation:"preguntaTituloLocacion",description:"Descripción",state:"Estado",isRequired:"Es Requerido",indent:"Indentar",requiredErrorText:"Texto del error",startWithNewLine:"Comenzar con una nueva línea",innerIndent:"Identación interna",page:"Página",width:"Ancho",commentText:"Texto del Comentario",valueName:"Nombre del valor",enableIf:"Habilitado Si",defaultValue:"Valor por defecto",correctAnswer:"Respuesta correcta",readOnly:"Solo Lectura",validators:"Validadores",titleLocation:"Titulo de la ubicación",hasComment:"Tiene Comentario",hasOther:"Tiene Otro",choices:"Elecciones",choicesOrder:"Orden de las opciones",choicesByUrl:"Opciones por URL",otherText:"Otro Texto",otherErrorText:"Texto del error para otro",storeOthersAsComment:"Guardar otros como comentario",label:"Etiqueta",showTitle:"Mostrar Título",valueTrue:"Valor Verdadero",valueFalse:"Valor Falso",cols:"Columnas",rows:"Filas",placeHolder:"Marcador de entrada",optionsCaption:"Opciones de Título",expression:"Expresión",format:"Formato",displayStyle:"Estilo de visualización",currency:"Moneda",useGrouping:"Usar agrupación",showPreview:"Mostrar vista previa",allowMultiple:"Permitir múltiples",imageHeight:"Altura de la imagen",imageWidth:"Ancho de la imagen",storeDataAsText:"Almacenar datos como texto",maxSize:"Tamaño máximo",html:"html",columns:"columnas",cells:"celdas",isAllRowRequired:"Se requieren todas las filas",horizontalScroll:"Desplazamiento horizontal",cellType:"Tipo de celda",columnsLocation:"Columnas de Locación",columnColCount:"Conteo de columna",columnMinWidth:"Ancho mínimo de columna",rowCount:"Conteo de fila",minRowCount:"Conteo mínima de fila",maxRowCount:"Conteo máxima de fila",keyName:"Nombre clave",keyDuplicationError:"Mensaje de error para clave de duplicada",confirmDelete:"Confirmación de eliminación",confirmDeleteText:"Texto de la confirmación para eliminación",addRowLocation:"Agrega fila de ubicación",addRowText:"Agregar texto de la fila",removeRowText:"Quitar texto de la fila",items:"ítems",itemSize:"Tamaño del ítem",colCount:"Conteo de columnas",templateTitle:"Título de la plantilla",templateDescription:"Descripción de la platilla",allowAddPanel:"Permitir agregar panel",allowRemovePanel:"Permitir eliminar panel",panelCount:"Conteo de panel",minPanelCount:"Conteo mínimo de panel",maxPanelCount:"Conteo máximo de panel",panelsState:"Paneles de Estado",panelAddText:"Agregar texto al panel",panelRemoveText:"Eliminar texto al panel",panelPrevText:"Texto anterior del panel",panelNextText:"Texto siguiente del panel",showQuestionNumbers:"Nostrar números de pregunta",showRangeInProgress:"Mostrar el rango de progreso",renderMode:"Modo renderizado",templateTitleLocation:"Plantilla del Título Ubicación",rateValues:"Valores de tarifa",rateMin:"Tarifa mínima",rateMax:"Tarifa máxima",rateStep:"Pasos de tarifa",minRateDescription:"Descripción mínima de tarifa",maxRateDescription:"Descripción máxima de tarifa",inputType:"Tipo de entrada",size:"Tamaño",locale:"Lugar",focusFirstQuestionAutomatic:"Enfocar primera pregunta automática",completedHtml:"HTML Completado",completedBeforeHtml:"Completado antes de HTML",loadingHtml:"Cargando HTML",triggers:"Disparadores",cookieName:"Nombre de la cookie",sendResultOnPageNext:"Enviar resultado a la página siguiente",showNavigationButtons:"Mostrar botones de navegación",showPrevButton:"Mostrar botón anterior",showPageTitles:"Mostrar Títulos de la página",showCompletedPage:"Mostrar página completada",showPageNumbers:"Mostrar los números de página",questionErrorLocation:"Pregunta error ubicación",showProgressBar:"Mostrar barra de progreso",mode:"Modo",goNextPageAutomatic:"Ir a la siguiente página automática",checkErrorsMode:"Verifica el modo de errores",clearInvisibleValues:"Limpiar en valores visibles",startSurveyText:"Comenzar el texto de la encuesta",pagePrevText:"Texto anterior de la página",pageNextText:"Texto siguiente de la página",completeText:"Texto completado de la página",requiredText:"Texto requerido",questionStartIndex:"Índice de inicio de pregunta",questionTitleTemplate:"Título platilla de la pregunta",firstPageIsStarted:"Se inicia la primera página",isSinglePage:"Es una sola página",maxTimeToFinishPage:"Tiempo máximo para terminar la página",showTimerPanel:"Mostrar tiempo del panel",showTimerPanelMode:"Mostrar tiempo del modo panel",text:"texto",minValue:"Valor mínimo",maxValue:"Valor máximo",minLength:"Largo mínimo",maxLength:"Largo máximo",allowDigits:"Permitir dígitos",minCount:"Conteo mínimo",maxCount:"Conteo máximo",regex:"Expresión regular"}};i.a.locales.es=n},function(e,t,o){"use strict";var i=o(0),n={survey:{edit:"編輯",dropQuestion:"請將問題放置於此",copy:"複製",addToToolbox:"添加到工具箱",deletePanel:"刪除面板",deleteQuestion:"刪除題目",convertTo:"轉變為"},qt:{checkbox:"多項選擇",comment:"多行文本框",dropdown:"下拉框",file:"文件上傳",html:"Html 代碼",matrix:"矩陣 (單選題)",matrixdropdown:"矩陣 (下拉框)",matrixdynamic:"矩陣 (動態問題)",multipletext:"文本框組",panel:"面板",paneldynamic:"面板(動態)",radiogroup:"單項選擇",rating:"評分",text:"文本框",boolean:"布林選項",expression:"表達式"},ed:{survey:"調查問卷",editSurvey:"修改",addNewPage:"添加新頁面",deletePage:"刪除頁面",editPage:"編輯頁面",newPageName:"頁面",newQuestionName:"問題",newPanelName:"面板",testSurvey:"測試問卷",testSurveyAgain:"再次測試問卷",testSurveyWidth:"問卷寬度: ",embedSurvey:"將問卷嵌入網頁",saveSurvey:"保存問卷",designer:"問卷設計器",jsonEditor:"JSON 編輯器",undo:"還原",redo:"重做",options:"選項",generateValidJSON:"生成 JSON",generateReadableJSON:"生成易讀的 JSON",toolbox:"工具箱",delSelObject:"刪除所選對象",editSelObject:"編輯所選對象",correctJSON:"修正 JSON",surveyResults:"問卷結果: ",modified:"已修改",saving:"保存中...",saved:"已保存"},pel:{isRequired:"是否為必填項?"},pe:{apply:"應用",ok:"確定",cancel:"取消",reset:"重置",close:"關閉",delete:"刪除",addNew:"新建",removeAll:"全部刪除",edit:"編輯器",empty:"<空>",fastEntry:"快速輸入",formEntry:"表單輸入",testService:"測試服務",showMore:"更多細節...",conditionHelp:"請輸入一個布林表達式。當布林值為真,問題/頁面可見。例如:{question1} = 'value1' or ({question2} * {question4} > 20 and {question3} < 5)",expressionHelp:"請輸入一項條件判斷。當條件判斷為真時問題/頁面將可見。例如: {question1} = 'value1' or ({question2} = 3 and {question3} < 5)",propertyIsEmpty:"請為該屬性設定一個值",value:"值",text:"顯示文本",columnEdit:"編輯列: {0}",itemEdit:"編輯選項: {0}",hasOther:"可添加其他答案?",otherText:"其他答案文本",url:"URL",path:"Path",valueName:"Value name",titleName:"Title name",name:"題目名",title:"題目文本",cellType:"單元格類型",colCount:"列數",choicesOrder:"設置選項順序",visible:"是否可見?",isRequired:"是否為必填項?",startWithNewLine:"問題是否新起一行?",rows:"文本框行數",placeHolder:"占位文本",showPreview:"是否顯示圖像預覽?",storeDataAsText:"以 JSON 文本方式存儲文件",maxSize:"文件最大尺寸 (Bytes)",imageHeight:"圖片高度",imageWidth:"圖片寬度",rowCount:"默認行數",addRowText:"添加條目按鈕文本",removeRowText:"刪除條目按鈕文本",minRateDescription:"最小值提示",maxRateDescription:"最大值提示",inputType:"文本框類型",optionsCaption:"下拉框提示語",qEditorTitle:"編輯問題: {0}",showTitle:"顯示/隱藏 標題",locale:"默認語言",mode:"模式 (編輯/只讀)",clearInvisibleValues:"清除隱藏值",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"顯示頁面標題",showPageNumbers:"顯示頁數",pagePrevText:"前一頁按鈕文本",pageNextText:"後一頁按鈕文本",completeText:"完成按鈕文本",startSurveyText:"開始按鈕文本",showNavigationButtons:"顯示導航按鈕 (默認導航)",showPrevButton:"顯示前一頁按鈕 (用戶可返回至前一頁面)",firstPageIsStarted:"調查的第一頁面為起始頁.",showCompletedPage:"結尾展示完成後的頁面 (completedHtml)",goNextPageAutomatic:"回答本頁所有問題後,自動跳轉到下一頁",showProgressBar:"顯示進度條",questionTitleLocation:"問題的標題位置",requiredText:"The question required symbol(s)",questionStartIndex:"問題起始標誌 (1, 2 or 'A', 'a')",showQuestionNumbers:"顯示問題編號",questionTitleTemplate:"問題標題模板, 默認為: '{no}. {require} {title}'",questionErrorLocation:"問題錯誤定位",focusFirstQuestionAutomatic:"改變頁面時聚焦在第一個問題",questionsOrder:"Elements order on the page",maxTimeToFinish:"完成調查的最長時間",maxTimeToFinishPage:"完成調查中頁面的最長時間",showTimerPanel:"顯示計時器面板",showTimerPanelMode:"顯示計時器面板模式",renderMode:"渲染模式",allowAddPanel:"允許添加面板",allowRemovePanel:"允許刪除面板",panelAddText:"添加面板文本",panelRemoveText:"刪除面板文本",isSinglePage:"在一個頁面上展示所有元素",tabs:{general:"通用項",navigation:"導航",question:"問題",completedHtml:"完成後的Html",loadingHtml:"加載中的Html",timer:"問卷計時器",trigger:"觸發器",fileOptions:"選項",html:"HTML 編輯器",columns:"設置列",rows:"設置行",choices:"設置選項",visibleIf:"設置可見條件",enableIf:"Enable If",rateValues:"設置評分值",choicesByUrl:"通過 URL 導入選項",matrixChoices:"默認選項",multipleTextItems:"文本輸入",validators:"校驗規則"},editProperty:"編輯屬性: '{0}'",items:"[ 項目數量: {0} ]",enterNewValue:"請設定值",noquestions:"問卷中還沒有創建任何問題",createtrigger:"請創建觸發器",triggerOn:"當 ",triggerMakePagesVisible:"使頁面可見:",triggerMakeQuestionsVisible:"使問題可見:",triggerCompleteText:"如果滿足條件,則完成問卷",triggerNotSet:"觸發器尚未設置",triggerRunIf:"滿足下列條件時執行",triggerSetToName:"修改下列問題值: ",triggerSetValue:"修改為: ",triggerIsVariable:"在問卷提交結果中不要包含該變量"},op:{empty:"為空",notempty:"不為空",equal:"等於",notequal:"不等於",contains:"包含",notcontains:"不包含",greater:"大於",less:"小於",greaterorequal:"大於等於",lessorequal:"小於等於"},ew:{angular:"使用 Angular 時",jquery:"使用 JQuery 時",knockout:"使用 Knockout 時",react:"使用 React 時",vue:"使用 Vue 時",bootstrap:"使用 Bootstrap 時",standard:"不使用 Bootstrap 時",showOnPage:"嵌入頁面顯示",showInWindow:"使用單獨的問卷視窗",loadFromServer:"從服務器加載問卷 JSON 數據",titleScript:"腳本和樣式",titleHtml:"HTML",titleJavaScript:"JavaScript"},validators:{answercountvalidator:"數量檢查",emailvalidator:"Email",numericvalidator:"數字",regexvalidator:"正則表達式",textvalidator:"文本"},triggers:{completetrigger:"完成問卷",setvaluetrigger:"設置問題值",visibletrigger:"修改可見性"},p:{commentText:"備註文本",choices:"選項",choicesByUrl:"Url選項",choicesOrder:"選項排序",colCount:"列數",correctAnswer:"正確答案",defaultVaule:"預設選項",description:"說明",enableIf:"允許判斷",hasComment:"hasComment",hasOther:"允許其他答案",otherText:"其他答案文本",page:"所在頁面",readOnly:"只讀",indent:"縮排",isRequired:"必填",requiredErrorText:"requiredErrorText",otherErrorText:"requiredErrorText",startWithNewLine:"允許問題在新行",showTitle:"顯示/隱藏 標題",locale:"默認語言",mode:"模式 (編輯/只讀)",clearInvisibleValues:"清除隱藏值",cookieName:"Cookie name (to disable run survey two times locally)",sendResultOnPageNext:"Send survey results on page next",storeOthersAsComment:"Store 'others' value in separate field",showPageTitles:"顯示頁面標題",showPageNumbers:"顯示頁數",pagePrevText:"前一頁按鈕文本",pageNextText:"後一頁按鈕文本",completeText:"完成按鈕文本",startSurveyText:"開始按鈕文本",showNavigationButtons:"顯示導航按鈕 (默認導航)",showPrevButton:"顯示前一頁按鈕 (用戶可返回至前一頁面)",firstPageIsStarted:"調查的第一頁面為起始頁.",showCompletedPage:"結尾展示完成後的頁面 (completedHtml)",goNextPageAutomatic:"回答本頁所有問題後,自動跳轉到下一頁",showProgressBar:"顯示進度條",questionTitleLocation:"問題的標題位置",requiredText:"The question required symbol(s)",questionStartIndex:"問題起始標志 (1, 2 or 'A', 'a')",showQuestionNumbers:"顯示問題編號",questionTitleTemplate:"問題標題模板, 默認為: '{no}. {require} {title}'",questionErrorLocation:"問題錯誤定位",focusFirstQuestionAutomatic:"改變頁面時聚焦在第一個問題",questionsOrder:"頁面中元素的順序",maxTimeToFinish:"完成調查的最長時間",maxTimeToFinishPage:"完成調查中頁面的最長時間",showTimerPanel:"顯示計時器面板",showTimerPanelMode:"顯示計時器面板模式",renderMode:"渲染模式",allowAddPanel:"允許添加面板",allowRemovePanel:"允許刪除面板",panelAddText:"添加面板文本",panelRemoveText:"刪除面板文本",isSinglePage:"在一個頁面上展示所有元素",name:"名字",title:{name:"標題",title:"如果與名字相同,請設置為空值"},survey_title:{name:"標題",title:"問卷標題在每頁上都會顯示"},page_title:{name:"標題",title:"頁面標題"}}};i.a.locales["zh-tw"]=n},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2));o.n(r);o.d(t,"a",function(){return l});var a=function(e){function t(t,o){var i=e.call(this)||this;return i.baseUrl=t,i.accessKey=o,i}return o.i(i.a)(t,e),t.prototype.getActiveSurveys=function(e){var t=new XMLHttpRequest;t.open("GET",this.baseUrl+"/getActive?accessKey="+this.accessKey),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.onload=function(){var o=t.response?JSON.parse(t.response):null;e(200==t.status,o,t.response)},t.send()},t.prototype.createSurvey=function(e,t){var o=new XMLHttpRequest;o.open("GET",this.baseUrl+"/create?accessKey="+this.accessKey+"&name="+e),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.onload=function(){var e=o.response?JSON.parse(o.response):null;t(200==o.status,e,o.response)},o.send()},t.prototype.saveSurvey=function(e,t,o){var i=new XMLHttpRequest;i.open("POST",this.baseUrl+"/changeJson?accessKey="+this.accessKey),i.setRequestHeader("Content-Type","application/json;charset=UTF-8"),i.onload=function(){var e=i.response?JSON.parse(i.response):null;!!o&&o(200==i.status,e,i.response)},i.send(JSON.stringify({Id:e,Json:t,Text:t}))},t.prototype.updateSurveyName=function(e,t,o){var i=new XMLHttpRequest;i.open("GET",this.baseUrl+"/changeName/"+e+"?accessKey="+this.accessKey+"&name="+t),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.onload=function(){var e=i.response?JSON.parse(i.response):null;!!o&&o(200==i.status,e,i.response)},i.send()},t}(r.dxSurveyService),s=function(){function e(e,t,o,i,r){void 0===e&&(e=n.observable("")),void 0===t&&(t=new Date(Date.now()).toDateString()),void 0===o&&(o=""),void 0===i&&(i=""),void 0===r&&(r=""),this.name=e,this.createdAt=t,this.id=o,this.resultId=i,this.postId=r}return e}(),l=function(){function e(t,o,i){var r=this;this.baseUrl=t,this.accessKey=o,this.editor=i,this.isEditMode=n.observable(!1),this.surveyId=n.observable(),this.surveys=n.observableArray(),this.currentSurvey=n.observable(),this.currentSurveyName=n.observable(""),this.isLoading=n.observable(!1),this.nameEditorKeypress=function(e,t){13===t.keyCode?r.edit(e,t):27===t.keyCode&&r.isEditMode(!1)};var s=window.location.hash;if(0===s.indexOf("#")&&this.surveyId(s.slice(1)),this.api=new a(t+e.serviceUrlPath,o),i.isAutoSave=!0,i.showState=!0,i.saveSurveyFunc=function(e,t){i.surveyId||r.surveyId()||r.addHandler(function(o){return t(e,o)}),(i.surveyId||r.surveyId())&&r.api.saveSurvey(i.surveyId||r.surveyId(),i.text,function(o){return t(e,o)})},this.surveys(this.getSurveys()),this.surveyId()){var l=this.surveys().filter(function(e){return e.id===r.surveyId()})[0];l?(this.currentSurvey(l),this.surveyId(void 0)):i.loadSurvey(this.surveyId())}else this.currentSurvey(this.surveys()[0]);var d=function(e){if(e){if(r.surveyId(void 0),window.location.hash="#"+e.id,i.surveyId===e.id)return;i.loadSurvey(e.id),i.surveyId=e.id,i.surveyPostId=e.postId}else r.surveyId()||(i.surveyId="",i.surveyPostId="",window.location.hash="",i.text="")};this.currentSurvey.subscribe(d),d(this.currentSurvey());var u=n.observable(!1);n.computed(function(){var e=r.currentSurvey();u(!1),e&&r.api.updateSurveyName(e.id,e.name.peek(),function(e){u(e)})}),this.toolbarItem={id:"svd-attach-survey",template:"attach-survey",visible:u,action:n.computed(function(){return"https://dxsurvey.com/Home/AttachSurvey/"+(r.currentSurvey()&&r.currentSurvey().id)}),css:"link-to-attach",innerCss:"icon-cloud",title:"Attach survey to your SurveyJS service account..."}}return e.prototype.getSurveys=function(){return JSON.parse(window.localStorage.getItem(e.StorageKey)||"[]").map(function(e){return new s(n.observable(e.name),e.createdAt,e.id,e.resultId,e.postId)})},e.prototype.setSurveys=function(t){window.localStorage.setItem(e.StorageKey,n.toJSON(t))},e.prototype.edit=function(e,t){var o=this.currentSurvey();o&&(this.isEditMode()?(o.name(this.currentSurveyName()),this.setSurveys(this.surveys()),this.api.updateSurveyName(o.id,o.name()),this.isEditMode(!1)):(this.currentSurveyName(o.name()),this.isEditMode(!0),t.target.parentNode.parentElement.getElementsByTagName("input")[0].focus()))},e.prototype.addHandler=function(e){var t=this;this.isLoading(!0),this.api.createSurvey("NewSurvey",function(o,i,r){var a=new s(n.observable(i.Name),i.CreatedAt,i.Id,i.ResultId,i.PostId);t.surveys.push(a),t.setSurveys(t.surveys()),t.editor.surveyId=i.Id,t.editor.surveyPostId=i.PostId,t.api.saveSurvey(i.Id,t.editor.text),t.currentSurvey(a),t.isLoading(!1),e&&e(o,i,r)})},e.prototype.add=function(){this.addHandler()},e.prototype.remove=function(){confirm("Do you really want to remove current survey?")&&(this.surveys.remove(this.currentSurvey()),this.setSurveys(this.surveys()),this.currentSurvey(this.surveys()[0]))},Object.defineProperty(e.prototype,"cssEdit",{get:function(){return this.isEditMode()?"icon-saved":"icon-edit"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cssAdd",{get:function(){return this.surveyId()?"icon-fork":"icon-new"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleEdit",{get:function(){return this.isEditMode()?"Save survey name":"Edit survey name"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleAdd",{get:function(){return this.surveyId()?"Fork this survey":"Add new survey"},enumerable:!0,configurable:!0}),e.serviceUrlPath="/api/MySurveys",e.StorageKey="mySurveys",e}()},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(5)),r=o(0),a=o(148);o.n(a);o.d(t,"a",function(){return s});var s=function(){function e(e,t){var o=this;this.editor=e,this.element=t,this.isNeedAutoScroll=!0,this.isDraggingPage=i.observable(!1),this.prevPagesForSelector=[],this._selectedPage=i.observable(),this.getDisplayText=function(e){return o.editor.getObjectDisplayName(e)},this.pageSelection=i.computed({read:function(){return o._selectedPage()},write:function(e){e&&"function"==typeof e.getType?o.selectedPage=e:o.editor.pages().length>0&&o.addPage()}}),this.onPageClick=function(e,t){o.isNeedAutoScroll=!1,o.editor.selectPage(e),t.stopPropagation(),o.updateMenuPosition()},this.getPageClass=function(e){var t=e===o.selectedPage?"svd_selected_page svd-light-bg-color":"";return o.editor.pages().indexOf(e)!==o.editor.pages().length-1&&(t+=" svd-border-right-none"),t},this.getPageMenuIconClass=function(e){return e===o.selectedPage&&o.isActive()?"icon-gearactive":"icon-gear"},this.showActions=function(e){return e===o.selectedPage&&o.isActive()},this._readOnly=i.observable(!1),this.pagesSelection=i.computed(function(){return o.isDraggingPage()||(o.prevPagesForSelector=o.editor.pages(),o.readOnly||(o.prevPagesForSelector=o.prevPagesForSelector.concat([{name:o.getLocString("ed.addNewPage")}]))),o.prevPagesForSelector}),this._selectedPage(this.editor.pages()[0]),this.editor.koSelectedObject.subscribe(function(t){if(!o.isActive())return void(e.survey.currentPage&&e.survey.currentPage!=o._selectedPage()&&o._selectedPage(e.survey.currentPage));o._selectedPage(t.value),o.isNeedAutoScroll?o.scrollToSelectedPage():o.isNeedAutoScroll=!0})}return e.prototype.addPage=function(){this.editor.addPage()},e.prototype.copyPage=function(e){this.editor.copyPage(e)},e.prototype.deletePage=function(){this.editor.deletePage()},e.prototype.showPageSettings=function(e){this.editor.showQuestionEditor(e)},Object.defineProperty(e.prototype,"sortableOptions",{get:function(){var e=this;return{onStart:function(t){e.isDraggingPage(!0)},onEnd:function(t){e.isNeedAutoScroll=!1,e.editor.movePage(t.oldIndex,t.newIndex),e.isDraggingPage(!1)},handle:".svd-page-name",animation:150}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedPage",{get:function(){return this._selectedPage()},set:function(e){this.editor.selectPage(e)},enumerable:!0,configurable:!0}),e.prototype.isLastPage=function(){return 1===this.editor.pages().length},e.prototype.moveLeft=function(e,t){this.element.querySelector(".svd-pages").scrollLeft-=50,this.updateMenuPosition()},e.prototype.moveRight=function(e,t){this.element.querySelector(".svd-pages").scrollLeft+=50,this.updateMenuPosition()},e.prototype.scrollToSelectedPage=function(){var e=this.element.querySelector(".svd-pages");if(e){var t=this.editor.pages().indexOf(this.selectedPage),o=e.children[t];o&&(e.scrollLeft=o.offsetLeft-e.offsetLeft-e.offsetWidth/2,this.updateMenuPosition())}},e.prototype.onWheel=function(e,t){var o=e.element.querySelector(".svd-pages");t=t||window.event,t.originalEvent&&(t=t.originalEvent);var i=t.deltaY||t.detail||t.wheelDelta;o.scrollLeft-=i,t.preventDefault?t.preventDefault():t.returnValue=!1,this.updateMenuPosition()},e.prototype.updateMenuPosition=function(){for(var e=this.element.querySelector(".svd-pages"),t=e.getElementsByClassName("svd-page-actions"),o=0;o<t.length;o++)t[o].style.left=t[o].parentElement.offsetLeft-e.scrollLeft+"px"},e.prototype.getLocString=function(e){return r.a.getString(e)},e.prototype.isActive=function(){var e=this.editor.koSelectedObject();if(e)return n.b.getObjectType(e.value)===n.a.Page},Object.defineProperty(e.prototype,"readOnly",{get:function(){return this.editor.readOnly||!this.editor.allowModifyPages||this._readOnly()},set:function(e){this._readOnly(e)},enumerable:!0,configurable:!0}),e}();i.components.register("pages-editor",{viewModel:{createViewModel:function(e,t){return new s(e.editor,t.element)}},template:{element:"svd-page-selector-template"}})},function(e,t,o){"use strict";var i=o(3),n=o(16),r=o(4),a=o(5);o.d(t,"a",function(){return s});var s=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"calculatedvalues"},enumerable:!0,configurable:!0}),t.prototype.getObjClassName=function(){return"calculatedvalue"},t.prototype.createNewEditorItem=function(){var t=e.prototype.createNewEditorItem.call(this);return t.obj.name=a.b.getNewName(this.getObjs(),this.itemBaseName),t},t.prototype.createOneSelectedItem=function(e){var t=this;return new l(e,function(e,o,i){return t.correctName(e,o,i)})},t.prototype.correctName=function(e,t,o){var i=this.isNameCorrect(e,t);return!i&&o&&this.changeProperty("name",o),i},t.prototype.changeProperty=function(e,t){if(this.selectedObjectEditor()){var o=this.selectedObjectEditor().getPropertyEditorByName(e);o&&o.editor&&o.editor.koValue(t)}},t.prototype.isNameCorrect=function(e,t){if(!e||!e.replace(" ",""))return!1;for(var o=this.getObjs(),i=0;i<o.length;i++)if(o[i]!=t&&o[i].name==e)return!1;return!0},Object.defineProperty(t.prototype,"itemBaseName",{get:function(){return t.ValueBaseName},enumerable:!0,configurable:!0}),t.prototype.getObjs=function(){for(var e=[],t=this.koItems(),o=0;o<t.length;o++)t[o]&&t[o].obj&&e.push(t[o].obj);return e},t.ValueBaseName="var",t}(n.a),l=function(e){function t(t,o){var i=e.call(this,t)||this;i.obj=t,i.correctName=o,t.oldName=t.name;var n=i;return t.registerFunctionOnPropertyValueChanged("expression",function(){n.objectChanged()}),t.registerFunctionOnPropertyValueChanged("name",function(){n.nameChanged()}),i}return o.i(i.a)(t,e),t.prototype.nameChanged=function(){var e=this.obj.name;if(this.obj.oldName!=e){if(this.correctName&&!this.correctName(e,this.obj,this.obj.oldName))return void(this.obj.name=this.obj.oldName);this.obj.oldName=e,this.objectChanged()}},t.prototype.getText=function(){var e=this.obj.expression;return this.obj.name+" = "+(e||"?")},t}(n.b);r.a.registerEditor("calculatedvalues",function(e){return new s(e)})},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.koRows=n.observableArray(),o.koColumns=n.observableArray(),o.koCanEdit=n.observable(!1),o}return o.i(i.a)(t,e),t.prototype.getValueText=function(e){var t=e?"notEmpty":"empty";return s.a.getPropertyInEditor(t)},t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this),this.setupCells()},t.prototype.onBeforeApply=function(){if(this.canEdit){var e=new r.QuestionMatrix("");e.setSurveyImpl(this.object.survey),e.rows=this.rows,e.columns=this.columns,e.cells=this.object.cells;for(var t=this.koRows(),o=0;o<t.length;o++)for(var i=t[o],n=i.koCells(),a=0;a<e.columns.length;a++)i.rowIndex<0?e.setDefaultCellText(a,n[a].text()):e.setCellText(t[o].rowIndex,a,n[a].text());e.cells.isEmpty?this.koValue(null):this.koValue(e.cells)}},Object.defineProperty(t.prototype,"editorType",{get:function(){return"cells"},enumerable:!0,configurable:!0}),t.prototype.onValueChanged=function(){this.isShowingModal&&this.setupCells()},Object.defineProperty(t.prototype,"canEdit",{get:function(){return this.rows.length>0&&this.columns.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.object&&this.object.rows?this.object.rows:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.object&&this.object.columns?this.object.columns:[]},enumerable:!0,configurable:!0}),t.prototype.getCellText=function(e,t){return e<0?this.object.getDefaultCellText(t):this.object.getCellText(e,t)},t.prototype.setupCells=function(){if(this.koRows([]),this.koColumns([]),this.koCanEdit(this.canEdit),this.canEdit){for(var e=[],t=0;t<this.columns.length;t++)e.push(this.columns[t].text);var o=[];o.push(this.createRow(-1,s.a.getString("pe.cellsDefaultRow")));for(var t=0;t<this.rows.length;t++)o.push(this.createRow(t,this.rows[t].text));this.koColumns(e),this.koRows(o)}},t.prototype.createRow=function(e,t){for(var o={rowIndex:e,rowText:t,koCells:n.observableArray()},i=[],r=0;r<this.columns.length;r++)i.push({text:n.observable(this.getCellText(e,r))});return o.koCells(i),o},t}(a.a);l.a.registerEditor("cells",function(e){return new d(e)})},function(e,t,o){"use strict";var i=o(3),n=o(16),r=o(4),a=o(20);o.d(t,"a",function(){return s});var s=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"htmlconditions"},enumerable:!0,configurable:!0}),t.prototype.getObjClassName=function(){return"htmlconditionitem"},t.prototype.createOneSelectedItem=function(e){return new l(e)},t}(n.a),l=function(e){function t(t){var o=e.call(this,t)||this;o.obj=t;var i=o;return t.registerFunctionOnPropertyValueChanged("expression",function(){i.objectChanged()}),o}return o.i(i.a)(t,e),t.prototype.getText=function(){var e=this.obj.expression;return a.editorLocalization.getString("ed.completedHtmlOnConditionItemText")+" "+(e||"?")},t}(n.b);r.a.registerEditor("htmlconditions",function(e){return new s(e)})},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(0)),s=o(4),l=o(8),d=o(18),u=o(15),c=o(20);o.d(t,"a",function(){return p});var p=function(e){function t(t){var o=e.call(this,t)||this;o.optionsShowTextView=!0,o.koShowTextView=n.observable(!0);var i=o;return t&&(o.detailDefinition=d.a.definition[o.getItemValueClassName()]),o.koItemsText=n.observable(""),o.koHasDetails=n.observable(!0),o.koActiveView.subscribe(function(e){"form"==e?i.updateItems(i.koItemsText()):i.koItemsText(i.getItemsText())}),o.changeToTextViewClick=function(){i.koActiveView("text")},o.changeToFormViewClick=function(){i.koActiveView("form")},o.modalName="modelEditoritemvalues"+c.SurveyPropertyModalEditor.idCounter,c.SurveyPropertyModalEditor.idCounter++,o.modalNameTarget="#"+o.modalName,o}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"itemvalue[]"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"editorTypeTemplate",{get:function(){return"itemvalues"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasDetailButton",{get:function(){return!!this.detailDefinition},enumerable:!0,configurable:!0}),t.prototype.getItemValueClassName=function(){return this.property?this.editorType+"@"+this.property.name:""},t.prototype.getEditorName=function(){return this.koEditItem()&&this.koEditItem().item?a.a.getString("pe.itemEdit").format(this.koEditItem().item.value):""},t.prototype.beforeShow=function(){e.prototype.beforeShow.call(this);var t=this.getDefinedProperties();t&&t.length>0&&this.createColumns(),this.koHasDetails(this.hasDetailsProperties())},t.prototype.getProperties=function(){var e=this.getDefinedProperties();return e&&e.length>0?e:this.getDefaultProperties()},t.prototype.getDefinedProperties=function(){if(!this.property||!this.object||!this.object.getType)return[];var e=d.a.getProperties(this.object.getType()+"@"+this.property.name);return e&&e.length>0?this.getPropertiesByNames(this.property.className,e):[]},t.prototype.getDefaultProperties=function(){for(var e=r.Serializer.getProperties(this.property.className),t=[],o=0;o<e.length;o++)e[o].visible&&t.push(e[o]);return t},t.prototype.createEditorOptions=function(){var t=e.prototype.createEditorOptions.call(this);return t.showTextView=!0,t.itemsEntryType=this.options.options&&this.options.options.itemValuesEditorEntryType||"form",t},t.prototype.onSetEditorOptions=function(t){e.prototype.onSetEditorOptions.call(this,t),this.optionsShowTextView=t.showTextView,this.updateShowTextViewVisibility(),this.koActiveView(t.itemsEntryType||"form")},t.prototype.createNewEditorItem=function(){var e=this,t=null,i=this.koItems().map(function(e){return e.item.itemValue}),n=this.property.getBaseValue();n||(n=r.surveyLocalization.getString("choices_Item")),t=o.i(l.a)(n,i);var a=this.createEditorItemValueCore(t);return this.options&&this.options.onItemValueAddedCallback(this.object,this.editablePropertyName,a,i),new m(a,function(){return e.columns},this.options,this.getItemValueClassName())},t.prototype.createEditorItem=function(e){var t=this,o=this.createEditorItemValueCore(null);return o.setData(e),new m(o,function(){return t.columns},this.options,this.getItemValueClassName())},t.prototype.createEditorItemValueCore=function(e){var t=r.Serializer.createClass(this.property.className);return t.setData(e),this.object&&(t.survey=this.object.survey,t.object=this.object),t.locOwner=this,t},t.prototype.createItemFromEditorItem=function(e){var t=e.item;this.options&&this.options.alwaySaveTextInPropertyEditors||t.text!=t.value||this.isTextLocalized(t)||(t.text=null);var o=r.Serializer.createClass(t.getType());return o.setData(t),delete o.survey,delete o.object,o},t.prototype.isTextLocalized=function(e){return Object.keys(e.locText.values).length>1},t.prototype.onValueChanged=function(){e.prototype.onValueChanged.call(this),this.isShowingModal&&"form"!==this.koActiveView()&&this.koItemsText(this.getItemsText()),this.updateShowTextViewVisibility()},t.prototype.onBeforeApply=function(){"form"!==this.koActiveView()&&this.updateItems(this.koItemsText()),e.prototype.onBeforeApply.call(this)},t.prototype.onListDetailViewChanged=function(){e.prototype.onListDetailViewChanged.call(this),this.updateShowTextViewVisibility()},t.prototype.updateItems=function(e){var t=[];if(e)for(var o=this.getProperties(),i=e.split("\n"),n=0;n<i.length;n++)if(i[n]){var a=i[n].split(r.ItemValue.Separator),s=r.Serializer.createClass(this.property.className);o.forEach(function(e,t){s[e.name]=a[t]}),t.push(s)}this.koItems(this.getItemsFromValue(t))},t.prototype.getItemsText=function(){return this.koItems().filter(function(e){return!e.cells[0].hasError}).map(function(e){return e.cells.map(function(e){return e.value||""}).join(r.ItemValue.Separator).replace(/\|$/,"")}).join("\n")},t.prototype.updateShowTextViewVisibility=function(){if(this.koShowTextView)return this.optionsShowTextView&&0!=this.columns.length?void this.koShowTextView(this.isValuePropertyVisible()&&!this.hasVisibleIfOrEnableIf()&&!this.hasMultipleLanguage()):void this.koShowTextView(!1)},t.prototype.hasMultipleLanguage=function(){for(var e=this.koItems(),t=0;t<e.length;t++)if(e[t].item.locText.hasNonDefaultText())return!0;return!1},t.prototype.isValuePropertyVisible=function(){var e=r.Serializer.findProperty("itemvalue","value");return!!e&&e.visible&&!e.readOnly},t.prototype.hasVisibleIfOrEnableIf=function(){for(var e=this.koItems(),t=0;t<e.length;t++)if(e[t].item.visibleIf||e[t].item.enableIf)return!0;return!1},t.prototype.hasDetailsProperties=function(){return!0},t}(u.a),m=function(e){function t(t,o,i,n){void 0===n&&(n="");var r=e.call(this,t,o,i)||this;return r.item=t,r.className=n,r}return o.i(i.a)(t,e),t.prototype.getClassName=function(){return this.className?this.className:this.obj.getType()},t}(u.b);s.a.registerEditor("itemvalue[]",function(e){return new p(e)},"itemvalue")},function(e,t,o){"use strict";var i=o(3),n=o(2),r=(o.n(n),o(0)),a=o(15),s=o(4),l=o(8);o.d(t,"a",function(){return d}),o.d(t,"b",function(){return u});var d=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"matrixdropdowncolumns"},enumerable:!0,configurable:!0}),t.prototype.getEditorName=function(){return this.koEditItem()?r.a.getString("pe.columnEdit").format(this.koEditItem().column.name):""},t.prototype.createNewEditorItem=function(){var e=this,t=this.createEditorColumnItemCore(null);t.name=o.i(l.a)("",this.getColumnNames());for(var i=[],n=0;n<this.koItems().length;n++)i.push(this.koItems()[n].column);return i.push(t),this.options&&this.options.onMatrixDropdownColumnAddedCallback(this.object,t,i),new u(t,function(){return e.columns},this.options)},t.prototype.createEditorItem=function(e){var t=this,o=this.createEditorColumnItemCore(e);return new u(o,function(){return t.columns},this.options)},t.prototype.createItemFromEditorItem=function(e){var t=new n.MatrixDropdownColumn(""),o=(new n.JsonObject).toJsonObject(e.column);return(new n.JsonObject).toObject(o,t),t},t.prototype.createEditorColumnItemCore=function(e){var t=new n.MatrixDropdownColumn("");if(t.object=this.object,t.colOwner=this.object,e){var o=(new n.JsonObject).toJsonObject(e);(new n.JsonObject).toObject(o,t)}return t},t.prototype.getProperties=function(){var e=this.getPropertiesNames("matrixdropdowncolumn",["isRequired","cellType","name","title"]);return this.getPropertiesByNames("matrixdropdowncolumn",e)},t.prototype.getColumnNames=function(){for(var e=[],t=this.koItems(),o=0;o<t.length;o++){var i=t[o].column.name;i&&e.push(i)}return e},t}(a.a),u=function(e){function t(t,o,i){void 0===i&&(i=null);var n=e.call(this,t,o,i)||this;n.column=t;var r=n;return t.registerFunctionOnPropertyValueChanged("cellType",function(){r.resetSurveyQuestionEditor()},"colEdit"),n}return o.i(i.a)(t,e),t.prototype.getClassName=function(){var e="matrixdropdowncolumn@";return this.column.object&&"default"===this.obj.cellType?e+this.column.object.cellType:e+this.obj.cellType},t}(a.b);s.a.registerEditor("matrixdropdowncolumns",function(e){return new d(e)})},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.items=[],o.koEditingValue=n.observableArray(),o.koCategories=n.observableArray(),o.koCategories=n.observableArray(),o.updateChoices(),o}return o.i(i.a)(t,e),t.prototype.getValueText=function(e){if(!e)return s.a.getString("pe.empty");Array.isArray(e)||(e=[e]);for(var t="[",o=0;o<e.length;o++)o>0&&(t+=", "),t+=this.getTextByItemValue(e[o]);return t+="]"},t.prototype.setObject=function(t){e.prototype.setObject.call(this,t),this.updateChoices(),this.setEditingValue()},t.prototype.updateValue=function(){e.prototype.updateValue.call(this),this.setEditingValue()},t.prototype.onBeforeApply=function(){this.koValue([].concat(this.koEditingValue()))},Object.defineProperty(t.prototype,"editorType",{get:function(){return"multiplevalues"},enumerable:!0,configurable:!0}),t.prototype.getBackgroundCls=function(e){return-1===this.koEditingValue().indexOf(""+e)?"svd-light-background-color":"svd-main-background-color"},t.prototype.updateDynamicProperties=function(){e.prototype.updateDynamicProperties.call(this),this.updateChoices()},t.prototype.setChoices=function(e){e&&Array.isArray(e)&&e.length&&(r.ItemValue.setData(this.items,e),this.setCategories(e),this.items.sort(function(e,t){var o=e.category?e.category:"",i=t.category?t.category:"";return o!=i?o<i?-1:1:(o=e.text?e.text:"",i=t.text?t.text:"",o!=i?o<i?-1:1:o.value<i.value?-1:o.value>i.value?1:0)}),this.koCategories(this.buildCategories()))},t.prototype.updateChoices=function(){var e=this,t=this.property.getChoices(this.object,function(t){e.setChoices(t)});this.setChoices(t)},t.prototype.getTextByItemValue=function(e){for(var t=0;t<this.items.length;t++)if(this.items[t].value==e)return this.items[t].text;return e},t.prototype.setEditingValue=function(){var e=this.koValue();null!=e&&void 0!=e||(e=[]),Array.isArray(e)||(e=[e]),this.koEditingValue(e)},t.prototype.setCategories=function(e){for(var t=0;t<this.items.length;t++)e[t].category&&(this.items[t].category=e[t].category)},t.prototype.buildCategories=function(){for(var e=[],t="",o=null,i=0;i<this.items.length;i++){var r=this.items[i],a=r.category?r.category:"";null!=o&&t==a||(t=a,o={koTitleVisible:n.observable(""!=t),koCategory:n.observable(t),koItems:n.observableArray(),editor:this},e.push(o)),o.koItems.push(r)}return e},t}(a.a);l.a.registerEditor("multiplevalues",function(e){return new d(e)})},function(e,t,o){"use strict";var i=o(3),n=o(1),r=(o.n(n),o(2)),a=(o.n(r),o(7)),s=o(0),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){var o=e.call(this,t)||this;return o.items=[],o.koItems=n.observableArray(),o.createSurvey(),o}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"restfull"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"restfullValue",{get:function(){return this.editingObject?this.editingObject[this.property.name]:this.editingValue?this.editingValue:null},enumerable:!0,configurable:!0}),t.prototype.getValueText=function(e){if(!e||!e.url)return s.a.getString("pe.empty");var t=e.url;return t.length>20&&(t=t.substr(0,20)+"..."),t},t.prototype.addItem=function(e,t){var o=this;this.items.push(new u(e,t?t[e]:"",function(e){o.onItemValueChanged(e)}))},t.prototype.onItemValueChanged=function(e){this.question.choicesByUrl[e.name]=e.koValue(),this.run()},t.prototype.onValueChanged=function(){var e=this.restfullValue;if(this.items=[],this.addItem("url",e),this.addItem("path",e),this.addItem("valueName",e),this.addItem("titleName",e),e&&e.getCustomPropertiesNames)for(var t=e.getCustomPropertiesNames(),o=0;o<t.length;o++){var i=t[o];"visibleIfName"!==i&&this.addItem(i,e)}this.koItems(this.items)},t.prototype.onBeforeApply=function(){var e=new r.ChoicesRestfull;e.owner=this.editingObject;for(var t=0;t<this.items.length;t++){var o=this.items[t];e[o.name]=o.koValue()}this.setValueCore(e)},t.prototype.run=function(){this.question.choicesByUrl.run()},t.prototype.createSurvey=function(){this.survey=this.options?this.options.createSurvey({},"restfulEditor"):new r.Survey,this.survey.showNavigationButtons=!1,this.survey.showQuestionNumbers="off";var e=this.survey.addNewPage("page1");this.question=e.addNewQuestion("dropdown","q1"),this.question.title=s.a.getString("pe.testService"),this.question.choices=[]},t}(a.a),u=function(){function e(e,t,o){this.name=e,this.onValueChanged=o,this.isSetttingValue=!1,this.koValue=n.observable(t||"");var i=this;this.koValue.subscribe(function(e){i.isSetttingValue||i.onValueChanged(i)})}return e.prototype.setValue=function(e){this.isSetttingValue=!0,this.koValue(e),this.isSetttingValue=!1},e}();l.a.registerEditor("restfull",function(e){return new d(e)})},function(e,t,o){"use strict";var i=o(3),n=o(2),r=(o.n(n),o(5)),a=o(0),s=o(15),l=o(4);o.d(t,"a",function(){return d});var d=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"textitems"},enumerable:!0,configurable:!0}),t.prototype.getEditorName=function(){return this.koEditItem()?this.koEditItem().text:""},t.prototype.createNewEditorItem=function(){var e=this,t=new n.MultipleTextItem(this.getNewName());return t.object=this.object,new u(t,function(){return e.columns},this.options)},t.prototype.createEditorItem=function(e){var t=this;return new u(e,function(){return t.columns},this.options)},t.prototype.createItemFromEditorItem=function(e){var t=new n.MultipleTextItem,o=(new n.JsonObject).toJsonObject(e.item);return(new n.JsonObject).toObject(o,t),t},t.prototype.getProperties=function(){var e=this.getPropertiesNames("multipletext@items",["isRequired","name","title"]);return this.getPropertiesByNames("multipletextitem",e)},t.prototype.getNewName=function(){for(var e=[],t=this.koItems(),o=0;o<t.length;o++){var i=t[o].item;i&&e.push({name:i.name})}return r.b.getNewName(e,a.a.getString("ed.newTextItemName"))},t}(s.a),u=function(e){function t(t,o,i){var n=e.call(this,t,o,i)||this;return n.item=t,n}return o.i(i.a)(t,e),t.prototype.getClassName=function(){return"multipletextitem"},Object.defineProperty(t.prototype,"text",{get:function(){return a.a.getString("pe.columnEdit").format(this.item.name)},enumerable:!0,configurable:!0}),t}(s.b);l.a.registerEditor("textitems",function(e){return new d(e)})},function(e,t,o){"use strict";var i=o(3),n=o(2),r=(o.n(n),o(16)),a=o(0),s=o(4);o.d(t,"a",function(){return l});var l=function(e){function t(t){return e.call(this,t)||this}return o.i(i.a)(t,e),Object.defineProperty(t.prototype,"editorType",{get:function(){return"validators"},enumerable:!0,configurable:!0}),t.prototype.createOneSelectedItem=function(e){return new d(e)},t.prototype.getAvailableClasses=function(){for(var e=n.Serializer.getChildrenClasses("surveyvalidator",!0),t=[],o=0;o<e.length;o++){var i=e[o].name;t.push({value:i,text:a.a.getValidatorName(i)})}return t},t}(r.a),d=function(e){function t(t){var o=e.call(this,t)||this;return o.obj=t,o}return o.i(i.a)(t,e),t.prototype.getText=function(){return a.a.getValidatorName(this.obj.getType())},t}(r.b);s.a.registerEditor("validators",function(e){return new l(e)})},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(91));o.n(n);o.d(t,"a",function(){return a}),o.d(t,"b",function(){return s});var r=o(143),a=function(){function e(e,t){var o=this;this.data=e,this.template=t,this.collapsed=i.observable(!0),this.toggle=function(){if(o.collapsed(!o.collapsed()),!o.collapsed()&&document){var e=document.getElementById("editor_tab_id_"+o.data.name);e&&e.scrollIntoView(!1)}};var n=this;e.onExpand=function(){n.collapsed(!1)}}return Object.defineProperty(e.prototype,"title",{get:function(){return this.data.title},enumerable:!0,configurable:!0}),e}(),s=function(){function e(e){this.tabs=i.computed(function(){var t=i.unwrap(e.tabs).map(function(t){return new a(t,i.unwrap(e.template))});return t.length>0&&t[0].collapsed(!1),t}),this.showHeader=i.computed(function(){return e.tabs().length>1})}return e}();i.components.register("svd-accordion",{viewModel:s,template:r})},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(92));o.n(n);o.d(t,"a",function(){return r});var r=function(){function e(e,t){for(var o=t.element,i=t.element.parentElement,n=[],r=e.minLeft||10,a=e.minRight||10,s=0;s<i.children.length;s++)n.push(i.children[s]);var l=n.indexOf(o),d=n[l-1],u=n[l+1],c=function(){o.style.left=n.slice(0,l).reduce(function(e,t){return e+t.offsetWidth},0)-o.offsetWidth+"px"};window.addEventListener("resize",c),c();var p=function(e){var t=d.offsetWidth+e.movementX,n=u.offsetWidth-e.movementX;if(t>r&&n>a){o.style.left=o.offsetLeft+e.movementX+"px";var s=t/i.offsetWidth*100+"%",l=n/i.offsetWidth*100+"%";d.style.width=s,d.style.maxWidth=s,d.style.flexBasis=s,u.style.width=l,u.style.maxWidth=l,u.style.flexBasis=l}},m=function(){o.className=o.className.replace(/\ssvd-active-splitter/g,""),document.removeEventListener("mousemove",p),document.removeEventListener("mouseleave",m),document.removeEventListener("mouseup",m)};o.onmousedown=function(){o.className+=" svd-active-splitter",document.addEventListener("mousemove",p),document.addEventListener("mouseleave",m),document.addEventListener("mouseup",m)}}return e}();i.components.register("svd-splitter",{viewModel:{createViewModel:function(e,t){return new r(e,t)}},template:'<div class="svd-splitter"></div>'})},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports='<svg style="display:none;"><defs><rect id="device-l-b" width="330" height="651" x="719.5" y="298.5" rx="20"> </rect><filter id="device-l-a" width="145.5%" height="123%" x="-22.7%" y="-11.5%" filterUnits="objectBoundingBox"> <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="25" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" in="shadowBlurOuter1"></feColorMatrix></filter><rect id="device-p-b" width="330" height="651" x="120" y="458" rx="20"> </rect><filter id="device-p-a" width="145.5%" height="123%" x="-22.7%" y="-11.5%" filterUnits="objectBoundingBox"> <feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="25" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" in="shadowBlurOuter1"></feColorMatrix></filter></defs><symbol viewBox="0 0 16 16" id="icon-actionaddtotoolbox"><path d="M7.3 8H1v2h5.2c.2-.7.6-1.4 1.1-2zM10 6.2V5H1v2h7.3c.5-.3 1.1-.6 1.7-.8zM1 2h9v2H1zM11.5 7C9 7 7 9 7 11.5S9 16 11.5 16s4.5-2 4.5-4.5S14 7 11.5 7zm2.5 5h-2v2h-1v-2H9v-1h2V9h1v2h2v1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionbold"><path d="M1 1v5h2V4h3v8H4v2h7v-2H9V4h3v2h2V1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionconvertto"><path d="M3 10L0 7h6zM13 7l3 3h-6z"></path><path d="M8 4c1.5 0 2.8.8 3.4 2h2.2c-.8-2.3-3-4-5.7-4C4.7 2 2 4.7 2 8h2c0-2.2 1.8-4 4-4zM11.9 9c-.4 1.7-2 3-3.9 3-1 0-1.9-.4-2.6-1H2.8c1 1.8 3 3 5.2 3 3 0 5.4-2.2 5.9-5h-2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actioncopy"><path d="M2 6h9v9H2z"></path><path d="M5 3v2h7v7h2V3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actiondelete"><path d="M8 2C4.7 2 2 4.7 2 8s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 8l-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2 1 1-2 2 2 2z"></path></symbol><symbol viewBox="0 0 32 32" id="icon-actiondragelement"><path d="M4 10h24a2 2 0 0 0 0-4H4a2 2 0 0 0 0 4zm24 4H4a2 2 0 0 0 0 4h24a2 2 0 0 0 0-4zm0 8H4a2 2 0 0 0 0 4h24a2 2 0 0 0 0-4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actioneditelement"><path d="M1 15h4l-4-4zM7 5l-5 5 4 4 5-5zM14 6l-4-4-2 2 4 4zM9 14h5v1H9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionfontlarger"><path d="M7 6H5l-3 8H1v1h4v-1H4l.67-2h2.67L8 14H7v1h4v-1h-1L7 6zm-2 5l1-3 1 3H5zM15 3h-2V1h-2v2H9v2h2v2h2V5h2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionfontsmaller"><path d="M7 5H5l-3 8H1v1h4v-1H4l.67-2h2.67L8 13H7v1h4v-1h-1L7 5zm-2 5l1-3 1 3H5zM9 2h6v2H9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionhidetitle"><path d="M15.7 7.7c-.1-.1-1.5-1.7-3.4-3L15 2l-1-1-2.9 2.9C10.1 3.4 9 3 8 3 4.3 3 .4 7.5.3 7.7L0 8l.3.3c.1.1 1.5 1.7 3.4 3L1 14l1 1 2.9-2.9c1 .5 2.1.9 3.1.9 3.7 0 7.6-4.5 7.7-4.7L16 8l-.3-.3zM2 8c.8-.8 3.4-3 6-3 .6 0 .6 0 0 0-1.7 0-3 1.3-3 3 0 .6.2 1.1.4 1.6l-.6.6C3.5 9.4 2.5 8.5 2 8zm6 3c-.6 0-.6 0 0 0 1.7 0 3-1.3 3-3 0-.6-.2-1.1-.4-1.6l.6-.6c1.3.8 2.3 1.7 2.8 2.2-.8.8-3.4 3-6 3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionisrequired"><circle cx="7.5" cy="13.5" r="1.5"></circle><path d="M8 10l1-9H6l1 9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionitalic"><path d="M14 1H2L1 4h1l.33-1H7L5 13H3v1h6v-1H7L9 3h4.33L13 4h1l1-3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionnotrequired"><path d="M14 1L8.4 6.6 9 1H6l.8 7.2L1 14l1 1L15 2z"></path><circle cx="7.5" cy="13.5" r="1.5"></circle></symbol><symbol viewBox="0 0 12 12" id="icon-actionredo"><path d="M6 0c1.66 0 3.14.69 4.23 1.78L12 .01V5H7l1.82-1.82A3.975 3.975 0 0 0 6 2C3.79 2 2 3.79 2 6s1.79 4 4 4a4.01 4.01 0 0 0 3.71-2.52L11.4 8.6A5.994 5.994 0 0 1 6 12c-3.31 0-6-2.69-6-6s2.69-6 6-6z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-actionsettings"><path d="M12 7V5H9.86c-.1-.36-.24-.7-.43-1.02l1.52-1.52-1.41-1.41-1.52 1.52c-.32-.18-.66-.33-1.02-.42V0H5v2.15c-.36.09-.7.24-1.02.42L2.46 1.05 1.05 2.46l1.52 1.52c-.19.32-.33.66-.43 1.02H0v2h2.14c.09.36.24.71.42 1.02L1.05 9.54l1.41 1.41 1.51-1.51c.32.19.66.33 1.03.43V12h2V9.87c.37-.09.71-.24 1.02-.43l1.51 1.51 1.41-1.41-1.5-1.52c.18-.31.33-.66.42-1.02H12zM6 8.01c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-actionshowtitle"><path d="M15.7 7.7C15.6 7.5 11.7 3 8 3S.4 7.5.3 7.7L0 8l.3.3c.1.2 4 4.7 7.7 4.7s7.6-4.5 7.7-4.7L16 8l-.3-.3zM8 11c-2.6 0-5.2-2.2-6-3 .8-.8 3.4-3 6-3s5.2 2.2 6 3c-.8.8-3.4 3-6 3z"></path><circle cx="8" cy="8" r="3"></circle></symbol><symbol viewBox="0 0 16 16" id="icon-actionunderline"><path class="st0" d="M2 13h12v1H2z"></path><path d="M13 1H2v3h1V3h4v8H5v1h6v-1H9V3h4v1h1V1z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-actionundo"><path d="M6 0C4.34 0 2.86.69 1.77 1.78L0 .01V5h5L3.18 3.19C3.9 2.46 4.89 2 6 2c2.21 0 4 1.79 4 4s-1.79 4-4 4a4.01 4.01 0 0 1-3.71-2.52L.6 8.6C1.57 10.61 3.62 12 6 12c3.31 0 6-2.69 6-6S9.31 0 6 0z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-add"><path d="M14 7h-4V3H7v4H3v3h4v4h3v-4h4z"></path></symbol><symbol viewBox="0 0 10 10" id="icon-arrow_down_10x10"><path d="M2 2L0 4l5 5 5-5-2-2-3 3z"></path></symbol><symbol viewBox="0 0 10 10" id="icon-arrow_up_10x10"><path d="M8 9l2-2-5-5-5 5 2 2 3-3z"></path></symbol><symbol viewBox="0 0 34 34" id="icon-arrowdown_34x34"><style><![CDATA[.st0{fill:#fff}]]></style><path class="st0" d="M12 16l2-2 3 3 3-3 2 2-5 5z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-cloud_24x24"><style><![CDATA[.st0{fill:#1ab394}]]></style><path class="st0" d="M75 6.5C75 4.6 73.4 3 71.5 3S68 4.6 68 6.5c0 1.4.8 2.6 2 3.2-.2 1-.7 1.8-1.7 2.3-.4.2-.9.4-1.3.6-.8.3-1.7.6-2.5.9-.2.1-.3.1-.5.2v-6c1.2-.6 2-1.8 2-3.2C66 2.6 64.4 1 62.5 1S59 2.6 59 4.5c0 1.4.8 2.6 2 3.2v9.7c-1.2.6-2 1.8-2 3.2 0 1.8 1.6 3.4 3.5 3.4s3.5-1.6 3.5-3.5c0-1.4-.8-2.6-2-3.2.1-.5.4-1 .9-1.2.3-.1.6-.3 1-.4 1.1-.4 2.1-.7 3.2-1.2 1.4-.6 2.5-1.5 3.1-2.9.2-.4.3-1.1.4-1.8C74 9.3 75 8.1 75 6.5zM62.5 3c.8 0 1.5.7 1.5 1.5S63.3 6 62.5 6 61 5.3 61 4.5 61.7 3 62.5 3zm0 19c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zM70 6.5c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5S72.3 8 71.5 8 70 7.3 70 6.5zM9 18l1 1 2-2v6h2v-6l2 2 1-1-4-4z"></path><path class="st0" d="M20.9 7.9c.1-.3.1-.6.1-.9 0-2.8-2.2-5-5-5-2.6 0-4.7 1.9-4.9 4.4C10.3 5.6 9.2 5 8 5 5.8 5 4 6.8 4 9v.2c-1.7.4-3 1.3-3 3.8 0 2.3 2.4 3 4 3h3l5-5 5 5c2.8 0 5-1.2 5-4 0-1.7-.8-3.1-2.1-4.1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-autocomplete"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M15 6H7v10h9v-1H8v-2h7v2h1V6h-1zm0 6H8v-2h7v2zm0-3H8V7h7v2zM3 10H1V4h2V3H0v8h3zM14 5h1V3H6v1h8zM5 1h1V0H3v1h1v11H3v1h3v-1H5z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-barrating"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M12.1 15l-4.6-2.4L2.9 15l.9-5.1L0 6.3l5.2-.7L7.5 1l2.3 4.6 5.2.7-3.8 3.6.9 5.1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-datepicker"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M3 7h2v2H3zM7 11h2v2H7zM3 11h2v2H3zM11 11h2v2h-2zM11 7h2v2h-2zM10 6H6v4h4V6zM9 9H7V7h2v2zM4 0h1v3H4zM11 0h1v3h-1z"></path><path class="st0" d="M13 2v2h-3V2H6v2H3V2H0v14h16V2h-3zm2 13H1V5h14v10z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-editor"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M1 3h2v5H2v1h4V8H5V3h2v1h1V1H0v3h1zM10 5h6v1h-6zM10 8h6v1h-6zM0 11h16v1H0zM0 14h16v1H0z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-microphone"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M11 3.4C11 2.1 9.9 1 8.6 1h-.2C7.1 1 6 2.1 6 3.4V5h5V3.4zM8.4 10h.3C9.9 10 11 8.9 11 7.6V6H6v1.6C6 8.9 7.1 10 8.4 10z"></path><path class="st0" d="M12 6v.9c0 2.2-1.6 4.1-3.5 4.1S5 9.1 5 6.9V6H4v1c0 2.5 1.8 4.6 4 4.9V14H6v1h5v-1H9v-2.1c2.2-.3 4-2.4 4-4.9V6h-1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-nouislider"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M0 10h16v2H0zM2 4v3l2 2 2-2V4zM10 4v3l2 2 2-2V4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-signaturepad"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M0 0v15h16V0H0zm15 14H1V1h14v13z"></path><path class="st0" d="M2.6 10.2c.1.1.1.2.2.3-.2.3-.4.6-.7.8l.7.7c.2-.3.5-.6.7-.9h.1c.2.1.9.1 1.1.1 1.5-.1 2.3-.5 2.8-.8h.1l.6.3h.6c.7-.1 1.9-.8 2.5-1.2.2-.1.5-.3.5-.3v.2c0 .2 0 .3.1.5.1.3.3.4.6.5.2 0 .4 0 .5-.1.1-.3.8-1 1-1.3V8c-.1.1-.3.2-.4.4-.2.2-.5.4-.8.6l-.1.1v-.3c0-.2 0-.4-.1-.5-.1-.4-.5-.6-.9-.4-.1.1-.4.2-.6.4-.9.6-2 1.2-2.2 1.3-.1 0-.2.1-.4.1l.1-.1c.3-.3.7-.6.9-1 .2-.3.3-.6.3-.9 0-.4 0-.7-.2-1.1-.1-.3-.4-.6-.8-.7-.2-.1-.4-.1-.7 0-.2.1-.5.2-.7.4-.3.3-.5.6-.6 1-.1.2-.1.5-.1.7 0 .4 0 .7.1 1.1 0 .2.1.3.2.5-.6.3-1.5.7-2.8.6v-.1c0-.1.1-.3.2-.4.4-.7.7-1.4.9-2.1.2-.6.3-1.3.3-1.9V4.3c0-.3-.1-.6-.3-.8-.2-.4-.6-.6-1-.5-.3.1-.5.2-.7.4-.3.2-.6.5-.8.9-.2.5-.4 1-.6 1.6-.1.5-.2 1-.2 1.5s0 1 .1 1.4c.1.6.3 1 .5 1.4zm5-2.5c.1-.2.2-.5.4-.6.2-.2.4-.2.7-.2.1 0 .2.1.2.2.1.3.1.6-.1.8-.2.3-.4.6-.6.8-.2.2-.3.3-.5.4-.1-.1-.1-.2-.1-.4v-1zM3 6.7c.1-.6.3-1.3.6-1.8.1-.3.3-.5.5-.8.1 0 .2-.1.2-.1.1-.1.2 0 .3.1.1.1.1.3.1.4 0 .4.1.9 0 1.3 0 .8-.2 1.6-.5 2.3-.3.5-.5 1-.8 1.5-.1 0-.2-.1-.2-.2-.2-.6-.3-1.2-.3-1.8 0-.3.1-.6.1-.9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-sortablejs"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M7 1h9v2H7zM9 6h7v2H9zM11 11h5v2h-5zM5 10l1 1c-2.2 0-4-1.8-4-4 0-1.9 1.3-3.4 3-3.9v-2C2.2 1.5 0 4 0 7c0 3.3 2.7 6 5.9 6H6l-1 1 1 1 3-3-3-3-1 1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-tagbox"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M15 11H0V5h15v6zM1 10h13V6H1v4z"></path><path class="st0" d="M2 7h4v2H2zM7 7h4v2H7z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-delete_24x24"><path fill-rule="evenodd" clip-rule="evenodd" fill="#1AB394" d="M6 8l2-2 4 4 4-4 2 2-4 4 4 4-2 2-4-4-4 4-2-2 4-4-4-4z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-edit"><g fill-rule="evenodd" clip-rule="evenodd"><path d="M19 4l-9 9 4 4 9-9-4-4zM8 15v4h4l-4-4zM1 17v2h4v-2H1z"></path></g></symbol><symbol viewBox="0 0 16 16" id="icon-boolean"><path d="M0 16h10V6H0v10zm2-6l2 2 4-4 1 1-5 5-3-3 1-1z"></path><path d="M5 1v4h1V2h8v8h-3v1h4V1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-checkbox"><path d="M1 1v14h14V1H1zm6 10L4 8l1-1 2 2 4-4 1 1-5 5z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-comment"><path d="M8 2C4.1 2 1 4.2 1 7c0 1.9 1.5 3.6 3.8 4.4C4.6 13.1 3 14 3 14s1.5-.2 2.7-.9c.4-.2.9-.8 1.3-1.2.3.1.6.1 1 .1 3.9 0 7-2.2 7-5s-3.1-5-7-5zM4 8c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm4 0c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm4 0c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-default"><path d="M0 4h4V0H0v4zm6 0h4V0H6v4zm6-4v4h4V0h-4zM0 10h4V6H0v4zm6 0h4V6H6v4zm6 0h4V6h-4v4zM0 16h4v-4H0v4zm6 0h4v-4H6v4zm6 0h4v-4h-4v4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-dropdown"><path d="M1 1v6h14V1H1zm10 5L8 3l1-1 2 2 2-2 1 1-3 3zm-8 5h12V9H3v2zm0 4h12v-2H3v2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-expression"><path d="M15 9l-4 4-2-2-1 1 3 3 5-5zM4 4v1h2v1H3v3h4V4H4zm2 4H4V7h2v1zM8 8h1v1H8z"></path><path d="M1 1h13v7l1-1V0H0v12h6l1-1H1z"></path><path d="M10 4h1v1h-1zM9 5h1v1H9zM11 5h1v1h-1zM11 3h1v1h-1zM9 3h1v1H9z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-file"><path d="M9 0v5h5z"></path><path d="M8 0H2v16h12V6H8z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-flowpanel"><path d="M14 4h2v1h-2zM0 4h2v1H0zM14 6h2v1h-2zM0 6h2v1H0zM14 8h2v1h-2zM0 8h2v1H0zM14 10h2v1h-2zM0 10h2v1H0zM0 2h16v1H0zM0 0h16v1H0zM0 12h16v1H0zM0 14h16v1H0zM11 4L7 8 5 6 4 7l3 3 5-5z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-html"><path d="M4 4L0 8l4 4 1-1-3-3 3-3zM11 4l-1 1 3 3-3 3 1 1 4-4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-imagepicker"><style><![CDATA[.st0{fill:#3d4d5d}]]></style><path class="st0" d="M15 14H0V1h15v13zM1 13h13V2H1v11z"></path><path class="st0" d="M2 3v9h11V3H2zm4 1c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zm-3 7l2-3 1 1 2-3 4 5H3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-matrix"><path d="M4 1C2.3 1 1 2.3 1 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="4" cy="4" r="1"></circle><path d="M12 7c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM4 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM12 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-matrixdropdown"><path d="M4 1C2.3 1 1 2.3 1 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="4" cy="4" r="1"></circle><path d="M12 7c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM4 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="4" cy="12" r="1"></circle><path d="M12 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-matrixdynamic"><path d="M3 1C1.3 1 0 2.3 0 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><circle cx="3" cy="4" r="1"></circle><path d="M11 7c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM3 9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM8 15h2l-2-2zM9.03 11.99l4.03-4.03 1.98 1.98-4.03 4.03z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-multipletext"><path d="M0 2v12h16V2H0zm5 9H2V9h3v2zm0-4H2V5h3v2zm9 4H7V9h7v2zm0-4H7V5h7v2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-panel_dynamic"><path d="M2 8h10v1H2zM2 11h8l1-1H2zM9 16h2l-2-2zM14 9l-4 4 2 2 4-4zM3 3v2H2l2 2 2-2H5V3zM11 5V3H9v2H8l2 2 2-2z"></path><path d="M1 1h12v7l1-1V0H0v14h7l1-1H1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-panel"><path d="M0 0v16h16V0H0zm15 15H1V1h14v14z"></path><path d="M2 12h12v2H2zM2 9h12v2H2zM11 8L8 5h2V2h2v3h2zM5 8L2 5h2V2h2v3h2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-paneldynamic"><path d="M2 8h10v1H2zM2 11h8l1-1H2zM9 16h2l-2-2zM14 9l-4 4 2 2 4-4zM3 3v2H2l2 2 2-2H5V3zM11 5V3H9v2H8l2 2 2-2z"></path><path d="M1 1h12v7l1-1V0H0v14h7l1-1H1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-radiogroup"><path d="M3 1C1.3 1 0 2.3 0 4s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm0 4c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zM8 3v2h8V3H8zm0 10h8v-2H8v2z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-rating"><path d="M0 7h1l1-1v5h1V5H2L0 7zm5 5h5V4H5v8zm1-5h2V6H6V5h3v3H7v2h2v1H6V7zm6-2v1h2v1h-2v1h2v2h-2v1h3V5h-3z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-text"><path d="M2 1v3h1V3h4v10H5v1h6v-1H9V3h4v1h1V1H2z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-fork_24x24"><path opacity=".9" d="M-40-20c-1.2 0-2-.9-2-2v-2c0-1.1.9-2 2-2h.1c1.1 0 2 .9 2 2v2.1c-.1 1-1 1.9-2.1 1.9z"></path><path opacity=".5" d="M-40-2c-1.2 0-2-.9-2-2v-2c0-1.1.9-2 2-2h.1c1.1 0 2 .9 2 2v2c-.1 1.1-1 2-2.1 2z"></path><path opacity=".2" d="M-52-14c0-1.2.9-2 2-2h2.1c1.1 0 2 .9 2 2v.1c0 1.1-.9 2-2 2H-50c-1.1-.1-2-1-2-2.1z"></path><path opacity=".7" d="M-34-14c0-1.2.9-2 2-2h2.1c1.1 0 2 .9 2 2v.1c0 1.1-.9 2-2 2H-32c-1.1-.1-2-1-2-2.1z"></path><path opacity=".1" d="M-44.5-18.6c-.8.8-2.1.8-2.8.1l-1.2-1.2c-.8-.8-.8-2 0-2.8l.1-.1c.8-.8 2-.8 2.8 0l1.2 1.2c.7.8.7 2.1-.1 2.8z"></path><path opacity=".6" d="M-31.5-5.5c-.8.8-2.1.8-2.8.1l-1.2-1.2c-.8-.8-.8-2 0-2.8l.1-.1c.8-.8 2-.8 2.8 0l1.2 1.2c.7.8.7 2-.1 2.8z"></path><path opacity=".3" d="M-48.5-5.5c-.8-.8-.8-2.1-.1-2.8l1.2-1.2c.8-.8 2-.8 2.8 0l.1.1c.8.8.8 2 0 2.8l-1.2 1.2c-.7.7-2 .7-2.8-.1z"></path><path opacity=".8" d="M-35.4-18.5c-.8-.8-.8-2.1-.1-2.8l1.2-1.2c.8-.8 2-.8 2.8 0l.1.1c.8.8.8 2 0 2.8l-1.2 1.2c-.8.7-2.1.7-2.8-.1z"></path><path opacity=".9" fill="#9D9FA1" d="M-22-13l2-2 4 4 9-9 2 2-11 11z"></path><path d="M41-19h-1.2c-.2-.7-.4-1.3-.8-1.9l.8-.8c.4-.4.4-1 0-1.4l-.7-.7c-.4-.4-1-.4-1.4 0l-.8.8c-.6-.4-1.2-.6-1.9-.8V-25c0-.5-.5-1-1-1h-1c-.5 0-1 .5-1 1v1.2c-.7.2-1.3.4-1.9.8l-.8-.8c-.4-.4-1-.4-1.4 0l-.7.7c-.4.4-.4 1 0 1.4l.8.8c-.4.6-.6 1.2-.8 1.9H26c-.5 0-1 .5-1 1v1c0 .5.5 1 1 1h1.2c.2.7.4 1.3.8 1.9l-.8.8c-.4.4-.4 1 0 1.4l.7.7c.4.4 1 .4 1.4 0l.8-.8c.6.4 1.2.6 1.9.8v1.2c0 .5.5 1 1 1h1c.5 0 1-.5 1-1v-1.2c.7-.2 1.3-.4 1.9-.8l.8.8c.4.4 1 .4 1.4 0l.7-.7c.4-.4.4-1 0-1.4l-.8-.8c.4-.6.6-1.2.8-1.9H41c.5 0 1-.5 1-1v-1c0-.5-.5-1-1-1zm-7.5 5.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"></path><path opacity=".9" fill="#9D9FA1" d="M13-15v-3h-1.2c-.1-.4-.3-.8-.5-1.2l.9-.9-2.2-2-.9.9c-.4-.2-.8-.4-1.2-.5V-23H5v1.2c-.4.1-.8.3-1.2.5l-.8-.8L.8-20l.9.9c-.2.4-.4.8-.5 1.2H0v3h1.2c.1.4.3.8.5 1.2l-.9.7L3-10.8l.9-.9c.4.2.8.4 1.2.5v1.2h3v-1.2c.4-.1.8-.3 1.2-.5l.9.9 2.1-2.1-.9-.9c.2-.4.4-.8.5-1.2H13zm-6.5 1.5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"></path><path opacity=".6" fill="#9D9FA1" d="M23-9v-2h-1.1c-.1-.4-.2-.7-.4-1l.8-.8-1.4-1.4-.9.8c-.3-.2-.7-.3-1-.4V-15h-2v1.1c-.4.1-.7.2-1 .4l-.8-.8-1.4 1.4.8.8c-.2.3-.3.7-.4 1H13v2h1.1c.1.4.2.7.4 1l-.8.8 1.4 1.4.9-.7c.3.2.7.3 1 .4V-5h2v-1.1c.4-.1.7-.2 1-.4l.8.8 1.4-1.4-.8-.9c.2-.3.3-.7.4-1H23zm-5 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path><path opacity=".5" fill="#9D9FA1" d="M-69-7h3v5h-3z"></path><path opacity=".9" fill="#9D9FA1" d="M-69-23h3v5h-3z"></path><path opacity=".2" fill="#9D9FA1" d="M-72.993-13.993v3h-5v-3z"></path><path opacity=".7" fill="#9D9FA1" d="M-56.993-13.993v3h-5v-3z"></path><path opacity=".6" fill="#9D9FA1" d="M-64.615-7.549l2.121-2.12 3.536 3.535-2.122 2.121z"></path><path opacity=".1" fill="#9D9FA1" d="M-75.98-18.791l2.121-2.122 3.536 3.536-2.122 2.121z"></path><path opacity=".3" fill="#9D9FA1" d="M-72.505-9.669l2.121 2.121-3.535 3.536-2.122-2.121z"></path><path opacity=".8" fill="#9D9FA1" d="M-61.14-20.912l2.121 2.121-3.535 3.536-2.122-2.121z"></path><path fill="#1AB394" d="M21 6.5C21 4.6 19.4 3 17.5 3S14 4.6 14 6.5c0 1.4.8 2.6 2 3.2-.2 1-.7 1.8-1.7 2.3-.4.2-.9.4-1.3.6-.8.3-1.7.6-2.5.9-.2.1-.3.1-.5.2v-6c1.2-.6 2-1.8 2-3.2C12 2.6 10.4 1 8.5 1S5 2.6 5 4.5c0 1.4.8 2.6 2 3.2v9.7c-1.2.6-2 1.8-2 3.2C5 22.4 6.6 24 8.5 24s3.5-1.6 3.5-3.5c0-1.4-.8-2.6-2-3.2.1-.5.4-1 .9-1.2.3-.1.6-.3 1-.4 1.1-.4 2.1-.7 3.2-1.2 1.4-.6 2.5-1.5 3.1-2.9.2-.4.3-1.1.4-1.8C20 9.3 21 8.1 21 6.5zM8.5 3c.8 0 1.5.7 1.5 1.5S9.3 6 8.5 6 7 5.3 7 4.5 7.7 3 8.5 3zm0 19c-.8 0-1.5-.7-1.5-1.5S7.7 19 8.5 19s1.5.7 1.5 1.5S9.3 22 8.5 22zM16 6.5c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5S18.3 8 17.5 8 16 7.3 16 6.5z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-gear"><path d="M12 7V5H9.9c-.1-.4-.3-.7-.5-1l1.5-1.5-1.4-1.4L8 2.6c-.3-.2-.6-.4-1-.5V0H5v2.1c-.4.1-.7.3-1 .5L2.5 1.1 1.1 2.5 2.6 4c-.2.3-.4.6-.5 1H0v2h2.1c.1.4.2.7.4 1L1.1 9.5l1.4 1.4L4 9.4c.3.2.7.3 1 .4V12h2V9.9c.4-.1.7-.2 1-.4L9.5 11l1.4-1.4L9.4 8c.2-.3.3-.7.4-1H12zM6 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-gearactive"><path d="M12 7V5H9.9c-.1-.4-.3-.7-.5-1l1.5-1.5-1.4-1.4L8 2.6c-.3-.2-.6-.4-1-.5V0H5v2.1c-.4.1-.7.3-1 .5L2.5 1.1 1.1 2.5 2.6 4c-.2.3-.4.6-.5 1H0v2h2.1c.1.4.2.7.4 1L1.1 9.5l1.4 1.4L4 9.4c.3.2.7.3 1 .4V12h2V9.9c.4-.1.7-.2 1-.4L9.5 11l1.4-1.4L9.4 8c.2-.3.3-.7.4-1H12zM6 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplacecheck"><path d="M2 7l1-1 2 2 5-5 1 1-6 6z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplacedelete"><path d="M3 2L2 3l3 3-3 3 1 1 3-3 3 3 1-1-3-3 3-3-1-1-3 3z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplacedraggable"><path d="M0 4h7v7H0z"></path><path d="M2 3h6v6h1V2H2z"></path><path d="M4 1h6v6h1V0H4z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplaceedit"><path d="M1 11h3L1 8zM6 3L2 7l3 3 4-4zM11 4L8 1 7 2l3 3zM7 10h5v1H7z"></path></symbol><symbol viewBox="0 0 12 12" id="icon-inplaceplus"><path d="M11 5H7V1H5v4H1v2h4v4h2V7h4z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-left"><path d="M11 12l-2 2-6-6 6-6 2 2-4 4z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-new_24x24"><path fill="#1AB394" d="M18 11h-5V6h-3v5H5v3h5v5h3v-5h5z"></path></symbol><symbol viewBox="0 0 20 20" id="icon-noncommercial"><path d="M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zM2 10c0-1.4.4-2.8 1.1-3.9l7.6 7.6c-.3.1-.6.2-.9.2-1.1 0-2.1-.4-3-1.1l-1 1.8c.2.2.5.5.9.7s.9.4 1.4.5c.3.1.6.1.9.2v1h2v-1.3c.5-.1.9-.3 1.2-.5l1.7 1.7c-1.1.7-2.5 1.1-3.9 1.1-4.4 0-8-3.6-8-8zm14.1 5.1l-2.4-2.4v-.3c0-.6-.1-1.2-.3-1.6s-.5-.7-.8-.9c-.3-.2-.7-.4-1.1-.5l-1.2-.3c-.1-.1-.2-.1-.4-.2L8.4 7.4c0-.3.2-.6.4-.8.3-.2.7-.3 1.3-.3.8 0 1.6.3 2.4 1l.9-1.8c-.5-.4-1-.7-1.6-.9-.3-.1-.6-.2-.9-.2V3H9v1.4c-.7.1-1.3.3-1.7.7-.2.2-.4.4-.5.7L4.9 3.9C6.3 2.7 8 2 10 2c4.4 0 8 3.6 8 8 0 2-.7 3.7-1.9 5.1z"></path></symbol><symbol viewBox="0 0 16 16" id="icon-right"><path d="M5 4l2-2 6 6-6 6-2-2 4-4z"></path></symbol><symbol id="icon-device-l"><g fill="none" fill-rule="evenodd" transform="translate(-509 -409)"><g transform="rotate(-90 884.5 624)"><use fill="#000" filter="url(#device-l-a)" xlink:href="#device-l-b"></use><use fill="#FFF" xlink:href="#device-l-b"></use></g><rect width="70" height="8" x="540" y="628" fill="#F4F4F4" fill-rule="nonzero" transform="rotate(-90 575 632)" rx="4"></rect><circle cx="575" cy="585" r="4" fill="#F4F4F4" fill-rule="nonzero" transform="rotate(-90 575 585)"></circle><path fill="#F4F4F4" fill-rule="nonzero" d="M592 784V464h568v320z"></path><path fill="#E7E7E7" fill-rule="nonzero" d="M592 464v320h568V464H592zm569-1v322H591V463h570z"></path><circle cx="1186" cy="624" r="15" fill="#F4F4F4"></circle></g></symbol><symbol id="icon-device-p"><g fill="none" fill-rule="evenodd" transform="translate(-70 -408)"><use fill="#000" filter="url(#device-p-a)" xlink:href="#device-p-b"></use><use fill="#FFF" xlink:href="#device-p-b"></use><rect width="70" height="8" x="242" y="470" fill="#F4F4F4" fill-rule="nonzero" rx="4"></rect><circle cx="324" cy="474" r="4" fill="#F4F4F4" fill-rule="nonzero"></circle><path fill="#E7E7E7" fill-rule="nonzero" d="M124 490h322v570H124V490zm1 1v568h320V491H125z"></path><path fill="#F4F4F4" fill-rule="nonzero" d="M125 491h320v568H125z"></path><circle cx="285" cy="1084" r="15" fill="#F4F4F4"></circle></g></symbol><symbol viewBox="0 0 24 24" id="icon-modified"><path opacity=".9" d="M14 11V8h-1.2c-.1-.4-.3-.8-.5-1.2l.9-.8L11 3.8l-.9.9c-.3-.2-.7-.4-1.1-.5V3H6v1.2c-.4.1-.8.3-1.2.5L4 3.8 1.8 6l.9.9c-.2.3-.4.7-.5 1.1H1v3h1.2c.1.4.3.8.5 1.2l-.9.8L4 15.2l.9-.9c.4.2.8.4 1.2.5V16h3v-1.2c.4-.1.8-.3 1.2-.5l.9.9 2.1-2.1-.9-.9c.2-.4.4-.8.5-1.2H14zm-6.5 1.5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"></path><path opacity=".6" d="M24 17v-2h-1.1c-.1-.4-.2-.7-.4-1l.8-.8-1.4-1.4-.9.8c-.3-.2-.7-.3-1-.4V11h-2v1.1c-.4.1-.7.2-1 .4l-.8-.8-1.4 1.4.8.8c-.2.3-.3.7-.4 1H14v2h1.1c.1.4.2.7.4 1l-.8.8 1.4 1.4.8-.8c.3.2.7.3 1 .4V21h2v-1.1c.4-.1.7-.2 1-.4l.8.8 1.4-1.4-.7-.9c.2-.3.3-.7.4-1H24zm-5 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-saved"><path opacity=".9" d="M4 13l2-2 4 4 9-9 2 2-11 11z"></path></symbol><symbol viewBox="0 0 24 24" id="icon-saving"><path opacity=".5" d="M10 17h3v5h-3z"></path><path opacity=".9" d="M10 1h3v5h-3z"></path><path opacity=".2" d="M6 10v3H1v-3z"></path><path opacity=".7" d="M22 10v3h-5v-3z"></path><path opacity=".6" d="M14.39 16.45l2.12-2.121 3.536 3.535-2.121 2.121z"></path><path opacity=".1" d="M2.954 5.136l2.121-2.121L8.61 6.55 6.49 8.672z"></path><path opacity=".3" d="M6.49 14.328l2.12 2.122-3.535 3.535-2.121-2.121z"></path><path opacity=".8" d="M17.925 3.015l2.121 2.12-3.535 3.536-2.122-2.12z"></path></symbol></svg>'},function(e,t){e.exports='<script type="text/html" id="convert-action">\n <span class="svda_question_action">\n \x3c!-- ko if: allowChangeType --\x3e\n <select onmousewheel="return false;" class="svda_current_type svd-main-color svd-light-bg-color" data-bind="foreach: availableTypes, event: { change: onConvertType }, attr: {title: title}">\n <option class="svd-light-bg-color" data-bind="text: $data.name, value: $data.value, attr:{selected: $data.value === $parent.type ? \'selected\': null}"></option>\n </select>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: allowChangeType --\x3e\n <span data-bind="text: text" class="svda_current_type svd-main-color"> </span>\n \x3c!-- /ko --\x3e\n </span>\n<\/script>\n\n<script type="text/html" id="action-separator">\n <span class="svda_action_separator svd-dark-border-color">\n </span>\n<\/script>\n\n<script type="text/html" id="fp-add-question">\n <span class="svda_question_action">\n <select onmousewheel="return false;" class="svda_current_type svd-main-color svd-light-bg-color" data-bind="event: { change: onAddQuestion }, attr: {title: title}">\n <option class="svd-light-bg-color" data-bind="text: title, value: undefined"></option>\n \x3c!-- ko foreach: availableTypes --\x3e\n <option class="svd-light-bg-color" data-bind="text: $data.name || $data, value: $data.value || $data"></option>\n \x3c!-- /ko --\x3e\n </select>\n </span>\n<\/script>\n'},function(e,t){e.exports='<div class="svd_container svd-light-bg-color" data-bind="css: themeCss">\n \x3c!-- ko ifnot: haveCommercialLicense --\x3e\n <div class="svd_commercial_container">\n <a\n class="svd_commercial_text"\n href="https://surveyjs.io/Licenses#BuildSurvey"\n target="_blank"\n >\n <span>\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-noncommercial\', size: 20"\n ></svg-icon>\n </span>\n <span class="svd_commercial_product svd-main-color"\n >SurveyJS Creator</span\n >\n <span class="svd_noncommercial_use svd-light-text-color"\n >for non-commercial use only</span\n >\n </a>\n </div>\n \x3c!-- /ko --\x3e\n <ul\n class="navbar-default container-fluid nav nav-tabs editor-tabs svd-light-bg-color"\n >\n \x3c!-- ko foreach: tabs --\x3e\n <li\n class="nav-item"\n data-bind="css: {active: $parent.koViewType() == name}"\n >\n <a class="nav-link" href="#" data-bind="click: action, text: title"></a>\n </li>\n \x3c!-- /ko --\x3e\n </ul>\n <div class="panel card svd_content svd-dark-bg-color">\n \x3c!-- ko foreach: tabs --\x3e\n <div data-bind="visible: $parent.koViewType() == name">\n \x3c!-- ko template: { name: template, data: data, afterRender: function(element, model) { $parent.onEditorTabRenderedCallback(name, element, model, $data); } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n <div\n data-bind="template: { name: \'questioneditor\', data: questionEditorWindow }"\n ></div>\n</div>\n'},function(e,t){e.exports='<script type="text/html" id="jsoneditor">\n <div data-bind="visible: !hasAceEditor">\n <textarea class="svd_json_editor_area" data-bind="textInput:koText, disable: readOnly"></textarea>\n \x3c!-- ko foreach: koErrors --\x3e\n <div>\n <span>Error: </span><span data-bind="text: text"></span>\n </div>\n \x3c!-- /ko --\x3e\n </div>\n <div id="surveyjsJSONEditor" class="svd_json_editor"></div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="surveys-manage">\n <div class="svd-manage">\n <div class="svd-manage-mask" data-bind="visible: isLoading"></div>\n <div class="svd-manage-control svd-light-border-color">\n <select onmousewheel="return false;" class="svd-manage-select" data-bind="visible: !isEditMode(), options: surveys,\n optionsText: \'name\',\n value: currentSurvey,\n optionsCaption: \'Choose survey to edit or start editing and survey will be saved automatically...\'"></select>\n <input type="text" class="svd-manage-name" data-bind="visible: isEditMode, value: currentSurveyName, event: { keyup: nameEditorKeypress }"\n />\n </div>\n <div class="svd-manage-buttons">\n <span class="icon" data-bind="visible: currentSurvey, click: edit, css: cssEdit, attr: { title: titleEdit }"></span>\n <span class="icon" data-bind="visible: !isEditMode(), click: add, css: cssAdd, attr: { title: titleAdd }"></span>\n <span class="icon icon-delete" title="Delete current survey" data-bind="visible: !isEditMode() && !surveyId() && currentSurvey(), click:remove"></span>\n </div>\n </div>\n<\/script>\n<script type="text/html" id="attach-survey">\n <a target="_blank" href="#" data-bind="attr: { href: action, title: title }">\n <span class="icon" data-bind="css: innerCss"></span>\n <span data-bind="text: title"></span>\n </a>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="objecteditor">\n <table class="table svd_table-nowrap svd_properties_grid">\n <tbody data-bind="foreach: koProperties">\n \x3c!-- ko template: { name: \'objecteditorproperty\', afterRender: $parent.koAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n </tbody>\n </table>\n<\/script>\n<script type="text/html" id="objecteditorproperty">\n <tr data-bind="visible: koVisible, click: $parent.changeActiveProperty($data), css: {\'active\': $parent.koActiveProperty() == $data}, attr: { \'data-property\': name }">\n <td width="50%">\n <span data-bind="text: displayName, attr: {title: title || displayName}"></span>\n </td>\n <td class="svd-light-text-color form-group" width="50%">\n <div data-bind="event: { keydown: $data.editor.keyDownHandler }">\n \x3c!-- ko template: { name: \'propertyeditor-\' + editorTypeTemplate, data: $data.editor } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </td>\n </tr>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="svd-page-selector-template">\n <div class="svd-page-selector svd_custom_select svd-light-bg-color svd-light-border-color">\n <select onmousewheel="return false;" data-bind="options: pagesSelection, value: pageSelection, optionsText: getDisplayText"></select>\n </div>\n <div tabindex="0" class="svd-page-scroller-arrow" data-bind="key2click, clickNoFocus: moveLeft, attr: {title: getLocString(\'ed.moveLeft\')}">\n <span>\n <svg-icon class="svd-secondary-icon" params="iconName: \'icon-left\'"></svg-icon>\n </span>\n </div>\n\n <div class="svd-pages" data-bind="sortable: {foreach: editor.pages, options: sortableOptions}, event: {wheel: onWheel}">\n <div tabindex="0" class="svd-page svd-light-border-color" data-bind="key2click, css: $parent.getPageClass($data), clickNoFocus: $parent.onPageClick">\n <span class="svd-page-name" data-bind="text: $parent.getDisplayText($data)"></span>\n <span class="svd-page-actions-container">\n <svg-icon data-bind="css: $parent.getPageMenuIconClass($data)" params="iconName: $parent.getPageMenuIconClass($data), size: 12"></svg-icon>\n \x3c!-- ko ifnot: $parent.readOnly --\x3e\n <div style="position: static">\n <div class="svd-page-actions svd-dark-border-color svd-light-bg-color" data-bind="visible: $parent.showActions($data)">\n <span class="svd-page-action" data-bind="click: function(model, event) {$parent.showPageSettings($data); event.stopPropagation();}, attr: {title: $parent.getLocString(\'ed.editPage\')}">\n <span>\n <svg-icon class="svd-primary-icon" params="iconName: \'icon-actioneditelement\'"></svg-icon>\n </span>\n <span class="svd-main-color" data-bind="text: $parent.getLocString(\'ed.edit\')"></span>\n </span>\n <span class="svd-page-action" data-bind="click: function(model, event) {$parent.deletePage($data); event.stopPropagation();}, attr: {title: $parent.getLocString(\'ed.deletePage\')}, visible: !$parent.isLastPage()">\n <svg-icon class="svd-primary-icon" params="iconName: \'icon-actiondelete\'"></svg-icon>\n </span>\n <span class="svda_action_separator svd-dark-border-color" data-bind="visible: !$parent.isLastPage()"></span>\n <span class="svd-page-action" data-bind="click: function(model, event) {$parent.copyPage($data); event.stopPropagation();}, attr: {title: $parent.getLocString(\'survey.Copy\')}">\n <svg-icon class="svd-primary-icon" params="iconName: \'icon-actioncopy\'"></svg-icon>\n </span>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n </span>\n </div>\n </div>\n <div tabindex="0" class="svd-page-scroller-arrow" data-bind="key2click, clickNoFocus: moveRight, attr: {title: getLocString(\'ed.moveRight\')}">\n <span>\n <svg-icon class="svd-secondary-icon" params="iconName: \'icon-right\'"></svg-icon>\n </span>\n </div>\n \x3c!-- ko ifnot: readOnly --\x3e\n <div tabindex="0" class="svd-page-add" data-bind="key2click, clickNoFocus: addPage, attr: {title: getLocString(\'ed.addNewPage\')}">\n <span>\n <svg-icon class="svd-secondary-icon" params="iconName: \'icon-add\'"></svg-icon>\n </span>\n </div>\n \x3c!-- /ko --\x3e\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="elementselector">\n \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\x3c!-- /ko --\x3e\n <div class="form-control svd_custom_select">\n <select onmousewheel="return false;" data-bind="if: true, value: koValue, optionsCaption: optionsCaption, valueAllowUnset: true, hasFocus: koHasFocus">\n <option value="" data-bind="text: optionsCaption"></option>\n \x3c!-- ko foreach: koElements --\x3e\n <option data-bind="attr: { disabled: koDisabled, value: name }, text:text"></option>\n \x3c!-- /ko --\x3e\n </select>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-boolean">\n <div class="sjs-cb-wrapper">\n <label>\n <div class="sjs-cb-container">\n <input class="svd_editor_control" type="checkbox" data-bind="checked: koValue, disable: $data.readOnly">\n <span class="checkmark" data-bind="css: { \'svd-main-background-color\': koValue, \'svd-light-background-color\': !koValue() }"></span>\n \x3c!-- ko if: $data.isDiplayNameVisible --\x3e\n <span class="sjs-cb-label" data-bind="text: $data.displayName"></span>\n \x3c!-- /ko --\x3e\n </div>\n </label>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-cells">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditorcontent-cells">\n <div class="panel card">\n <div data-bind="visible:!koCanEdit(), text: $root.getLocString(\'pe.cellsEmptyRowsColumns\')"></div>\n <div data-bind="visible: koCanEdit" style="overflow:auto">\n <table class="table">\n <thead>\n <tr>\n <th></th>\n \x3c!-- ko foreach: koColumns --\x3e\n <th>\n <span data-bind="text:$data"></span>\n </th>\n \x3c!-- /ko --\x3e\n </tr>\n </thead>\n <tbody>\n \x3c!-- ko foreach: koRows --\x3e\n <tr>\n <td>\n <span data-bind="text:rowText"></span>\n </td>\n \x3c!-- ko foreach: koCells --\x3e\n <td style="min-width:120px" class="form-group">\n <textarea rows="2" cols="25" class="form-control" data-bind="textInput:text"></textarea>\n </td>\n \x3c!-- /ko --\x3e\n </tr>\n \x3c!-- /ko --\x3e\n </tbody>\n </table>\n </div>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-condition">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="propertyeditorcontent-condition">\n <div class="propertyeditor-condition">\n <div class="form-inline form-group">\n <div class="form-control svd_custom_select">\n <select onmousewheel="return false;" style="max-width:200px" data-bind="if: true, value: koAddConditionQuestion">\n <option value="" data-bind="text: addConditionQuestionOptions, attr: {title: addConditionQuestionOptions}" ></option>\n \x3c!-- ko foreach: koAddConditionQuestions --\x3e\n <option data-bind="value: name, text: (text || \'\').substring(0, 80), attr: {title: text}" ></option>\n \x3c!-- /ko --\x3e\n </select>\n </div>\n <div class="form-control svd_custom_select">\n <select onmousewheel="return false;" data-bind="options:availableOperators, optionsValue: \'name\', optionsText: \'text\', value:koAddConditionOperator"></select>\n </div>\n <input class="form-control" type="text" data-bind="textInput:koAddConditionValue, enable: koAddContionValueEnabled" style="width:120px"\n />\n <input type="button" class="form-control btn btn-primary" data-bind="enable: koCanAddCondition() && !readOnly(), click: onConditionAddClick, value: koAddConditionButtonText"\n />\n <div class="svd_wrap_elements" data-bind="visible:koHasValueSurvey">\n <survey-widget params="survey: koValueSurvey"></survey-widget>\n </div>\n </div>\n \x3c!-- ko if: $parent.hasAceEditor --\x3e\n <span data-bind="text:$data.getLocString(\'pe.aceEditorHelp\')"></span>\n <div id="expression-ace-editor" style="height: 150px; width: 100%;" data-bind="value:koValue, aceEditor:{questions: $parent.availableQuestions, question: $data.editingObject, editor: $parent}"></div>\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko if: !$parent.hasAceEditor --\x3e\n <textarea class="svd-dark-border-color" data-bind="value:koTextValue, disable: readOnly" rows="3" autofocus="autofocus"></textarea>\n \x3c!-- /ko --\x3e\n\n \x3c!-- <div class="assistant">\n <div class="assistant-title" data-bind="text:$data.getLocString(\'pe.assistantTitle\')"></div>\n <div class="assistant-content" data-bind="foreach:availableQuestions">\n <div class="assistant-item" data-bind=" text:name, click:function () { $parent.insertQuestion($data, $element); } "></div>\n </div>\n </div> --\x3e\n \x3c!-- ko if: showHelpText --\x3e\n <span data-bind="text:$data.getLocString(\'pe.conditionHelp\')" style="white-space:normal "></span>\n <div data-bind="visible: $data.hasLocString(\'pe.conditionShowMoreUrl\')">\n <a data-bind="attr: { href: $data.getLocString(\'pe.conditionShowMoreUrl\')}, text:$data.getLocString(\'pe.showMore\')" target="_blank"></a>\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-custom">\n \x3c!-- ko template: { name: "propertyeditor-customcontent", data: $data, afterRender: $data.koAfterRender } --\x3e\x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditor-customcontent"><div></div><\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-value">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="propertyeditorcontent-value">\n <form>\n <div class="svd_wrap_elements">\n <survey-widget params="survey: koSurvey"></survey-widget>\n </div>\n </form>\n <button type="button" class="btn btn-sm btn-danger" data-bind="click: resetValue, text: resetText()"></button>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-dropdown">\n <div class="svd_custom_select svd_property_editor_dropdown">\n <select onmousewheel="return false;" class="form-control svd_editor_control" data-bind="value: koValue, disable: readOnly, options: koChoices, optionsValue: \'value\', optionsText: \'text\', valueAllowUnset: true, hasFocus: koHasFocus" style="width:100%"></select>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-error">\n <div class="alert alert-danger" role="alert" data-bind="visible:koDisplayError">\n <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>\n <span class="sr-only">Error:</span>\n <span data-bind="text:koErrorText"></span>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-expression">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="propertyeditorcontent-expression">\n <div class="propertyeditor-expression">\n \x3c!-- ko if: $parent.hasAceEditor --\x3e\n <span data-bind="text:$root.getLocString(\'pe.aceEditorHelp\')"></span>\n <div id="expression-ace-editor" style="height: 150px; width: 100%;" data-bind="value:koValue, aceEditor: {questions: $parent.availableQuestions, question: $data.editingObject, editor: $parent}"></div>\n \x3c!-- /ko --\x3e\n\n \x3c!-- ko if: !$parent.hasAceEditor --\x3e\n <textarea class="svd-dark-border-color" data-bind="value:koTextValue" rows="3" autofocus="autofocus"></textarea>\n \x3c!-- /ko --\x3e\n \x3c!-- <div class="assistant">\n <div class="assistant-title" data-bind="text:$root.getLocString(\'pe.assistantTitle\')"></div>\n <div class="assistant-content" data-bind="foreach:availableQuestions">\n <div class="assistant-item" data-bind="text:name, click:function () { $parent.insertQuestion($data, $element); } "></div>\n </div>\n </div> --\x3e\n \x3c!-- ko if: showHelpText --\x3e\n <span data-bind="text:$root.getLocString(\'pe.expressionHelp\')" style="white-space:normal"></span>\n \x3c!-- <div>\n <a data-bind="text:$root.getLocString(\'pe.showMore\')" target="_blank" href="https://surveyjs.io/Documentation/LibraryParameter?id=Question¶meter=visibleIf"></a>\n </div> --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-html">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="propertyeditorcontent-html">\n <textarea class="form-control" data-bind="value:koValue, disable: readOnly" style="width:100%;height:auto" rows="10" autofocus="autofocus"></textarea>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-itemvalues">\n \x3c!-- ko template: { name: \'propertyeditor-modal\' } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditorcontent-itemvalues">\n <div style="margin-bottom:3px" data-bind="visible: koIsList() && koShowTextView()">\n <button class="btn btn-sm btn-xs" data-bind="css: {\'btn-primary\': koActiveView() === \'form\', \'btn-link\': koActiveView() !== \'form\'}, click:changeToFormViewClick, text: $root.getLocString(\'pe.formEntry\')"></button>\n <button class="btn btn-sm btn-xs" data-bind="css: {\'btn-primary\': koActiveView() !== \'form\', \'btn-link\': koActiveView() === \'form\'}, click:changeToTextViewClick, text: $root.getLocString(\'pe.fastEntry\')"></button>\n </div>\n <div data-bind="visible: koActiveView() == \'form\'">\n \x3c!-- ko template: { name: \'propertyeditorcontent-nesteditems\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div data-bind="visible:koIsList() && koActiveView() != \'form\'">\n <textarea class="form-control" data-bind="textInput: koItemsText" style="overflow-y: auto; overflow-x:hidden; max-height:400px; min-height:250px; width:100%"></textarea>\n </div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-matrixdropdowncolumns">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditorcontent-matrixdropdowncolumns">\n \x3c!-- ko template: { name: \'propertyeditorcontent-nesteditems\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-modal">\n <div class="input-group form-group" data-bind="visible:!$data.isEditable">\n <a tabindex="0" class="form-control" data-bind="key2click, click: $data.onShowModal, attr: {\'data-target\' : modalNameTarget}">\n <span data-bind="text: koText"></span>\n </a>\n <div class="input-group-addon">\n <span class="glyphicon glyphicon-edit" aria-hidden="true" data-bind="click: $data.onShowModal, attr: {\'data-target\' : modalNameTarget}, text: $root.getLocString(\'pe.edit\')"></span>\n </div>\n </div>\n <div class="input-group form-group" data-bind="visible:$data.isEditable">\n <input class="form-control svd_editor_control" type="text" data-bind="value: koValue, disable: readOnly" />\n <div class="input-group-addon">\n <span class="glyphicon glyphicon-edit" aria-hidden="true" data-bind="click: $data.onShowModal, attr: {\'data-target\' : modalNameTarget}, text: $root.getLocString(\'pe.edit\')"></span>\n </div>\n </div>\n\n <div data-bind="attr: {id : modalName}" class="modal" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-bind="click: onResetClick">×</button>\n <h4 class="modal-title" data-bind="text:$data.koTitleCaption"></h4>\n </div>\n <div class="modal-body svd_notopbottompaddings">\n \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: \'propertyeditor-modalcontent\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div class="modal-footer">\n <input type="button" class="btn btn-primary" data-bind="visible: $data.koShowApplyButton, disable: readOnly, click: $data.onApplyClick, value: $root.getLocString(\'pe.apply\')"\n style="width:100px" />\n <input type="button" class="btn btn-default btn-secondary" data-bind="click: $data.onOkClick, disable: readOnly, value: $root.getLocString(\'pe.ok\')"\n style="width:100px" />\n <input type="button" class="btn btn-primary" data-bind="click: $data.onResetClick, value: $root.getLocString(\'pe.cancel\')"\n style="width:100px" />\n </div>\n </div>\n </div>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-modalcontent">\n <div data-bind="html: $data.koHtmlTop"></div>\n \x3c!-- ko template: { name: \'propertyeditorcontent-\' + editorTypeTemplate, data: $data, afterRender: $data.koAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n <div data-bind="html: $data.koHtmlBottom"></div>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-multiplevalues">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script\n type="text/html"\n class="btn-xs"\n id="propertyeditorcontent-multiplevalues"\n>\n <div style="white-space: normal">\n \x3c!-- ko foreach: { data: koCategories, as: \'cat\'} --\x3e\n <div class="svd-logic-item-header" data-bind="visible: cat.koTitleVisible"><span data-bind="text: cat.koCategory()"></span></div>\n \x3c!-- ko foreach: { data: cat.koItems, as: \'item\'} --\x3e\n <div class="sjs-cb-wrapper" style="display: inline-block;">\n <label>\n <div class="sjs-cb-container">\n <input type="checkbox" data-bind="attr: {value: item.value}, checked: cat.editor.koEditingValue" />\n <span class="checkmark" data-bind="css: cat.editor.getBackgroundCls(item.value)">\n <span class="check"></span>\n </span>\n <span class="sjs-cb-label" style="position: static;" data-bind="text: item.text"></span>\n </div>\n </label>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditorcontent-nested">\n <div style="padding-left: 10px;">\n <button type="button" class="btn btn-sm btn-secondary" data-bind="click: onCancelEditItemClick">\n <span class="glyphicon glyphicon-list-alt"></span>\n </button>\n <span data-bind="text: koEditorName"></span>\n \x3c!-- ko template: { name: "questioneditor-content", data: koEditItem().itemEditor } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditorcontent-nesteditems">\n <div data-bind="visible: koIsList" style="overflow-y: auto; overflow-x:hidden; max-height:400px;min-height:200px">\n <table class="svd_items_table">\n <thead>\n <tr>\n <th></th>\n \x3c!-- ko foreach: columns --\x3e\n <th data-bind="text: text"></th>\n \x3c!-- /ko --\x3e\n <th></th>\n </tr>\n </thead>\n <tbody data-bind="sortable: { foreach: koItems, options: { handle: \'.svd-drag-handle\', animation: 150 } }">\n <tr>\n <td class="svd-itemvalue-actions-container">\n <div class="svd-drag-handle svd-itemvalue-action">\n ☰\n </div>\n <button type="button" class="btn btn-default btn-secondary svd-textitems-edit svd-itemvalue-action" data-bind="visible: $data.koHasDetails, click: $parent.onEditItemClick">\n <span class="glyphicon glyphicon-edit" data-bind="text: $root.getLocString(\'pe.edit\')"></span>\n </button>\n </td>\n \x3c!-- ko foreach: cells --\x3e\n <td class="form-group">\n \x3c!-- ko template: { name: \'propertyeditor\', data: objectProperty.editor } --\x3e\n \x3c!-- /ko --\x3e\n </td>\n \x3c!-- /ko --\x3e\n <td class="svd-textitems-column">\n <button type="button" class="btn btn-sm btn-danger" data-bind="visible: $parent.koAllowAddRemoveItems, click: $parent.onDeleteClick">\n <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n <div class="svd-items-control-footer" data-bind="visible: koAllowAddRemoveItems">\n <input type="button" class="btn btn-primary" data-bind="click: onAddClick, value: $root.getLocString(\'pe.addNew\')" />\n <input type="button" class="btn btn-danger" data-bind="click: onClearClick, value: $root.getLocString(\'pe.removeAll\')" />\n </div>\n </div>\n \x3c!-- ko if: !koIsList() --\x3e\n \x3c!-- ko template: { name: "propertyeditorcontent-nested", data: $data } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-number">\n <input class="form-control svd_editor_control" type="number" data-bind="value: koValue, disable: readOnly, attr: {max: koMaxValue, min: koMinValue}" style="width:100%" />\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-oneselected">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditorcontent-oneselected">\n <div class="propertyeditor-validators">\n <div class="input-group form-group">\n \x3c!-- ko if: koAvailableClasses().length == 0 --\x3e\n <span class="input-group-addon first-addon" data-bind="visible: koAllowAddRemoveItems() && !readOnly(), click: onAddClick">\n <span class="glyphicon glyphicon-plus" data-bind="click: function() { $element.parentElement.focus(); }"></span>\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koAvailableClasses().length > 0 --\x3e\n <div class="input-group-addon first-addon" data-bind="visible: koAllowAddRemoveItems() && !readOnly()">\n <div class="ddmenu-container">\n <div style="-webkit-tap-highlight-color:rgba(0,0,0,0)" data-bind="trueclick"></div>\n\n <div class="ddmenu">\n <span tabindex="0">\n <span class="glyphicon glyphicon-plus svd-main-color" data-bind="click: function() { $element.parentElement.focus(); }"></span>\n </span>\n\n <div tabindex="0" data-bind="trueclick"></div>\n <ul class="svd-light-bg-color">\n \x3c!-- ko foreach: koAvailableClasses --\x3e\n <li>\n <a href="#" data-bind="click: $parent.onAddClick">\n <span data-bind="text:$data.text"></span>\n </a>\n </li>\n \x3c!-- /ko --\x3e\n </ul>\n </div>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n <div class="form-control svd_custom_select">\n <select onmousewheel="return false;" data-bind="options: koItems, optionsText: \'koText\', value: koSelected"></select>\n </div>\n <span class="input-group-addon btn-danger" data-bind="visible: koAllowAddRemoveItems, enable: koSelected() != null, click: onDeleteClick">\n <span class="glyphicon glyphicon-remove"></span>\n </span>\n </div>\n \x3c!-- ko if: selectedObjectEditor() != null --\x3e\n \x3c!-- ko template: { name: "questioneditor-content", data: selectedObjectEditor() } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-restfull">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="propertyeditorcontent-restfull">\n <form>\n <div class="form-group" data-bind="foreach: koItems">\n <div class="form-group">\n <label data-bind="attr: {for: name}, text: $root.getLocString(\'pe.\'+name)"></label>\n <input type="text" data-bind="attr: {id: name}, value:koValue" class="form-control"></input>\n </div>\n </div>\n <div class="form-group">\n <label for="titleName">\n <span data-bind="text:$root.getLocString(\'pe.testService\')"></span>\n </label>\n <div class="form-control svd_custom_select" style="display: block;">\n <select onmousewheel="return false;" data-bind="options: question.visibleChoices, optionsText: \'text\', optionsValue: \'value\', optionsCaption: question.optionsCaption"></select>\n </div>\n </div>\n </form>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-string">\n <input class="form-control svd_editor_control" type="text" data-bind="value: koValue, disable: readOnly, attr: {placeholder: defaultValue, maxLength: koMaxLength}" style="width:100%" />\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-text">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="propertyeditorcontent-text">\n <textarea class="form-control" data-bind="value:koValue, disable: readOnly, attr: {rows: isDiplayNameVisible ? \'2\' : \'5\', maxLength: koMaxLength}" style="width:100%;height:auto" autofocus="autofocus"></textarea>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-textitems">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditorcontent-textitems">\n \x3c!-- ko template: { name: \'propertyeditorcontent-nesteditems\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-triggers">\n \x3c!-- ko template: { name: \'propertyeditor-modal\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="propertyeditorcontent-triggers">\n <div class="propertyeditor-triggers">\n <div class="input-group form-group">\n <div class="input-group-addon first-addon" data-bind="visible: koAllowAddRemoveItems() && !readOnly()">\n <div class="ddmenu-container">\n <div style="-webkit-tap-highlight-color:rgba(0,0,0,0)" data-bind="trueclick"></div>\n\n <div class="ddmenu">\n <span tabindex="0" data-bind="attr: { title: $root.getLocString(\'pe.addNew\') }">\n <span class="glyphicon glyphicon-plus svd-main-color" data-bind="click: function() { $element.parentElement.focus(); }"></span>\n </span>\n <div tabindex="0" data-bind="trueclick"></div>\n <ul class="svd-light-bg-color">\n \x3c!-- ko foreach: koTriggers --\x3e\n <li>\n <a data-bind="click: $parent.onAddClick, text:$data.text"></a>\n </li>\n \x3c!-- /ko --\x3e\n </ul>\n </div>\n </div>\n </div>\n <div class="form-control svd_custom_select">\n <select onmousewheel="return false;" data-bind="options: koItems, optionsText: \'koText\', value: koSelected"></select>\n </div>\n <span data-bind="visible: koAllowAddRemoveItems, attr: { title: $root.getLocString(\'pe.delete\') }, enable: koSelected() != null && !readOnly(), click: onDeleteClick"\n class="input-group-addon btn-danger">\n <span class="glyphicon glyphicon-remove"></span>\n </span>\n </div>\n <div data-bind="visible: koSelected() == null">\n <div data-bind="visible: koQuestions().length == 0, text: $root.getLocString(\'pe.noquestions\')"></div>\n <div data-bind="visible: koQuestions().length > 0, text: $root.getLocString(\'pe.createtrigger\')"></div>\n </div>\n <div data-bind="visible: koSelected() != null">\n <div data-bind="with: koSelected">\n \x3c!-- ko template: { name: \'propertyeditorcontent-condition\', data: conditionEditor } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: { name: \'propertyeditorcontent-trigger-content\', data: $data } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n </div>\n<\/script>\n<script type="text/html" id="propertyeditorcontent-trigger-content">\n \x3c!-- ko if: koType() == \'visibletrigger\' --\x3e\n <div class="row">\n <div class="col-lg-6 col-sm-6">\n \x3c!-- ko template: { name: \'propertyeditor-triggersitems\', data: pages } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div class="col-lg-6 col-sm-6">\n \x3c!-- ko template: { name: \'propertyeditor-triggersitems\', data: questions } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koType() == \'completetrigger\' --\x3e\n <div class="row">\n <div style="margin: 10px" data-bind="text: $root.getLocString(\'pe.triggerCompleteText\')"></div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koType() == \'setvaluetrigger\' --\x3e\n <div class="row col-lg-12 col-sm-12">\n <div data-bind="text: $root.getLocString(\'pe.triggerSetToName\')"></div>\n </div>\n <div class="row">\n <div class="col-lg-12 col-sm-12">\n <div class="form-group">\n \x3c!-- ko template: { name: "elementselector", data: setToNameSelector } --\x3e\x3c!-- /ko --\x3e\n </div>\n </div>\n <div class="col-lg-12 col-sm-12">\n <div class="form-group" data-bind="visible:koHasSurvey">\n <survey-widget params="survey: koSurvey"></survey-widget>\n </div>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koType() == \'copyvaluetrigger\' --\x3e\n <div class="row">\n <div class="col-lg-6 col-sm-6">\n <div class="form-group">\n <div data-bind="text: $root.getLocString(\'pe.triggerSetToName\')"></div>\n \x3c!-- ko template: { name: "elementselector", data: setToNameSelector } --\x3e\x3c!-- /ko --\x3e\n </div>\n </div>\n <div class="col-lg-6 col-sm-6">\n <div class="form-group">\n <div data-bind="text: $root.getLocString(\'pe.triggerFromName\')"></div>\n \x3c!-- ko template: { name: "elementselector", data: fromNameSelector } --\x3e\x3c!-- /ko --\x3e\n </div>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koType() == \'skiptrigger\' --\x3e\n <div class="row">\n <div class="form-group col-lg-12 col-sm-12">\n <div data-bind="text: $root.getLocString(\'pe.triggerGotoName\')"></div>\n \x3c!-- ko template: { name: "elementselector", data: gotoNameSelector } --\x3e\x3c!-- /ko --\x3e\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koType() == \'runexpressiontrigger\' --\x3e\n <div class="row">\n <div class="form-group col-lg-12 col-sm-12">\n <div data-bind="text: $root.getLocString(\'pe.triggerSetToName\')"></div>\n \x3c!-- ko template: { name: "elementselector", data: setToNameSelector } --\x3e\x3c!-- /ko --\x3e\n <div data-bind="text: $root.getLocString(\'pe.triggerRunExpression\')"></div>\n \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\x3c!-- /ko --\x3e\n <textarea class="form-control" type="text" data-bind="value:korunExpression" rows="3"></textarea>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor-triggersitems">\n <div>\n <div class="form-group" data-bind="text: title"></div>\n <div class="form-group input-group">\n <select onmousewheel="return false;" class="form-control" multiple="multiple" data-bind="options:koChoosen, value: koChoosenSelected, optionsText: \'text\'"></select>\n <span class="input-group-addon btn-danger" data-bind="click: deleteItem">\n <span class="glyphicon glyphicon-remove"></span>\n </span>\n </div>\n <div class="form-group input-group">\n <div class="form-control svd_custom_select">\n <select onmousewheel="return false;" data-bind="options:koObjects, value: koSelected, optionsText: \'text\'"></select>\n </div>\n <span class="input-group-addon btn-default" data-bind="click: addItem">\n <span class="glyphicon glyphicon-plus svd-main-color"></span>\n </span>\n </div>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="propertyeditor">\n <label data-bind="text:displayName, visible: showDisplayNameOnTop"></label>\n \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko template: {name: $data.contentTemplateName, data: $data} --\x3e\n \x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="questioneditor-content">\n \x3c!-- ko if: $data.useTabsInElementEditor --\x3e\n <ul class="nav nav-tabs modal-tabs" data-bind="foreach: koTabs">\n <li class="nav-item" role="presentation" data-bind="css: {active: $parent.koActiveTab() == $data.name}, click: $parent.onTabClick">\n <a class="nav-link" data-bind="css: {active: $parent.koActiveTab() == $data.name}">\n <span data-bind="text:$data.title"></span>\n </a>\n </li>\n </ul>\n \x3c!-- ko foreach: koTabs --\x3e\n <div data-bind="if: $parent.koActiveTab() === $data.name" style="margin-top:5px">\n \x3c!-- ko template: { name: $data.htmlTemplate, data: $data.templateObject, afterRender: $data.koAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: $data.useTabsInElementEditor --\x3e\n <svd-accordion params="tabs: koTabs, template: \'svd-editor-tab-template\'"></svd-accordion>\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="svd-editor-tab-template">\n \x3c!-- ko template: { name: $data.htmlTemplate, data: $data.templateObject, afterRender: $data.koAfterRender } --\x3e\n \x3c!-- /ko --\x3e\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="questioneditor">\n <div id="surveyquestioneditorwindow" class="modal" data-bind="with:koEditor">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-bind="click: onResetClick">×</button>\n <h4 class="modal-title" data-bind="text:koTitle"></h4>\n </div>\n <div class="modal-body svd_notopbottompaddings">\n \x3c!-- ko template: { name: "questioneditor-content", data: $data } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div class="modal-footer">\n <input type="button" class="btn btn-primary" data-bind="visible: koShowApplyButton, disable: readOnly, click: onApplyClick, value: $root.getLocString(\'pe.apply\')"\n style="width:100px" />\n <input type="button" class="btn btn-default btn-secondary" data-bind="click: onOkClick, disable: readOnly, value: $root.getLocString(\'pe.ok\')"\n style="width:100px" />\n <input type="button" class="btn btn-primary" data-bind="click: onResetClick, value: $root.getLocString(\'pe.cancel\')" style="width:100px"\n />\n </div>\n </div>\n </div>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="questioneditortab">\n <div class="row" data-bind="css: \'svd-popup-editor-tab-\' + name, attr: {id: \'editor_tab_id_\' + name}">\n <div class="col-sm-12">\n \x3c!-- ko foreach: properties.rows --\x3e\n <div class="form-group">\n \x3c!-- ko foreach: properties --\x3e\n <div data-bind="visible: objectProperty.koVisible, event: { keydown: objectProperty.editor.keyDownHandler }, attr: { \'data-property\': property.name }">\n \x3c!-- ko template: { name: \'propertyeditor\', data: objectProperty.editor } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="surveyembeding">\n <div class="row">\n <div class="form-control svd_custom_select svd_embed_tab">\n <select onmousewheel="return false;" data-bind="if: true, value:koLibraryVersion">\n <option value="angular" data-bind="text: $root.getLocString(\'ew.angular\')"></option>\n <option value="jquery" data-bind="text: $root.getLocString(\'ew.jquery\')"></option>\n <option value="knockout" data-bind="text: $root.getLocString(\'ew.knockout\')"></option>\n <option value="react" data-bind="text: $root.getLocString(\'ew.react\')"></option>\n <option value="vue" data-bind="text: $root.getLocString(\'ew.vue\')"></option>\n </select>\n </div>\n <div class="form-control svd_custom_select svd_embed_tab">\n <select onmousewheel="return false;" data-bind="if: true, value:koScriptUsing">\n <option value="bootstrap" data-bind="text: $root.getLocString(\'ew.bootstrap\')"></option>\n <option value="standard" data-bind="text: $root.getLocString(\'ew.standard\')"></option>\n </select>\n </div>\n <div class="form-control svd_custom_select svd_embed_tab">\n <select onmousewheel="return false;" data-bind="if: true, value:koShowAsWindow">\n <option value="page" data-bind="text: $root.getLocString(\'ew.showOnPage\')"></option>\n <option value="window" data-bind="text: $root.getLocString(\'ew.showInWindow\')"></option>\n </select>\n </div>\n <label class="checkbox-inline form-check-label" data-bind="visible:koHasIds">\n <input type="checkbox" data-bind="checked:koLoadSurvey" />\n <span data-bind="text: $root.getLocString(\'ew.loadFromServer\')"></span>\n </label>\n </div>\n <div class="panel card">\n <div class="panel-heading card-header" data-bind="text: $root.getLocString(\'ew.titleScript\')"></div>\n <div data-bind="visible:hasAceEditor">\n <div id="surveyEmbedingHead" style="height:70px;width:100%"></div>\n </div>\n <textarea data-bind="visible:!hasAceEditor, text: koHeadText" style="height:70px;width:100%"></textarea>\n </div>\n <div class="panel card" data-bind="visible: koVisibleHtml">\n <div class="panel-heading card-header" data-bind="text: $root.getLocString(\'ew.titleHtml\')"></div>\n <div data-bind="visible:hasAceEditor">\n <div id="surveyEmbedingBody" style="height:30px;width:100%"></div>\n </div>\n <textarea data-bind="visible:!hasAceEditor, text: koBodyText" style="height:30px;width:100%"></textarea>\n </div>\n <div class="panel card">\n <div class="panel-heading card-header" data-bind="text: $root.getLocString(\'ew.titleJavaScript\')"></div>\n <div data-bind="visible:hasAceEditor">\n <div id="surveyEmbedingJava" style="height:300px;width:100%"></div>\n </div>\n <textarea data-bind="visible:!hasAceEditor, text: koJavaText" style="height:300px;width:100%"></textarea>\n </div>\n<\/script>'},function(e,t,o){e.exports='<script type="text/html" id="surveylive">\n <div data-bind="visible: koIsRunning()">\n <span data-bind="visible: koPages().length > 1 && koShowPagesInTestSurveyTab()">\n <label for="testSurveyPageChanged" data-bind="text: selectPageText"></label>\n <span id="testSurveyPageChanged">\n <select onmousewheel="return false;" class="form-control" data-bind="options: koPages, optionsText: \'title\', optionsValue: \'page\', value: koActivePage, optionsAfterRender: setPageDisable"></select>\n </span>\n </span>\n <span data-bind="visible: koShowDefaultLanguageInTestSurveyTab">\n <label for="testSurveyLocale" data-bind="text: localeText"></label>\n <span id="testSurveyLocale">\n <select onmousewheel="return false;" class="form-control" data-bind="options: koLanguages, value: koActiveLanguage, optionsText:\'text\', optionsValue: \'value\'"></select>\n </span>\n </span>\n <label id="testShowInvisibleElements" data-bind="visible: koShowInvisibleElementsInTestSurveyTab">\n <div class="sjs-cb-container">\n <input class="svd_editor_control" type="checkbox" data-bind="checked: koShowInvisibleElements">\n <span class="checkmark" data-bind="css: { \'svd-main-background-color\': koShowInvisibleElements(), \'svd-light-background-color\': !koShowInvisibleElements() }"></span>\n <span class="sjs-cb-label" data-bind="text: showInvisibleElementsText"></span>\n </div>\n </label>\n \x3c!-- ko if: simulatorEnabled --\x3e\n <span>\n <label for="testDeviceSelector" data-bind="text: simulatorText"></label>\n <span id="testDeviceSelector">\n <select onmousewheel="return false;" class="form-control" data-bind="options: koDevices, value: koActiveDevice, optionsText:\'text\', optionsValue: \'value\'"></select>\n </span>\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koHasFrame --\x3e\n <label for="testDeviceOrientation">\n <div class="sjs-cb-container">\n <input id="testDeviceOrientation" class="svd_editor_control" type="checkbox" data-bind="checked: koLandscapeOrientation">\n <span class="checkmark" data-bind="css: { \'svd-main-background-color\': koLandscapeOrientation(), \'svd-light-background-color\': !koLandscapeOrientation() }"></span>\n <span class="sjs-cb-label" data-bind="text: landscapeOrientationText"></span>\n </div>\n </label>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko template: "survey-simulator" --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: koIsRunning --\x3e\n <div class="svd_test_results">\n <div class="svd_results_header">\n <button class="btn btn-primary" data-bind="click: selectTestClick, text: testSurveyAgainText"></button>\n <h2 data-bind="text: surveyResultsText"></h2>\n </div>\n <ul class="navbar-default container-fluid nav nav-tabs editor-tabs">\n <li class="nav-item active" data-bind="css: {active: koResultViewType() === \'table\'}">\n <a class="nav-link" href="#" data-bind="click: selectTableClick, text: $root.getLocString(\'ed.surveyResultsTable\')"></a>\n </li>\n <li class="nav-item" data-bind="css: {active: koResultViewType() === \'text\'}">\n <a class="nav-link" href="#" data-bind="click: selectJsonClick, text: $root.getLocString(\'ed.surveyResultsJson\')"></a>\n </li>\n </ul>\n <div class="svd_results_text svd-light-bg-color" data-bind="visible: koResultViewType() === \'text\'">\n <div data-bind="text: koResultText"></div>\n </div>\n <div class="svd_results_table svd-light-bg-color" data-bind="visible: koResultViewType() === \'table\'">\n <table>\n <thead>\n <tr class="svd-light-background-color">\n <th class="svd-dark-border-color" data-bind="text: resultsTitle"></th>\n <th class="svd-dark-border-color" data-bind="text: resultsName"></th>\n <th class="svd-dark-border-color" data-bind="text: resultsValue"></th>\n <th class="svd-dark-border-color" data-bind="text: resultsDisplayValue"></th>\n </tr>\n </thead>\n <tbody>\n \x3c!-- ko foreach: koResultData --\x3e\n \x3c!-- ko template: "survey-result-table-row" --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </tbody>\n </table>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n<\/script>\n<script type="text/html" id="survey-result-table-row">\n <tr data-bind="click: function() { isNode && collapsed(!collapsed()); }">\n <td class="svd-dark-border-color">\n \x3c!-- ko if: isNode --\x3e\n <span class="survey-result-marker" data-bind="css: { \'survey-result-marker--expanded\': !collapsed() }">▶</span>\n \x3c!-- /ko --\x3e\n <span data-bind="text: title"></span></td>\n <td class="svd-dark-border-color" data-bind="text: name"></td>\n <td class="svd-dark-border-color"><div class="survey-result-value" data-bind="text: getString(value)"></div></td>\n <td class="svd-dark-border-color" data-bind="text: getString(displayValue)"></td>\n </tr>\n \x3c!-- ko if: isNode && !collapsed() --\x3e\n \x3c!-- ko foreach: data --\x3e\n \x3c!-- ko template: "survey-result-table-row" --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n<\/script>\n\n<script type="text/html" id="survey-simulator">\n <div class="svd-simulator-main">\n \x3c!-- ko if: koHasFrame --\x3e\n <div class="svd-simulator-wrapper" data-bind="style: { width: koSimulatorFrame().frameWidth + \'px\', height: koSimulatorFrame().frameHeight + \'px\' }">\n <img class="svd-simulator-frame" data-bind="visible: !koLandscapeOrientation()" src="'+o(147)+'"/>\n <img class="svd-simulator-frame" data-bind="visible: koLandscapeOrientation" src="'+o(146)+'"/>\n <div class="svd-simulator" data-bind="style: { width: koSimulatorFrame().width / koSimulatorFrame().scale + \'px\', height: koSimulatorFrame().height / koSimulatorFrame().scale + \'px\', top: koSimulatorFrame().frameY + \'px\', left: koSimulatorFrame().frameX + \'px\', transform: \'scale(\' + koSimulatorFrame().scale + \')\' }">\n <survey-widget class="svd-simulator-content" params="survey: koSurvey"></survey-widget>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: koHasFrame --\x3e\n <survey-widget class="svd-simulator-content" params="survey: koSurvey"></survey-widget>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="surveylogic">\n <div data-bind="visible: koMode() == \'view\'">\n <input type="button" class="btn btn-primary" data-bind="visible: !koReadOnly(), click: $data.koAddNew, value: $root.getLocString(\'pe.addNew\')" />\n \x3c!-- ko foreach: {data: $data.koItems, as: \'item\' } --\x3e\n <div class="svd-logic-item-header">\n <span class="svd-logic-header-item-icon svd-main-color" data-bind="visible: !$data.isReadOnly, key2click, clickNoFocus: $data.edit, attr: {title: $data.editText }">\n <svg-icon class="svd-primary-icon" params="iconName: \'icon-actioneditelement\'"></svg-icon>\n <span class="svd-logic-header-icon-text" data-bind="text: $data.editText"></span>\n </span>\n <span class="svd-logic-header-item-icon svd-main-color" data-bind="visible: !$data.isReadOnly, key2click, clickNoFocus: $data.remove, attr: {title: $data.deleteText }">\n <svg-icon class="svd-primary-icon" params="iconName: \'icon-actiondelete\'"></svg-icon>\n </span>\n <span class="svda_action_separator svd-dark-border-color"></span>\n <span class="svd-logic-header-item-text" data-bind="text: item.title"></span>\n </div>\n <div>\n <span data-bind="text: item.expressionText"></span>\n \x3c!-- ko foreach: {data: $data.koOperations, as: \'op\' } --\x3e\n <div>\n <span data-bind="text: op.text"></span>\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n </div>\n <div data-bind="visible: koMode() == \'new\' || koMode() == \'edit\'">\n <div>\n <input type="button" class="btn btn-primary" data-bind="click:$data.koSaveAndShowView, value: $root.getLocString(\'pe.saveAndBack\')" />\n <input type="button" class="btn btn-primary" data-bind="click: $data.koSaveEditableItem, value: $root.getLocString(\'pe.save\')"/>\n <input type="button" class="btn btn-primary" data-bind="click: $data.koShowView, value: $root.getLocString(\'pe.back\')"/>\n </div>\n <div>\n \x3c!-- ko template: {name: \'propertyeditor-error\', data: $data} --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko template: { name: \'propertyeditor\', data: $data.expressionEditor } --\x3e\x3c!-- /ko --\x3e\n \x3c!--ko if: $data.koEditableItem() != null --\x3e\n \x3c!-- ko foreach: {data: $data.koEditableItem().koOperations, as: \'op\' } --\x3e\n <div data-bind="visible: op.templateObject !== null">\n <div class="svd-logic-item-header">\n <span class="svd-logic-header-item-icon svd-main-color" data-bind="key2click, clickNoFocus: $parent.koRemoveOperation, attr: {title: $data.deleteOperationText }">\n <span>\n <svg-icon class="svd-primary-icon" params="iconName: \'icon-actiondelete\'"></svg-icon>\n </span>\n </span>\n <span class="svda_action_separator svd-dark-border-color"></span>\n <span data-bind="text: op.name"></span>\n </div>\n \x3c!-- ko template: { name: op.template, data: op.templateObject } --\x3e\x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n <div class="svd-logic-item-header"><span data-bind="text:$data.addNewOperationText"></span></div>\n \x3c!-- ko foreach: {data: $data.koLogicTypes, as: \'item\' } --\x3e\n <div data-bind="visible: item.koVisible">\n <input type="button" class="btn btn-primary" data-bind="click:$parent.koAddNewOperation, value: item.displayName" />\n <p>\n <span data-bind="text:item.description"></span>\n </p>\n <hr />\n </div>\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n'},function(e,t,o){e.exports='<script type="text/html" id="se-tab-designer">\n <div\n class="row svd_survey_designer"\n >\n <div data-bind="visible: koShowToolbox"\n class="col-lg-2 col-md-2 col-sm-1 col-xs-1 svd_toolbox svd-dark-bg-color"\n >\n \x3c!-- ko if: toolbox.koHasCategories --\x3e\n <div\n class="panel-group"\n role="tablist"\n data-bind="foreach: toolbox.koCategories"\n >\n <div class="panel panel-info">\n <div\n class="svd-toolbox-category-header"\n role="tab"\n data-bind="click: expand"\n >\n <span\n data-bind="css: { \'svd-main-color\': !koCollapsed() }, text: name"\n ></span>\n \x3c!--ko if: $parent.koCanCollapseCategories --\x3e\n \x3c!-- ko if: koCollapsed --\x3e\n <svg-icon\n class="icon-toolbox-arrow"\n params="iconName: \'icon-arrow_down_10x10\', size: 10"\n ></svg-icon>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: koCollapsed --\x3e\n <svg-icon\n class="icon-toolbox-arrow svd-primary-icon"\n params="iconName: \'icon-arrow_up_10x10\', size: 10"\n ></svg-icon>\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div\n role="tabpanel"\n data-bind="css: { \'panel-collapse collapse\': koCollapsed}"\n >\n \x3c!-- ko foreach: items --\x3e\n \x3c!-- ko template: { name: \'se-tab-designer-item\', data: $data } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !toolbox.koHasCategories() --\x3e\n <div\n class="svd_toolbox_title hidden-sm hidden-xs"\n data-bind="text: $root.getLocString(\'ed.toolbox\')"\n ></div>\n \x3c!-- ko foreach: toolbox.koItems --\x3e\n \x3c!-- ko template: { name: \'se-tab-designer-item\', data: $data } --\x3e\x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko if: koShowToolbox --\x3e\n <svd-splitter params="minLeft: 100, minRight: 600"></svd-splitter>\n \x3c!-- /ko --\x3e\n <div\n class="col-xs-11 svd_editors"\n data-bind="css: {\'col-lg-7 col-md-7 col-sm-8 col-xs-8\': !koHideAdvancedSettings() && koShowToolbox(), \'col-lg-9 col-md-9 col-sm-9 col-xs-9\': !koHideAdvancedSettings() && !koShowToolbox(), \'col-lg-10 col-md-10 col-sm-11 col-xs-11\': koHideAdvancedSettings() && koShowToolbox(), \'col-lg-12 col-md-12 col-sm-12 col-xs-12\': koHideAdvancedSettings() && !koShowToolbox(), \'svd_wide\': koHideAdvancedSettings}"\n >\n <div class="svd_toolbar">\n \x3c!-- ko if: koShowPropertyGrid() && koHideAdvancedSettings() --\x3e\n <div class="svd-property-grid__header" data-bind="click: function() { koHideAdvancedSettings(false); }, attr: { title: getLocString(\'ed.showObjectProperties\') }">\n <span class="svd-property-grid__header-title" data-bind="text: getLocString(\'ed.opjectPropertiesHeader\')"></span>\n <span class="svd-property-grid__header-hide-button svd-header-show-button"><svg-icon class="svd-secondary-icon" params="iconName: \'icon-left\'"></svg-icon></span>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko foreach: toolbarItems --\x3e\n <span\n tabindex="0"\n class="svd_action"\n data-bind="css: $data.css, visible: visible, attr: { id: id }"\n >\n \x3c!-- ko template: { name: $data.template || \'svd-toolbar-button\', data: $data.data || $data } --\x3e\n \x3c!-- /ko --\x3e\n </span>\n \x3c!-- /ko --\x3e\n </div>\n <pages-editor params="editor:$data" data-bind="visible: koShowPagesToolbox">\n </pages-editor>\n <div\n class="svd_questions_editor svd-light-bg-color"\n id="scrollableDiv"\n data-bind="style: { height: koDesignerHeight }, event: { dragover: dragOverQuestionsEditor, drop: dropOnQuestionsEditor }"\n >\n <div id="surveyjs"></div>\n \x3c!-- ko if: isCurrentPageEmpty --\x3e\n \x3c!-- ko template: "se-empty-placeholder" --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n </div>\n <svd-splitter params="minLeft: 600, minRight: 150"></svd-splitter>\n <div\n class="col-lg-3 col-md-3 col-sm-3 hidden-xs svd_properties svd-light-border-color svd-dark-bg-color"\n data-bind="visible: !koHideAdvancedSettings()"\n >\n <div class="svd-property-grid__header">\n <span class="svd-property-grid__header-title" data-bind="text: getLocString(\'ed.opjectPropertiesHeader\')"></span>\n <span class="svd-property-grid__header-hide-button svd-header-hide-button" data-bind="click: function() { koHideAdvancedSettings(true); }, attr: { title: $root.getLocString(\'ed.hideObjectProperties\') }"><svg-icon class="svd-secondary-icon" params="iconName: \'icon-right\'"></svg-icon></span>\n </div>\n <div class="svd_object_selector svd-light-border-color">\n <div class="svd_custom_select">\n <select\n onmousewheel="return false;"\n id="objectSelector"\n class="form-control"\n data-bind="options: koObjects, optionsText: \'text\', value: koSelectedObject"\n ></select>\n </div>\n <span\n data-bind="click: editCurrentObject, attr: { title: $root.getLocString(\'ed.editSelObject\')}"\n >\n <svg-icon\n class="svd-primary-icon icon-edit"\n params="iconName: \'icon-edit\', size:24"\n ></svg-icon>\n </span>\n </div>\n <div\n class="svd_object_editor"\n data-bind="style: {height: koDesignerHeight}"\n >\n <div\n data-bind="template: { name: \'objecteditor\', data: selectedObjectEditor }"\n ></div>\n </div>\n </div>\n </div>\n<\/script>\n<script type="text/html" id="se-tab-test">\n <div data-bind="style: {width: koTestSurveyWidth}">\n <div id="surveyjsExample" data-bind="template: { name: \'surveylive\', data: surveyLive }"></div>\n </div>\n<\/script>\n<script type="text/html" id="se-empty-placeholder">\n <div class="svd-survey-placeholder-root">\n <div class="svd-survey-placeholder">\n \x3c!-- ko if: showExternalHelpLink --\x3e\n <div class="svd-survey-gallery">\n <a data-bind="attr: { href: $root.getLocString(\'survey.externalHelpLinkUrl\') }">\n <img src="'+o(145)+'"/>\n <span data-bind="text: $root.getLocString(\'survey.externalHelpLink\')"></span>\n </a>\n </div>\n \x3c!-- /ko --\x3e\n <div class="empty-message" data-bind="text: $root.getLocString(\'survey.dropQuestion\')"></div>\n </div>\n </div>\n<\/script>\n<script type="text/html" id="se-tab-designer-item">\n <div\n tabindex="0"\n draggable="true"\n class="svd_toolbox_item svd-light-border-color"\n data-bind="attr: {title: tooltip}, css: \'svd_toolbox_item_\' + iconName, key2click, clickNoFocus: $root.clickToolboxItem, event:{dragstart: function(el, e) { $root.draggingToolboxItem($data, e); return true;}, dragend: function(el, e) { $root.dragEnd(); }}"\n >\n <span>\n <svg-icon params="iconName: iconName"></svg-icon>\n </span>\n <span\n class="svd_toolbox_item_text hidden-sm hidden-xs"\n data-bind="text:title"\n ></span>\n </div>\n<\/script>\n'},function(e,t){e.exports='<script type="text/html" id="svd-toolbar-button">\n <button type="button" class="btn btn-primary" data-bind="enable: $data.enabled || true, click: action, css: $data.innerCss">\n \x3c!-- ko if: $data.icon --\x3e\n <div class="svd-toolbar-button__image">\n <svg-icon class="svd-svg-icon icon-white" params="iconName: icon, size: 12"></svg-icon>\n </div>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: $data.showTitle === undefined || (!!$data.icon && !ko.unwrap($data.showTitle)) --\x3e\n <div class="svd-toolbar-button__title">\n <span data-bind="text: title"></span>\n </div>\n \x3c!-- /ko --\x3e\n </button>\n<\/script>\n<script type="text/html" id="svd-toolbar-options">\n <div class="ddmenu-container toolbar-options btn-group inline">\n <div style="-webkit-tap-highlight-color:rgba(0,0,0,0)" data-bind="trueclick"></div>\n\n <div class="ddmenu">\n <span class="btn btn-primary" tabindex="0">\n <span data-bind="text: title"></span>\n <span class="caret"></span>\n </span>\n <div tabindex="0" data-bind="trueclick"></div>\n <ul class="svd-light-bg-color">\n \x3c!-- ko foreach: items --\x3e\n <li data-bind="css: $data.css">\n <a href="#" data-bind="click: action, text: title"></a>\n </li>\n \x3c!-- /ko --\x3e\n </ul>\n </div>\n </div>\n<\/script>\n<script type="text/html" id="svd-toolbar-state">\n <span class="icon">\n <svg-icon class="icon-status" params="iconName: innerCss, size: 24"></svg-icon>\n </span>\n <span class="svd-light-text-color" data-bind="text: title"></span>\n<\/script>'},function(e,t){e.exports='<script type="text/html" id="translation">\n <div class="form-group svd-translation-tab">\n <div class="form-group svd-language-select">\n <div class="svd_custom_select svd-light-bg-color svd-light-border-color">\n <select onmousewheel="return false;" data-bind="options: koAvailableLanguages, value: koSelectedLanguageToAdd, optionsText:\'text\', optionsCaption: $data.selectLanguageOptionsCaption"></select>\n </div>\n <div class="svd-translation-tab-show-all-strings-container">\n \x3c!-- ko template: { name: \'propertyeditor-boolean\', data: { koValue: koShowAllStrings, displayName: $data.showAllStringsText, isDiplayNameVisible: true } } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n <div class="svd_custom_select svd-light-bg-color svd-light-border-color">\n <select onmousewheel="return false;" data-bind="options: koFilteredPages, value: koFilteredPage, optionsValue: \'value\', optionsText:\'text\'"></select>\n </div>\n </div>\n <div>\n \x3c!-- ko foreach: {data: $data.koLocales, as: \'item\' } --\x3e\n <label data-bind="visible: !!item.locale && item.koEnabled()">\n \x3c!-- ko template: { name: \'propertyeditor-boolean\', data: { koValue: item.koVisible, displayName: $parent.getLocaleName($data.locale), isDiplayNameVisible: true } } --\x3e\n \x3c!-- /ko --\x3e\n </label>\n \x3c!-- /ko --\x3e\n </div>\n <div class="form-group">\n <button class="btn btn-primary" type="button" data-bind="visible:$data.koCanMergeLocaleWithDefault, text:$data.koMergeLocaleWithDefaultText, click:$data.koMergeLocaleWithDefault"></button>\n <button class="btn btn-primary" type="button" data-bind="text:$data.exportToCSVText, click:$data.koExportToSCVFile"></button>\n <button class="btn btn-primary" type="button" onclick="this.getElementsByTagName(\'input\')[0].click();">\n <input type="file" style="display:none;" accept=".csv" data-bind="event: { change: function() { $data.koImportFromSCVFile($element) } }" />\n <span data-bind="text:$data.importFromCSVText"></span>\n </button>\n </div>\n <div class="svd-translation-no-strings svd-light-text-color" data-bind="visible:$data.koIsEmpty">\n <span data-bind="text:$data.noStringsText"></span>\n </div>\n \x3c!-- ko ifnot: $data.koIsEmpty --\x3e\n \x3c!-- ko template: { name: "translation-group", data: $data.koRoot } --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n </div>\n<\/script>\n<script type="text/html" id="translation-group">\n <div class="svd-translation-strings svd-light-border-color svd-light-bg-color">\n <table class="svd_items_table" data-bind="visible: $data.locItems.length > 0">\n <thead>\n <tr>\n <th></th>\n \x3c!-- ko foreach: $data.koLocales --\x3e\n <th data-bind="visible: $data.koVisible, text: $parent.getLocaleName($data.locale), style: {width: $parent.locWidth}"></th>\n \x3c!-- /ko --\x3e\n </tr>\n </thead>\n <tbody data-bind="foreach: {data: $data.locItems, as: \'item\' }">\n <tr>\n <td style="max-width: 200px; min-width:100px"><span data-bind="text:item.text"></span></td>\n \x3c!-- ko foreach: $parent.koLocales --\x3e\n <td data-bind="visible: $data.koVisible, style: {width: $data.koVisible ? $parent.locWidth : \'0px\'}">\n <textarea class="form-control" style="width:100%" data-bind="visible: $data.koVisible, value:item.koValue($data.locale), attr: {placeholder: !$data.locale? item.defaultValue : \'\'}"></textarea>\n </td>\n \x3c!-- /ko --\x3e\n </tr>\n </tbody>\n </table>\n\n <div class="svd-translation-panel-strings" data-bind="foreach: {data: $data.groups, as: \'group\' }">\n <div class="svd-toolbox-category-header" role="tab" data-bind="click: function(){ group.koExpanded(!group.koExpanded())}">\n <span class="svd-translation-panel-strings-title"data-bind="css: { \'svd-main-color\': group.koExpanded() }, text: group.name"></span>\n \x3c!-- ko ifnot: koExpanded --\x3e\n <svg-icon class="icon-toolbox-arrow" params="iconName: \'icon-arrow_down_10x10\', size: 10"></svg-icon>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: koExpanded --\x3e\n <svg-icon class="icon-toolbox-arrow svd-primary-icon" params="iconName: \'icon-arrow_up_10x10\', size: 10"></svg-icon>\n \x3c!-- /ko --\x3e\n </div>\n <div data-bind="visible: koExpanded">\n \x3c!-- ko template: { name: "translation-group", data: group } --\x3e\n \x3c!-- /ko --\x3e\n <div>\n </div>\n </div>\n<\/script>\n'},function(e,t){e.exports='<div>\n \x3c!-- ko foreach: actions --\x3e\n \x3c!-- ko if: !$data.template --\x3e\n <span class="svda_question_action svd-main-color" data-bind="key2click, clickNoFocus: function() { onClick($parent.question); }, attr: {title: text, tabindex: $data.needFocus === undefined || !!$data.needFocus ? 0 : undefined }">\n <span>\n <svg-icon class="svd-primary-icon" data-bind="css: $parent.getStyle($data)" params="iconName: $parent.getStyle($data)"></svg-icon>\n </span>\n <span data-bind="text: $data.hasTitle ? text: \'\'"></span>\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !!$data.template --\x3e\n \x3c!-- ko template: template --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='<div class="svda-content">\n <span class="svda-image-editor">\n <span\n class="edit-image-item"\n data-bind="click: chooseImage, clickBubble: false, attr: { title: getLocString(\'pe.edit\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplaceedit\', size: 12"\n ></svg-icon>\n </span>\n </span>\n <span\n class="svda-drag-handle"\n data-bind="attr: { title: getLocString(\'pe.move\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacedraggable\', size: 12"\n ></svg-icon>\n </span>\n \x3c!--ko ifnot: isLastItem --\x3e\n <span\n class="svda-delete-item"\n data-bind="click: deleteItem, attr: { title: getLocString(\'pe.delete\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacedelete\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div class="svda-content">\n <span\n class="svda-title-editor-content"\n data-bind="visible: isEditing"\n style="display: none;"\n >\n <input\n data-svd-info="adorner"\n data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, blur: postEdit }"\n style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block;"\n />\n <span\n class="svda-edit-button"\n data-bind="click: postEdit, enable: editingName() != \'\'"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacecheck\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> --\x3e\n </span>\n <span\n class="svda-title-editor-content svda-title-editor-start"\n data-bind="visible: !isEditing()"\n >\n <span style="display: none;" data-bind="text: editingName"></span>\n <span\n class="edit-survey-name"\n data-bind="click: startEdit, attr: { title: getLocString(\'pe.edit\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplaceedit\', size: 12"\n ></svg-icon>\n </span>\n </span>\n \x3c!-- ko if: isDraggable --\x3e\n <span\n class="svda-drag-handle"\n data-bind="attr: { title: getLocString(\'pe.move\') }, visible: !isEditing()"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacedraggable\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- /ko --\x3e\n \x3c!--ko ifnot: isLastItem --\x3e\n <span\n class="svda-delete-item"\n data-bind="click: deleteItem, attr: { title: getLocString(\'pe.delete\') }, visible: !isEditing()"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacedelete\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div>\n \x3c!-- ko foreach: actions --\x3e\n \x3c!-- ko if: !$data.template --\x3e\n <span class="svda_question_action svd-main-color" data-bind="key2click, clickNoFocus: function() { onClick($parent.question); }, attr: {title: text, tabindex: $data.needFocus === undefined || !!$data.needFocus ? 0 : undefined }">\n <span>\n <svg-icon class="svd-primary-icon" data-bind="css: $parent.getStyle($data)" params="iconName: $parent.getStyle($data)"></svg-icon>\n </span>\n <span data-bind="text: $data.hasTitle ? text: \'\'"></span>\n </span>\n \x3c!-- /ko --\x3e\n \x3c!-- ko if: !!$data.template --\x3e\n \x3c!-- ko template: template --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n \x3c!-- /ko --\x3e\n</div>'},function(e,t){e.exports='<div class="svda-content">\n <span\n class="svda-title-editor-content"\n data-bind="visible: isEditing"\n style="display: none;"\n >\n <input\n data-svd-info="adorner"\n data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, blur: postEdit }"\n style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block; margin: -6px;"\n />\n <span\n class="svda-edit-button"\n data-bind="click: postEdit, enable: editingName() != \'\'"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacecheck\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> --\x3e\n </span>\n <span\n class="svda-title-editor-content svda-title-editor-start"\n data-bind="visible: !isEditing()"\n >\n <span style="display: none;" data-bind="text: editingName"></span>\n <span\n class="edit-survey-name"\n data-bind="click: startEdit, attr: { title: getLocString(\'pe.edit\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplaceedit\', size: 12"\n ></svg-icon>\n </span>\n </span>\n \x3c!--ko ifnot: isLastItem --\x3e\n <span\n class="svda-delete-item"\n data-bind="click: deleteItem, attr: { title: getLocString(\'pe.delete\') }, visible: !isEditing()"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacedelete\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- /ko --\x3e\n</div>\n'},function(e,t){e.exports='<div class="svda-select-items-editor">\n <div class="svda-select-items-title" data-bind="click: toggle">\n <span\n class="svd-main-color"\n data-bind="text: getLocString(\'pe.editChoices\')"\n ></span>\n </div>\n <div\n class="svda-select-items-content svd-dark-border-color svd-light-bg-color"\n data-bind="visible: isExpanded"\n >\n <div class="svda-select-items-collection">\n \x3c!-- ko foreach: { data: choices, afterRender: choicesRendered } --\x3e\n <div class="item_editable item_draggable">\n <span data-bind="text: text"></span>\n <span>\n <item-editor\n params="name: $parent.valueName, valueChanged: $parent.valueChanged, target: $data, model: $data, item: $data, question: $parent.question, editor: $parent.editor"\n >\n </item-editor>\n </span>\n </div>\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- ko if: question.hasOther --\x3e\n <div class="item_editable">\n <span data-bind="text: otherText"></span>\n <span>\n <item-editor\n params=\'name: "otherText", target: question, model: question, valueChanged: otherValueChanged, item: question.otherItem, question: question, editor: editor\'\n >\n </item-editor>\n </span>\n </div>\n \x3c!-- /ko --\x3e\n <div\n class="sv_technical svda-add-new-item"\n data-bind="click: addItem, attr: { title: getLocString(\'pe.addItem\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplaceplus\', size: 12"\n ></svg-icon>\n </div>\n <div\n class="sv_technical svda-add-new-item svda-add-custom-item"\n data-bind="click: addOther, attr: { title: getLocString(\'pe.addOther\') }"\n >\n <span data-bind="text: getLocString(\'pe.addOther\')"></span>\n </div>\n </div>\n</div>\n'},function(e,t){e.exports='<div class="svda-content">\n <span\n class="svda-title-editor-content"\n data-bind="visible: isEditing"\n style="display: none;"\n >\n <input\n data-svd-info="adorner"\n data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, blur: postEdit }"\n style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block;"\n />\n <span\n class="svda-edit-button"\n data-bind="click: postEdit, enable: editingName() != \'\'"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplacecheck\', size: 12"\n ></svg-icon>\n </span>\n \x3c!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> --\x3e\n </span>\n <span\n class="svda-title-editor-content svda-title-editor-start"\n data-bind="visible: !isEditing()"\n >\n <span style="display: none;" data-bind="text: editingName"></span>\n <span\n class="edit-survey-name"\n data-bind="click: startEdit, attr: { title: getLocString(\'pe.edit\') }"\n >\n <svg-icon\n class="svd-primary-icon"\n params="iconName: \'icon-inplaceedit\', size: 12"\n ></svg-icon>\n </span>\n </span>\n</div>\n'},function(e,t,o){e.exports=o(95)+" "+o(96)+"\n"+o(98)+" "+o(99)+"\n"+o(130)+" "+o(129)+"\n"+o(134)+" "+o(131)+"\n"+o(127)+"\n"+o(126)+"\n"+o(128)+"\n"+o(100)+"\n"+o(125)+"\n"+o(101)+"\n"+o(106)+"\n"+o(109)+"\n"+o(103)+"\n"+o(108)+"\n"+o(110)+"\n"+o(114)+"\n"+o(115)+"\n"+o(111)+"\n"+o(112)+o(113)+"\n"+o(117)+"\n"+o(119)+"\n"+o(105)+"\n"+o(120)+"\n"+o(121)+"\n"+o(102)+"\n"+o(122)+"\n"+o(123)+"\n"+o(124)+"\n"+o(104)+"\n"+o(97)+" "+o(133)+"\n"+o(94)+"\n"+o(116)+o(107)+"\n"+o(118)+"\n"+o(93)+" "+o(132)+"\n"},function(e,t){e.exports='<div>\n \x3c!-- ko foreach: tabs --\x3e\n <div\n class="svd-accordion-tab-header"\n role="tab"\n data-bind="click: toggle, visible: $parent.showHeader"\n >\n <span\n data-bind="css: { \'svd-main-color\': !collapsed() }, text: title"\n ></span>\n \x3c!-- ko if: collapsed --\x3e\n <svg-icon\n class="icon-toolbox-arrow"\n params="iconName: \'icon-arrow_down_10x10\', size: 10"\n ></svg-icon>\n \x3c!-- /ko --\x3e\n \x3c!-- ko ifnot: collapsed --\x3e\n <svg-icon\n class="icon-toolbox-arrow svd-primary-icon"\n params="iconName: \'icon-arrow_up_10x10\', size: 10"\n ></svg-icon>\n \x3c!-- /ko --\x3e\n </div>\n <div\n class="svd-accordion-tab-content"\n role="tab"\n data-bind="ifnot: collapsed"\n >\n \x3c!-- ko template: { name: template, data: data } --\x3e\n \x3c!-- /ko --\x3e\n </div>\n \x3c!-- /ko --\x3e\n</div>\n'},function(e,t,o){"use strict";var i=o(1),n=(o.n(i),o(23));o.d(t,"a",function(){return r});var r=function(){function e(){this.isProcessingImmediately=!1,this.timeoutId=-1,this._readOnly=i.observable(!1),this.koText=i.observable(""),this.koErrors=i.observableArray();var e=this;this.koText.subscribe(function(t){e.onJsonEditorChanged()})}return e.prototype.init=function(e){if(this.hasAceEditor){this.aceEditor=ace.edit(e),this.aceEditor.setReadOnly(this.readOnly);var t=this;this.aceEditor.setShowPrintMargin(!1),this.aceEditor.getSession().on("change",function(){t.onJsonEditorChanged()}),this.aceEditor.getSession().setUseWorker(!0),n.a.newLineChar=this.aceEditor.session.doc.getNewLineCharacter()}},Object.defineProperty(e.prototype,"hasAceEditor",{get:function(){return"undefined"!=typeof ace},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.hasAceEditor?this.aceEditor.getValue():this.koText()},set:function(e){this.isProcessingImmediately=!0,this.koText(e),this.aceEditor&&(this.aceEditor.setValue(e),this.aceEditor.renderer.updateFull(!0)),this.processJson(e),this.isProcessingImmediately=!1},enumerable:!0,configurable:!0}),e.prototype.show=function(e){this.text=e,this.aceEditor&&this.aceEditor.focus()},Object.defineProperty(e.prototype,"isJsonCorrect",{get:function(){return this.textWorker=new n.a(this.text),this.textWorker.isJsonCorrect},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"survey",{get:function(){return this.textWorker.survey},enumerable:!0,configurable:!0}),e.prototype.onJsonEditorChanged=function(){if(this.timeoutId>-1&&clearTimeout(this.timeoutId),this.isProcessingImmediately)this.timeoutId=-1;else{var t=this;this.timeoutId=window.setTimeout(function(){t.timeoutId=-1,t.processJson(t.text)},e.updateTextTimeout)}},e.prototype.processJson=function(e){this.textWorker=new n.a(e),this.aceEditor?this.aceEditor.getSession().setAnnotations(this.createAnnotations(e,this.textWorker.errors)):this.koErrors(this.textWorker.errors)},e.prototype.createAnnotations=function(e,t){for(var o=new Array,i=0;i<t.length;i++){var n=t[i],r={row:n.position.start.row,column:n.position.start.column,text:n.text,type:"error"};o.push(r)}return o},Object.defineProperty(e.prototype,"readOnly",{get:function(){return this._readOnly()},set:function(e){this._readOnly(e)},enumerable:!0,configurable:!0}),e.updateTextTimeout=1e3,e}()},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE8AAAASCAYAAAAaJIOvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkQ3RUUwNDQ4NjRERjExRTlBMTJBODcxOUEzRjhEQ0E1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkQ3RUUwNDQ5NjRERjExRTlBMTJBODcxOUEzRjhEQ0E1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RDdFRTA0NDY2NERGMTFFOUExMkE4NzE5QTNGOERDQTUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDdFRTA0NDc2NERGMTFFOUExMkE4NzE5QTNGOERDQTUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4EgFyAAAAHNUlEQVR42rxYW2xUVRQ9c+fOg+KUvsYWaSqlLRYFUZEfNEgEPkyJtSYoUWLAGJWYJgjihyZGNBj1A4QQTDAIROKHEkUeMWo0MVrA2CgUawQcpIRSQJhS2jKd172udWefeqntTIuUk6yZ8z77rL3PPvsej636Uz1wHzABKAYKgbGCAOAHTMAAOCwFJIA4cAXoBTqBKNABHAa2ceLvQiFVX1OjKhIJZafTyjAM1dra6iw6depUZVmWAyaPx6PcKZVKKa/Xq2zbdsD2gX1yJXd/PY+r7Xb8jRfZf3H347oJyJyGzIFAwJGRshOsM6XvDuBJdf3TSuCBykQiWpRMqiu2XRO07XUQLBYOh1+F4MdkM88jPx//R0HWK1p40zQHJUqT6EoLgSeANGBpXgCvKPKFLDK+C9QBRzFnrZtwgsobSlkkr2GUiHMMC1hdGY83PtjRobYVFFyoNc06br60tHQ/tHeMmoWG34Q2S1D+jNp1E+e2ksEsSdIjgqFSNvIuy/8lPbe2MOYdCzPNQQcaORa9Hmk2f+bA8pTf32lb1k4KlUwmp8diMR6LEjSXiAVuoKB+v985MsM9ikjvAE8DzwF9rtO0FHhUK2DgkZWU1h5Ck0VkUdRV5FXk3H6OjeRI9KHmHbCwQggFB/kNNwDNziJBEG46tSw+s4la1z5usOM6WB3QguxWYLP4YM67G6DP/Vxb8xDkG1I22S/bMR2MvOKcvfLzlVqzRqmqqmshrwgITwZ5FSAlHQx+JT6rhhYGS5ssBDSBxBRQgU2sx5iDwC5aDjdDQtFWjzx91AqZe4pY3dtAHuDTZMiFx7RcxjwuJDVI+SUhKcYfrBmBxd0Neb5G/V5UTdNHGLLlIf8e1j9CBaP8sjMX9HES/7fmOCOcHQYOc161Sql160ZKIDf5x7zycvVTMKgmeL0nQEYljm41hFoGgVfi+C6BoNtBKH3POLFGJ3V1dTWgz65QKPQFLONhuRS84qt3SLcy4Jz4sBDmXYJNbpeIgKT+gPJsIaZOrBZFzwZkG1WGB966ASGVc5WJT24GZgw4Aa8ZorHsiZ2PH88c37VrlWrBKVmwYCTkOWtUwO/FMkdyt1jBIvzdS2FA3EcgqAGkjUN9J4gth+CbSCIIfUOs80+Z7+gAZ68kdBp4qtx9T8n/afk/rp2SWNhErDkX+WeEnFJYYhDlcsg1A+198Xicl9qLcpE9a0j8lju5b5xp05Tas0ep5malZs4czmhqXk2E5dogA4Ls53GAUEuB+yFQ1OfzWcgvZD2EO4K6dqCZZcRYtXl5eRzXNYoX235YVxOwz+VLS1CeLm7mL1RfhOUfFMUXmP9ruYKCq0nNYruO5TEEAQn+vr4m3Lq81aqoRVjXbvE7FfKfoj+E0D4Jnn0yT3w0WJOA2LFUWJ/PdWHcxF0KeZdFpvNimT4OSA5rhZTrVJyEe1i8WKnqaqUOHBjOaGeNCfAfQSAJq4IAh12B6JdicVoThpBqqBuUII8hUYD972Ez+4lE22Tkt6L9Q2kOmPJplTvh88pJq1dnbt5kciSyOTdaGcmLx1UfhMwzjL0QhEciDaG+FQGtbGGJtuAbmNwxSyFkWiJ5HuEektedc4pC3PobNyq1ZYtShw6NWKk6eodnVj6Yvo9WZllnhaA4/N0lyXvk3xKnbA2xmRGTiPlyjpGvCp8OknEaLNaJTC2MSbVSKR/Ju5Bz5W7w29h4rdqL6jV6IQjD/2BGgDF6X4yjcLN2Q9AefmFAZo8Eyyn5VLIZ5yEfFOFTckNezBLQ2u7bFIQkMvG+9/IQVh2Dv3PCFyhTif/jbd7NRwESKmELE4/uRdN1dQ/P3408ndFhBMlL0Jf91ypMsTSGD/OAWiGlUgLk04z80Z4vllCKMv3i3CzkGTKn/jxi6BHAXHMGWrUoYgoQRvEh8X0Mkc7wApE+k6T7fLQ9pV9V9o7iwwDTzzpzDlZFAo2M5vWXDS3Q5E0G4TdD8GUQdDxwBfkxtLjOzs4NJK+oqOh32Xgp6tPYxCn9lCVBM1NI/scbmbColc4e/etQ7kO5Xe6h23RwLZZ4M2Q4L2NoaRFYGi0/groITkQVLJDjAxJmfeB9XanfMPAe12TXM7WLYhy/+n5Jifp17FhVDK2BhHESChwBMTuDwWAiHA6f7e3tPQzhytBOqzsFIde3tbW91dPTw2PTgnhvEurysbkTaCchvdg8Q5iPJZThS04b2vbx1QY4iD4zAB/W+RR4DMfyLoxpRh8+UhQDZHM56n4E7uQJQP9FwN98vED7J1jzFtRXoq4dc2yCMla4vSjfw2bJQ0GxaDAoXwemBNOG6zHUkhAkKULTnfXIo+JZOlj5UO+/kOrxbfx9KOSELO4bFZG7YhAM8lRHR4fjX+Rb1nkOikQiCqQ6fasRHtEHcVNsp39yO3H3CwrnEStxID6tf4yOhNwPn/oBlmuwXzQadcZCuf1jKC/b/hFgAIp32wshjNktAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3NTEiIGhlaWdodD0iNDMwIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+CjxyZWN0IGlkPSJiIiB3aWR0aD0iMzMwIiBoZWlnaHQ9IjY1MSIgeD0iNzE5LjUiIHk9IjI5OC41IiByeD0iMjAiLz48ZmlsdGVyIGlkPSJhIiB3aWR0aD0iMTQ1LjUlIiBoZWlnaHQ9IjEyMyUiIHg9Ii0yMi43JSIgeT0iLTExLjUlIiBmaWx0ZXJVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPgo8ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjI1IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz4KPGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjEgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48L2RlZnM+CjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUwOSAtNDA5KSI+PGcgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDg4NC41IDYyNCkiPgo8dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNhKSIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9IiNGRkYiIHhsaW5rOmhyZWY9IiNiIi8+PC9nPgo8cmVjdCB3aWR0aD0iNzAiIGhlaWdodD0iOCIgeD0iNTQwIiB5PSI2MjgiIGZpbGw9IiNGNEY0RjQiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDU3NSA2MzIpIiByeD0iNCIvPgo8Y2lyY2xlIGN4PSI1NzUiIGN5PSI1ODUiIHI9IjQiIGZpbGw9IiNGNEY0RjQiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDU3NSA1ODUpIi8+CjxwYXRoIGZpbGw9IiNGNEY0RjQiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTU5MiA3ODRWNDY0aDU2OHYzMjB6Ii8+PHBhdGggZmlsbD0iI0U3RTdFNyIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNNTkyIDQ2NHYzMjBoNTY4VjQ2NEg1OTJ6bTU2OS0xdjMyMkg1OTFWNDYzaDU3MHoiLz4KPGNpcmNsZSBjeD0iMTE4NiIgY3k9IjYyNCIgcj0iMTUiIGZpbGw9IiNGNEY0RjQiLz48L2c+PC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MzAiIGhlaWdodD0iNzUxIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHJlY3QgaWQ9ImIiIHdpZHRoPSIzMzAiIGhlaWdodD0iNjUxIiB4PSIxMjAiIHk9IjQ1OCIgcng9IjIwIi8+PGZpbHRlciBpZD0iYSIgd2lkdGg9IjE0NS41JSIgaGVpZ2h0PSIxMjMlIiB4PSItMjIuNyUiIHk9Ii0xMS41JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjI1IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMSAwIiBpbj0ic2hhZG93Qmx1ck91dGVyMSIvPjwvZmlsdGVyPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03MCAtNDA4KSI+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjYSkiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjRkZGIiB4bGluazpocmVmPSIjYiIvPjxyZWN0IHdpZHRoPSI3MCIgaGVpZ2h0PSI4IiB4PSIyNDIiIHk9IjQ3MCIgZmlsbD0iI0Y0RjRGNCIgZmlsbC1ydWxlPSJub256ZXJvIiByeD0iNCIvPjxjaXJjbGUgY3g9IjMyNCIgY3k9IjQ3NCIgcj0iNCIgZmlsbD0iI0Y0RjRGNCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZmlsbD0iI0U3RTdFNyIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTI0IDQ5MGgzMjJ2NTcwSDEyNFY0OTB6bTEgMXY1NjhoMzIwVjQ5MUgxMjV6Ii8+PHBhdGggZmlsbD0iI0Y0RjRGNCIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTI1IDQ5MWgzMjB2NTY4SDEyNXoiLz48Y2lyY2xlIGN4PSIyODUiIGN5PSIxMDg0IiByPSIxNSIgZmlsbD0iI0Y0RjRGNCIvPjwvZz48L3N2Zz4="},function(e,t,o){var i,n,i,n,r,i,n;!function(a){"use strict";var s;s="undefined"!=typeof ko?ko:o(1);var l;l="undefined"!=typeof Sortable?Sortable:o(9),void 0!==s&&void 0!==l?a(s,l):void 0!==s&&void 0===l?(i=[o(9)],void 0!==(n=function(e){a(s,e)}.apply(t,i))&&(e.exports=n)):void 0===s&&void 0!==l?(i=[o(1)],void 0!==(n=function(e){a(e,l)}.apply(t,i))&&(e.exports=n)):void 0===s&&void 0===l&&(i=[o(1),o(9)],r=a,void 0!==(n="function"==typeof r?r.apply(t,i):r)&&(e.exports=n))}(function(e,t){"use strict";var o=function(o,i,a,s,l,d){var u=r(i,d);["onStart","onEnd","onRemove","onAdd","onUpdate","onSort","onFilter","onMove","onClone"].forEach(function(t){(u[t]||n[t])&&(u[t]=function(t,o,i,r,a){var s=e.dataFor(a.item),l=e.utils.peekObservable(i()),d=l.sortable||l.draggable,u=d.collection||d.foreach;r&&r(a,s,o,u,l),n[t]&&n[t](a,s,o,u,l)}.bind(void 0,t,s,a,u[t]))});var c=t.create(o,u);return e.utils.domNodeDisposal.addDisposeCallback(o,function(){c.destroy()}),e.bindingHandlers.template.init(o,i)},i=function(t,o,i,n,r,a){return e.bindingHandlers.template.update(t,o,i,n,r)},n=function(t){var o=[],i=function(e,t,i,r,a){var s={event:e,itemVM:t,parentVM:i,collection:r,parentBindings:a},l=o.filter(function(e){return e.itemVM===s.itemVM})[0];if(l){o.splice(o.indexOf(l),1);var d="remove"===s.event.type?s:l,u="add"===s.event.type?s:l;n(t,d.collection,u.collection,u.event.clone,u.event)}else o.push(s)},n=function(t,o,i,n,r){var a=o(),s=a.indexOf(t),l=r.newIndex;r.item.previousElementSibling&&(l=i().indexOf(e.dataFor(r.item.previousElementSibling)),l+=l>s?0:1),r.item.parentNode.removeChild(r.item),a.splice(s,1),o.valueHasMutated(),n&&o!==i&&(a.splice(s,0,t),o.valueHasMutated()),!!e.tasks&&e.tasks.runEarly(),i().splice(l,0,t),i.valueHasMutated()};return t.onRemove=i,t.onAdd=i,t.onUpdate=function(e,t,o,i,r){n(t,i,i,!1,e)},t}({}),r=function(t,o){var i=function(e,t){for(var o in t)"[object Object]"===Object.prototype.toString.call(t[o])?("[object Object]"!==Object.prototype.toString.call(e[o])&&(e[o]={}),e[o]=i(e[o],t[o])):e[o]=t[o];return e},n=e.utils.peekObservable(t()).options||{};return o=i({},o),n.group&&"[object Object]"!==Object.prototype.toString.call(n.group)&&(n.group={name:n.group}),i(o,n)};e.bindingHandlers.draggable={sortableOptions:{group:{pull:"clone",put:!1},sort:!1},init:function(t,i,n,r,a){return o(t,i,n,r,a,e.bindingHandlers.draggable.sortableOptions)},update:function(t,o,n,r,a){return i(t,o,n,r,a,e.bindingHandlers.draggable.sortableOptions)}},e.bindingHandlers.sortable={sortableOptions:{group:{pull:!0,put:!0}},init:function(t,i,n,r,a){return o(t,i,n,r,a,e.bindingHandlers.sortable.sortableOptions)},update:function(t,o,n,r,a){return i(t,o,n,r,a,e.bindingHandlers.sortable.sortableOptions)}}})}])});
| ver. 1.4 |
Github
|
.
| PHP 7.2.34 | Generation time: 0.35 |
proxy
|
phpinfo
|
Settings