Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

survey-analytics

Package Overview
Dependencies
Maintainers
5
Versions
331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

survey-analytics - npm Package Compare versions

Comparing version 1.9.96 to 1.9.97

4

package.json

@@ -23,3 +23,3 @@ {

},
"version": "1.9.96",
"version": "1.9.97",
"name": "survey-analytics",

@@ -62,3 +62,3 @@ "description": "SurveyJS analytics Library.",

"plotly.js-dist-min": "^2.11.1",
"survey-core": "1.9.96",
"survey-core": "1.9.97",
"tabulator-tables": "4.8.4",

@@ -65,0 +65,0 @@ "wordcloud": "^1.2.2"

@@ -55,8 +55,7 @@ import { Event, SurveyModel } from "survey-core";

*
* If this property is disabled, charts are displayed one under the other and users cannot reorder them.
* If this property is disabled, charts are displayed one under another, and users cannot drag and drop them. If you want to disable only drag and drop, set the [`allowDragDrop`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions#allowDynamicLayout) property to `false`.
*
* Default value: `true`
*
* [View Demo](https://surveyjs.io/Examples/Analytics?id=custom-layout (linkStyle))
*
* [View Demo](https://surveyjs.io/dashboard/examples/custom-layout/ (linkStyle))
* @see layoutEngine

@@ -66,2 +65,9 @@ */

/**
* Specifies whether users can drag and drop charts. Applies only if [`allowDynamicLayout`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions#allowDynamicLayout) is `true`.
*
* Default value: `true`
* @see layoutEngine
*/
allowDragDrop?: boolean;
/**
* A layout engine used to arrange charts on the Visualization Panel.

@@ -299,2 +305,6 @@ *

/**
* Returns the [`allowDragDrop`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions#allowDragDrop) property value of the [`IVisualizationPanelOptions`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions) object.
*/
get allowDragDrop(): boolean;
/**
* Returns the [`allowHideQuestions`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions#allowHideQuestions) property value of the [`IVisualizationPanelOptions`](https://surveyjs.io/dashboard/documentation/api-reference/ivisualizationpaneloptions) object.

@@ -301,0 +311,0 @@ */

/*!
* surveyjs - SurveyJS Dashboard library v1.9.96
* surveyjs - SurveyJS Dashboard library v1.9.97
* Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("survey-core")):"function"==typeof define&&define.amd?define("SurveyAnalyticsDatatables",["survey-core"],t):"object"==typeof exports?exports.SurveyAnalyticsDatatables=t(require("survey-core")):e.SurveyAnalyticsDatatables=t(e.Survey)}(window,(function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var o={groupButton:"Group By Me",ungroupButton:"Ungroup By Me",selectButton:"Select Me",hideColumn:"Hide column",showColumn:"Show column",makePrivateColumn:"Make column private",makePublicColumn:"Make column public",moveToDetail:"Move to Detail",showAsColumn:"Show as Column",filterPlaceholder:"Search...",removeRows:"Remove rows",showLabel:"Show",entriesLabel:"entries",visualizer_text:"Texts in table",visualizer_wordcloud:"Wordcloud",visualizer_histogram:"Histogram",visualizer_number:"Average",visualizer_choices:"Table",visualizer_selectBase:"Chart",chartType_bar:"Bar",chartType_vbar:"Vertical Bar",chartType_stackedbar:"Stacked Bar",chartType_doughnut:"Doughnut",chartType_pie:"Pie",chartType_scatter:"Scatter",chartType_gauge:"Gauge",chartType_bullet:"Bullet",hideButton:"Hide",makePrivateButton:"Make private",makePublicButton:"Make public",showButton:"Show",filter:"Filter",resetFilter:"Reset Filter",changeLocale:"Change Locale",en:"English",fr:"Français",ru:"Русский",de:"Deutsch",clearButton:"Clear",addElement:"Choose question to show...",defaultOrder:"Default Order",ascOrder:"Ascending",descOrder:"Descending",showMinorColumns:"Show minor columns",otherCommentTitle:"Other items and comments",showPercentages:"Show percentages",hidePercentages:"Hide percentages",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Download plot as a png",hideEmptyAnswers:"Hide empty answers",showEmptyAnswers:"Show empty answers","topNValueText-1":"All answers",topNValueText5:"Top 5 answers",topNValueText10:"Top 10 answers",topNValueText20:"Top 20 answers",hideMissingAnswers:"Hide missing answers",showMissingAnswers:"Show missing answers",missingAnswersLabel:"Missing answers",noVisualizerForQuestion:"This question type is not visualized yet",noResults:"There are no results yet",showPerValues:"Per Values",showPerColumns:"Per Columns",answer:"Answer",correctAnswer:"Correct answer: ",percent:"Percent",responses:"Responses"},r={currentLocaleValue:"",defaultLocaleValue:"en",locales:{},localeNames:{},supportedLocales:[],get currentLocale(){return this.currentLocaleValue===this.defaultLocaleValue?"":this.currentLocaleValue},set currentLocale(e){this.currentLocaleValue=e},get defaultLocale(){return this.defaultLocaleValue},set defaultLocale(e){this.defaultLocaleValue=e},getString:function(e){var t=this.currentLocale?this.locales[this.currentLocale]:this.locales[this.defaultLocale];t&&t[e]||(t=this.locales[this.defaultLocale]);var n=t[e];return void 0===n&&(n=this.locales.en[e]||e),n},getLocales:function(){var e=[];if(e.push(""),this.supportedLocales&&this.supportedLocales.length>0)for(var t=0;t<this.supportedLocales.length;t++)e.push(this.supportedLocales[t]);else for(var n in this.locales)e.push(n);return e.sort(),e}},a=o;r.locales.en=o,r.localeNames.en="english"},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return s}));var o=function(){function e(){}return e.createSelector=function(t,n,o){var r=document.createElement("div");r.className="sa-question__select-wrapper";var a=document.createElement("select");return a.className="sa-question__select",t.forEach((function(t){var o=e.createElement("option","",{value:t.value,text:t.text,selected:n(t)});a.appendChild(o)})),a.onchange=o,r.appendChild(a),r},e.createButton=function(t,n,o){return void 0===n&&(n=""),void 0===o&&(o="sa-toolbar__button"),e.createElement("span",o,{innerText:n,onclick:t})},e.createElement=function(e,t,n){void 0===t&&(t="");var o=document.createElement(e);return o.className=t,n&&Object.keys(n).forEach((function(e){o[e]=n[e]})),o},e.createSvgElement=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=document.createElementNS("http://www.w3.org/2000/svg","use");return n.setAttributeNS("http://www.w3.org/1999/xlink","href","#sa-svg-"+e),t.appendChild(n),t},e.createSvgButton=function(t){var n=e.createElement("button","sa-table__svg-button");return n.appendChild(e.createSvgElement(t)),n},e.createSvgToggleButton=function(t,n,o,r,a,i,s,l){void 0===s&&(s="first"),void 0===l&&(l="sa-toolbar__button sa-toolbar__svg-button");var u=e.createSvgElement(t),c=e.createSvgElement(n),d=e.createElement("button",l);return"first"===s?(d.title=o,d.appendChild(u)):(s="second")&&(d.title=r,d.appendChild(c)),d.onclick=function(e){"first"===s?(s="second",d.title=r,d.removeChild(u),d.appendChild(c),i(e)):"second"===s&&(s="first",d.title=o,d.removeChild(c),d.appendChild(u),a(e))},d},e.createInput=function(t,n,o){return void 0===n&&(n=""),void 0===o&&(o=""),e.createElement("input",t,{placeholder:n,defaultValue:o})},e}();window.URL.createObjectURL;function r(){var e=o.createElement("div","sa-commercial"),t=o.createElement("a","sa-commercial__text",{href:"https://www.surveyjs.io/Buy",target:"_blank"}),n=o.createElement("span",""),r=o.createSvgElement("noncommercial"),a=o.createElement("span","sa-commercial__product",{innerText:"Please purchase a SurveyJS Analytics developer license to use it in your app."});return e.appendChild(t).appendChild(n),n.appendChild(r),n.appendChild(a),e}var a=function(){function e(){}return e.zipArrays=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=function(t){n[t]=[],e.forEach((function(e){n[t].push(e[t])}))},r=0;r<e[0].length;r++)o(r);return n},e.unzipArrays=function(e){var t=[];return e.forEach((function(e,n){e.forEach((function(e,o){t[o]||(t[o]=[]),t[o][n]=e}))})),t},e.sortDictionary=function(e,t,n){var o=this.zipArrays(e,t),r=function(e,t,n){void 0===n&&(n=!0);var o=e[1]<t[1]?1:e[1]==t[1]?0:-1;return n?o:-1*o};o.sort((function(e,t){return n?r(e,t,!1):r(e,t)}));var a=this.unzipArrays(o);return{keys:a[0],values:a[1]}},e.toPercentage=function(e,t){return e/t*100},e}();function i(e){var t=o.createElement("div");return e.forEach((function(e){t.appendChild(o.createElement("a","",{innerText:e.name,download:e.name,href:e.content}))})),t}function s(e){var t=o.createElement("div");return e.forEach((function(e){t.appendChild(o.createElement("img","",{alt:e.name,src:e.content}))})),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function r(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}},function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=function(){function e(e){this.table=e,this.renderedExtensions=[]}return e.prototype.render=function(t,n,o){var r=this,a=e.extensions[n];a&&(a=this.sortExtensions(a)).forEach((function(e){if(e.render){var n=e.render(r.table,o);n&&(t.appendChild(n),r.renderedExtensions.push(e))}}))},e.prototype.destroy=function(){this.renderedExtensions.forEach((function(e){e.destroy&&e.destroy()})),this.renderedExtensions=[]},e.registerExtension=function(e){this.extensions[e.location]||(this.extensions[e.location]=[]),this.extensions[e.location].push(e)},e.removeExtension=function(t){if(t){var n=e.extensions[t.location],o=n.indexOf(t);o>=0&&n.splice(o,1)}},e.unregisterExtension=function(t,n){if(n)if(t){var o=e.findExtension(t,n);e.removeExtension(o)}else Object.keys(this.extensions).forEach((function(t){return e.unregisterExtension(t,n)}))},e.findExtension=function(e,t){return this.extensions[e]&&this.extensions[e].filter((function(e){return e.name==t}))[0]||null},e.prototype.sortExtensions=function(e){if(Array.isArray(e))return[].concat(e.filter((function(e){return e.visibleIndex>=0}))).sort((function(e,t){return e.visibleIndex-t.visibleIndex}))},e.extensions={},e}()},function(e,t,n){"use strict";var o,r;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r})),function(e){e[e.Column=0]="Column",e[e.Row=1]="Row"}(o||(o={})),function(e){e[e.Text=0]="Text",e[e.FileLink=1]="FileLink",e[e.Image=2]="Image"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return B})),n.d(t,"c",(function(){return D}));var o=n(2),r=n(3),a=n(5),i=n(8),s=n(0),l=n(4),u=n(1),c=function(){function e(e,t){this.question=e,this.table=t,this.isVisible=!0,this.isPublic=!0,this.location=a.b.Column,this.dataType=this.getDataType()}return Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue||(this.name=this.getName()),this.nameValue},set:function(e){this.nameValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){return this.displayNameValue||(this.displayName=this.getDisplayName()),this.displayNameValue},set:function(e){this.displayNameValue=e},enumerable:!1,configurable:!0}),e.prototype.getDisplayName=function(){return this.table.useNamesAsTitles?this.question.name:(this.question.title||"").trim()||this.question.name},e.prototype.getName=function(){return this.question.name},e.prototype.getDataType=function(){return a.a.Text},e.prototype.getDisplayValueCore=function(e){return e[this.name]},e.prototype.setupReadyChangedCallback=function(e,t){var n=function(t,o){o.isReady&&(e.refresh(!0),t.onReadyChanged.remove(n))};t.isReady||t.onReadyChanged.add(n)},e.prototype.getDisplayValue=function(e,t,n){var o=this.getDisplayValueCore(e),r=this.question;return r&&(o=n.useValuesAsLabels?r.value:r.displayValue),o},e.prototype.formatDisplayValue=function(e){return"string"==typeof e?e:JSON.stringify(e)||""},e.prototype.getCellData=function(e,t){var n=this.getDisplayValue(t,e,e.options);return this.setupReadyChangedCallback(e,this.question),{question:this.question,displayValue:this.formatDisplayValue(n)}},e.prototype.toJSON=function(){return{name:this.name,displayName:this.displayName,dataType:this.dataType,isVisible:this.isVisible,isPublic:this.isPublic,location:this.location}},e.prototype.fromJSON=function(e){var t=this;Object.keys(e).forEach((function(n){t[n]=e[n]}))},e}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getDisplayValue=function(e,t,n){return this.getDisplayValueCore(e)},t}(c),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getName=function(){return"".concat(this.question.name).concat(r.settings.commentPrefix)},t.prototype.getDisplayName=function(){return this.question.hasOther?this.question.otherText:this.question.commentText},t.prototype.getDisplayValue=function(e,t,n){return this.question.comment},t}(c),h=function(e){function t(t,n,o){var r,a=this;return(a=e.call(this,t,o)||this).row=n,a.valueName=a.question.name,a.valuePath=null===(r=a.row)||void 0===r?void 0:r.value,a}return Object(o.b)(t,e),t.prototype.getName=function(){var e;return this.question.name+"."+(null===(e=this.row)||void 0===e?void 0:e.value)},t.prototype.getDisplayName=function(){var e=this.table,t=this.question,n=this.row;return(e.useNamesAsTitles?t.name:(t.title||"").trim()||t.name)+" - "+(e.useNamesAsTitles?null==n?void 0:n.value:null==n?void 0:n.locText.textOrHtml)},t.prototype.getDisplayValue=function(e,t,n){var o=e[this.valueName];if(this.valuePath&&"object"==typeof o&&void 0!==(o=o[this.valuePath])){var a=r.ItemValue.getItemByValue(this.question.columns,o);a&&(o=n.useValuesAsLabels?a.value:a.locText.textOrHtml)}return o},t}(c),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getDataType=function(){return a.a.Image},t}(c),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getDataType=function(){return a.a.FileLink},t.prototype.getDisplayValue=function(e,t,n){var o=this.getDisplayValueCore(e);return Array.isArray(o)&&(o=B.showFilesAsImages?Object(u.d)(o).outerHTML:Object(u.e)(o).outerHTML),o},t}(c),g=function(e){function t(t,n,o,r){var a=e.call(this,t,r)||this;return a.row=n,a.col=o,a.rowValue=a.row.value,a.colName=a.col.name,a}return Object(o.b)(t,e),t.prototype.getName=function(){return this.question.name+"."+this.row.value+"."+this.col.name},t.prototype.getDisplayName=function(){var e=this.table,t=this.question;return(this.table.useNamesAsTitles?t.name:(t.title||"").trim()||t.name)+" - "+(e.useNamesAsTitles?this.row.value:this.row.locText.textOrHtml)+" - "+(e.useNamesAsTitles?this.col.name:this.col.locTitle.textOrHtml)},t.prototype.getDisplayValue=function(e,t,n){var o=this,r=e[this.question.name],a=this.question;if(this.rowValue&&this.colName&&"object"==typeof r){var i=[this.rowValue,this.colName],s=i[0],l=i[1];r=a.value,n.useValuesAsLabels||(r=a.displayValue,s=a.rows.filter((function(e){return e.value===o.rowValue}))[0].text,l=a.getColumnByName(this.colName).title),r=r[s]&&r[s][l]||""}return r},t}(c),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getCellData=function(t,n){return this.setupReadyChangedCallback(t,this.question.contentQuestion),e.prototype.getCellData.call(this,t,n)},t}(c),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getCellData=function(t,n){var o=this,r=[];return this.question.contentPanel.addQuestionsToList(r),r.forEach((function(e){o.setupReadyChangedCallback(t,e)})),e.prototype.getCellData.call(this,t,n)},t}(c),y=function(){function e(){}return e.prototype.createColumn=function(e,t){return new c(e,t)},e.prototype.buildColumnsCore=function(e,t){var n=[];return n.push(this.createColumn(e,t)),n},e.prototype.buildColumns=function(e,t){var n=this.buildColumnsCore(e,t);return(e.hasComment||e.hasOther&&e.getStoreOthersAsComment())&&n.push(new p(e,t)),n},e}(),w=function(){function e(){this.columnsBuilders={},this.defaultColumnsBuilder=new y}return e.prototype.registerBuilderColumn=function(e,t){this.columnsBuilders[e]=t},e.prototype.getColumnsBuilder=function(e){return this.columnsBuilders[e]||this.defaultColumnsBuilder},e.Instance=new e,e}(),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.buildColumnsCore=function(e,t){var n=e,o=[];return n.rows.forEach((function(e){o.push(new h(n,e,t))})),o},t}(y);w.Instance.registerBuilderColumn("matrix",new C);var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new m(e,t)},t}(y);w.Instance.registerBuilderColumn("signaturepad",new _);var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new f(e,t)},t}(y);w.Instance.registerBuilderColumn("file",new T);var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.buildColumns=function(e,t){var n=e,o=[];return n.rows.forEach((function(e){n.columns.forEach((function(r){o.push(new g(n,e,r,t))}))})),o},t}(y);w.Instance.registerBuilderColumn("matrixdropdown",new x);var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new b(e,t)},t}(y);w.Instance.registerBuilderColumn("custom",new P);var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new v(e,t)},t}(y);w.Instance.registerBuilderColumn("composite",new E);var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t}(r.EventBase),B=function(){function e(t,n,o,r){void 0===o&&(o={}),void 0===r&&(r=[]);var a=this;this._survey=t,this.data=n,this._options=o,this._columnsData=r,this.haveCommercialLicense=!1,this.currentPageSize=5,this._rows=[],this.paginationSizeSelector=[1,5,10,25,50,100],this.onColumnsVisibilityChanged=new S,this.onColumnsLocationChanged=new S,this.onRowRemoved=new S,this.buildColumns=function(e){var t=[];return a._survey.getAllQuestions().forEach((function(e){var n=w.Instance.getColumnsBuilder(e.getTemplate());t=t.concat(n.buildColumns(e,a))})),t},this.onStateChanged=new S,this._options||(this._options={}),this._columns=this.buildColumns(t),this.initTableData(n),s.a.currentLocale=this._survey.locale,this._columns=this.buildColumns(t),0!==r.length&&this.updateColumnsFromData(this._columnsData),this.extensions=new l.a(this),this.haveCommercialLicense=e.haveCommercialLicense||!!o&&void 0!==o.haveCommercialLicense&&o.haveCommercialLicense}return e.prototype.getData=function(){return this.data},Object.defineProperty(e.prototype,"survey",{get:function(){return this._survey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),e.prototype.render=function(e){"string"==typeof e&&(e=document.getElementById(e)),e.innerHTML="",this.haveCommercialLicense||e.appendChild(Object(u.c)())},e.prototype.enableColumnReorder=function(){this.isColumnReorderEnabled=!0},e.prototype.disableColumnReorder=function(){this.isColumnReorderEnabled=!1},e.prototype.getPageNumber=function(){return this.currentPageNumber},e.prototype.setPageNumber=function(e){this.currentPageNumber=e},e.prototype.getPageSize=function(){return this.currentPageSize},e.prototype.setPageSize=function(e){this.currentPageSize=e,this.onStateChanged.fire(this,this.state)},e.prototype.getCreatedRows=function(){return[].concat(this._rows)},e.prototype.clearCreatedRows=function(){this._rows.forEach((function(e){e.destroy()})),this._rows=[]},Object.defineProperty(e.prototype,"useNamesAsTitles",{get:function(){return this._options&&!0===this._options.useNamesAsTitles},enumerable:!1,configurable:!0}),e.prototype.isColumnVisible=function(e){return e.location===a.b.Column&&e.isVisible},Object.defineProperty(e.prototype,"columns",{get:function(){return[].concat(this._columns)},set:function(e){this._columns=e,this.refresh(!0),this.onStateChanged.fire(this,this.state)},enumerable:!1,configurable:!0}),e.prototype.initTableData=function(e){var t=this;this.tableData=(e||[]).map((function(e){var n={};return t._survey.data=e,t._columns.forEach((function(o){var r=o.getCellData(t,e);"function"==typeof t._options.onGetQuestionValue&&t._options.onGetQuestionValue(r),n[o.name]=r.displayValue})),n}))},e.prototype.moveColumn=function(e,t){var n=this._columns.splice(e,1);this._columns.splice(t,0,n[0]),this.onStateChanged.fire(this,this.state)},e.prototype.setColumnLocation=function(e,t){this.getColumnByName(e).location=t,this.onColumnsLocationChanged.fire(this,{columnName:e,location:t}),this.onStateChanged.fire(this,this.state)},e.prototype.getColumnByName=function(e){return this._columns.filter((function(t){return t.name===e}))[0]},e.prototype.setColumnVisibility=function(e,t){this.getColumnByName(e).isVisible=t,this.onColumnsVisibilityChanged.fire(this,{columnName:e,columnVisibility:t}),this.onStateChanged.fire(this,this.state)},e.prototype.setColumnWidth=function(e,t){this.getColumnByName(e).width=t,this.onStateChanged.fire(this,this.state)},e.prototype.removeRow=function(e){var t=this._rows.indexOf(e);this._rows.splice(t,1),this.onRowRemoved.fire(this,{row:e})},Object.defineProperty(e.prototype,"locale",{get:function(){return s.a.currentLocale},set:function(e){this._survey.locale=e,s.a.currentLocale=e,this.refresh(!0),this.onStateChanged.fire(this,this.state)},enumerable:!1,configurable:!0}),e.prototype.getLocales=function(){return[].concat(this._survey.getUsedLocales())},e.prototype.refresh=function(e){if(void 0===e&&(e=!1),e&&this.initTableData(this.data),this.isRendered){this.currentPageNumber=this.getPageNumber();var t=this.renderResult;this.destroy(),this.render(t),this.setPageSize(this.currentPageSize),this.setPageNumber(this.currentPageNumber)}},e.prototype.destroy=function(){this.clearCreatedRows(),this.extensions.destroy(),this.renderResult.innerHTML="",this.renderResult=void 0},Object.defineProperty(e.prototype,"isRendered",{get:function(){return!!this.renderResult},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return{locale:s.a.currentLocale,elements:JSON.parse(JSON.stringify(this._columns)),pageSize:this.currentPageSize}},set:function(e){e&&(void 0!==e.locale&&(s.a.currentLocale=e.locale,this._survey.locale=e.locale,this.initTableData(this.data)),void 0!==e.elements&&this.updateColumnsFromData(e.elements),void 0!==e.pageSize&&(this.currentPageSize=e.pageSize))},enumerable:!1,configurable:!0}),e.prototype.updateColumnsFromData=function(e){var t=this,n=this._columns;n.forEach((function(t){var n=e.filter((function(e){return t.name===e.name}))[0];n&&(t.fromJSON(n),t.visibleIndex=e.indexOf(n))})),e.forEach((function(o){var r=n.filter((function(e){return e.name===o.name}))[0];r||((r=new d(void 0,t)).fromJSON(o),r.visibleIndex=e.indexOf(o),n.push(r))})),this._columns=this._columns.sort((function(e,t){return e.visibleIndex-t.visibleIndex}))},Object.defineProperty(e.prototype,"permissions",{get:function(){return this._columns.map((function(e){return{name:e.name,isPublic:e.isPublic}}))},set:function(e){var t=this._columns.map((function(t){return e.forEach((function(e){e.name===t.name&&(t.isPublic=e.isPublic)})),t}));this._columns=[].concat(t),this.onPermissionsChangedCallback&&this.onPermissionsChangedCallback(this)},enumerable:!1,configurable:!0}),e.showFilesAsImages=!1,e.haveCommercialLicense=!1,e}(),D=function(){function e(e,t,n){var o=this;this.table=e,this.extensionsContainer=t,this.detailsContainer=n,this.detailedRowClass="sa-table__detail-row",this.isDetailsExpanded=!1,this.onToggleDetails=new r.Event,this.onColumnLocationChangedCallback=function(){o.closeDetails()},this.details=new i.a(e,this,n),this.extensions=new l.a(e),e.onColumnsLocationChanged.add(this.onColumnLocationChangedCallback)}return e.prototype.render=function(){this.extensions.render(this.extensionsContainer,"row",{row:this})},e.prototype.openDetails=function(){this.details.open(),this.getElement().className+=" "+this.detailedRowClass,this.onToggleDetails.fire(this,{isExpanded:!0}),this.isDetailsExpanded=!0},e.prototype.closeDetails=function(){this.details.close(),this.getElement().classList.remove(this.detailedRowClass),this.onToggleDetails.fire(this,{isExpanded:!1}),this.isDetailsExpanded=!1},e.prototype.toggleDetails=function(){this.isDetailsExpanded?this.closeDetails():this.openDetails()},e.prototype.getIsSelected=function(){return this.isSelected},e.prototype.toggleSelect=function(){this.isSelected=!this.isSelected},e.prototype.remove=function(){this.table.removeRow(this)},e.prototype.destroy=function(){this.table.onColumnsLocationChanged.remove(this.onColumnLocationChangedCallback),this.extensions.destroy()},e}()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(1),r=n(5),a=n(4),i=n(0),s=function(){function e(e,t,n){var a=this;this.table=e,this.row=t,this.targetNode=n,this.location="details",this.createShowAsColumnButton=function(e){var t=o.b.createElement("button","sa-table__btn sa-table__btn--gray");return t.appendChild(document.createTextNode(i.a.getString("showAsColumn"))),t.onclick=function(t){t.stopPropagation(),a.table.setColumnLocation(e,r.b.Column)},t},this.detailsTable=o.b.createElement("table","sa-table__detail-table"),this.table.onColumnsLocationChanged.add((function(){a.close()}))}return e.prototype.open=function(){var e=this;this.detailsTable.innerHTML="";var t=[];this.table.columns.filter((function(e){return e.location===r.b.Row&&e})).forEach((function(n){var a=o.b.createElement("tr","sa-table__detail"),i=o.b.createElement("td");i.appendChild(document.createTextNode(n.displayName));var s=o.b.createElement("td");s.textContent=e.row.getRowData()[n.name],n.dataType===r.a.Image&&(s.innerHTML="<image src='"+s.textContent+"'/>");var l=o.b.createElement("td");l.appendChild(e.createShowAsColumnButton(n.name)),a.appendChild(i),a.appendChild(s),a.appendChild(l),t.push(a)}));var n=o.b.createElement("tr","sa-table__detail"),i=o.b.createElement("td","",{colSpan:3});new a.a(this.table).render(i,"details",{row:this.row}),0!=i.children.length&&(n.appendChild(i),t.push(n)),t.forEach((function(t){e.detailsTable.appendChild(t)})),this.targetNode.appendChild(this.detailsTable)},e.prototype.close=function(){this.detailsTable.parentNode&&this.detailsTable.parentNode.removeChild(this.detailsTable)},e}()},function(e,t,n){"use strict";var o=n(0);o.a.locales.fa={groupButton:"گروه بندی با",ungroupButton:"حذف گروه",selectButton:"انتخاب",hideColumn:"مخفی کردن ستون",showColumn:"نمایش ستون",moveToDetail:"انتقال به جزئیات",showAsColumn:"نمایش به عنوان ستون",visualizer_text:"متون در جدول",visualizer_wordcloud:"ابر کلمات",chartType_bar:"میله ای",chartType_pie:"دابره ای(pie)",chartType_scatter:"پراکندگی(Scatter)",chartType_gauge:"عقربه ای",chartType_bullet:"Bullet",hideButton:"مخفی",resetFilter:"بازنشانی فیلترها",clearButton:"پاک کردن",addElement:"انتخاب سوال برای نمایش..."},o.a.localeNames.fa="Farsi(Persian)"},function(e,t,n){"use strict";var o=n(0);o.a.locales.fr={groupButton:"Grouper",ungroupButton:"Dissocier",selectButton:"Sélectionner",hideColumn:"Masquer colonne",showColumn:"Afficher colonne",makePrivateColumn:"Rendre la colonne privé",makePublicColumn:"Rendre la colonne public",moveToDetail:"Déplacer vers détails",showAsColumn:"Afficher en colonne",filterPlaceholder:"Rechercher...",removeRows:"Supprimer colonne",showLabel:"Afficher",entriesLabel:"entrées",visualizer_text:"Textes en table",visualizer_wordcloud:"Nuages de mots",chartType_bar:"Barres",chartType_stackedbar:"Barres empilées",chartType_doughnut:"Anneau",chartType_pie:"Secteurs",chartType_scatter:"Nuages de points",chartType_gauge:"Gauge",chartType_bullet:"Bulles",filter:"Filtre",hideButton:"Masquer",saveDiagramAsPNG:"Sauver en png",makePrivateButton:"Rendre privé",makePublicButton:"Rendre publique",showButton:"Afficher",resetFilter:"Rafraichir Filtres",clearButton:"Rafraichir",addElement:"Choisir la question à afficher...",defaultOrder:"Defaut",ascOrder:"Ascendant",descOrder:"Descendant",showMinorColumns:"Afficher les colonnes mineures",otherCommentTitle:"Autre élément et commentaires",noVisualizerForQuestion:"Ce type de question n'est pas encore visualisé",noResults:"Il n'y a pas encore de résultats",showPerValues:"Par valeur",showPerColumns:"Par colonne",answer:"Réponse",correctAnswer:"Réponse correcte: ",percent:"Pourcentage",responses:"Réponses"},o.a.localeNames.fr="French"},function(e,t,n){"use strict";var o=n(0);o.a.locales.de={groupButton:"Gruppieren",ungroupButton:"Gruppierung aufheben",selectButton:"Mich auswählen",hideColumn:"Spalte ausblenden",showColumn:"Spalte einblenden",makePrivateColumn:"Spalte privat machen",makePublicColumn:"Spalte veröffentlichen",moveToDetail:"in Details verschieben",showAsColumn:"Als Spalte anzeigen",filterPlaceholder:"Suche...",removeRows:"Zeilen entfernen",showLabel:"anzeigen",entriesLabel:"Einträge",visualizer_text:"Texte in Tabellenform",visualizer_wordcloud:"Wordcloud",chartType_bar:"Balkendiagramm",chartType_stackedbar:"Gestapeltes Balkendiagramm",chartType_doughnut:"Donut-Diagramm",chartType_pie:"Kreisdiagramm",chartType_scatter:"Punktediagramm",chartType_gauge:"Pegeldiagramm",chartType_bullet:"Aufzählungsdiagramm",hideButton:"Ausblenden",makePrivateButton:"Privat machen",makePublicButton:"Öffentlich machen",showButton:"Anzeigen",filter:"Filter",resetFilter:"Filter zurücksetzen",changeLocale:"Lokalisierung ändern",clearButton:"Einstellungen löschen",addElement:"Wählen Sie eine Frage, um zu zeigen...",defaultOrder:"Standardreihenfolge",ascOrder:"Aufsteigend",descOrder:"Absteigend",showMinorColumns:"Kleinere Spalten anzeigen",otherCommentTitle:"Andere Punkte und Kommentare",showPercentages:"Prozentsätze anzeigen",hidePercentages:"Prozentsätze ausblenden",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Diagramm als png herunterladen",hideEmptyAnswers:"Leere Antworten ausblenden",showEmptyAnswers:"Leere Antworten anzeigen","topNValueText-1":"Alle Antworten",topNValueText5:"Top 5 Antworten",topNValueText10:"Top 10 Antworten",topNValueText20:"Top 20 Antworten",noVisualizerForQuestion:"Für diesen Fragetyp gibt es noch keine Visualisierung.",noResults:"Es liegen noch keine Ergebnisse vor"},o.a.localeNames.de="German"},function(e,t,n){"use strict";var o=n(0);o.a.locales.no={groupButton:"Grupper",ungroupButton:"Opphev gruppering",selectButton:"Velg",hideColumn:"Skjul kolonne",showColumn:"Vis kolonne",makePrivateColumn:"Gjør kolonne privat",makePublicColumn:"Gjør kolonne offentlig",moveToDetail:"Flytt til detaljert visning",showAsColumn:"Vis som kolonne",filterPlaceholder:"Søk...",removeRows:"Fjern rader",showLabel:"Vis",entriesLabel:"oppføringer",visualizer_text:"Tabellvisning",visualizer_wordcloud:"Ordsky",chartType_bar:"Stolpediagram",chartType_stackedbar:"Stablet stolpediagram",chartType_doughnut:"Hjuldiagram",chartType_pie:"Sektordiagram",chartType_scatter:"Punktdiagram",chartType_gauge:"Målediagram",chartType_bullet:"Kulediagram",hideButton:"Skjul",makePrivateButton:"Gjør privat",makePublicButton:"Gjør offentlig",showButton:"Vis",resetFilter:"Nullstill filter",changeLocale:"Bytt språk",clearButton:"Tøm",addElement:"Velg spørsmål...",defaultOrder:"Standard",ascOrder:"Stigende",descOrder:"Synkende",showMinorColumns:"Vis mindre kolonner",otherCommentTitle:"Annet og kommentarer",showPercentages:"Vis prosenter",hidePercentages:"Skjul prosenter"},o.a.localeNames.no="Norwegian"},function(e,t,n){"use strict";var o=n(0);o.a.locales.pt={groupButton:"Agrupar Por Mim",ungroupButton:"Desagrupar Por Mim",selectButton:"Selecionar",hideColumn:"Esconder coluna",showColumn:"Mostrar coluna",makePrivateColumn:"Tornar coluna privada",makePublicColumn:"Tornar coluna pública",moveToDetail:"Mover para Detalhes",showAsColumn:"Mostrar como Coluna",filterPlaceholder:"Pesquisar...",removeRows:"Remover linhas",showLabel:"Mostrar",entriesLabel:"entradas",visualizer_text:"Textos em tabela",visualizer_wordcloud:"Nuvem de palavras",visualizer_histogram:"Histograma",visualizer_number:"Média",visualizer_choices:"Tabela",visualizer_selectBase:"Gráfico",chartType_bar:"Barra",chartType_vbar:"Barra vertical",chartType_stackedbar:"Barra Empilhada",chartType_doughnut:"Rosca",chartType_pie:"Tarte",chartType_scatter:"Lastro",chartType_gauge:"Escala",chartType_bullet:"Bala",hideButton:"Esconder",makePrivateButton:"Tornar privado",makePublicButton:"Tornar público",showButton:"Mostrar",filter:"Filtrar",resetFilter:"Restaurar Filtro",changeLocale:"Mudar Localização",en:"Inglês",fr:"Francês",ru:"Russo",de:"Alemão",clearButton:"Limpar",addElement:"Escolher questão para mostrar...",defaultOrder:"Ordenação Padrão",ascOrder:"Ascendente",descOrder:"Descendente",showMinorColumns:"Mostrar colunas menores",otherCommentTitle:"Outros itens e comentários",showPercentages:"Mostrar percentuais",hidePercentages:"Esconder percentuais",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Baixar diagrama como PNG",hideEmptyAnswers:"Esconder perguntas vazias",showEmptyAnswers:"Mostrar perguntas vazias","topNValueText-1":"Todas as respostas",topNValueText5:"Primeiras 5 respostas",topNValueText10:"Primeiras 10 respostas",topNValueText20:"Primeiras 20 respostas",hideMissingAnswers:"Ocultar perguntas não respondidas",showMissingAnswers:"Mostrar perguntas não respondidas",missingAnswersLabel:"Perguntas não respondidas",noVisualizerForQuestion:"Este tipo de pergunta ainda não foi visualizada",noResults:"Ainda não possui resultados",showPerValues:"Por valores",showPerColumns:"Por colunas",answer:"Resposta",correctAnswer:"Resposta correta: ",percent:"Percentagem",responses:"Respostas"},o.a.localeNames.pt="Português"},function(e,t,n){"use strict";var o=n(0);o.a.locales.ru={groupButton:"Group By Me",ungroupButton:"Ungroup By Me",selectButton:"Select Me",hideColumn:"Hide column",showColumn:"Show column",makePrivateColumn:"Make column private",makePublicColumn:"Make column public",moveToDetail:"Move to Detail",filter:"Фильтр",showAsColumn:"Show as Column",visualizer_text:"Texts in table",visualizer_wordcloud:"Wordcloud",chartType_bar:"Bar",chartType_stackedbar:"Stacked Bar",chartType_doughnut:"Doughnut",chartType_pie:"Pie",chartType_scatter:"Scatter",chartType_gauge:"Gauge",chartType_bullet:"Bullet",hideButton:"Скрыть",showButton:"Показать",resetFilter:"Очистить фильтр",changeLocale:"Сменить язык",clearButton:"Clear",addElement:"Choose question to show...",defaultOrder:"Default",ascOrder:"Ascending",descOrder:"Descending",showMinorColumns:"Show minor columns",otherCommentTitle:"Другое и комментарии",noVisualizerForQuestion:"Этот тип вопроса еще не поддерживается аналитикой",noResults:"Результаты отсутствуют"},o.a.localeNames.ru="Russian"},function(e,t,n){"use strict";var o=n(0);o.a.locales.nl={groupButton:"Groep door mij",ungroupButton:"Degroeperen bij mij",selectButton:"Selecteer mij",hideColumn:"Kolom verbergen",showColumn:"Toon kolom",makePrivateColumn:"Kolom privé maken",makePublicColumn:"Maak de kolom openbaar",moveToDetail:"Ga naar Detail",showAsColumn:"Weergeven als kolom",filterPlaceholder:"Zoeken...",removeRows:"Verwijder rijen",showLabel:"Tonen",entriesLabel:"inzendingen",visualizer_text:"Teksten in tabel",visualizer_wordcloud:"Wordcloud",chartType_bar:"Bar",chartType_stackedbar:"Gestapelde Bar",chartType_doughnut:"Donut",chartType_pie:"Taart",chartType_scatter:"Verstrooien",chartType_gauge:"Meter",chartType_bullet:"Kogel",hideButton:"Verbergen",makePrivateButton:"Maak prive",makePublicButton:"Openbaar maken",showButton:"Tonen",resetFilter:"Filter resetten",changeLocale:"Wijzig de landinstelling",clearButton:"Doorzichtig",addElement:"Kies een vraag om weer te geven ...",defaultOrder:"Standaardvolgorde",ascOrder:"Oplopend",descOrder:"Aflopend",showMinorColumns:"Toon kleine kolommen",otherCommentTitle:"Andere items en opmerkingen",showPercentages:"Percentages weergeven",hidePercentages:"Verberg percentages",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Download plot als een png",hideEmptyAnswers:"Verberg lege antwoorden",showEmptyAnswers:"Toon lege antwoorden","topNValueText-1":"Alle antwoorden",topNValueText5:"Top 5 antwoorden",topNValueText10:"Top 10 antwoorden",topNValueText20:"Top 20 antwoorden"},o.a.localeNames.nl="Dutch"},function(e,t,n){"use strict";var o=n(0);o.a.locales.ar={groupButton:"زرار المجموعة",ungroupButton:"تم التحديث من خلالى",selectButton:"اختر",hideColumn:"اخفاء العمود",showColumn:"اظهار",makePrivateColumn:"أجعل العمود خاص",makePublicColumn:"أجعل العمود عام",moveToDetail:"انتقل إلى التفاصيل",showAsColumn:"إظهار كعمود",filterPlaceholder:"بحث...",removeRows:"حذف",showLabel:"اظهار",entriesLabel:"مدخلات",visualizer_text:"جداول",visualizer_wordcloud:"كلمات",visualizer_histogram:"الرسم البياني",visualizer_number:"متوسط",visualizer_choices:"جدول",visualizer_selectBase:"رسم بياني",chartType_bar:"شريط",chartType_vbar:"شريط عمودي",chartType_stackedbar:"شريط مكدس",chartType_doughnut:"Doughnut",chartType_pie:"Pie",chartType_scatter:"Scatter",chartType_gauge:"Gauge",chartType_bullet:"Bullet",hideButton:"اخفاء",makePrivateButton:"أجعل خاص",makePublicButton:"أجعل عام",showButton:"اظهار",filter:"ترشح",resetFilter:"إعادة تعيين",changeLocale:"تغيير اللغة",en:"اللغة الانجليزية",fr:"اللغه الفرنسية",ru:"اللغه الروسية",de:"اللغه الانجليزية",clearButton:"مسح",addElement:"اختر سؤالاً للعرض ...",defaultOrder:"الترتيب الافتراضي",ascOrder:"تصاعدى",descOrder:"تنازلى",showMinorColumns:"إظهار الأعمدة الثانوية",otherCommentTitle:"بنود وتعليقات أخرى",showPercentages:"عرض النسب المئوية",hidePercentages:"إخفاء النسب",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"تنزيل بصيغة png",hideEmptyAnswers:"إخفاء الإجابات الفارغة",showEmptyAnswers:"إظهار الإجابات الفارغة",hideMissingAnswers:"إخفاء الإجابات المفقودة",showMissingAnswers:"عرض الإجابات المفقودة",missingAnswersLabel:"أجوبة مفقودة",noVisualizerForQuestion:"لم يتم العرض بعد",noResults:"لا يوجد نتائج للعرض",showPerValues:"لكل القيم",showPerColumns:"لكل الأعمدة",answer:"إجب",correctAnswer:"الاجابة الصحيحة: ",percent:"النسبه المئويه",responses:"الاستجابات"},o.a.localeNames.ar="Arabic"},function(e,t){e.exports='<svg style="display:none;"><symbol viewBox="0 0 16 16" id="sa-svg-detail"><circle cx="1.5" cy="8.5" r="1.5"></circle><circle cx="7.5" cy="8.5" r="1.5"></circle><circle cx="13.5" cy="8.5" r="1.5"></circle></symbol><symbol viewBox="0 0 16 16" id="sa-svg-drag"><path d="M13 5l-1 1 1 1H9V3l1 1 1-1-3-3-3 3 1 1 1-1v4H3l1-1-1-1-3 3 3 3 1-1-1-1h4v4l-1-1-1 1 3 3 3-3-1-1-1 1V9h4l-1 1 1 1 3-3z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-hide"><path d="M12.79 4.2L16 1l-1-1-3.32 3.32C10.57 2.55 9.32 2 8 2 3.63 2 0 7.97 0 7.97s1.27 2.1 3.21 3.82l-3.23 3.23.98.98 3.35-3.34C5.41 13.44 6.67 14 8 14c4.37 0 8-6 8-6s-1.27-2.09-3.21-3.8zM2 7.97c1.07-1.47 3.61-4 6-4 .8 0 1.6.27 2.35.68l-.78.78c-.46-.29-.99-.46-1.57-.46-1.66 0-3 1.34-3 3 0 .58.17 1.11.46 1.57l-.97.97A13.38 13.38 0 0 1 2 7.97zm6 4c-.8 0-1.59-.27-2.33-.67l.78-.77c.45.27.98.44 1.55.44 1.66 0 3-1.34 3-3 0-.57-.17-1.09-.44-1.55l.98-.98c1.11.87 2.01 1.91 2.46 2.52-1.07 1.48-3.61 4.01-6 4.01z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-makeprivate"><circle cx="8" cy="4" r="3"></circle><path d="M8 8c-3.31 0-6 2.73-6 4.67S5.27 15 8 15s6-.4 6-2.33S11.31 8 8 8z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-makepublic"><circle cx="6" cy="5" r="3"></circle><path d="M10 5c0 .34-.06.67-.14.99.05 0 .09.01.14.01 1.66 0 3-1.34 3-3s-1.34-3-3-3C8.97 0 8.07.52 7.53 1.3 8.98 1.91 10 3.33 10 5zM6 9c-3.31 0-6 2.73-6 4.67S3.27 16 6 16s6-.4 6-2.33S9.31 9 6 9zM10 7c-.19 0-.38.01-.57.03a4.14 4.14 0 0 1-1.37 1.39c3 .83 5.23 3.31 5.42 5.28 1.44-.31 2.52-.92 2.52-2.03C16 9.74 13.31 7 10 7z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-movetodetails"><circle cx="1.5" cy="14.5" r="1.5"></circle><circle cx="7.5" cy="14.5" r="1.5"></circle><circle cx="13.5" cy="14.5" r="1.5"></circle><path d="M12 1h3v9h-3zM2.02 7.02L1 6 0 7l3 3 3-3-1-1-.94.94C4.33 4.73 6.21 3 8.5 3c.17 0 .33.03.5.05V1.03C8.83 1.01 8.67 1 8.5 1 5.08 1 2.27 3.66 2.02 7.02z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-noncommercial"><path d="M8 0L0 15h16L8 0zm1 13H7v-2h2v2zm-2-3V5h2v5H7z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-sorting"><path d="M8 3l2 2 1-1-3-3-3 3 1 1zM8 13l-2-2-1 1 3 3 3-3-1-1z"></path></symbol></svg>'},function(e,t,n){"use strict";var o=n(0),r=n(1),a=n(4);a.a.registerExtension({location:"row",name:"details",visibleIndex:0,render:function(e,t){var n=r.b.createSvgButton("detail");return n.title=o.a.getString("showMinorColumns"),n.className+=" sa-table__row-extension",n.onclick=function(){t.row.toggleDetails()},n}}),a.a.registerExtension({location:"row",name:"select",visibleIndex:-1,render:function(e,t){var n=t.row,o=r.b.createElement("input","sa-table__row-extension",{type:"checkbox"});return o.checked=n.getIsSelected(),o.onchange=function(){n.toggleSelect()},o}})},function(e,t,n){"use strict";var o=n(0),r=n(1),a=n(4);a.a.registerExtension({location:"header",name:"filter",visibleIndex:0,render:function(e){var t=r.b.createInput("sa-table__global-filter sa-table__header-extension",o.a.getString("filterPlaceholder"));return t.onchange=function(t){e.applyFilter(t.target.value)},t}}),a.a.registerExtension({location:"header",name:"showcolumn",visibleIndex:2,destroy:function(){this.onDestroy()},render:function(e){var t=r.b.createElement("select","sa-table__show-column sa-table__header-extension");function n(){var n=e.columns.filter((function(e){return!e.isVisible}));if(0!=n.length){t.style.display="inline-block",t.innerHTML="";var a=r.b.createElement("option","",{text:o.a.getString("showColumn"),disabled:!0,selected:!0});t.appendChild(a),n.forEach((function(e){var n=e.displayName||e.name;n&&n.length>20&&(n=n.substring(0,20)+"...");var o=r.b.createElement("option","",{text:n,title:e.displayName,value:e.name});t.appendChild(o)}))}else t.style.display="none"}t.onchange=function(t){var n=t.target.value;t.stopPropagation(),n&&e.setColumnVisibility(n,!0)},n();var a=function(){n()};return e.onColumnsVisibilityChanged.add(a),this.onDestroy=function(){e.onColumnsVisibilityChanged.remove(a)},t}}),a.a.registerExtension({location:"header",name:"showentries",visibleIndex:3,render:function(e){var t=r.b.createElement("div","sa-table__entries"),n=r.b.createElement("span","sa-table__header-space"),a=r.b.createElement("span","sa-table__entries-label sa-table__entries-label--right",{innerText:o.a.getString("showLabel")}),i=r.b.createElement("span","sa-table__entries-label sa-table__entries-label--left",{innerText:o.a.getString("entriesLabel")});return t.appendChild(n),t.appendChild(a),t.appendChild(function(e){var t=r.b.createElement("select");return(e.paginationSizeSelector||["1","5","10","25","50","75","100"]).forEach((function(e){var n=r.b.createElement("option","",{value:e,text:e});t.appendChild(n)})),t.value=String(e.getPageSize()),t.onchange=function(){e.setPageSize(Number(t.value))},t}(e)),t.appendChild(i),t}}),a.a.registerExtension({location:"header",name:"removerows",visibleIndex:-1,render:function(e){var t=r.b.createElement("button","sa-table__btn sa-table__btn--green sa-table__header-extension ",{innerText:o.a.getString("removeRows")});return t.onclick=function(){e.getCreatedRows().forEach((function(e){e.getIsSelected()&&e.remove()}))},t}}),a.a.registerExtension({location:"header",name:"changelocale",visibleIndex:1,render:function(e){var t=e.getLocales();if(t.length<2)return null;var n=r.b.createElement("select","sa-table__header-extension",{});return[o.a.getString("changeLocale")].concat(t).forEach((function(e){var t=r.b.createElement("option","",{value:e,text:e});n.appendChild(t)})),n.onchange=function(){e.locale=n.value},n}})},function(e,t,n){"use strict";var o=n(1),r=n(0),a=n(4),i=n(5);a.a.registerExtension({location:"column",name:"drag",visibleIndex:0,render:function(e,t){var n=o.b.createElement("button","sa-table__svg-button sa-table__drag-button");return n.appendChild(o.b.createSvgElement("drag")),n.onmousedown=function(t){e.enableColumnReorder()},n}}),a.a.registerExtension({location:"column",name:"sort",visibleIndex:1,render:function(e,t){var n=r.a.getString("descOrder"),a=r.a.getString("ascOrder"),i=o.b.createSvgButton("sorting");i.title="";var s="asc";return i.onclick=function(){"asc"==s?(i.title=n,s="desc"):(i.title=a,s="asc"),e.sortByColumn(t.columnName,s)},i.ondrag=function(e){e.stopPropagation()},i}}),a.a.registerExtension({location:"column",name:"hide",visibleIndex:2,render:function(e,t){var n=o.b.createSvgButton("hide");return n.title=r.a.getString("hideColumn"),n.onclick=function(){e.setColumnVisibility(t.columnName,!1)},n}}),a.a.registerExtension({location:"column",name:"movetodetails",visibleIndex:3,render:function(e,t){var n=o.b.createSvgButton("movetodetails");return n.title=r.a.getString("moveToDetail"),n.onclick=function(n){n.stopPropagation(),e.setColumnLocation(t.columnName,i.b.Row)},n}}),a.a.registerExtension({location:"column",name:"filter",visibleIndex:4,render:function(e,t){var n=o.b.createInput("sa-table__filter",r.a.getString("filterPlaceholder"));return n.onclick=function(e){return e.stopPropagation()},n.onchange=function(o){e.applyColumnFilter(t.columnName,n.value)},n}}),a.a.registerExtension({location:"column",name:"makepublic",visibleIndex:-1,render:function(e,t){var n=o.b.createElement("button"),a=o.b.createSvgElement("makeprivate"),i=o.b.createSvgElement("makepublic"),s=e.getColumnByName(t.columnName);function l(e){e.isPublic?(n.className="sa-table__svg-button",n.title=r.a.getString("makePrivateColumn"),a.style.display="none",i.style.display="block"):(n.className="sa-table__svg-button sa-table__svg-button--active",n.title=r.a.getString("makePublicColumn"),a.style.display="block",i.style.display="none")}return l(s),n.appendChild(a),n.appendChild(i),n.onclick=function(t){t.stopPropagation(),s.isPublic=!s.isPublic,l(s),e.onPermissionsChangedCallback&&e.onPermissionsChangedCallback(e)},n}})},,,function(e,t,n){},,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"localization",(function(){return o.a})),n.d(t,"surveyStrings",(function(){return o.b})),n.d(t,"TableEvent",(function(){return r.b})),n.d(t,"Table",(function(){return r.a})),n.d(t,"TableRow",(function(){return r.c})),n.d(t,"DataTables",(function(){return p})),n.d(t,"DatatablesRow",(function(){return h})),n.d(t,"TableExtensions",(function(){return m.a})),n.d(t,"DocumentHelper",(function(){return l.b}));var o=n(0),r=(n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(18),n(19),n(20),n(8),n(6)),a=n(2),i=n(3),s=n(5),l=n(1);n(23);if(document){var u=n(17),c=document.createElement("div");c.style.display="none",c.innerHTML=u,document.head.appendChild(c)}var d=window.jQuery,p=function(e){function t(t,n,o,r){void 0===r&&(r=[]);var a=e.call(this,t,n,o,r)||this;return a.currentPageNumber=0,a.onColumnsReorder=new i.Event,a}return Object(a.b)(t,e),t.initJQuery=function(e){d=e},Object.defineProperty(t,"haveCommercialLicense",{set:function(e){r.a.haveCommercialLicense=e},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){if(this.renderResult){var t=this.renderResult.children[0];d.fn.DataTable.isDataTable(t)&&d(t).DataTable().destroy(),this.datatableApi=void 0,e.prototype.destroy.call(this)}},t.prototype.setColumnVisibility=function(t,n){e.prototype.setColumnVisibility.call(this,t,n),this.datatableApi.column(t+":name").visible(n)},t.prototype.setColumnLocation=function(t,n){e.prototype.setColumnLocation.call(this,t,n);var o=this.datatableApi.column(t+":name"),r=n==s.b.Column;o.visible(r)},t.prototype.applyFilter=function(e){this.datatableApi.search(e).draw(!1)},t.prototype.applyColumnFilter=function(e,t){var n=this.datatableApi.column(e+":name");n.search()!==t&&n.search(t).draw(!1)},t.prototype.sortByColumn=function(e,t){this.datatableApi.column(e+":name").order(t).draw(!1)},t.prototype.setPageSize=function(t){e.prototype.setPageSize.call(this,t),this.isRendered&&this.datatableApi.page.len(t).draw(!1)},t.prototype.setPageNumber=function(t){e.prototype.setPageNumber.call(this,t),this.isRendered&&this.datatableApi.page(t).draw(!1)},t.prototype.getPageNumber=function(){return this.isRendered?this.datatableApi.page():0},t.prototype.render=function(t){var n=this;e.prototype.render.call(this,t);"string"==typeof t&&(t=document.getElementById(t)),t.className+=" sa-table sa-datatables";var o=l.b.createElement("table",""),r=this.getColumns(),a=r.map((function(e){return e.data})),i="sa-table__btn sa-table__btn--small sa-table__btn--gray",s=d.extend(!0,{buttons:[{extend:"copy",className:i},{extend:"csv",className:i},{extend:"print",className:i}],dom:'B<"sa-table__header-extensions">prtip',data:this.tableData,pageLength:this.currentPageSize,responsive:!1,scrollX:!0,columns:r,colReorder:{fixedColumnsLeft:1,realtime:!1},language:{sSearch:" ",searchPlaceholder:"Search...",sLengthMenu:"Show _MENU_ entries",paginate:{previous:" ",next:" "}},select:"api",headerCallback:function(e,t,r,i,s){var u=d(o).dataTable().api(),c=n;u.columns().eq(0).each((function(e){var t=d(u.columns(e).header());if(t.unbind("click.DT"),a[e]&&0===t.has("button").length){var o=l.b.createElement("div","sa-table__action-container");c.extensions.render(o,"column",{columnName:a[e]}),o.onmousedown=function(e){c.isColumnReorderEnabled?n.disableColumnReorder():e.stopPropagation()}}t.prepend(o)}))}},this._options);t.appendChild(o),o.className="sa-datatables__table display responsive dataTable";var u=this.datatableApi=d(o).DataTable(s),c=d("div.sa-table__header-extensions")[0];this.extensions.render(c,"header"),u.page(this.currentPageNumber),this.datatableApi.rowGroup().enable(!1).draw(!1),u.on("column-reorder",(function(e,t,o){n.moveColumn(o.from-1,o.to-1),n.disableColumnReorder(),n.onColumnsReorder.fire(n,{columns:n.columns})})),u.rows().eq(0).each((function(e){var t=u.row(e),o=l.b.createElement("tr"),r=l.b.createElement("td","sa-datatables__details-container");o.appendChild(r);var a=t.node(),i=t.cell(t.index(),0).node(),s=new h(n,i,r,t);s.onToggleDetails.add((function(e,t){t.isExpanded?(r.colSpan=a.childElementCount,a.parentNode.insertBefore(o,a.nextSibling)):o.parentNode&&o.parentNode.removeChild(o)})),n._rows.push(s),s.render()})),u.draw(!1),this.renderResult=t},t.prototype.getColumns=function(){var e=this,t=this.columns.map((function(t){var n=e.survey.getQuestionByName(t.name),o=n&&(e.options.useNamesAsTitles?n.name:n.title)||t.displayName;return{name:t.name,data:t.name,sTitle:(null==d?void 0:d.fn.dataTable.render.text().display(o))||o,visible:e.isColumnVisible(t),orderable:!1,defaultContent:"",width:"number"==typeof t.width?t.width+"px":t.width,render:function(e,n,o){var r=o[t.name];return t.dataType===s.a.FileLink?r:t.dataType===s.a.Image?"<image src='"+r+"'/>":"string"==typeof r?d("<div>").text(r).html():JSON.stringify(r)}}}));return[{orderable:!1,data:null,defaultContent:""}].concat(t)},t.prototype.layout=function(){this.datatableApi&&this.datatableApi.columns.adjust()},t}(r.a),h=function(e){function t(t,n,o,r){var a=e.call(this,t,n,o)||this;return a.table=t,a.extensionsContainer=n,a.detailsContainer=o,a._innerRow=r,a.rowElement=r.node(),a.rowData=r.data(),a._innerRow=a._innerRow.row(a.rowElement),t.onColumnsReorder.add((function(){a.render()})),a}return Object(a.b)(t,e),Object.defineProperty(t.prototype,"innerRow",{get:function(){return this._innerRow.row(this.rowElement)},enumerable:!1,configurable:!0}),t.prototype.getElement=function(){return this.rowElement},t.prototype.getRowData=function(){return this.rowData},t.prototype.getDataPosition=function(){return this.innerRow.index()},t.prototype.remove=function(){this.innerRow.remove().draw(),e.prototype.remove.call(this)},t}(r.c),m=n(4)}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("survey-core")):"function"==typeof define&&define.amd?define("SurveyAnalyticsDatatables",["survey-core"],t):"object"==typeof exports?exports.SurveyAnalyticsDatatables=t(require("survey-core")):e.SurveyAnalyticsDatatables=t(e.Survey)}(window,(function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var o={groupButton:"Group By Me",ungroupButton:"Ungroup By Me",selectButton:"Select Me",hideColumn:"Hide column",showColumn:"Show column",makePrivateColumn:"Make column private",makePublicColumn:"Make column public",moveToDetail:"Move to Detail",showAsColumn:"Show as Column",filterPlaceholder:"Search...",removeRows:"Remove rows",showLabel:"Show",entriesLabel:"entries",visualizer_text:"Texts in table",visualizer_wordcloud:"Wordcloud",visualizer_histogram:"Histogram",visualizer_number:"Average",visualizer_choices:"Table",visualizer_selectBase:"Chart",chartType_bar:"Bar",chartType_vbar:"Vertical Bar",chartType_stackedbar:"Stacked Bar",chartType_doughnut:"Doughnut",chartType_pie:"Pie",chartType_scatter:"Scatter",chartType_gauge:"Gauge",chartType_bullet:"Bullet",hideButton:"Hide",makePrivateButton:"Make private",makePublicButton:"Make public",showButton:"Show",filter:"Filter",resetFilter:"Reset Filter",changeLocale:"Change Locale",en:"English",fr:"Français",ru:"Русский",de:"Deutsch",clearButton:"Clear",addElement:"Choose question to show...",defaultOrder:"Default Order",ascOrder:"Ascending",descOrder:"Descending",showMinorColumns:"Show minor columns",otherCommentTitle:"Other items and comments",showPercentages:"Show percentages",hidePercentages:"Hide percentages",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Download plot as a png",hideEmptyAnswers:"Hide empty answers",showEmptyAnswers:"Show empty answers","topNValueText-1":"All answers",topNValueText5:"Top 5 answers",topNValueText10:"Top 10 answers",topNValueText20:"Top 20 answers",hideMissingAnswers:"Hide missing answers",showMissingAnswers:"Show missing answers",missingAnswersLabel:"Missing answers",noVisualizerForQuestion:"This question type is not visualized yet",noResults:"There are no results yet",showPerValues:"Per Values",showPerColumns:"Per Columns",answer:"Answer",correctAnswer:"Correct answer: ",percent:"Percent",responses:"Responses"},r={currentLocaleValue:"",defaultLocaleValue:"en",locales:{},localeNames:{},supportedLocales:[],get currentLocale(){return this.currentLocaleValue===this.defaultLocaleValue?"":this.currentLocaleValue},set currentLocale(e){this.currentLocaleValue=e},get defaultLocale(){return this.defaultLocaleValue},set defaultLocale(e){this.defaultLocaleValue=e},getString:function(e){var t=this.currentLocale?this.locales[this.currentLocale]:this.locales[this.defaultLocale];t&&t[e]||(t=this.locales[this.defaultLocale]);var n=t[e];return void 0===n&&(n=this.locales.en[e]||e),n},getLocales:function(){var e=[];if(e.push(""),this.supportedLocales&&this.supportedLocales.length>0)for(var t=0;t<this.supportedLocales.length;t++)e.push(this.supportedLocales[t]);else for(var n in this.locales)e.push(n);return e.sort(),e}},a=o;r.locales.en=o,r.localeNames.en="english"},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return s}));var o=function(){function e(){}return e.createSelector=function(t,n,o){var r=document.createElement("div");r.className="sa-question__select-wrapper";var a=document.createElement("select");return a.className="sa-question__select",t.forEach((function(t){var o=e.createElement("option","",{value:t.value,text:t.text,selected:n(t)});a.appendChild(o)})),a.onchange=o,r.appendChild(a),r},e.createButton=function(t,n,o){return void 0===n&&(n=""),void 0===o&&(o="sa-toolbar__button"),e.createElement("span",o,{innerText:n,onclick:t})},e.createElement=function(e,t,n){void 0===t&&(t="");var o=document.createElement(e);return o.className=t,n&&Object.keys(n).forEach((function(e){o[e]=n[e]})),o},e.createSvgElement=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=document.createElementNS("http://www.w3.org/2000/svg","use");return n.setAttributeNS("http://www.w3.org/1999/xlink","href","#sa-svg-"+e),t.appendChild(n),t},e.createSvgButton=function(t){var n=e.createElement("button","sa-table__svg-button");return n.appendChild(e.createSvgElement(t)),n},e.createSvgToggleButton=function(t,n,o,r,a,i,s,l){void 0===s&&(s="first"),void 0===l&&(l="sa-toolbar__button sa-toolbar__svg-button");var u=e.createSvgElement(t),c=e.createSvgElement(n),d=e.createElement("button",l);return"first"===s?(d.title=o,d.appendChild(u)):(s="second")&&(d.title=r,d.appendChild(c)),d.onclick=function(e){"first"===s?(s="second",d.title=r,d.removeChild(u),d.appendChild(c),i(e)):"second"===s&&(s="first",d.title=o,d.removeChild(c),d.appendChild(u),a(e))},d},e.createInput=function(t,n,o){return void 0===n&&(n=""),void 0===o&&(o=""),e.createElement("input",t,{placeholder:n,defaultValue:o})},e}();window.URL.createObjectURL;function r(){var e=o.createElement("div","sa-commercial"),t=o.createElement("a","sa-commercial__text",{href:"https://www.surveyjs.io/Buy",target:"_blank"}),n=o.createElement("span",""),r=o.createSvgElement("noncommercial"),a=o.createElement("span","sa-commercial__product",{innerText:"Please purchase a SurveyJS Analytics developer license to use it in your app."});return e.appendChild(t).appendChild(n),n.appendChild(r),n.appendChild(a),e}var a=function(){function e(){}return e.zipArrays=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=function(t){n[t]=[],e.forEach((function(e){n[t].push(e[t])}))},r=0;r<e[0].length;r++)o(r);return n},e.unzipArrays=function(e){var t=[];return e.forEach((function(e,n){e.forEach((function(e,o){t[o]||(t[o]=[]),t[o][n]=e}))})),t},e.sortDictionary=function(e,t,n){var o=this.zipArrays(e,t),r=function(e,t,n){void 0===n&&(n=!0);var o=e[1]<t[1]?1:e[1]==t[1]?0:-1;return n?o:-1*o};o.sort((function(e,t){return n?r(e,t,!1):r(e,t)}));var a=this.unzipArrays(o);return{keys:a[0],values:a[1]}},e.toPercentage=function(e,t){return e/t*100},e}();function i(e){var t=o.createElement("div");return e.forEach((function(e){t.appendChild(o.createElement("a","",{innerText:e.name,download:e.name,href:e.content}))})),t}function s(e){var t=o.createElement("div");return e.forEach((function(e){t.appendChild(o.createElement("img","",{alt:e.name,src:e.content}))})),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function r(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function o(){this.constructor=e}e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}},function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=function(){function e(e){this.table=e,this.renderedExtensions=[]}return e.prototype.render=function(t,n,o){var r=this,a=e.extensions[n];a&&(a=this.sortExtensions(a)).forEach((function(e){if(e.render){var n=e.render(r.table,o);n&&(t.appendChild(n),r.renderedExtensions.push(e))}}))},e.prototype.destroy=function(){this.renderedExtensions.forEach((function(e){e.destroy&&e.destroy()})),this.renderedExtensions=[]},e.registerExtension=function(e){this.extensions[e.location]||(this.extensions[e.location]=[]),this.extensions[e.location].push(e)},e.removeExtension=function(t){if(t){var n=e.extensions[t.location],o=n.indexOf(t);o>=0&&n.splice(o,1)}},e.unregisterExtension=function(t,n){if(n)if(t){var o=e.findExtension(t,n);e.removeExtension(o)}else Object.keys(this.extensions).forEach((function(t){return e.unregisterExtension(t,n)}))},e.findExtension=function(e,t){return this.extensions[e]&&this.extensions[e].filter((function(e){return e.name==t}))[0]||null},e.prototype.sortExtensions=function(e){if(Array.isArray(e))return[].concat(e.filter((function(e){return e.visibleIndex>=0}))).sort((function(e,t){return e.visibleIndex-t.visibleIndex}))},e.extensions={},e}()},function(e,t,n){"use strict";var o,r;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r})),function(e){e[e.Column=0]="Column",e[e.Row=1]="Row"}(o||(o={})),function(e){e[e.Text=0]="Text",e[e.FileLink=1]="FileLink",e[e.Image=2]="Image"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return S})),n.d(t,"a",(function(){return B})),n.d(t,"c",(function(){return D}));var o=n(2),r=n(3),a=n(5),i=n(8),s=n(0),l=n(4),u=n(1),c=function(){function e(e,t){this.question=e,this.table=t,this.isVisible=!0,this.isPublic=!0,this.location=a.b.Column,this.dataType=this.getDataType()}return Object.defineProperty(e.prototype,"name",{get:function(){return this.nameValue||(this.name=this.getName()),this.nameValue},set:function(e){this.nameValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){return this.displayNameValue||(this.displayName=this.getDisplayName()),this.displayNameValue},set:function(e){this.displayNameValue=e},enumerable:!1,configurable:!0}),e.prototype.getDisplayName=function(){return this.table.useNamesAsTitles?this.question.name:(this.question.title||"").trim()||this.question.name},e.prototype.getName=function(){return this.question.name},e.prototype.getDataType=function(){return a.a.Text},e.prototype.getDisplayValueCore=function(e){return e[this.name]},e.prototype.setupReadyChangedCallback=function(e,t){if(t){var n=function(t,o){o.isReady&&(e.refresh(!0),t.onReadyChanged.remove(n))};t.isReady||t.onReadyChanged.add(n)}},e.prototype.getDisplayValue=function(e,t,n){var o=this.getDisplayValueCore(e),r=this.question;return r&&(o=n.useValuesAsLabels?r.value:r.displayValue),o},e.prototype.formatDisplayValue=function(e){return"string"==typeof e?e:JSON.stringify(e)||""},e.prototype.getCellData=function(e,t){var n=this.getDisplayValue(t,e,e.options);return this.setupReadyChangedCallback(e,this.question),{question:this.question,displayValue:this.formatDisplayValue(n)}},e.prototype.toJSON=function(){return{name:this.name,displayName:this.displayName,dataType:this.dataType,isVisible:this.isVisible,isPublic:this.isPublic,location:this.location}},e.prototype.fromJSON=function(e){var t=this;Object.keys(e).forEach((function(n){t[n]=e[n]}))},e}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getDisplayValue=function(e,t,n){return this.getDisplayValueCore(e)},t}(c),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getName=function(){return"".concat(this.question.name).concat(r.settings.commentPrefix)},t.prototype.getDisplayName=function(){return this.question.hasOther?this.question.otherText:this.question.commentText},t.prototype.getDisplayValue=function(e,t,n){return this.question.comment},t}(c),h=function(e){function t(t,n,o){var r,a=this;return(a=e.call(this,t,o)||this).row=n,a.valueName=a.question.name,a.valuePath=null===(r=a.row)||void 0===r?void 0:r.value,a}return Object(o.b)(t,e),t.prototype.getName=function(){var e;return this.question.name+"."+(null===(e=this.row)||void 0===e?void 0:e.value)},t.prototype.getDisplayName=function(){var e=this.table,t=this.question,n=this.row;return(e.useNamesAsTitles?t.name:(t.title||"").trim()||t.name)+" - "+(e.useNamesAsTitles?null==n?void 0:n.value:null==n?void 0:n.locText.textOrHtml)},t.prototype.getDisplayValue=function(e,t,n){var o=e[this.valueName];if(this.valuePath&&"object"==typeof o&&void 0!==(o=o[this.valuePath])){var a=r.ItemValue.getItemByValue(this.question.columns,o);a&&(o=n.useValuesAsLabels?a.value:a.locText.textOrHtml)}return o},t}(c),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getDataType=function(){return a.a.Image},t}(c),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getDataType=function(){return a.a.FileLink},t.prototype.getDisplayValue=function(e,t,n){var o=this.getDisplayValueCore(e);return Array.isArray(o)&&(o=B.showFilesAsImages?Object(u.d)(o).outerHTML:Object(u.e)(o).outerHTML),o},t}(c),g=function(e){function t(t,n,o,r){var a=e.call(this,t,r)||this;return a.row=n,a.col=o,a.rowValue=a.row.value,a.colName=a.col.name,a}return Object(o.b)(t,e),t.prototype.getName=function(){return this.question.name+"."+this.row.value+"."+this.col.name},t.prototype.getDisplayName=function(){var e=this.table,t=this.question;return(this.table.useNamesAsTitles?t.name:(t.title||"").trim()||t.name)+" - "+(e.useNamesAsTitles?this.row.value:this.row.locText.textOrHtml)+" - "+(e.useNamesAsTitles?this.col.name:this.col.locTitle.textOrHtml)},t.prototype.getDisplayValue=function(e,t,n){var o=this,r=e[this.question.name],a=this.question;if(this.rowValue&&this.colName&&"object"==typeof r){var i=[this.rowValue,this.colName],s=i[0],l=i[1];r=a.value,n.useValuesAsLabels||(r=a.displayValue,s=a.rows.filter((function(e){return e.value===o.rowValue}))[0].text,l=a.getColumnByName(this.colName).title),r=r[s]&&r[s][l]||""}return r},t}(c),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getCellData=function(t,n){return this.setupReadyChangedCallback(t,this.question.contentQuestion),e.prototype.getCellData.call(this,t,n)},t}(c),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.getCellData=function(t,n){var o=this,r=[];return this.question.contentPanel.addQuestionsToList(r),r.forEach((function(e){o.setupReadyChangedCallback(t,e)})),e.prototype.getCellData.call(this,t,n)},t}(c),y=function(){function e(){}return e.prototype.createColumn=function(e,t){return new c(e,t)},e.prototype.buildColumnsCore=function(e,t){var n=[];return n.push(this.createColumn(e,t)),n},e.prototype.buildColumns=function(e,t){var n=this.buildColumnsCore(e,t);return(e.hasComment||e.hasOther&&e.getStoreOthersAsComment())&&n.push(new p(e,t)),n},e}(),w=function(){function e(){this.columnsBuilders={},this.defaultColumnsBuilder=new y}return e.prototype.registerBuilderColumn=function(e,t){this.columnsBuilders[e]=t},e.prototype.getColumnsBuilder=function(e){return this.columnsBuilders[e]||this.defaultColumnsBuilder},e.Instance=new e,e}(),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.buildColumnsCore=function(e,t){var n=e,o=[];return n.rows.forEach((function(e){o.push(new h(n,e,t))})),o},t}(y);w.Instance.registerBuilderColumn("matrix",new C);var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new m(e,t)},t}(y);w.Instance.registerBuilderColumn("signaturepad",new _);var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new f(e,t)},t}(y);w.Instance.registerBuilderColumn("file",new T);var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.buildColumns=function(e,t){var n=e,o=[];return n.rows.forEach((function(e){n.columns.forEach((function(r){o.push(new g(n,e,r,t))}))})),o},t}(y);w.Instance.registerBuilderColumn("matrixdropdown",new x);var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new b(e,t)},t}(y);w.Instance.registerBuilderColumn("custom",new P);var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t.prototype.createColumn=function(e,t){return new v(e,t)},t}(y);w.Instance.registerBuilderColumn("composite",new E);var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t}(r.EventBase),B=function(){function e(t,n,o,r){void 0===o&&(o={}),void 0===r&&(r=[]);var a=this;this._survey=t,this.data=n,this._options=o,this._columnsData=r,this.haveCommercialLicense=!1,this.currentPageSize=5,this._rows=[],this.paginationSizeSelector=[1,5,10,25,50,100],this.onColumnsVisibilityChanged=new S,this.onColumnsLocationChanged=new S,this.onRowRemoved=new S,this.buildColumns=function(e){var t=[];return a._survey.getAllQuestions().forEach((function(e){var n=w.Instance.getColumnsBuilder(e.getTemplate());t=t.concat(n.buildColumns(e,a))})),t},this.onStateChanged=new S,this._options||(this._options={}),this._columns=this.buildColumns(t),this.initTableData(n),s.a.currentLocale=this._survey.locale,this._columns=this.buildColumns(t),0!==r.length&&this.updateColumnsFromData(this._columnsData),this.extensions=new l.a(this),this.haveCommercialLicense=e.haveCommercialLicense||!!o&&void 0!==o.haveCommercialLicense&&o.haveCommercialLicense}return e.prototype.getData=function(){return this.data},Object.defineProperty(e.prototype,"survey",{get:function(){return this._survey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),e.prototype.render=function(e){"string"==typeof e&&(e=document.getElementById(e)),e.innerHTML="",this.haveCommercialLicense||e.appendChild(Object(u.c)())},e.prototype.enableColumnReorder=function(){this.isColumnReorderEnabled=!0},e.prototype.disableColumnReorder=function(){this.isColumnReorderEnabled=!1},e.prototype.getPageNumber=function(){return this.currentPageNumber},e.prototype.setPageNumber=function(e){this.currentPageNumber=e},e.prototype.getPageSize=function(){return this.currentPageSize},e.prototype.setPageSize=function(e){this.currentPageSize=e,this.onStateChanged.fire(this,this.state)},e.prototype.getCreatedRows=function(){return[].concat(this._rows)},e.prototype.clearCreatedRows=function(){this._rows.forEach((function(e){e.destroy()})),this._rows=[]},Object.defineProperty(e.prototype,"useNamesAsTitles",{get:function(){return this._options&&!0===this._options.useNamesAsTitles},enumerable:!1,configurable:!0}),e.prototype.isColumnVisible=function(e){return e.location===a.b.Column&&e.isVisible},Object.defineProperty(e.prototype,"columns",{get:function(){return[].concat(this._columns)},set:function(e){this._columns=e,this.refresh(!0),this.onStateChanged.fire(this,this.state)},enumerable:!1,configurable:!0}),e.prototype.initTableData=function(e){var t=this;this.tableData=(e||[]).map((function(e){var n={};return t._survey.data=e,t._columns.forEach((function(o){var r=o.getCellData(t,e);"function"==typeof t._options.onGetQuestionValue&&t._options.onGetQuestionValue(r),n[o.name]=r.displayValue})),n}))},e.prototype.moveColumn=function(e,t){var n=this._columns.splice(e,1);this._columns.splice(t,0,n[0]),this.onStateChanged.fire(this,this.state)},e.prototype.setColumnLocation=function(e,t){this.getColumnByName(e).location=t,this.onColumnsLocationChanged.fire(this,{columnName:e,location:t}),this.onStateChanged.fire(this,this.state)},e.prototype.getColumnByName=function(e){return this._columns.filter((function(t){return t.name===e}))[0]},e.prototype.setColumnVisibility=function(e,t){this.getColumnByName(e).isVisible=t,this.onColumnsVisibilityChanged.fire(this,{columnName:e,columnVisibility:t}),this.onStateChanged.fire(this,this.state)},e.prototype.setColumnWidth=function(e,t){this.getColumnByName(e).width=t,this.onStateChanged.fire(this,this.state)},e.prototype.removeRow=function(e){var t=this._rows.indexOf(e);this._rows.splice(t,1),this.onRowRemoved.fire(this,{row:e})},Object.defineProperty(e.prototype,"locale",{get:function(){return s.a.currentLocale},set:function(e){this._survey.locale=e,s.a.currentLocale=e,this.refresh(!0),this.onStateChanged.fire(this,this.state)},enumerable:!1,configurable:!0}),e.prototype.getLocales=function(){return[].concat(this._survey.getUsedLocales())},e.prototype.refresh=function(e){if(void 0===e&&(e=!1),e&&this.initTableData(this.data),this.isRendered){this.currentPageNumber=this.getPageNumber();var t=this.renderResult;this.destroy(),this.render(t),this.setPageSize(this.currentPageSize),this.setPageNumber(this.currentPageNumber)}},e.prototype.destroy=function(){this.clearCreatedRows(),this.extensions.destroy(),this.renderResult.innerHTML="",this.renderResult=void 0},Object.defineProperty(e.prototype,"isRendered",{get:function(){return!!this.renderResult},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return{locale:s.a.currentLocale,elements:JSON.parse(JSON.stringify(this._columns)),pageSize:this.currentPageSize}},set:function(e){e&&(void 0!==e.locale&&(s.a.currentLocale=e.locale,this._survey.locale=e.locale,this.initTableData(this.data)),void 0!==e.elements&&this.updateColumnsFromData(e.elements),void 0!==e.pageSize&&(this.currentPageSize=e.pageSize))},enumerable:!1,configurable:!0}),e.prototype.updateColumnsFromData=function(e){var t=this,n=this._columns;n.forEach((function(t){var n=e.filter((function(e){return t.name===e.name}))[0];n&&(t.fromJSON(n),t.visibleIndex=e.indexOf(n))})),e.forEach((function(o){var r=n.filter((function(e){return e.name===o.name}))[0];r||((r=new d(void 0,t)).fromJSON(o),r.visibleIndex=e.indexOf(o),n.push(r))})),this._columns=this._columns.sort((function(e,t){return e.visibleIndex-t.visibleIndex}))},Object.defineProperty(e.prototype,"permissions",{get:function(){return this._columns.map((function(e){return{name:e.name,isPublic:e.isPublic}}))},set:function(e){var t=this._columns.map((function(t){return e.forEach((function(e){e.name===t.name&&(t.isPublic=e.isPublic)})),t}));this._columns=[].concat(t),this.onPermissionsChangedCallback&&this.onPermissionsChangedCallback(this)},enumerable:!1,configurable:!0}),e.showFilesAsImages=!1,e.haveCommercialLicense=!1,e}(),D=function(){function e(e,t,n){var o=this;this.table=e,this.extensionsContainer=t,this.detailsContainer=n,this.detailedRowClass="sa-table__detail-row",this.isDetailsExpanded=!1,this.onToggleDetails=new r.Event,this.onColumnLocationChangedCallback=function(){o.closeDetails()},this.details=new i.a(e,this,n),this.extensions=new l.a(e),e.onColumnsLocationChanged.add(this.onColumnLocationChangedCallback)}return e.prototype.render=function(){this.extensions.render(this.extensionsContainer,"row",{row:this})},e.prototype.openDetails=function(){this.details.open(),this.getElement().className+=" "+this.detailedRowClass,this.onToggleDetails.fire(this,{isExpanded:!0}),this.isDetailsExpanded=!0},e.prototype.closeDetails=function(){this.details.close(),this.getElement().classList.remove(this.detailedRowClass),this.onToggleDetails.fire(this,{isExpanded:!1}),this.isDetailsExpanded=!1},e.prototype.toggleDetails=function(){this.isDetailsExpanded?this.closeDetails():this.openDetails()},e.prototype.getIsSelected=function(){return this.isSelected},e.prototype.toggleSelect=function(){this.isSelected=!this.isSelected},e.prototype.remove=function(){this.table.removeRow(this)},e.prototype.destroy=function(){this.table.onColumnsLocationChanged.remove(this.onColumnLocationChangedCallback),this.extensions.destroy()},e}()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(1),r=n(5),a=n(4),i=n(0),s=function(){function e(e,t,n){var a=this;this.table=e,this.row=t,this.targetNode=n,this.location="details",this.createShowAsColumnButton=function(e){var t=o.b.createElement("button","sa-table__btn sa-table__btn--gray");return t.appendChild(document.createTextNode(i.a.getString("showAsColumn"))),t.onclick=function(t){t.stopPropagation(),a.table.setColumnLocation(e,r.b.Column)},t},this.detailsTable=o.b.createElement("table","sa-table__detail-table"),this.table.onColumnsLocationChanged.add((function(){a.close()}))}return e.prototype.open=function(){var e=this;this.detailsTable.innerHTML="";var t=[];this.table.columns.filter((function(e){return e.location===r.b.Row&&e})).forEach((function(n){var a=o.b.createElement("tr","sa-table__detail"),i=o.b.createElement("td");i.appendChild(document.createTextNode(n.displayName));var s=o.b.createElement("td");s.textContent=e.row.getRowData()[n.name],n.dataType===r.a.Image&&(s.innerHTML="<image src='"+s.textContent+"'/>");var l=o.b.createElement("td");l.appendChild(e.createShowAsColumnButton(n.name)),a.appendChild(i),a.appendChild(s),a.appendChild(l),t.push(a)}));var n=o.b.createElement("tr","sa-table__detail"),i=o.b.createElement("td","",{colSpan:3});new a.a(this.table).render(i,"details",{row:this.row}),0!=i.children.length&&(n.appendChild(i),t.push(n)),t.forEach((function(t){e.detailsTable.appendChild(t)})),this.targetNode.appendChild(this.detailsTable)},e.prototype.close=function(){this.detailsTable.parentNode&&this.detailsTable.parentNode.removeChild(this.detailsTable)},e}()},function(e,t,n){"use strict";var o=n(0);o.a.locales.fa={groupButton:"گروه بندی با",ungroupButton:"حذف گروه",selectButton:"انتخاب",hideColumn:"مخفی کردن ستون",showColumn:"نمایش ستون",moveToDetail:"انتقال به جزئیات",showAsColumn:"نمایش به عنوان ستون",visualizer_text:"متون در جدول",visualizer_wordcloud:"ابر کلمات",chartType_bar:"میله ای",chartType_pie:"دابره ای(pie)",chartType_scatter:"پراکندگی(Scatter)",chartType_gauge:"عقربه ای",chartType_bullet:"Bullet",hideButton:"مخفی",resetFilter:"بازنشانی فیلترها",clearButton:"پاک کردن",addElement:"انتخاب سوال برای نمایش..."},o.a.localeNames.fa="Farsi(Persian)"},function(e,t,n){"use strict";var o=n(0);o.a.locales.fr={groupButton:"Grouper",ungroupButton:"Dissocier",selectButton:"Sélectionner",hideColumn:"Masquer colonne",showColumn:"Afficher colonne",makePrivateColumn:"Rendre la colonne privé",makePublicColumn:"Rendre la colonne public",moveToDetail:"Déplacer vers détails",showAsColumn:"Afficher en colonne",filterPlaceholder:"Rechercher...",removeRows:"Supprimer colonne",showLabel:"Afficher",entriesLabel:"entrées",visualizer_text:"Textes en table",visualizer_wordcloud:"Nuages de mots",chartType_bar:"Barres",chartType_stackedbar:"Barres empilées",chartType_doughnut:"Anneau",chartType_pie:"Secteurs",chartType_scatter:"Nuages de points",chartType_gauge:"Gauge",chartType_bullet:"Bulles",filter:"Filtre",hideButton:"Masquer",saveDiagramAsPNG:"Sauver en png",makePrivateButton:"Rendre privé",makePublicButton:"Rendre publique",showButton:"Afficher",resetFilter:"Rafraichir Filtres",clearButton:"Rafraichir",addElement:"Choisir la question à afficher...",defaultOrder:"Defaut",ascOrder:"Ascendant",descOrder:"Descendant",showMinorColumns:"Afficher les colonnes mineures",otherCommentTitle:"Autre élément et commentaires",noVisualizerForQuestion:"Ce type de question n'est pas encore visualisé",noResults:"Il n'y a pas encore de résultats",showPerValues:"Par valeur",showPerColumns:"Par colonne",answer:"Réponse",correctAnswer:"Réponse correcte: ",percent:"Pourcentage",responses:"Réponses"},o.a.localeNames.fr="French"},function(e,t,n){"use strict";var o=n(0);o.a.locales.de={groupButton:"Gruppieren",ungroupButton:"Gruppierung aufheben",selectButton:"Mich auswählen",hideColumn:"Spalte ausblenden",showColumn:"Spalte einblenden",makePrivateColumn:"Spalte privat machen",makePublicColumn:"Spalte veröffentlichen",moveToDetail:"in Details verschieben",showAsColumn:"Als Spalte anzeigen",filterPlaceholder:"Suche...",removeRows:"Zeilen entfernen",showLabel:"anzeigen",entriesLabel:"Einträge",visualizer_text:"Texte in Tabellenform",visualizer_wordcloud:"Wordcloud",chartType_bar:"Balkendiagramm",chartType_stackedbar:"Gestapeltes Balkendiagramm",chartType_doughnut:"Donut-Diagramm",chartType_pie:"Kreisdiagramm",chartType_scatter:"Punktediagramm",chartType_gauge:"Pegeldiagramm",chartType_bullet:"Aufzählungsdiagramm",hideButton:"Ausblenden",makePrivateButton:"Privat machen",makePublicButton:"Öffentlich machen",showButton:"Anzeigen",filter:"Filter",resetFilter:"Filter zurücksetzen",changeLocale:"Lokalisierung ändern",clearButton:"Einstellungen löschen",addElement:"Wählen Sie eine Frage, um zu zeigen...",defaultOrder:"Standardreihenfolge",ascOrder:"Aufsteigend",descOrder:"Absteigend",showMinorColumns:"Kleinere Spalten anzeigen",otherCommentTitle:"Andere Punkte und Kommentare",showPercentages:"Prozentsätze anzeigen",hidePercentages:"Prozentsätze ausblenden",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Diagramm als png herunterladen",hideEmptyAnswers:"Leere Antworten ausblenden",showEmptyAnswers:"Leere Antworten anzeigen","topNValueText-1":"Alle Antworten",topNValueText5:"Top 5 Antworten",topNValueText10:"Top 10 Antworten",topNValueText20:"Top 20 Antworten",noVisualizerForQuestion:"Für diesen Fragetyp gibt es noch keine Visualisierung.",noResults:"Es liegen noch keine Ergebnisse vor"},o.a.localeNames.de="German"},function(e,t,n){"use strict";var o=n(0);o.a.locales.no={groupButton:"Grupper",ungroupButton:"Opphev gruppering",selectButton:"Velg",hideColumn:"Skjul kolonne",showColumn:"Vis kolonne",makePrivateColumn:"Gjør kolonne privat",makePublicColumn:"Gjør kolonne offentlig",moveToDetail:"Flytt til detaljert visning",showAsColumn:"Vis som kolonne",filterPlaceholder:"Søk...",removeRows:"Fjern rader",showLabel:"Vis",entriesLabel:"oppføringer",visualizer_text:"Tabellvisning",visualizer_wordcloud:"Ordsky",chartType_bar:"Stolpediagram",chartType_stackedbar:"Stablet stolpediagram",chartType_doughnut:"Hjuldiagram",chartType_pie:"Sektordiagram",chartType_scatter:"Punktdiagram",chartType_gauge:"Målediagram",chartType_bullet:"Kulediagram",hideButton:"Skjul",makePrivateButton:"Gjør privat",makePublicButton:"Gjør offentlig",showButton:"Vis",resetFilter:"Nullstill filter",changeLocale:"Bytt språk",clearButton:"Tøm",addElement:"Velg spørsmål...",defaultOrder:"Standard",ascOrder:"Stigende",descOrder:"Synkende",showMinorColumns:"Vis mindre kolonner",otherCommentTitle:"Annet og kommentarer",showPercentages:"Vis prosenter",hidePercentages:"Skjul prosenter"},o.a.localeNames.no="Norwegian"},function(e,t,n){"use strict";var o=n(0);o.a.locales.pt={groupButton:"Agrupar Por Mim",ungroupButton:"Desagrupar Por Mim",selectButton:"Selecionar",hideColumn:"Esconder coluna",showColumn:"Mostrar coluna",makePrivateColumn:"Tornar coluna privada",makePublicColumn:"Tornar coluna pública",moveToDetail:"Mover para Detalhes",showAsColumn:"Mostrar como Coluna",filterPlaceholder:"Pesquisar...",removeRows:"Remover linhas",showLabel:"Mostrar",entriesLabel:"entradas",visualizer_text:"Textos em tabela",visualizer_wordcloud:"Nuvem de palavras",visualizer_histogram:"Histograma",visualizer_number:"Média",visualizer_choices:"Tabela",visualizer_selectBase:"Gráfico",chartType_bar:"Barra",chartType_vbar:"Barra vertical",chartType_stackedbar:"Barra Empilhada",chartType_doughnut:"Rosca",chartType_pie:"Tarte",chartType_scatter:"Lastro",chartType_gauge:"Escala",chartType_bullet:"Bala",hideButton:"Esconder",makePrivateButton:"Tornar privado",makePublicButton:"Tornar público",showButton:"Mostrar",filter:"Filtrar",resetFilter:"Restaurar Filtro",changeLocale:"Mudar Localização",en:"Inglês",fr:"Francês",ru:"Russo",de:"Alemão",clearButton:"Limpar",addElement:"Escolher questão para mostrar...",defaultOrder:"Ordenação Padrão",ascOrder:"Ascendente",descOrder:"Descendente",showMinorColumns:"Mostrar colunas menores",otherCommentTitle:"Outros itens e comentários",showPercentages:"Mostrar percentuais",hidePercentages:"Esconder percentuais",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Baixar diagrama como PNG",hideEmptyAnswers:"Esconder perguntas vazias",showEmptyAnswers:"Mostrar perguntas vazias","topNValueText-1":"Todas as respostas",topNValueText5:"Primeiras 5 respostas",topNValueText10:"Primeiras 10 respostas",topNValueText20:"Primeiras 20 respostas",hideMissingAnswers:"Ocultar perguntas não respondidas",showMissingAnswers:"Mostrar perguntas não respondidas",missingAnswersLabel:"Perguntas não respondidas",noVisualizerForQuestion:"Este tipo de pergunta ainda não foi visualizada",noResults:"Ainda não possui resultados",showPerValues:"Por valores",showPerColumns:"Por colunas",answer:"Resposta",correctAnswer:"Resposta correta: ",percent:"Percentagem",responses:"Respostas"},o.a.localeNames.pt="Português"},function(e,t,n){"use strict";var o=n(0);o.a.locales.ru={groupButton:"Group By Me",ungroupButton:"Ungroup By Me",selectButton:"Select Me",hideColumn:"Hide column",showColumn:"Show column",makePrivateColumn:"Make column private",makePublicColumn:"Make column public",moveToDetail:"Move to Detail",filter:"Фильтр",showAsColumn:"Show as Column",visualizer_text:"Texts in table",visualizer_wordcloud:"Wordcloud",chartType_bar:"Bar",chartType_stackedbar:"Stacked Bar",chartType_doughnut:"Doughnut",chartType_pie:"Pie",chartType_scatter:"Scatter",chartType_gauge:"Gauge",chartType_bullet:"Bullet",hideButton:"Скрыть",showButton:"Показать",resetFilter:"Очистить фильтр",changeLocale:"Сменить язык",clearButton:"Clear",addElement:"Choose question to show...",defaultOrder:"Default",ascOrder:"Ascending",descOrder:"Descending",showMinorColumns:"Show minor columns",otherCommentTitle:"Другое и комментарии",noVisualizerForQuestion:"Этот тип вопроса еще не поддерживается аналитикой",noResults:"Результаты отсутствуют"},o.a.localeNames.ru="Russian"},function(e,t,n){"use strict";var o=n(0);o.a.locales.nl={groupButton:"Groep door mij",ungroupButton:"Degroeperen bij mij",selectButton:"Selecteer mij",hideColumn:"Kolom verbergen",showColumn:"Toon kolom",makePrivateColumn:"Kolom privé maken",makePublicColumn:"Maak de kolom openbaar",moveToDetail:"Ga naar Detail",showAsColumn:"Weergeven als kolom",filterPlaceholder:"Zoeken...",removeRows:"Verwijder rijen",showLabel:"Tonen",entriesLabel:"inzendingen",visualizer_text:"Teksten in tabel",visualizer_wordcloud:"Wordcloud",chartType_bar:"Bar",chartType_stackedbar:"Gestapelde Bar",chartType_doughnut:"Donut",chartType_pie:"Taart",chartType_scatter:"Verstrooien",chartType_gauge:"Meter",chartType_bullet:"Kogel",hideButton:"Verbergen",makePrivateButton:"Maak prive",makePublicButton:"Openbaar maken",showButton:"Tonen",resetFilter:"Filter resetten",changeLocale:"Wijzig de landinstelling",clearButton:"Doorzichtig",addElement:"Kies een vraag om weer te geven ...",defaultOrder:"Standaardvolgorde",ascOrder:"Oplopend",descOrder:"Aflopend",showMinorColumns:"Toon kleine kolommen",otherCommentTitle:"Andere items en opmerkingen",showPercentages:"Percentages weergeven",hidePercentages:"Verberg percentages",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"Download plot als een png",hideEmptyAnswers:"Verberg lege antwoorden",showEmptyAnswers:"Toon lege antwoorden","topNValueText-1":"Alle antwoorden",topNValueText5:"Top 5 antwoorden",topNValueText10:"Top 10 antwoorden",topNValueText20:"Top 20 antwoorden"},o.a.localeNames.nl="Dutch"},function(e,t,n){"use strict";var o=n(0);o.a.locales.ar={groupButton:"زرار المجموعة",ungroupButton:"تم التحديث من خلالى",selectButton:"اختر",hideColumn:"اخفاء العمود",showColumn:"اظهار",makePrivateColumn:"أجعل العمود خاص",makePublicColumn:"أجعل العمود عام",moveToDetail:"انتقل إلى التفاصيل",showAsColumn:"إظهار كعمود",filterPlaceholder:"بحث...",removeRows:"حذف",showLabel:"اظهار",entriesLabel:"مدخلات",visualizer_text:"جداول",visualizer_wordcloud:"كلمات",visualizer_histogram:"الرسم البياني",visualizer_number:"متوسط",visualizer_choices:"جدول",visualizer_selectBase:"رسم بياني",chartType_bar:"شريط",chartType_vbar:"شريط عمودي",chartType_stackedbar:"شريط مكدس",chartType_doughnut:"Doughnut",chartType_pie:"Pie",chartType_scatter:"Scatter",chartType_gauge:"Gauge",chartType_bullet:"Bullet",hideButton:"اخفاء",makePrivateButton:"أجعل خاص",makePublicButton:"أجعل عام",showButton:"اظهار",filter:"ترشح",resetFilter:"إعادة تعيين",changeLocale:"تغيير اللغة",en:"اللغة الانجليزية",fr:"اللغه الفرنسية",ru:"اللغه الروسية",de:"اللغه الانجليزية",clearButton:"مسح",addElement:"اختر سؤالاً للعرض ...",defaultOrder:"الترتيب الافتراضي",ascOrder:"تصاعدى",descOrder:"تنازلى",showMinorColumns:"إظهار الأعمدة الثانوية",otherCommentTitle:"بنود وتعليقات أخرى",showPercentages:"عرض النسب المئوية",hidePercentages:"إخفاء النسب",pdfDownloadCaption:"PDF",xlsxDownloadCaption:"Excel",csvDownloadCaption:"CSV",saveDiagramAsPNG:"تنزيل بصيغة png",hideEmptyAnswers:"إخفاء الإجابات الفارغة",showEmptyAnswers:"إظهار الإجابات الفارغة",hideMissingAnswers:"إخفاء الإجابات المفقودة",showMissingAnswers:"عرض الإجابات المفقودة",missingAnswersLabel:"أجوبة مفقودة",noVisualizerForQuestion:"لم يتم العرض بعد",noResults:"لا يوجد نتائج للعرض",showPerValues:"لكل القيم",showPerColumns:"لكل الأعمدة",answer:"إجب",correctAnswer:"الاجابة الصحيحة: ",percent:"النسبه المئويه",responses:"الاستجابات"},o.a.localeNames.ar="Arabic"},function(e,t){e.exports='<svg style="display:none;"><symbol viewBox="0 0 16 16" id="sa-svg-detail"><circle cx="1.5" cy="8.5" r="1.5"></circle><circle cx="7.5" cy="8.5" r="1.5"></circle><circle cx="13.5" cy="8.5" r="1.5"></circle></symbol><symbol viewBox="0 0 16 16" id="sa-svg-drag"><path d="M13 5l-1 1 1 1H9V3l1 1 1-1-3-3-3 3 1 1 1-1v4H3l1-1-1-1-3 3 3 3 1-1-1-1h4v4l-1-1-1 1 3 3 3-3-1-1-1 1V9h4l-1 1 1 1 3-3z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-hide"><path d="M12.79 4.2L16 1l-1-1-3.32 3.32C10.57 2.55 9.32 2 8 2 3.63 2 0 7.97 0 7.97s1.27 2.1 3.21 3.82l-3.23 3.23.98.98 3.35-3.34C5.41 13.44 6.67 14 8 14c4.37 0 8-6 8-6s-1.27-2.09-3.21-3.8zM2 7.97c1.07-1.47 3.61-4 6-4 .8 0 1.6.27 2.35.68l-.78.78c-.46-.29-.99-.46-1.57-.46-1.66 0-3 1.34-3 3 0 .58.17 1.11.46 1.57l-.97.97A13.38 13.38 0 0 1 2 7.97zm6 4c-.8 0-1.59-.27-2.33-.67l.78-.77c.45.27.98.44 1.55.44 1.66 0 3-1.34 3-3 0-.57-.17-1.09-.44-1.55l.98-.98c1.11.87 2.01 1.91 2.46 2.52-1.07 1.48-3.61 4.01-6 4.01z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-makeprivate"><circle cx="8" cy="4" r="3"></circle><path d="M8 8c-3.31 0-6 2.73-6 4.67S5.27 15 8 15s6-.4 6-2.33S11.31 8 8 8z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-makepublic"><circle cx="6" cy="5" r="3"></circle><path d="M10 5c0 .34-.06.67-.14.99.05 0 .09.01.14.01 1.66 0 3-1.34 3-3s-1.34-3-3-3C8.97 0 8.07.52 7.53 1.3 8.98 1.91 10 3.33 10 5zM6 9c-3.31 0-6 2.73-6 4.67S3.27 16 6 16s6-.4 6-2.33S9.31 9 6 9zM10 7c-.19 0-.38.01-.57.03a4.14 4.14 0 0 1-1.37 1.39c3 .83 5.23 3.31 5.42 5.28 1.44-.31 2.52-.92 2.52-2.03C16 9.74 13.31 7 10 7z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-movetodetails"><circle cx="1.5" cy="14.5" r="1.5"></circle><circle cx="7.5" cy="14.5" r="1.5"></circle><circle cx="13.5" cy="14.5" r="1.5"></circle><path d="M12 1h3v9h-3zM2.02 7.02L1 6 0 7l3 3 3-3-1-1-.94.94C4.33 4.73 6.21 3 8.5 3c.17 0 .33.03.5.05V1.03C8.83 1.01 8.67 1 8.5 1 5.08 1 2.27 3.66 2.02 7.02z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-noncommercial"><path d="M8 0L0 15h16L8 0zm1 13H7v-2h2v2zm-2-3V5h2v5H7z"></path></symbol><symbol viewBox="0 0 16 16" id="sa-svg-sorting"><path d="M8 3l2 2 1-1-3-3-3 3 1 1zM8 13l-2-2-1 1 3 3 3-3-1-1z"></path></symbol></svg>'},function(e,t,n){"use strict";var o=n(0),r=n(1),a=n(4);a.a.registerExtension({location:"row",name:"details",visibleIndex:0,render:function(e,t){var n=r.b.createSvgButton("detail");return n.title=o.a.getString("showMinorColumns"),n.className+=" sa-table__row-extension",n.onclick=function(){t.row.toggleDetails()},n}}),a.a.registerExtension({location:"row",name:"select",visibleIndex:-1,render:function(e,t){var n=t.row,o=r.b.createElement("input","sa-table__row-extension",{type:"checkbox"});return o.checked=n.getIsSelected(),o.onchange=function(){n.toggleSelect()},o}})},function(e,t,n){"use strict";var o=n(0),r=n(1),a=n(4);a.a.registerExtension({location:"header",name:"filter",visibleIndex:0,render:function(e){var t=r.b.createInput("sa-table__global-filter sa-table__header-extension",o.a.getString("filterPlaceholder"));return t.onchange=function(t){e.applyFilter(t.target.value)},t}}),a.a.registerExtension({location:"header",name:"showcolumn",visibleIndex:2,destroy:function(){this.onDestroy()},render:function(e){var t=r.b.createElement("select","sa-table__show-column sa-table__header-extension");function n(){var n=e.columns.filter((function(e){return!e.isVisible}));if(0!=n.length){t.style.display="inline-block",t.innerHTML="";var a=r.b.createElement("option","",{text:o.a.getString("showColumn"),disabled:!0,selected:!0});t.appendChild(a),n.forEach((function(e){var n=e.displayName||e.name;n&&n.length>20&&(n=n.substring(0,20)+"...");var o=r.b.createElement("option","",{text:n,title:e.displayName,value:e.name});t.appendChild(o)}))}else t.style.display="none"}t.onchange=function(t){var n=t.target.value;t.stopPropagation(),n&&e.setColumnVisibility(n,!0)},n();var a=function(){n()};return e.onColumnsVisibilityChanged.add(a),this.onDestroy=function(){e.onColumnsVisibilityChanged.remove(a)},t}}),a.a.registerExtension({location:"header",name:"showentries",visibleIndex:3,render:function(e){var t=r.b.createElement("div","sa-table__entries"),n=r.b.createElement("span","sa-table__header-space"),a=r.b.createElement("span","sa-table__entries-label sa-table__entries-label--right",{innerText:o.a.getString("showLabel")}),i=r.b.createElement("span","sa-table__entries-label sa-table__entries-label--left",{innerText:o.a.getString("entriesLabel")});return t.appendChild(n),t.appendChild(a),t.appendChild(function(e){var t=r.b.createElement("select");return(e.paginationSizeSelector||["1","5","10","25","50","75","100"]).forEach((function(e){var n=r.b.createElement("option","",{value:e,text:e});t.appendChild(n)})),t.value=String(e.getPageSize()),t.onchange=function(){e.setPageSize(Number(t.value))},t}(e)),t.appendChild(i),t}}),a.a.registerExtension({location:"header",name:"removerows",visibleIndex:-1,render:function(e){var t=r.b.createElement("button","sa-table__btn sa-table__btn--green sa-table__header-extension ",{innerText:o.a.getString("removeRows")});return t.onclick=function(){e.getCreatedRows().forEach((function(e){e.getIsSelected()&&e.remove()}))},t}}),a.a.registerExtension({location:"header",name:"changelocale",visibleIndex:1,render:function(e){var t=e.getLocales();if(t.length<2)return null;var n=r.b.createElement("select","sa-table__header-extension",{});return[o.a.getString("changeLocale")].concat(t).forEach((function(e){var t=r.b.createElement("option","",{value:e,text:e});n.appendChild(t)})),n.onchange=function(){e.locale=n.value},n}})},function(e,t,n){"use strict";var o=n(1),r=n(0),a=n(4),i=n(5);a.a.registerExtension({location:"column",name:"drag",visibleIndex:0,render:function(e,t){var n=o.b.createElement("button","sa-table__svg-button sa-table__drag-button");return n.appendChild(o.b.createSvgElement("drag")),n.onmousedown=function(t){e.enableColumnReorder()},n}}),a.a.registerExtension({location:"column",name:"sort",visibleIndex:1,render:function(e,t){var n=r.a.getString("descOrder"),a=r.a.getString("ascOrder"),i=o.b.createSvgButton("sorting");i.title="";var s="asc";return i.onclick=function(){"asc"==s?(i.title=n,s="desc"):(i.title=a,s="asc"),e.sortByColumn(t.columnName,s)},i.ondrag=function(e){e.stopPropagation()},i}}),a.a.registerExtension({location:"column",name:"hide",visibleIndex:2,render:function(e,t){var n=o.b.createSvgButton("hide");return n.title=r.a.getString("hideColumn"),n.onclick=function(){e.setColumnVisibility(t.columnName,!1)},n}}),a.a.registerExtension({location:"column",name:"movetodetails",visibleIndex:3,render:function(e,t){var n=o.b.createSvgButton("movetodetails");return n.title=r.a.getString("moveToDetail"),n.onclick=function(n){n.stopPropagation(),e.setColumnLocation(t.columnName,i.b.Row)},n}}),a.a.registerExtension({location:"column",name:"filter",visibleIndex:4,render:function(e,t){var n=o.b.createInput("sa-table__filter",r.a.getString("filterPlaceholder"));return n.onclick=function(e){return e.stopPropagation()},n.onchange=function(o){e.applyColumnFilter(t.columnName,n.value)},n}}),a.a.registerExtension({location:"column",name:"makepublic",visibleIndex:-1,render:function(e,t){var n=o.b.createElement("button"),a=o.b.createSvgElement("makeprivate"),i=o.b.createSvgElement("makepublic"),s=e.getColumnByName(t.columnName);function l(e){e.isPublic?(n.className="sa-table__svg-button",n.title=r.a.getString("makePrivateColumn"),a.style.display="none",i.style.display="block"):(n.className="sa-table__svg-button sa-table__svg-button--active",n.title=r.a.getString("makePublicColumn"),a.style.display="block",i.style.display="none")}return l(s),n.appendChild(a),n.appendChild(i),n.onclick=function(t){t.stopPropagation(),s.isPublic=!s.isPublic,l(s),e.onPermissionsChangedCallback&&e.onPermissionsChangedCallback(e)},n}})},,,function(e,t,n){},,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"localization",(function(){return o.a})),n.d(t,"surveyStrings",(function(){return o.b})),n.d(t,"TableEvent",(function(){return r.b})),n.d(t,"Table",(function(){return r.a})),n.d(t,"TableRow",(function(){return r.c})),n.d(t,"DataTables",(function(){return p})),n.d(t,"DatatablesRow",(function(){return h})),n.d(t,"TableExtensions",(function(){return m.a})),n.d(t,"DocumentHelper",(function(){return l.b}));var o=n(0),r=(n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(18),n(19),n(20),n(8),n(6)),a=n(2),i=n(3),s=n(5),l=n(1);n(23);if(document){var u=n(17),c=document.createElement("div");c.style.display="none",c.innerHTML=u,document.head.appendChild(c)}var d=window.jQuery,p=function(e){function t(t,n,o,r){void 0===r&&(r=[]);var a=e.call(this,t,n,o,r)||this;return a.currentPageNumber=0,a.onColumnsReorder=new i.Event,a}return Object(a.b)(t,e),t.initJQuery=function(e){d=e},Object.defineProperty(t,"haveCommercialLicense",{set:function(e){r.a.haveCommercialLicense=e},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){if(this.renderResult){var t=this.renderResult.children[0];d.fn.DataTable.isDataTable(t)&&d(t).DataTable().destroy(),this.datatableApi=void 0,e.prototype.destroy.call(this)}},t.prototype.setColumnVisibility=function(t,n){e.prototype.setColumnVisibility.call(this,t,n),this.datatableApi.column(t+":name").visible(n)},t.prototype.setColumnLocation=function(t,n){e.prototype.setColumnLocation.call(this,t,n);var o=this.datatableApi.column(t+":name"),r=n==s.b.Column;o.visible(r)},t.prototype.applyFilter=function(e){this.datatableApi.search(e).draw(!1)},t.prototype.applyColumnFilter=function(e,t){var n=this.datatableApi.column(e+":name");n.search()!==t&&n.search(t).draw(!1)},t.prototype.sortByColumn=function(e,t){this.datatableApi.column(e+":name").order(t).draw(!1)},t.prototype.setPageSize=function(t){e.prototype.setPageSize.call(this,t),this.isRendered&&this.datatableApi.page.len(t).draw(!1)},t.prototype.setPageNumber=function(t){e.prototype.setPageNumber.call(this,t),this.isRendered&&this.datatableApi.page(t).draw(!1)},t.prototype.getPageNumber=function(){return this.isRendered?this.datatableApi.page():0},t.prototype.render=function(t){var n=this;e.prototype.render.call(this,t);"string"==typeof t&&(t=document.getElementById(t)),t.className+=" sa-table sa-datatables";var o=l.b.createElement("table",""),r=this.getColumns(),a=r.map((function(e){return e.data})),i="sa-table__btn sa-table__btn--small sa-table__btn--gray",s=d.extend(!0,{buttons:[{extend:"copy",className:i},{extend:"csv",className:i},{extend:"print",className:i}],dom:'B<"sa-table__header-extensions">prtip',data:this.tableData,pageLength:this.currentPageSize,responsive:!1,scrollX:!0,columns:r,colReorder:{fixedColumnsLeft:1,realtime:!1},language:{sSearch:" ",searchPlaceholder:"Search...",sLengthMenu:"Show _MENU_ entries",paginate:{previous:" ",next:" "}},select:"api",headerCallback:function(e,t,r,i,s){var u=d(o).dataTable().api(),c=n;u.columns().eq(0).each((function(e){var t=d(u.columns(e).header());if(t.unbind("click.DT"),a[e]&&0===t.has("button").length){var o=l.b.createElement("div","sa-table__action-container");c.extensions.render(o,"column",{columnName:a[e]}),o.onmousedown=function(e){c.isColumnReorderEnabled?n.disableColumnReorder():e.stopPropagation()}}t.prepend(o)}))}},this._options);t.appendChild(o),o.className="sa-datatables__table display responsive dataTable";var u=this.datatableApi=d(o).DataTable(s),c=d("div.sa-table__header-extensions")[0];this.extensions.render(c,"header"),u.page(this.currentPageNumber),this.datatableApi.rowGroup().enable(!1).draw(!1),u.on("column-reorder",(function(e,t,o){n.moveColumn(o.from-1,o.to-1),n.disableColumnReorder(),n.onColumnsReorder.fire(n,{columns:n.columns})})),u.rows().eq(0).each((function(e){var t=u.row(e),o=l.b.createElement("tr"),r=l.b.createElement("td","sa-datatables__details-container");o.appendChild(r);var a=t.node(),i=t.cell(t.index(),0).node(),s=new h(n,i,r,t);s.onToggleDetails.add((function(e,t){t.isExpanded?(r.colSpan=a.childElementCount,a.parentNode.insertBefore(o,a.nextSibling)):o.parentNode&&o.parentNode.removeChild(o)})),n._rows.push(s),s.render()})),u.draw(!1),this.renderResult=t},t.prototype.getColumns=function(){var e=this,t=this.columns.map((function(t){var n=e.survey.getQuestionByName(t.name),o=n&&(e.options.useNamesAsTitles?n.name:n.title)||t.displayName;return{name:t.name,data:t.name,sTitle:(null==d?void 0:d.fn.dataTable.render.text().display(o))||o,visible:e.isColumnVisible(t),orderable:!1,defaultContent:"",width:"number"==typeof t.width?t.width+"px":t.width,render:function(e,n,o){var r=o[t.name];return t.dataType===s.a.FileLink?r:t.dataType===s.a.Image?"<image src='"+r+"'/>":"string"==typeof r?d("<div>").text(r).html():JSON.stringify(r)}}}));return[{orderable:!1,data:null,defaultContent:""}].concat(t)},t.prototype.layout=function(){this.datatableApi&&this.datatableApi.columns.adjust()},t}(r.a),h=function(e){function t(t,n,o,r){var a=e.call(this,t,n,o)||this;return a.table=t,a.extensionsContainer=n,a.detailsContainer=o,a._innerRow=r,a.rowElement=r.node(),a.rowData=r.data(),a._innerRow=a._innerRow.row(a.rowElement),t.onColumnsReorder.add((function(){a.render()})),a}return Object(a.b)(t,e),Object.defineProperty(t.prototype,"innerRow",{get:function(){return this._innerRow.row(this.rowElement)},enumerable:!1,configurable:!0}),t.prototype.getElement=function(){return this.rowElement},t.prototype.getRowData=function(){return this.rowData},t.prototype.getDataPosition=function(){return this.innerRow.index()},t.prototype.remove=function(){this.innerRow.remove().draw(),e.prototype.remove.call(this)},t}(r.c),m=n(4)}])}));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc