(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"++Gu":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='\n \n '+(null==(e=n.element)?"":e)+"\n \n ",n.disabled||(t+='\n \n \n \n '),t+="\n\n"}},"+0iv":function(n,e,t){"use strict";var l=t("qDJ8");function i(n){return!0===l(n)&&"[object Object]"===Object.prototype.toString.call(n)}n.exports=function(n){var e,t;return!1!==i(n)&&("function"==typeof(e=n.constructor)&&(!1!==i(t=e.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf")))}},"+2oP":function(n,e,t){"use strict";var l=t("I+eb"),i=t("6LWA"),o=t("aO6C"),r=t("hh1v"),u=t("I8vh"),a=t("B/qT"),s=t("/GqU"),c=t("hBjN"),d=t("tiKp"),p=t("Hd5f"),h=t("82ph"),g=p("slice"),f=d("species"),m=Array,b=Math.max;l({target:"Array",proto:!0,forced:!g},{slice:function(n,e){var t,l,d,p=s(this),g=a(p),v=u(n,g),y=u(void 0===e?g:e,g);if(i(p)&&(t=p.constructor,(o(t)&&(t===m||i(t.prototype))||r(t)&&null===(t=t[f]))&&(t=void 0),t===m||void 0===t))return h(p,v,y);for(l=new(void 0===t?m:t)(b(y-v,0)),d=0;v-1}},"+K+b":function(n,e,t){var l=t("JHRd");n.exports=function(n){var e=new n.constructor(n.byteLength);return new l(e).set(new l(n)),e}},"+M1K":function(n,e,t){"use strict";var l=t("WSbT"),i=RangeError;n.exports=function(n){var e=l(n);if(e<0)throw new i("The argument can't be less than 0");return e}},"+Ouw":function(n,e,t){"use strict";t("eoL8"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l=o(t("fyAk")),i=o(t("LvDl"));function o(n){return n&&n.__esModule?n:{default:n}}function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,e){for(var t=0;t\n \n ',n.component.collapsible&&(t+='\n \n '),t+="\n ",n.component.hideLabel&&!n.builder||(t+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),t+="\n ",n.component.tooltip&&(t+='\n \n '),t+="\n \n \n "),t+="\n ",n.collapsed&&!n.builder||(t+='\n
\n '+(null==(e=n.children)?"":e)+"\n
\n "),t+="\n\n"}},"+c4W":function(n,e,t){var l=t("711d"),i=t("4/ic"),o=t("9ggG"),r=t("9Nap");n.exports=function(n){return o(n)?l(r(n)):i(n)}},"+dm0":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("07d7"),t("SuFq"),t("uL8W"),t("eoL8"),t("XUE8"),t("5DmW"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ma9I"),t("ExoC"),t("wLYn"),t("NBAS");var i,o=(i=t("0xui"))&&i.__esModule?i:{default:i};function r(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function u(n,e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{};return this.updateValue(n,e)}},{key:"getValue",value:function(){return this.dataValue}}])&&u(e.prototype,t),l&&u(e,l),Object.defineProperty(e,"prototype",{writable:!1}),s}(o.default);e.default=g},"+fIg":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{type:"textfield",input:!0,key:"footer",label:"Footer Label",tooltip:"The footer text that appears below the signature area.",placeholder:"Footer Label",weight:10},{type:"textfield",input:!0,key:"width",label:"Width",tooltip:"The width of the signature area.",placeholder:"Width",conditional:{json:{"!":[{var:"data.keepOverlayRatio"}]}},weight:50},{type:"textfield",input:!0,key:"height",label:"Height",tooltip:"The height of the signature area.",placeholder:"Height",conditional:{json:{"!":[{var:"data.keepOverlayRatio"}]}},weight:51},{weight:52,type:"checkbox",label:"Keep Overlay Aspect Ratio",tooltip:"If checked, the field will have the same aspect ratio as its preview.",key:"keepOverlayRatio",customConditional:function(n){var e,t=n.options;return"pdf"===(null==t||null===(e=t.editForm)||void 0===e?void 0:e.display)},input:!0},{type:"textfield",input:!0,key:"backgroundColor",label:"Background Color",tooltip:"The background color of the signature area.",placeholder:"Background Color",weight:52},{type:"textfield",input:!0,key:"penColor",label:"Pen Color",tooltip:"The ink color for the signature area.",placeholder:"Pen Color",weight:53},{key:"placeholder",ignore:!0},{key:"autofocus",ignore:!0}]},"+iFO":function(n,e,t){var l=t("dTAl"),i=t("LcsW"),o=t("6sVZ");n.exports=function(n){return"function"!=typeof n.constructor||o(n)?{}:l(i(n))}},"+nhl":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(t+='\n , '+(null==(e=n.t("numeric only"))?"":e)+",\n "),t+="\n ",n.component.tooltip&&(t+='\n \n '),t+="\n\n"}},"+o8x":function(n,e,t){"use strict";t("XUE8"),t("5DmW"),t("SuFq"),t("uL8W"),t("eoL8"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("ftMj"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("J30X"),t("2B1R"),t("tkto"),t("fbCW"),t("07d7"),t("zKZe"),t("E9XD"),t("ma9I"),t("QWBl"),t("FZtP"),t("sMBO"),t("pDQq"),t("ExoC"),t("wLYn"),t("NBAS");var l=a(t("3Iyw")),i=a(t("qkmR")),o=a(t("LvDl")),r=a(t("uhBA")),u=t("5P0i");function a(n){return n&&n.__esModule?n:{default:n}}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function c(n,e){for(var t=0;t0&&(n.valueComponent=this.components[this.components.length-1].schema),o.default.omit(n,"components")}},{key:"init",value:function(){this.components=[],this.rows=[],this.createRows(),this.visibleColumns=h({key:!0},this.valueKey,!0),this.component.valueComponent.hideLabel=!0}},{key:"defaultSchema",get:function(){return d.schema()}},{key:"emptyValue",get:function(){return{}}},{key:"dataValue",get:function(){return!this.key||!this.visible&&this.component.clearOnHide?this.emptyValue:(!this.hasValue()&&this.shouldAddDefaultValue&&(this.dataValue=this.emptyValue),o.default.get(this.data,this.key))},set:function(n){p(A(d.prototype),"dataValue",n,this,!0)}},{key:"defaultValue",get:function(){var n=v(A(d.prototype),"defaultValue",this);return Array.isArray(n)?n[0]:this.emptyValue}},{key:"keySchema",get:function(){return{type:"textfield",input:!0,hideLabel:!0,label:this.component.keyLabel||"Key",key:"__key",disableBuilderActions:!0}}},{key:"valueKey",get:function(){return this.component.valueComponent.key}},{key:"getRowValues",value:function(){var n=this.dataValue;return this.builderMode?[n]:o.default.isEmpty(n)?[]:Object.keys(n).map((function(){return n}))}},{key:"getComponentsContainer",value:function(){return this.builderMode?this.getComponents().map((function(n){return n.component})):v(A(d.prototype),"getComponentsContainer",this).call(this)}},{key:"iteratableRows",get:function(){return this.rows.map((function(n){return Object.keys(n).map((function(e){return{components:n[e],data:n[e].dataValue}}))}))}},{key:"componentContext",value:function(n){return this.iteratableRows[n.row].find((function(e){return e.components.key===n.key})).data}},{key:"hasHeader",value:function(){return!0}},{key:"hasRemoveButtons",value:function(){return!this.component.disableAddingRemovingRows&&!this.options.readOnly&&!this.disabled&&this.fullMode}},{key:"getColumns",value:function(){var n=Object.assign({},this.keySchema),e=Object.assign({},this.component.valueComponent);return n.hideLabel=!1,e.hideLabel=!1,this.component.keyBeforeValue?[n,e]:[e,n]}},{key:"getRowKey",value:function(n){var e=Object.keys(this.dataValue);return e[n]||(e[n]=(0,u.uniqueKey)(this.dataValue,this.defaultRowKey)),e[n]}},{key:"defaultRowKey",get:function(){return"key"}},{key:"setRowComponentsData",value:function(n,e){o.default.each(this.rows[n],(function(t){"__key"===t.key?t.data={__key:Object.keys(e)[n]}:t.data=e}))}},{key:"getValueAsString",value:function(n,e){var t=this;if(null!=e&&e.email&&this.visible&&!this.skipInEmail&&o.default.isObject(n)){var l='\n \n \n ';return l=Object.keys(n).reduce((function(l,i){return l+='\n \n \n \n \n ")}),l),l+="\n \n
'.concat(i,'').concat(t.getView(n[i],e),"
\n "}return o.default.isEmpty(n)?"":null!=e&&e.modalPreview?(delete e.modalPreview,this.getDataValueAsTable(n,e)):"object"===s(n)?"[Complex Data]":n}},{key:"getDataValueAsTable",value:function(n,e){var t=this,l='\n \n \n ';return this.visible&&o.default.isObject(n)&&Object.keys(n).forEach((function(i){l+='\n \n \n \n \n ")})),l+="\n \n
'.concat(i,'').concat(t.getView(n[i],e),"
\n "}},{key:"createRowComponents",value:function(n,e){var t=this,l=this.builderMode?this.valueKey:this.getRowKey(e),i=o.default.clone(this.options);i.events=new r.default,i.name+="[".concat(e,"]"),i.row="".concat(e);var a={};a.__key=this.createComponent(this.keySchema,i,{__key:this.builderMode?this.defaultRowKey:l}),a.__key.on("componentChange",(function(n){var e=t.dataValue,i=(0,u.uniqueKey)(e,n.value);e[i]=e[l],delete e[l];var o=a[t.valueKey];o.component.key=i,o.path=t.calculateComponentPath(o),l=i}));var s=o.default.clone(this.component.valueComponent);s.key=l;var c=this.options;return c.row=i.row,a[this.valueKey]=this.createComponent(s,c,this.dataValue),a}},{key:"canAddColumn",get:function(){return!1}},{key:"addChildComponent",value:function(n){this.component.valueComponent=n}},{key:"saveChildComponent",value:function(n){n.key!==this.keySchema.key&&(this.component.valueComponent=n)}},{key:"removeChildComponent",value:function(){var n=d.schema();this.component.valueComponent=n.valueComponent}},{key:"addRow",value:function(){var n=this.rows.length;this.rows[n]=this.createRowComponents(this.dataValue,n),this.redraw(),this.triggerChange()}},{key:"removeRow",value:function(n){var e=Object.keys(this.dataValue);e[n]&&delete this.dataValue[e[n]],this.rows.splice(n,1),this.redraw(),this.triggerChange()}},{key:"setValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.hasChanged(n,this.dataValue);return this.dataValue=n,this.createRows(),this.updateOnChange(e,t),t}},{key:"checkColumns",value:function(){return{rebuild:!1,show:!0}}}])&&c(e.prototype,t),i&&c(e,i),Object.defineProperty(e,"prototype",{writable:!1}),d}(i.default);e.default=C},"+s0g":function(n,e,t){!function(n){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),t="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),l=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,l){return n?/-MMM-/.test(l)?t[n.month()]:e[n.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(1===n||8===n||n>=20?"ste":"de")},week:{dow:1,doy:4}})}(t("wd/R"))},"+sAJ":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t=0}},"/442":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{wieght:200,type:"select",datasrc:"values",key:"fields.year.type",label:"Type of input",data:{values:[{label:"Number",value:"number"},{label:"Select",value:"select"}]}},{weight:203,type:"number",input:!0,key:"fields.year.minYear",label:"Minimum Year",placeholder:"1900",tooltip:"The minimum year that can be entered."},{weight:204,type:"number",input:!0,key:"fields.year.maxYear",label:"Maximum Year",placeholder:"2030",tooltip:"The maximum year that can be entered."},{weight:210,type:"textfield",input:!0,key:"fields.year.placeholder",label:"Placeholder",placeholder:"Year Placeholder",tooltip:"The placeholder text that will appear when Year field is empty."},{weight:215,type:"checkbox",label:"Hidden",tooltip:"Hide the Year part of the component.",key:"fields.year.hide",input:!0}]},"/9aa":function(n,e,t){var l=t("NykK"),i=t("ExA7");n.exports=function(n){return"symbol"==typeof n||i(n)&&"[object Symbol]"==l(n)}},"/Bu5":function(n,e,t){"use strict";var l=t("90hW"),i=Math.abs;n.exports=function(n,e,t,o){var r=+n,u=i(r),a=l(r);if(ut||c!=c?a*(1/0):a*c}},"/GqU":function(n,e,t){"use strict";var l=t("RK3t"),i=t("HYAF");n.exports=function(n){return l(i(n))}},"/OPJ":function(n,e,t){"use strict";var l=t("0Dky"),i=t("2oRo").RegExp;n.exports=l((function(){var n=i(".","s");return!(n.dotAll&&n.test("\n")&&"s"===n.flags)}))},"/PH2":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),i=t("MGBS"),o=t("zotm");function r(){for(var n=[],e=0;e0){var r=o.indexOf(t);-1!==r&&o.splice(r,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(n){if(0===this.toRespond.length){var e=[n].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(n){var e;try{e=this.project.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},"/Pey":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("07d7"),t("SuFq"),t("uL8W"),t("eoL8"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ExoC"),t("wLYn"),t("NBAS");var i=r(t("pxaw")),o=r(t("LvDl"));function r(n){return n&&n.__esModule?n:{default:n}}function u(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function a(n,e){for(var t=0;t\n
\n \n\n'}},"/U9Q":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("SuFq"),t("uL8W"),t("eoL8"),t("XUE8"),t("5DmW"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("ftMj"),t("tkto"),t("QWBl"),t("FZtP"),t("27RR"),t("HRxU"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("rB9j"),t("UxlC"),t("brp2"),t("DQNa"),t("TeQF"),t("07d7"),t("ma9I"),t("R5XZ"),t("2B1R"),t("Rm1S"),t("Rfxz"),t("yq1k"),t("JTJg"),t("fbCW"),t("J30X"),t("JfAA"),t("wLYn"),t("ExoC"),t("NBAS");var i=t("1eKU"),o=s(t("/QC6")),r=t("5P0i"),u=s(t("wd/R")),a=s(t("LvDl"));function s(n){return n&&n.__esModule?n:{default:n}}function c(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function d(n){for(var e=1;e=2&&"en"!==o)return i.GlobalFormio.requireLibrary("flatpickr-".concat(o),"flatpickr-".concat(o),"".concat(i.GlobalFormio.cdn["flatpickr-formio"],"/l10n/flatpickr-").concat(o,".js"),!0).then((function(){return t.initFlatpickr(e)}));t.initFlatpickr(e)}}))})).catch((function(n){console.warn(n)}))}},{key:"disableWeekends",get:function(){return function(n){return 0===n.getDay()||6===n.getDay()}}},{key:"disableWeekdays",get:function(){var n=this;return function(e){return!n.disableWeekends(e)}}},{key:"disableFunction",get:function(){var n=this;return function(e){return n.evaluate("return ".concat(n.settings.disableFunction),{date:e})}}},{key:"timezone",get:function(){return this.componentInstance.getTimezone(this.settings)}},{key:"defaultSettings",get:function(){return s.defaultSettings}},{key:"addSuffix",value:function(n){var e=this;return this.addEventListener(n,"click",(function(){setTimeout((function(){e.calendar&&(!e.calendar.isOpen&&Date.now()-e.closedOn>200?e.calendar.open():e.calendar.isOpen&&e.calendar.close())}),0)})),n}},{key:"disabled",set:function(n){g(w(s.prototype),"disabled",n,this,!0),this.calendar&&(n?this.calendar._input.setAttribute("disabled","disabled"):this.calendar._input.removeAttribute("disabled"),this.calendar.close(),this.calendar.redraw())}},{key:"input",get:function(){return this.calendar?this.calendar.altInput:null}},{key:"disabledDates",get:function(){return this.settings.disabledDates?this.settings.disabledDates.split(",").map((function(n){var e=/\d{4}-\d{2}-\d{2}/g,t=n.match(e);if(t&&t.length)return 1===t.length?n.match(e)[0]:{from:n.match(e)[0],to:n.match(e)[1]}})):[]}},{key:"localeFormat",get:function(){var n="";return this.settings.enableDate&&(n+=this.defaultFormat.date),this.settings.enableTime&&(n+=this.defaultFormat.time),n}},{key:"dateTimeFormat",get:function(){return this.settings.useLocaleSettings?this.localeFormat:(0,r.convertFormatToFlatpickr)(this.dateFormat)}},{key:"dateFormat",get:function(){return a.default.get(this.settings,"format","yyyy-MM-dd hh:mm a")}},{key:"getDateValue",value:function(n,e,t){return t?(0,r.momentDate)(n,this.valueFormat,this.timezone).format((0,r.convertFormatToMoment)(e)):(0,u.default)(n).format((0,r.convertFormatToMoment)(e))}},{key:"getValue",value:function(){if(!this.calendar)return b(w(s.prototype),"getValue",this).call(this);var n=this.calendar.selectedDates;return n&&n.length?n[0]instanceof Date?this.getDateValue(n[0],this.valueFormat,"date"===this.settings.saveAs):"Invalid Date":b(w(s.prototype),"getValue",this).call(this)}},{key:"isValueISO8601",value:function(n){return n&&"string"==typeof n&&n.match(/-[0-9]{2}T[0-9]{2}:/)}},{key:"setValue",value:function(n){var e="text"===this.settings.saveAs;if(!this.calendar)return n=n?(0,r.formatDate)(this.timezonesUrl,n,(0,r.convertFormatToMoment)(this.settings.format),this.timezone,(0,r.convertFormatToMoment)(this.valueMomentFormat)):n,b(w(s.prototype),"setValue",this).call(this,n);var t=this.loadZones();n?e||!this.settings.readOnly||t?this.isValueISO8601(n)?this.calendar.setDate(n,!1):this.calendar.setDate((0,u.default)(n,this.valueMomentFormat).toDate(),!1):this.calendar.setDate((0,r.momentDate)(n,this.valueFormat,this.timezone).format(),!1):this.calendar.clear(!1)}},{key:"getValueAsString",value:function(n,e){var t=e||this.dateFormat,l=this.calendar?this.valueFormat:this.settings.dateFormat;return"text"===this.settings.saveAs&&this.componentInstance.parent&&!this.settings.readOnly?(0,u.default)(n,(0,r.convertFormatToMoment)(l)).format((0,r.convertFormatToMoment)(l)):(0,r.formatDate)(this.timezonesUrl,n,t,this.timezone,(0,r.convertFormatToMoment)(l))}},{key:"setErrorClasses",value:function(n){this.input&&(n?(this.addClass(this.input,"is-invalid"),this.input.setAttribute("aria-invalid","true")):(this.removeClass(this.input,"is-invalid"),this.input.setAttribute("aria-invalid","false")))}},{key:"validationValue",value:function(n){return"string"==typeof n?new Date(n):n.map((function(n){return new Date(n)}))}},{key:"isCalendarElement",value:function(n){var e,t,l,i,o;return!n||!(null===(e=this.calendar)||void 0===e||null===(t=e.config)||void 0===t||null===(l=t.appendTo)||void 0===l||!l.contains(n))||(null===(i=this.calendar)||void 0===i||null===(o=i.calendarContainer)||void 0===o?void 0:o.contains(n))}},{key:"initFlatpickr",value:function(n){var e=this;if(this.calendar=new n(this._input,d(d({},this.settings),{},{disableMobile:!0})),this.calendar.altInput.addEventListener("input",(function(n){e.settings.allowInput&&e.settings.currentValue!==n.target.value&&(e.settings.manualInputValue=n.target.value,e.settings.isManuallyOverriddenValue=!0,e.settings.currentValue=n.target.value),""===n.target.value&&e.calendar.selectedDates.length>0?(e.settings.wasDefaultValueChanged=!0,e.settings.defaultValue=n.target.value,e.calendar.clear()):e.settings.wasDefaultValueChanged=!1})),this.settings.readOnly||a.default.some(["MMMM"],(function(n){return a.default.includes(e.settings.format,n)}))||this.setInputMask(this.calendar._input,(0,r.convertFormatToMask)(this.settings.format)),x){var t=this.calendar._handlers.find((function(n){var t=n.event,l=n.element;return"blur"===t&&l===e.calendar._input}));this.calendar._input.removeEventListener("blur",t.handler),this.addEventListener(this.calendar._input,"blur",(function(n){var t=e.settings.shadowRoot?e.settings.shadowRoot.activeElement:document.activeElement,l=n.relatedTarget?n.relatedTarget:t;n.target===e.calendar._input&&!e.isCalendarElement(l)&&e.calendar.setDate(e.calendar._input.value,!0,n.target===e.calendar.altInput?e.calendar.config.altFormat:e.calendar.config.dateFormat)}))}this.addEventListener(this.calendar._input,"blur",(function(n){var t=e.settings.shadowRoot?e.settings.shadowRoot.activeElement:document.activeElement,l=n.relatedTarget?n.relatedTarget:t;if(x&&!l||e.isCalendarElement(l)){if(!e.calendar.input.value&&e.calendar.config.noCalendar){var i,o,a,s,c=(0,u.default)({hour:null===(i=e.calendar)||void 0===i||null===(o=i.config)||void 0===o?void 0:o.defaultHour,minute:null===(a=e.calendar)||void 0===a||null===(s=a.config)||void 0===s?void 0:s.defaultMinute}).toDate();e.calendar.setDate(c,!0,e.settings.format)}}else{var d=e.calendar.input.value,p=d?(0,u.default)(e.calendar.input.value,(0,r.convertFormatToMoment)(e.valueFormat)).toDate():d;e.calendar.setDate(p,!0,e.settings.altFormat)}})),this.addEventListener(this.calendar.altInput,"keydown",(function(n){13===n.keyCode&&e.calendar.isOpen&&(e.calendar.close(),n.stopPropagation())})),this.setValue(this.componentValue)}},{key:"initShortcutButtonsPlugin",value:function(n){var e=this;this.settings.plugins=[n({button:this.component.shortcutButtons.map((function(n){return{label:n.label,attributes:n.attribute}})),onClick:function(n){var t=e.component.shortcutButtons[n].onClick,l=e.evaluate(t,{date:new Date},"date");e.calendar.setDate(l,!0)}})]}},{key:"componentValue",get:function(){var n=this.componentInstance.dataValue;return Array.isArray(n)&&(n=n[this.valueIndex]),n}},{key:"getFlatpickrFormatDate",value:function(n){var e=this;return function(t,l){return e.settings.readOnly&&l===e.settings.altFormat?!e.settings.enableTime||e.loadZones()?n.formatDate(t,l):new Date(e.getValue()).toString()===t.toString()?(0,r.formatOffset)(e.timezonesUrl,n.formatDate.bind(n),new Date(e.componentValue),l,e.timezone):(0,r.formatOffset)(e.timezonesUrl,n.formatDate.bind(n),t,l,e.timezone):n.formatDate(t,l)}}},{key:"destroy",value:function(){b(w(s.prototype),"destroy",this).call(this),this.calendar&&this.calendar.destroy()}}])&&p(e.prototype,t),l&&p(e,l),Object.defineProperty(e,"prototype",{writable:!1}),s}(o.default);e.default=_},"/WYv":function(n,e,t){"use strict";function l(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}t.d(e,"a",(function(){return l}))},"/X5v":function(n,e,t){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(t("wd/R"))},"/b8u":function(n,e,t){"use strict";var l=t("BPiQ");n.exports=l&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(n,e,t){"use strict";n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"/lCR":function(n,e,t){"use strict";var l,i=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function n(){this.findIter=function(n){for(var e=this._root,t=this.iterator();null!==e;){var l=this._comparator(n,e.data);if(0===l)return t._cursor=e,t;t._ancestors.push(e),e=e.get_child(l>0)}return null}}return n.prototype.clear=function(){this._root=null,this.size=0},n.prototype.find=function(n){for(var e=this._root;null!==e;){var t=this._comparator(n,e.data);if(0===t)return e.data;e=e.get_child(t>0)}return null},n.prototype.lowerBound=function(n){return this._bound(n,this._comparator)},n.prototype.upperBound=function(n){var e=this._comparator;return this._bound(n,(function(n,t){return e(t,n)}))},n.prototype.min=function(){var n=this._root;if(null===n)return null;for(;null!==n.left;)n=n.left;return n.data},n.prototype.max=function(){var n=this._root;if(null===n)return null;for(;null!==n.right;)n=n.right;return n.data},n.prototype.iterator=function(){return new r(this)},n.prototype.each=function(n){for(var e,t=this.iterator();null!==(e=t.next());)n(e)},n.prototype.reach=function(n){for(var e,t=this.iterator();null!==(e=t.prev());)n(e)},n.prototype._bound=function(n,e){for(var t=this._root,l=this.iterator();null!==t;){var i=this._comparator(n,t.data);if(0===i)return l._cursor=t,l;l._ancestors.push(t),t=t.get_child(i>0)}for(var o=l._ancestors.length-1;o>=0;--o)if(e(n,(t=l._ancestors[o]).data)>0)return l._cursor=t,l._ancestors.length=o,l;return l._ancestors.length=0,l},n}();e.TreeBase=o;var r=function(){function n(n){this._tree=n,this._ancestors=[],this._cursor=null}return n.prototype.data=function(){return null!==this._cursor?this._cursor.data:null},n.prototype.next=function(){if(null===this._cursor){var n=this._tree._root;null!==n&&this._minNode(n)}else{var e;if(null===this._cursor.right)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===e);else this._ancestors.push(this._cursor),this._minNode(this._cursor.right)}return null!==this._cursor?this._cursor.data:null},n.prototype.prev=function(){if(null===this._cursor){var n=this._tree._root;null!==n&&this._maxNode(n)}else{var e;if(null===this._cursor.left)do{if(e=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===e);else this._ancestors.push(this._cursor),this._maxNode(this._cursor.left)}return null!==this._cursor?this._cursor.data:null},n.prototype._minNode=function(n){for(;null!==n.left;)this._ancestors.push(n),n=n.left;this._cursor=n},n.prototype._maxNode=function(n){for(;null!==n.right;)this._ancestors.push(n),n=n.right;this._cursor=n},n}();e.Iterator=r;var u=function(){function n(n){this.data=n,this.left=null,this.right=null,this.red=!0}return n.prototype.get_child=function(n){return n?this.right:this.left},n.prototype.set_child=function(n,e){n?this.right=e:this.left=e},n}(),a=function(n){function e(e){var t=n.call(this)||this;return t._root=null,t._comparator=e,t.size=0,t}return i(e,n),e.prototype.insert=function(n){var t=!1;if(null===this._root)this._root=new u(n),t=!0,this.size++;else{var l=new u(void 0),i=!1,o=!1,r=null,a=l,s=null,c=this._root;for(a.right=this._root;;){if(null===c?(c=new u(n),s.set_child(i,c),t=!0,this.size++):e.is_red(c.left)&&e.is_red(c.right)&&(c.red=!0,c.left.red=!1,c.right.red=!1),e.is_red(c)&&e.is_red(s)){var d=a.right===r;c===s.get_child(o)?a.set_child(d,e.single_rotate(r,!o)):a.set_child(d,e.double_rotate(r,!o))}var p=this._comparator(c.data,n);if(0===p)break;o=i,i=p<0,null!==r&&(a=r),r=s,s=c,c=c.get_child(i)}this._root=l.right}return this._root.red=!1,t},e.prototype.remove=function(n){if(null===this._root)return!1;var t=new u(void 0),l=t;l.right=this._root;for(var i=null,o=null,r=null,a=!0;null!==l.get_child(a);){var s=a;o=i,i=l,l=l.get_child(a);var c=this._comparator(n,l.data);if(a=c>0,0===c&&(r=l),!e.is_red(l)&&!e.is_red(l.get_child(a)))if(e.is_red(l.get_child(!a))){var d=e.single_rotate(l,a);i.set_child(s,d),i=d}else if(!e.is_red(l.get_child(!a))){var p=i.get_child(!s);if(null!==p)if(e.is_red(p.get_child(!s))||e.is_red(p.get_child(s))){var h=o.right===i;e.is_red(p.get_child(s))?o.set_child(h,e.double_rotate(i,s)):e.is_red(p.get_child(!s))&&o.set_child(h,e.single_rotate(i,s));var g=o.get_child(h);g.red=!0,l.red=!0,g.left.red=!1,g.right.red=!1}else i.red=!1,p.red=!0,l.red=!0}}return null!==r&&(r.data=l.data,i.set_child(i.right===l,l.get_child(null===l.left)),this.size--),this._root=t.right,null!==this._root&&(this._root.red=!1),null!==r},e.is_red=function(n){return null!==n&&n.red},e.single_rotate=function(n,e){var t=n.get_child(!e);return n.set_child(!e,t.get_child(e)),t.set_child(e,n),n.red=!0,t.red=!1,t},e.double_rotate=function(n,t){return n.set_child(!t,e.single_rotate(n.get_child(!t),!t)),e.single_rotate(n,t)},e}(o);e.RBTree=a},"/p9O":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return t+=''+(null==(e=n.content)?"":e)+"\n"}},"/tGE":function(n,e){},"/u3H":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t\n \n \n \n \n \n \n \n\n"}},0:function(n,e,t){n.exports=t("zUnb")},"0/uQ":function(n,e,t){"use strict";t.d(e,"a",(function(){return g}));var l=t("6blF"),i=t("/WYv"),o=t("2ePl"),r=t("xTla");var u=t("En8+");var a=t("IUTb"),s=t("pugT"),c=t("S5XQ");var d=t("u67D");var p=t("JcRv");var h=t("Fxb1");function g(n,e){if(!e)return n instanceof l.a?n:new l.a(Object(h.a)(n));if(null!=n){if(function(n){return n&&"function"==typeof n[r.a]}(n))return function(n,e){return e?new l.a((function(t){var l=new s.a;return l.add(e.schedule((function(){var i=n[r.a]();l.add(i.subscribe({next:function(n){l.add(e.schedule((function(){return t.next(n)})))},error:function(n){l.add(e.schedule((function(){return t.error(n)})))},complete:function(){l.add(e.schedule((function(){return t.complete()})))}}))}))),l})):new l.a(Object(p.a)(n))}(n,e);if(Object(i.a)(n))return function(n,e){return e?new l.a((function(t){var l=new s.a;return l.add(e.schedule((function(){return n.then((function(n){l.add(e.schedule((function(){t.next(n),l.add(e.schedule((function(){return t.complete()})))})))}),(function(n){l.add(e.schedule((function(){return t.error(n)})))}))}))),l})):new l.a(Object(c.a)(n))}(n,e);if(Object(o.a)(n))return Object(a.a)(n,e);if(function(n){return n&&"function"==typeof n[u.a]}(n)||"string"==typeof n)return function(n,e){if(!n)throw new Error("Iterable cannot be null");return e?new l.a((function(t){var l,i=new s.a;return i.add((function(){l&&"function"==typeof l.return&&l.return()})),i.add(e.schedule((function(){l=n[u.a](),i.add(e.schedule((function(){if(!t.closed){var n,e;try{var i=l.next();n=i.value,e=i.done}catch(o){return void t.error(o)}e?t.complete():(t.next(n),this.schedule())}})))}))),i})):new l.a(Object(d.a)(n))}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}},"01rr":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("wksE");e.default={form:l.default}},"03A+":function(n,e,t){var l=t("JTzB"),i=t("ExA7"),o=Object.prototype,r=o.hasOwnProperty,u=o.propertyIsEnumerable,a=l(function(){return arguments}())?l:function(n){return i(n)&&r.call(n,"callee")&&!u.call(n,"callee")};n.exports=a},"07d7":function(n,e,t){"use strict";var l=t("AO7/"),i=t("yy0I"),o=t("sEFX");l||i(Object.prototype,"toString",o,{unsafe:!0})},"09nb":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("bv23");e.default={form:l.default}},"0BK2":function(n,e,t){"use strict";n.exports={}},"0Cz8":function(n,e,t){var l=t("Xi7e"),i=t("ebwN"),o=t("e4Nc");n.exports=function(n,e){var t=this.__data__;if(t instanceof l){var r=t.__data__;if(!i||r.length<199)return r.push([n,e]),this.size=++t.size,this;t=this.__data__=new o(r)}return t.set(n,e),this.size=t.size,this}},"0Dky":function(n,e,t){"use strict";n.exports=function(n){try{return!!n()}catch(e){return!0}}},"0GbY":function(n,e,t){"use strict";var l=t("2oRo"),i=t("Fib7"),o=function(n){return i(n)?n:void 0};n.exports=function(n,e){return arguments.length<2?o(l[n]):l[n]&&l[n][e]}},"0IpN":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("eoL8"),t("tkto"),t("5DmW"),t("QWBl"),t("FZtP"),t("27RR"),t("HRxU"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("tjZM"),t("lEou"),t("DEfu"),t("I9xj"),t("uL8W"),t("NBAS"),t("sMBO"),t("ExoC"),t("Junv"),t("+2oP"),Object.defineProperty(e,"__esModule",{value:!0}),e.setXhrHeaders=e.default=void 0,t("oVuX"),t("2B1R"),t("TeQF"),t("07d7"),t("SYor"),t("5s+n"),t("ma9I");var i=r(t("CFBA")),o=r(t("Zsd2"));function r(n){return n&&n.__esModule?n:{default:n}}function u(){u=function(){return n};var n={},e=Object.prototype,t=e.hasOwnProperty,i=Object.defineProperty||function(n,e,t){n[e]=t.value},o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(n,e,t){return Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),n[e]}try{c({},"")}catch(I){c=function(n,e,t){return n[e]=t}}function d(n,e,t,l){var o=e&&e.prototype instanceof g?e:g,r=Object.create(o.prototype),u=new O(l||[]);return i(r,"_invoke",{value:x(n,t,u)}),r}function p(n,e,t){try{return{type:"normal",arg:n.call(e,t)}}catch(I){return{type:"throw",arg:I}}}n.wrap=d;var h={};function g(){}function f(){}function m(){}var b={};c(b,r,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(M([])));y&&y!==e&&t.call(y,r)&&(b=y);var A=m.prototype=g.prototype=Object.create(b);function C(n){["next","throw","return"].forEach((function(e){c(n,e,(function(n){return this._invoke(e,n)}))}))}function w(n,e){var o;i(this,"_invoke",{value:function(i,r){function u(){return new e((function(o,u){!function i(o,r,u,a){var s=p(n[o],n,r);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==l(d)&&t.call(d,"__await")?e.resolve(d.__await).then((function(n){i("next",n,u,a)}),(function(n){i("throw",n,u,a)})):e.resolve(d).then((function(n){c.value=n,u(c)}),(function(n){return i("throw",n,u,a)}))}a(s.arg)}(i,r,o,u)}))}return o=o?o.then(u,u):u()}})}function x(n,e,t){var l="suspendedStart";return function(i,o){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===i)throw o;return S()}for(t.method=i,t.arg=o;;){var r=t.delegate;if(r){var u=_(r,t);if(u){if(u===h)continue;return u}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===l)throw l="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);l="executing";var a=p(n,e,t);if("normal"===a.type){if(l=t.done?"completed":"suspendedYield",a.arg===h)continue;return{value:a.arg,done:t.done}}"throw"===a.type&&(l="completed",t.method="throw",t.arg=a.arg)}}}function _(n,e){var t=e.method,l=n.iterator[t];if(void 0===l)return e.delegate=null,"throw"===t&&n.iterator.return&&(e.method="return",e.arg=void 0,_(n,e),"throw"===e.method)||"return"!==t&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+t+"' method")),h;var i=p(l,n.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[n.resultName]=o.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function P(n){var e={tryLoc:n[0]};1 in n&&(e.catchLoc=n[1]),2 in n&&(e.finallyLoc=n[2],e.afterLoc=n[3]),this.tryEntries.push(e)}function k(n){var e=n.completion||{};e.type="normal",delete e.arg,n.completion=e}function O(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(P,this),this.reset(!0)}function M(n){if(n){var e=n[r];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var l=-1,i=function e(){for(;++l=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return l("end");if(o.tryLoc<=this.prev){var u=t.call(o,"catchLoc"),a=t.call(o,"finallyLoc");if(u&&a){if(this.prev=0;--l){var i=this.tryEntries[l];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===n)return this.complete(t.completion,t.afterLoc),k(t),h}},catch:function(n){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===n){var l=t.completion;if("throw"===l.type){var i=l.arg;k(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,t){return this.delegate={iterator:M(n),resultName:e,nextLoc:t},"next"===this.method&&(this.arg=void 0),h}},n}function a(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function s(n){for(var e=1;e=200&&a.status<300)r(t);else if(504===a.status){var n=new Error("Network request failed");n.networkError=!0,u(n)}else u(a.response||"Unable to upload file")},a.send(n)})).catch(u)}))}},g=h;e.default=g},"0JQy":function(n,e){var t="[\\ud800-\\udfff]",l="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+l+"|"+i+")"+"?",s="[\\ufe0e\\ufe0f]?"+a+("(?:\\u200d(?:"+[o,r,u].join("|")+")[\\ufe0e\\ufe0f]?"+a+")*"),c="(?:"+[o+l+"?",l,r,u,t].join("|")+")",d=RegExp(i+"(?="+i+")|"+c+s,"g");n.exports=function(n){return n.match(d)||[]}},"0Kca":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("/p9O");e.default={form:l.default}},"0TkE":function(n,e,t){"use strict";var l=t("67WC"),i=t("tycR").find,o=l.aTypedArray;(0,l.exportTypedArrayMethod)("find",(function(n){return i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"0XPj":function(n,e,t){var l=t("eUgh"),i=t("s+kx"),o=t("EA7m"),r=t("XzbM"),u=o((function(n){var e=l(n,r);return e.length&&e[0]===n[0]?i(e):[]}));n.exports=u},"0btd":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l,i=(l=t("5U3O"))&&l.__esModule?l:{default:l};var o=[{weight:0,type:"checkbox",label:"Multiple Values",tooltip:"Allows multiple values to be entered for this field.",key:"multiple",input:!0},{type:"textfield",label:"Default Value",key:"defaultValue",weight:5,placeholder:"Default Value",tooltip:"The Default Value will be the value for this field, before user interaction. Having a default value will override the placeholder text.",input:!0},{weight:30,type:"radio",label:"Persistent",tooltip:"A persistent field will be stored in database when the form is submitted.",key:"persistent",input:!0,inline:!0,defaultValue:!0,values:[{label:"None",value:!1},{label:"Server",value:!0},{label:"Client",value:"client-only"}]},{weight:150,type:"checkbox",label:"Protected",tooltip:"A protected field will not be returned when queried via API.",key:"protected",input:!0},{type:"checkbox",input:!0,weight:200,key:"dbIndex",label:"Database Index",tooltip:"Set this field as an index within the database. Increases performance for submission queries."},{weight:400,type:"checkbox",label:"Encrypted",tooltip:"Encrypt this field on the server. This is two way encryption which is not suitable for passwords.",key:"encrypted",input:!0,logic:[{name:"disabled",trigger:{type:"javascript",javascript:"result = !instance.root.options.sac;"},actions:[{name:"disabled",type:"property",property:{label:"Disabled",value:"disabled",type:"boolean"},state:!0}]},{name:"disabledToolTip",trigger:{type:"javascript",javascript:"result = !instance.root.options.sac;"},actions:[{name:"addDisabledTooltip",type:"property",property:{label:"Tooltip",value:"tooltip",type:"string"},text:"Only available with Security Module. Contact sales@form.io for more information."}]}]},{type:"select",input:!0,key:"redrawOn",label:"Redraw On",weight:600,tooltip:"Redraw this component if another component changes. This is useful if interpolating parts of the component like the label.",dataSrc:"custom",valueProperty:"value",data:{custom:function(n){var e=[];return e.push({label:"Any Change",value:"data"}),n.utils.eachComponent(n.instance.options.editForm.components,(function(t,l){t.key!==n.data.key&&e.push({label:t.label||t.key,value:l})})),e}},conditional:{json:{"!":[{var:"data.dataSrc"}]}}},{weight:700,type:"checkbox",label:"Clear Value When Hidden",key:"clearOnHide",defaultValue:!0,tooltip:"When a field is hidden, clear the value.",input:!0},i.default.javaScriptValue("Custom Default Value","customDefaultValue","customDefaultValue",1e3,'

Example:

value = data.firstName + " " + data.lastName;

','

Example:

{"cat": [{"var": "data.firstName"}, " ", {"var": "data.lastName"}]}
'),i.default.javaScriptValue("Calculated Value","calculateValue","calculateValue",1100,"

Example:

value = data.a + data.b + data.c;

",'

Example:

{"+": [{"var": "data.a"}, {"var": "data.b"}, {"var": "data.c"}]}

Click here for an example

',"tokenThe decoded JWT token for the authenticated user."),{type:"checkbox",input:!0,weight:1100,key:"calculateServer",label:"Calculate Value on server",tooltip:"Checking this will run the calculation on the server. This is useful if you wish to override the values submitted with the calculations performed on the server."},{type:"checkbox",input:!0,weight:1200,key:"allowCalculateOverride",label:"Allow Manual Override of Calculated Value",tooltip:"When checked, this will allow the user to manually override the calculated value."}];e.default=o},"0eef":function(n,e,t){"use strict";var l={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!l.call({1:2},1);e.f=o?function(n){var e=i(this,n);return!!e&&e.enumerable}:l},"0iw5":function(n,e,t){"use strict";t("eoL8"),t("ExoC"),t("wLYn"),t("NBAS"),t("XUE8"),t("5DmW"),t("SuFq"),t("uL8W"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("ENF9"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ma9I"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l=t("uhBA"),i=function(n,e){if(!e&&n&&n.__esModule)return n;if(null===n||"object"!==r(n)&&"function"!=typeof n)return{default:n};var t=o(e);if(t&&t.has(n))return t.get(n);var l={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if("default"!==u&&Object.prototype.hasOwnProperty.call(n,u)){var a=i?Object.getOwnPropertyDescriptor(n,u):null;a&&(a.get||a.set)?Object.defineProperty(l,u,a):l[u]=n[u]}l.default=n,t&&t.set(n,l);return l}(t("5P0i"));function o(n){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(o=function(n){return n?t:e})(n)}function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,e){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{};a(this,r);var u=l.loadLimit,s=void 0===u?1e3:u,c=l.eventsSafeInterval,d=void 0===c?300:c;m(p(t=o.call(this)),"onAny",(function(n){t.on("any",n)})),m(p(t),"offAny",(function(n){t.off("any",n)}));var g=function(){console.warn("There were more than ".concat(s," events emitted in ").concat(d," ms. It might be caused by events' infinite loop"),t.id)},b=i.observeOverload(g,{limit:s,delay:d});return t.emit=function(){for(var l,i,o=arguments.length,u=new Array(o),a=0;athis.total&&this.destination.next(n)},e}(i.a)},"0mo+":function(n,e,t){!function(n){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},t={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(n){return n.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(n){return t[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return e[n]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(n,e){return 12===n&&(n=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&n>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&n<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?n+12:n},meridiem:function(n,e,t){return n<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":n<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":n<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":n<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(t("wd/R"))},"0oug":function(n,e,t){"use strict";t("4GWN")("iterator")},"0pIX":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.CALENDAR_ERROR_MESSAGES=void 0,e.checkInvalidDate=function(n,e,t,o){var s=(0,l.default)(n,e,!0),c=s.isValid();if(!c){var d=n.match(/[^a-z0-9_]/gi),p=new RegExp(d.join("|"),"gi"),h=n.replace(/_*/gi,"").split(p),g=e[1]?e[1].split(p):e[0].split(p),f=i.default.findIndex(g,(function(n,e){return 1===n.length&&e===g.length-1})),m=i.default.findIndex(g,(function(n){return n.match(/yyyy/gi)}));if(h[m]/1e3<1)return u(r.INVALID,!1);if(h[0].length===g[0].length){var b=h.map((function(n,e){var t=n;return n||e!==f?n||(t="01"):t="AM",d[e]&&(t="".concat(t).concat(d[e])),t})),v=(0,l.default)(b.join(""),e,!0);if(v.isValid()){var y=a(v,e[0],o,t);if(!y.result){var A=y.message,C=y.result;return u(A,C)}return u(r.INCOMPLETE,!1)}return u(r.INVALID,!1)}return u(r.INVALID,!1)}if(c&&-1===n.indexOf("_")){var w=a(s,e[0],o,t);if(!w.result){var x=w.message,_=w.result;return u(x,_)}}return u("",!0)},e.lessOrGreater=a,t("rB9j"),t("Rm1S"),t("TWNs"),t("JfAA"),t("oVuX"),t("EnZy"),t("UxlC"),t("x0AG"),t("2B1R"),t("ma9I"),t("yXV3");var l=o(t("wd/R")),i=o(t("LvDl"));function o(n){return n&&n.__esModule?n:{default:n}}var r={INVALID:"You entered the Invalid Date",INCOMPLETE:"You entered an incomplete date.",greater:function(n,e){return"The entered date is greater than ".concat(n.format(e))},less:function(n,e){return"The entered date is less than ".concat(n.format(e))}};function u(n,e){return{message:n,result:e}}function a(n,e,t,i){var o="",u=!0;if(t&&n.isValid()){var a=(0,l.default)(t,e);n>a&&(o=r.greater(a,e),u=!1)}if(i&&n.isValid()){var s=(0,l.default)(i,e);n0?this.removeClass(e,"text-danger"):this.addClass(e,"text-danger"),this.setContent(e,this.t("{{ remaining }} ".concat(n," remaining."),{remaining:i}))}else this.setContent(e,this.t("{{ count }} ".concat(n),{count:t}))}},{key:"updateValueAt",value:function(n,e,t){if(e=e||{},a.default.get(this.component,"showWordCount",!1)&&this.refs.wordcount&&this.refs.wordcount[t]){var l=a.default.parseInt(a.default.get(this.component,"validate.maxWords",0),10);this.setCounter(this.t("words"),this.refs.wordcount[t],this.getWordCount(n),l)}if(a.default.get(this.component,"showCharCount",!1)&&this.refs.charcount&&this.refs.charcount[t]){var i=a.default.parseInt(a.default.get(this.component,"validate.maxLength",0),10);this.setCounter(this.t("characters"),this.refs.charcount[t],n.length,i)}}},{key:"getValueAt",value:function(n){var e=this.performInputMapping(this.refs.input[n]);return e&&e.widget?e.widget.getValue():e?e.value:void 0}},{key:"updateValue",value:function(n,e,t){e=e||{};var l=d(b(p.prototype),"updateValue",this).call(this,n,e);return this.triggerUpdateValueAt(this.dataValue,e,t),l}},{key:"parseValue",value:function(n){return n}},{key:"formatValue",value:function(n){return n}},{key:"attach",value:function(n){return this.loadRefs(n,{charcount:"multiple",wordcount:"multiple",prefix:"multiple",suffix:"multiple"}),d(b(p.prototype),"attach",this).call(this,n)}},{key:"getWidget",value:function(n){return n=n||0,this.refs.input&&this.refs.input[n]?this.refs.input[n].widget:null}},{key:"attachElement",value:function(n,e){var t=this;d(b(p.prototype),"attachElement",this).call(this,n,e),n.widget&&n.widget.destroy();var l=u.default.resolve();return n.widget=this.createWidget(e),n.widget&&(l=n.widget.attach(n),this.refs.prefix&&this.refs.prefix[e]&&n.widget.addPrefix(this.refs.prefix[e]),this.refs.suffix&&this.refs.suffix[e]&&n.widget.addSuffix(this.refs.suffix[e])),this.addFocusBlurEvents(n),this.options.submitOnEnter&&this.addEventListener(n,"keypress",(function(n){13===(n.keyCode||n.which)&&(n.preventDefault(),n.stopPropagation(),t.emit("submitButton"))})),l}},{key:"createWidget",value:function(n){var e,t=this;if(!this.component.widget)return null;var l,i="string"==typeof this.component.widget?{type:this.component.widget}:this.component.widget;if(null!==(e=this.root)&&void 0!==e&&e.shadowRoot&&(i.shadowRoot=null===(l=this.root)||void 0===l?void 0:l.shadowRoot),!r.default.hasOwnProperty(i.type))return null;var o=new r.default[i.type](i,this.component,this,n);return o.on("update",(function(){return t.updateValue(t.getValue(),{modified:!0},n)}),!0),o.on("redraw",(function(){return t.redraw()}),!0),o}},{key:"detach",value:function(){if(d(b(p.prototype),"detach",this).call(this),this.refs&&this.refs.input)for(var n=0;n<=this.refs.input.length;n++){var e=this.getWidget(n);e&&e.destroy()}this.refs.input=[]}}])&&c(e.prototype,t),l&&c(e,l),Object.defineProperty(e,"prototype",{writable:!1}),p}(i.default);e.default=v},"0ycA":function(n,e){n.exports=function(){return[]}},1:function(n,e){},"1+5i":function(n,e,t){var l=t("w/wX"),i=t("sEf8"),o=t("mdPL"),r=o&&o.isSet,u=r?i(r):l;n.exports=u},"12Hv":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"tooltip",ignore:!0},{key:"hideLabel",ignore:!0},{key:"autofocus",ignore:!0},{key:"tabindex",ignore:!0},{key:"hidden",ignore:!0},{key:"tableView",ignore:!0},{key:"disabled",ignore:!0}]},"14Cm":function(n,e,t){"use strict";var l=t("b5wT");function i(n,e,t){for(var i=l.zipObject(t,l.map(t,(function(n,e){return e}))),o=l.flatten(l.map(e,(function(e){return l.sortBy(l.map(n.outEdges(e),(function(e){return{pos:i[e.w],weight:n.edge(e).weight}})),"pos")})),!0),r=1;r0;)e%2&&(t+=a[e+1]),a[e=e-1>>1]+=n.weight;s+=n.weight*t}))),s}n.exports=function(n,e){for(var t=0,l=1;l \n
\n {{ value.length }} {{ ctx.t("Advanced Logic Configured") }}\n
\n',row:'
\n
\n
{{ row.name }}
\n
\n
\n
\n \n \n
\n
\n
',footer:""},type:"editgrid",addAnother:"Add Logic",saveRow:"Save Logic",components:[{weight:0,input:!0,inputType:"text",label:"Logic Name",key:"name",validate:{required:!0},type:"textfield"},{weight:10,key:"triggerPanel",input:!1,title:"Trigger",tableView:!1,components:[{weight:0,input:!0,tableView:!1,components:[{weight:0,input:!0,label:"Type",key:"type",tableView:!1,data:{values:[{value:"simple",label:"Simple"},{value:"javascript",label:"Javascript"},{value:"json",label:"JSON Logic"},{value:"event",label:"Event"}]},dataSrc:"values",template:"{{ item.label }}",type:"select"},{weight:10,label:"",key:"simple",type:"container",tableView:!1,customConditional:function(n){return"simple"===n.row.type},components:[{input:!0,key:"show",label:"Show",type:"hidden",tableView:!1,calculateValue:function(){return!0}},{type:"select",input:!0,label:"When the form component:",key:"when",dataSrc:"custom",valueProperty:"value",tableView:!1,data:{custom:function(n){return(0,o.getContextComponents)(n)}}},{type:"textfield",input:!0,label:"Has the value:",key:"eq",tableView:!1}]},{weight:10,type:"textarea",key:"javascript",rows:5,editor:"ace",as:"javascript",input:!0,tableView:!1,placeholder:"result = (data['mykey'] > 1);",description:'"row", "data", and "component" variables are available. Return "result".',customConditional:function(n){return"javascript"===n.row.type}},{weight:10,type:"textarea",key:"json",rows:5,editor:"ace",label:"JSON Logic",as:"json",input:!0,tableView:!1,placeholder:"{ ... }",description:'"row", "data", "component" and "_" variables are available. Return the result to be passed to the action if truthy.',customConditional:function(n){return"json"===n.row.type}},{weight:10,type:"textfield",key:"event",label:"Event Name",placeholder:"event",description:"The event that will trigger this logic. You can trigger events externally or via a button.",tableView:!1,customConditional:function(n){return"event"===n.row.type}}],key:"trigger",type:"container"}],type:"panel"},{weight:20,input:!0,label:"Actions",key:"actions",tableView:!1,templates:{header:'
\n
{{ value.length }} {{ ctx.t("actions") }}
\n
',row:'
\n
\n
{{ row.name }}
\n
\n
\n
\n \n \n
\n
\n
',footer:""},type:"editgrid",addAnother:"Add Action",saveRow:"Save Action",components:[{weight:0,title:"Action",input:!1,key:"actionPanel",type:"panel",components:[{weight:0,input:!0,inputType:"text",label:"Action Name",key:"name",validate:{required:!0},type:"textfield"},{weight:10,input:!0,label:"Type",key:"type",data:{values:[{value:"property",label:"Property"},{value:"value",label:"Value"},{label:"Merge Component Schema",value:"mergeComponentSchema"},{label:"Custom Action",value:"customAction"}]},dataSrc:"values",template:"{{ item.label }}",type:"select"},{weight:20,type:"select",template:"{{ item.label }}",dataSrc:"json",tableView:!1,data:{json:[{label:"Hidden",value:"hidden",type:"boolean"},{label:"Required",value:"validate.required",type:"boolean"},{label:"Disabled",value:"disabled",type:"boolean"},{label:"Label",value:"label",type:"string"},{label:"Title",value:"title",type:"string"},{label:"Prefix",value:"prefix",type:"string"},{label:"Suffix",value:"suffix",type:"string"},{label:"Tooltip",value:"tooltip",type:"string"},{label:"Description",value:"description",type:"string"},{label:"Placeholder",value:"placeholder",type:"string"},{label:"Input Mask",value:"inputMask",type:"string"},{label:"CSS Class",value:"className",type:"string"},{label:"Container Custom Class",value:"customClass",type:"string"}]},key:"property",label:"Component Property",input:!0,customConditional:function(n){return"property"===n.row.type}},{weight:30,input:!0,label:"Set State",key:"state",tableView:!1,data:{values:[{label:"True",value:"true"},{label:"False",value:"false"}]},dataSrc:"values",template:"{{ item.label }}",type:"select",customConditional:function(n){var e=n.row;return"property"===e.type&&e.hasOwnProperty("property")&&"boolean"===e.property.type}},{weight:30,type:"textfield",key:"text",label:"Text",inputType:"text",input:!0,tableView:!1,description:'Can use templating with {{ data.myfield }}. "data", "row", "component" and "result" variables are available.',customConditional:function(n){var e=n.row;return"property"===e.type&&e.hasOwnProperty("property")&&"string"===e.property.type&&!e.property.component}},{weight:20,input:!0,label:"Value (Javascript)",key:"value",editor:"ace",as:"javascript",rows:5,placeholder:"value = data.myfield;",type:"textarea",tableView:!1,description:'"row", "data", "component", and "result" variables are available. Return the value.',customConditional:function(n){return"value"===n.row.type}},{weight:20,input:!0,label:"Schema Defenition",key:"schemaDefinition",editor:"ace",as:"javascript",rows:5,placeholder:"schema = { label: 'Updated' };",type:"textarea",tableView:!1,description:'"row", "data", "component", and "result" variables are available. Return the schema.',customConditional:function(n){return"mergeComponentSchema"===n.row.type}},Object.assign(i.default.logicVariablesTable("inputThe value that was input into this component"),{customConditional:function(n){return"customAction"===n.row.type}}),{weight:20,input:!0,label:"Custom Action (Javascript)",key:"customAction",editor:"ace",rows:5,placeholder:"value = data.myfield;",type:"textarea",tableView:!1,customConditional:function(n){return"customAction"===n.row.type}}]}]}]}];e.default=r},"15JJ":function(n,e,t){"use strict";t.d(e,"a",(function(){return s}));var l=t("mrSG"),i=t("MGBS"),o=t("rPjj"),r=t("zotm"),u=t("67Y/"),a=t("0/uQ");function s(n,e){return"function"==typeof e?function(t){return t.pipe(s((function(t,l){return Object(a.a)(n(t,l)).pipe(Object(u.a)((function(n,i){return e(t,n,l,i)})))})))}:function(e){return e.lift(new c(n))}}var c=function(){function n(n){this.project=n}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.project))},n}(),d=function(n){function e(e,t){var l=n.call(this,e)||this;return l.project=t,l.index=0,l}return l.d(e,n),e.prototype._next=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=this.innerSubscription;l&&l.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(r.a)(this,n,e,t,i)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||n.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&n.prototype._complete.call(this)},e.prototype.notifyNext=function(n,e,t,l,i){this.destination.next(e)},e}(i.a)},"15Mq":function(n,e,t){"use strict";t("eoL8"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l=u(t("LvDl")),i=u(t("hqGn")),o=u(t("cEDu")),r=u(t("jL0g"));function u(n){return n&&n.__esModule?n:{default:n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n,e){for(var t=0;t\n
\n \n\n','
\n
\n \n
\n'}},"1U75":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='\n \n \n "})),t+="\n\n"}},"1Y/n":function(n,e,t){"use strict";var l=t("We1y"),i=t("ewvW"),o=t("RK3t"),r=t("B/qT"),u=TypeError,a="Reduce of empty array with no initial value",s=function(n){return function(e,t,s,c){var d=i(e),p=o(d),h=r(d);if(l(t),0===h&&s<2)throw new u(a);var g=n?h-1:0,f=n?-1:1;if(s<2)for(;;){if(g in p){c=p[g],g+=f;break}if(g+=f,n?g<0:h<=g)throw new u(a)}for(;n?g>=0:h>g;g+=f)g in p&&(c=t(c,p[g],g,d));return c}};n.exports={left:s(!1),right:s(!0)}},"1Z4R":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"autofocus",ignore:!0},{key:"tabindex",ignore:!0}]},"1dYe":function(n,e,t){"use strict";var l=t("67WC"),i=t("tycR").forEach,o=l.aTypedArray;(0,l.exportTypedArrayMethod)("forEach",(function(n){i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"1eKU":function(n,e,t){"use strict";t("gXIK"),t("7+zs"),t("eoL8"),t("+2oP"),t("sMBO"),t("pjDv"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.GlobalFormio=void 0,t("J30X"),t("rB9j"),t("Rm1S"),t("hByQ"),t("yXV3"),t("ma9I"),t("TWNs"),t("JfAA"),t("UxlC"),t("oVuX"),t("yq1k"),t("JTJg"),t("4l63"),t("zKZe"),t("QWBl"),t("07d7"),t("FZtP"),t("qePV"),t("TeQF"),t("ToJy"),t("2B1R"),t("E9XD"),t("DQNa"),t("R5XZ"),t("pNMO"),t("4Brf"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ");var l=f(t("CFBA")),i=f(t("FBMA")),o=f(t("0iw5")),r=f(t("79+i")),u=f(t("Of5P")),a=f(t("0XPj")),s=f(t("mwIZ")),c=f(t("BkRI")),d=f(t("la6v")),p=t("5P0i"),h=f(t("gx/E"));t("tSSC");var g=f(t("ok1k"));function f(n){return n&&n.__esModule?n:{default:n}}function m(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var l,i,o,r,u=[],a=!0,s=!1;try{if(o=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;a=!1}else for(;!(a=(l=o.call(t)).done)&&(u.push(l.value),u.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(s)throw i}}return u}}(n,e)||b(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(n,e){if(n){if("string"==typeof n)return v(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(n,e):void 0}}function v(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,l=new Array(e);t1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,n),!(this instanceof n))return new n(e);if(this.base="",this.projectsUrl="",this.projectUrl="",this.projectId="",this.roleUrl="",this.rolesUrl="",this.roleId="",this.formUrl="",this.formsUrl="",this.formId="",this.submissionsUrl="",this.submissionUrl="",this.submissionId="",this.actionsUrl="",this.actionId="",this.actionUrl="",this.vsUrl="",this.vId="",this.vUrl="",this.query="",this.path=e,this.options=l,l.useSessionToken&&n.useSessionToken(l),l.hasOwnProperty("base")?this.base=l.base:n.baseUrl?this.base=n.baseUrl:"undefined"!=typeof window&&(this.base=window.location.href.match(/http[s]?:\/\/api./)[0]),!e)return this.projectUrl=n.projectUrl||"".concat(this.base,"/project"),this.projectsUrl="".concat(this.base,"/project"),this.projectId=!1,void(this.query="");l.hasOwnProperty("project")&&(this.projectUrl=l.project);var i=this.projectUrl||n.projectUrl,o=/(^|\/)(project)($|\/[^/]+)/,r=-1!==e.search(o);i&&this.base===i&&!r&&(this.noProject=!0,this.projectUrl=this.base),0!==e.indexOf("http")&&0!==e.indexOf("//")&&(e=this.base+e);var u=this.getUrlParts(e),a=[],s=u[1]+u[2],c=(e=u.length>3?u[3]:"").split("?");c.length>1&&(e=c[0],this.query="?".concat(c[1]));var d=function(n,l){t["".concat(n,"sUrl")]="".concat(l,"/").concat(n);var i=new RegExp("/".concat(n,"/([^/]+)"));return-1!==e.search(i)&&(a=e.match(i),t["".concat(n,"Url")]=a?l+a[0]:"",t["".concat(n,"Id")]=a.length>1?a[1]:"",l+=a[0]),l},p=function n(e,t,l){for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(Array.isArray(o))n(o,t,!0);else{var r=d(o,t);t=l?t:r}}};if(!this.projectUrl||this.projectUrl===this.base)if(this.projectUrl||r||"Subdirectories"!==n.pathType)this.projectUrl=s;else{var h="^".concat(s.replace(/\//g,"\\/"),".[^/]+"),g=i.match(new RegExp(h));this.projectUrl=g?g[0]:s}var f=!1;if(n.pathType&&(f="Subdomains"!==n.pathType),!this.noProject){if(r)p(["project"],s),e=e.replace(o,"");else if(s===this.base){if(u.length>3&&e.split("/").length>1){var m=e.match(/.json/),b=e.split("/");m?this.projectUrl=s:(b.shift(),this.projectId=b.shift(),e="/".concat(b.join("/")),this.projectUrl="".concat(s,"/").concat(this.projectId))}}else u.length>2&&(u[2].split(".").length>2||s.includes("localhost"))&&!f&&(this.projectUrl=s,this.projectId=u[2].split(".")[0]);this.projectsUrl=this.projectsUrl||"".concat(this.base,"/project")}if(p(["role"],this.projectUrl),/(^|\/)(form)($|\/)/.test(e))p(["form",["submission","action","v"]],this.projectUrl);else{var v=new RegExp("/(submission|action|v)($|/.*)"),A=e.match(v);this.pathType=A&&A.length>1?A[1]:"",e=(e=e.replace(v,"")).replace(/\/$/,""),this.formsUrl="".concat(this.projectUrl,"/form"),this.formUrl=e?this.projectUrl+e:"",this.formId=e.replace(/^\/+|\/+$/g,"");var C=["submission","action","v"];for(var w in C)if(C.hasOwnProperty(w)){var x=C[w];this["".concat(x,"sUrl")]="".concat(this.projectUrl+e,"/").concat(x),this.pathType===x&&A.length>2&&A[2]&&(this["".concat(x,"Id")]=A[2].replace(/^\/+|\/+$/g,""),this["".concat(x,"Url")]=this.projectUrl+e+A[0])}}n.projectUrlSet||(n.projectUrl=this.projectUrl)}var e,t,i;return e=n,i=[{key:"useSessionToken",value:function(e){var t="".concat(e.namespace||n.namespace||"formio","Token"),l=localStorage.getItem(t);l&&(localStorage.removeItem(t),sessionStorage.setItem(t,l));var i="".concat(e.namespace||n.namespace||"formio","User"),o=localStorage.getItem(i);o&&(localStorage.removeItem(i),sessionStorage.setItem(i,o)),localStorage.setItem("useSessionToken",!0)}},{key:"loadProjects",value:function(e,t){return O(e=e||"")&&(e="?".concat(n.serialize(e.params))),n.makeStaticRequest("".concat(n.baseUrl,"/project").concat(e),"GET",null,t)}},{key:"getUrlParts",value:function(e,t){var l=t&&t.base?t.base:n.baseUrl,i="^(http[s]?:\\/\\/)";return l&&0===e.indexOf(l)?i+="(".concat(l.replace(/^http[s]?:\/\//,""),")"):i+="([^/]+)",i+="($|\\/.*)",e.match(new RegExp(i))}},{key:"serialize",value:function(n,e){var t,l=[];for(var i in n)n.hasOwnProperty(i)&&l.push("".concat(encodeURIComponent(i),"=").concat(encodeURIComponent((t=n[i],e?e(t):t))));return l.join("&")}},{key:"getRequestArgs",value:function(n,e,t,l,i,o){l=(l||"GET").toUpperCase(),o&&O(o)||(o={});var r={url:t,method:l,data:i||null,opts:o};return e&&(r.type=e),n&&(r.formio=n),r}},{key:"makeStaticRequest",value:function(e,t,l,i){var o=n.getRequestArgs(null,"",e,t,l,i),r=n.pluginWait("preRequest",o).then((function(){return n.pluginGet("staticRequest",o).then((function(e){return k(e)?n.request(o.url,o.method,o.data,o.opts.header,o.opts):e}))}));return n.pluginAlter("wrapStaticRequestPromise",r,o)}},{key:"makeRequest",value:function(e,t,l,i,o,r){if(!e)return n.makeStaticRequest(l,i,o,r);var u=n.getRequestArgs(e,t,l,i,o,r);u.opts=u.opts||{},u.opts.formio=e,u.opts.headers||(u.opts.headers={}),u.opts.headers=(0,d.default)(u.opts.headers,{Accept:"application/json","Content-type":"application/json"});var a=n.pluginWait("preRequest",u).then((function(){return n.pluginGet("request",u).then((function(e){return k(e)?n.request(u.url,u.method,u.data,u.opts.header,u.opts):e}))}));return n.pluginAlter("wrapRequestPromise",a,u)}},{key:"request",value:function(e,t,i,o,r){if(!e)return l.default.reject("No url provided");var u=n;t=(t||"GET").toUpperCase(),w(r)===w(!0)&&(r={ignoreCache:r}),r&&O(r)||(r={});var a=btoa(encodeURI(e));if(!r.ignoreCache&&"GET"===t&&u.cache.hasOwnProperty(a))return l.default.resolve(M(u.cache[a]));var s=o||new P(r.headers||{Accept:"application/json","Content-type":"application/json"}),c=u.getToken(r);c&&!r.noToken&&s.append("x-jwt-token",c);var d={};s.forEach((function(n,e){d[e]=n}));var p={method:t,headers:d,mode:"cors"};i&&(p.body=JSON.stringify(i)),((p=u.pluginAlter("requestOptions",p,e)).namespace||u.namespace)&&(r.namespace=p.namespace||u.namespace);var h=p.headers["x-jwt-token"];return u.pluginAlter("wrapFetchRequestPromise",u.fetch(e,p),{url:e,method:t,data:i,opts:r}).then((function(n){if(!(n=u.pluginAlter("requestResponse",n,u,i)).ok){if(440===n.status)u.setToken(null,r),u.events.emit("formio.sessionExpired",n.body);else if(401===n.status)u.events.emit("formio.unauthorized",n.body);else if(416===n.status)u.events.emit("formio.rangeIsNotSatisfiable",n.body);else if(504===n.status)return l.default.reject(new Error("Network request failed"));return(n.headers.get("content-type").includes("application/json")?n.json():n.text()).then((function(n){return l.default.reject(n)}))}var o=n.headers.get("x-jwt-token"),a=!1;return"GET"!==t||h||!o||r.external||e.includes("token=")||e.includes("x-jwt-token=")||(console.warn("Token was introduced in request."),a=!0),n.status>=200&&n.status<300&&o&&""!==o&&!a&&u.setToken(o,r),204===n.status?{}:(n.headers.get("content-type").includes("application/json")?n.json():n.text()).then((function(e){var t=n.headers.get("content-range");if(t&&O(e)){if("*"!==(t=t.split("/"))[0]){var l=t[0].split("-");e.skip=Number(l[0]),e.limit=l[1]-l[0]+1}e.serverCount="*"===t[1]?t[1]:Number(t[1])}if(!r.getHeaders)return e;var i={};return n.headers.forEach((function(n,e){i[e]=n})),{result:e,headers:i}}))})).then((function(n){return r.getHeaders?n:("GET"===t&&(u.cache[a]=n),M(n))})).catch((function(n){return"Bad Token"===n&&(u.setToken(null,r),u.events.emit("formio.badToken",n)),n.message&&((n=new Error("Could not connect to API server (".concat(n.message,"): ").concat(e))).networkError=!0),"GET"===t&&delete u.cache[a],l.default.reject(n)}))}},{key:"token",get:function(){return n.tokens||(n.tokens={}),n.tokens.formioToken||""},set:function(e){n.tokens||(n.tokens={}),n.tokens.formioToken=e||""}},{key:"setToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;e=e||"",t="string"==typeof t?{namespace:t}:t||{};var i="".concat(t.namespace||n.namespace||"formio","Token");n.tokens||(n.tokens={});var o=localStorage.getItem("useSessionToken")?sessionStorage:localStorage;if(!e){t.fromUser||(t.fromToken=!0,n.setUser(null,t));try{o.removeItem(i)}catch(u){r.default.erase(i,{path:"/"})}return n.tokens[i]=e,l.default.resolve(null)}if(n.tokens[i]!==e){n.tokens[i]=e;try{o.setItem(i,e)}catch(u){r.default.set(i,e,{path:"/"})}}return this.currentUserResolved?n.currentUser(t.formio,t):l.default.resolve(null)}},{key:"getToken",value:function(e){e="string"==typeof e?{namespace:e}:e||{};var t="".concat(e.namespace||n.namespace||"formio","Token"),l=e.decode?"".concat(t,"Decoded"):t;if(n.tokens||(n.tokens={}),n.tokens[l])return n.tokens[l];try{var i=localStorage.getItem("useSessionToken")?sessionStorage.getItem(t):localStorage.getItem(t);return n.tokens[t]=i||"",e.decode?(n.tokens[l]=n.tokens[t]?(0,h.default)(n.tokens[t]):{},n.tokens[l]):n.tokens[t]}catch(o){return n.tokens[t]=r.default.get(t),n.tokens[t]}}},{key:"oauthLogoutURI",value:function(e,t){t="string"==typeof t?{namespace:t}:t||{};var l="".concat(t.namespace||n.namespace||"formio","LogoutAuthUrl");return n.tokens[l],localStorage.setItem(l,e),n.tokens[l]}},{key:"setUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l="".concat(t.namespace||n.namespace||"formio","User"),i=localStorage.getItem("useSessionToken")?sessionStorage:localStorage;if(!e){t.fromToken||(t.fromUser=!0,n.setToken(null,t)),n.events.emit("formio.user",null);try{return i.removeItem(l)}catch(o){return r.default.erase(l,{path:"/"})}}try{i.setItem(l,JSON.stringify(e))}catch(o){r.default.set(l,JSON.stringify(e),{path:"/"})}n.events.emit("formio.user",e)}},{key:"getUser",value:function(e){e=e||{};var t="".concat(e.namespace||n.namespace||"formio","User");try{return JSON.parse((localStorage.getItem("useSessionToken")?sessionStorage:localStorage).getItem(t)||null)}catch(l){return JSON.parse(r.default.get(t))}}},{key:"setBaseUrl",value:function(e){n.baseUrl=e,n.projectUrlSet||(n.projectUrl=e)}},{key:"getBaseUrl",value:function(){return n.baseUrl}},{key:"setApiUrl",value:function(e){return n.setBaseUrl(e)}},{key:"getApiUrl",value:function(){return n.getBaseUrl()}},{key:"setAppUrl",value:function(e){console.warn("Formio.setAppUrl() is deprecated. Use Formio.setProjectUrl instead."),n.projectUrl=e,n.projectUrlSet=!0}},{key:"setProjectUrl",value:function(e){n.projectUrl=e,n.projectUrlSet=!0}},{key:"setAuthUrl",value:function(e){n.authUrl=e}},{key:"getAppUrl",value:function(){return console.warn("Formio.getAppUrl() is deprecated. Use Formio.getProjectUrl instead."),n.projectUrl}},{key:"getProjectUrl",value:function(){return n.projectUrl}},{key:"clearCache",value:function(){n.cache={}}},{key:"noop",value:function(){}},{key:"identity",value:function(n){return n}},{key:"deregisterPlugin",value:function(e){var t=n.plugins.length;return n.plugins=n.plugins.filter((function(t){return t!==e&&t.__name!==e||((t.deregister||n.noop).call(e,n),!1)})),t!==n.plugins.length}},{key:"registerPlugin",value:function(e,t){var l=n;l.plugins.push(e),l.plugins.sort((function(n,e){return(e.priority||0)-(n.priority||0)})),e.__name=t,(e.init||l.noop).call(e,l)}},{key:"getPlugin",value:function(e){var t,l=function(n,e){var t="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=b(n))||e&&n&&"number"==typeof n.length){t&&(n=t);var l=0,i=function(){};return{s:i,n:function(){return l>=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,u=!1;return{s:function(){t=t.call(n)},n:function(){var n=t.next();return r=n.done,n},e:function(n){u=!0,o=n},f:function(){try{r||null==t.return||t.return()}finally{if(u)throw o}}}}(n.plugins);try{for(l.s();!(t=l.n()).done;){var i=t.value;if(i.__name===e)return i}}catch(o){l.e(o)}finally{l.f()}return null}},{key:"pluginWait",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o1?t-1:0),o=1;o2?l-2:0),o=2;o1&&(n[t[0]]=t[1]&&decodeURIComponent(t[1]))})),e.forEach((function(e){(t=e.split("=")).length>1?n[t[0]]=t[1]&&decodeURIComponent(t[1]):0===e.indexOf("/")&&(n.paths=e.substr(1).split("/"))})),n}},{key:"oAuthCurrentUser",value:function(e,t){return n.currentUser(e,{external:!0,headers:{Authorization:"Bearer ".concat(t)}})}},{key:"samlInit",value:function(e){e=e||{};var t=n.pageQuery();if(t.saml){n.setUser(null);var l=n.setToken(t.saml),i=window.location.toString();return i=i.substring(0,i.indexOf("?")),window.location.hash&&(i+=window.location.hash),window.history.replaceState({},document.title,i),l}e.relay||(e.relay=window.location.href);var o=n.authUrl||n.projectUrl;return window.location.href="".concat(o,"/saml/sso?relay=").concat(encodeURI(e.relay)),!1}},{key:"oktaInit",value:function(e){if(e=e||{},void 0!==("undefined"==typeof OktaAuth?"undefined":w(OktaAuth))&&(e.OktaAuth=OktaAuth),void 0===w(e.OktaAuth)){var t="Cannot find OktaAuth. Please include the Okta JavaScript SDK within your application. See https://developer.okta.com/code/javascript/okta_auth_sdk for an example.";return console.warn(t),l.default.reject(t)}return new l.default((function(t,l){var i=e.OktaAuth;delete e.OktaAuth;var o=new i(e);o.tokenManager.get("accessToken").then((function(i){i?t(n.oAuthCurrentUser(e.formio,i.accessToken)):location.hash?o.token.parseFromUrl().then((function(l){o.tokenManager.add("accessToken",l),t(n.oAuthCurrentUser(e.formio,l.accessToken))})).catch((function(n){console.warn(n),l(n)})):(o.token.getWithRedirect({responseType:"token",scopes:e.scopes}),t(!1))})).catch((function(n){l(n)}))}))}},{key:"ssoInit",value:function(e,t){switch(e){case"saml":return n.samlInit(t);case"okta":return n.oktaInit(t);default:return console.warn("Unknown SSO type"),l.default.reject("Unknown SSO type")}}},{key:"requireLibrary",value:function(e,t,i,o,r){if(!n.libraries.hasOwnProperty(e)){n.libraries[e]={},n.libraries[e].ready=new l.default((function(t,l){n.libraries[e].resolve=t,n.libraries[e].reject=l}));var u="".concat(e,"Callback");o||window[u]||(window[u]=function(){return n.libraries[e].resolve()});var a=(0,s.default)(window,t);if(a)n.libraries[e].resolve(a);else if((i=Array.isArray(i)?i:[i]).forEach((function(t){var l={},i="";switch("string"==typeof t&&(t={type:"script",src:t}),t.type){case"script":i="script",l={src:t.src,type:"text/javascript",defer:!0,async:!0,referrerpolicy:"origin"};break;case"styles":i="link",l={href:t.src,rel:"stylesheet"}}var o=document.createElement(i);if(o.setAttribute)for(var u in l)o.setAttribute(u,l[u]);r&&o.addEventListener("load",(function(){n.libraries[e].loaded=!0,r(n.libraries[e].ready)}));var a=document.head;a&&a.appendChild(o)})),o)var c=setInterval((function(){var l=(0,s.default)(window,t);l&&(clearInterval(c),n.libraries[e].resolve(l))}),200)}var d=n.libraries[e];return r&&d.loaded?r(d.ready):d.ready}},{key:"libraryReady",value:function(e){return n.libraries.hasOwnProperty(e)&&n.libraries[e].ready?n.libraries[e].ready:l.default.reject("".concat(e," library was not required."))}},{key:"addToGlobal",value:function(e){"object"!==w(e)||e.Formio||(e.Formio=n)}},{key:"setPathType",value:function(e){"string"==typeof e&&(n.pathType=e)}},{key:"getPathType",value:function(){return n.pathType}},{key:"rulesEntities",get:function(){return{ValueSources:n.ValueSources,Conjunctions:n.Conjunctions,Operators:n.Operators,Transformers:n.Transformers,QuickRules:n.QuickRules,Rules:n.Rules}}},{key:"GlobalFormio",get:function(){return"undefined"!=typeof global&&global.Formio?global.Formio:"undefined"!=typeof window&&window.Formio?window.Formio:n}}],(t=[{key:"delete",value:function(e,t){var i="".concat(e,"Id"),o="".concat(e,"Url");return this[i]?(n.cache={},this.makeRequest(e,this[o],"delete",null,t)):l.default.reject("Nothing to delete")}},{key:"index",value:function(e,t,l){var i="".concat(e,"Url");return(t=t||"")&&O(t)&&(t="?".concat(n.serialize(t.params))),this.makeRequest(e,this[i]+t,"get",null,l)}},{key:"save",value:function(e,t,l){var i="".concat(e,"Id"),o="".concat(e,"Url"),r=this[i]||t._id?"put":"post",u=this[i]?this[o]:this["".concat(e,"sUrl")];return this[i]||!t._id||"put"!==r||u.includes(t._id)||(u+="/".concat(t._id)),n.cache={},this.makeRequest(e,u+this.query,r,t,l)}},{key:"load",value:function(e,t,i){var o="".concat(e,"Id"),r="".concat(e,"Url");if(t&&O(t)&&(t=n.serialize(t.params)),t=t?this.query?"".concat(this.query,"&").concat(t):"?".concat(t):this.query,!this[o])return l.default.reject("Missing ".concat(o));var u=this[r]+t;return"form"!==e||isNaN(parseInt(this.vId))||0===parseInt(this.vId)||(u+=u.match(/\?/)?"&":"?",u+="formRevision=".concat(this.vId)),this.makeRequest(e,u,"get",null,i)}},{key:"makeRequest",value:function(){for(var e=arguments.length,t=new Array(e),l=0;l-1&&("read"===n.defaultPermission&&(r[o.read]=!0),"create"===n.defaultPermission&&(r[o.create]=!0,r[o.read]=!0),"write"===n.defaultPermission&&(r[o.create]=!0,r[o.read]=!0,r[o.update]=!0),"admin"===n.defaultPermission&&(r[o.create]=!0,r[o.read]=!0,r[o.update]=!0,r[o.delete]=!0))}))}})),r}))}},{key:"canSubmit",value:function(){var e=this;return this.userPermissions().then((function(t){return!t.create&&n.getUser()?e.userPermissions(null).then((function(e){return!!e.create&&(n.setUser(null),!0)})):t.create}))}},{key:"getUrlParts",value:function(e){return n.getUrlParts(e,this)}}])&&A(e.prototype,t),i&&A(e,i),Object.defineProperty(e,"prototype",{writable:!1}),n}();S=E,T=!0,(I=C(I="currentUserResolved"))in S?Object.defineProperty(S,I,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[I]=T,E.libraries={},E.Promise=l.default,E.fetch=_,E.Headers=P,E.baseUrl="https://api.form.io",E.projectUrl=E.baseUrl,E.authUrl="",E.projectUrlSet=!1,E.plugins=[],E.cache={},E.Providers=u.default,E.version="4.19.2",E.pathType="",E.events=new o.default,E.cdn=new g.default,(E.version||"").includes("rc")&&E.cdn.setBaseUrl("https://cdn.test-form.io"),"undefined"!=typeof global&&E.addToGlobal(global),"undefined"!=typeof window&&E.addToGlobal(window);var D=E.GlobalFormio;e.GlobalFormio=D;var R=E;e.default=R},"1fDf":function(n,e,t){"use strict";t.d(e,"a",(function(){return i}));var l=t("FFOo");function i(n){for(;n;){var e=n,t=e.closed,i=e.destination,o=e.isStopped;if(t||o)return!1;n=i&&i instanceof l.a?i:null}return!0}},"1hJj":function(n,e,t){var l=t("e4Nc"),i=t("ftKO"),o=t("3A9y");function r(n){var e=-1,t=null==n?0:n.length;for(this.__data__=new l;++e\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&(t+=' '),t+="\n \n "})),t+="\n ",n.hasExtraColumn&&(t+="\n \n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(t+='\n \n "),t+="\n \n "),t+="\n \n \n "),t+='\n \n ',n.rows.forEach((function(l,i){t+="\n ",n.hasGroups&&n.groups[i]&&(t+='\n \n '+(null==(e=n.groups[i].label)?"":e)+"\n \n "),t+='\n \n ',n.component.reorder&&(t+='\n \n \n \n '),t+="\n ",n.columns.forEach((function(i){t+='\n \n '+(null==(e=l[i.key])?"":e)+"\n \n "})),t+="\n ",n.hasExtraColumn&&(t+="\n ",n.hasRemoveButtons&&(t+='\n \n \n \n '),t+="\n ",n.canAddColumn&&(t+='\n \n '+(null==(e=n.placeholder)?"":e)+"\n \n "),t+="\n "),t+="\n \n "})),t+="\n \n ",n.hasAddButton&&n.hasBottomSubmit&&(t+='\n \n \n \n \n \n \n \n "),t+="\n\n"}},"1pb4":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n
\n
\n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(t+="\n ",n.group.componentOrder.forEach((function(l){t+='\n \n ',n.group.components[l].icon&&(t+='\n \n '),t+="\n "+(null==(e=n.t(n.group.components[l].title,{_userInput:!0}))?"":e)+"\n \n "})),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):t+="\n
"+(null==(e=n.t("No Matches Found"))?"":e)+"
\n ",t+="\n
\n
\n\n\n"}},"1ppg":function(n,e,t){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}})}(t("wd/R"))},"1rYy":function(n,e,t){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(n){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(n)},meridiem:function(n){return n<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":n<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":n<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(n,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===n?n+"-\u056b\u0576":n+"-\u0580\u0564";default:return n}},week:{dow:1,doy:7}})}(t("wd/R"))},"1tal":function(n,e,t){"use strict";var l=TypeError;n.exports=function(n,e){if(n>>1|J<<31)^(X>>>8|J<<24)^X>>>7,Z=(J>>>1|X<<31)^(J>>>8|X<<24)^(J>>>7|X<<25),nn=s[Y-2],en=nn.high,tn=nn.low,ln=(en>>>19|tn<<13)^(en<<3|tn>>>29)^en>>>6,on=(tn>>>19|en<<13)^(tn<<3|en>>>29)^(tn>>>6|en<<26),rn=s[Y-7],un=rn.high,an=rn.low,sn=s[Y-16],cn=sn.high,dn=sn.low;W=(W=(W=$+un+((G=Z+an)>>>0>>0?1:0))+ln+((G+=on)>>>0>>0?1:0))+cn+((G+=dn)>>>0>>0?1:0),Q.high=W,Q.low=G}var pn,hn=B&j^~B&U,gn=F&V^~F&z,fn=S&T^S&D^T&D,mn=I&E^I&R^E&R,bn=(S>>>28|I<<4)^(S<<30|I>>>2)^(S<<25|I>>>7),vn=(I>>>28|S<<4)^(I<<30|S>>>2)^(I<<25|S>>>7),yn=(B>>>14|F<<18)^(B>>>18|F<<14)^(B<<23|F>>>9),An=(F>>>14|B<<18)^(F>>>18|B<<14)^(F<<23|B>>>9),Cn=a[Y],wn=Cn.high,xn=Cn.low,_n=H+yn+((pn=q+An)>>>0>>0?1:0),Pn=vn+mn;H=U,q=z,U=j,z=V,j=B,V=F,B=L+(_n=(_n=(_n=_n+hn+((pn+=gn)>>>0>>0?1:0))+wn+((pn+=xn)>>>0>>0?1:0))+W+((pn+=G)>>>0>>0?1:0))+((F=N+pn|0)>>>0>>0?1:0)|0,L=D,N=R,D=T,R=E,T=S,E=I,S=_n+(bn+fn+(Pn>>>0>>0?1:0))+((I=pn+Pn|0)>>>0>>0?1:0)|0}g=l.low=g+I,l.high=h+S+(g>>>0>>0?1:0),m=i.low=m+E,i.high=f+T+(m>>>0>>0?1:0),v=o.low=v+R,o.high=b+D+(v>>>0>>0?1:0),A=r.low=A+N,r.high=y+L+(A>>>0>>0?1:0),w=u.low=w+F,u.high=C+B+(w>>>0>>0?1:0),_=c.low=_+V,c.high=x+j+(_>>>0>>0?1:0),k=d.low=k+z,d.high=P+U+(k>>>0>>0?1:0),M=p.low=M+q,p.high=O+H+(M>>>0>>0?1:0)},_doFinalize:function(){var n=this._data,e=n.words,t=8*this._nDataBytes,l=8*n.sigBytes;return e[l>>>5]|=128<<24-l%32,e[30+(l+128>>>10<<5)]=Math.floor(t/4294967296),e[31+(l+128>>>10<<5)]=t,n.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var n=e.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:32});n.SHA512=e._createHelper(c),n.HmacSHA512=e._createHmacHelper(c)}(),l.SHA512)},"1v02":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return"Loading...\n","Loading...\n"}},"1w02":function(n,e){n.exports=function(n,e,t){for(var l=-1,i=n.length,o=e.length,r={};++l=48&&e<=57))return!1;t++}return!0}function p(n){return-1===n.indexOf("/")&&-1===n.indexOf("~")?n:n.replace(/~/g,"~0").replace(/\//g,"~1")}function h(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")}function g(n,e){var t=[n];for(var l in e){var i="object"==typeof e[l]?JSON.stringify(e[l],null,2):e[l];void 0!==i&&t.push(l+": "+i)}return t.join("\n")}var f=function(n){function e(e,t,l,i,o){var r=this.constructor,u=n.call(this,g(e,{name:t,index:l,operation:i,tree:o}))||this;return u.name=t,u.index=l,u.operation=i,u.tree=o,Object.setPrototypeOf(u,r.prototype),u.message=g(e,{name:t,index:l,operation:i,tree:o}),u}return r(e,n),e}(Error),m=f,b=c,v={add:function(n,e,t){return n[e]=this.value,{newDocument:t}},remove:function(n,e,t){var l=n[e];return delete n[e],{newDocument:t,removed:l}},replace:function(n,e,t){var l=n[e];return n[e]=this.value,{newDocument:t,removed:l}},move:function(n,e,t){var l=A(t,this.path);l&&(l=c(l));var i=C(t,{op:"remove",path:this.from}).removed;return C(t,{op:"add",path:this.path,value:i}),{newDocument:t,removed:l}},copy:function(n,e,t){var l=A(t,this.from);return C(t,{op:"add",path:this.path,value:c(l)}),{newDocument:t}},test:function(n,e,t){return{newDocument:t,test:k(n[e],this.value)}},_get:function(n,e,t){return this.value=n[e],{newDocument:t}}},y={add:function(n,e,t){return d(e)?n.splice(e,0,this.value):n[e]=this.value,{newDocument:t,index:e}},remove:function(n,e,t){return{newDocument:t,removed:n.splice(e,1)[0]}},replace:function(n,e,t){var l=n[e];return n[e]=this.value,{newDocument:t,removed:l}},move:v.move,copy:v.copy,test:v.test,_get:v._get};function A(n,e){if(""==e)return n;var t={op:"_get",path:e};return C(n,t),t.value}function C(n,e,t,l,i,o){if(void 0===t&&(t=!1),void 0===l&&(l=!0),void 0===i&&(i=!0),void 0===o&&(o=0),t&&("function"==typeof t?t(e,0,n,e.path):_(e,0)),""===e.path){var r={newDocument:n};if("add"===e.op)return r.newDocument=e.value,r;if("replace"===e.op)return r.newDocument=e.value,r.removed=n,r;if("move"===e.op||"copy"===e.op)return r.newDocument=A(n,e.from),"move"===e.op&&(r.removed=n),r;if("test"===e.op){if(r.test=k(n,e.value),!1===r.test)throw new m("Test operation failed","TEST_OPERATION_FAILED",o,e,n);return r.newDocument=n,r}if("remove"===e.op)return r.removed=n,r.newDocument=null,r;if("_get"===e.op)return e.value=n,r;if(t)throw new m("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,e,n);return r}l||(n=c(n));var u=(e.path||"").split("/"),a=n,s=1,p=u.length,g=void 0,f=void 0,b=void 0;for(b="function"==typeof t?t:_;;){if((f=u[s])&&-1!=f.indexOf("~")&&(f=h(f)),i&&("__proto__"==f||"prototype"==f&&s>0&&"constructor"==u[s-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(t&&void 0===g&&(void 0===a[f]?g=u.slice(0,s).join("/"):s==p-1&&(g=e.path),void 0!==g&&b(e,0,n,g)),s++,Array.isArray(a)){if("-"===f)f=a.length;else{if(t&&!d(f))throw new m("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,e,n);d(f)&&(f=~~f)}if(s>=p){if(t&&"add"===e.op&&f>a.length)throw new m("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,e,n);if(!1===(r=y[e.op].call(e,a,f,n)).test)throw new m("Test operation failed","TEST_OPERATION_FAILED",o,e,n);return r}}else if(s>=p){if(!1===(r=v[e.op].call(e,a,f,n)).test)throw new m("Test operation failed","TEST_OPERATION_FAILED",o,e,n);return r}if(a=a[f],t&&s0)throw new m('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,n,t);if(("move"===n.op||"copy"===n.op)&&"string"!=typeof n.from)throw new m("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,n,t);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&void 0===n.value)throw new m("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,n,t);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&function n(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t=0,l=e.length;t0&&(n.patches=[],n.callback&&n.callback(l)),l}function D(n,e,t,l,i){if(e!==n){"function"==typeof e.toJSON&&(e=e.toJSON());for(var o=s(e),r=s(n),u=!1,d=r.length-1;d>=0;d--){var h=n[f=r[d]];if(!a(e,f)||void 0===e[f]&&void 0!==h&&!1===Array.isArray(e))Array.isArray(n)===Array.isArray(e)?(i&&t.push({op:"test",path:l+"/"+p(f),value:c(h)}),t.push({op:"remove",path:l+"/"+p(f)}),u=!0):(i&&t.push({op:"test",path:l,value:n}),t.push({op:"replace",path:l,value:e}),!0);else{var g=e[f];"object"==typeof h&&null!=h&&"object"==typeof g&&null!=g&&Array.isArray(h)===Array.isArray(g)?D(h,g,t,l+"/"+p(f),i):h!==g&&(!0,i&&t.push({op:"test",path:l+"/"+p(f),value:c(h)}),t.push({op:"replace",path:l+"/"+p(f),value:c(g)}))}}if(u||o.length!=r.length)for(d=0;dd;)void 0!==(t=i(l,e=s[d++]))&&a(c,e,t);return c}})},"29mU":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n
\n ',n.values.forEach((function(n){t+='\n
\n '+(null==(e=n)?"":e)+"\n
\n "})),t+='\n
\n
\n ',n.node.hasChildren&&(t+='\n \n
\n '),t+="\n ",n.readOnly||(t+='\n \n
\n \n
\n \n ",n.node.revertAvailable&&(t+='\n
\n \n "),t+="\n "),t+="\n
\n
\n
\n
\n"}},"2B1R":function(n,e,t){"use strict";var l=t("I+eb"),i=t("tycR").map;l({target:"Array",proto:!0,forced:!t("Hd5f")("map")},{map:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0)}})},"2Bdj":function(n,e,t){"use strict";function l(n){return"function"==typeof n}t.d(e,"a",(function(){return l}))},"2Bqa":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t\n \n ",n.helplinks&&(t+='\n \n "),t+='\n\n
\n
\n ",n.preview||(t+='\n
\n \n \n \n
\n "),t+="\n
\n ",n.preview&&(t+='\n
\n
\n
\n

'+(null==(e=n.t("Preview"))?"":e)+'

\n
\n
\n
\n '+(null==(e=n.preview)?"":e)+"\n
\n
\n
\n ",n.componentInfo.help&&(t+='\n
\n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n
\n "),t+='\n
\n \n \n \n
\n
\n "),t+="\n
\n"}},"2WpN":function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var l=t("mrSG"),i=t("FFOo"),o=t("pugT");function r(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.callback=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.callback))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.add(new o.a(t)),l}return l.d(e,n),e}(i.a)},"2Z+L":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return t+='\n \n \n \n \n \n \n \n \n
\n '+(null==(e=n.element)?"":e)+'\n
\n \n
\n"}},"2Zix":function(n,e,t){"use strict";var l=t("NC/Y");n.exports=/MSIE|Trident/.test(l)},"2ajD":function(n,e){n.exports=function(n){return n!=n}},"2bX/":function(n,e,t){"use strict";var l=t("0GbY"),i=t("Fib7"),o=t("OpvP"),r=t("/b8u"),u=Object;n.exports=r?function(n){return"symbol"==typeof n}:function(n){var e=l("Symbol");return i(e)&&o(e.prototype,u(n))}},"2c7+":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("EKyF");e.default={form:l.default}},"2ePl":function(n,e,t){"use strict";t.d(e,"a",(function(){return l}));var l=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n}},"2fNS":function(n,e,t){"use strict";var l=t("b5wT");n.exports=function(n,e){var t={};return l.forEach(n,(function(n,e){var i=t[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};l.isUndefined(n.barycenter)||(i.barycenter=n.barycenter,i.weight=n.weight)})),l.forEach(e.edges(),(function(n){var e=t[n.v],i=t[n.w];l.isUndefined(e)||l.isUndefined(i)||(i.indegree++,e.out.push(t[n.w]))})),function(n){var e=[];function t(n){return function(e){e.merged||(l.isUndefined(e.barycenter)||l.isUndefined(n.barycenter)||e.barycenter>=n.barycenter)&&function(n,e){var t=0,l=0;n.weight&&(t+=n.barycenter*n.weight,l+=n.weight);e.weight&&(t+=e.barycenter*e.weight,l+=e.weight);n.vs=e.vs.concat(n.vs),n.barycenter=t/l,n.weight=l,n.i=Math.min(e.i,n.i),e.merged=!0}(n,e)}}function i(e){return function(t){t.in.push(e),0==--t.indegree&&n.push(t)}}for(;n.length;){var o=n.pop();e.push(o),l.forEach(o.in.reverse(),t(o)),l.forEach(o.out,i(o))}return l.map(l.filter(e,(function(n){return!n.merged})),(function(n){return l.pick(n,["vs","i","barycenter","weight"])}))}(l.filter(t,(function(n){return!n.indegree})))}},"2fXf":function(n,e,t){"use strict";var l=t("I+eb"),i=t("2oRo"),o=t("xluM"),r=t("4zBA"),u=t("xDBR"),a=t("g6v/"),s=t("BPiQ"),c=t("0Dky"),d=t("Gi26"),p=t("OpvP"),h=t("glrk"),g=t("/GqU"),f=t("oEtG"),m=t("V37c"),b=t("XGwC"),v=t("fHMY"),y=t("33Wh"),A=t("JBy8"),C=t("BX/b"),w=t("dBg+"),x=t("Bs8V"),_=t("m/L8"),P=t("N+g0"),k=t("0eef"),O=t("yy0I"),M=t("7dAM"),S=t("VpIT"),I=t("93I0"),T=t("0BK2"),E=t("kOOl"),D=t("tiKp"),R=t("5Tg+"),L=t("4GWN"),N=t("V7lt"),B=t("1E5z"),F=t("afO8"),j=t("tycR").forEach,V=I("hidden"),U=F.set,z=F.getterFor("Symbol"),H=Object.prototype,q=i.Symbol,Y=q&&q.prototype,G=i.RangeError,W=i.TypeError,Q=i.QObject,K=x.f,X=_.f,J=C.f,$=k.f,Z=r([].push),nn=S("symbols"),en=S("op-symbols"),tn=S("wks"),ln=!Q||!Q.prototype||!Q.prototype.findChild,on=function(n,e,t){var l=K(H,e);l&&delete H[e],X(n,e,t),l&&n!==H&&X(H,e,l)},rn=a&&c((function(){return 7!==v(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?on:X,un=function(n,e){var t=nn[n]=v(Y);return U(t,{type:"Symbol",tag:n,description:e}),a||(t.description=e),t},an=function(n,e,t){n===H&&an(en,e,t),h(n);var l=f(e);return h(t),d(nn,l)?(t.enumerable?(d(n,V)&&n[V][l]&&(n[V][l]=!1),t=v(t,{enumerable:b(0,!1)})):(d(n,V)||X(n,V,b(1,v(null))),n[V][l]=!0),rn(n,l,t)):X(n,l,t)},sn=function(n,e){h(n);var t=g(e),l=y(t).concat(hn(t));return j(l,(function(e){a&&!o(cn,t,e)||an(n,e,t[e])})),n},cn=function(n){var e=f(n),t=o($,this,e);return!(this===H&&d(nn,e)&&!d(en,e))&&(!(t||!d(this,e)||!d(nn,e)||d(this,V)&&this[V][e])||t)},dn=function(n,e){var t=g(n),l=f(e);if(t!==H||!d(nn,l)||d(en,l)){var i=K(t,l);return!i||!d(nn,l)||d(t,V)&&t[V][l]||(i.enumerable=!0),i}},pn=function(n){var e=J(g(n)),t=[];return j(e,(function(n){d(nn,n)||d(T,n)||Z(t,n)})),t},hn=function(n){var e=n===H,t=J(e?en:g(n)),l=[];return j(t,(function(n){!d(nn,n)||e&&!d(H,n)||Z(l,nn[n])})),l};s||(O(Y=(q=function(){if(p(Y,this))throw new W("Symbol is not a constructor");var n=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=E(n),t=function(n){var l=void 0===this?i:this;l===H&&o(t,en,n),d(l,V)&&d(l[V],e)&&(l[V][e]=!1);var r=b(1,n);try{rn(l,e,r)}catch(u){if(!(u instanceof G))throw u;on(l,e,r)}};return a&&ln&&rn(H,e,{configurable:!0,set:t}),un(e,n)}).prototype,"toString",(function(){return z(this).tag})),O(q,"withoutSetter",(function(n){return un(E(n),n)})),k.f=cn,_.f=an,P.f=sn,x.f=dn,A.f=C.f=pn,w.f=hn,R.f=function(n){return un(D(n),n)},a&&(M(Y,"description",{configurable:!0,get:function(){return z(this).description}}),u||O(H,"propertyIsEnumerable",cn,{unsafe:!0}))),l({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:q}),j(y(tn),(function(n){L(n)})),l({target:"Symbol",stat:!0,forced:!s},{useSetter:function(){ln=!0},useSimple:function(){ln=!1}}),l({target:"Object",stat:!0,forced:!s,sham:!a},{create:function(n,e){return void 0===e?v(n):sn(v(n),e)},defineProperty:an,defineProperties:sn,getOwnPropertyDescriptor:dn}),l({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:pn}),N(),B(q,"Symbol"),T[V]=!0},"2fjn":function(n,e,t){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(n,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}}})}(t("wd/R"))},"2gN3":function(n,e,t){var l=t("Kz5y")["__core-js_shared__"];n.exports=l},"2j+i":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("ExoC"),t("wLYn"),t("NBAS"),t("SuFq"),t("uL8W"),t("XUE8"),t("5DmW"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("tkto"),t("TeQF"),t("27RR"),t("HRxU"),t("0oug"),t("PKPk"),t("3bBZ"),t("tjZM"),t("lEou"),t("DEfu"),t("I9xj"),t("Junv"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("eoL8"),t("R5XZ"),t("4mDm"),t("rOQg"),t("07d7"),t("XMab"),t("moxL"),t("qXVe"),t("c162"),t("waxf"),t("0TkE"),t("Onu3"),t("1dYe"),t("gvgV"),t("6R/c"),t("YL0P"),t("X5Zq"),t("MoCz"),t("P8wP"),t("ypFw"),t("JaFt"),t("zSZm"),t("PF2M"),t("KVSy"),t("ZJ55"),t("IZzc"),t("Fwt+"),t("s5qe"),t("cvf0"),t("oVuX"),t("2B1R"),t("J30X"),t("QWBl"),t("FZtP"),t("4l63"),t("sMBO"),t("brp2"),t("DQNa"),t("SYor"),t("yq1k"),t("JTJg"),t("pDQq"),t("fbCW"),t("ma9I"),t("toAj"),t("rB9j"),t("UxlC"),t("LKBx"),t("TWNs"),t("JfAA"),t("hByQ"),t("rNhl"),t("E9XD"),t("+2oP"),t("rZ3M"),t("5s+n"),t("Rfxz"),t("x0AG"),t("yXV3");var i=d(t("e4jL")),o=t("5P0i"),r=d(t("rrFr")),u=d(t("LvDl")),a=d(t("CFBA")),s=d(t("O87r")),c=d(t("hPIr"));function d(n){return n&&n.__esModule?n:{default:n}}function p(){p=function(){return n};var n={},e=Object.prototype,t=e.hasOwnProperty,i=Object.defineProperty||function(n,e,t){n[e]=t.value},o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function s(n,e,t){return Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),n[e]}try{s({},"")}catch(I){s=function(n,e,t){return n[e]=t}}function c(n,e,t,l){var o=e&&e.prototype instanceof g?e:g,r=Object.create(o.prototype),u=new O(l||[]);return i(r,"_invoke",{value:x(n,t,u)}),r}function d(n,e,t){try{return{type:"normal",arg:n.call(e,t)}}catch(I){return{type:"throw",arg:I}}}n.wrap=c;var h={};function g(){}function f(){}function m(){}var b={};s(b,r,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(M([])));y&&y!==e&&t.call(y,r)&&(b=y);var A=m.prototype=g.prototype=Object.create(b);function C(n){["next","throw","return"].forEach((function(e){s(n,e,(function(n){return this._invoke(e,n)}))}))}function w(n,e){var o;i(this,"_invoke",{value:function(i,r){function u(){return new e((function(o,u){!function i(o,r,u,a){var s=d(n[o],n,r);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==l(p)&&t.call(p,"__await")?e.resolve(p.__await).then((function(n){i("next",n,u,a)}),(function(n){i("throw",n,u,a)})):e.resolve(p).then((function(n){c.value=n,u(c)}),(function(n){return i("throw",n,u,a)}))}a(s.arg)}(i,r,o,u)}))}return o=o?o.then(u,u):u()}})}function x(n,e,t){var l="suspendedStart";return function(i,o){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===i)throw o;return S()}for(t.method=i,t.arg=o;;){var r=t.delegate;if(r){var u=_(r,t);if(u){if(u===h)continue;return u}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===l)throw l="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);l="executing";var a=d(n,e,t);if("normal"===a.type){if(l=t.done?"completed":"suspendedYield",a.arg===h)continue;return{value:a.arg,done:t.done}}"throw"===a.type&&(l="completed",t.method="throw",t.arg=a.arg)}}}function _(n,e){var t=e.method,l=n.iterator[t];if(void 0===l)return e.delegate=null,"throw"===t&&n.iterator.return&&(e.method="return",e.arg=void 0,_(n,e),"throw"===e.method)||"return"!==t&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+t+"' method")),h;var i=d(l,n.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[n.resultName]=o.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function P(n){var e={tryLoc:n[0]};1 in n&&(e.catchLoc=n[1]),2 in n&&(e.finallyLoc=n[2],e.afterLoc=n[3]),this.tryEntries.push(e)}function k(n){var e=n.completion||{};e.type="normal",delete e.arg,n.completion=e}function O(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(P,this),this.reset(!0)}function M(n){if(n){var e=n[r];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var l=-1,i=function e(){for(;++l=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return l("end");if(o.tryLoc<=this.prev){var u=t.call(o,"catchLoc"),a=t.call(o,"finallyLoc");if(u&&a){if(this.prev=0;--l){var i=this.tryEntries[l];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===n)return this.complete(t.completion,t.afterLoc),k(t),h}},catch:function(n){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===n){var l=t.completion;if("throw"===l.type){var i=l.arg;k(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,t){return this.delegate={iterator:M(n),resultName:e,nextLoc:t},"next"===this.method&&(this.arg=void 0),h}},n}function h(n,e,t,l,i,o,r){try{var u=n[o](r),a=u.value}catch(s){return void t(s)}u.done?e(a):Promise.resolve(a).then(l,i)}function g(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function f(n){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};return new a.default((function(t){var l=n.ce("input",f({type:"file",style:"height: 0; width: 0; visibility: hidden;",tabindex:"-1"},e));document.body.appendChild(l),l.addEventListener("change",(function(){t(l.files),document.body.removeChild(l)}),!0),"function"==typeof l.trigger?l.trigger("click"):l.click()}))}},{key:"cameraMode",get:function(){return this._cameraMode},set:function(n){this._cameraMode=n,n?this.startVideo():this.stopVideo()}},{key:"useWebViewCamera",get:function(){return this.imageUpload&&O}},{key:"imageUpload",get:function(){return Boolean(this.component.image)}},{key:"browseOptions",get:function(){var n={};if(this.component.multiple&&(n.multiple=!0),!this.isMobile.any){var e=this.component.filePattern.trim()||"";!this.imageUpload||e&&"*"!==e?this.imageUpload&&!e.includes("image/*")?n.accept="".concat("image/*",",").concat(e):n.accept=e:n.accept="image/*"}return n}},{key:"deleteFile",value:function(n){var e=this.component.options,t=void 0===e?{}:e;if(n&&["url","indexeddb"].includes(this.component.storage)){var l=this.fileService;if(l&&"function"==typeof l.deleteFile)l.deleteFile(n,t);else{var i=this.options.formio||this.root&&this.root.formio;i&&i.makeRequest("",n.url,"delete")}}}},{key:"attach",value:function(n){var e=this;this.loadRefs(n,{fileDrop:"single",fileBrowse:"single",galleryButton:"single",cameraButton:"single",takePictureButton:"single",toggleCameraMode:"single",videoPlayer:"single",fileLink:"multiple",removeLink:"multiple",fileStatusRemove:"multiple",fileImage:"multiple",fileType:"multiple",fileProcessingLoader:"single"}),this.refs.input=[];var t=A(P(g.prototype),"attach",this).call(this,n);if(this.refs.fileDrop){this.statuses.length||this.refs.fileDrop.removeAttribute("hidden");var l=this;this.addEventListener(this.refs.fileDrop,"dragover",(function(n){this.className="fileSelector fileDragOver",n.preventDefault()})),this.addEventListener(this.refs.fileDrop,"dragleave",(function(n){this.className="fileSelector",n.preventDefault()})),this.addEventListener(this.refs.fileDrop,"drop",(function(n){this.className="fileSelector",n.preventDefault(),l.upload(n.dataTransfer.files)}))}if(this.refs.fileBrowse&&this.addEventListener(this.refs.fileBrowse,"click",(function(n){n.preventDefault(),e.browseFiles(e.browseOptions).then((function(n){e.upload(n)}))})),this.refs.fileLink.forEach((function(n,t){e.addEventListener(n,"click",(function(n){n.preventDefault(),e.getFile(e.dataValue[t])}))})),this.refs.removeLink.forEach((function(n,t){e.addEventListener(n,"click",(function(n){var l=e.dataValue[t];e.deleteFile(l),n.preventDefault(),e.splice(t),e.redraw()}))})),this.refs.fileStatusRemove.forEach((function(n,t){e.addEventListener(n,"click",(function(n){n.preventDefault();var l=e.statuses[t];u.default.pull(e.filesUploading,l.originalName),l.abort&&l.abort(),e.statuses.splice(t,1),e.redraw()}))})),this.refs.galleryButton&&O&&this.addEventListener(this.refs.galleryButton,"click",(function(n){n.preventDefault(),O.getPicture((function(n){window.resolveLocalFileSystemURL(n,(function(n){n.file((function(n){var t=new FileReader;t.onloadend=function(t){var l=new Blob([new Uint8Array(t.target.result)],{type:n.type});l.name=n.name,e.upload([l])},t.readAsArrayBuffer(n)}))}))}),(function(n){console.error(n)}),{sourceType:O.PictureSourceType.PHOTOLIBRARY})})),this.refs.cameraButton&&O&&this.addEventListener(this.refs.cameraButton,"click",(function(n){n.preventDefault(),O.getPicture((function(n){window.resolveLocalFileSystemURL(n,(function(n){n.file((function(n){var t=new FileReader;t.onloadend=function(t){var l=new Blob([new Uint8Array(t.target.result)],{type:n.type});l.name=n.name,e.upload([l])},t.readAsArrayBuffer(n)}))}))}),(function(n){console.error(n)}),{sourceType:O.PictureSourceType.CAMERA,encodingType:O.EncodingType.PNG,mediaType:O.MediaType.PICTURE,saveToPhotoAlbum:!0,correctOrientation:!1})})),this.refs.takePictureButton&&this.addEventListener(this.refs.takePictureButton,"click",(function(n){n.preventDefault(),e.takePicture()})),this.refs.toggleCameraMode&&this.addEventListener(this.refs.toggleCameraMode,"click",(function(n){n.preventDefault(),e.cameraMode=!e.cameraMode,e.redraw()})),this.refs.fileType.forEach((function(n,t){e.dataValue[t].fileType=e.dataValue[t].fileType||e.component.fileTypes[0].label,e.addEventListener(n,"change",(function(n){n.preventDefault();var l=e.component.fileTypes.find((function(e){return e.value===n.target.value}));e.dataValue[t].fileType=l.label}))})),this.fileService){var i=[];this.filesReady=new a.default((function(n,t){e.filesReadyResolve=n,e.filesReadyReject=t})),this.refs.fileImage.forEach((function(n,t){i.push(e.loadImage(e.dataValue[t]).then((function(e){return n.src=e})))})),i.length?a.default.all(i).then((function(){e.filesReadyResolve()})).catch((function(){return e.filesReadyReject()})):this.filesReadyResolve()}return t}},{key:"fileSize",value:function(n,e,t,l,i){return"".concat((e=Math,t=e.log,i=t(n)/t(1024)|0,n/e.pow(1024,i)).toFixed(2)," ").concat(i?"".concat("kMGTPEZY"[--i],"B"):"Bytes")}},{key:"globStringToRegex",value:function(n){var e="",t=[];if((n=n.replace(/\s/g,"")).length>2&&"/"===n[0]&&"/"===n[n.length-1])e=n.substring(1,n.length-1);else{var l=n.split(",");if(l.length>1)for(var i=0;i|:\\-]","g"),"\\$&"),"$")).replace(/\\\*/g,".*").replace(/\\\?/g,"."))}return{regexp:e,excludes:t}}},{key:"translateScalars",value:function(n){if("string"==typeof n){if(n.search(/kb/i)===n.length-2)return parseFloat(1024*n.substring(0,n.length-2));if(n.search(/mb/i)===n.length-2)return parseFloat(1024*n.substring(0,n.length-2)*1024);if(n.search(/gb/i)===n.length-2)return parseFloat(1024*n.substring(0,n.length-2)*1024*1024);if(n.search(/b/i)===n.length-1)return parseFloat(n.substring(0,n.length-1));if(n.search(/s/i)===n.length-1)return parseFloat(n.substring(0,n.length-1));if(n.search(/m/i)===n.length-1)return parseFloat(60*n.substring(0,n.length-1));if(n.search(/h/i)===n.length-1)return parseFloat(3600*n.substring(0,n.length-1))}return n}},{key:"validatePattern",value:function(n,e){if(!e)return!0;var t=this.globStringToRegex(e),l=!0;if(t.regexp&&t.regexp.length){var i=new RegExp(t.regexp,"i");l=!u.default.isNil(n.type)&&i.test(n.type)||!u.default.isNil(n.name)&&i.test(n.name)}return l=t.excludes.reduce((function(e,t){var l=new RegExp(t,"i");return e&&(u.default.isNil(n.type)||!l.test(n.type))&&(u.default.isNil(n.name)||!l.test(n.name))}),l)}},{key:"validateMinSize",value:function(n,e){return n.size+.1>=this.translateScalars(e)}},{key:"validateMaxSize",value:function(n,e){return n.size-.1<=this.translateScalars(e)}},{key:"upload",value:function(n){var e=this;this.component.multiple||(this.statuses.length&&(this.statuses=[]),n=Array.prototype.slice.call(n,0,1)),this.component.storage&&n&&n.length&&(this.fileDropHidden=!0,Array.prototype.forEach.call(n,function(){var n,t=(n=p().mark((function n(t){var l,i,r,a,d,h,g,m,b,v,y,A,C,w,x,_,P,k,O,M,S,I,T,E;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(l=(0,o.uniqueName)(t.name,e.component.fileNameTemplate,e.evalContext()),i=t.name?t.name.replaceAll("<","<").replaceAll(">",">"):t.name,r={abort:function(){return null},originalName:i,name:l,size:t.size,status:"info",message:e.t("Processing file. Please wait..."),hash:""},"true"!==e.root.form.submissionRevisions){n.next=12;break}return e.statuses.push(r),e.redraw(),a=new c.default,n.next=9,new Promise((function(n,l){e.emit("fileUploadingStart"),a.md5(t,(function(e,t){return e?l(e):n(t)}))}));case 9:d=n.sent,e.emit("fileUploadingEnd"),r.hash=d;case 12:if(e.filesUploading||(e.filesUploading=[]),h=e.filesUploading.some((function(n){return n===t.name})),e.filesUploading.push(t.name),g=e.dataValue.some((function(n){return n.originalName===t.name})),m=e.statuses.findIndex((function(n){return n.originalName===t.name&&"error"===n.status})),(g||h)&&(r.status="error",r.message=e.t("File with the same name is already ".concat(h?"being ":"","uploaded"))),-1!==m&&(e.statuses.splice(m,1),e.redraw()),e.component.filePattern&&!e.validatePattern(t,e.component.filePattern)&&(r.status="error",r.message=e.t("File is the wrong type; it must be {{ pattern }}",{pattern:e.component.filePattern})),e.component.fileMinSize&&!e.validateMinSize(t,e.component.fileMinSize)&&(r.status="error",r.message=e.t("File is too small; it must be at least {{ size }}",{size:e.component.fileMinSize})),e.component.fileMaxSize&&!e.validateMaxSize(t,e.component.fileMaxSize)&&(r.status="error",r.message=e.t("File is too big; it must be at most {{ size }}",{size:e.component.fileMaxSize})),b=e.interpolate(e.component.dir||""),(v=e.fileService)||(r.status="error",r.message=e.t("File Service not provided.")),"true"!==e.root.form.submissionRevisions&&(e.statuses.push(r),e.redraw()),"error"===r.status){n.next=62;break}if(e.component.privateDownload&&(t.private=!0),y=e.component,A=y.storage,C=y.options,w=void 0===C?{}:C,x=e.interpolate(e.component.url,{file:r}),_=null,P=null,e.root.everyComponent((function(n){var e,t;(null!==(e=n.component)&&void 0!==e&&e.submissionAccess||null!==(t=n.component)&&void 0!==t&&t.defaultPermission)&&(P=n.component.submissionAccess?n.component.submissionAccess:[{type:n.component.defaultPermission,roles:[]}]).forEach((function(e){_=["admin","write","create"].includes(e.type)?n.component.key:null}))})),k=e.component.fileKey||"file",O=_?e.currentForm.submission.data[_]._id:null,M=null,!e.root.options.fileProcessor){n.next=55;break}return n.prev=37,e.refs.fileProcessingLoader&&(e.refs.fileProcessingLoader.style.display="block"),S=(0,s.default)(e.fileService,e.root.options.fileProcessor),n.next=42,S(t,e.component.properties);case 42:M=n.sent,n.next=52;break;case 45:return n.prev=45,n.t0=n.catch(37),r.status="error",r.message=e.t("File processing has been failed."),e.fileDropHidden=!1,e.redraw(),n.abrupt("return");case 52:return n.prev=52,e.refs.fileProcessingLoader&&(e.refs.fileProcessingLoader.style.display="none"),n.finish(52);case 55:I=0,T=!(!e.component.useMultipartUpload||!e.component.multipart)&&f(f({},e.component.multipart),{},{progressCallback:function(n){I++,r.status="progress",r.progress=parseInt(100*I/n),delete r.message,e.redraw()},changeMessage:function(n){r.message=n,e.redraw()}}),r.message=e.t("Starting upload..."),e.redraw(),E=v.uploadFile(A,M||t,l,b,(function(n){r.status="progress",r.progress=parseInt(100*n.loaded/n.total),delete r.message,e.redraw()}),x,w,k,P,O,(function(){e.emit("fileUploadingStart",E)}),(function(n){return r.abort=n}),T).then((function(n){var t=e.statuses.indexOf(r);-1!==t&&e.statuses.splice(t,1),n.originalName=i,n.hash=r.hash,e.hasValue()||(e.dataValue=[]),e.dataValue.push(n),u.default.pull(e.filesUploading,n.originalName),e.fileDropHidden=!1,e.redraw(),e.triggerChange(),e.emit("fileUploadingEnd",E)})).catch((function(n){r.status="error",r.message="string"==typeof n?n:n.toString(),delete r.progress,e.fileDropHidden=!1,u.default.pull(e.filesUploading,t.name),e.redraw(),e.emit("fileUploadingEnd",E)})),n.next=63;break;case 62:e.filesUploading.splice(e.filesUploading.indexOf(t.name),1);case 63:case"end":return n.stop()}}),n,null,[[37,45,52,55]])})),function(){var e=this,t=arguments;return new Promise((function(l,i){var o=n.apply(e,t);function r(n){h(o,l,i,r,u,"next",n)}function u(n){h(o,l,i,r,u,"throw",n)}r(void 0)}))});return function(n){return t.apply(this,arguments)}}()))}},{key:"getFile",value:function(n){var e=this.component.options,t=void 0===e?{}:e,l=this.fileService;if(!l)return alert("File Service not provided");this.component.privateDownload&&(n.private=!0),l.downloadFile(n,t).then((function(n){n&&(["base64","indexeddb"].includes(n.storage)?(0,r.default)(n.url,n.originalName||n.name,n.type):window.open(n.url,"_blank"))})).catch((function(n){alert(n)}))}},{key:"focus",value:function(){"beforeFocus"in this.parent&&this.parent.beforeFocus(this),this.refs.fileBrowse&&this.refs.fileBrowse.focus()}},{key:"destroy",value:function(){this.stopVideo(),A(P(g.prototype),"destroy",this).call(this)}}])&&v(e.prototype,t),l&&v(e,l),Object.defineProperty(e,"prototype",{writable:!1}),g}(i.default);e.default=M},"2oRo":function(n,e,t){"use strict";var l=function(n){return n&&n.Math===Math&&n};n.exports=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof global&&global)||l("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"2t6Q":function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("YILz"))&&l.__esModule?l:{default:l}).default};e.default=i},"2ykv":function(n,e,t){!function(n){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),t="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),l=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,l){return n?/-MMM-/.test(l)?t[n.month()]:e[n.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(1===n||8===n||n>=20?"ste":"de")},week:{dow:1,doy:4}})}(t("wd/R"))},"33Wh":function(n,e,t){"use strict";var l=t("yoRg"),i=t("eDl+");n.exports=Object.keys||function(n){return l(n,i)}},"37lR":function(n,e,t){"use strict";var l=t("B/qT");n.exports=function(n,e,t){for(var i=0,o=arguments.length>2?t:l(e),r=new n(o);o>i;)r[i]=e[i++];return r}},"3A2Y":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;for(var l in t+='
\n \n ",n.component.tooltip&&(t+='\n \n '),t+="\n
\n"}},"3A9y":function(n,e){n.exports=function(n){return this.__data__.has(n)}},"3E1r":function(n,e,t){!function(n){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},t={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},l=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:l,longMonthsParse:l,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(n){return n.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(n){return t[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return e[n]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(n,e){return 12===n&&(n=0),"\u0930\u093e\u0924"===e?n<4?n:n+12:"\u0938\u0941\u092c\u0939"===e?n:"\u0926\u094b\u092a\u0939\u0930"===e?n>=10?n:n+12:"\u0936\u093e\u092e"===e?n+12:void 0},meridiem:function(n,e,t){return n<4?"\u0930\u093e\u0924":n<10?"\u0938\u0941\u092c\u0939":n<17?"\u0926\u094b\u092a\u0939\u0930":n<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(t("wd/R"))},"3Eq5":function(n,e,t){"use strict";var l=t("We1y"),i=t("cjT7");n.exports=function(n,e){var t=n[e];return i(t)?void 0:l(t)}},"3Fdi":function(n,e){var t=Function.prototype.toString;n.exports=function(n){if(null!=n){try{return t.call(n)}catch(e){}try{return n+""}catch(e){}}return""}},"3I5B":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='\n \n '+(null==(e=n.element)?"":e)+"\n \n ",n.disabled||(t+='\n \n \n \n '),t+="\n\n"}},"3Iyw":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("SuFq"),t("uL8W"),t("eoL8"),t("XUE8"),t("5DmW"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("3bBZ"),t("tkto"),t("27RR"),t("HRxU"),t("ENF9"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("zKZe"),t("sMBO"),t("U3f4"),t("wLYn"),t("QWBl"),t("07d7"),t("FZtP"),t("yXV3"),t("ma9I"),t("yq1k"),t("JTJg"),t("J30X"),t("rB9j"),t("UxlC"),t("LKBx"),t("oVuX"),t("DQNa"),t("JfAA"),t("2B1R"),t("pDQq"),t("E9XD"),t("4l63"),t("rZ3M"),t("TeQF"),t("pjDv"),t("PKPk"),t("Rfxz"),t("+2oP"),t("ExoC"),t("NBAS"),t("R5XZ");var i=t("uIYt"),o=y(t("CFBA")),r=y(t("b5oN")),u=y(t("LvDl")),a=y(t("A0fv")),s=t("1eKU"),c=function(n,e){if(!e&&n&&n.__esModule)return n;if(null===n||"object"!==l(n)&&"function"!=typeof n)return{default:n};var t=v(e);if(t&&t.has(n))return t.get(n);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in n)if("default"!==r&&Object.prototype.hasOwnProperty.call(n,r)){var u=o?Object.getOwnPropertyDescriptor(n,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=n[r]}i.default=n,t&&t.set(n,i);return i}(t("5P0i")),d=y(t("g/h2")),p=y(t("A+qq")),h=y(t("E4Ma")),g=y(t("Nmqk")),f=y(t("kZaA")),m=t("Jw/Y"),b=y(t("Nq0N"));function v(n){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(v=function(n){return n?t:e})(n)}function y(n){return n&&n.__esModule?n:{default:n}}function A(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function C(n){for(var e=1;e=n.length?{done:!0}:{done:!1,value:n[l++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,u=!1;return{s:function(){t=t.call(n)},n:function(){var n=t.next();return r=n.done,n},e:function(n){u=!0,o=n},f:function(){try{r||null==t.return||t.return()}finally{if(u)throw o}}}}function _(n){return function(n){if(Array.isArray(n))return k(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||P(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(n,e){if(n){if("string"==typeof n)return k(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?k(n,e):void 0}}function k(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,l=new Array(e);t0&&void 0!==arguments[0]?arguments[0]:{};return u.default.defaultsDeep(n,this.defaultSchema)}},{key:"ready",get:function(){return o.default.resolve(this)}},{key:"isPDFReadOnlyMode",get:function(){return this.parent&&this.parent.form&&"pdf"===this.parent.form.display&&this.options.readOnly}},{key:"labelInfo",get:function(){var n={};n.hidden=this.labelIsHidden(),n.className="",n.labelPosition=this.component.labelPosition,n.tooltipClass="".concat(this.iconClass("question-sign")," text-muted");var e=this.isPDFReadOnlyMode;return this.hasInput&&this.component.validate&&(0,c.boolValue)(this.component.validate.required)&&!e&&(n.className+=" field-required"),n.hidden&&(n.className+=" control-label--hidden"),this.info.attr.id&&(n.for=this.info.attr.id),n}},{key:"init",value:function(){var n,e=this;this.disabled=this.shouldDisabled,this._visible=this.conditionallyVisible(null,null),null!==(n=this.component.addons)&&void 0!==n&&n.length&&this.component.addons.forEach((function(n){return e.createAddon(n)}))}},{key:"afterComponentAssign",value:function(){}},{key:"createAddon",value:function(n){var e,t=n.name;if(t){var l=(null===(e=n.settings)||void 0===e?void 0:e.data)||{},i=f.default[t.value],o=null;if(i){var r=i.info.supportedComponents;null!=r&&r.length&&-1===r.indexOf(this.component.type)?console.warn("Addon ".concat(t.label," does not support component of type ").concat(this.component.type,".")):(o=new i(l,this),this.addons.push(o))}return o}}},{key:"destroy",value:function(){S(L(v.prototype),"destroy",this).call(this),this.detach(),this.addons.forEach((function(n){return n.destroy()}))}},{key:"shouldDisabled",get:function(){return this.options.readOnly||this.component.disabled||this.options.hasOwnProperty("disabled")&&this.options.disabled[this.key]}},{key:"isInputComponent",get:function(){return!this.component.hasOwnProperty("input")||this.component.input}},{key:"allowData",get:function(){return this.hasInput}},{key:"hasInput",get:function(){return this.isInputComponent||this.refs.input&&this.refs.input.length}},{key:"defaultSchema",get:function(){return v.schema()}},{key:"key",get:function(){return u.default.get(this.component,"key","")}},{key:"parentVisible",get:function(){return this._parentVisible},set:function(n){this._parentVisible=n}},{key:"parentDisabled",get:function(){return this._parentDisabled},set:function(n){this._parentDisabled=n}},{key:"shouldForceVisibility",value:function(n,e){return!!this.options[e]&&(n||(n=this.component),u.default.isArray(this.options[e])?this.options[e].includes(n.key):this.options[e][n.key])}},{key:"shouldForceHide",value:function(n){return this.shouldForceVisibility(n,"hide")}},{key:"shouldForceShow",value:function(n){return this.shouldForceVisibility(n,"show")}},{key:"visible",get:function(){return!!(this.builderMode||this.previewMode||this.options.showHiddenFields)||!this.shouldForceHide()&&(!!this.shouldForceShow()||this._visible&&this._parentVisible)},set:function(n){if(this._visible!==n){if(n&&this.shouldForceHide())return;if(!n&&this.shouldForceShow())return;this._visible=n,this.clearOnHide(),this.redraw()}}},{key:"currentForm",get:function(){return this._currentForm},set:function(n){this._currentForm=n}},{key:"fullMode",get:function(){return"full"===this.options.attachMode}},{key:"builderMode",get:function(){return"builder"===this.options.attachMode}},{key:"calculatedPath",get:function(){return console.error("component.calculatedPath was deprecated, use component.path instead."),this.path}},{key:"labelPosition",get:function(){return this.component.labelPosition}},{key:"labelWidth",get:function(){var n=this.component.labelWidth;return n>=0?n:30}},{key:"labelMargin",get:function(){var n=this.component.labelMargin;return n>=0?n:3}},{key:"isAdvancedLabel",get:function(){return["left-left","left-right","right-left","right-right"].includes(this.labelPosition)}},{key:"labelPositions",get:function(){return this.labelPosition.split("-")}},{key:"skipInEmail",get:function(){return!1}},{key:"rightDirection",value:function(n){return!this.options.condensedMode&&"right"===n}},{key:"getLabelInfo",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.rightDirection(this.labelPositions[0]),t="left"===this.labelPositions[0]||n,l=this.rightDirection(this.labelPositions[1]),i="";if(this.component.hideLabel){var o=n?0:this.labelWidth+this.labelMargin;i=e?"margin-right: ".concat(o,"%"):"",i=t?"margin-left: ".concat(o,"%"):""}var r="\n flex: ".concat(this.labelWidth,";\n ").concat(e?"margin-left":"margin-right",": ").concat(this.labelMargin,"%;\n "),u="\n flex: ".concat(100-this.labelWidth-this.labelMargin,";\n ").concat(i,";\n ").concat(this.component.hideLabel?"max-width: ".concat(100-this.labelWidth-this.labelMargin):"",";\n ");return{isRightPosition:e,isRightAlign:l,labelStyles:r,contentStyles:u}}},{key:"getModifiedSchema",value:function(n,e,t){var l=this,i={};return e?(u.default.each(n,(function(n,o){if(!u.default.isArray(n)&&u.default.isObject(n)&&e.hasOwnProperty(o)){var r=l.getModifiedSchema(n,e[o],!0);u.default.isEmpty(r)||(i[o]=r)}else u.default.isArray(n)?0===n.length||u.default.isEqual(n,e[o])||(i[o]=n):(!t&&"type"===o||!t&&"key"===o||!t&&"label"===o||!t&&"input"===o||!t&&"tableView"===o||""!==n&&!e.hasOwnProperty(o)||""!==n&&n!==e[o]||e[o]&&n!==e[o])&&(i[o]=n)})),i):n}},{key:"schema",get:function(){return(0,c.fastCloneDeep)(this.getModifiedSchema(u.default.omit(this.component,"id"),this.defaultSchema))}},{key:"isInDataGrid",get:function(){return this.inDataGrid}},{key:"t",value:function(n){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n)return"";if(n in b.default&&t._userInput)return n;t.data=this.rootValue,t.row=this.data,t.component=this.component;for(var l=arguments.length,i=new Array(l>2?l-2:0),o=2;o");return this.getFormattedAttribute(e)}},{key:"isHtmlRenderMode",value:function(){return"html"===this.options.renderMode}},{key:"renderTemplate",value:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0,i=l||this.options.renderMode||"form";t.component=this.component,t.self=this,t.options=this.options,t.readOnly=this.options.readOnly,t.iconClass=this.iconClass.bind(this),t.size=this.size.bind(this),t.t=this.t.bind(this),t.transform=this.transform.bind(this),t.id=t.id||this.id,t.key=t.key||this.key,t.value=t.value||this.dataValue,t.disabled=this.disabled,t.builder=this.builderMode,t.render=function(){return console.warn("Form.io 'render' template function is deprecated.\n If you need to render template (template A) inside of another template (template B),\n pass pre-compiled template A (use this.renderTemplate('template_A_name') as template context variable for template B"),e.renderTemplate.apply(e,arguments)},t.label=t.labelInfo||this.labelInfo,t.tooltip=this.getFormattedTooltip(this.component.tooltip);var o=["".concat(n,"-").concat(this.component.type,"-").concat(this.key),"".concat(n,"-").concat(this.component.type),"".concat(n,"-").concat(this.key),"".concat(n)];return this.hook("render".concat(n.charAt(0).toUpperCase()+n.substring(1,n.length)),this.interpolate(this.getTemplate(o,i),t),t,i)}},{key:"sanitize",value:function(n,e,t){var l;return this.shouldSanitizeValue||e?c.sanitize(n,{sanitizeConfig:u.default.merge((null===(l=this.options)||void 0===l?void 0:l.sanitizeConfig)||{},t||{})}):n}},{key:"renderString",value:function(n,e){return n?this.interpolate(n,e):""}},{key:"performInputMapping",value:function(n){return n}},{key:"widget",get:function(){var n,e=this.component.widget;return e&&null!==(n=this.root)&&void 0!==n&&n.shadowRoot&&(e.shadowRoot=this.root.shadowRoot),e&&g.default[e.type]?new g.default[e.type](e,this.component,this):null}},{key:"getBrowserLanguage",value:function(){var n,e=window.navigator,t=["language","browserLanguage","systemLanguage","userLanguage"];if(Array.isArray(e.languages))for(var l=0;l [ref="'.concat(t,'"]'):'[ref="'.concat(t,'"]');i&&l.startsWith("single")?this.refs[t]=n.querySelector(o):this.refs[t]=n.querySelectorAll(o)}}},{key:"setOpenModalElement",value:function(n){this.componentModal.setOpenModalElement(n||this.getModalPreviewTemplate())}},{key:"getModalPreviewTemplate",value:function(){var n,e,t="password"===this.component.type?this.dataValue.replace(/./g,"\u2022"):this.dataValue,l=this.error?{level:"error",message:this.error.message}:"";return this.hasInput&&null!==(n=this.component.validate)&&void 0!==n&&n.required&&!this.isPDFReadOnlyMode&&(e={className:"field-required"}),this.renderTemplate("modalPreview",{previewText:this.getValueAsString(t,{modalPreview:!0})||this.t("Click to set value"),messages:l&&this.renderTemplate("message",l),labelInfo:e})}},{key:"build",value:function(n){return n=n||this.element,this.empty(n),this.setContent(n,this.render()),this.attach(n)}},{key:"hasModalSaveButton",get:function(){return!0}},{key:"render",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Unknown component: ".concat(this.component.type),e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=this.visible;return this.rendered=!0,this.builderMode||this.previewMode||!this.component.modalEdit?this.renderTemplate("component",{visible:t,id:this.id,classes:this.className,styles:this.customStyle,children:n},e):h.default.render(this,{visible:t,showSaveButton:this.hasModalSaveButton,id:this.id,classes:this.className,styles:this.customStyle,children:n},e)}},{key:"attachTooltips",value:function(n){var e=this;null==n||n.forEach((function(n,t){if(n){var l=n.getAttribute("data-tooltip"),i=n.getAttribute("data-title"),o=e.interpolate(i||l).replace(/(?:\r\n|\r|\n)/g,"
");e.tooltips[t]=(0,r.default)(n,{allowHTML:!0,trigger:"mouseenter click focus",placement:"right",zIndex:1e4,interactive:!0,content:e.t(e.sanitize(o),{_userInput:!0})})}}))}},{key:"createComponentModal",value:function(n,e,t){return new h.default(this,n,e,t)}},{key:"attach",value:function(n){if(!this.builderMode&&!this.previewMode&&this.component.modalEdit){var e=!!this.componentModal&&this.componentModal.isOpened,t=e?this.componentModal.currentValue:this.dataValue,l=this.componentModal&&e?this.componentModal.openModalTemplate:null;this.componentModal=this.createComponentModal(n,e,t),this.setOpenModalElement(l)}this.attached=!0,this.element=n,n.component=this,this.element.id&&(this.id=this.element.id,this.component.id=this.id),this.loadRefs(n,{messageContainer:"single",tooltip:"multiple"}),this.attachTooltips(this.refs.tooltip),this.attachLogic(),this.autofocus(),this.hook("attachComponent",n,this);var i=this.component.type;return i&&this.hook("attach".concat(i.charAt(0).toUpperCase()+i.substring(1,i.length)),n,this),this.restoreFocus(),this.addons.forEach((function(e){return e.attach(n)})),o.default.resolve()}},{key:"restoreFocus",value:function(){var n,e,t;(null===(n=this.root)||void 0===n||null===(e=n.focusedComponent)||void 0===e?void 0:e.path)===this.path&&(this.loadRefs(this.element,{input:"multiple"}),this.focus(null===(t=this.root.currentSelection)||void 0===t?void 0:t.index),this.restoreCaretPosition())}},{key:"addShortcut",value:function(n,e){n&&this.root&&this.root!==this&&(e||(e=this.component.shortcut),this.root.addShortcut(n,e))}},{key:"removeShortcut",value:function(n,e){n&&this.root!==this&&(e||(e=this.component.shortcut),this.root.removeShortcut(n,e))}},{key:"detach",value:function(){this.refs={},this.removeEventListeners(),this.detachLogic(),this.tooltip&&this.tooltip.destroy()}},{key:"checkRefresh",value:function(n,e,t){var l=u.default.get(e,"instance.path",!1);l&&this.path===l||("data"===n?this.refresh(this.data,e,t):l&&(0,c.getComponentPath)(e.instance)===n&&e&&e.instance&&this.inContext(e.instance)&&this.refresh(e.value,e,t))}},{key:"checkRefreshOn",value:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n=n||[],!t.noRefresh){!n.length&&t.changed&&(n=[t.changed]);var l=t.fromBlur?this.component.refreshOnBlur:this.component.refreshOn||this.component.redrawOn;l&&(Array.isArray(l)?l.forEach((function(l){return n.forEach((function(n){return e.checkRefresh(l,n,t)}))})):n.forEach((function(n){return e.checkRefresh(l,n,t)})))}}},{key:"refresh",value:function(n){this.hasOwnProperty("refreshOnValue")?this.refreshOnChanged=!u.default.isEqual(n,this.refreshOnValue):this.refreshOnChanged=!0,this.refreshOnValue=(0,c.fastCloneDeep)(n),this.refreshOnChanged&&(this.component.clearOnRefresh&&this.setValue(null),this.triggerRedraw())}},{key:"inContext",value:function(n){if(n.data===this.data)return!0;for(var e=this.parent;e;){if(e.data===n.data)return!0;e=e.parent}return!1}},{key:"viewOnly",get:function(){return this.options.readOnly&&this.options.viewAsHtml}},{key:"createViewOnlyElement",value:function(){return this.element=this.ce("dl",{id:this.id}),this.element&&(this.element.component=this),this.element}},{key:"defaultViewOnlyValue",get:function(){return"-"}},{key:"getWidgetValueAsString",value:function(n,e){var t=this,l=!this.refs.input||!this.refs.input[0]||!this.refs.input[0].widget;if(!n||l)return this.widget&&n?this.widget.getValueAsString(n):n;if(Array.isArray(n)){var i=[];return n.forEach((function(n,l){var o=t.refs.input[l]&&t.refs.input[l].widget;o&&i.push(o.getValueAsString(n,e))})),i}return this.refs.input[0].widget.getValueAsString(n,e)}},{key:"getValueAsString",value:function(n,e){if(!n)return"";if(n=this.getWidgetValueAsString(n,e),Array.isArray(n))return n.join(", ");if(u.default.isPlainObject(n))return JSON.stringify(n);if(null==n)return"";var t=n.toString();return this.sanitize(t)}},{key:"getView",value:function(n,e){return this.component.protected?"--- PROTECTED ---":this.getValueAsString(n,e)}},{key:"updateItems",value:function(){this.restoreValue(),this.onChange.apply(this,arguments)}},{key:"itemValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(u.default.isObject(n)&&!u.default.isArray(n)){if(this.valueProperty)return u.default.get(n,this.valueProperty);if(e)return n.value}return n}},{key:"itemValueForHTMLMode",value:function(n){var e=this;return Array.isArray(n)?n.map((function(n){return Array.isArray(n)?e.itemValueForHTMLMode(n):e.itemValue(n)})).join(", "):this.itemValue(n)}},{key:"createModal",value:function(n,e,t){var l=this,i=this.ce("div",e||{});this.setContent(i,this.renderTemplate("dialog")),i.refs={},this.loadRefs.call(i,i,{dialogOverlay:"single",dialogContents:"single",dialogClose:"single"}),i.refs.dialogContents.appendChild(n),document.body.appendChild(i),document.body.classList.add("modal-open"),i.close=function(){document.body.classList.remove("modal-open"),i.dispatchEvent(new CustomEvent("close"))},this.addEventListener(i,"close",(function(){return l.removeChildFrom(i,document.body)}));var o=function(n){n.preventDefault(),i.close()},r=function(n){t?t().then((function(){return o(n)})).catch((function(){})):o(n)};return this.addEventListener(i.refs.dialogOverlay,"click",r),this.addEventListener(i.refs.dialogClose,"click",r),i}},{key:"optimizeRedraw",get:function(){return!(!this.options.optimizeRedraw||!this.element||this.visible||(this.addClass(this.element,"formio-removed"),0))}},{key:"className",get:function(){var n=this.hasInput?"".concat(this.transform("class","form-group")," has-feedback "):"";return n+="formio-component formio-component-".concat(this.component.type," "),this.key&&"form"!==this.key&&(n+="formio-component-".concat(this.key," ")),this.component.multiple&&(n+="formio-component-multiple "),this.component.customClass&&(n+=this.component.customClass),this.hasInput&&this.component.validate&&(0,c.boolValue)(this.component.validate.required)&&(n+=" required"),this.labelIsHidden()&&(n+=" formio-component-label-hidden"),this.visible||(n+=" formio-hidden"),n}},{key:"customStyle",get:function(){var n="";return u.default.each(this.component.style,(function(e,t){""!==e&&(n+="".concat(t,":").concat(e,";"))})),n}},{key:"isMobile",get:function(){return(0,a.default)()}},{key:"getElement",value:function(){return this.element}},{key:"evalContext",value:function(n){return S(L(v.prototype),"evalContext",this).call(this,Object.assign({component:this.component,row:this.data,rowIndex:this.rowIndex,data:this.rootValue,iconClass:this.iconClass.bind(this),t:this.t.bind(this),submission:this.root?this.root._submission:{data:this.rootValue},form:this.root?this.root._form:{},options:this.options},n))}},{key:"setPristine",value:function(n){this.pristine=n}},{key:"isPristine",get:function(){return this.pristine}},{key:"setDirty",value:function(n){this.dirty=n}},{key:"isDirty",get:function(){return this.dirty}},{key:"removeValue",value:function(n){this.splice(n),this.redraw(),this.restoreValue(),this.triggerRootChange()}},{key:"iconClass",value:function(n,e){var t=this.options.iconset||B.current.defaultIconset||"fa";return B.current.hasOwnProperty("iconClass")?B.current.iconClass(t,n,e):"fa"===this.options.iconset?B.defaultTemplates.iconClass(t,n,e):n}},{key:"size",value:function(n){return B.current.hasOwnProperty("size")?B.current.size(n):n}},{key:"name",get:function(){return this.t(this.component.label||this.component.placeholder||this.key,{_userInput:!0})}},{key:"errorLabel",get:function(){return this.t(this.component.errorLabel||this.component.label||this.component.placeholder||this.key)}},{key:"errorMessage",value:function(n){return this.component.errors&&this.component.errors[n]?this.component.errors[n]:n}},{key:"setContent",value:function(n,e,t,l){return n instanceof HTMLElement&&(n.innerHTML=this.sanitize(e,t,l),!0)}},{key:"restoreCaretPosition",value:function(){var n,e;if(null!==(n=this.root)&&void 0!==n&&n.currentSelection&&null!==(e=this.refs.input)&&void 0!==e&&e.length){var t=this.root.currentSelection,l=t.selection,i=t.index,o=this.refs.input[i],r=function(n){return/text|search|password|tel|url/i.test((null==n?void 0:n.type)||"")};if(o){var u;r(o)&&(u=o).setSelectionRange.apply(u,_(l))}else{var a,s=(null===(a=(o=this.refs.input[this.refs.input.length]).value)||void 0===a?void 0:a.length)||0;r(o)&&o.setSelectionRange(s,s)}}}},{key:"redraw",value:function(){if(!this.element||!this.element.parentNode||this.optimizeRedraw)return o.default.resolve();this.detach(),this.emit("redraw");var n=this.element.parentNode,e=Array.prototype.indexOf.call(n.children,this.element);return this.element.outerHTML=this.sanitize(this.render()),this.element=n.children[e],this.attach(this.element)}},{key:"rebuild",value:function(){return this.destroy(),this.init(),this.visible=this.conditionallyVisible(null,null),this.redraw()}},{key:"removeEventListeners",value:function(){S(L(v.prototype),"removeEventListeners",this).call(this),this.tooltips.forEach((function(n){return n.destroy()})),this.tooltips=[]}},{key:"hasClass",value:function(n,e){if(n)return S(L(v.prototype),"hasClass",this).call(this,n,this.transform("class",e))}},{key:"addClass",value:function(n,e){if(n)return S(L(v.prototype),"addClass",this).call(this,n,this.transform("class",e))}},{key:"removeClass",value:function(n,e){if(n)return S(L(v.prototype),"removeClass",this).call(this,n,this.transform("class",e))}},{key:"hasCondition",value:function(){return null!==this._hasCondition||(this._hasCondition=c.hasCondition(this.component)),this._hasCondition}},{key:"conditionallyVisible",value:function(n,e){return n=n||this.rootValue,e=e||this.data,this.builderMode||this.previewMode||!this.hasCondition()?!this.component.hidden:(n=n||(this.root?this.root.data:{}),this.checkCondition(e,n))}},{key:"checkCondition",value:function(n,e){return c.checkCondition(this.component,n||this.data,e||this.rootValue,this.root?this.root._form:{},this)}},{key:"checkComponentConditions",value:function(n,e,t){n=n||this.rootValue,e=e||{},t=t||this.data,!this.builderMode&!this.previewMode&&this.fieldLogic(n,t)&&this.redraw();var l=this.conditionallyVisible(n,t);return this.visible!==l&&(this.visible=l),l}},{key:"checkConditions",value:function(n,e,t){return n=n||this.rootValue,e=e||{},t=t||this.data,this.checkComponentConditions(n,e,t)}},{key:"logic",get:function(){return this.component.logic||[]}},{key:"fieldLogic",value:function(n,e){var t=this;n=n||this.rootValue,e=e||this.data;var l=this.logic;if(0!==l.length){var i=(0,c.fastCloneDeep)(this.originalComponent),o=l.reduce((function(l,o){var r=c.checkTrigger(i,o.trigger,e,n,t.root?t.root._form:{},t);return!!r&&t.applyActions(i,o.actions,r,e,n)||l}),!1);if(!u.default.isEqual(this.component,i)){this.component=i,o=!0;var r=this.shouldDisabled;this.disabled!==r&&(this.disabled=r)}return o}}},{key:"isIE",value:function(){if("undefined"==typeof window)return!1;var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0)return parseInt(n.substring(e+5,n.indexOf(".",e)),10);if(n.indexOf("Trident/")>0){var t=n.indexOf("rv:");return parseInt(n.substring(t+3,n.indexOf(".",t)),10)}var l=n.indexOf("Edge/");return l>0&&parseInt(n.substring(l+5,n.indexOf(".",l)),10)}},{key:"defineActionValue",value:function(n,e){return this.evaluate(n.value,e,"value")}},{key:"applyActions",value:function(n,e,t,l,i){var o=this;return i=i||this.rootValue,l=l||this.data,e.reduce((function(e,r){switch(r.type){case"property":c.setActionProperty(n,r,t,l,i,o);var a=r.property.value;u.default.isEqual(u.default.get(o.component,a),u.default.get(n,a))||(e=!0);break;case"value":var s=o.getValue(),d=o.defineActionValue(r,{value:u.default.clone(s),data:i,row:l,component:n,result:t});u.default.isEqual(s,d)||o.component.clearOnHide&&!o.visible||(o.setValue(d),o.viewOnly&&(o.dataValue=d),e=!0);break;case"mergeComponentSchema":var p=o.evaluate(r.schemaDefinition,{value:u.default.clone(o.getValue()),data:i,row:l,component:n,result:t},"schema");u.default.assign(n,p),u.default.isEqual(o.component,n)||(e=!0);break;case"customAction":var h=o.getValue(),g=o.evaluate(r.customAction,{value:u.default.clone(h),data:i,row:l,input:h,component:n,result:t},"value");u.default.isEqual(h,g)||o.component.clearOnHide&&!o.visible||(o.setValue(g),o.viewOnly&&(o.dataValue=g),e=!0)}return e}),!1)}},{key:"addInputError",value:function(n,e,t){this.addMessages(n),this.setErrorClasses(t,e,!!n)}},{key:"removeInputError",value:function(n){this.setErrorClasses(n,!0,!1)}},{key:"addMessages",value:function(n){var e=this;n&&("string"==typeof n&&(n={messages:n,level:"error"}),Array.isArray(n)||(n=[n]),n=u.default.uniqBy(n,(function(n){return n.message})),this.refs.messageContainer&&this.setContent(this.refs.messageContainer,n.map((function(n){return n.message&&"string"==typeof n.message&&(n.message=n.message.replaceAll("<","<").replaceAll(">",">")),e.renderTemplate("message",n)})).join("")))}},{key:"setErrorClasses",value:function(n,e,t,l){var i=this,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.element;this.clearErrorClasses(),n.forEach((function(n){i.setElementInvalid(i.performInputMapping(n),!1)})),this.setInputWidgetErrorClasses(n,t),t&&(n.forEach((function(n){i.setElementInvalid(i.performInputMapping(n),!0)})),e&&this.options.highlightErrors?this.addClass(o,this.options.componentErrorClass):this.addClass(o,"has-error")),l&&this.addClass(o,"has-message")}},{key:"setElementInvalid",value:function(n,e){n&&(e?this.addClass(n,"is-invalid"):this.removeClass(n,"is-invalid"),n.setAttribute("aria-invalid",e?"true":"false"))}},{key:"clearOnHide",value:function(){this.rootPristine&&!this.options.server&&!(0,c.isInsideScopingComponent)(this)||!1===this.component.clearOnHide||this.options.readOnly||this.options.showHiddenFields||(this.visible?!this.hasValue()&&this.shouldAddDefaultValue&&this.setValue(this.defaultValue,{noUpdateEvent:!0}):this.deleteValue())}},{key:"triggerRootChange",value:function(){var n;if(this.options.onChange)(n=this.options).onChange.apply(n,arguments);else if(this.root){var e;(e=this.root).triggerChange.apply(e,arguments)}}},{key:"onChange",value:function(n,e){(n=n||{}).modified&&(n.noPristineChangeOnModified||(this.pristine=!1),this.addClass(this.getElement(),"formio-modified")),"blur"!==this.component.validateOn||this.errors.length||(n.noValidate=!0),this.component.onChange&&this.evaluate(this.component.onChange,{flags:n});var t={instance:this,component:this.component,value:this.dataValue,flags:n};this.emit("componentChange",t);var l=!1;return n.modified&&(l=!0,delete n.modified),e||this.triggerRootChange(n,t,l),t}},{key:"wysiwygDefault",get:function(){return{quill:{theme:"snow",placeholder:this.t(this.component.placeholder,{_userInput:!0}),modules:{toolbar:[[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{font:[]}],["bold","italic","underline","strike",{script:"sub"},{script:"super"},"clean"],[{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["blockquote","code-block"],["link","image","video","formula","source"]]}},ace:{theme:"ace/theme/xcode",maxLines:12,minLines:12,tabSize:2,mode:"ace/mode/javascript",placeholder:this.t(this.component.placeholder,{_userInput:!0})},ckeditor:{image:{toolbar:["imageTextAlternative","|","imageStyle:full","imageStyle:alignLeft","imageStyle:alignCenter","imageStyle:alignRight"],styles:["full","alignLeft","alignCenter","alignRight"]},extraPlugins:[]},default:{}}}},{key:"addCKE",value:function(n,e,t){return(e=u.default.isEmpty(e)?{}:e).base64Upload=!this.component.isUploadEnabled,e.mediaEmbed={previewsInData:!0},e=u.default.merge(this.wysiwygDefault.ckeditor,u.default.get(this.options,"editors.ckeditor.settings",{}),e),this.component.isUploadEnabled&&e.extraPlugins.push((0,m.getFormioUploadAdapterPlugin)(this.fileService,this)),s.GlobalFormio.requireLibrary("ckeditor",N?"CKEDITOR":"ClassicEditor",u.default.get(this.options,"editors.ckeditor.src","".concat(s.GlobalFormio.cdn.ckeditor,"/ckeditor.js")),!0).then((function(){if(!n.parentNode)return o.default.reject();if(N){var l=CKEDITOR.replace(n);return l.on("change",(function(){return t(l.getData())})),o.default.resolve(l)}return ClassicEditor.create(n,e).then((function(n){return n.model.document.on("change",(function(){return t(n.data.get())})),n}))}))}},{key:"addQuill",value:function(n,e,t){var l=this;return e=u.default.isEmpty(e)?this.wysiwygDefault.quill:e,e=C(C({},e=u.default.merge(this.wysiwygDefault.quill,u.default.get(this.options,"editors.quill.settings",{}),e)),{},{modules:C({table:!0},e.modules)}),s.GlobalFormio.requireLibrary("quill-css-".concat(e.theme),"Quill",[{type:"styles",src:"".concat(s.GlobalFormio.cdn.quill,"/quill.").concat(e.theme,".css")}],!0),s.GlobalFormio.requireLibrary("quill","Quill",u.default.get(this.options,"editors.quill.src","".concat(s.GlobalFormio.cdn.quill,"/quill.min.js")),!0).then((function(){return s.GlobalFormio.requireLibrary("quill-table","Quill","".concat(s.GlobalFormio.cdn.baseUrl,"/quill/quill-table.js"),!0).then((function(){if(!n.parentNode)return o.default.reject();l.quill=new Quill(n,N?C(C({},e),{},{modules:{}}):e);var i=document.createElement("textarea");i.setAttribute("class","quill-source-code"),l.quill.addContainer("ql-custom").appendChild(i);var r=n.parentNode.querySelector(".ql-source");r&&l.addEventListener(r,"click",(function(n){n.preventDefault(),"inherit"===i.style.display&&l.quill.setContents(l.quill.clipboard.convert({html:i.value})),i.style.display="none"===i.style.display?"inherit":"none"})),l.addEventListener(n,"click",(function(){return l.quill.focus()}));for(var u=document.querySelectorAll(".ql-formats > button"),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasValue()){var t=this.dataValue||[];u.default.isArray(t)&&t.hasOwnProperty(n)&&(t.splice(n,1),this.dataValue=t,this.triggerChange(e))}}},{key:"unset",value:function(){u.default.unset(this._data,this.key)}},{key:"deleteValue",value:function(){this.setValue(null,{noUpdateEvent:!0,noDefault:!0}),this.unset()}},{key:"getCustomDefaultValue",value:function(n){return this.component.customDefaultValue&&!this.options.preview&&(n=this.evaluate(this.component.customDefaultValue,{value:""},"value")),n}},{key:"shouldAddDefaultValue",get:function(){return!this.options.noDefaults||this.component.defaultValue&&!this.isEmpty(this.component.defaultValue)||this.component.customDefaultValue}},{key:"defaultValue",get:function(){var n=this,e=this.emptyValue;this.component.defaultValue&&(e=this.component.defaultValue),e=this.getCustomDefaultValue(e);var t=function(e){if("string"==typeof e){var t=n.placeholderChar;e=(0,i.conformToMask)(e,n.defaultMask,{placeholderChar:t}).conformedValue,c.matchInputMask(e,n.defaultMask)||(e="")}else e="";return e};return this.defaultMask&&(e=Array.isArray(e)?e.map(t):t(e)),u.default.cloneDeep(e)}},{key:"getValue",value:function(){if(!this.hasInput||this.viewOnly||!this.refs.input||!this.refs.input.length)return this.dataValue;var n=[];for(var e in this.refs.input)if(this.refs.input.hasOwnProperty(e)){if(!this.component.multiple)return this.getValueAt(e);n.push(this.getValueAt(e))}return 0!==n.length||this.component.multiple?n:""}},{key:"getValueAt",value:function(n){var e=this.performInputMapping(this.refs.input[n]);return e?e.value:void 0}},{key:"setValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.updateValue(n,e);if(n=this.dataValue,!this.hasInput)return t;var l=Array.isArray(n),i=this.refs.fileLink||this.refs.input;if(l&&Array.isArray(this.defaultValue)&&this.refs.hasOwnProperty("input")&&i&&i.length!==n.length&&this.visible&&this.redraw(),this.isHtmlRenderMode()&&e&&e.fromSubmission&&t)return this.redraw(),t;for(var o in this.refs.input)this.refs.input.hasOwnProperty(o)&&this.setValueAt(o,l?n[o]:n,e);return t}},{key:"setValueAt",value:function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.noDefault||null!=e||this.component.multiple||(e=this.defaultValue);var l=this.performInputMapping(this.refs.input[n]),i=this.refs.valueMaskInput;null!=i&&i.mask&&i.mask.textMaskInputElement.update(e),l.mask?l.mask.textMaskInputElement.update(e):l.widget&&l.widget.setValue?l.widget.setValue(e):l.value=e}},{key:"hasSetValue",get:function(){return this.hasValue()&&!this.isEmpty(this.dataValue)}},{key:"setDefaultValue",value:function(){if(this.defaultValue&&this.shouldAddDefaultValue){var n=this.component.multiple&&!this.dataValue.length?[]:this.defaultValue;this.setValue(n,{noUpdateEvent:!0})}}},{key:"restoreValue",value:function(){this.hasSetValue?this.setValue(this.dataValue,{noUpdateEvent:!0}):this.setDefaultValue()}},{key:"normalizeValue",value:function(n){return this.component.multiple&&!Array.isArray(n)&&(n=n?[n]:[]),n}},{key:"updateComponentValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.resetValue||null!=n?n:this.getValue();t=this.normalizeValue(t,e);var l=this.dataValue,i=void 0!==t&&this.hasChanged(t,l);return i&&(this.dataValue=t,i=this.dataValue!==l,this.updateOnChange(e,i)),this.componentModal&&e&&e.fromSubmission&&this.componentModal.setValue(n),i}},{key:"updateValue",value:function(){return this.updateComponentValue.apply(this,arguments)}},{key:"getIcon",value:function(n,e,t){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"icon";return this.renderTemplate("icon",{className:this.iconClass(n),ref:l,styles:t,content:e})}},{key:"resetValue",value:function(){this.unset(),this.setValue(this.emptyValue,{noUpdateEvent:!0,noValidate:!0,resetValue:!0})}},{key:"hasChanged",value:function(n,e){return!(null==n&&(null==e||this.isEmpty(e))||(null==n||!this.allowData||this.hasValue())&&u.default.isEqual(n,e))}},{key:"updateOnChange",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(n.noUpdateEvent||!e||(this.triggerChange(n),0))}},{key:"convertNumberOrBoolToString",value:function(n){return"number"==typeof n||"boolean"==typeof n?n.toString():n}},{key:"doValueCalculation",value:function(n,e,t){var l;return this.evaluate(this.component.calculateValue,{value:n,data:e,row:t||this.data,submission:(null===(l=this.root)||void 0===l?void 0:l._submission)||{data:this.rootValue}},"value")}},{key:"calculateComponentValue",value:function(n,e,t){if(this.builderMode||u.default.isUndefined(u.default.get(this,"root.data")))return!1;var l=this.component.clearOnHide,i=!this.visible&&l,o=u.default.get(this.component,"allowCalculateOverride",!1);if(i)return this.hasOwnProperty("calculatedValue")&&o&&u.default.unset(this,"calculatedValue"),!1;if(this.options.readOnly&&!this.options.pdf&&!this.component.calculateValue||!this.component.calculateValue&&!this.component.calculateValueVariable||this.options.server&&!this.component.calculateServer||e.dataSourceInitialLoading&&o)return!1;var r=this.dataValue,a=this.doValueCalculation(r,n,t,e);if(this.options.readOnly&&r&&!a)return!1;u.default.isNil(a)&&(a=this.emptyValue);var s=!u.default.isEqual(r,a);if(o){var d=e.fromSubmission&&!0===this.component.persistent;if(this.isEmpty(r))this.calculationLocked=!1;else if(this.calculationLocked||d)return this.calculationLocked=!0,!1;var p=void 0===this.calculatedValue||e.resetValue;p&&(this.calculatedValue=null);var h=this.normalizeValue(this.convertNumberOrBoolToString(a)),g=this.normalizeValue(this.convertNumberOrBoolToString(this.calculatedValue)),f=this.normalizeValue(this.convertNumberOrBoolToString(r)),m=!u.default.isEqual(g,h),b=!u.default.isEqual(f,g);if(m&&b&&!p)return!1;if(g&&b&&!m)return this.calculatedValue=null,!1;if(e.isReordered||!m)return!1;if(d)return this.calculatedValue=(0,c.fastCloneDeep)(a),!1;if(p&&!this.isEmpty(r)&&s&&m)return!0}return this.calculatedValue=(0,c.fastCloneDeep)(a),!!s&&(e.noPristineChangeOnModified||(this.pristine=!1),e.triggeredComponentId=this.id,this.setValue(a,e))}},{key:"calculateValue",value:function(n,e,t){return n=n||this.rootValue,e=e||{},t=t||this.data,this.calculateComponentValue(n,e,t)}},{key:"label",get:function(){return this.component.label},set:function(n){this.component.label=n,this.labelElement&&(this.labelElement.innerText=n)}},{key:"getRoot",value:function(){return this.root}},{key:"invalidMessage",value:function(n,e,t,l){return t||this.checkCondition(l,n)?this.invalid?this.invalid:!this.hasInput||!e&&this.pristine?"":u.default.map(d.default.checkComponent(this,n),"message").join("\n\n"):""}},{key:"isValid",value:function(n,e){return!this.invalidMessage(n,e)}},{key:"setComponentValidity",value:function(n,e,t){var l=!!n.filter((function(n){return"error"===n.level&&!n.fromServer})).length;return!n.length||t&&!this.error||this.isEmpty(this.defaultValue)&&!e&&this.pristine?t||this.setCustomValidity(""):this.setCustomValidity(n,e),!l}},{key:"checkComponentValidity",value:function(n,e,t){var l,i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||this.rootValue,t=t||this.data;var u=r.async,a=void 0!==u&&u,s=r.silentCheck,c=void 0!==s&&s;if(this.shouldSkipValidation(n,e,t))return this.setCustomValidity(""),!a||o.default.resolve(!0);var p=d.default.checkComponent(this,n,t,!0,a),h=p;return null!==(l=this.serverErrors)&&void 0!==l&&l.length&&(h=p.concat(this.serverErrors)),a?h.then((function(n){return i.setComponentValidity(n,e,c)})):this.setComponentValidity(h,e,c)}},{key:"checkValidity",value:function(n,e,t,l){n=n||this.rootValue,t=t||this.data;var i=this.checkComponentValidity(n,e,t,{silentCheck:l});return this.checkModal(),i}},{key:"checkAsyncValidity",value:function(n,e,t,l){return o.default.resolve(this.checkComponentValidity(n,e,t,{async:!0,silentCheck:l}))}},{key:"checkData",value:function(n,e,t){if(n=n||this.rootValue,e=e||{},t=t||this.data,this.resetCaches(),e.fromBlur||this.checkRefreshOn(e.changes,e),e.noCheck)return!0;if(this.checkComponentConditions(n,e,t),this.id!==e.triggeredComponentId&&this.calculateComponentValue(n,e,t),e.noValidate&&!e.validateOnInit&&!e.fromIframe)return e.fromSubmission&&this.rootPristine&&this.pristine&&this.error&&e.changed&&this.checkComponentValidity(n,!!this.options.alwaysDirty,t,!0),!0;var l=!1;if((this.options.alwaysDirty||e.dirty)&&(l=!0),e.fromSubmission&&this.hasValue(n)&&(l=!0),this.setDirty(l),"blur"===this.component.validateOn&&e.fromSubmission)return!0;var i=this.checkComponentValidity(n,l,t,e);return this.checkModal(),i}},{key:"checkModal",value:function(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.component.modalEdit&&this.componentModal&&(e&&!n?this.setErrorClasses([this.refs.openModal],e,!n,!!this.errors.length,this.refs.openModalWrapper):this.clearErrorClasses(this.refs.openModalWrapper))}},{key:"validationValue",get:function(){return this.dataValue}},{key:"isEmpty",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dataValue,e=!(!u.default.isArray(n)||1!==n.length)&&u.default.isEqual(n[0],this.emptyValue);return null==n||0===n.length||u.default.isEqual(n,this.emptyValue)||e}},{key:"isEqual",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dataValue;return this.isEmpty(n)&&this.isEmpty(e)||u.default.isEqual(n,e)}},{key:"validateMultiple",value:function(){return!0}},{key:"errors",get:function(){return this.error?[this.error]:[]}},{key:"clearErrorClasses",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.element;this.removeClass(n,this.options.componentErrorClass),this.removeClass(n,"alert alert-danger"),this.removeClass(n,"has-error"),this.removeClass(n,"has-message")}},{key:"setInputWidgetErrorClasses",value:function(n,e){this.isInputComponent&&this.component.widget&&null!=n&&n.length&&n.forEach((function(n){null!=n&&n.widget&&n.widget.setErrorClasses&&n.widget.setErrorClasses(e)}))}},{key:"addFocusBlurEvents",value:function(n){var e=this;this.addEventListener(n,"focus",(function(){e.root.focusedComponent!==e?(e.root.pendingBlur&&e.root.pendingBlur(),e.root.focusedComponent=e,e.emit("focus",e)):e.root.focusedComponent===e&&e.root.pendingBlur&&(e.root.pendingBlur.cancel(),e.root.pendingBlur=null)})),this.addEventListener(n,"blur",(function(){e.root.pendingBlur=c.delay((function(){e.emit("blur",e),"blur"===e.component.validateOn&&e.root.triggerChange({fromBlur:!0},{instance:e,component:e.component,value:e.dataValue,flags:{fromBlur:!0}}),e.root.focusedComponent=null,e.root.pendingBlur=null}))}))}},{key:"setCustomValidity",value:function(n,e,t){var l=this,i=this.isInputComponent?this.refs.input||[]:null;"string"==typeof n&&n&&(n={level:"error",message:n}),Array.isArray(n)||(n=n?[n]:[]);var o=!!n.filter((function(n){return"error"===n.level})).length,r=i;if(this.component.multiple){var u=Array.from(i);u.forEach((function(n){l.setElementInvalid(l.performInputMapping(n),!1)})),this.setInputWidgetErrorClasses(u,!1),r=u.filter((function(e){var t,l;return null===(t=(l=n).some)||void 0===t?void 0:t.call(l,(function(n){var t;return(null==n||null===(t=n.context)||void 0===t?void 0:t.input)===e}))}))}n.length?(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.error={component:this.component,message:n[0].message,messages:n,external:!!t},this.emit("componentError",this.error),this.addMessages(n,e,r),r&&this.setErrorClasses(r,e,o,!!n.length)):(!this.error||this.error&&this.error.external===!!t)&&(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.refs.modalMessageContainer&&this.empty(this.refs.modalMessageContainer),this.error=null,r&&this.setErrorClasses(r,e,o,!!n.length),this.clearErrorClasses())}},{key:"isValueHidden",value:function(){return(!this.component.protected||!this.root.editing)&&!(!this.root||!this.root.hasOwnProperty("editing"))&&!(!this.root||!this.root.editing)&&(this.component.protected||!this.component.persistent||"client-only"===this.component.persistent)}},{key:"shouldSkipValidation",value:function(n,e,t){var l=this;return[function(){return l.options.readOnly},function(){return!l.hasInput},function(){return l.isValueHidden()},function(){return!l.visible},function(){return!l.checkCondition(t,n)}].some((function(n){return n()}))}},{key:"whenReady",value:function(){return console.warn("The whenReady() method has been deprecated. Please use the dataReady property instead."),this.dataReady}},{key:"dataReady",get:function(){return o.default.resolve()}},{key:"asString",value:function(n){return n=n||this.getValue(),(Array.isArray(n)?n:[n]).map(u.default.toString).join(", ")}},{key:"disabled",get:function(){return this._disabled||this.parentDisabled},set:function(n){this._disabled=n}},{key:"setDisabled",value:function(n,e){n&&(n.disabled=e,e?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled"))}},{key:"setLoading",value:function(n,e){n&&n.loading!==e&&(n.loading=e,!n.loader&&e&&(n.loader=this.ce("i",{class:"".concat(this.iconClass("refresh",!0)," button-icon-right")})),n.loader&&(e?this.appendTo(n.loader,n):this.removeChildFrom(n.loader,n)))}},{key:"selectOptions",value:function(n,e,t,l){var i=this;u.default.each(t,(function(e){var t={value:e.value};void 0!==l&&e.value===l&&(t.selected="selected");var o=i.ce("option",t);o.appendChild(i.text(e.label)),n.appendChild(o)}))}},{key:"setSelectValue",value:function(n,e){var t=n.querySelectorAll("option");u.default.each(t,(function(n){n.value===e?n.setAttribute("selected","selected"):n.removeAttribute("selected")})),n.onchange&&n.onchange(),n.onselect&&n.onselect()}},{key:"getRelativePath",value:function(n){var e=".".concat(this.key),t=this.isInputComponent?this.path:this.path.slice(0).replace(e,"");return n.replace(t,"")}},{key:"clear",value:function(){this.detach(),this.empty(this.getElement())}},{key:"append",value:function(n){this.appendTo(n,this.element)}},{key:"prepend",value:function(n){this.prependTo(n,this.element)}},{key:"removeChild",value:function(n){this.removeChildFrom(n,this.element)}},{key:"detachLogic",value:function(){var n=this;this.logic.forEach((function(e){if("event"===e.trigger.type){var t=n.interpolate(e.trigger.event);n.off(t)}}))}},{key:"attachLogic",value:function(){var n=this;this.builderMode||this.logic.forEach((function(e){if("event"===e.trigger.type){var t=n.interpolate(e.trigger.event);n.on(t,(function(){for(var t=(0,c.fastCloneDeep)(n.originalComponent),l=arguments.length,i=new Array(l),o=0;o0&&void 0!==arguments[0]?arguments[0]:this.element;if(n){var e=n.getBoundingClientRect(),t=e.left,l=e.top;window.scrollTo(t+window.scrollX,l+window.scrollY)}}},{key:"focus",value:function(n){var e;if("beforeFocus"in this.parent&&this.parent.beforeFocus(this),null!==(e=this.refs.input)&&void 0!==e&&e.length){var t,l="number"==typeof n&&this.refs.input[n]?this.refs.input[n]:this.refs.input[this.refs.input.length-1];if("calendar"===(null===(t=this.component.widget)||void 0===t?void 0:t.type)){var i=l.nextSibling;i&&i.focus()}else l.focus()}this.refs.openModal&&this.refs.openModal.focus(),this.parent.refs.openModal&&this.parent.refs.openModal.focus()}},{key:"fileService",get:function(){if(this.options.fileService)return this.options.fileService;if(this.options.formio)return this.options.formio;if(this.root&&this.root.formio)return this.root.formio;var n=new s.GlobalFormio;return this.root&&this.root._form&&this.root._form._id&&(n.formUrl="".concat(n.projectUrl,"/form/").concat(this.root._form._id)),n}},{key:"resetCaches",value:function(){}},{key:"previewMode",get:function(){return!1}}])&&O(e.prototype,t),l&&O(e,l),Object.defineProperty(e,"prototype",{writable:!1}),v}(p.default);e.default=F,F.externalLibraries={},F.requireLibrary=function(n,e,t,l){if(!F.externalLibraries.hasOwnProperty(n)){F.externalLibraries[n]={},F.externalLibraries[n].ready=new o.default((function(e,t){F.externalLibraries[n].resolve=e,F.externalLibraries[n].reject=t}));var i="".concat(n,"Callback");l||window[i]||(window[i]=(function(){this.resolve()}).bind(F.externalLibraries[n]));var r=u.default.get(window,e);r?F.externalLibraries[n].resolve(r):((t=Array.isArray(t)?t:[t]).forEach((function(n){var e={},t="";switch("string"==typeof n&&(n={type:"script",src:n}),n.type){case"script":t="script",e={src:n.src,type:"text/javascript",defer:!0,async:!0};break;case"styles":t="link",e={href:n.src,rel:"stylesheet"}}var l=document.createElement(t);for(var i in e)l.setAttribute(i,e[i]);document.getElementsByTagName("head")[0].appendChild(l)})),l&&setTimeout((function t(){var l=u.default.get(window,e);l?F.externalLibraries[n].resolve(l):setTimeout(t,200)}),200))}return F.externalLibraries[n].ready},F.libraryReady=function(n){return F.externalLibraries.hasOwnProperty(n)&&F.externalLibraries[n].ready?F.externalLibraries[n].ready:o.default.reject("".concat(n," library was not required."))}},"3KsH":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l,i=(l=t("gpP3"))&&l.__esModule?l:{default:l};var o=[{type:"textarea",label:"Header Template",key:"templates.header",rows:5,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Two available variables. "value" is the array of row data and "components" is the array of components in the grid.',tooltip:"This is the Lodash Template used to render the header of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&!e.displayAsTable}},{type:"textarea",label:"Table Header Template",key:"templates.tableHeader",rows:6,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Two available variables. "value" is the array of row data and "components" is the array of components in the grid.',tooltip:"This is the Lodash Template used to render the header of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&e.displayAsTable}},{type:"textarea",label:"Row Template",key:"templates.row",rows:5,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Three available variables. "row" is an object of one row\'s data, "components" is the array of components in the grid and "state" is current row\'s state (can be "draft" or "saved"). To add click events, add the classes "editRow" and "removeRow" to elements.',tooltip:"This is the Lodash Template used to render each row of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&!e.displayAsTable}},{type:"textarea",label:"Table Row Template",key:"templates.tableRow",rows:5,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Three available variables. "row" is an object of one row\'s data, "components" is the array of components in the grid and "state" is current row\'s state (can be "draft" or "saved"). To add click events, add the classes "editRow" and "removeRow" to elements.',tooltip:"This is the Lodash Template used to render each row of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&e.displayAsTable}},{type:"textarea",label:"Footer Template",key:"templates.footer",rows:5,editor:"ace",as:"handlebars",input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Two available variables. "value" is the array of row data and "components" is the array of components in the grid.',tooltip:"This is the Lodash Template used to render the footer of the Edit grid.",customConditional:function(){return!i.default.noeval||i.default.protectedEval}},{type:"textfield",input:!0,key:"rowClass",label:"Row CSS Class",placeholder:"Row CSS Class",tooltip:"CSS class to add to the edit row wrapper."},{type:"textfield",input:!0,key:"addAnother",label:"Add Another Text",placeholder:"Add Another",tooltip:"Set the text of the Add Another button."},{weight:70,type:"checkbox",label:"Display as Modal",tooltip:"Display a modal to add or edit entries in the table",key:"modal",input:!0},{type:"textfield",input:!0,key:"saveRow",label:"Save Row Text",placeholder:"Save",tooltip:"Set the text of the Save Row button."},{type:"textfield",input:!0,key:"removeRow",label:"Remove Row Text",placeholder:"Remove",tooltip:"Set the text of the remove Row button."}];e.default=o},"3L66":function(n,e,t){var l=t("MMmD"),i=t("ExA7");n.exports=function(n){return i(n)&&l(n)}},"3MOf":function(n,e,t){"use strict";var l=t("rpNk").IteratorPrototype,i=t("fHMY"),o=t("XGwC"),r=t("1E5z"),u=t("P4y1"),a=function(){return this};n.exports=function(n,e,t,s){var c=e+" Iterator";return n.prototype=i(l,{next:o(+!s,t)}),r(n,c,!1,!0),u[c]=a,n}},"3U0i":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}t.d(e,"a",(function(){return i})),l.prototype=Object.create(Error.prototype);var i=l},"3WF5":function(n,e,t){var l=t("eUgh"),i=t("ut/Y"),o=t("l9OW"),r=t("Z0cm");n.exports=function(n,e){return(r(n)?l:o)(n,i(e,3))}},"3Wpx":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("owDf");e.default={form:l.default}},"3azA":function(n,e,t){var l=t("M96O"),i=t("z6cq");n.exports=function(n){return l.filter(i(n),(function(e){return e.length>1||1===e.length&&n.hasEdge(e[0],e[0])}))}},"3bBZ":function(n,e,t){"use strict";var l=t("2oRo"),i=t("/byt"),o=t("eFrH"),r=t("4mDm"),u=t("kRJp"),a=t("1E5z"),s=t("tiKp")("iterator"),c=r.values,d=function(n,e){if(n){if(n[s]!==c)try{u(n,s,c)}catch(l){n[s]=c}if(a(n,e,!0),i[e])for(var t in r)if(n[t]!==r[t])try{u(n,t,r[t])}catch(l){n[t]=r[t]}}};for(var p in i)d(l[p]&&l[p].prototype,p);d(o,"DOMTokenList")},"3duJ":function(n,e,t){"use strict";var l,i=this&&this.__extends||(l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)},function(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var o=t("imqj"),r=function(){};e.Point=r;var u=function(n,e,t,l){this.x1=n,this.y1=e,this.x2=t,this.y2=l};e.LineSegment=u;var a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i(e,n),e}(r);function s(n,e,t){return(e.x-n.x)*(t.y-n.y)-(t.x-n.x)*(e.y-n.y)}function c(n,e,t){return s(n,e,t)>0}function d(n,e,t){return s(n,e,t)<0}function p(n,e){var t,l,i,o,r=e.length-1;if(d(n,e[1],e[0])&&!c(n,e[r-1],e[0]))return 0;for(t=0,l=r;;){if(l-t==1)return c(n,e[t],e[l])?t:l;if((o=d(n,e[(i=Math.floor((t+l)/2))+1],e[i]))&&!c(n,e[i-1],e[i]))return i;c(n,e[t+1],e[t])?o||c(n,e[t],e[i])?l=i:t=i:o&&d(n,e[t],e[i])?l=i:t=i}}function h(n,e){var t,l,i,o,r=e.length-1;if(c(n,e[r-1],e[0])&&!d(n,e[1],e[0]))return 0;for(t=0,l=r;;){if(l-t==1)return d(n,e[t],e[l])?t:l;if(o=d(n,e[(i=Math.floor((t+l)/2))+1],e[i]),c(n,e[i-1],e[i])&&!o)return i;d(n,e[t+1],e[t])?o?d(n,e[t],e[i])?l=i:t=i:l=i:o?t=i:c(n,e[t],e[i])?l=i:t=i}}function g(n,e,t,l,i,o){var r,u;u=l(n[r=t(e[0],n)],e);for(var a=!1;!a;){for(a=!0;r===n.length-1&&(r=0),!i(e[u],n[r],n[r+1]);)++r;for(;0===u&&(u=e.length-1),!o(n[r],e[u],e[u-1]);)--u,a=!1}return{t1:r,t2:u}}function f(n,e){return g(n,e,p,h,c,d)}e.PolyPoint=a,e.isLeft=s,e.ConvexHull=function(n){var e,t=n.slice(0).sort((function(n,e){return n.x!==e.x?e.x-n.x:e.y-n.y})),l=n.length,i=t[0].x;for(e=1;e=0&&t[e].x===c;e--);for(u=e+1,e=o;++e<=u;)if(!(s(t[0],t[u],t[e])>=0&&e1&&!(s(r[r.length-2],r[r.length-1],t[e])>0);)r.length-=1;0!=e&&r.push(t[e])}a!=u&&r.push(t[a]);var d=r.length;for(e=u;--e>=o;)if(!(s(t[a],t[o],t[e])>=0&&e>o)){for(;r.length>d&&!(s(r[r.length-2],r[r.length-1],t[e])>0);)r.length-=1;0!=e&&r.push(t[e])}}return r},e.clockwiseRadialSweep=function(n,e,t){e.slice(0).sort((function(e,t){return Math.atan2(e.y-n.y,e.x-n.x)-Math.atan2(t.y-n.y,t.x-n.x)})).forEach(t)},e.tangent_PolyPolyC=g,e.LRtangent_PolyPolyC=function(n,e){var t=f(e,n);return{t1:t.t2,t2:t.t1}},e.RLtangent_PolyPolyC=f,e.LLtangent_PolyPolyC=function(n,e){return g(n,e,h,h,d,d)},e.RRtangent_PolyPolyC=function(n,e){return g(n,e,p,p,c,c)};var m=function(n,e){this.t1=n,this.t2=e};e.BiTangent=m;var b=function(){};e.BiTangents=b;var v=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i(e,n),e}(r);e.TVGPoint=v;var y=function(n,e,t,l){this.id=n,this.polyid=e,this.polyvertid=t,this.p=l,l.vv=this};e.VisibilityVertex=y;var A=function(){function n(n,e){this.source=n,this.target=e}return n.prototype.length=function(){var n=this.source.p.x-this.target.p.x,e=this.source.p.y-this.target.p.y;return Math.sqrt(n*n+e*e)},n}();e.VisibilityEdge=A;var C=function(){function n(n,e){if(this.P=n,this.V=[],this.E=[],e)this.V=e.V.slice(0),this.E=e.E.slice(0);else{for(var t=n.length,l=0;l0&&this.E.push(new A(i[o-1].vv,u))}i.length>1&&this.E.push(new A(i[0].vv,i[i.length-1].vv))}for(l=0;l0)return!0;return!1},n}();function w(n,e){for(var t=[],l=1,i=e.length;l=0&&f>=0&&v<0&&y>=0&&A>=0&&C<0?i.ll=new m(o,r):g<=0&&f<=0&&v>0&&y<=0&&A<=0&&C>0?i.rr=new m(o,r):g<=0&&f>0&&v<=0&&y>=0&&A<0&&C>=0?i.rl=new m(o,r):g>=0&&f<0&&v>=0&&y<=0&&A>0&&C<=0&&(i.lr=new m(o,r))}return i}function _(n,e){return!n.every((function(n){return!function(n,e){for(var t=1,l=e.length;t0)return!0}return!1}},"3fWJ":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}t.d(e,"a",(function(){return i})),l.prototype=Object.create(Error.prototype);var i=l},"3fes":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"spellcheck",ignore:!0},{key:"inputMask",ignore:!0},{key:"allowMultipleMasks",ignore:!0},{key:"showWordCount",ignore:!0},{key:"showCharCount",ignore:!0}]},"3hoe":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{label:"HTML Attributes",type:"datamap",input:!0,key:"attributes",keyLabel:"Attribute Name",valueComponent:{type:"textfield",key:"value",label:"Attribute Value",input:!0},tooltip:"Provide a map of HTML attributes for component's input element (attributes provided by other component settings or other attributes generated by form.io take precedence over attributes in this grid)",addAnother:"Add Attribute"},{type:"panel",legend:"PDF Overlay",title:"PDF Overlay",key:"overlay",tooltip:"The settings inside apply only to the PDF forms.",weight:2e3,collapsible:!0,collapsed:!0,components:[{type:"textfield",input:!0,key:"overlay.style",label:"Style",placeholder:"",tooltip:"Custom styles that should be applied to this component when rendered in PDF."},{type:"textfield",input:!0,key:"overlay.page",label:"Page",placeholder:"",tooltip:"The PDF page to place this component."},{type:"textfield",input:!0,key:"overlay.left",label:"Left",placeholder:"",tooltip:"The left margin within a page to place this component."},{type:"textfield",input:!0,key:"overlay.top",label:"Top",placeholder:"",tooltip:"The top margin within a page to place this component."},{type:"textfield",input:!0,key:"overlay.width",label:"Width",placeholder:"",tooltip:"The width of the component (in pixels)."},{type:"textfield",input:!0,key:"overlay.height",label:"Height",placeholder:"",tooltip:"The height of the component (in pixels)."}]}]},"3ipb":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("idMQ");e.default={form:l.default}},"3qOy":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n
\n ',"wizardHeaderVertical"===n.wizardHeaderType?t+='\n
\n
\n '+(null==(e=n.wizardHeader)?"":e)+'\n
\n
\n
\n '+(null==(e=n.components)?"":e)+'\n
\n
\n
\n
\n
\n '+(null==(e=n.wizardNav)?"":e)+"\n
\n
\n ":t+=" \n "+(null==(e=n.wizardHeader)?"":e)+'\n
\n '+(null==(e=n.components)?"":e)+"\n
\n "+(null==(e=n.wizardNav)?"":e)+"\n ",t+=" \n
\n
"}},"3y7U":function(n,e,t){var l=t("M96O");n.exports=function(n,e,t){l.isArray(e)||(e=[e]);var i=(n.isDirected()?n.successors:n.neighbors).bind(n),o=[],r={};return l.each(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);!function n(e,t,i,o,r,u){l.has(o,t)||(o[t]=!0,i||u.push(t),l.each(r(t),(function(t){n(e,t,i,o,r,u)})),i&&u.push(t))}(n,e,"post"===t,r,i,o)})),o}},"3y9D":function(n,e,t){var l,i,o,r,u,a,s,c;n.exports=(c=t("Ib8C"),i=(l=c).lib,o=i.WordArray,r=i.Hasher,u=l.algo,a=[],s=u.SHA1=r.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,e){for(var t=this._hash.words,l=t[0],i=t[1],o=t[2],r=t[3],u=t[4],s=0;s<80;s++){if(s<16)a[s]=0|n[e+s];else{var c=a[s-3]^a[s-8]^a[s-14]^a[s-16];a[s]=c<<1|c>>>31}var d=(l<<5|l>>>27)+u+a[s];d+=s<20?1518500249+(i&o|~i&r):s<40?1859775393+(i^o^r):s<60?(i&o|i&r|o&r)-1894007588:(i^o^r)-899497514,u=r,r=o,o=i<<30|i>>>2,i=l,l=d}t[0]=t[0]+l|0,t[1]=t[1]+i|0,t[2]=t[2]+o|0,t[3]=t[3]+r|0,t[4]=t[4]+u|0},_doFinalize:function(){var n=this._data,e=n.words,t=8*this._nDataBytes,l=8*n.sigBytes;return e[l>>>5]|=128<<24-l%32,e[14+(l+64>>>9<<4)]=Math.floor(t/4294967296),e[15+(l+64>>>9<<4)]=t,n.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var n=r.clone.call(this);return n._hash=this._hash.clone(),n}}),l.SHA1=r._createHelper(s),l.HmacSHA1=r._createHmacHelper(s),c.SHA1)},"4/ic":function(n,e,t){var l=t("ZWtO");n.exports=function(n){return function(e){return l(e,n)}}},"409L":function(n,e,t){n.exports={graphlib:t("F9We"),layout:t("epwv"),debug:t("4JAw"),util:{time:t("tQ6r").time,notime:t("tQ6r").notime},version:t("khRU")}},"44Ds":function(n,e,t){var l=t("e4Nc");function i(n,e){if("function"!=typeof n||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var t=function(){var l=arguments,i=e?e.apply(this,l):l[0],o=t.cache;if(o.has(i))return o.get(i);var r=n.apply(this,l);return t.cache=o.set(i,r)||o,r};return t.cache=new(i.Cache||l),t}i.Cache=l,n.exports=i},"44OH":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function o(n,e){for(var t=0;t=e}}])&&o(e.prototype,t),l&&o(e,l),Object.defineProperty(e,"prototype",{writable:!1}),c}(h)},"4Ai+":function(n,e,t){var l=t("Ac7g");n.exports={Graph:l.Graph,json:t("GbLa"),alg:t("2J+T"),version:l.version}},"4B4T":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t=10?n:n+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?n+12:void 0},meridiem:function(n,e,t){return n<4?"\u0ab0\u0abe\u0aa4":n<10?"\u0ab8\u0ab5\u0abe\u0ab0":n<17?"\u0aac\u0aaa\u0acb\u0ab0":n<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(t("wd/R"))},"4O5w":function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("1U75"))&&l.__esModule?l:{default:l}).default};e.default=i},"4Oe1":function(n,e,t){var l=t("YO3V");n.exports=function(n){return l(n)?void 0:n}},"4PO4":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t\n \n\n"}},"4WOD":function(n,e,t){"use strict";var l=t("Gi26"),i=t("Fib7"),o=t("ewvW"),r=t("93I0"),u=t("4Xet"),a=r("IE_PROTO"),s=Object,c=s.prototype;n.exports=u?s.getPrototypeOf:function(n){var e=o(n);if(l(e,a))return e[a];var t=e.constructor;return i(t)&&e instanceof t?t.prototype:e instanceof s?c:null}},"4Xet":function(n,e,t){"use strict";var l=t("0Dky");n.exports=!l((function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype}))},"4ap4":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n','\n'}},"4bFt":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n
'+(null==(e=n.children)?"":e)+"
\n ",n.readOnly||(t+='\n
\n \n \n
\n "),t+="\n
\n"}},"4dOw":function(n,e,t){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(t("wd/R"))},"4fRq":function(n,e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var l=new Uint8Array(16);n.exports=function(){return t(l),l}}else{var i=new Array(16);n.exports=function(){for(var n,e=0;e<16;e++)0==(3&e)&&(n=4294967296*Math.random()),i[e]=n>>>((3&e)<<3)&255;return i}}},"4kV8":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("1oAp"),i=t("ZDfJ");e.default={form:l.default,html:i.default}},"4kuk":function(n,e,t){var l=t("SfRM"),i=t("Hvzi"),o=t("u8Dt"),r=t("ekgI"),u=t("JSQU");function a(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e=e.length)return n.target=void 0,s(void 0,!0);switch(n.kind){case"keys":return s(t,!1);case"values":return s(e[t],!1)}return s([t,e[t]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==g.name)try{u(g,"name",{value:"values"})}catch(f){}},"4mfi":function(n,e,t){"use strict";var l=t("4zBA"),i=t("6LWA"),o=t("Fib7"),r=t("xrYK"),u=t("V37c"),a=l([].push);n.exports=function(n){if(o(n))return n;if(i(n)){for(var e=n.length,t=[],l=0;l\n'),t+="\n\n"+(null==(e=n.element)?"":e)+"\n",n.label.hidden||"bottom"!==n.label.labelPosition||(t+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),t+="\n",n.component.description&&(t+='\n
'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
\n"),t+="\n"}},"5DmW":function(n,e,t){"use strict";var l=t("I+eb"),i=t("0Dky"),o=t("/GqU"),r=t("Bs8V").f,u=t("g6v/");l({target:"Object",stat:!0,forced:!u||i((function(){r(1)})),sham:!u},{getOwnPropertyDescriptor:function(n,e){return r(o(n),e)}})},"5EqP":function(n,e,t){var l=t("M96O");n.exports=function(n){var e,t={},i=[];function o(i){l.has(t,i)||(t[i]=!0,e.push(i),l.each(n.successors(i),o),l.each(n.predecessors(i),o))}return l.each(n.nodes(),(function(n){e=[],o(n),e.length&&i.push(e)})),i}},"5Kqs":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length,l=new Array(t>2?t-2:0),i=2;i0&&void 0!==arguments[0]?arguments[0]:"";return n.replace(/\[\d+\]/,"")},e.getComponentSavedTypes=function(n){var e=n||{};if(!0!==e.persistent)return[];if(e.multiple)return[V.array];return null},e.getContextButtons=function(n){var e=[];return n.utils.eachComponent(n.instance.options.editForm.components,(function(n){"button"===n.type&&e.push({label:"".concat(n.key," (").concat(n.label,")"),value:n.key})})),e},e.getContextComponents=function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=[];return n.utils.eachComponent(n.instance.options.editForm.components,(function(o,r){var u=!e||!o.tree;o.key!==n.data.key&&u&&!i.default.includes(t,o.type)&&l.push({label:"".concat(o.label||o.key," (").concat(r,")"),value:r})})),l},e.getCurrencyAffixes=function(n){var e=n.currency,t=void 0===e?"USD":e,l=n.decimalLimit,i=n.decimalSeparator,o=n.lang,r="(.*)?".concat(100..toLocaleString(o));l&&(r+="".concat("."===i?"\\.":i).concat((0).toLocaleString(o),"{").concat(l,"}"));r+="(.*)?";var u=100..toLocaleString(o,{style:"currency",currency:t,useGrouping:!0,maximumFractionDigits:l||0,minimumFractionDigits:l||0}).replace(".",i).match(new RegExp(r));return{prefix:(null==u?void 0:u[1])||"",suffix:(null==u?void 0:u[2])||""}},e.getDataParentComponent=j,e.getDateSetting=function(n){if(i.default.isNil(n)||i.default.isNaN(n)||""===n)return null;if(n instanceof Date)return n;if("function"==typeof n.toDate)return n.isValid()?n.toDate():null;var e="string"!=typeof n||-1===n.indexOf("moment(")?(0,u.default)(n):null;if(e&&e.isValid())return e.toDate();e=null;try{var t=h.default.evaluator("return ".concat(n,";"),"moment")(u.default);"string"==typeof t?e=(0,u.default)(t):"function"==typeof t.toDate?e=(0,u.default)(t.toDate().toUTCString()):t instanceof Date&&(e=(0,u.default)(t))}catch(l){return null}if(!e)return null;if(!e.isValid())return null;return e.toDate()},e.getElementRect=function(n){var e=window.getComputedStyle(n,null);return{x:C(e,"left"),y:C(e,"top"),width:C(e,"width"),height:C(e,"height")}},e.getFocusableElements=function(n){return n.querySelectorAll("button:not([disabled]), input:not([disabled]), select:not([disabled]),\n textarea:not([disabled]), button:not([disabled]), [href]")},e.getIEBrowserVersion=function(){var n=B(),e=n.ie,t=n.version;return e?t:null},e.getInputMask=function(n,e){if(n instanceof Array)return n;var t=[];t.numeric=!0;for(var l=0;l1&&e.push(t[1])}));return e},e.getLocaleDateFormatInfo=function(n){var e={},t=new Date(2017,11,21).toLocaleDateString(n);return e.dayFirst=t.slice(0,2)===21..toString(),e},e.getNumberDecimalLimit=function(n,e){if(i.default.has(n,"decimalLimit"))return i.default.get(n,"decimalLimit");var t=e||20,l=i.default.get(n,"validate.step","any");if("any"!==l){var o=l.toString().split(".");o.length>1&&(t=o[1].length)}return t},e.getNumberSeparators=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",e=12345.6789.toLocaleString(n),t=e.match(/..(.)...(.)../);if(!t)return{delimiter:",",decimalSeparator:"."};return{delimiter:t.length>1?t[1]:",",decimalSeparator:t.length>2?t[2]:"."}},e.getPropertyValue=C,e.getRandomComponentId=function(){return"e".concat(Math.random().toString(36).substring(7))},e.getStringFromComponentPath=function(n){if(!i.default.isArray(n))return n;var e="";return n.forEach((function(n,t){i.default.isNumber(n)?e+="[".concat(n,"]"):e+=0===t?n:".".concat(n)})),e},e.guid=O,e.hasInvalidComponent=function n(e){return e.getComponents().some((function(e){return i.default.isArray(e.components)?n(e):e.error}))},e.interpolate=void 0,e.isInputComponent=function(n){if(!1===n.input||!0===n.input)return n.input;switch(n.type){case"htmlelement":case"content":case"columns":case"fieldset":case"panel":case"table":case"tabs":case"well":case"button":return!1;default:return!0}},e.isInsideScopingComponent=function n(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t&&null!=e&&e.hasScopedChildren)return!0;var l=j(e);if(null!=l&&l.hasScopedChildren)return!0;if(null!=l&&l.parent)return n(l.parent,!1);return!1},e.isMongoId=function(n){return n.toString().match(/^[0-9a-fA-F]{24}$/)},e.isPromise=function(n){return n&&n.then&&"function"==typeof n.then&&"[object Promise]"===Object.prototype.toString.call(n)},e.isSelectResourceWithObjectValue=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.reference,t=n.dataSrc,l=n.valueProperty;return e||"resource"===t&&(!l||"data"===l)},e.isValidDate=function(n){return i.default.isDate(n)&&!i.default.isNaN(n.getDate())},e.iterateKey=D,Object.defineProperty(e,"jsonLogic",{enumerable:!0,get:function(){return r.default}}),e.loadZones=T,e.matchInputMask=function(n,e){if(!e)return!0;if(n.length>e.length)return!1;for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},t=e.limit,l=void 0===t?50:t,i=e.delay,o=void 0===i?500:i,r=0,u=0,a=function(){return r=0};return function(){if(0!==u&&(clearTimeout(u),u=0),u=setTimeout(a,o),(r+=1)>=l)return clearTimeout(u),a(),n()}},e.offsetDate=S,e.round=function(n,e){if(i.default.isNumber(n))return n.toFixed(e);return n},e.sanitize=function(n,e){if("function"!=typeof d.default.sanitize)return n;var t={ADD_ATTR:["ref","target"],USE_PROFILES:{html:!0}};e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.addAttr)&&e.sanitizeConfig.addAttr.length>0&&e.sanitizeConfig.addAttr.forEach((function(n){t.ADD_ATTR.push(n)}));e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.addTags)&&e.sanitizeConfig.addTags.length>0&&(t.ADD_TAGS=e.sanitizeConfig.addTags);e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.allowedTags)&&e.sanitizeConfig.allowedTags.length>0&&(t.ALLOWED_TAGS=e.sanitizeConfig.allowedTags);e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.allowedAttrs)&&e.sanitizeConfig.allowedAttrs.length>0&&(t.ALLOWED_ATTR=e.sanitizeConfig.allowedAttrs);e.sanitizeConfig&&e.sanitizeConfig.allowedUriRegex&&(t.ALLOWED_URI_REGEXP=e.sanitizeConfig.allowedUriRegex);e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.addUriSafeAttr)&&e.sanitizeConfig.addUriSafeAttr.length>0&&(t.ADD_URI_SAFE_ATTR=e.sanitizeConfig.addUriSafeAttr);return d.default.sanitize(n,t)},e.setActionProperty=function(n,e,t,l,o,r){var u=e.property.value;switch(e.property.type){case"boolean":var a=i.default.get(n,u,!1).toString(),s=e.state.toString();a!==s&&i.default.set(n,u,"true"===s);break;case"string":var c={data:o,row:l,component:n,result:t},d=e.property.component?e[e.property.component]:e.text,p=i.default.get(n,u,""),g=r&&r.interpolate?r.interpolate(d,c):h.default.interpolate(d,c);g!==p&&i.default.set(n,u,g)}return n},e.shouldLoadZones=I,e.translateHTMLTemplate=function(n,e){if(!/<[^>]*>/.test(n))return e(n);var t=document.createElement("div");if(t.innerHTML=n,t.innerText&&t.children.length)return function n(e,t){var l=e.children.length&&(o=e.children,function(n){if(Array.isArray(n))return m(n)}(o)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(o)||function(n,e){if(n){if("string"==typeof n)return m(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(n,e):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=l&&l.every((function(n){return 0===n.children.length&&N.some((function(e){return n.nodeName===e}))}));var o;!l||i?e.innerHTML=function n(e,t){if(!e.innerText)return e.innerHTML;var l=e.innerText.replace(h.default.templateSettings.interpolate,"").replace(/\s\s+/g," ").trim(),i=t(l);if(l!==i){var o=e.innerHTML.match(/]*>(.*?)<\/a>/g);if(o&&o.length){if(1===o.length&&o[0].length===e.innerHTML.length)return e.innerHTML.replace(l,i);var r=o.map((function(e){var l=document.createElement("a");return l.innerHTML=e,n(l,t)}));return"".concat(i," (").concat(r.join(", "),")")}return e.innerText.replace(l,i)}return e.innerHTML}(e,t):l.forEach((function(e){return n(e,t)}))}(t,e),t.innerHTML;return n},e.unescapeHTML=function(n){if("undefined"==typeof window||!("DOMParser"in window))return n;return(new window.DOMParser).parseFromString(n,"text/html").documentElement.textContent},e.unfold=R,e.uniqueKey=function(n,e){var t=e;for(;n.hasOwnProperty(t);)t=D(t);return t},e.uniqueName=function(n,e,t){(e=e||"{{fileName}}-{{guid}}").includes("{{guid}}")||(e="".concat(e,"-{{guid}}"));var l=n.split("."),o=l.slice(0,l.length-1).join("."),r=l.length>1?".".concat(i.default.last(l)):"";return o=o.substr(0,100),t=Object.assign(t||{},{fileName:o,guid:O()}),"".concat(h.default.interpolate(e,t)).concat(r).replace(/[^0-9a-zA-Z.\-_ ]/g,"-")},e.unmaskValue=function(n,e,t){if(!e||!n||n.length>e.length)return n;for(var l=n.split(""),o=0;on.length)&&(e=n.length);for(var t=0,l=new Array(e);t=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],l={browser:t[5]||t[3]||t[1]||"",version:t[4]||t[2]||"0"};return l.browser&&(n[l.browser]=!0,n.version=parseInt(l.version,10)),(n.chrome||n.opr||n.safari||n.edg||n.yabrowser)&&(n.isWebkit=!0),(n.rv||n.iemobile)&&(n.ie=!0),n.edg&&(n.edge=!0),n.opr&&(n.opera=!0),n}function F(n){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n&&n.key&&"wizard"!==(null==n||null===(e=n._form)||void 0===e?void 0:e.display)?(t=n.isInputComponent||!0===n.input?"".concat(n.key).concat(t?".":"").concat(t):t,F(n.parent,t)):t}function j(n){if(n){var e=n.parent;return e&&(e.isInputComponent||e.input)?e:j(e)}}var V={number:"number",string:"string",boolean:"boolean",array:"array",object:"object",date:"date",any:"any"};e.componentValueTypes=V},"5Q/x":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("NnsO"),i=t("EWgV");e.default={form:i.default,builder:l.default}},"5T7X":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
    \n ',n.header&&(t+='\n
  • \n '+(null==(e=n.header)?"":e)+"\n
  • \n "),t+="\n ",n.rows.forEach((function(l,i){t+='\n
  • \n '+(null==(e=l)?"":e)+"\n ",n.openRows[i]&&!n.readOnly&&(t+='\n
    \n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
    \n "),t+='\n
    \n
    \n '+(null==(e=n.errors[i])?"":e)+"\n
    \n
    \n
  • \n "})),t+="\n ",n.footer&&(t+='\n \n "),t+="\n
\n"}},"5Tg+":function(n,e,t){"use strict";var l=t("tiKp");e.f=l},"5Tg0":function(n,e,t){(function(n){var l=t("Kz5y"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof n&&n&&!n.nodeType&&n,r=o&&o.exports===i?l.Buffer:void 0,u=r?r.allocUnsafe:void 0;n.exports=function(n,e){if(e)return n.slice();var t=n.length,l=u?u(t):new n.constructor(t);return n.copy(l),l}}).call(this,t("YuTi")(n))},"5U3O":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("TeQF"),t("07d7"),t("pDQq");var l=o(t("LvDl")),i=o(t("gpP3"));function o(n){return n&&n.__esModule?n:{default:n}}var r={sortAndFilterComponents:function(n){return l.default.filter(l.default.sortBy(n,"weight"),(function(n){return!n.ignore}))},unifyComponents:function(n,e){return n.key&&e.key?!n.skipMerge&&!e.skipMerge&&(n.key===e.key&&(l.default.each(n,(function(t,l){!n.overrideEditForm&&e.hasOwnProperty(l)||(e[l]=t)})),l.default.each(e,(function(t,l){!e.overrideEditForm&&n.hasOwnProperty(l)||(n[l]=t)})),n.components&&(e.components=r.sortAndFilterComponents(l.default.unionWith(n.components,e.components,r.unifyComponents))),!0)):l.default.isEqual(n,e)},logicVariablesTable:function(n){return{type:"htmlelement",tag:"div",content:'

The following variables are available in all scripts.

'+(n=n||"")+'
formThe complete form JSON object
submissionThe complete submission object.
dataThe complete submission data object.
rowContextual "row" data, used within DataGrid, EditGrid, and Container components
componentThe current component JSON
instanceThe current component instance.
valueThe current value of the component.
momentThe moment.js library for date manipulation.
_An instance of Lodash.
utilsAn instance of the FormioUtils object.
utilAn alias for "utils".

'}},javaScriptValue:function(n,e,t,l,o,r){var u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",a=arguments.length>7?arguments[7]:void 0,s=[this.logicVariablesTable(u),{type:"panel",title:"JavaScript",collapsible:!0,collapsed:!1,style:{"margin-bottom":"10px"},key:"".concat(e,"-js"),customConditional:function(){return!i.default.noeval||i.default.protectedEval},components:[{type:"textarea",key:e,rows:5,editor:"ace",hideLabel:!0,as:"javascript",input:!0},{type:"htmlelement",tag:"div",content:"

Enter custom javascript code.

".concat(o)}]},{type:"panel",title:"JSONLogic",collapsible:!0,collapsed:!0,key:"".concat(e,"-json"),components:[{type:"htmlelement",tag:"div",content:'

Execute custom logic using JSONLogic.

Full Lodash support is provided using an "_" before each operation, such as {"_sum": {var: "data.a"}}

'+r},{type:"textarea",key:t,rows:5,editor:"ace",hideLabel:!0,as:"json",input:!0}]}];return a&&s.splice(2,1),{type:"panel",title:n,theme:"default",collapsible:!0,collapsed:!0,key:"".concat(e,"Panel"),weight:l,components:s}}},u=r;e.default=u},"5Uds":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("07d7"),t("SuFq"),t("uL8W"),t("eoL8"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ma9I"),t("ExoC"),t("wLYn"),t("NBAS");var i,o=(i=t("6P0p"))&&i.__esModule?i:{default:i};function r(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function u(n,e){for(var t=0;t1&&(u=a(u,o(arguments[1]))),u<0&&(u=t+u);u>=0;u--)if(u in e&&e[u]===n)return u||0;return-1}:s},"5hvy":function(n,e,t){var l;n.exports=(l=t("Ib8C"),t("MlIO"),function(n){var e=l,t=e.lib,i=t.WordArray,o=t.Hasher,r=e.x64.Word,u=e.algo,a=[],s=[],c=[];!function(){for(var n=1,e=0,t=0;t<24;t++){a[n+5*e]=(t+1)*(t+2)/2%64;var l=(2*n+3*e)%5;n=e%5,e=l}for(n=0;n<5;n++)for(e=0;e<5;e++)s[n+5*e]=e+(2*n+3*e)%5*5;for(var i=1,o=0;o<24;o++){for(var u=0,d=0,p=0;p<7;p++){if(1&i){var h=(1<>>24)|4278255360&(o<<24|o>>>8),r=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),(M=t[i]).high^=r,M.low^=o}for(var u=0;u<24;u++){for(var p=0;p<5;p++){for(var h=0,g=0,f=0;f<5;f++)h^=(M=t[p+5*f]).high,g^=M.low;var m=d[p];m.high=h,m.low=g}for(p=0;p<5;p++){var b=d[(p+4)%5],v=d[(p+1)%5],y=v.high,A=v.low;for(h=b.high^(y<<1|A>>>31),g=b.low^(A<<1|y>>>31),f=0;f<5;f++)(M=t[p+5*f]).high^=h,M.low^=g}for(var C=1;C<25;C++){var w=(M=t[C]).high,x=M.low,_=a[C];_<32?(h=w<<_|x>>>32-_,g=x<<_|w>>>32-_):(h=x<<_-32|w>>>64-_,g=w<<_-32|x>>>64-_);var P=d[s[C]];P.high=h,P.low=g}var k=d[0],O=t[0];for(k.high=O.high,k.low=O.low,p=0;p<5;p++)for(f=0;f<5;f++){var M=t[C=p+5*f],S=d[C],I=d[(p+1)%5+5*f],T=d[(p+2)%5+5*f];M.high=S.high^~I.high&T.high,M.low=S.low^~I.low&T.low}M=t[0];var E=c[u];M.high^=E.high,M.low^=E.low}},_doFinalize:function(){var e=this._data,t=e.words,l=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;t[l>>>5]|=1<<24-l%32,t[(n.ceil((l+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var r=this._state,u=this.cfg.outputLength/8,a=u/8,s=[],c=0;c>>24)|4278255360&(p<<24|p>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),s.push(h),s.push(p)}return new i.init(s,u)},clone:function(){for(var n=o.clone.call(this),e=n._state=this._state.slice(0),t=0;t<25;t++)e[t]=e[t].clone();return n}});e.SHA3=o._createHelper(p),e.HmacSHA3=o._createHmacHelper(p)}(Math),l.SHA3)},"5jIi":function(n,e,t){"use strict";var l=t("b5wT");n.exports=function(n){var e={},t=l.filter(n.nodes(),(function(e){return!n.children(e).length})),i=l.max(l.map(t,(function(e){return n.node(e).rank}))),o=l.map(l.range(i+1),(function(){return[]}));var r=l.sortBy(t,(function(e){return n.node(e).rank}));return l.forEach(r,(function t(i){if(l.has(e,i))return;e[i]=!0;var r=n.node(i);o[r.rank].push(i),l.forEach(n.successors(i),t)})),o}},"5mdu":function(n,e,t){"use strict";n.exports=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}},"5s+n":function(n,e,t){"use strict";t("Xn6M"),t("FOUG"),t("zJiX"),t("NSnw"),t("8itv"),t("cUmr")},"5xtp":function(n,e,t){"use strict";var l=t("I+eb"),i=t("g6v/"),o=t("6x0u"),r=t("We1y"),u=t("ewvW"),a=t("m/L8");i&&l({target:"Object",proto:!0,forced:o},{__defineSetter__:function(n,e){a.f(u(this),n,{set:r(e),enumerable:!0,configurable:!0})}})},"6+QB":function(n,e,t){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(n,e){return 12===n&&(n=0),"pagi"===e?n:"tengahari"===e?n>=11?n:n+12:"petang"===e||"malam"===e?n+12:void 0},meridiem:function(n,e,t){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(t("wd/R"))},"60iU":function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l,i=t("G5J1"),o=t("F/XL"),r=t("XlPw");l||(l={});var u=function(){function n(n,e,t){this.kind=n,this.value=e,this.error=t,this.hasValue="N"===n}return n.prototype.observe=function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}},n.prototype.do=function(n,e,t){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return t&&t()}},n.prototype.accept=function(n,e,t){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,t)},n.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},n.createNext=function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification},n.createError=function(e){return new n("E",void 0,e)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n}()},"638a":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=o(t("yEXj")),i=o(t("LvDl"));function o(n){return n&&n.__esModule?n:{default:n}}var r=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{type:"select",input:!0,weight:350,label:"Shortcut",key:"shortcut",tooltip:"Shortcut for this component.",dataSrc:"custom",valueProperty:"value",customDefaultValue:function(){return""},template:"{{ item.label }}",data:{custom:function(n){return l.default.getAvailableShortcuts(i.default.get(n,"instance.options.editForm",{}),i.default.get(n,"instance.options.editComponent",{}))}}},{type:"select",input:!0,key:"inputType",label:"Input Type",tooltip:"This is the input type used for this checkbox.",dataSrc:"values",weight:410,data:{values:[{label:"Checkbox",value:"checkbox"},{label:"Radio",value:"radio"}]}},{type:"textfield",input:!0,key:"name",label:"Radio Key",tooltip:"The key used to trigger the radio button toggle.",weight:420,conditional:{json:{"===":[{var:"data.inputType"},"radio"]}}},{type:"textfield",input:!0,label:"Radio Value",key:"value",tooltip:"The value used with this radio button.",weight:430,conditional:{json:{"===":[{var:"data.inputType"},"radio"]}}}];e.default=r},"67WC":function(n,e,t){"use strict";var l,i,o,r=t("SxGu"),u=t("g6v/"),a=t("2oRo"),s=t("Fib7"),c=t("hh1v"),d=t("Gi26"),p=t("9d/t"),h=t("DVFp"),g=t("kRJp"),f=t("yy0I"),m=t("7dAM"),b=t("OpvP"),v=t("4WOD"),y=t("0rvr"),A=t("tiKp"),C=t("kOOl"),w=t("afO8"),x=w.enforce,_=w.get,P=a.Int8Array,k=P&&P.prototype,O=a.Uint8ClampedArray,M=O&&O.prototype,S=P&&v(P),I=k&&v(k),T=Object.prototype,E=a.TypeError,D=A("toStringTag"),R=C("TYPED_ARRAY_TAG"),L=r&&!!y&&"Opera"!==p(a.opera),N=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},j=function(n){var e=v(n);if(c(e)){var t=_(e);return t&&d(t,"TypedArrayConstructor")?t.TypedArrayConstructor:j(e)}},V=function(n){if(!c(n))return!1;var e=p(n);return d(B,e)||d(F,e)};for(l in B)(o=(i=a[l])&&i.prototype)?x(o).TypedArrayConstructor=i:L=!1;for(l in F)(o=(i=a[l])&&i.prototype)&&(x(o).TypedArrayConstructor=i);if((!L||!s(S)||S===Function.prototype)&&(S=function(){throw new E("Incorrect invocation")},L))for(l in B)a[l]&&y(a[l],S);if((!L||!I||I===T)&&(I=S.prototype,L))for(l in B)a[l]&&y(a[l].prototype,I);if(L&&v(M)!==I&&y(M,I),u&&!d(I,D))for(l in N=!0,m(I,D,{configurable:!0,get:function(){return c(this)?this[R]:void 0}}),B)a[l]&&g(a[l],R,l);n.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:N&&R,aTypedArray:function(n){if(V(n))return n;throw new E("Target is not a typed array")},aTypedArrayConstructor:function(n){if(s(n)&&(!y||b(S,n)))return n;throw new E(h(n)+" is not a typed array constructor")},exportTypedArrayMethod:function(n,e,t,l){if(u){if(t)for(var i in B){var o=a[i];if(o&&d(o.prototype,n))try{delete o.prototype[n]}catch(r){try{o.prototype[n]=e}catch(s){}}}I[n]&&!t||f(I,n,t?e:L&&k[n]||e,l)}},exportTypedArrayStaticMethod:function(n,e,t){var l,i;if(u){if(y){if(t)for(l in B)if((i=a[l])&&d(i,n))try{delete i[n]}catch(o){}if(S[n]&&!t)return;try{return f(S,n,t?e:L&&S[n]||e)}catch(o){}}for(l in B)!(i=a[l])||i[n]&&!t||f(i,n,e)}},getTypedArrayConstructor:j,isView:function(n){if(!c(n))return!1;var e=p(n);return"DataView"===e||d(B,e)||d(F,e)},isTypedArray:V,TypedArray:S,TypedArrayPrototype:I}},"67Y/":function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("mrSG"),i=t("FFOo");function o(n,e){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new r(n,e))}}var r=function(){function n(n,e){this.project=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.project,this.thisArg))},n}(),u=function(n){function e(e,t,l){var i=n.call(this,e)||this;return i.project=t,i.count=0,i.thisArg=l||i,i}return l.d(e,n),e.prototype._next=function(n){var e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},"6B0Y":function(n,e,t){!function(n){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},t={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(n){return"\u179b\u17d2\u1784\u17b6\u1785"===n},meridiem:function(n,e,t){return n<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(n){return n.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(n){return t[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return e[n]}))},week:{dow:1,doy:4}})}(t("wd/R"))},"6Ekc":function(n,e,t){"use strict";var l=t("b5wT");n.exports={longestPath:function(n){var e={};l.forEach(n.sources(),(function t(i){var o=n.node(i);if(l.has(e,i))return o.rank;e[i]=!0;var r=l.min(l.map(n.outEdges(i),(function(e){return t(e.w)-n.edge(e).minlen})));return r!==Number.POSITIVE_INFINITY&&null!=r||(r=0),o.rank=r}))},slack:function(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}}},"6HwT":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n ',n.values.forEach((function(l){for(var i in t+='\n
\n \n
\n "})),t+="\n
\n"}},"6JNq":function(n,e,t){"use strict";var l=t("Gi26"),i=t("Vu81"),o=t("Bs8V"),r=t("m/L8");n.exports=function(n,e,t){for(var u=i(e),a=r.f,s=o.f,c=0;c0&&"getComponent"in n?s=n.getComponent(u,e,t):e&&e(n,i),!1})),s||(s=c),s):s}},{key:"getComponentById",value:function(n,e){var t=null;return this.everyComponent((function(l,i){if(l.id===n)return t=l,e&&e(l,i),!1})),t}},{key:"calculateComponentPath",value:function(n){var e="";if(n.component.key){for(var t=this;t&&!t.allowData&&t.parent;)t=t.parent;var l=n.row?"[".concat(Number.parseInt(n.row),"]"):"";return e=t.path?"".concat(t.path).concat(l,"."):"",e+=n._parentPath&&n.component.shouldIncludeSubFormPath?n._parentPath:"",e+=n.component.key}}},{key:"createComponent",value:function(n,e,t,l,o){var u;if(n){e=e||this.options,t=t||this.data,e.parent=this,e.parentVisible=this.visible,e.root=(null===(u=e)||void 0===u?void 0:u.root)||this.root||this,e.localRoot=this.localRoot,e.skipInit=!0,"pdf"===e.display&&this.builderMode||(n.id=(0,a.getRandomComponentId)()),!this.isInputComponent&&this.component.shouldIncludeSubFormPath&&(n.shouldIncludeSubFormPath=!0);var s=r.default.create(n,e,t,!0),c=this.calculateComponentPath(s);if(c&&(s.path=c),s.init(),n.internal)return s;if(l){var d=i.default.findIndex(this.components,{id:l.id});-1!==d?this.components.splice(d,0,s):this.components.push(s)}else if(o){var p=i.default.findIndex(this.components,{id:o.id});-1!==p?this.components[p]=s:this.components.push(s)}else this.components.push(s);return s}}},{key:"getContainer",value:function(){return this.element}},{key:"componentComponents",get:function(){return this.component.components||[]}},{key:"nestedKey",get:function(){return"nested-".concat(this.key)}},{key:"templateName",get:function(){return"container"}},{key:"init",value:function(){return this.components=this.components||[],this.addComponents(),b(w(c.prototype),"init",this).call(this)}},{key:"addComponents",value:function(n,e){var t=this;n=n||this.data,(e=e||this.options).components?this.components=e.components:(this.hook("addComponents",this.componentComponents,this)||[]).forEach((function(e){return t.addComponent(e,n)}))}},{key:"addComponent",value:function(n,e,t,l){e=e||this.data,this.options.parentPath&&(n.shouldIncludeSubFormPath=!0),n=this.hook("addComponent",n,e,t,l);var i=this.createComponent(n,this.options,e,t||null);return i}},{key:"beforeFocus",value:function(){this.parent&&"beforeFocus"in this.parent&&this.parent.beforeFocus(this)}},{key:"render",value:function(n){return b(w(c.prototype),"render",this).call(this,n||this.renderTemplate(this.templateName,{children:this.visible?this.renderComponents():"",nestedKey:this.nestedKey,collapsed:!this.options.pdf&&this.collapsed}))}},{key:"renderComponents",value:function(n){var e=(n=n||this.getComponents()).map((function(n){return n.render()}));return this.renderTemplate("components",{children:e,components:n})}},{key:"attach",value:function(n){var e=this,t=b(w(c.prototype),"attach",this).call(this,n);this.loadRefs(n,f({header:"single",collapsed:this.collapsed},this.nestedKey,"single"));var l=u.default.resolve();return this.refs[this.nestedKey]&&(l=this.attachComponents(this.refs[this.nestedKey])),this.visible||this.attachComponentsLogic(),this.component.collapsible&&this.refs.header&&(this.addEventListener(this.refs.header,"click",(function(){e.collapsed=!e.collapsed})),this.addEventListener(this.refs.header,"keydown",(function(n){13!==n.keyCode&&32!==n.keyCode||(n.preventDefault(),e.collapsed=!e.collapsed)}))),u.default.all([t,l])}},{key:"attachComponentsLogic",value:function(n){n=n||this.components,i.default.each(n,(function(n){n.attachLogic(),i.default.isFunction(n.attachComponentsLogic)&&n.attachComponentsLogic()}))}},{key:"attachComponents",value:function(n,e,t){if(e=e||this.components,t=t||this.component.components,!(n=this.hook("attachComponents",n,e,t,this)))return new u.default((function(){}));var l=0,i=[];return Array.prototype.slice.call(n.children).forEach((function(n){!n.getAttribute("data-noattach")&&e[l]&&(i.push(e[l].attach(n)),l++)})),u.default.all(i)}},{key:"removeComponent",value:function(n,e){e=e||this.components,n.destroy(),i.default.remove(e,{id:n.id})}},{key:"removeComponentByKey",value:function(n,e){var t=this;if(!this.getComponent(n,(function(n,l){t.removeComponent(n,l),e&&e(n,l)})))return e&&e(null),null}},{key:"removeComponentById",value:function(n,e){var t=this;if(!this.getComponentById(n,(function(n,l){t.removeComponent(n,l),e&&e(n,l)})))return e&&e(null),null}},{key:"updateValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.components.reduce((function(n,t){return t.updateValue(null,e)||n}),b(w(c.prototype),"updateValue",this).call(this,n,e))}},{key:"shouldSkipValidation",value:function(n,e,t){return!this.component.input||b(w(c.prototype),"shouldSkipValidation",this).call(this,n,e,t)}},{key:"checkData",value:function(n,e,t,l){if(this.builderMode)return!0;n=n||this.rootValue,e=e||{},t=t||this.data;var o=(l=l&&i.default.isArray(l)?l:this.getComponents()).reduce((function(l,i){return i.checkData(n,d({},e),t)&&l}),b(w(c.prototype),"checkData",this).call(this,n,d({},e),t));return this.checkModal(o,this.isDirty),o}},{key:"checkConditions",value:function(n,e,t){var l=b(w(c.prototype),"checkConditions",this).call(this,n,e,t);return this.getComponents().forEach((function(t){return t.checkConditions(n,e,t.data)})),l}},{key:"clearOnHide",value:function(n){b(w(c.prototype),"clearOnHide",this).call(this,n),this.component.clearOnHide&&(!this.allowData||this.hasValue()||this.options.server&&!this.visible||(this.dataValue=this.defaultValue),this.hasValue()&&this.restoreComponentsContext()),this.getComponents().forEach((function(e){return e.clearOnHide(n)}))}},{key:"restoreComponentsContext",value:function(){var n=this;this.getComponents().forEach((function(e){return e.data=n.dataValue}))}},{key:"beforePage",value:function(n){return u.default.all(this.getComponents().map((function(e){return e.beforePage(n)})))}},{key:"beforeSubmit",value:function(){return u.default.all(this.getComponents().map((function(n){return n.beforeSubmit()})))}},{key:"calculateValue",value:function(n,e,t){return!!this.conditionallyVisible()&&this.getComponents().reduce((function(l,i){return i.calculateValue(n,e,t)||l}),b(w(c.prototype),"calculateValue",this).call(this,n,e,t))}},{key:"isLastPage",value:function(){return this.pages.length-1===this.page}},{key:"isValid",value:function(n,e){return this.getComponents().reduce((function(t,l){return l.isValid(n,e)&&t}),b(w(c.prototype),"isValid",this).call(this,n,e))}},{key:"checkChildComponentsValidity",value:function(n,e,t,l,i){return this.getComponents().reduce((function(i,o){return o.checkValidity(n,e,t,l)&&i}),i)}},{key:"checkValidity",value:function(n,e,t,l){if(!this.checkCondition(t,n))return this.setCustomValidity(""),!0;var i=this.checkChildComponentsValidity(n,e,t,l,b(w(c.prototype),"checkValidity",this).call(this,n,e,t,l));return this.checkModal(i,e),i}},{key:"checkAsyncValidity",value:function(n,e,t,l){var i=this;return this.ready.then((function(){var o=[b(w(c.prototype),"checkAsyncValidity",i).call(i,n,e,t,l)];return i.eachComponent((function(i){return o.push(i.checkAsyncValidity(n,e,t,l))})),u.default.all(o).then((function(n){return n.reduce((function(n,e){return n&&e}),!0)}))}))}},{key:"setPristine",value:function(n){b(w(c.prototype),"setPristine",this).call(this,n),this.getComponents().forEach((function(e){return e.setPristine(n)}))}},{key:"isPristine",get:function(){return this.pristine&&this.getComponents().every((function(n){return n.isPristine}))}},{key:"isDirty",get:function(){return this.dirty&&this.getComponents().every((function(n){return n.isDirty}))}},{key:"detach",value:function(){this.components.forEach((function(n){n.detach()})),b(w(c.prototype),"detach",this).call(this)}},{key:"clear",value:function(){this.components.forEach((function(n){n.clear()})),b(w(c.prototype),"clear",this).call(this)}},{key:"destroy",value:function(){this.destroyComponents(),b(w(c.prototype),"destroy",this).call(this)}},{key:"destroyComponents",value:function(){var n=this;this.getComponents().slice().forEach((function(e){return n.removeComponent(e,n.components)})),this.components=[]}},{key:"errors",get:function(){var n=this.error?[this.error]:[];return this.getComponents().reduce((function(n,e){return n.concat(e.errors||[])}),n).filter((function(n){return"hidden"!==n.level}))}},{key:"getValue",value:function(){return this.data}},{key:"resetValue",value:function(){b(w(c.prototype),"resetValue",this).call(this),this.getComponents().forEach((function(n){return n.resetValue()})),this.setPristine(!0)}},{key:"dataReady",get:function(){return u.default.all(this.getComponents().map((function(n){return n.dataReady})))}},{key:"setNestedValue",value:function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n._data=this.componentContext(n),"button"!==n.type&&("components"===n.type?n.tree&&n.hasValue(e)?n.setValue(i.default.get(e,n.key),t):n.setValue(e,t):e&&n.hasValue(e)?n.setValue(i.default.get(e,n.key),t):this.rootPristine&&!n.visible||!n.shouldAddDefaultValue?void 0:(t.noValidate=!t.dirty,t.resetValue=!0,n.setValue(n.defaultValue,t)))}},{key:"setValue",value:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!n&&(n.submitAsDraft&&!n.submit&&(t.noValidate=!0),this.getComponents().reduce((function(l,i){return e.setNestedValue(i,n,t,l)||l}),!1))}},{key:"lazyLoad",get:function(){var n;return null!==(n=this.component.lazyLoad)&&void 0!==n&&n}}])&&p(e.prototype,t),l&&p(e,l),Object.defineProperty(e,"prototype",{writable:!1}),c}(o.default);e.default=x},"6R/c":function(n,e,t){"use strict";var l=t("67WC"),i=t("TWQb").indexOf,o=l.aTypedArray;(0,l.exportTypedArrayMethod)("indexOf",(function(n){return i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"6VoE":function(n,e,t){"use strict";var l=t("tiKp"),i=t("P4y1"),o=l("iterator"),r=Array.prototype;n.exports=function(n){return void 0!==n&&(i.Array===n||r[o]===n)}},"6ahw":function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("iLxQ"),i=t("DKTb"),o={closed:!0,next:function(n){},error:function(n){if(l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(i.a)(n)},complete:function(){}}},"6blF":function(n,e,t){"use strict";t.d(e,"a",(function(){return c}));var l=t("1fDf"),i=t("FFOo"),o=t("L/V9"),r=t("6ahw");var u=t("xTla"),a=t("y3By"),s=t("iLxQ"),c=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(n,e,t){var l=this.operator,u=function(n,e,t){if(n){if(n instanceof i.a)return n;if(n[o.a])return n[o.a]()}return n||e||t?new i.a(n,e,t):new i.a(r.a)}(n,e,t);if(l?u.add(l.call(u,this.source)):u.add(this.source||s.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),s.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=e),Object(l.a)(n)?n.error(e):console.warn(e)}},n.prototype.forEach=function(n,e){var t=this;return new(e=d(e))((function(e,l){var i;i=t.subscribe((function(e){try{n(e)}catch(t){l(t),i&&i.unsubscribe()}}),l,e)}))},n.prototype._subscribe=function(n){var e=this.source;return e&&e.subscribe(n)},n.prototype[u.a]=function(){return this},n.prototype.pipe=function(){for(var n=[],e=0;e\n
\n
\n \n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(t+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(l){t+='\n \n ',n.group.components[l].icon&&(t+='\n \n '),t+="\n "+(null==(e=n.t(n.group.components[l].title,{_userInput:!0}))?"":e)+"\n \n "})),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):t+="\n
"+(null==(e=n.t("No Matches Found"))?"":e)+"
\n ",t+="\n
\n \n\n"}},"6sUC":function(n,e,t){"use strict";var l=t("hh1v"),i=Math.floor;n.exports=Number.isInteger||function(n){return!l(n)&&isFinite(n)&&i(n)===n}},"6sVZ":function(n,e){var t=Object.prototype;n.exports=function(n){var e=n&&n.constructor;return n===("function"==typeof e&&e.prototype||t)}},"6x0u":function(n,e,t){"use strict";var l=t("xDBR"),i=t("2oRo"),o=t("0Dky"),r=t("USzg");n.exports=l||!o((function(){if(!(r&&r<535)){var n=Math.random();__defineSetter__.call(null,n,(function(){})),delete i[n]}}))},"6xjF":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return t+='
\n '+(null==(e=n.html)?"":e)+"\n
\n"}},"6yRa":function(n,e,t){"use strict";var l=t("OJSY");n.exports=function(n,e){e=e||{};var t=l.boolean(e.allowUpdate,!0);return function(e){if(e=e||window.event,n.target=e.target||e.srcElement||e.originalTarget,n.element=this,n.type=e.type,t(e)){if(e.targetTouches)n.x=e.targetTouches[0].clientX,n.y=e.targetTouches[0].clientY,n.pageX=e.targetTouches[0].pageX,n.pageY=e.targetTouches[0].pageY,n.screenX=e.targetTouches[0].screenX,n.screenY=e.targetTouches[0].screenY;else{if(null===e.pageX&&null!==e.clientX){var l=e.target&&e.target.ownerDocument||document,i=l.documentElement,o=l.body;n.pageX=e.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),n.pageY=e.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)}else n.pageX=e.pageX,n.pageY=e.pageY;n.x=e.clientX,n.y=e.clientY,n.screenX=e.screenX,n.screenY=e.screenY}n.clientX=n.x,n.clientY=n.y}}}},"7+zs":function(n,e,t){"use strict";var l=t("Gi26"),i=t("yy0I"),o=t("UesL"),r=t("tiKp")("toPrimitive"),u=Date.prototype;l(u,r)||i(u,r,o)},7104:function(n,e){var t=Object.prototype.toString;function l(n){return"function"==typeof n.constructor?n.constructor.name:null}n.exports=function(n){if(void 0===n)return"undefined";if(null===n)return"null";var e=typeof n;if("boolean"===e)return"boolean";if("string"===e)return"string";if("number"===e)return"number";if("symbol"===e)return"symbol";if("function"===e)return function(n,e){return"GeneratorFunction"===l(n)}(n)?"generatorfunction":"function";if(function(n){return Array.isArray?Array.isArray(n):n instanceof Array}(n))return"array";if(function(n){if(n.constructor&&"function"==typeof n.constructor.isBuffer)return n.constructor.isBuffer(n);return!1}(n))return"buffer";if(function(n){try{if("number"==typeof n.length&&"function"==typeof n.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(n))return"arguments";if(function(n){return n instanceof Date||"function"==typeof n.toDateString&&"function"==typeof n.getDate&&"function"==typeof n.setDate}(n))return"date";if(function(n){return n instanceof Error||"string"==typeof n.message&&n.constructor&&"number"==typeof n.constructor.stackTraceLimit}(n))return"error";if(function(n){return n instanceof RegExp||"string"==typeof n.flags&&"boolean"==typeof n.ignoreCase&&"boolean"==typeof n.multiline&&"boolean"==typeof n.global}(n))return"regexp";switch(l(n)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(n){return"function"==typeof n.throw&&"function"==typeof n.return&&"function"==typeof n.next}(n))return"generator";switch(e=t.call(n)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}},"711d":function(n,e){n.exports=function(n){return function(e){return null==e?void 0:e[n]}}},"72Ej":function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("07d7"),t("SuFq"),t("uL8W"),t("eoL8"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ExoC"),t("wLYn"),t("NBAS");var i=r(t("pxaw")),o=r(t("LvDl"));function r(n){return n&&n.__esModule?n:{default:n}}function u(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function a(n,e){for(var t=0;tt||o.default.isEqual(e,t))}}])&&a(e.prototype,t),l&&a(e,l),Object.defineProperty(e,"prototype",{writable:!1}),r}(i.default);e.default=h},"77Zs":function(n,e,t){var l=t("Xi7e");n.exports=function(){this.__data__=new l,this.size=0}},"79+i":function(n,e){e.defaults={},e.set=function(n,t,l){var i=l||{},o=e.defaults,r=i.expires||o.expires,u=i.domain||o.domain,a=void 0!==i.path?i.path:void 0!==o.path?o.path:"/",s=void 0!==i.secure?i.secure:o.secure,c=void 0!==i.httponly?i.httponly:o.httponly,d=void 0!==i.samesite?i.samesite:o.samesite,p=r?new Date("number"==typeof r?(new Date).getTime()+864e5*r:r):0;document.cookie=n.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+t.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(p&&p.getTime()>=0?";expires="+p.toUTCString():"")+(u?";domain="+u:"")+(a?";path="+a:"")+(s?";secure":"")+(c?";httponly":"")+(d?";samesite="+d:"")},e.get=function(n){for(var e=document.cookie.split(";");e.length;){var t=e.pop(),l=t.indexOf("=");if(l=l<0?t.length:l,decodeURIComponent(t.slice(0,l).replace(/^\s+/,""))===n)return decodeURIComponent(t.slice(l+1))}return null},e.erase=function(n,t){e.set(n,"",{expires:-1,domain:t&&t.domain,path:t&&t.path,secure:0,httponly:0})},e.all=function(){for(var n={},e=document.cookie.split(";");e.length;){var t=e.pop(),l=t.indexOf("=");l=l<0?t.length:l,n[decodeURIComponent(t.slice(0,l).replace(/^\s+/,""))]=decodeURIComponent(t.slice(l+1))}return n}},"79tK":function(n,e,t){"use strict";t("eoL8"),t("tkto"),t("TeQF"),t("5DmW"),t("27RR"),t("HRxU"),t("J30X"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("pjDv"),t("+2oP"),t("sMBO"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("wLYn"),t("QWBl"),t("07d7"),t("FZtP"),t("ma9I"),t("T63A"),t("rB9j"),t("UxlC"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV");var l,i=(l=t("LvDl"))&&l.__esModule?l:{default:l},o=t("5P0i");function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var l,i,o,r,u=[],a=!0,s=!1;try{if(o=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;a=!1}else for(;!(a=(l=o.call(t)).done)&&(u.push(l.value),u.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(s)throw i}}return u}}(n,e)||s(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n){return function(n){if(Array.isArray(n))return c(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||s(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(n,e){if(n){if("string"==typeof n)return c(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?c(n,e):void 0}}function c(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,l=new Array(e);t0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=i.default.isArray(n)?n:[n];var l=this.createMessagesList("error",n);return this.showAlert("error",l,t),e&&this.parentComponent.emit("error",n),n}},{key:"showMessage",value:function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=n;l instanceof HTMLElement?l.setAttribute("ref","messageRef"):l=this.parentComponent.ce("p",{ref:"messageRef"}),this.showAlert(e,l,t)}},{key:"createMessagesList",value:function(n){switch(n){case"error":for(var e=arguments.length,t=new Array(e>1?e-1:0),l=1;l2&&void 0!==arguments[2]?arguments[2]:{},l=t.customClasses,i=t.customEvents;this.setAlert(n,e,{customClasses:l}),this.alert&&(this.attach({customEvents:i}),this.parentComponent.prependTo(this.alert,this.container))}},{key:"setAlert",value:function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=this.alertTypes[n];if(this.alert&&this.clear(),e){var i=t.id,o=void 0===i?"".concat(n,"-list-").concat(this.parentComponent.id):i,r=t.customClasses,u=void 0===r?"alert alert-".concat(l):r;this.alert=this.parentComponent.ce("div",{id:o,class:u}),e instanceof HTMLElement?this.parentComponent.appendTo(e,this.alert):this.parentComponent.setContent(this.alert,e)}}},{key:"attach",value:function(n){var e,t,l,i=this,o=n.customEvents,r=void 0===o?{}:o;this.eventListenersKeys=[],this.loadRefs(this.alert,this.refsNames);var s=(null===(e=r.click)||void 0===e?void 0:e.listeners)||[],c=(null===(t=r.keypress)||void 0===t?void 0:t.listeners)||[];r=p(p({},r),{},{click:[].concat(a(s),[function(n){var e=n.currentTarget.dataset.componentKey;i.focusOnComponent(e)}]),keypress:[].concat(a(c),[function(n){var e=n.currentTarget.dataset.componentKey;i.focusOnComponent(e)}])}),null!==(l=this.refs.messageRef)&&void 0!==l&&l.length&&this.refs.messageRef.forEach((function(n){Object.entries(r).forEach((function(e){var t=u(e,2),l=t[0];t[1].forEach((function(e){return i.parentComponent.addEventListener(n,l,e)})),i.eventListenersKeys.push(l)}))}))}},{key:"clear",value:function(){var n=this;try{var e;null!==(e=this.refs.messageRef)&&void 0!==e&&e.length&&this.refs.messageRef.forEach((function(e){n.eventListenersKeys.forEach((function(t){return n.parentComponent.removeEventListener(e,t)}))})),this.refs={},this.parentComponent.removeChildFrom(this.alert,this.container),this.alert=null}catch(t){}}},{key:"focusOnComponent",value:function(n){if(n){var e,t=this.parentComponent._parentPath?n.replace(this.parentComponent._parentPath,""):n,l=null===(e=this.parentComponent.root)||void 0===e?void 0:e.getComponent(t,null,n);l&&i.default.isFunction(l.focus)&&l.focus()}}},{key:"createMessage",value:function(n,e,t,l,i){switch(n){case"error":return this.createErrorMessage(e,t,l,i)}}},{key:"createErrorMessage",value:function(n,e,t,l){var r,u,a={style:"cursor: pointer",ref:"messageRef",tabIndex:0,"aria-label":"".concat(e,". Click to navigate to the field with following error.")},s=this.parentComponent.ce("li",a);this.parentComponent.setContent(s,e);var c=!i.default.isUndefined(t)&&(null==l||null===(r=l.messages)||void 0===r?void 0:r[t]),d=(null==c?void 0:c.path)||(null==l||null===(u=l.component)||void 0===u?void 0:u.key);if(d){var p=(0,o.getStringFromComponentPath)(d);s.dataset.componentKey=p}this.parentComponent.appendTo(s,n)}},{key:"appendErrorToList",value:function(n,e){var t,l=this;if(null!=n&&null!==(t=n.messages)&&void 0!==t&&t.length)n.messages.forEach((function(t,i){var o=t.message;l.createMessage("error",e,o,i,n)}));else if(n){var o=i.default.isObject(n)?n.message||"":n;this.createMessage("error",e,o)}}}])&&g(e.prototype,t),l&&g(e,l),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.default=m},"7Bbv":function(n,e,t){"use strict";t("eoL8"),t("J30X"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("+2oP"),t("sMBO"),t("pjDv"),t("rB9j"),Object.defineProperty(e,"__esModule",{value:!0}),e.AddressProvider=void 0,t("oVuX"),t("2B1R"),t("ma9I"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l,i=(l=t("LvDl"))&&l.__esModule?l:{default:l},o=t("1eKU");function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var l,i,o,r,u=[],a=!0,s=!1;try{if(o=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;a=!1}else for(;!(a=(l=o.call(t)).done)&&(u.push(l.value),u.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(s)throw i}}return u}}(n,e)||function(n,e){if(!n)return;if("string"==typeof n)return a(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(n,e)}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,l=new Array(e);t0&&void 0!==arguments[0]?arguments[0]:{};s(this,n),this.beforeMergeOptions(e),this.options=i.default.merge({},this.defaultOptions,e)}var e,t,l;return e=n,l=[{key:"name",get:function(){return"address"}},{key:"displayName",get:function(){return"Address"}}],(t=[{key:"beforeMergeOptions",value:function(){}},{key:"defaultOptions",get:function(){return{}}},{key:"queryProperty",get:function(){return"query"}},{key:"responseProperty",get:function(){return null}},{key:"displayValueProperty",get:function(){return null}},{key:"serialize",value:function(n){return i.default.toPairs(n).map((function(n){var e=u(n,2),t=e[0],l=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(l))})).join("&")}},{key:"getRequestOptions",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.merge({},this.options,n)}},{key:"getRequestUrl",value:function(){throw arguments.length>0&&void 0!==arguments[0]&&arguments[0],new Error("Method AddressProvider#getRequestUrl(options) is abstract.")}},{key:"makeRequest",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.GlobalFormio.makeStaticRequest(this.getRequestUrl(n),"GET",null,{noToken:!0})}},{key:"search",value:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=this.getRequestOptions(t),o=l.params=l.params||{};return o[this.queryProperty]=n,this.makeRequest(l).then((function(n){return e.responseProperty?i.default.get(n,e.responseProperty,[]):n}))}},{key:"getDisplayValue",value:function(n){return this.displayValueProperty?i.default.get(n,this.displayValueProperty,""):String(n)}}])&&c(e.prototype,t),l&&c(e,l),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.AddressProvider=d},"7Bij":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l,i=(l=t("Nq0N"))&&l.__esModule?l:{default:l};var o={lng:"en",nsSeparator:"::",keySeparator:".|.",pluralSeparator:"._.",contextSeparator:"._.",resources:{en:{translation:(0,t("5P0i").fastCloneDeep)(i.default)}}};e.default=o},"7BjC":function(n,e,t){!function(n){"use strict";function e(n,e,t,l){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[n+"sekundi",n+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[n+" minuti",n+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[n+" tunni",n+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[n+" kuu",n+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[n+" aasta",n+" aastat"]};return e?i[t][2]?i[t][2]:i[t][1]:l?i[t][0]:i[t][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(t("wd/R"))},"7C5Q":function(n,e,t){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(t("wd/R"))},"7GkX":function(n,e,t){var l=t("b80T"),i=t("A90E"),o=t("MMmD");n.exports=function(n){return o(n)?l(n):i(n)}},"7Ix3":function(n,e){n.exports=function(n){var e=[];if(null!=n)for(var t in Object(n))e.push(t);return e}},"7RkN":function(n,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return n.options.vpat&&(t+='\n \n'),t+="\n",n.self.imageUpload?(t+="\n
\n ",n.files.forEach((function(l){t+='\n
\n \n '+(null==(e=l.originalName||l.name)?\n ',n.disabled||(t+='\n \n '),t+="\n \n
\n "})),t+="\n
\n"):(t+="\n ",n.options.vpat&&(t+="\n
"+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"
\n "),t+='\n
    \n \n ",n.files.forEach((function(l){t+='\n
  • \n
    \n ',n.disabled||(t+='\n
    \n '),t+='\n
    \n '+(null==(e=n.t("Press to open "))?"":e)+""+(null==(e=l.originalName||l.name)?"":e)+"\n \n ",t+='\n
    \n
    '+(null==(e=n.fileSize(l.size))?"":e)+"
    \n ",n.self.hasTypes&&!n.disabled&&(t+='\n
    \n \n
    \n "),t+="\n ",n.self.hasTypes&&n.disabled&&(t+='\n
    '+(null==(e=l.fileType)?"":e)+"
    \n "),t+="\n
    \n
  • \n "})),t+="\n
\n"),t+="\n",n.disabled||!n.component.multiple&&n.files.length||(t+="\n ",n.self.useWebViewCamera?t+='\n
\n \n \n
\n ":n.self.cameraMode?t+='\n
\n \n
\n \n \n ":(t+='\n \n '),t+="\n"),t+="\n",n.statuses.forEach((function(l){t+='\n
\n
\n
'+(null==(e=l.originalName)?"":e)+'\n \n '+(null==(e=n.t("Remove button. Press to remove "+l.originalName||!1))?"":e)+'\n '+(null==(e=l.message?l.message.replace(";","."):"")?"":e)+'\n \n
\n
'+(null==(e=n.fileSize(l.size))?"":e)+'
\n
\n
\n
\n ',"progress"===l.status?t+='\n
\n
\n '+(null==(e=l.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"\n
\n
\n ":"error"===l.status?t+='\n
'+(null==(e=n.t(l.message))?"":e)+"
\n ":t+='\n
'+(null==(e=n.t(l.message))?"":e)+"
\n ",t+="\n
\n
\n
\n"})),t+="\n",n.component.storage&&!n.support.hasWarning||(t+='\n
\n ',n.component.storage||(t+="\n

"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"

\n "),t+="\n ",n.support.filereader||(t+="\n

"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"

\n "),t+="\n ",n.support.formdata||(t+="\n

"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"

\n "),t+="\n ",n.support.progress||(t+="\n

"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"

\n "),t+="\n
\n"),t+="\n"}},"7T/+":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t11?t?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":t?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(t("wd/R"))},"7ck7":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"multiple",ignore:!0}]},"7dAM":function(n,e,t){"use strict";var l=t("E9LY"),i=t("m/L8");n.exports=function(n,e,t){return t.get&&l(t.get,e,{getter:!0}),t.set&&l(t.set,e,{setter:!0}),i.f(n,e,t)}},"7eSC":function(n,e,t){"use strict";t("eoL8"),t("ExoC"),t("NBAS"),t("SuFq"),t("uL8W"),t("XUE8"),t("5DmW"),t("tkto"),t("27RR"),t("HRxU"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("wLYn"),t("yXV3"),t("rB9j"),t("zKZe"),t("R5XZ"),t("SYor"),t("ma9I"),t("J30X"),t("QWBl"),t("07d7"),t("FZtP"),t("TeQF"),t("4l63"),t("yq1k"),t("JTJg"),t("2B1R"),t("sMBO"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV");var l=f(t("LvDl")),i=f(t("wd/R")),o=f(t("hpp3")),r=f(t("0iw5")),u=f(t("XzT5")),a=f(t("7Bij")),s=t("1eKU"),c=f(t("CFBA")),d=f(t("muGi")),p=f(t("ri5y")),h=t("5P0i"),g=t("bjCn");function f(n){return n&&n.__esModule?n:{default:n}}function m(n){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function v(n){for(var e=1;e2&&void 0!==arguments[2]&&arguments[2],i=l.default.assign((0,h.fastCloneDeep)(a.default.resources.en.translation),e);this.i18next.addResourceBundle(n,"translation",i,!0,!0),t&&(this.language=n)}},{key:"localize",value:function(){var n=this;return this.i18next.initialized?c.default.resolve(this.i18next):(this.i18next.initialized=!0,new c.default((function(e,t){try{n.i18next.init(v(v({},n.options.i18n),{compatibilityJSON:"v3"}),(function(l){if(n.options.language=n.i18next.language.split(";")[0],l)return t(l);e(n.i18next)}))}catch(l){return t(l)}})))}},{key:"keyboardCatchableElement",value:function(n){return"TEXTAREA"!==n.nodeName&&("INPUT"!==n.nodeName||-1===["text","email","password"].indexOf(n.type))}},{key:"addShortcut",value:function(n,e){if(e&&/^([A-Z]|Enter|Esc)$/i.test(e))if("Enter"===(e=l.default.capitalize(e))||"Esc"===e){if("BUTTON"!==n.tagName)return;this.shortcuts.push({shortcut:e,element:n})}else this.shortcuts.push({ctrl:!0,shortcut:e,element:n})}},{key:"removeShortcut",value:function(n,e){e&&/^([A-Z]|Enter|Esc)$/i.test(e)&&l.default.remove(this.shortcuts,{shortcut:e,element:n})}},{key:"src",get:function(){return this._src},set:function(n){this.setSrc(n)}},{key:"loadSubmission",value:function(){var n=this;return this.loadingSubmission=!0,this.formio.submissionId?this.onSubmission=this.formio.loadSubmission().then((function(e){return n.setSubmission(e)}),(function(e){return n.submissionReadyReject(e)})).catch((function(e){return n.submissionReadyReject(e)})):this.submissionReadyResolve(),this.submissionReady}},{key:"setSrc",value:function(n,e){var t=this;return this.setUrl(n,e)?(this.nosubmit=!1,this.formio.loadForm({params:{live:1}}).then((function(n){var e=t.setForm(n);return t.loadSubmission(),e})).catch((function(n){console.warn(n),t.formReadyReject(n)}))):c.default.resolve()}},{key:"url",get:function(){return this._src},set:function(n){this.setUrl(n)}},{key:"setUrl",value:function(n,e){return!(!n||"string"!=typeof n||n===this._src||(this._src=n,this.nosubmit=!0,this.formio=this.options.formio=new s.GlobalFormio(n,e),"form"===this.type&&(this.options.src=n),0))}},{key:"ready",get:function(){var n=this;return this.formReady.then((function(){return C(O(d.prototype),"ready",n).then((function(){return!n.loadingSubmission||n.submissionReady}))}))}},{key:"loading",get:function(){return this._loading},set:function(n){if(this._loading!==n){if(this._loading=n,!this.loader&&n){this.loader=this.ce("div",{class:"loader-wrapper"});var e=this.ce("div",{class:"loader text-center"});this.loader.appendChild(e)}if(this.loader)try{n?this.prependTo(this.loader,this.wrapper):this.removeChildFrom(this.loader,this.wrapper)}catch(t){}}}},{key:"setForm",value:function(n,e){var t,i=this,r=this._form&&(null===(t=this._form.components)||void 0===t?void 0:t.length);try{var u,a;if(r&&JSON.stringify(this._form)===JSON.stringify(n))return c.default.resolve();if(this._form=null!=e&&e.keepAsReference?n:l.default.cloneDeep(n),this.onSetForm&&this.onSetForm(l.default.cloneDeep(this._form),n),null!==(u=this.parent)&&void 0!==u&&null!==(a=u.component)&&void 0!==a&&a.modalEdit)return c.default.resolve()}catch(p){return console.warn(p),c.default.resolve()}if(n&&n.settings&&n.settings.components&&(this.options.components=n.settings.components),n&&n.properties&&(this.options.properties=n.properties),"schema"in n&&(0,o.default)(n.schema,"1.x")>0&&this.ready.then((function(){i.setAlert("alert alert-danger","Form schema is for a newer version, please upgrade your renderer. Some functionality may not work.")})),n&&n.module){var d=null;if("string"==typeof n.module)try{d=this.evaluate("return ".concat(n.module))}catch(p){console.warn(p)}else d=n.module;d&&(s.GlobalFormio.use(d),d.options&&d.options.form&&(this.options=Object.assign(this.options,d.options.form)))}return this.initialized=!1,(this.rebuild()||c.default.resolve()).then((function(){return i.emit("formLoad",n),i.triggerRecaptcha(),setTimeout((function(){i.onChange(e),i.formReadyResolve()}),0),i.formReady}))}},{key:"form",get:function(){return this._form||(this._form={components:[]}),this._form},set:function(n){this.setForm(n)}},{key:"submission",get:function(){return this.getValue()},set:function(n){this.setSubmission(n)}},{key:"setSubmission",value:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=v(v({},t),{},{fromSubmission:!l.default.has(t,"fromSubmission")||t.fromSubmission}),this.onSubmission=this.formReady.then((function(l){return l&&(t=v(v({},t),l)),e.submissionSet=!0,e.triggerChange(t),e.emit("beforeSetSubmission",n),e.setValue(n,t),e.submissionReadyResolve(n)}),(function(n){return e.submissionReadyReject(n)})).catch((function(n){return e.submissionReadyReject(n)}))}},{key:"handleDraftError",value:function(n,e,t){var i=l.default.trim("".concat(this.t(n)," ").concat(e||""));console.warn(i),this.emit(t?"restoreDraftError":"saveDraftError",e||i)}},{key:"saveDraft",value:function(){var n=this;if(this.draftEnabled)if(this.formio)if(s.GlobalFormio.getUser()){var e=(0,h.fastCloneDeep)(this.submission);e.state="draft",this.savingDraft||(this.emit("saveDraftBegin"),this.savingDraft=!0,this.formio.saveSubmission(e).then((function(e){n.submission._id=e._id,n.savingDraft=!1,n.emit("saveDraft",e)})).catch((function(e){n.savingDraft=!1,n.handleDraftError("saveDraftError",e)})))}else this.handleDraftError("saveDraftAuthError");else this.handleDraftError("saveDraftInstanceError")}},{key:"restoreDraft",value:function(n){var e=this,t=this.formio||this.options.formio;t?(this.savingDraft=!0,t.loadSubmissions({params:{state:"draft",owner:n}}).then((function(n){if(n.length>0&&!e.options.skipDraftRestore){var t=(0,h.fastCloneDeep)(n[0]);return e.setSubmission(t).then((function(){e.draftEnabled=!0,e.savingDraft=!1,e.emit("restoreDraft",t)}))}e.draftEnabled=!0,e.savingDraft=!1,e.emit("restoreDraft",null)})).catch((function(n){e.draftEnabled=!0,e.savingDraft=!1,e.handleDraftError("restoreDraftError",n,!0)}))):this.handleDraftError("restoreDraftInstanceError",null,!0)}},{key:"schema",get:function(){var n=(0,h.fastCloneDeep)(l.default.omit(this._form,["components"]));return n.components=[],this.eachComponent((function(e){return n.components.push(e.schema)})),n}},{key:"mergeData",value:function(n,e){l.default.mergeWith(n,e,(function(n,e){if(Array.isArray(n)&&Array.isArray(e)&&n.length!==e.length)return e}))}},{key:"setValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n&&n.data||(n={data:{}}),this._submission.metadata=n.metadata||{},this.editing=!!n._id,!this.options.submissionTimezone&&n.metadata&&n.metadata.timezone&&(this.options.submissionTimezone=n.metadata.timezone);var t=C(O(d.prototype),"setValue",this).call(this,n.data,e);return e.sanitize||this.mergeData(this.data,n.data),n.data=this.data,this._submission=n,t}},{key:"getValue",value:function(){return this._submission.data||(this._submission.data={}),this.viewOnly||(this._submission.data=this.data),this._submission}},{key:"init",value:function(){var n=this;return this._submission=this._submission||{data:{}},this.components&&this.components.length&&(this.destroyComponents(),this.components=[]),this.component?this.component.components=this.form?this.form.components:[]:this.component=this.form,this.component.type="form",this.component.input=!1,this.addComponents(),this.on("submitButton",(function(e){n.submit(!1,e).catch((function(n){return!1!==n&&console.log(n)}))}),!0),this.on("checkValidity",(function(e){return n.checkValidity(e,!0,e)}),!0),this.on("requestUrl",(function(e){return n.submitUrl(e.url,e.headers)}),!0),this.on("resetForm",(function(){return n.resetValue()}),!0),this.on("deleteSubmission",(function(){return n.deleteSubmission()}),!0),this.on("refreshData",(function(){return n.updateValue()}),!0),this.executeFormController(),this.formReady}},{key:"executeFormController",value:function(){var n=this;if(!this.form||!this.form.controller||(!this.visible||this.component.hidden)&&this.component.clearOnHide&&!this.rootPristine)return!1;this.formReady.then((function(){n.evaluate(n.form.controller,{components:n.components,instance:n})}))}},{key:"destroy",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.off("submitButton"),this.off("checkValidity"),this.off("requestUrl"),this.off("resetForm"),this.off("deleteSubmission"),this.off("refreshData"),n&&(this.emit("formDelete",this.id),delete s.GlobalFormio.forms[this.id]),C(O(d.prototype),"destroy",this).call(this)}},{key:"build",value:function(n){var e=this;return n||this.element?this.ready.then((function(){n=n||e.element,C(O(d.prototype),"build",e).call(e,n)})):this.ready}},{key:"getClassName",value:function(){var n="formio-form";return this.options.readOnly&&(n+=" formio-read-only"),n}},{key:"render",value:function(){return C(O(d.prototype),"render",this).call(this,this.renderTemplate("webform",{classes:this.getClassName(),children:this.renderComponents()}),this.builderMode?"builder":"form",!0)}},{key:"redraw",value:function(){return this.element?(this.clear(),this.setContent(this.element,this.render()),this.attach(this.element)):c.default.resolve()}},{key:"attach",value:function(n){var e=this;this.element=n,this.loadRefs(n,{webform:"single"});var t=this.attachComponents(this.refs.webform);return this.addEventListener(document,"keydown",this.executeShortcuts),this.currentForm=this,this.hook("attachWebform",n,this),t.then((function(){return e.emit("render",e.element),e.setValue(e._submission,{noUpdateEvent:!0})}))}},{key:"hasRequiredFields",value:function(){var n=!1;return(0,g.eachComponent)(this.form.components,(function(e){if(e.validate.required)return n=!0,!0}),!0),n}},{key:"resetValue",value:function(){l.default.each(this.getComponents(),(function(n){return n.resetValue()})),this.setPristine(!0),this.onChange({resetValue:!0})}},{key:"setAlert",value:function(n,e,t){var l=this;if(n||!this.submitted)if(this.options.noAlerts)e||this.emit("error",!1);else{if(this.alert)try{this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){l.removeEventListener(n,"click"),l.removeEventListener(n,"keypress")})),this.removeChild(this.alert),this.alert=null}catch(r){}if(e){var i={class:t&&t.classes||"alert alert-".concat(n),id:"error-list-".concat(this.id)},o={message:e instanceof HTMLElement?e.outerHTML:e,attrs:i,type:n};this.alert=(0,h.convertStringToHTMLElement)(this.renderTemplate("alert",o),"#".concat(i.id))}this.alert&&(this.loadRefs(this.alert,{errorRef:"multiple"}),this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){l.addEventListener(n,"click",(function(n){var e=n.currentTarget.dataset.componentKey;l.focusOnComponent(e)})),l.addEventListener(n,"keydown",(function(n){if(13===n.keyCode){n.preventDefault();var e=n.currentTarget.dataset.componentKey;l.focusOnComponent(e)}}))})),this.prepend(this.alert))}else this.alert&&(this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){l.removeEventListener(n,"click"),l.removeEventListener(n,"keypress")})),this.removeChild(this.alert),this.alert=null)}},{key:"focusOnComponent",value:function(n){if(n){var e=this.getComponent(n);e&&e.focus()}}},{key:"showErrors",value:function(n,e,t){var i=this;this.loading=!1;var o=this.errors;if(n?Array.isArray(n)?o=o.concat(n):o.push(n):o=C(O(d.prototype),"errors",this),(o=(o=o.concat(this.customErrors)).concat(this.serverErrors||[])).length){o.forEach((function(n){var e=n.components,t=void 0===e?[]:e;n.component&&t.push(n.component),n.path&&t.push(n.path),t.forEach((function(e){var t=i._parentPath+(0,h.getStringFromComponentPath)(e),o=i.getComponent(e,l.default.identity,t);n.fromServer&&(o.serverErrors?o.serverErrors.push(n):o.serverErrors=[n]),l.default.compact(Array.isArray(o)?o:[o]).forEach((function(e){return e.setCustomValidity(n.message,!0)}))}))}));var r=[];o.forEach((function(n){if(n){var e=function(e,t){var o=!l.default.isUndefined(t)&&n.messages&&n.messages[t],r=o&&o.formattedKeyOrPath||o.path||n.component&&n.component.key||n.fromServer&&n.path,u=r?(0,h.getStringFromComponentPath)(r):"";return u=i._parentPath+u,"string"==typeof n||n.formattedKeyOrPath||(n.formattedKeyOrPath=u),{message:(0,h.unescapeHTML)(e),keyOrPath:u}};if(n.messages=l.default.uniqBy(n.messages,(function(n){return n.message})),n.messages&&n.messages.length){var t=n.component;n.messages.forEach((function(n,l){var o=n.message,u=n.context,a=n.fromServer,s=null!=u&&u.hasLabel||a?i.t("alertMessage",{message:i.t(o)}):i.t("alertMessageWithLabel",{label:i.t(t.label),message:i.t(o)});r.push(e(s,l))}))}else if(n){var o=l.default.isObject(n)?i.t("alertMessage",{message:i.t(n.message||"")}):i.t("alertMessage",{message:i.t(n)});r.push(e(o))}}}));var u=this.renderTemplate("errorsList",{errors:r});return this.root.setAlert("danger",u),e&&this.emit("error",o),o}this.setAlert(!1)}},{key:"onSubmit",value:function(n,e){var t;return this.loading=!1,this.submitting=!1,this.setPristine(!0),this.setValue((0,h.fastCloneDeep)(n),{noValidate:!0,noCheck:!0}),this.setAlert("success","

".concat(this.t("complete"),"

")),this.draftEnabled&&null!==(t=this.triggerSaveDraft)&&void 0!==t&&t.cancel&&this.triggerSaveDraft.cancel(),this.emit("submit",n,e),e&&this.emit("submitDone",n),n}},{key:"normalizeError",value:function(n){return n&&("object"===m(n)&&"details"in n&&(n=n.details),"string"==typeof n&&(n={message:n})),n}},{key:"onSubmissionError",value:function(n){return n=this.normalizeError(n),this.submitting=!1,this.setPristine(!1),this.emit("submitError",n),n&&n.silent?(this.emit("change",{isValid:!0},{silent:!0}),!1):(e=this.submitted?this.showErrors():this.showErrors(n,!0),this.root&&this.root.alert&&this.scrollIntoView(this.root.alert),e);var e}},{key:"onChange",value:function(n,e,t,i){n=n||{};var o=!1;e&&e.component&&(this.customErrors=this.customErrors.filter((function(n){return n.component&&n.component!==e.component.key}))),C(O(d.prototype),"onChange",this).call(this,n,!0);var r=l.default.clone(this.submission);n.changed=r.changed=e,n.changes=i,t&&this.pristine&&(this.pristine=!1),r.isValid=this.checkData(r.data,n),this.loading=!1,this.submitted&&this.showErrors(),t&&this.options.saveDraft&&this.triggerSaveDraft(),n&&n.noEmit||(this.emit("change",r,n,t),o=!0),o&&!this.initialized&&(this.emit("initialized"),this.initialized=!0)}},{key:"checkData",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=C(O(d.prototype),"checkData",this).call(this,n,e);return(l.default.isEmpty(e)||e.noValidate)&&this.submitted&&this.showErrors(),t}},{key:"deleteSubmission",value:function(){var n=this;return this.formio.deleteSubmission().then((function(){n.emit("submissionDeleted",n.submission),n.resetValue()}))}},{key:"cancel",value:function(n){return this.hook("beforeCancel",!0)&&(n||confirm(this.t("confirmCancel")))?(this.resetValue(),!0):(this.emit("cancelSubmit"),!1)}},{key:"setMetadata",value:function(n){n.metadata=n.metadata||{},l.default.defaults(n.metadata,{timezone:l.default.get(this,"_submission.metadata.timezone",(0,h.currentTimezone)()),offset:parseInt(l.default.get(this,"_submission.metadata.offset",(0,i.default)().utcOffset()),10),origin:document.location.origin,referrer:document.referrer,browserName:navigator.appName,userAgent:navigator.userAgent,pathName:window.location.pathname,onLine:navigator.onLine})}},{key:"submitForm",value:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clearServerErrors(),new c.default((function(t,i){if(n.options.readOnly)return t({submission:n.submission,saved:!1});var o=(0,h.fastCloneDeep)(n.submission||{});n.setMetadata(o),o.state=e.state||"submitted";var r="draft"===o.state;n.hook("beforeSubmit",v(v({},o),{},{component:e.component}),(function(u,a){return u?i(u):(o._vnote=a&&a._vnote?a._vnote:"",r||o.data?r||n.checkValidity(o.data,!0)?(n.everyComponent((function(n){"client-only"===n.component.persistent&&l.default.unset(o.data,n.path)})),void n.hook("customValidation",v(v({},o),{},{component:e.component}),(function(e){if(e)return"string"==typeof e&&(e={message:e}),e=Array.isArray(e)?e:[e],n.customErrors=e,i();if(n.loading=!0,n._form&&n._form.action){var l=o.data._id&&n._form.action.includes(o.data._id)?"PUT":"POST";return s.GlobalFormio.makeStaticRequest(n._form.action,l,o,n.formio?n.formio.options:{}).then((function(n){return t({submission:n,saved:!0})})).catch((function(e){return n.setServerErrors(e),i(e)}))}var r=n.formio;if(n.nosubmit||!r)return t({submission:o,saved:!1});r[r.actionUrl?"saveAction":"saveSubmission"](o).then((function(n){return t({submission:n,saved:!0})})).catch((function(e){return n.setServerErrors(e),i(e)}))}))):i():i("Invalid Submission"))}))}))}},{key:"setServerErrors",value:function(n){n.details?this.serverErrors=n.details.filter((function(n){return n.level?"error"===n.level:n})).map((function(n){return n.fromServer=!0,n})):"string"==typeof n&&(this.serverErrors=[{fromServer:!0,level:"error",message:n}])}},{key:"executeSubmit",value:function(n){var e=this;return this.submitted=!0,this.submitting=!0,this.submitForm(n).then((function(n){var t=n.submission,l=n.saved;return e.onSubmit(t,l)})).then((function(n){return e.submissionInProcess=!1,n})).catch((function(n){return e.submissionInProcess=!1,c.default.reject(e.onSubmissionError(n))}))}},{key:"clearServerErrors",value:function(){var n,e=this;null===(n=this.serverErrors)||void 0===n||n.forEach((function(n){if(n.path){var t=(0,h.getArrayFromComponentPath)(n.path),i=e.getComponent(t,l.default.identity,n.formattedKeyOrPath);i&&(i.serverErrors=[])}})),this.serverErrors=[]}},{key:"submit",value:function(n,e){var t=this;return this.submissionInProcess=!0,n?this.executeSubmit(e):this.beforeSubmit(e).then((function(){return t.executeSubmit(e)}))}},{key:"submitUrl",value:function(n,e){var t=this;if(!n)return console.warn("Missing URL argument");var l=this.submission||{},i=n,o={method:"POST",headers:{}};if(e&&e.length>0&&e.map((function(n){""!==n.header&&""!==n.value&&(o.headers[n.header]=t.interpolate(n.value,l))})),!i||!o)return this.emit("error","You should add a URL to this button."),this.setAlert("warning","You should add a URL to this button."),console.warn("You should add a URL to this button.");s.GlobalFormio.makeStaticRequest(i,o.method,l,{headers:o.headers}).then((function(){t.emit("requestDone"),t.setAlert("success","

Success

")})).catch((function(n){t.showErrors("".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),t.emit("error","".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),console.error("".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),t.setAlert("danger","

".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n,"

"))}))}},{key:"triggerRecaptcha",value:function(){if(this&&this.components){var n=(0,h.searchComponents)(this.components,{"component.type":"recaptcha","component.eventType":"formLoad"});n.length>0&&n[0].verify("".concat(this.form.name?this.form.name:"form","Load"))}}},{key:"nosubmit",get:function(){return this._nosubmit||!1},set:function(n){this._nosubmit=!!n,this.emit("nosubmit",this._nosubmit)}},{key:"conditions",get:function(){var n,e;return null!==(n=null===(e=this.schema.settings)||void 0===e?void 0:e.conditions)&&void 0!==n?n:[]}},{key:"variables",get:function(){var n,e;return null!==(n=null===(e=this.schema.settings)||void 0===e?void 0:e.variables)&&void 0!==n?n:[]}}])&&A(e.prototype,t),r&&A(e,r),Object.defineProperty(e,"prototype",{writable:!1}),d}(p.default);e.default=T,T.setBaseUrl=s.GlobalFormio.setBaseUrl,T.setApiUrl=s.GlobalFormio.setApiUrl,T.setAppUrl=s.GlobalFormio.setAppUrl},"7fqy":function(n,e){n.exports=function(n){var e=-1,t=Array(n.size);return n.forEach((function(n,l){t[++e]=[l,n]})),t}},"7lQs":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return"\n","\n"}},"7p4B":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n','\n'}},"7xO9":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t=10?n:n+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?n+12:void 0},meridiem:function(n,e,t){return n<4?"\u0a30\u0a3e\u0a24":n<10?"\u0a38\u0a35\u0a47\u0a30":n<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":n<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(t("wd/R"))},"8/JR":function(n,e,t){"use strict";var l=t("8T9/"),i=t("Ibf7");n.exports=function(n,e){var t=e||{},o={};return void 0===n&&(n={}),n.on=function(e,t){return o[e]?o[e].push(t):o[e]=[t],n},n.once=function(e,t){return t._once=!0,n.on(e,t),n},n.off=function(e,t){var l=arguments.length;if(1===l)delete o[e];else if(0===l)o={};else{var i=o[e];if(!i)return n;i.splice(i.indexOf(t),1)}return n},n.emit=function(){var e=l(arguments);return n.emitterSnapshot(e.shift()).apply(this,e)},n.emitterSnapshot=function(e){var r=(o[e]||[]).slice(0);return function(){var o=l(arguments),u=this||n;if("error"===e&&!1!==t.throws&&!r.length)throw 1===o.length?o[0]:o;return r.forEach((function(l){t.async?i(l,o,u):l.apply(u,o),l._once&&n.off(e,l)})),n}},n}},"81LO":function(n,e,t){var l=t("b5wT"),i=t("tQ6r");function o(n,e,t){for(var i;e.length&&(i=l.last(e)).i<=t;)e.pop(),n.push(i.vs),t++;return t}n.exports=function(n,e){var t=i.partition(n,(function(n){return l.has(n,"barycenter")})),r=t.lhs,u=l.sortBy(t.rhs,(function(n){return-n.i})),a=[],s=0,c=0,d=0;r.sort((p=!!e,function(n,e){return n.barycentere.barycenter?1:p?e.i-n.i:n.i-e.i})),d=o(a,u,d),l.forEach(r,(function(n){d+=n.vs.length,a.push(n.vs),s+=n.barycenter*n.weight,c+=n.weight,d=o(a,u,d)}));var p;var h={vs:l.flatten(a,!0)};c&&(h.barycenter=s/c,h.weight=c);return h}},"81S3":function(n,e,t){"use strict";var l=t("0Dky"),i=t("tiKp"),o=t("g6v/"),r=t("xDBR"),u=i("iterator");n.exports=!l((function(){var n=new URL("b?a=1&b=2&c=3","http://a"),e=n.searchParams,t=new URLSearchParams("a=1&a=2&b=3"),l="";return n.pathname="c%20d",e.forEach((function(n,t){e.delete("b"),l+=t+n})),t.delete("a",2),t.delete("b",void 0),r&&(!n.toJSON||!t.has("a",1)||t.has("a",2)||!t.has("a",void 0)||t.has("b"))||!e.size&&(r||!o)||!e.sort||"http://a/c%20d?a=1&c=3"!==n.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==l||"x"!==new URL("http://x",void 0).host}))},"82Gu":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='\n"}},"82LE":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{weight:15,type:"checkbox",label:"Hide Input Labels",tooltip:"Hide the labels of component inputs. This allows you to show the labels in the form builder, but not when it is rendered.",key:"hideInputLabels",input:!0},{type:"select",input:!0,key:"inputsLabelPosition",label:"Inputs Label Position",tooltip:"Position for the labels for inputs for this field.",weight:40,defaultValue:"top",dataSrc:"values",data:{values:[{label:"Top",value:"top"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Bottom",value:"bottom"}]}},{key:"placeholder",ignore:!0},{weight:213,type:"checkbox",label:"Use Locale Settings",tooltip:"Use locale settings to display day.",key:"useLocaleSettings",input:!0}]},"82ph":function(n,e,t){"use strict";var l=t("4zBA");n.exports=l([].slice)},"83RN":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"validate.required",ignore:!0},{key:"validate.unique",ignore:!0},{weight:0,type:"checkbox",label:"Require Day",tooltip:"A required field must be filled in before the form can be submitted.",key:"fields.day.required",input:!0},{weight:10,type:"checkbox",label:"Require Month",tooltip:"A required field must be filled in before the form can be submitted.",key:"fields.month.required",input:!0},{weight:20,type:"checkbox",label:"Require Year",tooltip:"A required field must be filled in before the form can be submitted.",key:"fields.year.required",input:!0},{weight:40,type:"textfield",label:"Minimum Day",placeholder:"yyyy-MM-dd",tooltip:"A minimum date that can be set. You can also use Moment.js functions. For example: \n \n moment().subtract(10, 'days')",key:"minDate",input:!0},{weight:30,type:"textfield",label:"Maximum Day",placeholder:"yyyy-MM-dd",tooltip:"A maximum day that can be set. You can also use Moment.js functions. For example: \n \n moment().add(10, 'days')",key:"maxDate",input:!0}]},"846U":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("ai4O");e.default={form:l.default}},"87QY":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return t+='
'+(null==(e=n.children)?"":e)+"
\n"}},"88Gu":function(n,e){var t=Date.now;n.exports=function(n){var e=0,l=0;return function(){var i=t(),o=16-(i-l);if(l=i,o>0){if(++e>=800)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}},"8Aq1":function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("s8pA"))&&l.__esModule?l:{default:l}).default};e.default=i},"8AyJ":function(n,e,t){"use strict";t("I+eb")({target:"Number",stat:!0},{isFinite:t("4oU/")})},"8GHX":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("oRM5");e.default={form:l.default}},"8GlL":function(n,e,t){"use strict";var l=t("We1y"),i=TypeError,o=function(n){var e,t;this.promise=new n((function(n,l){if(void 0!==e||void 0!==t)throw new i("Bad Promise constructor");e=n,t=l})),this.resolve=l(e),this.reject=l(t)};n.exports.f=function(n){return new o(n)}},"8KB7":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"validateOn",ignore:!0},{key:"unique",ignore:!0},{weight:52,type:"checkbox",label:"Allow only available values",tooltip:"Check this if you would like to perform a validation check to ensure the selected value is an available option.",key:"validate.onlyAvailableItems",input:!0}]},"8MA5":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n \n
\n ',n.groups.forEach((function(n){t+="\n "+(null==(e=n)?"":e)+"\n "})),t+="\n
\n
\n"}},"8MCd":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='\n
',n.checked?t+="True":t+="False",t+="
\n"}},"8O7S":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;for(var l in t+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n class="ui button '+(null==(e=n.transform("theme",n.component.theme))?"":e)+" "+(null==(e=n.component.customClass)?"":e)+'"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';return t+="\n>\n",n.component.leftIcon&&(t+=' '),t+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(t+='\n \n'),t+="\n",n.component.rightIcon&&(t+=' '),t+="\n\n
\n \n
\n'}},"8T9/":function(n,e){n.exports=function(n,e){return Array.prototype.slice.call(n,e)}},"8VeQ":function(n,e){},"8YOa":function(n,e,t){"use strict";var l=t("I+eb"),i=t("4zBA"),o=t("0BK2"),r=t("hh1v"),u=t("Gi26"),a=t("m/L8").f,s=t("JBy8"),c=t("BX/b"),d=t("T63f"),p=t("kOOl"),h=t("uy83"),g=!1,f=p("meta"),m=0,b=function(n){a(n,f,{value:{objectID:"O"+m++,weakData:{}}})},v=n.exports={enable:function(){v.enable=function(){},g=!0;var n=s.f,e=i([].splice),t={};t[f]=1,n(t).length&&(s.f=function(t){for(var l=n(t),i=0,o=l.length;ia||s>e[i].lim));o=i,i=l;for(;(i=n.parent(i))!==o;)u.push(i);return{path:r.concat(u.reverse()),lca:o}}(n,e,i.v,i.w),r=o.path,u=o.lca,a=0,s=r[a],c=!0;t!==i.w;){if(l=n.node(t),c){for(;(s=r[a])!==u&&n.node(s).maxRank\n"}},"8mBD":function(n,e,t){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(t("wd/R"))},"8qph":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return n.selected&&(t+=null==(e=n.t(n.option.label))?"":e),t+="\n"}},"8r76":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("vEJ5");e.default={form:l.default}},"8s0q":function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("s0kn"))&&l.__esModule?l:{default:l}).default};e.default=i},"8t0+":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"tooltip",ignore:!0},{key:"hideLabel",ignore:!0},{key:"autofocus",ignore:!0},{key:"disabled",ignore:!0},{key:"tabindex",ignore:!0},{key:"tableView",ignore:!0},{type:"textfield",input:!0,key:"tag",weight:50,label:"HTML Tag",placeholder:"HTML Element Tag",tooltip:"The tag of this HTML element."},{type:"textfield",input:!0,key:"className",weight:60,label:"CSS Class",placeholder:"CSS Class",tooltip:"The CSS class for this HTML element."},{type:"datagrid",input:!0,label:"Attributes",key:"attrs",tooltip:"The attributes for this HTML element. Only safe attributes are allowed, such as src, href, and title.",weight:70,components:[{label:"Attribute",key:"attr",input:!0,type:"textfield"},{label:"Value",key:"value",input:!0,type:"textfield"}]},{type:"textarea",input:!0,editor:"ace",rows:10,as:"html",label:"Content",tooltip:"The content of this HTML element.",defaultValue:'
Content
',key:"content",weight:80},{weight:85,type:"checkbox",label:"Refresh On Change",tooltip:"Rerender the field whenever a value on the form changes.",key:"refreshOnChange",input:!0}]},"9+61":function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("FryW"))&&l.__esModule?l:{default:l}).default};e.default=i},"909l":function(n,e,t){"use strict";t.d(e,"b",(function(){return c})),t.d(e,"a",(function(){return d}));var l=t("mrSG"),i=t("IUTb"),o=t("isby"),r=t("FFOo"),u=t("MGBS"),a=t("zotm"),s=t("En8+");function c(){for(var n=[],e=0;ethis.index},n.prototype.hasCompleted=function(){return this.array.length===this.index},n}(),f=function(n){function e(e,t,l){var i=n.call(this,e)||this;return i.parent=t,i.observable=l,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return l.d(e,n),e.prototype[s.a]=function(){return this},e.prototype.next=function(){var n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(n,e,t,l,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(n,e){return Object(a.a)(this,this.observable,this,e)},e}(u.a)},"90hW":function(n,e,t){"use strict";n.exports=Math.sign||function(n){var e=+n;return 0===e||e!=e?e:e<0?-1:1}},"93I0":function(n,e,t){"use strict";var l=t("VpIT"),i=t("kOOl"),o=l("keys");n.exports=function(n){return o[n]||(o[n]=i(n))}},"94Pl":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;te?1:n=E&&l<=Wo}function L(){if(S)try{throw new Error}catch(t){var n=t.stack.split("\n"),e=N(n[0].indexOf("@")>0?n[1]:n[2]);if(!e)return;return T=e[0],e[1]}}function N(n){var e=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(n);if(e)return[e[1],Number(e[2])];var t=/at ([^ ]+):(\d+):(?:\d+)$/.exec(n);if(t)return[t[1],Number(t[2])];var l=/.*@(.+):(\d+)$/.exec(n);return l?[l[1],Number(l[2])]:void 0}var B=m.EmptyError=function(){this.message="Sequence contains no elements.",Error.call(this)};B.prototype=Object.create(Error.prototype),B.prototype.name="EmptyError";var F=m.ObjectDisposedError=function(){this.message="Object has been disposed",Error.call(this)};F.prototype=Object.create(Error.prototype),F.prototype.name="ObjectDisposedError";var j=m.ArgumentOutOfRangeError=function(){this.message="Argument out of range",Error.call(this)};j.prototype=Object.create(Error.prototype),j.prototype.name="ArgumentOutOfRangeError";var V=m.NotSupportedError=function(n){this.message=n||"This operation is not supported",Error.call(this)};V.prototype=Object.create(Error.prototype),V.prototype.name="NotSupportedError";var U=m.NotImplementedError=function(n){this.message=n||"This operation is not implemented",Error.call(this)};U.prototype=Object.create(Error.prototype),U.prototype.name="NotImplementedError";var z=m.helpers.notImplemented=function(){throw new U},H=(m.helpers.notSupported=function(){throw new V},"function"==typeof Symbol&&Symbol.iterator||"_es6shim_iterator_");f.Set&&"function"==typeof(new f.Set)["@@iterator"]&&(H="@@iterator");var q=m.doneEnumerator={done:!0,value:i},Y=m.helpers.isIterable=function(n){return n&&n[H]!==i},G=m.helpers.isArrayLike=function(n){return n&&n.length!==i};m.helpers.iterator=H;var W=m.internals.bindCallback=function(n,e,t){if(void 0===e)return n;switch(t){case 0:return function(){return n.call(e)};case 1:return function(t){return n.call(e,t)};case 2:return function(t,l){return n.call(e,t,l)};case 3:return function(t,l,i){return n.call(e,t,l,i)}}return function(){return n.apply(e,arguments)}},Q=(["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"].length,"[object Arguments]"),K="[object Array]",X="[object Object]",J={};J["[object Float32Array]"]=J["[object Float64Array]"]=J["[object Int8Array]"]=J["[object Int16Array]"]=J["[object Int32Array]"]=J["[object Uint8Array]"]=J["[object Uint8ClampedArray]"]=J["[object Uint16Array]"]=J["[object Uint32Array]"]=!0,J[Q]=J[K]=J["[object ArrayBuffer]"]=J["[object Boolean]"]=J["[object Date]"]=J["[object Error]"]=J["[object Function]"]=J["[object Map]"]=J["[object Number]"]=J[X]=J["[object RegExp]"]=J["[object Set]"]=J["[object String]"]=J["[object WeakMap]"]=!1;var $=Object.prototype,Z=$.hasOwnProperty,nn=$.toString,en=Math.pow(2,53)-1,tn=Object.keys||function(){var n=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),t=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=t.length;return function(i){if("object"!=typeof i&&("function"!=typeof i||null===i))throw new TypeError("Object.keys called on non-object");var o,r,u=[];for(o in i)n.call(i,o)&&u.push(o);if(e)for(r=0;r-1&&n%1==0&&n<=en}var an=function(){try{Object({toString:0}+"")}catch(n){return function(){return!1}}return function(n){return"function"!=typeof n.toString&&"string"==typeof(n+"")}}();var sn=Array.isArray||function(n){return rn(n)&&un(n.length)&&nn.call(n)===K};function cn(n,e){for(var t=-1,l=n.length;++ta))return!1;for(;++u=this.length||n<0)){var e=n-1>>1;if(!(e<0||e===n)&&this.isHigherPriority(n,e)){var t=this.items[n];this.items[n]=this.items[e],this.items[e]=t,this.percolate(e)}}},Cn.heapify=function(n){if(+n||(n=0),!(n>=this.length||n<0)){var e=2*n+1,t=2*n+2,l=n;if(e0;){var n=e.dequeue();!n.isCancelled()&&n.invoke()}}function l(){n.call(this)}return fn(l,n),l.prototype.schedule=function(n,l){var i=new Bn(this,n,l,this.now());if(e)e.enqueue(i);else{(e=new An(4)).enqueue(i);var o=O(t)();e=null,o===k&&M(o.e)}return i.disposable},l.prototype.scheduleRequired=function(){return!e},l}(Fn),Wn=Fn.currentThread=new Gn,Qn=function(){var n,e=b;if(f.setTimeout)n=f.setTimeout,e=f.clearTimeout;else{if(!f.WScript)throw new V;n=function(n,e){f.WScript.Sleep(e),n()}}return{setTimeout:n,clearTimeout:e}}(),Kn=Qn.setTimeout,Xn=Qn.clearTimeout;!function(){var n=1,e={},t=!1;function l(n){if(t)Kn((function(){l(n)}),0);else{var i=e[n];if(i){t=!0;var o=O(i)();zn(n),t=!1,o===k&&M(o.e)}}}zn=function(n){delete e[n]};var i=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),o="function"==typeof(o=c&&h&&c.setImmediate)&&!i.test(o)&&o;if(_(o))Un=function(t){var i=n++;return e[i]=t,o((function(){l(i)})),i};else if("undefined"!=typeof process&&"[object process]"==={}.toString.call(process))Un=function(t){var i=n++;return e[i]=t,process.nextTick((function(){l(i)})),i};else if(function(){if(!f.postMessage||f.importScripts)return!1;var n=!1,e=f.onmessage;return f.onmessage=function(){n=!0},f.postMessage("","*"),f.onmessage=e,n}()){var r="ms.rx.schedule"+Math.random();f.addEventListener("message",(function(n){"string"==typeof n.data&&n.data.substring(0,r.length)===r&&l(n.data.substring(r.length))}),!1),Un=function(t){var l=n++;return e[l]=t,f.postMessage(r+l,"*"),l}}else if(f.MessageChannel){var u=new f.MessageChannel;u.port1.onmessage=function(n){l(n.data)},Un=function(t){var l=n++;return e[l]=t,u.port2.postMessage(l),l}}else Un="document"in f&&"onreadystatechange"in f.document.createElement("script")?function(t){var i=f.document.createElement("script"),o=n++;return e[o]=t,i.onreadystatechange=function(){l(o),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},f.document.documentElement.appendChild(i),o}:function(t){var i=n++;return e[i]=t,Kn((function(){l(i)}),0),i}}();var Jn=function(n){function e(){n.call(this)}function t(n,e,t,l){return function(){n.setDisposable(_n._fixup(e(t,l)))}}function l(n){this._id=n,this.isDisposed=!1}function i(n){this._id=n,this.isDisposed=!1}return fn(e,n),l.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,zn(this._id))},i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,Xn(this._id))},e.prototype.schedule=function(n,e){var i=new In,o=Un(t(i,e,this,n));return new En(i,new l(o))},e.prototype._scheduleFuture=function(n,e,l){if(0===e)return this.schedule(n,l);var o=new In,r=Kn(t(o,l,this,n),e);return new En(o,new i(r))},e.prototype.scheduleLongRunning=function(n,e){var t=Pn(b);return Un(function(n,e,t){return function(){e(n,t)}}(n,e,t)),t},e}(Fn),$n=Fn.default=Fn.async=new Jn,Zn=function(n){function e(e,t){this._scheduler=e,this._handler=t,this._recursiveOriginal=null,this._recursiveWrapper=null,n.call(this)}return fn(e,n),e.prototype.schedule=function(n,e){return this._scheduler.schedule(n,this._wrap(e))},e.prototype._scheduleFuture=function(n,e,t){return this._scheduler.schedule(n,e,this._wrap(t))},e.prototype.now=function(){return this._scheduler.now()},e.prototype._clone=function(n){return new e(n,this._handler)},e.prototype._wrap=function(n){var e=this;return function(t,l){var i=O(n)(e._getRecursiveWrapper(t),l);return i===k?(e._handler(i.e)||M(i.e),kn):Sn(i)}},e.prototype._getRecursiveWrapper=function(n){if(this._recursiveOriginal!==n){this._recursiveOriginal=n;var e=this._clone(n);e._recursiveOriginal=n,e._recursiveWrapper=e,this._recursiveWrapper=e}return this._recursiveWrapper},e.prototype.schedulePeriodic=function(n,e,t){var l=this,i=!1,o=new In;return o.setDisposable(this._scheduler.schedulePeriodic(n,e,(function(n){if(i)return null;var e=O(t)(n);return e===k?(i=!0,l._handler(e.e)||M(e.e),o.dispose(),null):e}))),o},e}(Fn),ne=m.Notification=function(){function n(){}return n.prototype._accept=function(n,e,t){throw new U},n.prototype._acceptObserver=function(n,e,t){throw new U},n.prototype.accept=function(n,e,t){return n&&"object"==typeof n?this._acceptObserver(n):this._accept(n,e,t)},n.prototype.toObservable=function(n){var e=this;return Vn(n)||(n=Yn),new Fo((function(t){return n.schedule(e,(function(n,e){e._acceptObserver(t),"N"===e.kind&&t.onCompleted()}))}))},n}(),ee=function(n){function e(n){this.value=n,this.kind="N"}return fn(e,n),e.prototype._accept=function(n){return n(this.value)},e.prototype._acceptObserver=function(n){return n.onNext(this.value)},e.prototype.toString=function(){return"OnNext("+this.value+")"},e}(ne),te=function(n){function e(n){this.error=n,this.kind="E"}return fn(e,n),e.prototype._accept=function(n,e){return e(this.error)},e.prototype._acceptObserver=function(n){return n.onError(this.error)},e.prototype.toString=function(){return"OnError("+this.error+")"},e}(ne),le=function(n){function e(){this.kind="C"}return fn(e,n),e.prototype._accept=function(n,e,t){return t()},e.prototype._acceptObserver=function(n){return n.onCompleted()},e.prototype.toString=function(){return"OnCompleted()"},e}(ne),ie=ne.createOnNext=function(n){return new ee(n)},oe=ne.createOnError=function(n){return new te(n)},re=ne.createOnCompleted=function(){return new le},ue=m.Observer=function(){};ue.prototype.toNotifier=function(){var n=this;return function(e){return e.accept(n)}},ue.prototype.asObserver=function(){var n=this;return new de((function(e){n.onNext(e)}),(function(e){n.onError(e)}),(function(){n.onCompleted()}))},ue.prototype.checked=function(){return new pe(this)};var ae=ue.create=function(n,e,t){return n||(n=b),e||(e=w),t||(t=b),new de(n,e,t)};ue.fromNotifier=function(n,e){var t=W(n,e,1);return new de((function(n){return t(ie(n))}),(function(n){return t(oe(n))}),(function(){return t(re())}))},ue.prototype.notifyOn=function(n){return new ge(n,this)},ue.prototype.makeSafe=function(n){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,n)};var se,ce=m.internals.AbstractObserver=function(n){function e(){this.isStopped=!1}return fn(e,n),e.prototype.next=z,e.prototype.error=z,e.prototype.completed=z,e.prototype.onNext=function(n){!this.isStopped&&this.next(n)},e.prototype.onError=function(n){this.isStopped||(this.isStopped=!0,this.error(n))},e.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},e.prototype.dispose=function(){this.isStopped=!0},e.prototype.fail=function(n){return!this.isStopped&&(this.isStopped=!0,this.error(n),!0)},e}(ue),de=m.AnonymousObserver=function(n){function e(e,t,l){n.call(this),this._onNext=e,this._onError=t,this._onCompleted=l}return fn(e,n),e.prototype.next=function(n){this._onNext(n)},e.prototype.error=function(n){this._onError(n)},e.prototype.completed=function(){this._onCompleted()},e}(ce),pe=function(n){function e(e){n.call(this),this._observer=e,this._state=0}fn(e,n);var t=e.prototype;return t.onNext=function(n){this.checkAccess();var e=O(this._observer.onNext).call(this._observer,n);this._state=0,e===k&&M(e.e)},t.onError=function(n){this.checkAccess();var e=O(this._observer.onError).call(this._observer,n);this._state=2,e===k&&M(e.e)},t.onCompleted=function(){this.checkAccess();var n=O(this._observer.onCompleted).call(this._observer);this._state=2,n===k&&M(n.e)},t.checkAccess=function(){if(1===this._state)throw new Error("Re-entrancy detected");if(2===this._state)throw new Error("Observer completed");0===this._state&&(this._state=1)},e}(ue),he=m.internals.ScheduledObserver=function(n){function e(e,t){n.call(this),this.scheduler=e,this.observer=t,this.isAcquired=!1,this.hasFaulted=!1,this.queue=[],this.disposable=new Tn}function t(n,e){var t;if(n.queue.length>0){t=n.queue.shift();var l=O(t)();if(l===k)return n.queue=[],n.hasFaulted=!0,M(l.e);e(n)}else n.isAcquired=!1}return fn(e,n),e.prototype.next=function(n){this.queue.push(function(n,e){return function(){n.onNext(e)}}(this.observer,n))},e.prototype.error=function(n){this.queue.push(function(n,e){return function(){n.onError(e)}}(this.observer,n))},e.prototype.completed=function(){var n;this.queue.push((n=this.observer,function(){n.onCompleted()}))},e.prototype.ensureActive=function(){var n=!1;!this.hasFaulted&&this.queue.length>0&&(n=!this.isAcquired,this.isAcquired=!0),n&&this.disposable.setDisposable(this.scheduler.scheduleRecursive(this,t))},e.prototype.dispose=function(){n.prototype.dispose.call(this),this.disposable.dispose()},e}(ce),ge=function(n){function e(e,t,l){n.call(this,e,t),this._cancel=l}return fn(e,n),e.prototype.next=function(e){n.prototype.next.call(this,e),this.ensureActive()},e.prototype.error=function(e){n.prototype.error.call(this,e),this.ensureActive()},e.prototype.completed=function(){n.prototype.completed.call(this),this.ensureActive()},e.prototype.dispose=function(){n.prototype.dispose.call(this),this._cancel&&this._cancel.dispose(),this._cancel=null},e}(he),fe=m.Observable=function(){function n(){if(m.config.longStackSupport&&S){var n=this._subscribe,e=O(M)(new Error).e;this.stack=e.stack.substring(e.stack.indexOf("\n")+1),this._subscribe=function(n,e){return function(t){var l=t.onError;return t.onError=function(e){D(e,n),l.call(t,e)},e.call(n,t)}}(this,n)}}return se=n.prototype,n.isObservable=function(n){return n&&_(n.subscribe)},se.subscribe=se.forEach=function(n,e,t){return this._subscribe("object"==typeof n?n:ae(n,e,t))},se.subscribeOnNext=function(n,e){return this._subscribe(ae(void 0!==e?function(t){n.call(e,t)}:n))},se.subscribeOnError=function(n,e){return this._subscribe(ae(null,void 0!==e?function(t){n.call(e,t)}:n))},se.subscribeOnCompleted=function(n,e){return this._subscribe(ae(null,null,void 0!==e?function(){n.call(e)}:n))},n}(),me=m.ObservableBase=function(n){function e(n,e){var t,l=e[0],i=e[1],o=O(i.subscribeCore).call(i,l);o!==k||l.fail(k.e)||M(k.e),l.setDisposable((t=o)&&_(t.dispose)?t:_(t)?Pn(t):kn)}function t(){n.call(this)}return fn(t,n),t.prototype._subscribe=function(n){var t=new jo(n),l=[t,this];return Wn.scheduleRequired()?Wn.schedule(l,e):e(0,l),t},t.prototype.subscribeCore=z,t}(fe),be=m.FlatMapObservable=function(n){function e(e,t,l,i){this.resultSelector=_(l)?l:null,this.selector=W(_(t)?t:function(){return t},i,3),this.source=e,n.call(this)}function t(n,e,t,l){this.i=0,this.selector=e,this.resultSelector=t,this.source=l,this.o=n,ce.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new t(n,this.selector,this.resultSelector,this))},fn(t,ce),t.prototype._wrapResult=function(n,e,t){return this.resultSelector?n.map((function(n,l){return this.resultSelector(e,n,t,l)}),this):n},t.prototype.next=function(n){var e=this.i++,t=O(this.selector)(n,e,this.source);if(t===k)return this.o.onError(t.e);x(t)&&(t=Se(t)),(G(t)||Y(t))&&(t=fe.from(t)),this.o.onNext(this._wrapResult(t,n,e))},t.prototype.error=function(n){this.o.onError(n)},t.prototype.completed=function(){this.o.onCompleted()},e}(me),ve=m.internals.Enumerable=function(){};function ye(n){this._s=n,this.isDisposed=!1}ye.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.isDisposed=!0)};var Ae=function(n){function e(e){this.sources=e,n.call(this)}function t(n,e){if(!n.isDisposed){var t=O(n.e.next).call(n.e);if(t===k)return n.o.onError(t.e);if(t.done)return n.o.onCompleted();var i=t.value;x(i)&&(i=Se(i));var o=new In;n.subscription.setDisposable(o),o.setDisposable(i.subscribe(new l(n,e)))}}function l(n,e){this._state=n,this._recurse=e,ce.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){var e=new Tn,l={isDisposed:!1,o:n,subscription:e,e:this.sources[H]()},i=Wn.scheduleRecursive(l,t);return new Dn([e,i,new ye(l)])},fn(l,ce),l.prototype.next=function(n){this._state.o.onNext(n)},l.prototype.error=function(n){this._state.o.onError(n)},l.prototype.completed=function(){this._recurse(this._state)},e}(me);ve.prototype.concat=function(){return new Ae(this)};var Ce=function(n){function e(e){this.sources=e,n.call(this)}function t(n,e){if(!n.isDisposed){var t=O(n.e.next).call(n.e);if(t===k)return n.o.onError(t.e);if(t.done)return null!==n.lastError?n.o.onError(n.lastError):n.o.onCompleted();var i=t.value;x(i)&&(i=Se(i));var o=new In;n.subscription.setDisposable(o),o.setDisposable(i.subscribe(new l(n,e)))}}function l(n,e){this._state=n,this._recurse=e,ce.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){var e=new Tn,l={isDisposed:!1,e:this.sources[H](),subscription:e,lastError:null,o:n},i=Wn.scheduleRecursive(l,t);return new Dn([e,i,new ye(l)])},fn(l,ce),l.prototype.next=function(n){this._state.o.onNext(n)},l.prototype.error=function(n){this._state.lastError=n,this._recurse(this._state)},l.prototype.completed=function(){this._state.o.onCompleted()},e}(me);ve.prototype.catchError=function(){return new Ce(this)};var we=function(n){function e(n,e){this.v=n,this.c=null==e?-1:e}function t(n){this.v=n.v,this.l=n.c}return fn(e,n),e.prototype[H]=function(){return new t(this)},t.prototype.next=function(){return 0===this.l?q:(this.l>0&&this.l--,{done:!1,value:this.v})},e}(ve),xe=ve.repeat=function(n,e){return new we(n,e)},_e=function(n){function e(n,e,t){this.s=n,this.fn=e?W(e,t,3):null}function t(n){this.i=-1,this.s=n.s,this.l=this.s.length,this.fn=n.fn}return fn(e,n),e.prototype[H]=function(){return new t(this)},t.prototype.next=function(){return++this.iBe)return Be;return e}(n),this._i=0}Fe.prototype[H]=function(){return new je(this._s)},je.prototype[H]=function(){return this},je.prototype.next=function(){return this._i0)&&(n.onNext(e),t>0&&t--),0===t)return n.onCompleted();l(t)}))},fe.repeat=function(n,e,t){return Vn(t)||(t=Wn),new Je(n,e,t)};var Ze=function(n){function e(e,t){this._value=e,this._scheduler=t,n.call(this)}function t(n,e){var t=e[0],l=e[1];return l.onNext(t),l.onCompleted(),kn}return fn(e,n),e.prototype.subscribeCore=function(n){var e=[this._value,n];return this._scheduler===Yn?t(null,e):this._scheduler.schedule(e,t)},e}(me),nt=(fe.return=fe.just=function(n,e){return Vn(e)||(e=Yn),new Ze(n,e)},function(n){function e(e,t){this._error=e,this._scheduler=t,n.call(this)}function t(n,e){var t=e[0];return e[1].onError(t),kn}return fn(e,n),e.prototype.subscribeCore=function(n){var e=[this._error,n];return this._scheduler===Yn?t(null,e):this._scheduler.schedule(e,t)},e}(me)),et=fe.throw=function(n,e){return Vn(e)||(e=Yn),new nt(n,e)},tt=function(n){function e(e,t){this._resFn=e,this._obsFn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){var e=kn,t=O(this._resFn)();if(t===k)return new En(et(t.e).subscribe(n),e);t&&(e=t);var l=O(this._obsFn)(t);return new En(l===k?et(l.e).subscribe(n):l.subscribe(n),e)},e}(me);function lt(n,e){return n.amb(e)}fe.using=function(n,e){return new tt(n,e)},se.amb=function(n){var e=this;return new Fo((function(t){var l,i=new In,o=new In;function r(){l||(l="L",o.dispose())}function u(){l||(l="R",i.dispose())}x(n)&&(n=Se(n));var a=ae((function(n){r(),"L"===l&&t.onNext(n)}),(function(n){r(),"L"===l&&t.onError(n)}),(function(){r(),"L"===l&&t.onCompleted()})),s=ae((function(n){u(),"R"===l&&t.onNext(n)}),(function(n){u(),"R"===l&&t.onError(n)}),(function(){u(),"R"===l&&t.onCompleted()}));return i.setDisposable(e.subscribe(a)),o.setDisposable(n.subscribe(s)),new En(i,o)}))},fe.amb=function(){var n,e=Qe();if(Array.isArray(arguments[0]))n=arguments[0];else{var t=arguments.length;n=new Array(n);for(var l=0;l0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&0===this.parent.activeCount&&this.parent.o.onCompleted())},e}(ce);se.merge=function(n){return"number"!=typeof n?bt(this,n):new ft(this,n)};var bt=fe.merge=function(){var n,e,t=[],l=arguments.length;if(arguments[0])if(Vn(arguments[0]))for(n=arguments[0],e=1;e0}function l(n){return n.shift()}return fn(e,n),e.prototype.next=function(n){if(this._q[this._i].push(n),this._q.every(t)){var e=this._q.map(l),i=O(this._p._cb).apply(null,e);if(i===k)return this._o.onError(i.e);this._o.onNext(i)}else this._d.filter((o=this._i,function(n,e){return e!==o})).every(v)&&this._o.onCompleted();var o},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._d[this._i]=!0,this._d.every(v)&&this._o.onCompleted()},e}(ce);function ut(){return!1}function Lt(){return[]}function at(){for(var n=arguments.length,e=new Array(n),t=0;t0}function l(n){return n.shift()}return fn(e,n),e.prototype.next=function(n){if(this._s.q[this._i].push(n),this._s.q.every(t)){var e=this._s.q.map(l),i=O(this._s.cb).apply(null,e);if(i===k)return this._s.o.onError(i.e);this._s.o.onNext(i)}else this._s.done.filter((o=this._i,function(n,e){return e!==o})).every(v)&&this._s.o.onCompleted();var o},e.prototype.error=function(n){this._s.o.onError(n)},e.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(v)&&this._s.o.onCompleted()},e}(ce);function Vt(n){return n.toArray()}function Ut(n){return n.length>0}se.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var n=arguments.length,e=new Array(n),t=0;tthis._c&&this._o.onNext(this._q.shift())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.skipLast=function(n){if(n<0)throw new j;return new tl(this,n)},se.startWith=function(){var n,e=0;arguments.length&&Vn(arguments[0])?(n=arguments[0],e=1):n=Yn;for(var t=[],l=e,i=arguments.length;lthis._c&&this._q.shift()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){for(;this._q.length>0;)this._o.onNext(this._q.shift());this._o.onCompleted()},e}(ce);se.takeLast=function(n){if(n<0)throw new j;var e=this;return new Fo((function(t){return e.subscribe(new il(t,n))}),e)};var ol=function(n){function e(e,t){this._o=e,this._c=t,this._q=[],n.call(this)}return fn(e,n),e.prototype.next=function(n){this._q.push(n),this._q.length>this._c&&this._q.shift()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._q),this._o.onCompleted()},e}(ce);function rl(n,e,t){var l=W(e,t,3);return n.map((function(e,t){var i=l(e,t,n);return x(i)&&(i=Se(i)),(G(i)||Y(i))&&(i=ze(i)),i})).concatAll()}se.takeLastBuffer=function(n){if(n<0)throw new j;var e=this;return new Fo((function(t){return e.subscribe(new ol(t,n))}),e)},se.windowWithCount=se.windowCount=function(n,e){var t=this;if(+n||(n=0),Math.abs(n)===1/0&&(n=0),n<=0)throw new j;if(null==e&&(e=n),+e||(e=0),Math.abs(e)===1/0&&(e=0),e<=0)throw new j;return new Fo((function(l){var i=new In,o=new Rn(i),r=0,u=[];function a(){var n=new zo;u.push(n),l.onNext(bn(n,o))}return a(),i.setDisposable(t.subscribe((function(t){for(var l=0,i=u.length;l=0&&o%e==0&&u.shift().onCompleted(),++r%e==0&&a()}),(function(n){for(;u.length>0;)u.shift().onError(n);l.onError(n)}),(function(){for(;u.length>0;)u.shift().onCompleted();l.onCompleted()}))),o}),t)},se.selectConcat=se.concatMap=function(n,e,t){return _(n)&&_(e)?this.concatMap((function(t,l){var i=n(t,l);return x(i)&&(i=Se(i)),(G(i)||Y(i))&&(i=ze(i)),i.map((function(n,i){return e(t,n,l,i)}))})):_(n)?rl(this,n,t):rl(this,(function(){return n}))},se.concatMapObserver=se.selectConcatObserver=function(n,e,t,l){var i=this,o=W(n,l,2),r=W(e,l,1),u=W(t,l,0);return new Fo((function(n){var e=0;return i.subscribe((function(t){var l;try{l=o(t,e++)}catch(i){return void n.onError(i)}x(l)&&(l=Se(l)),n.onNext(l)}),(function(e){var t;try{t=r(e)}catch(l){return void n.onError(l)}x(t)&&(t=Se(t)),n.onNext(t),n.onCompleted()}),(function(){var e;try{e=u()}catch(t){return void n.onError(t)}x(e)&&(e=Se(e)),n.onNext(e),n.onCompleted()}))}),this).concatAll()};var ul=function(n){function e(e,t){this._o=e,this._d=t,this._f=!1,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._f=!0,this._o.onNext(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){!this._f&&this._o.onNext(this._d),this._o.onCompleted()},e}(ce);function al(n){this.comparer=n,this.set=[]}se.defaultIfEmpty=function(n){var e=this;return n===i&&(n=null),new Fo((function(t){return e.subscribe(new ul(t,n))}),e)},al.prototype.push=function(n){var e=-1===function(n,e,t){for(var l=0,i=n.length;l0&&(this._o.onNext(n),this._r<=0&&this._o.onCompleted())},t.prototype.error=function(n){this._o.onError(n)},t.prototype.completed=function(){this._o.onCompleted()},e}(me);se.take=function(n,e){if(n<0)throw new j;return 0===n?Le(e):new ml(this,n)};var bl=function(n){function e(e,t){this.source=e,this._fn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new vl(n,this))},e}(me),vl=function(n){function e(e,t){this._o=e,this._p=t,this._i=0,this._r=!0,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(this._r&&(this._r=O(this._p._fn)(n,this._i++,this._p),this._r===k))return this._o.onError(this._r.e);this._r?this._o.onNext(n):this._o.onCompleted()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.takeWhile=function(n,e){var t=W(n,e,3);return new bl(this,t)};var yl=function(n){function e(e,t,l){this.source=e,this.predicate=W(t,l,3),n.call(this)}function t(n,e,t){this.o=n,this.predicate=e,this.source=t,this.i=0,ce.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new t(n,this.predicate,this))},e.prototype.internalFilter=function(n,t){return new e(this.source,function(n,e){return function(t,l,i){return e.predicate(t,l,i)&&n.call(this,t,l,i)}}(n,this),t)},fn(t,ce),t.prototype.next=function(n){var e=O(this.predicate)(n,this.i++,this.source);if(e===k)return this.o.onError(e.e);e&&this.o.onNext(n)},t.prototype.error=function(n){this.o.onError(n)},t.prototype.completed=function(){this.o.onCompleted()},e}(me);se.filter=se.where=function(n,e){return this instanceof yl?this.internalFilter(n,e):new yl(this,n,e)};var Al=function(n){function e(e,t,l){this.source=e,this._k=t,this._c=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Cl(n,this._k,this._c))},e}(me),Cl=function(n){function e(e,t,l){this._o=e,this._k=t,this._c=l,this._v=null,this._hv=!1,this._l=[],n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=O(this._k)(n);if(e===k)return this._o.onError(e.e);var t=0;if(this._hv){if((t=O(this._c)(e,this._v))===k)return this._o.onError(t.e)}else this._hv=!0,this._v=e;t>0&&(this._v=e,this._l=[]),t>=0&&this._l.push(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._l),this._o.onCompleted()},e}(ce);function wl(n){if(0===n.length)throw new B;return n[0]}var xl=function(n){function e(e,t,l,i){this.source=e,this.accumulator=t,this.hasSeed=l,this.seed=i,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new _l(n,this))},e}(me),_l=function(n){function e(e,t){this._o=e,this._p=t,this._fn=t.accumulator,this._hs=t.hasSeed,this._s=t.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(!this._hv&&(this._hv=!0),this._ha?this._a=O(this._fn)(this._a,n,this._i,this._p):(this._a=this._hs?O(this._fn)(this._s,n,this._i,this._p):n,this._ha=!0),this._a===k)return this._o.onError(this._a.e);this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv&&this._o.onNext(this._a),!this._hv&&this._hs&&this._o.onNext(this._s),!this._hv&&!this._hs&&this._o.onError(new B),this._o.onCompleted()},e}(ce);se.reduce=function(){var n,e=!1,t=arguments[0];return 2===arguments.length&&(e=!0,n=arguments[1]),new xl(this,t,e,n)};var Pl=function(n){function e(e,t){this.source=e,this._fn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new kl(n,this._fn,this.source))},e}(me),kl=function(n){function e(e,t,l){this._o=e,this._fn=t,this._s=l,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=O(this._fn)(n,this._i++,this._s);if(e===k)return this._o.onError(e.e);Boolean(e)&&(this._o.onNext(!0),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},e}(ce);se.some=function(n,e){var t=W(n,e,3);return new Pl(this,t)};var Ol=function(n){function e(e){this.source=e,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Ml(n))},e}(me),Ml=function(n){function e(e){this._o=e,n.call(this)}return fn(e,n),e.prototype.next=function(){this._o.onNext(!1),this._o.onCompleted()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},e}(ce);se.isEmpty=function(){return new Ol(this)};var Sl=function(n){function e(e,t){this.source=e,this._fn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Il(n,this._fn,this.source))},e}(me),Il=function(n){function e(e,t,l){this._o=e,this._fn=t,this._s=l,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=O(this._fn)(n,this._i++,this._s);if(e===k)return this._o.onError(e.e);Boolean(e)||(this._o.onNext(!1),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},e}(ce);se.every=function(n,e){var t=W(n,e,3);return new Sl(this,t)};var Tl=function(n){function e(e,t,l){var i=+l||0;Math.abs(i)===1/0&&(i=0),this.source=e,this._elem=t,this._n=i,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this._n<0?(n.onNext(!1),n.onCompleted(),kn):this.source.subscribe(new El(n,this._elem,this._n))},e}(me),El=function(n){function e(e,t,l){this._o=e,this._elem=t,this._n=l,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e,t;this._i++>=this._n&&(e=n,t=this._elem,0===e&&0===t||e===t||isNaN(e)&&isNaN(t))&&(this._o.onNext(!0),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},e}(ce);se.includes=function(n,e){return new Tl(this,n,e)};var Dl=function(n){function e(e,t){this.source=e,this._fn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Rl(n,this._fn,this.source))},e}(me),Rl=function(n){function e(e,t,l){this._o=e,this._fn=t,this._s=l,this._i=0,this._c=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(this._fn){var e=O(this._fn)(n,this._i++,this._s);if(e===k)return this._o.onError(e.e);Boolean(e)&&this._c++}else this._c++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},e}(ce);se.count=function(n,e){var t=W(n,e,3);return new Dl(this,t)};var Ll=function(n){function e(e,t,l){this.source=e,this._e=t,this._n=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this._n<0?(n.onNext(-1),n.onCompleted(),kn):this.source.subscribe(new Nl(n,this._e,this._n))},e}(me),Nl=function(n){function e(e,t,l){this._o=e,this._e=t,this._n=l,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._i>=this._n&&n===this._e&&(this._o.onNext(this._i),this._o.onCompleted()),this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(-1),this._o.onCompleted()},e}(ce);se.indexOf=function(n,e){var t=+e||0;return Math.abs(t)===1/0&&(t=0),new Ll(this,n,t)};var Bl=function(n){function e(e,t){this.source=e,this._fn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Fl(n,this._fn,this.source))},e}(me),Fl=function(n){function e(e,t,l){this._o=e,this._fn=t,this._s=l,this._i=0,this._c=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(this._fn){var e=O(this._fn)(n,this._i++,this._s);if(e===k)return this._o.onError(e.e);this._c+=e}else this._c+=n},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},e}(ce);se.sum=function(n,e){var t=W(n,e,3);return new Bl(this,t)},se.minBy=function(n,e){return e||(e=C),new Al(this,n,(function(n,t){return-1*e(n,t)}))},se.min=function(n){return this.minBy(v,n).map(wl)},se.maxBy=function(n,e){return e||(e=C),new Al(this,n,e)},se.max=function(n){return this.maxBy(v,n).map(wl)};var jl=function(n){function e(e,t){this.source=e,this._fn=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Vl(n,this._fn,this.source))},e}(me),Vl=function(n){function e(e,t,l){this._o=e,this._fn=t,this._s=l,this._c=0,this._t=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(this._fn){var e=O(this._fn)(n,this._c++,this._s);if(e===k)return this._o.onError(e.e);this._t+=e}else this._c++,this._t+=n},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){if(0===this._c)return this._o.onError(new B);this._o.onNext(this._t/this._c),this._o.onCompleted()},e}(ce);se.average=function(n,e){var t;return _(n)&&(t=W(n,e,3)),new jl(this,t)},se.sequenceEqual=function(n,e){var t=this;return e||(e=A),new Fo((function(l){var i=!1,o=!1,r=[],u=[],a=t.subscribe((function(n){if(u.length>0){var t=u.shift(),i=O(e)(t,n);if(i===k)return l.onError(i.e);i||(l.onNext(!1),l.onCompleted())}else o?(l.onNext(!1),l.onCompleted()):r.push(n)}),(function(n){l.onError(n)}),(function(){i=!0,0===r.length&&(u.length>0?(l.onNext(!1),l.onCompleted()):o&&(l.onNext(!0),l.onCompleted()))}));(G(n)||Y(n))&&(n=ze(n)),x(n)&&(n=Se(n));var s=n.subscribe((function(n){if(r.length>0){var t=r.shift(),o=O(e)(t,n);if(o===k)return l.onError(o.e);o||(l.onNext(!1),l.onCompleted())}else i?(l.onNext(!1),l.onCompleted()):u.push(n)}),(function(n){l.onError(n)}),(function(){o=!0,0===u.length&&(r.length>0?(l.onNext(!1),l.onCompleted()):i&&(l.onNext(!0),l.onCompleted()))}));return new En(a,s)}),t)};var Ul=function(n){function e(e,t,l){this.source=e,this._i=t,this._d=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new zl(n,this._i,this._d))},e}(me),zl=function(n){function e(e,t,l){this._o=e,this._i=t,this._d=l,n.call(this)}return fn(e,n),e.prototype.next=function(n){0==this._i--&&(this._o.onNext(n),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._d===i?this._o.onError(new j):(this._o.onNext(this._d),this._o.onCompleted())},e}(ce);se.elementAt=function(n,e){if(n<0)throw new j;return new Ul(this,n,e)};var Hl=function(n){function e(e,t,l){this._o=e,this._obj=t,this._s=l,this._i=0,this._hv=!1,this._v=null,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=!1;if(this._obj.predicate){var t=O(this._obj.predicate)(n,this._i++,this._s);if(t===k)return this._o.onError(t.e);Boolean(t)&&(e=!0)}else this._obj.predicate||(e=!0);if(e){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0,this._v=n}},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===i?this._o.onError(new B):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(ce);se.single=function(n,e){var t={},l=this;if(t="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},_(t.predicate)){var i=t.predicate;t.predicate=W(i,t.thisArg,3)}return new Fo((function(n){return l.subscribe(new Hl(n,t,l))}),l)};var ql=function(n){function e(e,t){this.source=e,this._obj=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Yl(n,this._obj,this.source))},e}(me),Yl=function(n){function e(e,t,l){this._o=e,this._obj=t,this._s=l,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(this._obj.predicate){var e=O(this._obj.predicate)(n,this._i++,this._s);if(e===k)return this._o.onError(e.e);Boolean(e)&&(this._o.onNext(n),this._o.onCompleted())}else this._obj.predicate||(this._o.onNext(n),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._obj.defaultValue===i?this._o.onError(new B):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(ce);se.first=function(){var n={};if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},_(n.predicate)){var e=n.predicate;n.predicate=W(e,n.thisArg,3)}return new ql(this,n)};var Gl=function(n){function e(e,t){this.source=e,this._obj=t,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Wl(n,this._obj,this.source))},e}(me),Wl=function(n){function e(e,t,l){this._o=e,this._obj=t,this._s=l,this._i=0,this._hv=!1,this._v=null,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=!1;if(this._obj.predicate){var t=O(this._obj.predicate)(n,this._i++,this._s);if(t===k)return this._o.onError(t.e);Boolean(t)&&(e=!0)}else this._obj.predicate||(e=!0);e&&(this._hv=!0,this._v=n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===i?this._o.onError(new B):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(ce);se.last=function(){var n={};if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},_(n.predicate)){var e=n.predicate;n.predicate=W(e,n.thisArg,3)}return new Gl(this,n)};var Ql=function(n){function e(e,t,l,i){this._o=e,this._s=t,this._cb=l,this._y=i,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=O(this._cb)(n,this._i,this._s);if(e===k)return this._o.onError(e.e);e?(this._o.onNext(this._y?this._i:n),this._o.onCompleted()):this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._y&&this._o.onNext(-1),this._o.onCompleted()},e}(ce);function Kl(n,e,t,l){var i=W(e,t,3);return new Fo((function(e){return n.subscribe(new Ql(e,n,i,l))}),n)}se.find=function(n,e){return Kl(this,n,e,!1)},se.findIndex=function(n,e){return Kl(this,n,e,!0)};var Xl=function(n){function e(e){this.source=e,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Jl(n))},e}(me),Jl=function(n){function e(e){this._o=e,this._s=new f.Set,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._s.add(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},e}(ce);se.toSet=function(){if(void 0===f.Set)throw new TypeError;return new Xl(this)};var $l=function(n){function e(e,t,l){this.source=e,this._k=t,this._e=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Zl(n,this._k,this._e))},e}(me),Zl=function(n){function e(e,t,l){this._o=e,this._k=t,this._e=l,this._m=new f.Map,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=O(this._k)(n);if(e===k)return this._o.onError(e.e);var t=n;if(this._e&&(t=O(this._e)(n))===k)return this._o.onError(t.e);this._m.set(e,t)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},e}(ce);se.toMap=function(n,e){if(void 0===f.Map)throw new TypeError;return new $l(this,n,e)};var ni=function(n){function e(e,t,l){this.source=e,this._b=t,this._e=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new ei(n,this._b,this._e))},e}(me),ei=function(n){function e(e,t,l){this._o=e,this._b=t,this._e=l,this._i=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(n)),this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.slice=function(n,e){var t=n||0;if(t<0)throw new m.ArgumentOutOfRangeError;if("number"==typeof e&&e=this._n&&n===this._e&&(this._hv=!0,this._v=this._i),this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv?this._o.onNext(this._v):this._o.onNext(-1),this._o.onCompleted()},e}(ce);se.lastIndexOf=function(n,e){var t=+e||0;return Math.abs(t)===1/0&&(t=0),new ti(this,n,t)},fe.wrap=function(n){function e(){return fe.spawn.call(this,n.apply(this,arguments))}return e.__generatorFunction__=n,e};var ii=fe.spawn=function(){for(var n=arguments[0],e=this,t=[],l=1,i=arguments.length;l2){for(var l=[],i=1,o=arguments.length;i0;)n.onNext(r.shift())}return(t=this.source,l=this.pauser.startWith(!this.paused).distinctUntilChanged(),o=function(n,e){return{data:n,shouldFire:e}},new Fo((function(n){var e,i=[!1,!1],r=!1,u=!1,a=new Array(2);function s(t,l){if(a[l]=t,i[l]=!0,r||(r=i.every(v))){if(e)return n.onError(e);var s=O(o).apply(null,a);if(s===k)return n.onError(s.e);n.onNext(s)}u&&a[1]&&n.onCompleted()}return new En(t.subscribe((function(n){s(n,0)}),(function(t){a[1]?n.onError(t):e=t}),(function(){u=!0,a[1]&&n.onCompleted()})),l.subscribe((function(n){s(n,1)}),(function(e){n.onError(e)}),(function(){u=!0,s(!0,1)})))}),t)).subscribe((function(t){e!==i&&t.shouldFire!==e?(e=t.shouldFire,t.shouldFire&&u()):(e=t.shouldFire,t.shouldFire?n.onNext(t.data):r.push(t.data))}),(function(e){u(),n.onError(e)}),(function(){u(),n.onCompleted()}))},e.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},e.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},e}(fe);se.pausableBuffered=function(n){return new yi(this,n)};var Ai=function(n){function e(e,t,l){n.call(this),this.subject=new Ci(t,l),this.source=e.multicast(this.subject).refCount()}return fn(e,n),e.prototype._subscribe=function(n){return this.source.subscribe(n)},e.prototype.request=function(n){return this.subject.request(null==n?-1:n)},e}(fe),Ci=function(n){function e(e,t){null==e&&(e=!0),n.call(this),this.subject=new zo,this.enableQueue=e,this.queue=e?[]:null,this.requestedCount=0,this.requestedDisposable=null,this.error=null,this.hasFailed=!1,this.hasCompleted=!1,this.scheduler=t||Wn}return fn(e,n),mn(e.prototype,ue,{_subscribe:function(n){return this.subject.subscribe(n)},onCompleted:function(){this.hasCompleted=!0,this.enableQueue&&0!==this.queue.length?this.queue.push(ne.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(n){this.hasFailed=!0,this.error=n,this.enableQueue&&0!==this.queue.length?this.queue.push(ne.createOnError(n)):(this.subject.onError(n),this.disposeCurrentRequest())},onNext:function(n){this.requestedCount<=0?this.enableQueue&&this.queue.push(ne.createOnNext(n)):(0==this.requestedCount--&&this.disposeCurrentRequest(),this.subject.onNext(n))},_processRequest:function(n){if(this.enableQueue)for(;this.queue.length>0&&(n>0||"N"!==this.queue[0].kind);){var e=this.queue.shift();e.accept(this.subject),"N"===e.kind?n--:(this.disposeCurrentRequest(),this.queue=[])}return n},request:function(n){this.disposeCurrentRequest();var e=this;return this.requestedDisposable=this.scheduler.schedule(n,(function(n,t){var l=e._processRequest(t);if(!(e.hasCompleted||e.hasFailed)&&l>0)return e.requestedCount=l,Pn((function(){e.requestedCount=0}))})),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),e}(fe);se.controlled=function(n,e){return n&&Vn(n)&&(e=n,n=!0),null==n&&(n=!0),new Ai(this,n,e)};var wi=function(n){function e(e){n.call(this),this.source=e}function t(n,e){return e.source.request(1)}fn(e,n),e.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new l(n,this,this.subscription)),new En(this.subscription,$n.schedule(this,t))};var l=function(n){function e(e,t,l){n.call(this),this.observer=e,this.observable=t,this.cancel=l,this.scheduleDisposable=null}function t(n,e){return e.observable.source.request(1)}return fn(e,n),e.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},e.prototype.error=function(n){this.observer.onError(n),this.dispose()},e.prototype.next=function(n){this.observer.onNext(n),this.scheduleDisposable=$n.schedule(this,t)},e.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),n.prototype.dispose.call(this)},e}(ce);return e}(fe);Ai.prototype.stopAndWait=function(){return new wi(this)};var xi=function(n){function e(e,t){n.call(this),this.source=e,this.windowSize=t}function t(n,e){return e.source.request(e.windowSize)}fn(e,n),e.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new l(n,this,this.subscription)),new En(this.subscription,$n.schedule(this,t))};var l=function(n){function e(e,t,l){this.observer=e,this.observable=t,this.cancel=l,this.received=0,this.scheduleDisposable=null,n.call(this)}function t(n,e){return e.observable.source.request(e.observable.windowSize)}return fn(e,n),e.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},e.prototype.error=function(n){this.observer.onError(n),this.dispose()},e.prototype.next=function(n){this.observer.onNext(n),this.received=++this.received%this.observable.windowSize,0===this.received&&(this.scheduleDisposable=$n.schedule(this,t))},e.prototype.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),n.prototype.dispose.call(this)},e}(ce);return e}(fe);Ai.prototype.windowed=function(n){return new xi(this,n)},se.pipe=function(n){var e=this.pausableBuffered();function t(){e.resume()}return n.addListener("drain",t),e.subscribe((function(t){!n.write(t)&&e.pause()}),(function(e){n.emit("error",e)}),(function(){!n._isStdio&&n.end(),n.removeListener("drain",t)})),e.resume(),n};var _i=function(n){function e(e,t,l){this.source=e,this._fn1=t,this._fn2=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){var e=this.source.multicast(this._fn1());return new En(this._fn2(e).subscribe(n),e.connect())},e}(me);se.multicast=function(n,e){return _(n)?new _i(this,n,e):new Oi(this,n)},se.publish=function(n){return n&&_(n)?this.multicast((function(){return new zo}),n):this.multicast(new zo)},se.share=function(){return this.publish().refCount()},se.publishLast=function(n){return n&&_(n)?this.multicast((function(){return new Ho}),n):this.multicast(new Ho)},se.publishValue=function(n,e){return 2===arguments.length?this.multicast((function(){return new qo(e)}),n):this.multicast(new qo(n))},se.shareValue=function(n){return this.publishValue(n).refCount()},se.replay=function(n,e,t,l){return n&&_(n)?this.multicast((function(){return new Yo(e,t,l)}),n):this.multicast(new Yo(e,t,l))},se.shareReplay=function(n,e,t){return this.replay(null,n,e,t).refCount()};var Pi=function(n,e){this._s=n,this._o=e};Pi.prototype.dispose=function(){if(!this._s.isDisposed&&null!==this._o){var n=this._s.observers.indexOf(this._o);this._s.observers.splice(n,1),this._o=null}};var ki=function(n){function e(e){this.source=e,this._count=0,this._connectableSubscription=null,n.call(this)}function t(n,e){this._p=n,this._s=e,this.isDisposed=!1}return fn(e,n),e.prototype.subscribeCore=function(n){var e=this.source.subscribe(n);return 1==++this._count&&(this._connectableSubscription=this.source.connect()),new t(this,e)},t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),0==--this._p._count&&this._p._connectableSubscription.dispose())},e}(me),Oi=m.ConnectableObservable=function(n){function e(e,t){this.source=e,this._connection=null,this._source=e.asObservable(),this._subject=t,n.call(this)}function t(n,e){this._p=n,this._s=e}return fn(e,n),t.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},e.prototype.connect=function(){if(!this._connection){if(this._subject.isStopped)return kn;var n=this._source.subscribe(this._subject);this._connection=new t(this,n)}return this._connection},e.prototype._subscribe=function(n){return this._subject.subscribe(n)},e.prototype.refCount=function(){return new ki(this)},e}(fe);function Vt(n){return n.toArray()}function Mi(n,e){return n.groupJoin(this,e,Le,(function(n,e){return e}))}function Si(n){var e=this;return new Fo((function(t){var l=new zo,i=new wn,o=new Rn(i);return t.onNext(bn(l,o)),i.add(e.subscribe((function(n){l.onNext(n)}),(function(n){l.onError(n),t.onError(n)}),(function(){l.onCompleted(),t.onCompleted()}))),x(n)&&(n=Se(n)),i.add(n.subscribe((function(n){l.onCompleted(),l=new zo,t.onNext(bn(l,o))}),(function(n){l.onError(n),t.onError(n)}),(function(){l.onCompleted(),t.onCompleted()}))),o}),e)}function Ii(n){var e=this;return new Fo((function(t){var l=new Tn,i=new wn(l),o=new Rn(i),r=new zo;return t.onNext(bn(r,o)),i.add(e.subscribe((function(n){r.onNext(n)}),(function(n){r.onError(n),t.onError(n)}),(function(){r.onCompleted(),t.onCompleted()}))),function e(){var i;try{i=n()}catch(a){return void t.onError(a)}x(i)&&(i=Se(i));var u=new In;l.setDisposable(u),u.setDisposable(i.take(1).subscribe(b,(function(n){r.onError(n),t.onError(n)}),(function(){r.onCompleted(),r=new zo,t.onNext(bn(r,o)),e()})))}(),o}),e)}se.singleInstance=function(){var n,e=this,t=!1;return new Fo((function(l){return(t||(t=!0,n=e.finally((function(){t=!1})).publish().refCount()),n).subscribe(l)}))},se.join=function(n,e,t,l){var i=this;return new Fo((function(o){var r=new wn,u=!1,a=!1,s=0,c=0,d=new Vi,p=new Vi,h=function(n){o.onError(n)};return r.add(i.subscribe((function(n){var t=s++,i=new In;d.set(t,n),r.add(i);var a=O(e)(n);if(a===k)return o.onError(a.e);i.setDisposable(a.take(1).subscribe(b,h,(function(){d.delete(t)&&0===d.size&&u&&o.onCompleted(),r.remove(i)}))),p.forEach((function(e){var t=O(l)(n,e);if(t===k)return o.onError(t.e);o.onNext(t)}))}),h,(function(){u=!0,(a||0===d.size)&&o.onCompleted()}))),r.add(n.subscribe((function(n){var e=c++,i=new In;p.set(e,n),r.add(i);var u=O(t)(n);if(u===k)return o.onError(u.e);i.setDisposable(u.take(1).subscribe(b,h,(function(){p.delete(e)&&0===p.size&&a&&o.onCompleted(),r.remove(i)}))),d.forEach((function(e){var t=O(l)(e,n);if(t===k)return o.onError(t.e);o.onNext(t)}))}),h,(function(){a=!0,(u||0===p.size)&&o.onCompleted()}))),r}),i)},se.groupJoin=function(n,e,t,l){var i=this;return new Fo((function(o){var r=new wn,u=new Rn(r),a=new Vi,s=new Vi,c=0,d=0,p=function(n){return function(e){e.onError(n)}};function p(n){}return r.add(i.subscribe((function(n){var t=new zo,i=c++;a.set(i,t);var d=O(l)(n,bn(t,u));if(d===k)return a.forEach(p(d.e)),o.onError(d.e);o.onNext(d),s.forEach((function(n){t.onNext(n)}));var h=new In;r.add(h);var g=O(e)(n);if(g===k)return a.forEach(p(g.e)),o.onError(g.e);h.setDisposable(g.take(1).subscribe(b,(function(n){a.forEach(p(n)),o.onError(n)}),(function(){a.delete(i)&&t.onCompleted(),r.remove(h)})))}),(function(n){a.forEach(p(n)),o.onError(n)}),(function(){o.onCompleted()}))),r.add(n.subscribe((function(n){var e=d++;s.set(e,n);var l=new In;r.add(l);var i=O(t)(n);if(i===k)return a.forEach(p(i.e)),o.onError(i.e);l.setDisposable(i.take(1).subscribe(b,(function(n){a.forEach(p(n)),o.onError(n)}),(function(){s.delete(e),r.remove(l)}))),a.forEach((function(e){e.onNext(n)}))}),(function(n){a.forEach(p(n)),o.onError(n)}))),u}),i)},se.buffer=function(){return this.window.apply(this,arguments).flatMap(Vt)},se.window=function(n,e){return 1===arguments.length&&"function"!=typeof arguments[0]?Si.call(this,n):"function"==typeof n?Ii.call(this,n):Mi.call(this,n,e)};var Ti=function(n){function e(e){this.source=e,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Ei(n))},e}(me),Ei=function(n){function e(e){this._o=e,this._p=null,this._hp=!1,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._hp?this._o.onNext([this._p,n]):this._hp=!0,this._p=n},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.pairwise=function(){return new Ti(this)},se.partition=function(n,e){var t=W(n,e,3);return[this.filter(n,e),this.filter((function(n,e,l){return!t(n,e,l)}))]};var Di=function(n){function e(n,e){this.c=n,this.s=e}return fn(e,n),e.prototype[H]=function(){var n=this;return{next:function(){return n.c()?{done:!1,value:n.s}:{done:!0,value:void 0}}}},e}(ve);se.letBind=se.let=function(n){return n(this)},fe.if=function(n,e,t){return Ee((function(){return t||(t=Le()),x(e)&&(e=Se(e)),x(t)&&(t=Se(t)),"function"==typeof t.now&&(t=Le(t)),n()?e:t}))},fe.for=fe.forIn=function(n,e,t){return Pe(n,e,t).concat()};var Ri=fe.while=fe.whileDo=function(n,e){return x(e)&&(e=Se(e)),function(n,e){return new Di(n,e)}(n,e).concat()};se.doWhile=function(n){return gt([this,Ri(n,this)])},fe.case=function(n,e,t){return Ee((function(){x(t)&&(t=Se(t)),t||(t=Le()),Vn(t)&&(t=Le(t));var l=e[n()];return x(l)&&(l=Se(l)),l||t}))};var Li=function(n){function e(e,t,l){this.source=e,this._fn=t,this._scheduler=l,n.call(this)}function t(n,e){var t,l=n[0],i=n[1];if(l.q.length>0){t=l.q.shift();var o=new In;l.d.add(o),o.setDisposable(t.subscribe(new Ni(l,i,o))),e([l,i])}else l.isAcquired=!1}return fn(e,n),e.prototype._ensureActive=function(n){var e=!1;n.q.length>0&&(e=!n.isAcquired,n.isAcquired=!0),e&&n.m.setDisposable(this._scheduler.scheduleRecursive([n,this],t))},e.prototype.subscribeCore=function(n){var e=new Tn,t=new wn(e),l={q:[],m:e,d:t,activeCount:0,isAcquired:!1,o:n};return l.q.push(this.source),l.activeCount++,this._ensureActive(l),t},e}(me),Ni=function(n){function e(e,t,l){this._s=e,this._p=t,this._m1=l,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._s.o.onNext(n);var e=O(this._p._fn)(n);if(e===k)return this._s.o.onError(e.e);this._s.q.push(e),this._s.activeCount++,this._p._ensureActive(this._s)},e.prototype.error=function(n){this._s.o.onError(n)},e.prototype.completed=function(){this._s.d.remove(this._m1),this._s.activeCount--,0===this._s.activeCount&&this._s.o.onCompleted()},e}(ce);function at(){for(var n=arguments.length,e=new Array(n),t=0;t0){var r=t.now();(i=new Date(i.getTime()+o)).getTime()<=r&&(i=new Date(r+o))}l.onNext(n),e(n+1,new Date(i))}))}))}function Qi(n,e,t){return n===e?new Fo((function(n){return t.schedulePeriodic(0,e,(function(e){return n.onNext(e),e+1}))})):Ee((function(){return Wi(new Date(t.now()+n),e,t)}))}var Ki=fe.interval=function(n,e){return Qi(n,n,Vn(e)?e:$n)};fe.timer=function(n,e,t){var l;return Vn(t)||(t=$n),null!=e&&"number"==typeof e?l=e:Vn(e)&&(t=e),(n instanceof Date||"number"==typeof n)&&l===i?function(n,e){return new Gi(n,e)}(n,t):n instanceof Date&&l!==i?Wi(n,e,t):Qi(n,l,t)};function Xi(n,e,t){return new Fo((function(l){var i,o=!1,r=new Tn,u=null,a=[],s=!1;return i=n.materialize().timestamp(t).subscribe((function(n){var i,c;"E"===n.value.kind?((a=[]).push(n),u=n.value.error,c=!s):(a.push({value:n.value,timestamp:n.timestamp+e}),c=!o,o=!0),c&&(null!==u?l.onError(u):(i=new In,r.setDisposable(i),i.setDisposable(t.scheduleRecursiveFuture(null,e,(function(n,e){var i,r,c,d;if(null===u){s=!0;do{c=null,a.length>0&&a[0].timestamp-t.now()<=0&&(c=a.shift().value),null!==c&&c.accept(l)}while(null!==c);d=!1,r=0,a.length>0?(d=!0,r=Math.max(0,a[0].timestamp-t.now())):o=!1,s=!1,null!==(i=u)?l.onError(i):d&&e(null,r)}})))))})),new En(i,r)}),n)}function Ji(n,e,t){return Ee((function(){return Xi(n,e-t.now(),t)}))}function $i(n,e,t){var l,i;return _(e)?i=e:(l=e,i=t),new Fo((function(e){var t=new wn,o=!1,r=new Tn;function u(){r.setDisposable(n.subscribe((function(n){var l=O(i)(n);if(l===k)return e.onError(l.e);var o=new In;t.add(o),o.setDisposable(l.subscribe((function(){e.onNext(n),t.remove(o),a()}),(function(n){e.onError(n)}),(function(){e.onNext(n),t.remove(o),a()})))}),(function(n){e.onError(n)}),(function(){o=!0,r.dispose(),a()})))}function a(){o&&0===t.length&&e.onCompleted()}return l?r.setDisposable(l.subscribe(u,(function(n){e.onError(n)}),u)):u(),new En(r,t)}),n)}se.delay=function(){var n=arguments[0];if("number"==typeof n||n instanceof Date){var e=n,t=arguments[1];return Vn(t)||(t=$n),e instanceof Date?Ji(this,e,t):Xi(this,e,t)}if(fe.isObservable(n)||_(n))return $i(this,n,arguments[1]);throw new Error("Invalid arguments")};var Zi=function(n){function e(e,t,l){Vn(l)||(l=$n),this.source=e,this._dt=t,this._s=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){var e=new Tn;return new En(this.source.subscribe(new no(n,this._dt,this._s,e)),e)},e}(me),no=function(n){function e(e,t,l,i){this._o=e,this._d=t,this._scheduler=l,this._c=i,this._v=null,this._hv=!1,this._id=0,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._hv=!0,this._v=n;var e=++this._id,t=new In;this._c.setDisposable(t),t.setDisposable(this._scheduler.scheduleFuture(this,this._d,(function(t,l){l._hv&&l._id===e&&l._o.onNext(n),l._hv=!1})))},e.prototype.error=function(n){this._c.dispose(),this._o.onError(n),this._hv=!1,this._id++},e.prototype.completed=function(){this._c.dispose(),this._hv&&this._o.onNext(this._v),this._o.onCompleted(),this._hv=!1,this._id++},e}(ce);function eo(n,e){return new Fo((function(t){var l,i=!1,o=new Tn,r=0,u=n.subscribe((function(n){var u=O(e)(n);if(u===k)return t.onError(u.e);x(u)&&(u=Se(u)),i=!0,l=n;var a=++r,s=new In;o.setDisposable(s),s.setDisposable(u.subscribe((function(){i&&r===a&&t.onNext(l),i=!1,s.dispose()}),(function(n){t.onError(n)}),(function(){i&&r===a&&t.onNext(l),i=!1,s.dispose()})))}),(function(n){o.dispose(),t.onError(n),i=!1,r++}),(function(){o.dispose(),i&&t.onNext(l),t.onCompleted(),i=!1,r++}));return new En(u,o)}),n)}function Vt(n){return n.toArray()}function Vt(n){return n.toArray()}se.debounce=function(){if(_(arguments[0]))return eo(this,arguments[0]);if("number"==typeof arguments[0])return new Zi(this,arguments[0],arguments[1]);throw new Error("Invalid arguments")},se.windowWithTime=se.windowTime=function(n,e,t){var l,i=this;return null==e&&(l=n),Vn(t)||(t=$n),"number"==typeof e?l=e:Vn(e)&&(l=n,t=e),new Fo((function(e){var o,r,u=l,a=n,s=[],c=new Tn,d=0;return o=new wn(c),r=new Rn(o),s.push(new zo),e.onNext(bn(s[0],r)),function n(){var i=new In,o=!1,p=!1;c.setDisposable(i),a===u?(o=!0,p=!0):a0&&e-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){for(var n=this._s.now();this._q.length>0&&n-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},e}(ce);se.skipLastWithTime=function(n,e){return Vn(e)||(e=$n),new mo(this,n,e)};var vo=function(n){function e(e,t,l){this.source=e,this._d=t,this._s=l,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new yo(n,this._d,this._s))},e}(me),yo=function(n){function e(e,t,l){this._o=e,this._d=t,this._s=l,this._q=[],n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=this._s.now();for(this._q.push({interval:e,value:n});this._q.length>0&&e-this._q[0].interval>=this._d;)this._q.shift()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){for(var n=this._s.now();this._q.length>0;){var e=this._q.shift();n-e.interval<=this._d&&this._o.onNext(e.value)}this._o.onCompleted()},e}(ce);se.takeLastWithTime=function(n,e){return Vn(e)||(e=$n),new vo(this,n,e)},se.takeLastBufferWithTime=function(n,e){var t=this;return Vn(e)||(e=$n),new Fo((function(l){var i=[];return t.subscribe((function(t){var l=e.now();for(i.push({interval:l,value:t});i.length>0&&l-i[0].interval>=n;)i.shift()}),(function(n){l.onError(n)}),(function(){for(var t=e.now(),o=[];i.length>0;){var r=i.shift();t-r.interval<=n&&o.push(r.value)}l.onNext(o),l.onCompleted()}))}),t)};var Ao=function(n){function e(e,t,l){this.source=e,this._d=t,this._s=l,n.call(this)}function t(n,e){e.onCompleted()}return fn(e,n),e.prototype.subscribeCore=function(n){return new En(this._s.scheduleFuture(n,this._d,t),this.source.subscribe(n))},e}(me);se.takeWithTime=function(n,e){return Vn(e)||(e=$n),new Ao(this,n,e)};var Co=function(n){function e(e,t,l){this.source=e,this._d=t,this._s=l,this._open=!1,n.call(this)}function t(n,e){e._open=!0}return fn(e,n),e.prototype.subscribeCore=function(n){return new En(this._s.scheduleFuture(this,this._d,t),this.source.subscribe(new wo(n,this)))},e}(me),wo=function(n){function e(e,t){this._o=e,this._p=t,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._p._open&&this._o.onNext(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.skipWithTime=function(n,e){return Vn(e)||(e=$n),new Co(this,n,e)};var xo=function(n){function e(e,t,l){this.source=e,this._st=t,this._s=l,n.call(this)}function t(n,e){e._open=!0}return fn(e,n),e.prototype.subscribeCore=function(n){return this._open=!1,new En(this._s.scheduleFuture(this,this._st,t),this.source.subscribe(new _o(n,this)))},e}(me),_o=function(n){function e(e,t){this._o=e,this._p=t,n.call(this)}return fn(e,n),e.prototype.next=function(n){this._p._open&&this._o.onNext(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.skipUntilWithTime=function(n,e){return Vn(e)||(e=$n),new xo(this,n,e)},se.takeUntilWithTime=function(n,e){Vn(e)||(e=$n);var t=this;return new Fo((function(l){return new En(e.scheduleFuture(l,n,(function(n,e){e.onCompleted()})),t.subscribe(l))}),t)},se.throttle=function(n,e){Vn(e)||(e=$n);var t=+n||0;if(t<=0)throw new RangeError("windowDuration cannot be less or equal zero.");var l=this;return new Fo((function(n){var i=0;return l.subscribe((function(l){var o=e.now();(0===i||o-i>=t)&&(i=o,n.onNext(l))}),(function(e){n.onError(e)}),(function(){n.onCompleted()}))}),l)};var Po=function(n){function e(e,t){this._o=e,this._xform=t,n.call(this)}return fn(e,n),e.prototype.next=function(n){var e=O(this._xform["@@transducer/step"]).call(this._xform,this._o,n);e===k&&this._o.onError(e.e)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},e}(ce);se.transduce=function(n){var e=this;return new Fo((function(t){var l=n(function(n){return{"@@transducer/init":function(){return n},"@@transducer/step":function(n,e){return n.onNext(e)},"@@transducer/result":function(n){return n.onCompleted()}}}(t));return e.subscribe(new Po(t,l))}),e)};var ko=function(n){function e(e){this.source=e,n.call(this)}return fn(e,n),e.prototype.subscribeCore=function(n){var e=new In,t=new wn,l={hasCurrent:!1,isStopped:!1,o:n,g:t};return t.add(e),e.setDisposable(this.source.subscribe(new Oo(l))),t},e}(me),Oo=function(n){function e(e){this._s=e,n.call(this)}function t(e,t){this._s=e,this._i=t,n.call(this)}return fn(e,n),e.prototype.next=function(n){if(!this._s.hasCurrent){this._s.hasCurrent=!0,x(n)&&(n=Se(n));var e=new In;this._s.g.add(e),e.setDisposable(n.subscribe(new t(this._s,e)))}},e.prototype.error=function(n){this._s.o.onError(n)},e.prototype.completed=function(){this._s.isStopped=!0,!this._s.hasCurrent&&1===this._s.g.length&&this._s.o.onCompleted()},fn(t,n),t.prototype.next=function(n){this._s.o.onNext(n)},t.prototype.error=function(n){this._s.o.onError(n)},t.prototype.completed=function(){this._s.g.remove(this._i),this._s.hasCurrent=!1,this._s.isStopped&&1===this._s.g.length&&this._s.o.onCompleted()},e}(ce);se.switchFirst=function(){return new ko(this)},se.flatMapFirst=se.exhaustMap=function(n,e,t){return new be(this,n,e,t).switchFirst()},se.flatMapWithMaxConcurrent=se.flatMapMaxConcurrent=function(n,e,t,l){return new be(this,e,t,l).merge(n)};var Mo=m.VirtualTimeScheduler=function(n){function e(e,t){this.clock=e,this.comparer=t,this.isEnabled=!1,this.queue=new An(1024),n.call(this)}fn(e,n);var t=e.prototype;return t.now=function(){return this.toAbsoluteTime(this.clock)},t.schedule=function(n,e){return this.scheduleAbsolute(n,this.clock,e)},t.scheduleFuture=function(n,e,t){var l=e instanceof Date?this.toRelativeTime(e-this.now()):this.toRelativeTime(e);return this.scheduleRelative(n,l,t)},t.add=z,t.toAbsoluteTime=z,t.toRelativeTime=z,t.schedulePeriodic=function(n,e,t){return new Hn(this,n,e,t).start()},t.scheduleRelative=function(n,e,t){var l=this.add(this.clock,e);return this.scheduleAbsolute(n,l,t)},t.start=function(){if(!this.isEnabled){this.isEnabled=!0;do{var n=this.getNext();null!==n?(this.comparer(n.dueTime,this.clock)>0&&(this.clock=n.dueTime),n.invoke()):this.isEnabled=!1}while(this.isEnabled)}},t.stop=function(){this.isEnabled=!1},t.advanceTo=function(n){var e=this.comparer(this.clock,n);if(this.comparer(this.clock,n)>0)throw new j;if(0!==e&&!this.isEnabled){this.isEnabled=!0;do{var t=this.getNext();null!==t&&this.comparer(t.dueTime,n)<=0?(this.comparer(t.dueTime,this.clock)>0&&(this.clock=t.dueTime),t.invoke()):this.isEnabled=!1}while(this.isEnabled);this.clock=n}},t.advanceBy=function(n){var e=this.add(this.clock,n),t=this.comparer(this.clock,e);if(t>0)throw new j;0!==t&&this.advanceTo(e)},t.sleep=function(n){var e=this.add(this.clock,n);if(this.comparer(this.clock,e)>=0)throw new j;this.clock=e},t.getNext=function(){for(;this.queue.length>0;){var n=this.queue.peek();if(!n.isCancelled())return n;this.queue.dequeue()}return null},t.scheduleAbsolute=function(n,e,t){var l=this;var i=new Bn(this,n,(function(n,e){return l.queue.remove(i),t(n,e)}),e,this.comparer);return this.queue.enqueue(i),i.disposable},e}(Fn);function So(n){this.predicate=n}function Io(n){this.predicate=n}m.HistoricalScheduler=function(n){function e(e,t){var l=null==e?0:e,i=t||C;n.call(this,l,i)}fn(e,n);var t=e.prototype;return t.add=function(n,e){return n+e},t.toAbsoluteTime=function(n){return new Date(n).getTime()},t.toRelativeTime=function(n){return n},e}(m.VirtualTimeScheduler),So.prototype.equals=function(n){return n===this||null!=n&&("N"===n.kind&&this.predicate(n.value))},Io.prototype.equals=function(n){return n===this||null!=n&&("E"===n.kind&&this.predicate(n.error))};var To=m.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(n,e){return new Eo(n,"function"==typeof e?new So(e):ne.createOnNext(e))},onError:function(n,e){return new Eo(n,"function"==typeof e?new Io(e):ne.createOnError(e))},onCompleted:function(n){return new Eo(n,ne.createOnCompleted())},subscribe:function(n,e){return new Do(n,e)}},Eo=m.Recorded=function(n,e,t){this.time=n,this.value=e,this.comparer=t||A};Eo.prototype.equals=function(n){return this.time===n.time&&this.comparer(this.value,n.value)},Eo.prototype.toString=function(){return this.value.toString()+"@"+this.time};var Do=m.Subscription=function(n,e){this.subscribe=n,this.unsubscribe=e||Number.MAX_VALUE};Do.prototype.equals=function(n){return this.subscribe===n.subscribe&&this.unsubscribe===n.unsubscribe},Do.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"},(m.MockDisposable=function(n){this.scheduler=n,this.disposes=[],this.disposes.push(this.scheduler.clock)}).prototype.dispose=function(){this.disposes.push(this.scheduler.clock)};var Ro=function(n){function e(e){n.call(this),this.scheduler=e,this.messages=[]}fn(e,n);var t=e.prototype;return t.onNext=function(n){this.messages.push(new Eo(this.scheduler.clock,ne.createOnNext(n)))},t.onError=function(n){this.messages.push(new Eo(this.scheduler.clock,ne.createOnError(n)))},t.onCompleted=function(){this.messages.push(new Eo(this.scheduler.clock,ne.createOnCompleted()))},e}(ue);function Lo(n,e){var t=this;this.scheduler=n,this.messages=e,this.subscriptions=[],this.observers=[];for(var l=0,i=this.messages.length;le?1:n0},onCompleted:function(){if(Mn(this),!this.isStopped){this.isStopped=!0;for(var n=0,e=P(this.observers),t=e.length;n0},onCompleted:function(){var n;if(Mn(this),!this.isStopped){this.isStopped=!0;var e=P(this.observers),t=e.length;if(this.hasValue)for(n=0;n0},onCompleted:function(){if(Mn(this),!this.isStopped){this.isStopped=!0;for(var n=0,e=P(this.observers),t=e.length;n0},_trim:function(n){for(;this.q.length>this.bufferSize;)this.q.shift();for(;this.q.length>0&&n-this.q[0].interval>this.windowSize;)this.q.shift()},onNext:function(n){if(Mn(this),!this.isStopped){var e=this.scheduler.now();this.q.push({interval:e,value:n}),this._trim(e);for(var t=0,l=P(this.observers),i=l.length;t\n
\n \n
\n '+(null==(e=n.form)?"":e)+"\n
\n
\n\n"}},"9FkI":function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{wieght:200,type:"select",datasrc:"values",key:"fields.day.type",label:"Type",data:{values:[{label:"Number",value:"number"},{label:"Select",value:"select"}]}},{weight:210,type:"textfield",input:!0,key:"fields.day.placeholder",label:"Placeholder",placeholder:"Day Placeholder",tooltip:"The placeholder text that will appear when Day field is empty."},{weight:215,type:"checkbox",label:"Hidden",tooltip:"Hide the Day part of the component.",key:"fields.day.hide",input:!0},{weight:214,type:"checkbox",label:"Day First",tooltip:"Display the Day field before the Month field.",key:"dayFirst",input:!0}]},"9JVa":function(n,e,t){"use strict";var l=t("wE6v"),i=TypeError;n.exports=function(n){var e=l(n,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}},"9N29":function(n,e,t){"use strict";var l=t("I+eb"),i=t("1Y/n").right,o=t("pkCn"),r=t("LQDL");l({target:"Array",proto:!0,forced:!t("YF1G")&&r>79&&r<83||!o("reduceRight")},{reduceRight:function(n){return i(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9Nap":function(n,e,t){var l=t("/9aa");n.exports=function(n){if("string"==typeof n||l(n))return n;var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},"9OqN":function(n,e,t){var l,i,o;n.exports=(o=t("Ib8C"),t("OLod"),o.mode.CTR=(l=o.lib.BlockCipherMode.extend(),i=l.Encryptor=l.extend({processBlock:function(n,e){var t=this._cipher,l=t.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var r=o.slice(0);t.encryptBlock(r,0),o[l-1]=o[l-1]+1|0;for(var u=0;u>>0}},"9n4b":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n ',n.label.hidden||(t+='\n
\n '+(null==(e=n.labelMarkup)?"":e)+"\n
\n "),t+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\n
\n \n
\n '),t+='\n\n
\n '+(null==(e=n.element)?"":e)+"\n
\n
\n\n",n.component.description&&(t+='\n
'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"
\n"),t+="\n"}},"9oFN":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("PNrC");e.default={form:l.default}},"9rRi":function(n,e,t){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(n){return n+(1===n?"d":n%10==2?"na":"mh")},week:{dow:1,doy:4}})}(t("wd/R"))},"9sl3":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
\n
\n \n ',n.header&&(t+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),t+='\n \n ',n.rows.forEach((function(l,i){t+='\n \n '+(null==(e=l)?"":e)+"\n ",n.openRows[i]&&!n.readOnly&&(t+='\n \n "),t+="\n ",n.errors[i]&&(t+='\n \n "),t+="\n \n "})),t+="\n \n ",n.footer&&(t+="\n \n \n "+(null==(e=n.footer)?"":e)+"\n \n \n "),t+="\n
\n
\n \n ",n.component.removeRow&&(t+='\n \n "),t+="\n
\n
\n
\n
\n '+(null==(e=n.errors[i])?"":e)+"\n
\n
\n
\n
\n
\n",!n.readOnly&&n.hasAddButton&&(t+='\n\n"),t+="\n"}},"A+qq":function(n,e,t){"use strict";t("eoL8"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("ENF9"),t("5DmW"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("zKZe"),t("ma9I"),t("QWBl"),t("07d7"),t("FZtP"),t("Rfxz"),t("J30X"),t("DQNa"),t("JfAA"),t("oVuX"),t("2B1R"),t("TWNs"),t("rB9j"),t("yXV3"),t("UxlC"),t("yq1k"),t("JTJg"),t("+2oP"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV");var l=d(t("0iw5")),i=t("1eKU"),o=function(n,e){if(!e&&n&&n.__esModule)return n;if(null===n||"object"!==p(n)&&"function"!=typeof n)return{default:n};var t=c(e);if(t&&t.has(n))return t.get(n);var l={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if("default"!==o&&Object.prototype.hasOwnProperty.call(n,o)){var r=i?Object.getOwnPropertyDescriptor(n,o):null;r&&(r.get||r.set)?Object.defineProperty(l,o,r):l[o]=n[o]}l.default=n,t&&t.set(n,l);return l}(t("5P0i")),r=d(t("XzT5")),u=d(t("LvDl")),a=d(t("wd/R")),s=d(t("uIYt"));function c(n){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(c=function(n){return n?t:e})(n)}function d(n){return n&&n.__esModule?n:{default:n}}function p(n){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n,e){for(var t=0;t3&&void 0!==arguments[3]&&arguments[3];if(this.events){var i="".concat(this.options.namespace,".").concat(n);return e.id=this.id,e.key=this.key,e.internal=t,this.events[l?"once":"on"](i,e)}}},{key:"once",value:function(n,e,t){return this.on(n,e,t,!0)}},{key:"onAny",value:function(n){if(this.events)return this.events.onAny(n)}},{key:"offAny",value:function(n){if(this.events)return this.events.offAny(n)}},{key:"off",value:function(n,e){var t=this;if(this.events){var l="".concat(this.options.namespace,".").concat(n);this.events.listeners(l).forEach((function(n){n&&n.id===t.id&&(e&&e!==n||t.events.off(l,n))}))}}},{key:"emit",value:function(n){if(this.events){for(var e,t=arguments.length,l=new Array(t>1?t-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:null,i=[];if(n)return this.eventHandlers.forEach((function(o,r){o.id!==t.id||!n.removeEventListener||o.type!==e||l&&o.func!==l||(n.removeEventListener(e,o.func),i.push(r))})),i.length&&u.default.pullAt(this.eventHandlers,i),this}},{key:"removeEventListeners",value:function(){var n=this;this.eventHandlers.forEach((function(e){n.id===e.id&&e.type&&e.obj&&e.obj.removeEventListener&&e.obj.removeEventListener(e.type,e.func)})),this.eventHandlers=[]}},{key:"removeAllEvents",value:function(n){var e=this;u.default.each(this.events._events,(function(t,l){u.default.each(t,(function(t){t&&e.id===t.id&&(n||t.internal)&&e.events.off(l,t)}))}))}},{key:"destroy",value:function(){this.removeEventListeners(),this.removeAllEvents()}},{key:"appendTo",value:function(n,e){return null==e||e.appendChild(n),this}},{key:"prependTo",value:function(n,e){if(e)if(e.firstChild)try{e.insertBefore(n,e.firstChild)}catch(t){console.warn(t),e.appendChild(n)}else e.appendChild(n);return this}},{key:"removeChildFrom",value:function(n,e){if(e&&e.contains(n))try{e.removeChild(n)}catch(t){console.warn(t)}return this}},{key:"ce",value:function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=document.createElement(n);return e&&this.attr(l,e),this.appendChild(l,t),l}},{key:"appendChild",value:function(n,e){var t=this;return Array.isArray(e)?e.forEach((function(e){return t.appendChild(n,e)})):e instanceof HTMLElement||e instanceof Text?n.appendChild(e):e&&n.appendChild(this.text(e.toString())),this}},{key:"maskPlaceholder",value:function(n){var e=this;return n.map((function(n){return n instanceof RegExp?e.placeholderChar:n})).join("")}},{key:"placeholderChar",get:function(){var n;return(null===(n=this.component)||void 0===n?void 0:n.inputMaskPlaceholderChar)||"_"}},{key:"setInputMask",value:function(n,e,t){if(n&&e){var l=o.getInputMask(e,this.placeholderChar);this.defaultMask=l;try{n.mask&&n.mask.destroy(),n.mask=(0,s.default)({inputElement:n,mask:l,placeholderChar:this.placeholderChar,shadowRoot:this.root?this.root.shadowRoot:null})}catch(i){console.warn(i)}l.numeric&&n.setAttribute("pattern","\\d*"),t&&n.setAttribute("placeholder",this.maskPlaceholder(l))}}},{key:"t",value:function(n){for(var e,t=arguments.length,l=new Array(t>1?t-1:0),i=1;i-1)}},{key:"addClass",value:function(n,e){if(!(n&&n instanceof HTMLElement))return this;var t=n.getAttribute("class");return null!=t&&t.includes(e)||n.setAttribute("class","".concat(t," ").concat(e)),this}},{key:"removeClass",value:function(n,e){if(!(n&&e&&n instanceof HTMLElement))return this;var t=n.getAttribute("class");return t&&(t=t.replace(new RegExp(" ".concat(e),"g"),""),n.setAttribute("class",t)),this}},{key:"empty",value:function(n){if(n)for(;n.firstChild;)n.removeChild(n.firstChild)}},{key:"evalContext",value:function(n){var e;return Object.assign({_:u.default,utils:o,util:o,user:i.GlobalFormio.getUser(),moment:a.default,instance:this,self:this,token:i.GlobalFormio.getToken({decode:!0}),config:this.root&&this.root.form&&this.root.form.config?this.root.form.config:null!==(e=this.options)&&void 0!==e&&e.formConfig?this.options.formConfig:{}},n,u.default.get(this.root,"options.evalContext",{}))}},{key:"interpolate",value:function(n,e){var t=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"function"==typeof n||!this.component.content&&!this.component.html||o.Evaluator.templateSettings.interpolate.test(n)||(n=o.translateHTMLTemplate(String(n),(function(n){return t.t(n)}))),o.interpolate(n,this.evalContext(e),l)}},{key:"evaluate",value:function(n,e,t,l){return o.evaluate(n,this.evalContext(e),t,l)}},{key:"hook",value:function(){var n=arguments[0];if(this.options&&this.options.hooks&&this.options.hooks[n])return this.options.hooks[n].apply(this,Array.prototype.slice.call(arguments,1));var e="function"==typeof arguments[arguments.length-1]?arguments[arguments.length-1]:null;return e?e(null,arguments[1]):arguments[1]}}])&&h(e.prototype,t),c&&h(e,c),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.default=g},"A+xa":function(n,e,t){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(n){return n+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(n)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(n)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(t("wd/R"))},A0fv:function(n,e,t){"use strict";t.r(e),t.d(e,"default",(function(){return y}));var l=/iPhone/i,i=/iPod/i,o=/iPad/i,r=/\biOS-universal(?:.+)Mac\b/i,u=/\bAndroid(?:.+)Mobile\b/i,a=/Android/i,s=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,c=/Silk/i,d=/Windows Phone/i,p=/\bWindows(?:.+)ARM\b/i,h=/BlackBerry/i,g=/BB10/i,f=/Opera Mini/i,m=/\b(CriOS|Chrome)(?:.+)Mobile/i,b=/Mobile(?:.+)Firefox\b/i,v=function(n){return void 0!==n&&"MacIntel"===n.platform&&"number"==typeof n.maxTouchPoints&&n.maxTouchPoints>1&&"undefined"==typeof MSStream};function y(n){var e={userAgent:"",platform:"",maxTouchPoints:0};n||"undefined"==typeof navigator?"string"==typeof n?e.userAgent=n:n&&n.userAgent&&(e={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0}):e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var t=e.userAgent,y=t.split("[FBAN");void 0!==y[1]&&(t=y[0]),void 0!==(y=t.split("Twitter"))[1]&&(t=y[0]);var A=function(n){return function(e){return e.test(n)}}(t),C={apple:{phone:A(l)&&!A(d),ipod:A(i),tablet:!A(l)&&(A(o)||v(e))&&!A(d),universal:A(r),device:(A(l)||A(i)||A(o)||A(r)||v(e))&&!A(d)},amazon:{phone:A(s),tablet:!A(s)&&A(c),device:A(s)||A(c)},android:{phone:!A(d)&&A(s)||!A(d)&&A(u),tablet:!A(d)&&!A(s)&&!A(u)&&(A(c)||A(a)),device:!A(d)&&(A(s)||A(c)||A(u)||A(a))||A(/\bokhttp\b/i)},windows:{phone:A(d),tablet:A(p),device:A(d)||A(p)},other:{blackberry:A(h),blackberry10:A(g),opera:A(f),firefox:A(b),chrome:A(m),device:A(h)||A(g)||A(f)||A(b)||A(m)},any:!1,phone:!1,tablet:!1};return C.any=C.apple.device||C.android.device||C.windows.device||C.other.device,C.phone=C.apple.phone||C.android.phone||C.windows.phone,C.tablet=C.apple.tablet||C.android.tablet||C.windows.tablet,C}},A2ZE:function(n,e,t){"use strict";var l=t("RiVN"),i=t("We1y"),o=t("QNWe"),r=l(l.bind);n.exports=function(n,e){return i(n),void 0===e?n:o?r(n,e):function(){return n.apply(e,arguments)}}},A90E:function(n,e,t){var l=t("6sVZ"),i=t("V6Ve"),o=Object.prototype.hasOwnProperty;n.exports=function(n){if(!l(n))return i(n);var e=[];for(var t in Object(n))o.call(n,t)&&"constructor"!=t&&e.push(t);return e}},AE40:function(n,e,t){var l=t("dunj"),i=t("jSBL"),o=t("zZ0H");n.exports=function(n){return n&&n.length?l(n,o,i):void 0}},AI7K:function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("ZQMv"))&&l.__esModule?l:{default:l}).default};e.default=i},AJTl:function(n,e,t){"use strict";var l,i=t("uy83"),o=t("2oRo"),r=t("4zBA"),u=t("aWRN"),a=t("8YOa"),s=t("bWFh"),c=t("rKzb"),d=t("hh1v"),p=t("afO8").enforce,h=t("0Dky"),g=t("zc4i"),f=Object,m=Array.isArray,b=f.isExtensible,v=f.isFrozen,y=f.isSealed,A=f.freeze,C=f.seal,w=!o.ActiveXObject&&"ActiveXObject"in o,x=function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},_=s("WeakMap",x,c),P=_.prototype,k=r(P.set);if(g)if(w){l=c.getConstructor(x,"WeakMap",!0),a.enable();var O=r(P.delete),M=r(P.has),S=r(P.get);u(P,{delete:function(n){if(d(n)&&!b(n)){var e=p(this);return e.frozen||(e.frozen=new l),O(this,n)||e.frozen.delete(n)}return O(this,n)},has:function(n){if(d(n)&&!b(n)){var e=p(this);return e.frozen||(e.frozen=new l),M(this,n)||e.frozen.has(n)}return M(this,n)},get:function(n){if(d(n)&&!b(n)){var e=p(this);return e.frozen||(e.frozen=new l),M(this,n)?S(this,n):e.frozen.get(n)}return S(this,n)},set:function(n,e){if(d(n)&&!b(n)){var t=p(this);t.frozen||(t.frozen=new l),M(this,n)?k(this,n,e):t.frozen.set(n,e)}else k(this,n,e);return this}})}else i&&h((function(){var n=A([]);return k(new _,n,1),!v(n)}))&&u(P,{set:function(n,e){var t;return m(n)&&(v(n)?t=A:y(n)&&(t=C)),k(this,n,e),t&&t(n),this}})},ALsQ:function(n,e,t){var l;n.exports=(l=t("Ib8C"),t("OLod"),l.mode.CFB=function(){var n=l.lib.BlockCipherMode.extend();function e(n,e,t,l){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,l.encryptBlock(i,0);for(var r=0;r\n "),t+="\n "})),t+="\n ",n.self.options.readOnly||(t+='\n
\n
\n \n \n
\n
\n '),t+="\n\n"}},"AO7/":function(n,e,t){"use strict";var l={};l[t("tiKp")("toStringTag")]="z",n.exports="[object z]"===String(l)},AP2z:function(n,e,t){var l=t("nmnc"),i=Object.prototype,o=i.hasOwnProperty,r=i.toString,u=l?l.toStringTag:void 0;n.exports=function(n){var e=o.call(n,u),t=n[u];try{n[u]=void 0;var l=!0}catch(a){}var i=r.call(n);return l&&(e?n[u]=t:delete n[u]),i}},AQ68:function(n,e,t){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(t("wd/R"))},AX6E:function(n,e,t){"use strict";var l=t("Cjtg"),i=t("2+dE"),o=t("LjMW"),r=t("QQaq"),u=t("8Zre"),a=t("JHTY"),s=t("8aRX"),c=t("Tj4a"),d=t("lgV7"),p=t("tvXQ"),h=t("k7mr"),g=t("CUOH"),f=t("44OH"),m=t("NRtu"),b=t("td/M"),v=t("PZI0"),y=t("WmiJ"),A=t("rVwK"),C=t("szrm"),w=t("za4V"),x=t("M97N"),_=t("KTnV");n.exports={custom:l,date:i,day:o,email:r,json:u,mask:a,max:s,maxDate:c,maxLength:d,maxWords:p,min:h,minDate:g,minLength:f,minWords:m,pattern:b,required:v,select:y,unique:A,url:C,minYear:w,maxYear:x,time:_}},AbTg:function(n,e,t){"use strict";var l=function(){this.head=null,this.tail=null};l.prototype={add:function(n){var e={item:n,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var n=this.head;if(n)return null===(this.head=n.next)&&(this.tail=null),n.item}},n.exports=l},Ac7g:function(n,e,t){n.exports={Graph:t("lnHP"),version:t("w802")}},AevD:function(n,e,t){var l=t("M96O");function i(){this._arr=[],this._keyIndices={}}n.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(n){return n.key}))},i.prototype.has=function(n){return l.has(this._keyIndices,n)},i.prototype.priority=function(n){var e=this._keyIndices[n];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(n,e){var t=this._keyIndices;if(n=String(n),!l.has(t,n)){var i=this._arr,o=i.length;return t[n]=o,i.push({key:n,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},i.prototype.decrease=function(n,e){var t=this._keyIndices[n];if(e>this._arr[t].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[t].priority+" New: "+e);this._arr[t].priority=e,this._decrease(t)},i.prototype._heapify=function(n){var e=this._arr,t=2*n,l=t+1,i=n;t>1].priority\n "),t+="\n
"+(null==(e=n.day)?"":e)+"
\n \n "),t+="\n ",n.showMonth&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+="\n ",!n.dayFirst&&n.showDay&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+="\n ",n.showYear&&(t+='\n
\n ',n.component.hideInputLabels||(t+='\n
\n "),t+='\n\n\n'}},ApMm:function(n,e){},AvvY:function(n,e,t){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(n,e){return 12===n&&(n=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&n>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?n+12:n},meridiem:function(n,e,t){return n<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":n<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":n<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":n<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(t("wd/R"))},AxiF:function(n,e,t){"use strict";t.d(e,"a",(function(){return u}));var l=t("mrSG"),i=t("FFOo"),o=t("b7mW"),r=t("G5J1");function u(n){return function(e){return 0===n?Object(r.b)():e.lift(new a(n))}}var a=function(){function n(n){if(this.total=n,this.total<0)throw new o.a}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.total))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.ring=new Array,l.count=0,l}return l.d(e,n),e.prototype._next=function(n){var e=this.ring,t=this.total,l=this.count++;e.length0)for(var t=this.count>=this.total?this.total:this.count,l=this.ring,i=0;in.length)&&(e=n.length);for(var t=0,l=new Array(e);t1&&void 0!==arguments[1]?arguments[1]:{},l=v(x(s.prototype),"setValue",this).call(this,n,t);if(this.choices){var i=this.dataValue;if(this.choices.removeActiveItems(),i){"string"==typeof i&&(i=i.split(this.delimiter).filter((function(n){return n})));var o=Array.isArray(i)?i:[i];this.choices.setValue(o.map((function(n){return e.sanitize(n,e.shouldSanitizeValue)})))}}return l}},{key:"disabled",get:function(){return v(x(s.prototype),"disabled",this)},set:function(n){f(x(s.prototype),"disabled",n,this,!0),this.choices&&(n?this.choices.disable():this.choices.enable())}},{key:"focus",value:function(){this.refs.input&&this.refs.input.length&&this.refs.input[0].parentNode.lastChild.focus()}},{key:"getValueAsString",value:function(n){if(!n)return"";if(Array.isArray(n))return n.join("".concat(this.delimiter||","," "));var e=n.toString();return this.sanitize(e,this.shouldSanitizeValue)}}])&&h(e.prototype,t),l&&h(e,l),Object.defineProperty(e,"prototype",{writable:!1}),s}(u.default);e.default=_},BSGD:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("jR5A");e.default={form:l.default}},BTho:function(n,e,t){"use strict";var l=t("4zBA"),i=t("We1y"),o=t("hh1v"),r=t("Gi26"),u=t("82ph"),a=t("QNWe"),s=Function,c=l([].concat),d=l([].join),p={},h=function(n,e,t){if(!r(p,e)){for(var l=[],i=0;i\n"}},BhdL:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("6HwT"),i=t("BhTq");e.default={form:l.default,html:i.default}},BiGR:function(n,e,t){var l=t("nmnc"),i=t("03A+"),o=t("Z0cm"),r=l?l.isConcatSpreadable:void 0;n.exports=function(n){return o(n)||i(n)||!!(r&&n&&n[r])}},BkRI:function(n,e,t){var l=t("OBhP");n.exports=function(n){return l(n,5)}},BqJo:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("rQ5f"),i=t("YVGo");e.default={flat:l.default,form:i.default}},Bs8V:function(n,e,t){"use strict";var l=t("g6v/"),i=t("xluM"),o=t("0eef"),r=t("XGwC"),u=t("/GqU"),a=t("oEtG"),s=t("Gi26"),c=t("DPsx"),d=Object.getOwnPropertyDescriptor;e.f=l?d:function(n,e){if(n=u(n),e=a(e),c)try{return d(n,e)}catch(t){}if(s(n,e))return r(!i(o.f,n,e),n[e])}},BvlR:function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("SsCq"))&&l.__esModule?l:{default:l}).default};e.default=i},ByF4:function(n,e,t){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(t("wd/R"))},"C+sZ":function(n,e,t){"use strict";t("eoL8"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l=u(t("LvDl")),i=u(t("Cqra")),o=u(t("f/Of")),r=u(t("nukS"));function u(n){return n&&n.__esModule?n:{default:n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n,e){for(var t=0;t '),t+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(t+='\n \n'),t+="\n",n.component.rightIcon&&(t+=' '),t+="\n\n
\n \n
\n'}},C0Ia:function(n,e,t){"use strict";var l=t("6LWA"),i=t("aO6C"),o=t("hh1v"),r=t("tiKp")("species"),u=Array;n.exports=function(n){var e;return l(n)&&(e=n.constructor,(i(e)&&(e===u||l(e.prototype))||o(e)&&null===(e=e[r]))&&(e=void 0)),void 0===e?u:e}},C0Od:function(n,e,t){"use strict";var l=t("BPiQ");n.exports=l&&!!Symbol.for&&!!Symbol.keyFor},C1sy:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'
\n
\n
\n
\n
\n','
\n
\n
\n
\n
\n'}},C3gN:function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"inputFormat",ignore:!0},{key:"persistent",ignore:!0},{key:"protected",ignore:!0},{key:"dbIndex",ignore:!0},{key:"encrypted",ignore:!0},{key:"multiple",ignore:!0},{key:"defaultValue",ignore:!0},{key:"customDefaultValuePanel",ignore:!0},{key:"calculateValuePanel",ignore:!0},{key:"passwordInfo",weight:0,type:"htmlelement",tag:"div",className:"alert alert-info",content:"Password fields are automatically encrypted using 1-way salted bcrypt hashes. These hashes are also protected and not returned in the API."}]},C4tZ:function(n,e,t){"use strict";var l=t("6Ekc").longestPath,i=t("GEWS"),o=t("dOj1");n.exports=function(n){switch(n.graph().ranker){case"network-simplex":u(n);break;case"tight-tree":!function(n){l(n),i(n)}(n);break;case"longest-path":r(n);break;default:u(n)}};var r=l;function u(n){o(n)}},C642:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("K9UA");e.default={semantic:l.default}},C6AG:function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("XUE8"),t("5DmW"),t("SuFq"),t("uL8W"),t("eoL8"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("ftMj"),t("J30X"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("+2oP"),t("sMBO"),t("pjDv"),t("tkto"),t("27RR"),t("HRxU"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("yXV3"),t("rMz7"),t("ma9I"),t("DQNa"),t("07d7"),t("JfAA"),t("E9XD"),t("QWBl"),t("FZtP"),t("4l63"),t("TeQF"),t("rB9j"),t("oVuX"),t("2B1R"),t("TZCg"),t("ExoC"),t("wLYn"),t("NBAS");var i=a(t("LvDl")),o=a(t("wd/R")),r=a(t("e4jL")),u=t("5P0i");function a(n){return n&&n.__esModule?n:{default:n}}function s(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function c(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,l=new Array(e);tn&&(e.refs.day.value=e.refs.day.max),l(e.refs.month,"month")()})),this.addEventListener(this.refs.year,"input",l(this.refs.year,"year")),this.addEventListener(this.refs.input,this.info.changeEvent,(function(){return e.updateValue(null,{modified:!0})})),[this.refs.day,this.refs.month,this.refs.year].filter((function(n){return!!n})).forEach((function(n){x(P(s.prototype),"addFocusBlurEvents",e).call(e,n)}))),this.setValue(this.dataValue),this.disabled=this.shouldDisabled,t}},{key:"validateRequired",value:function(n,e){var t=this.parts,l=t.day,i=t.month,o=t.year;return!(this.dayRequired&&!l||this.monthRequired&&!i||this.yearRequired&&!o||(0,u.boolValue)(n)&&this.isEmpty(e))}},{key:"disabled",set:function(n){b(P(s.prototype),"disabled",n,this,!0),this.refs.year&&this.refs.month&&this.refs.day&&(n?(this.refs.year.setAttribute("disabled","disabled"),this.refs.month.setAttribute("disabled","disabled"),this.refs.day.setAttribute("disabled","disabled")):(this.refs.year.removeAttribute("disabled"),this.refs.month.removeAttribute("disabled"),this.refs.day.removeAttribute("disabled")))}},{key:"normalizeValue",value:function(n){if(!n||this.valueMask.test(n))return n;var e=[],t=n.split("/"),l=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),i=l[0],o=l[1],r=l[2],u=this.component.defaultValue?this.component.defaultValue.split("/"):"",a=function(n,l){return e.push(n?t.shift():l)};return this.dayFirst&&a(this.showDay,u?u[i]:"00"),a(this.showMonth,u?u[o]:"00"),this.dayFirst||a(this.showDay,u?u[i]:"00"),a(this.showYear,u?u[r]:"0000"),e.join("/")}},{key:"setValueAt",value:function(n,e){if(!e||"Invalid date"===e)return null;var t,l=e.split("/");this.component.dayFirst&&(t=l.shift());var i=l.shift();this.component.dayFirst||(t=l.shift());var o=l.shift();this.refs.day&&this.showDay&&(this.refs.day.value="00"===t?"":parseInt(t,10)),this.refs.month&&this.showMonth&&(this.refs.month.value="00"===i?"":parseInt(i,10)),this.refs.year&&this.showYear&&(this.refs.year.value="0000"===o?"":parseInt(o,10))}},{key:"getFieldValue",value:function(n){var e=this.dataValue?this.dataValue.split("/"):[],t=0;switch(n){case"month":t=e[this.dayFirst?1:0];break;case"day":t=e[this.dayFirst?0:1];break;case"year":t=e[2]}return t=parseInt(t,10),!i.default.isNaN(t)&&i.default.isNumber(t)?t:0}},{key:"parts",get:function(){return{day:this.getFieldValue("day"),month:this.getFieldValue("month"),year:this.getFieldValue("year")}}},{key:"format",get:function(){var n="";return this.component.dayFirst&&this.showDay&&(n+="D/"),this.showMonth&&(n+="M/"),!this.component.dayFirst&&this.showDay&&(n+="D/"),this.showYear?n+="YYYY":n.length?n.substring(0,n.length-1):n}},{key:"getDate",value:function(n){var e,t,l,o=[],r=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),u=r[0],a=r[1],s=r[2],c=n||this.component.defaultValue;return c&&(o=c.split("/").map((function(n){return parseInt(n,10)}))),this.showDay&&this.refs.day&&(e=parseInt(this.refs.day.value,10)),(void 0===e||i.default.isNaN(e))&&(e=o[u]&&!i.default.isNaN(o[u])?o[u]:0),this.showMonth&&this.refs.month&&(t=parseInt(this.refs.month.value,10)),(void 0===t||i.default.isNaN(t))&&(t=o[a]&&!i.default.isNaN(o[a])?o[a]:0),this.showYear&&this.refs.year&&(l=parseInt(this.refs.year.value)),(void 0===l||i.default.isNaN(l))&&(l=o[s]&&!i.default.isNaN(o[s])?o[s]:0),e||t||l?(e=this.showDay?e.toString().padStart(2,0):"",t=this.showMonth?t.toString().padStart(2,0):"",l=this.showYear?l.toString().padStart(4,0):"",this.component.dayFirst?"".concat(e).concat(this.showDay&&this.showMonth||this.showDay&&this.showYear?"/":"").concat(t).concat(this.showMonth&&this.showYear?"/":"").concat(l):"".concat(t).concat(this.showDay&&this.showMonth||this.showMonth&&this.showYear?"/":"").concat(e).concat(this.showDay&&this.showYear?"/":"").concat(l)):null}},{key:"date",get:function(){return this.getDate()}},{key:"validationValue",get:function(){return this.dataValue}},{key:"getValue",value:function(){var n=x(P(s.prototype),"getValue",this).call(this);return n||this.dataValue}},{key:"getValueAt",value:function(n){var e=this.date||this.emptyValue;return e?(this.refs.input[n].value=e,this.refs.input[n].value):(this.refs.input[n].value="",null)}},{key:"getValueAsString",value:function(n){return this.getDate(n)||""}},{key:"focus",value:function(n){if(n&&"string"==typeof n&&this.refs[n])this.refs[n].focus();else if(this.dayFirst&&this.showDay||!this.dayFirst&&!this.showMonth&&this.showDay){var e;null===(e=this.refs.day)||void 0===e||e.focus()}else if(this.dayFirst&&!this.showDay&&this.showMonth||!this.dayFirst&&this.showMonth){var t;null===(t=this.refs.month)||void 0===t||t.focus()}else if(!this.showDay&&!this.showDay&&this.showYear){var l;null===(l=this.refs.year)||void 0===l||l.focus()}}},{key:"restoreCaretPosition",value:function(){var n,e;if(null!==(n=this.root)&&void 0!==n&&n.currentSelection){var t=this.root.currentSelection,l=t.selection,i=t.index;if(this.refs[i]){var o=this.refs[i];e=o,/text|search|password|tel|url/i.test((null==e?void 0:e.type)||"")&&o.setSelectionRange.apply(o,d(l))}}}},{key:"isPartialDay",value:function(n){if(!n)return!1;var e=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),t=e[0],l=e[1],i=e[2],o=n.split("/");return"00"===o[t]||"00"===o[l]||"0000"===o[i]}},{key:"getValidationFormat",value:function(){return this.dayFirst?"DD-MM-YYYY":"MM-DD-YYYY"}}])&&f(e.prototype,t),l&&f(e,l),Object.defineProperty(e,"prototype",{writable:!1}),s}(r.default);e.default=k},CDr4:function(n,e,t){"use strict";var l=t("DVFp"),i=TypeError;n.exports=function(n,e){if(!delete n[e])throw new i("Cannot delete property "+l(e)+" of "+l(n))}},CFBA:function(n,e,t){var l;!function(i,o,r){o[i]=o[i]||r(),n.exports?n.exports=o[i]:void 0===(l=(function(){return o[i]}).call(e,t,e,n))||(n.exports=l)}("Promise","undefined"!=typeof global?global:this,(function(){"use strict";var n,e,t,l=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(n){return setImmediate(n)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(n,e,t,l){return Object.defineProperty(n,e,{value:t,writable:!0,configurable:!1!==l})}}catch(m){n=function(n,e,t){return n[e]=t,n}}function o(n,l){t.add(n,l),e||(e=i(t.drain))}function r(n){var e,t=typeof n;return null==n||"object"!=t&&"function"!=t||(e=n.then),"function"==typeof e&&e}function u(){for(var n=0;n0&&o(u,t))}catch(m){c.call(new p(t),m)}}}function c(n){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=n,e.state=2,e.chain.length>0&&o(u,e))}function d(n,e,t,l){for(var i=0;i\n
\n \n
\n '+(null==(e=n.form)?"":e)+"\n
\n
\n\n"}},CMye:function(n,e,t){var l=t("GoyQ");n.exports=function(n){return n==n&&!l(n)}},CQfm:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("Oqjk"),i=t("FoUh");e.default={flat:l.default,form:i.default}},CS9Q:function(n,e,t){"use strict";t.d(e,"a",(function(){return o}));var l=t("mrSG"),i=t("siIJ"),o=function(n){function e(t,l){void 0===l&&(l=i.a.now);var o=n.call(this,t,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():l()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return l.d(e,n),e.prototype.schedule=function(t,l,i){return void 0===l&&(l=0),e.delegate&&e.delegate!==this?e.delegate.schedule(t,l,i):n.prototype.schedule.call(this,t,l,i)},e.prototype.flush=function(n){var e=this.actions;if(this.active)e.push(n);else{var t;this.active=!0;do{if(t=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,t){for(;n=e.shift();)n.unsubscribe();throw t}}},e}(i.a)},CSzT:function(n,e,t){"use strict";var l;t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((l=t("bbpD"))&&l.__esModule?l:{default:l}).default};e.default=i},CUOH:function(n,e,t){"use strict";t("eoL8"),t("ExoC"),t("wLYn"),t("NBAS"),t("SuFq"),t("uL8W"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("ma9I"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l=t("5P0i"),i=r(t("wd/R")),o=r(t("LvDl"));function r(n){return n&&n.__esModule?n:{default:n}}function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function s(n,e){for(var t=0;t\n
  • < 28 bits = Very Weak;
  • \n
  • 28 - 35 bits = Weak; should keep out most people;
  • \n
  • 36 - 59 bits = Reasonable; fairly secure passwords for network and company passwords;
  • \n
  • 60 - 127 bits = Strong; can be good for guarding financial information;
  • \n
  • > 128 bits = Very Strong; often overkill;
  • \n\n",mask:!1,spellcheck:!0,tableView:!1,delimiter:!1,requireDecimal:!1,inputFormat:"plain",validate:{required:!0,min:1,max:128},key:"maxEntropy",type:"number",input:!0},{label:"Style",tooltip:"Specifies the background color style using bootstrap classes",tableView:!0,data:{values:[{label:"Danger",value:"danger"},{label:"Warning",value:"warning"},{label:"Info",value:"info"},{label:"Success",value:"success"}]},selectThreshold:.3,validate:{onlyAvailableItems:!1},key:"style",type:"select",indexeddb:{filter:{}},input:!0},{label:"Color",placeholder:"#0079c0",tooltip:"Specifies a color of the indicator element",tableView:!0,key:"color",type:"textfield",input:!0}]},{label:"Update On",tableView:!0,data:{values:[{label:"Strength Level Change",value:"levelChange"},{label:"Entropy Change",value:"entropyChange"}]},selectThreshold:.3,validate:{onlyAvailableItems:!1},key:"updateOn",type:"select",indexeddb:{filter:{}},input:!0},{label:"Rules",reorder:!1,addAnotherPosition:"bottom",layoutFixed:!1,enableRowGroups:!1,initEmpty:!1,tableView:!1,defaultValue:[{}],key:"rulesSettings",type:"datagrid",input:!0,components:[{label:"Name",tableView:!0,data:{values:[{label:"Length",value:"length"},{label:"Lower Case",value:"lowerCase"},{label:"Upper Case",value:"upperCase"},{label:"Numeric",value:"numeric"},{label:"Symbols",value:"symbols"}]},selectThreshold:.3,validate:{required:!0,onlyAvailableItems:!1},key:"name",type:"select",indexeddb:{filter:{}},input:!0},{label:"Error Message",tableView:!0,key:"errorMessage",type:"textfield",input:!0},{label:"Required",tableView:!1,key:"required",type:"checkbox",input:!0,defaultValue:!1}]},{label:"Custom Rules",tableView:!1,rowDrafts:!1,key:"customRules",type:"editgrid",input:!0,components:[{label:"Name",tableView:!0,validate:{required:!0},key:"name",type:"textfield",input:!0},i.default.javaScriptValue("Check","check","",1100,'

    Example:

    valid = !value.includes(data.email) ? true : "Password should not be variation of the email";

    ',"","",!0),{label:"Increase Characters Pool Size",description:"Set this to amount of characters that may be used in the password if there is a specific group of characters is used.\nE.g., if your validation checks if there is any numeric symbol in the password, then you should set it to 10 (there are 10 possible numbers).\n",mask:!1,spellcheck:!0,tableView:!1,delimiter:!1,requireDecimal:!1,inputFormat:"plain",key:"increaseCharactersPoolSize",type:"number",input:!0},{label:"Required",tooltip:"Check if this check is required to proceed",tableView:!1,key:"required",type:"checkbox",input:!0,defaultValue:!1}]},i.default.javaScriptValue("Is Valid","isValid","",1100,"

    Example:

    valid = entropy > maxEntropy / 2 ;

    ","","entropyCurrent entropy bits of the password.levelCurrent strength level of the password.",!0),{label:"Required",description:"Check this if you don't want to allow submitting password which does not correspond to the minimal strength requirements.",tableView:!1,key:"required",type:"checkbox",input:!0,defaultValue:!1},{label:"Black List",tooltip:"Add words to search in the password. If there are some words from that list were found, the entropy of the password will be recalculated.\n",tableView:!0,multiple:!0,key:"blackList",type:"textfield",input:!0},i.default.javaScriptValue("Custom Blacklisted Words","customBlackListedWords","",1100,"

    Example:

    values = [ data.name, data.dataOfBirth, data.favoriteColor ];

    ","","",!0),{label:"Disable Blacklisted Words",tooltip:"Check if you want to disable submitting passwords containing words form the clack list",tableView:!1,key:"disableBlacklistedWords",type:"checkbox",input:!0,defaultValue:!1},{label:"Location",hideLabel:!1,tableView:!1,key:"location",type:"container",input:!0,components:[{label:"Insert",tooltip:"Specifies where the indicator will be inserted: before or aftre an element",tableView:!0,data:{values:[{label:"Before",value:"before"},{label:"After",value:"after"}]},selectThreshold:.3,validate:{onlyAvailableItems:!1},key:"insert",type:"select",indexeddb:{filter:{}},input:!0},{label:"Selector",placeholder:"[ref='element']",description:"Specifies the selector of the element which will be used as a reference to insert the indicator template",tableView:!0,key:"selector",type:"textfield",input:!0}]},{label:"Template",editor:"ace",tableView:!0,key:"template",type:"textarea",input:!0,as:"html"}];e.default=o},CXJR:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n','\n'}},CZoQ:function(n,e){n.exports=function(n,e,t){for(var l=t-1,i=n.length;++l\n
    \n
    \n
    \n
    '+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"\n ",n.options.vpat?t+='\n \n ':t+='\n \n ',t+='\n
    \n ',n.visible&&(t+="\n "+(null==(e=n.children)?"":e)+"\n "),t+='\n
    \n ',n.options.vpat&&(t+='\n \n "),t+='\n \n
    \n
    \n
    \n \n
    \n\n'}},Cqra:function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("SuFq"),t("uL8W"),t("eoL8"),t("XUE8"),t("5DmW"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("J30X"),t("0oug"),t("pjDv"),t("+2oP"),t("sMBO"),t("rB9j"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("2B1R"),t("ma9I"),t("4mDm"),t("07d7"),t("PKPk"),t("3bBZ"),t("Kz25"),t("mGGf"),t("yq1k"),t("JTJg"),t("wLYn"),t("QWBl"),t("FZtP"),t("j+VE"),t("ExoC"),t("NBAS");var i=p(t("LvDl")),o=p(t("CFBA")),r=t("1eKU"),u=p(t("f/Of")),a=t("5P0i"),s=t("bjCn"),c=p(t("yEXj")),d=p(t("vPiH"));function p(n){return n&&n.__esModule?n:{default:n}}function h(n){return function(n){if(Array.isArray(n))return g(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(!n)return;if("string"==typeof n)return g(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(n,e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,l=new Array(e);t98?e.t("Converting PDF. Please wait."):"".concat(e.t("Uploading")," ").concat(t,"%")}}),"".concat(this.projectUrl,"/upload"),{},"file").then((function(n){var t,l=!1;if(null!==(t=n.data.formfields)&&void 0!==t&&t.components&&n.data.formfields.components.length){var o,r,u,a="submit"===(null===(o=e.webform.form.components[0])||void 0===o?void 0:o.key),s="page1"===(null===(r=e.webform.form.components[0])||void 0===r?void 0:r.key)&&0===(null===(u=e.webform.form.components[0])||void 0===u?void 0:u.components.length),c=0===e.webform.form.components.length;(a||s||c)&&(l=!0,e.webform.form.components=n.data.formfields.components)}e.refs.dragDropText&&(e.refs.dragDropText.style.display="inherit"),e.refs.uploadProgressWrapper&&(e.refs.uploadProgressWrapper.style.display="none"),i.default.set(e.webform.form,"settings.pdf",{id:n.data.file,src:n.data.filesServer?"".concat(n.data.filesServer).concat(n.data.path):"".concat(new URL(e.projectUrl).origin,"/pdf-proxy").concat(n.data.path),nonFillableConversionUsed:l&&n.data.formfields.nonFillableConversionUsed}),e.emit("pdfUploaded",n.data),e.redraw()})).catch((function(n){return e.setUploadError(n)}))}},{key:"setUploadError",value:function(n){this.refs.uploadError&&(this.refs.uploadError.style.display=n?"":"none",this.refs.uploadError.innerHTML=n)}},{key:"createForm",value:function(n){var e=this;return n.skipInit=!1,n.hideLoader=!0,this.webform=new d.default(this.element,n),this.webform.on("attach",(function(){e.refs.iframeDropzone&&!h(e.refs.form.children).includes(e.refs.iframeDropzone)&&e.prependTo(e.refs.iframeDropzone,e.refs.form)})),this.webform}},{key:"destroy",value:function(n){b(w(p.prototype),"destroy",this).call(this,n),this.webform.destroy(n)}},{key:"getParentContainer",value:function(n){var e=[],t=null;return(0,s.eachComponent)(this.webform._form.components,(function(l,i,o){if(l.id===n.component.id)return e=o,t=l,!0}),!0),{formioComponent:n.parent,formioContainer:e,originalComponent:t}}},{key:"initIframeEvents",value:function(){var n=this;this.webform.off("iframe-elementUpdate"),this.webform.off("iframe-componentUpdate"),this.webform.off("iframe-componentClick"),this.webform.on("iframe-elementUpdate",(function(e){var t=n.webform.getComponentById(e.id);return t&&t.component&&(t.component.overlay={page:e.page,left:e.left,top:e.top,height:e.height,width:e.width},n.options.noNewEdit||t.component.noNewEdit||n.editComponent(t.component,n.getParentContainer(t),!0),n.emit("updateComponent",t.component)),t})),this.webform.on("iframe-componentUpdate",(function(e){var t=n.webform.getComponentById(e.id);return t&&t.component&&(t.component.overlay={page:e.overlay.page,left:e.overlay.left,top:e.overlay.top,height:e.overlay.height,width:e.overlay.width},n.emit("updateComponent",t.component),n.emit("change",n.form)),t})),this.webform.on("iframe-componentClick",(function(e){var t=n.webform.getComponentById(e.id);t&&n.editComponent(t.component,n.getParentContainer(t))}),!0)}},{key:"initDropzoneEvents",value:function(){this.refs.iframeDropzone&&(this.removeEventListener(this.refs.iframeDropzone,"dragover"),this.removeEventListener(this.refs.iframeDropzone,"drop"),this.addEventListener(this.refs.iframeDropzone,"dragover",(function(n){return n.preventDefault(),!1})),this.addEventListener(this.refs.iframeDropzone,"drop",this.onDropzoneDrop.bind(this)))}},{key:"updateDragAndDrop",value:function(){this.pdfLoaded&&(this.initDropzoneEvents(),this.prepSidebarComponentsForDrag())}},{key:"prepSidebarComponentsForDrag",value:function(){var n=this;this.refs["sidebar-container"]&&this.refs["sidebar-container"].forEach((function(e){h(e.children).forEach((function(e){e.draggable=!0,e.setAttribute("draggable",!0),n.removeEventListener(e,"dragstart"),n.removeEventListener(e,"dragend"),n.addEventListener(e,"dragstart",n.onDragStart.bind(n),!0),n.addEventListener(e,"dragend",n.onDragEnd.bind(n),!0),n.addEventListener(e,"drag",(function(n){n.target.style.cursor="none"}))}))}))}},{key:"updateDropzoneDimensions",value:function(){if(this.refs.iframeDropzone){var n=(0,a.getElementRect)(this.webform.refs.iframeContainer);this.refs.iframeDropzone.style.height=n&&n.height?"".concat(n.height,"px"):"1000px",this.refs.iframeDropzone.style.width=n&&n.width?"".concat(n.width,"px"):"100%"}}},{key:"onDragStart",value:function(n){var e=n.offsetX,t=void 0===e?0:e,l=n.offsetY,i=void 0===l?0:l;this.itemOffsetX=t,this.itemOffsetY=i,n.dataTransfer.setData("text",""),this.updateDropzoneDimensions(),this.addClass(this.refs.iframeDropzone,"enabled"),this.dropEmitted=!1}},{key:"onDropzoneDrop",value:function(n){return this.dropEmitted=!0,this.dropEvent=n,n.preventDefault(),!1}},{key:"onDragEnd",value:function(n){var e=this.webform.refs.iframeContainer.getBoundingClientRect(),t=this.dropEvent?this.dropEvent.layerX:null,l=this.dropEvent?this.dropEvent.layerY:null;if(this.removeClass(this.refs.iframeDropzone,"enabled"),!this.dropEvent){if(!(!this.dropEmitted&&((0,a.getBrowserInfo)().chrome||(0,a.getBrowserInfo)().edge)&&"macOS"===globalThis.navigator.userAgentData.platform&&e.left1&&(n=e[0]-e[1]),e.length>3?e[0]+",1,weird":n<0?e[0]+",1":n>0?e[1]+",1,s":e[0]+",0"},i=function(n){for(var e=new Date(n,0,1,0,0,1,0).getTime(),t=new Date(n,12,31,23,59,59).getTime(),l=e,i=new Date(l).getTimezoneOffset(),o=null,u=null;li&&(u=a),i=s),l+=864e5}return!(!o||!u)&&{s:r(o).getTime(),e:r(u).getTime()}},r=function e(t,l,i){void 0===l&&(l=n.DAY,i=n.HOUR);for(var o=new Date(t.getTime()-l).getTime(),r=t.getTime()+l,u=new Date(o).getTimezoneOffset(),a=o,s=null;a=l.rules[o].s&&e[o].e<=l.rules[o].e)){i="N/A";break}if(i=0,i+=Math.abs(e[o].s-l.rules[o].s),(i+=Math.abs(l.rules[o].e-e[o].e))>n.MAX_SCORE){i="N/A";break}}return function(n,e,t,l){if("N/A"!==t)return t;if("Asia/Beirut"===e){if("Africa/Cairo"===l.name&&13983768e5===n[6].s&&14116788e5===n[6].e)return 0;if("Asia/Jerusalem"===l.name&&13959648e5===n[6].s&&14118588e5===n[6].e)return 0}else if("America/Santiago"===e){if("America/Asuncion"===l.name&&14124816e5===n[6].s&&1397358e6===n[6].e)return 0;if("America/Campo_Grande"===l.name&&14136912e5===n[6].s&&13925196e5===n[6].e)return 0}else if("America/Montevideo"===e){if("America/Sao_Paulo"===l.name&&14136876e5===n[6].s&&1392516e6===n[6].e)return 0}else if("Pacific/Auckland"===e&&"Pacific/Fiji"===l.name&&14142456e5===n[6].s&&13961016e5===n[6].e)return 0;return t}(e,t,i,l)},i={},r=o.olson.dst_rules.zones,u=r.length,a=n.AMBIGUITIES[t],s=0;s-1||"UTC"===e)?e:void 0}()),i||(i=o.olson.timezones[r],void 0!==n.AMBIGUITIES[i]&&(i=a(i))),{name:function(){return i},using_intl:e||void 0===e,needle:r,offsets:t()}}}}()).olson=o.olson||{},o.olson.timezones={"-720,0":"Etc/GMT+12","-660,0":"Pacific/Pago_Pago","-660,1,s":"Pacific/Apia","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Asuncion","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","0,1,weird":"Africa/Casablanca","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,weird":"Africa/Casablanca","120,1":"Asia/Beirut","120,1,weird":"Africa/Cairo","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Calcutta","345,0":"Asia/Katmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Majuro","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"},o.olson.dst_rules={years:[2008,2009,2010,2011,2012,2013,2014],zones:[{name:"Africa/Cairo",rules:[{e:12199572e5,s:12090744e5},{e:1250802e6,s:1240524e6},{e:12858804e5,s:12840696e5},!1,!1,!1,{e:14116788e5,s:1406844e6}]},{name:"America/Asuncion",rules:[{e:12050316e5,s:12243888e5},{e:12364812e5,s:12558384e5},{e:12709548e5,s:12860784e5},{e:13024044e5,s:1317528e6},{e:1333854e6,s:13495824e5},{e:1364094e6,s:1381032e6},{e:13955436e5,s:14124816e5}]},{name:"America/Campo_Grande",rules:[{e:12032172e5,s:12243888e5},{e:12346668e5,s:12558384e5},{e:12667212e5,s:1287288e6},{e:12981708e5,s:13187376e5},{e:13302252e5,s:1350792e6},{e:136107e7,s:13822416e5},{e:13925196e5,s:14136912e5}]},{name:"America/Goose_Bay",rules:[{e:122559486e4,s:120503526e4},{e:125704446e4,s:123648486e4},{e:128909886e4,s:126853926e4},{e:13205556e5,s:129998886e4},{e:13520052e5,s:13314456e5},{e:13834548e5,s:13628952e5},{e:14149044e5,s:13943448e5}]},{name:"America/Havana",rules:[{e:12249972e5,s:12056436e5},{e:12564468e5,s:12364884e5},{e:12885012e5,s:12685428e5},{e:13211604e5,s:13005972e5},{e:13520052e5,s:13332564e5},{e:13834548e5,s:13628916e5},{e:14149044e5,s:13943412e5}]},{name:"America/Mazatlan",rules:[{e:1225008e6,s:12074724e5},{e:12564576e5,s:1238922e6},{e:1288512e6,s:12703716e5},{e:13199616e5,s:13018212e5},{e:13514112e5,s:13332708e5},{e:13828608e5,s:13653252e5},{e:14143104e5,s:13967748e5}]},{name:"America/Mexico_City",rules:[{e:12250044e5,s:12074688e5},{e:1256454e6,s:12389184e5},{e:12885084e5,s:1270368e6},{e:1319958e6,s:13018176e5},{e:13514076e5,s:13332672e5},{e:13828572e5,s:13653216e5},{e:14143068e5,s:13967712e5}]},{name:"America/Miquelon",rules:[{e:12255984e5,s:12050388e5},{e:1257048e6,s:12364884e5},{e:12891024e5,s:12685428e5},{e:1320552e6,s:12999924e5},{e:13520016e5,s:1331442e6},{e:13834512e5,s:13628916e5},{e:14149008e5,s:13943412e5}]},{name:"America/Santa_Isabel",rules:[{e:12250116e5,s:1207476e6},{e:12564612e5,s:12389256e5},{e:12891204e5,s:12685608e5},{e:132057e7,s:13000104e5},{e:13520196e5,s:133146e7},{e:13834692e5,s:13629096e5},{e:14149188e5,s:13943592e5}]},{name:"America/Santiago",rules:[{e:1206846e6,s:1223784e6},{e:1237086e6,s:12552336e5},{e:127035e7,s:12866832e5},{e:13048236e5,s:13138992e5},{e:13356684e5,s:13465584e5},{e:1367118e6,s:13786128e5},{e:13985676e5,s:14100624e5}]},{name:"America/Sao_Paulo",rules:[{e:12032136e5,s:12243852e5},{e:12346632e5,s:12558348e5},{e:12667176e5,s:12872844e5},{e:12981672e5,s:1318734e6},{e:13302216e5,s:13507884e5},{e:13610664e5,s:1382238e6},{e:1392516e6,s:14136876e5}]},{name:"Asia/Amman",rules:[{e:1225404e6,s:12066552e5},{e:12568536e5,s:12381048e5},{e:12883032e5,s:12695544e5},{e:13197528e5,s:13016088e5},!1,!1,{e:14147064e5,s:13959576e5}]},{name:"Asia/Damascus",rules:[{e:12254868e5,s:120726e7},{e:125685e7,s:12381048e5},{e:12882996e5,s:12701592e5},{e:13197492e5,s:13016088e5},{e:13511988e5,s:13330584e5},{e:13826484e5,s:1364508e6},{e:14147028e5,s:13959576e5}]},{name:"Asia/Dubai",rules:[!1,!1,!1,!1,!1,!1,!1]},{name:"Asia/Gaza",rules:[{e:12199572e5,s:12066552e5},{e:12520152e5,s:12381048e5},{e:1281474e6,s:126964086e4},{e:1312146e6,s:130160886e4},{e:13481784e5,s:13330584e5},{e:13802292e5,s:1364508e6},{e:1414098e6,s:13959576e5}]},{name:"Asia/Irkutsk",rules:[{e:12249576e5,s:12068136e5},{e:12564072e5,s:12382632e5},{e:12884616e5,s:12697128e5},!1,!1,!1,!1]},{name:"Asia/Jerusalem",rules:[{e:12231612e5,s:12066624e5},{e:1254006e6,s:1238112e6},{e:1284246e6,s:12695616e5},{e:131751e7,s:1301616e6},{e:13483548e5,s:13330656e5},{e:13828284e5,s:13645152e5},{e:1414278e6,s:13959648e5}]},{name:"Asia/Kamchatka",rules:[{e:12249432e5,s:12067992e5},{e:12563928e5,s:12382488e5},{e:12884508e5,s:12696984e5},!1,!1,!1,!1]},{name:"Asia/Krasnoyarsk",rules:[{e:12249612e5,s:12068172e5},{e:12564108e5,s:12382668e5},{e:12884652e5,s:12697164e5},!1,!1,!1,!1]},{name:"Asia/Omsk",rules:[{e:12249648e5,s:12068208e5},{e:12564144e5,s:12382704e5},{e:12884688e5,s:126972e7},!1,!1,!1,!1]},{name:"Asia/Vladivostok",rules:[{e:12249504e5,s:12068064e5},{e:12564e8,s:1238256e6},{e:12884544e5,s:12697056e5},!1,!1,!1,!1]},{name:"Asia/Yakutsk",rules:[{e:1224954e6,s:120681e7},{e:12564036e5,s:12382596e5},{e:1288458e6,s:12697092e5},!1,!1,!1,!1]},{name:"Asia/Yekaterinburg",rules:[{e:12249684e5,s:12068244e5},{e:1256418e6,s:1238274e6},{e:12884724e5,s:12697236e5},!1,!1,!1,!1]},{name:"Asia/Yerevan",rules:[{e:1224972e6,s:1206828e6},{e:12564216e5,s:12382776e5},{e:1288476e6,s:12697272e5},{e:13199256e5,s:13011768e5},!1,!1,!1]},{name:"Australia/Lord_Howe",rules:[{e:12074076e5,s:12231342e5},{e:12388572e5,s:12545838e5},{e:12703068e5,s:12860334e5},{e:13017564e5,s:1317483e6},{e:1333206e6,s:13495374e5},{e:13652604e5,s:1380987e6},{e:139671e7,s:14124366e5}]},{name:"Australia/Perth",rules:[{e:12068136e5,s:12249576e5},!1,!1,!1,!1,!1,!1]},{name:"Europe/Helsinki",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Europe/Minsk",rules:[{e:12249792e5,s:12068352e5},{e:12564288e5,s:12382848e5},{e:12884832e5,s:12697344e5},!1,!1,!1,!1]},{name:"Europe/Moscow",rules:[{e:12249756e5,s:12068316e5},{e:12564252e5,s:12382812e5},{e:12884796e5,s:12697308e5},!1,!1,!1,!1]},{name:"Pacific/Apia",rules:[!1,!1,!1,{e:13017528e5,s:13168728e5},{e:13332024e5,s:13489272e5},{e:13652568e5,s:13803768e5},{e:13967064e5,s:14118264e5}]},{name:"Pacific/Fiji",rules:[!1,!1,{e:12696984e5,s:12878424e5},{e:13271544e5,s:1319292e6},{e:1358604e6,s:13507416e5},{e:139005e7,s:1382796e6},{e:14215032e5,s:14148504e5}]},{name:"Europe/London",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Africa/Windhoek",rules:[{e:12207492e5,s:120744e7},{e:12521988e5,s:12388896e5},{e:12836484e5,s:12703392e5},{e:1315098e6,s:13017888e5},{e:13465476e5,s:13332384e5},{e:13779972e5,s:13652928e5},{e:14100516e5,s:13967424e5}]}]},void 0!==n.exports?n.exports=o:null!==t("B9Yq")&&null!=t("PDX0")?(l=[],void 0===(i=(function(){return o}).apply(e,l))||(n.exports=i)):window.jstz=o},DAmb:function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;t12?n:n+12:"sanje"===e?n+12:void 0},meridiem:function(n,e,t){return n<4?"rati":n<12?"sokallim":n<16?"donparam":n<20?"sanje":"rati"}})}(t("wd/R"))},DLK6:function(n,e,t){"use strict";var l=t("4zBA"),i=t("ewvW"),o=Math.floor,r=l("".charAt),u=l("".replace),a=l("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;n.exports=function(n,e,t,l,d,p){var h=t+n.length,g=l.length,f=c;return void 0!==d&&(d=i(d),f=s),u(p,f,(function(i,u){var s;switch(r(u,0)){case"$":return"$";case"&":return n;case"`":return a(e,0,t);case"'":return a(e,h);case"<":s=d[a(u,1,-1)];break;default:var c=+u;if(0===c)return i;if(c>g){var p=o(c/10);return 0===p?i:p<=g?void 0===l[p-1]?r(u,1):l[p-1]+r(u,1):i}s=l[c-1]}return void 0===s?"":s}))}},DMt2:function(n,e,t){"use strict";var l=t("4zBA"),i=t("UMSQ"),o=t("V37c"),r=t("EUja"),u=t("HYAF"),a=l(r),s=l("".slice),c=Math.ceil,d=function(n){return function(e,t,l){var r,d,p=o(u(e)),h=i(t),g=p.length,f=void 0===l?" ":o(l);return h<=g||""===f?p:((d=a(f,c((r=h-g)/f.length))).length>r&&(d=s(d,0,r)),n?p+d:d+p)}};n.exports={start:d(!1),end:d(!0)}},DPsx:function(n,e,t){"use strict";var l=t("g6v/"),i=t("0Dky"),o=t("zBJ4");n.exports=!l&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(n,e,t){"use strict";var l=t("4zBA"),i=t("yy0I"),o=Date.prototype,r=l(o.toString),u=l(o.getTime);"Invalid Date"!==String(new Date(NaN))&&i(o,"toString",(function(){var n=u(this);return n==n?r(this):"Invalid Date"}))},DSRE:function(n,e,t){(function(n){var l=t("Kz5y"),i=t("B8du"),o=e&&!e.nodeType&&e,r=o&&"object"==typeof n&&n&&!n.nodeType&&n,u=r&&r.exports===o?l.Buffer:void 0,a=(u?u.isBuffer:void 0)||i;n.exports=a}).call(this,t("YuTi")(n))},DVFp:function(n,e,t){"use strict";var l=String;n.exports=function(n){try{return l(n)}catch(e){return"Object"}}},DcW7:function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"tooltip",ignore:!0},{key:"hideLabel",ignore:!0},{key:"autofocus",ignore:!0},{key:"disabled",ignore:!0},{key:"tabindex",ignore:!0},{key:"tableView",ignore:!0},{weight:700,type:"checkbox",label:"Refresh On Change",tooltip:"Rerender the field whenever a value on the form changes.",key:"refreshOnChange",input:!0}]},Dhu4:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";Array.prototype.join;return t+='
    \n
    \n \n
    \n ",n.component.components.forEach((function(l,i){t+='\n \n '+(null==(e=n.tabComponents[i])?"":e)+"\n
    \n "})),t+="\n\n"}},Dkky:function(n,e,t){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(n,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}})}(t("wd/R"))},Dmvi:function(n,e,t){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(t("wd/R"))},DoHr:function(n,e,t){!function(n){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(n,e,t){return n<12?t?"\xf6\xf6":"\xd6\xd6":t?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(n){return"\xf6s"===n||"\xd6S"===n},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(n,t){switch(t){case"d":case"D":case"Do":case"DD":return n;default:if(0===n)return n+"'\u0131nc\u0131";var l=n%10,i=n%100-l,o=n>=100?100:null;return n+(e[l]||e[i]||e[o])}},week:{dow:1,doy:7}})}(t("wd/R"))},DtyJ:function(n,e,t){"use strict";t.r(e),t.d(e,"Observable",(function(){return l.a})),t.d(e,"ConnectableObservable",(function(){return i.a})),t.d(e,"GroupedObservable",(function(){return o.a})),t.d(e,"observable",(function(){return r.a})),t.d(e,"Subject",(function(){return u.a})),t.d(e,"BehaviorSubject",(function(){return a.a})),t.d(e,"ReplaySubject",(function(){return s.a})),t.d(e,"AsyncSubject",(function(){return c.a})),t.d(e,"asapScheduler",(function(){return d.a})),t.d(e,"asyncScheduler",(function(){return p.a})),t.d(e,"queueScheduler",(function(){return h.a})),t.d(e,"animationFrameScheduler",(function(){return g.a})),t.d(e,"VirtualTimeScheduler",(function(){return b})),t.d(e,"VirtualAction",(function(){return v})),t.d(e,"Scheduler",(function(){return y.a})),t.d(e,"Subscription",(function(){return A.a})),t.d(e,"Subscriber",(function(){return C.a})),t.d(e,"Notification",(function(){return w.a})),t.d(e,"pipe",(function(){return x.a})),t.d(e,"noop",(function(){return _.a})),t.d(e,"identity",(function(){return P.a})),t.d(e,"isObservable",(function(){return k})),t.d(e,"ArgumentOutOfRangeError",(function(){return O.a})),t.d(e,"EmptyError",(function(){return M.a})),t.d(e,"ObjectUnsubscribedError",(function(){return S.a})),t.d(e,"UnsubscriptionError",(function(){return I.a})),t.d(e,"TimeoutError",(function(){return T.a})),t.d(e,"bindCallback",(function(){return N})),t.d(e,"bindNodeCallback",(function(){return j})),t.d(e,"combineLatest",(function(){return H.b})),t.d(e,"concat",(function(){return q.a})),t.d(e,"defer",(function(){return Y.a})),t.d(e,"empty",(function(){return G.b})),t.d(e,"forkJoin",(function(){return W.a})),t.d(e,"from",(function(){return Q.a})),t.d(e,"fromEvent",(function(){return K.a})),t.d(e,"fromEventPattern",(function(){return J})),t.d(e,"generate",(function(){return $})),t.d(e,"iif",(function(){return nn})),t.d(e,"interval",(function(){return en.a})),t.d(e,"merge",(function(){return tn.a})),t.d(e,"never",(function(){return ln.b})),t.d(e,"of",(function(){return on.a})),t.d(e,"onErrorResumeNext",(function(){return rn})),t.d(e,"pairs",(function(){return un})),t.d(e,"race",(function(){return sn.a})),t.d(e,"range",(function(){return cn})),t.d(e,"throwError",(function(){return pn.a})),t.d(e,"timer",(function(){return hn.a})),t.d(e,"using",(function(){return gn})),t.d(e,"zip",(function(){return fn.b})),t.d(e,"EMPTY",(function(){return G.a})),t.d(e,"NEVER",(function(){return ln.a})),t.d(e,"config",(function(){return mn.a}));var l=t("6blF"),i=t("KhEm"),o=t("IxPp"),r=t("xTla"),u=t("K9Ia"),a=t("26FU"),s=t("S5bw"),c=t("svcd"),d=t("KQya"),p=t("T1DM"),h=t("zo3G"),g=t("tHPV"),f=t("mrSG"),m=t("h9Dq"),b=function(n){function e(e,t){void 0===e&&(e=v),void 0===t&&(t=Number.POSITIVE_INFINITY);var l=n.call(this,e,(function(){return l.frame}))||this;return l.maxFrames=t,l.frame=0,l.index=-1,l}return f.d(e,n),e.prototype.flush=function(){for(var n,e,t=this.actions,l=this.maxFrames;(e=t[0])&&e.delay<=l&&(t.shift(),this.frame=e.delay,!(n=e.execute(e.state,e.delay))););if(n){for(;e=t.shift();)e.unsubscribe();throw n}},e.frameTimeFactor=10,e}(t("CS9Q").a),v=function(n){function e(e,t,l){void 0===l&&(l=e.index+=1);var i=n.call(this,e,t)||this;return i.scheduler=e,i.work=t,i.index=l,i.active=!0,i.index=e.index=l,i}return f.d(e,n),e.prototype.schedule=function(t,l){if(void 0===l&&(l=0),!this.id)return n.prototype.schedule.call(this,t,l);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(t,l)},e.prototype.requestAsyncId=function(n,t,l){void 0===l&&(l=0),this.delay=n.frame+l;var i=n.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(n,e,t){void 0===t&&(t=0)},e.prototype._execute=function(e,t){if(!0===this.active)return n.prototype._execute.call(this,e,t)},e.sortActions=function(n,e){return n.delay===e.delay?n.index===e.index?0:n.index>e.index?1:-1:n.delay>e.delay?1:-1},e}(m.a),y=t("siIJ"),A=t("pugT"),C=t("FFOo"),w=t("60iU"),x=t("y3By"),_=t("+umK"),P=t("mChF");function k(n){return!!n&&(n instanceof l.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var O=t("b7mW"),M=t("3fWJ"),S=t("8g8A"),I=t("awvh"),T=t("3U0i"),E=t("67Y/"),D=t("1fDf"),R=t("isby"),L=t("nkY7");function N(n,e,t){if(e){if(!Object(L.a)(e))return function(){for(var l=[],i=0;i=e){l.complete();break}if(l.next(o++),l.closed)break}}))}function dn(n){var e=n.start,t=n.index,l=n.count,i=n.subscriber;t>=l?i.complete():(i.next(e),i.closed||(n.index=t+1,n.start=e+1,this.schedule(n)))}var pn=t("XlPw"),hn=t("gI3B");function gn(n,e){return new l.a((function(t){var l,i;try{l=n()}catch(r){return void t.error(r)}try{i=e(l)}catch(r){return void t.error(r)}var o=(i?Object(Q.a)(i):G.a).subscribe(t);return function(){o.unsubscribe(),l&&l.unsubscribe()}}))}var fn=t("909l"),mn=t("iLxQ")},Dvum:function(n,e,t){var l,i,o;!function(r,u){"use strict";n.exports?n.exports=u(t("wd/R")):(i=[t("wd/R")],void 0===(o="function"==typeof(l=u)?l.apply(e,i):l)||(n.exports=o))}(0,(function(n){"use strict";void 0===n.version&&n.default&&(n=n.default);var e,t={},l={},i={},o={},r={};n&&"string"==typeof n.version||S("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var u=n.version.split("."),a=+u[0],s=+u[1];function c(n){return n>96?n-87:n>64?n-29:n-48}function d(n){var e=0,t=n.split("."),l=t[0],i=t[1]||"",o=1,r=0,u=1;for(45===n.charCodeAt(0)&&(e=1,u=-1);e3){var e=o[_(n)];if(e)return e;S("Moment Timezone found "+n+" from the Intl api, but did not have that data loaded.")}}catch(c){}var t,l,i,r=function(){var n,e,t,l,i=(new Date).getFullYear()-2,o=new b(new Date(i,0,1)),r=o.offset,u=[o];for(l=1;l<48;l++)(t=new Date(i,l,1).getTimezoneOffset())!==r&&(n=y(o,e=new b(new Date(i,l,1))),u.push(n),u.push(new b(new Date(n.at+6e4))),o=e,r=t);for(l=0;l<4;l++)u.push(new b(new Date(i+l,0,1))),u.push(new b(new Date(i+l,6,1)));return u}(),u=r.length,a=w(r),s=[];for(l=0;l0?s[0].zone.name:void 0}function _(n){return(n||"").toLowerCase().replace(/\//g,"_")}function P(n){var e,l,i,r;for("string"==typeof n&&(n=[n]),e=0;e= 2.6.0. You are using Moment.js "+n.version+". See momentjs.com"),f.prototype={_set:function(n){this.name=n.name,this.abbrs=n.abbrs,this.untils=n.untils,this.offsets=n.offsets,this.population=n.population},_index:function(n){var e;if((e=function(n,e){var t,l=e.length;if(n1&&e[l-1]===1/0&&n>=e[l-2])return l-1;if(n>=e[l-1])return-1;for(var i=0,o=l-1;o-i>1;)e[t=Math.floor((i+o)/2)]<=n?i=t:o=t;return o}(+n,this.untils))>=0)return e},countries:function(){var n=this.name;return Object.keys(i).filter((function(e){return-1!==i[e].zones.indexOf(n)}))},parse:function(n){var e,t,l,i,o=+n,r=this.offsets,u=this.untils,a=u.length-1;for(i=0;il&&I.moveInvalidForward&&(e=l),o0&&(this._z=null),T.apply(this,arguments)}),n.tz.setDefault=function(e){return(a<2||2===a&&s<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+n.version+"."),n.defaultZone=e?k(e):null,n};var L=n.momentProperties;return"[object Array]"===Object.prototype.toString.call(L)?(L.push("_z"),L.push("_a")):L&&(L._z=null),n}))},"Dw+G":function(n,e,t){var l=t("juv8"),i=t("mTTR");n.exports=function(n,e){return n&&l(e,i(e),n)}},DxQv:function(n,e,t){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(t("wd/R"))},Dz1x:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("aqh7");e.default={form:l.default}},Dzi0:function(n,e,t){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}})}(t("wd/R"))},"E+lV":function(n,e,t){!function(n){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(n,e){return n%10>=1&&n%10<=4&&(n%100<10||n%100>=20)?n%10==1?e[0]:e[1]:e[2]},translate:function(n,t,l,i){var o,r=e.words[l];return 1===l.length?"y"===l&&t?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":i||t?r[0]:r[1]:(o=e.correctGrammaticalCase(n,r),"yy"===l&&t&&"\u0433\u043e\u0434\u0438\u043d\u0443"===o?n+" \u0433\u043e\u0434\u0438\u043d\u0430":n+" "+o)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(t("wd/R"))},"E+oP":function(n,e,t){var l=t("A90E"),i=t("QqLw"),o=t("03A+"),r=t("Z0cm"),u=t("MMmD"),a=t("DSRE"),s=t("6sVZ"),c=t("c6wG"),d=Object.prototype.hasOwnProperty;n.exports=function(n){if(null==n)return!0;if(u(n)&&(r(n)||"string"==typeof n||"function"==typeof n.splice||a(n)||c(n)||o(n)))return!n.length;var e=i(n);if("[object Map]"==e||"[object Set]"==e)return!n.size;if(s(n))return!l(n).length;for(var t in n)if(d.call(n,t))return!1;return!0}},E0hL:function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("07d7"),t("SuFq"),t("uL8W"),t("eoL8"),t("XUE8"),t("5DmW"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ma9I"),t("rB9j"),t("UxlC"),t("ExoC"),t("wLYn"),t("NBAS");var i=u(t("6P0p")),o=t("5P0i"),r=u(t("Vd1P"));function u(n){return n&&n.__esModule?n:{default:n}}function a(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function s(n,e){for(var t=0;t>>24)|4278255360&(n[t]<<24|n[t]>>>8);var l=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],i=this._C=[n[2]<<16|n[2]>>>16,4294901760&n[0]|65535&n[1],n[3]<<16|n[3]>>>16,4294901760&n[1]|65535&n[2],n[0]<<16|n[0]>>>16,4294901760&n[2]|65535&n[3],n[1]<<16|n[1]>>>16,4294901760&n[3]|65535&n[0]];for(this._b=0,t=0;t<4;t++)a.call(this);for(t=0;t<8;t++)i[t]^=l[t+4&7];if(e){var o=e.words,r=o[0],u=o[1],s=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),c=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),d=s>>>16|4294901760&c,p=c<<16|65535&s;for(i[0]^=s,i[1]^=d,i[2]^=c,i[3]^=p,i[4]^=s,i[5]^=d,i[6]^=c,i[7]^=p,t=0;t<4;t++)a.call(this)}},_doProcessBlock:function(n,e){var t=this._X;a.call(this),i[0]=t[0]^t[5]>>>16^t[3]<<16,i[1]=t[2]^t[7]>>>16^t[5]<<16,i[2]=t[4]^t[1]>>>16^t[7]<<16,i[3]=t[6]^t[3]>>>16^t[1]<<16;for(var l=0;l<4;l++)i[l]=16711935&(i[l]<<8|i[l]>>>24)|4278255360&(i[l]<<24|i[l]>>>8),n[e+l]^=i[l]},blockSize:4,ivSize:2});function a(){for(var n=this._X,e=this._C,t=0;t<8;t++)o[t]=e[t];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0>>0?1:0)|0,this._b=e[7]>>>0>>0?1:0,t=0;t<8;t++){var l=n[t]+e[t],i=65535&l,u=l>>>16,a=((i*i>>>17)+i*u>>>15)+u*u,s=((4294901760&l)*l|0)+((65535&l)*l|0);r[t]=a^s}n[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,n[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,n[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,n[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,n[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,n[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,n[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,n[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}n.Rabbit=e._createHelper(u)}(),l.Rabbit)},E4Ma:function(n,e,t){"use strict";t("eoL8"),t("tkto"),t("TeQF"),t("5DmW"),t("QWBl"),t("FZtP"),t("27RR"),t("HRxU"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("wLYn"),t("ma9I"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("07d7"),t("qePV");var l,i=(l=t("LvDl"))&&l.__esModule?l:{default:l},o=t("5P0i");function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function a(n){for(var e=1;e0?n:10,this.refs.modalWrapper.style.paddingTop="".concat(n,"px")}},{key:"openModal",value:function(){this.isOpened=!0,this.refs.modalWrapper.classList.remove("component-rendering-hidden"),"signature"===this.component.component.type&&this.positionOverElement()}},{key:"updateView",value:function(){var n=i.default.isEqual(this.currentValue,this.component.defaultValue)?this.openModalTemplate:this.component.getModalPreviewTemplate();this.component.setContent(this.refs.openModalWrapper,n),this.setOpenEventListener()}},{key:"closeModal",value:function(){this.refs.modalWrapper.classList.remove("formio-dialog-disabled-animation"),this.refs.modalWrapper.classList.add("component-rendering-hidden"),this.isOpened=!1,this.updateView()}},{key:"closeModalHandler",value:function(n){n.preventDefault(),this.component.disabled||this.component.setValue(i.default.cloneDeep(this.currentValue),{resetValue:!0}),this.closeModal()}},{key:"showDialog",value:function(){this.dialogElement=this.component.ce("div");var n='\n

    '.concat(this.component.t("Do you want to clear changes?"),'

    \n
    \n \n \n
    \n ");this.dialogElement.innerHTML=n,this.dialogElement.refs={},this.component.loadRefs.call(this.dialogElement,this.dialogElement,{dialogHeader:"single",dialogCancelButton:"single",dialogYesButton:"single"}),this.dialog=this.component.createModal(this.dialogElement),this.component.addEventListener(this.dialogElement.refs.dialogYesButton,"click",this.saveDialogListener),this.component.addEventListener(this.dialogElement.refs.dialogCancelButton,"click",this.closeDialogListener)}},{key:"closeDialog",value:function(n){n.preventDefault(),this.dialog.close(),this.component.removeEventListener(this.dialogElement.refs.dialogYesButton,"click",this.saveDialogListener),this.component.removeEventListener(this.dialogElement.refs.dialogCancelButton,"click",this.closeDialogListener)}},{key:"saveDialog",value:function(n){this.closeDialog(n),this.closeModalHandler(n)}},{key:"saveModalValueHandler",value:function(n){var e;n.preventDefault(),this.currentValue=(0,o.fastCloneDeep)(null!==(e=this.component.dataValue)&&void 0!==e?e:this.component.getValue()),this.closeModal()}}])&&c(e.prototype,t),l&&c(e,l),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.default=p},E6aO:function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=o(t("bsYB")),i=o(t("CXJR"));function o(n){return n&&n.__esModule?n:{default:n}}var r={form:l.default,html:i.default};e.default=r},E6bK:function(n,e,t){"use strict";var l=Math.round;n.exports=function(n){var e=l(n);return e<0?0:e>255?255:255&e}},E9LY:function(n,e,t){"use strict";var l=t("4zBA"),i=t("0Dky"),o=t("Fib7"),r=t("Gi26"),u=t("g6v/"),a=t("Xnc8").CONFIGURABLE,s=t("iSVu"),c=t("afO8"),d=c.enforce,p=c.get,h=String,g=Object.defineProperty,f=l("".slice),m=l("".replace),b=l([].join),v=u&&!i((function(){return 8!==g((function(){}),"length",{value:8}).length})),y=String(String).split("String"),A=n.exports=function(n,e,t){"Symbol("===f(h(e),0,7)&&(e="["+m(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!r(n,"name")||a&&n.name!==e)&&(u?g(n,"name",{value:e,configurable:!0}):n.name=e),v&&t&&r(t,"arity")&&n.length!==t.arity&&g(n,"length",{value:t.arity});try{t&&r(t,"constructor")&&t.constructor?u&&g(n,"prototype",{writable:!1}):n.prototype&&(n.prototype=void 0)}catch(i){}var l=d(n);return r(l,"source")||(l.source=b(y,"string"==typeof e?e:"")),n};Function.prototype.toString=A((function(){return o(this)&&p(this).source||s(this)}),"toString")},E9XD:function(n,e,t){"use strict";var l=t("I+eb"),i=t("1Y/n").left,o=t("pkCn"),r=t("LQDL");l({target:"Array",proto:!0,forced:!t("YF1G")&&r>79&&r<83||!o("reduce")},{reduce:function(n){var e=arguments.length;return i(this,n,e,e>1?arguments[1]:void 0)}})},EA7m:function(n,e,t){var l=t("zZ0H"),i=t("Ioao"),o=t("wclG");n.exports=function(n,e){return o(i(n,e,l),n+"")}},EBTT:function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),t=0;tb)","g");return"b"!==n.exec("b").groups.a||"bc"!=="b".replace(n,"$c")}))},EKy7:function(n,e,t){"use strict";function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}t("07d7"),t("XUE8"),t("5DmW"),t("SuFq"),t("uL8W"),t("eoL8"),t("gXIK"),t("7+zs"),t("pNMO"),t("4Brf"),t("qePV"),t("0oug"),t("4mDm"),t("PKPk"),t("3bBZ"),t("pjDv"),t("sMBO"),t("tkto"),t("TeQF"),t("QWBl"),t("FZtP"),t("27RR"),t("HRxU"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("J30X"),t("2B1R"),t("yq1k"),t("JTJg"),t("ma9I"),t("+2oP"),t("rB9j"),t("UxlC"),t("ExoC"),t("wLYn"),t("NBAS");var i=u(t("wd/R")),o=u(t("uDcv")),r=t("5P0i");function u(n){return n&&n.__esModule?n:{default:n}}function a(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,l)}return t}function s(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,l=new Array(e);t\n
      \n ',n.panels.forEach((function(l,i){t+='\n
    • \n \n '+(null==(e=n.t(l.title,{_userInput:!0}))?"":e)+"\n ",l.tooltip&&n.currentPage===i&&(t+='\n \n '),t+="\n \n
    • \n "})),t+="\n
    \n\n"}},ELcG:function(n,e,t){var l;n.exports=(l=t("Ib8C"),function(n){var e=l,t=e.lib,i=t.WordArray,o=t.Hasher,r=e.algo,u=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),s=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),p=i.create([1352829926,1548603684,1836072691,2053994217,0]),h=r.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,e){for(var t=0;t<16;t++){var l=e+t,i=n[l];n[l]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,r,h,A,C,w,x,_,P,k,O,M=this._hash.words,S=d.words,I=p.words,T=u.words,E=a.words,D=s.words,R=c.words;for(w=o=M[0],x=r=M[1],_=h=M[2],P=A=M[3],k=C=M[4],t=0;t<80;t+=1)O=o+n[e+T[t]]|0,O+=t<16?g(r,h,A)+S[0]:t<32?f(r,h,A)+S[1]:t<48?m(r,h,A)+S[2]:t<64?b(r,h,A)+S[3]:v(r,h,A)+S[4],O=(O=y(O|=0,D[t]))+C|0,o=C,C=A,A=y(h,10),h=r,r=O,O=w+n[e+E[t]]|0,O+=t<16?v(x,_,P)+I[0]:t<32?b(x,_,P)+I[1]:t<48?m(x,_,P)+I[2]:t<64?f(x,_,P)+I[3]:g(x,_,P)+I[4],O=(O=y(O|=0,R[t]))+k|0,w=k,k=P,P=y(_,10),_=x,x=O;O=M[1]+h+P|0,M[1]=M[2]+A+k|0,M[2]=M[3]+C+w|0,M[3]=M[4]+o+x|0,M[4]=M[0]+r+_|0,M[0]=O},_doFinalize:function(){var n=this._data,e=n.words,t=8*this._nDataBytes,l=8*n.sigBytes;e[l>>>5]|=128<<24-l%32,e[14+(l+64>>>9<<4)]=16711935&(t<<8|t>>>24)|4278255360&(t<<24|t>>>8),n.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,o=i.words,r=0;r<5;r++){var u=o[r];o[r]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return i},clone:function(){var n=o.clone.call(this);return n._hash=this._hash.clone(),n}});function g(n,e,t){return n^e^t}function f(n,e,t){return n&e|~n&t}function m(n,e,t){return(n|~e)^t}function b(n,e,t){return n&t|e&~t}function v(n,e,t){return n^(e|~t)}function y(n,e){return n<>>32-e}e.RIPEMD160=o._createHelper(h),e.HmacRIPEMD160=o._createHmacHelper(h)}(Math),l.RIPEMD160)},ENF9:function(n,e,t){"use strict";t("AJTl")},EOgW:function(n,e,t){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(n){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===n},meridiem:function(n,e,t){return n<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(t("wd/R"))},ERFX:function(n,e,t){"use strict";t("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ma9I");var l,i=(l=t("CFBA"))&&l.__esModule?l:{default:l},o=t("0IpN");var r=function(n){return{uploadFile:function(e,t,l,r,u,a,s,c,d,p){return new i.default((function(i,u){var a=new XMLHttpRequest;"function"==typeof r&&(a.upload.onprogress=r),"function"==typeof p&&p((function(){return a.abort()}));var s=new FormData;s.append("name",t),s.append("dir",l),s.append("file",e),a.onerror=function(n){n.networkError=!0,u(n)},a.onload=function(){if(a.status>=200&&a.status<300){var n=JSON.parse(a.response);n.storage="googledrive",n.size=e.size,n.type=e.type,n.groupId=d,n.groupPermissions=c,i(n)}else u(a.response||"Unable to upload file")},a.onabort=u,a.open("POST","".concat(n.formUrl,"/storage/gdrive")),(0,o.setXhrHeaders)(n,a);var h=n.getToken();h&&a.setRequestHeader("x-jwt-token",h),a.send(s)}))},downloadFile:function(e){var t=n.getToken();return e.url="".concat(n.formUrl,"/storage/gdrive?fileId=").concat(e.id,"&fileName=").concat(e.originalName).concat(t?"&x-jwt-token=".concat(t):""),i.default.resolve(e)}}};r.title="Google Drive";var u=r;e.default=u},ETIr:function(n,e,t){var l,i,o;n.exports=(o=t("Ib8C"),i=(l=o).lib.WordArray,l.enc.Base64={stringify:function(n){var e=n.words,t=n.sigBytes,l=this._map;n.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,u=0;u<4&&o+.75*u>>6*(3-u)&63));var a=l.charAt(64);if(a)for(;i.length%4;)i.push(a);return i.join("")},parse:function(n){var e=n.length,t=this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var o=0;o>>6-r%4*2,s=u|a;l[o>>>2]|=s<<24-o%4*8,o++}return i.create(l,o)}(n,e,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},EUja:function(n,e,t){"use strict";var l=t("WSbT"),i=t("V37c"),o=t("HYAF"),r=RangeError;n.exports=function(n){var e=i(o(this)),t="",u=l(n);if(u<0||u===1/0)throw new r("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(e+=e))1&u&&(t+=e);return t}},EVdn:function(n,e,t){var l,i;!function(e,t){"use strict";"object"==typeof n.exports?n.exports=e.document?t(e,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(e)}("undefined"!=typeof window?window:this,(function(t,o){"use strict";var r=[],u=Object.getPrototypeOf,a=r.slice,s=r.flat?function(n){return r.flat.call(n)}:function(n){return r.concat.apply([],n)},c=r.push,d=r.indexOf,p={},h=p.toString,g=p.hasOwnProperty,f=g.toString,m=f.call(Object),b={},v=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType&&"function"!=typeof n.item},y=function(n){return null!=n&&n===n.window},A=t.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function w(n,e,t){var l,i,o=(t=t||A).createElement("script");if(o.text=n,e)for(l in C)(i=e[l]||e.getAttribute&&e.getAttribute(l))&&o.setAttribute(l,i);t.head.appendChild(o).parentNode.removeChild(o)}function x(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?p[h.call(n)]||"object":typeof n}var _=/HTML$/i,P=function(n,e){return new P.fn.init(n,e)};function k(n){var e=!!n&&"length"in n&&n.length,t=x(n);return!v(n)&&!y(n)&&("array"===t||0===e||"number"==typeof e&&e>0&&e-1 in n)}function O(n,e){return n.nodeName&&n.nodeName.toLowerCase()===e.toLowerCase()}P.fn=P.prototype={jquery:"3.7.1",constructor:P,length:0,toArray:function(){return a.call(this)},get:function(n){return null==n?a.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var e=P.merge(this.constructor(),n);return e.prevObject=this,e},each:function(n){return P.each(this,n)},map:function(n){return this.pushStack(P.map(this,(function(e,t){return n.call(e,t,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(P.grep(this,(function(n,e){return(e+1)%2})))},odd:function(){return this.pushStack(P.grep(this,(function(n,e){return e%2})))},eq:function(n){var e=this.length,t=+n+(n<0?e:0);return this.pushStack(t>=0&&t+~]|"+T+")"+T+"*"),U=new RegExp(T+"|>"),z=new RegExp(B),H=new RegExp("^"+D+"$"),q={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,W=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),X=function(n,e){var t="0x"+n.slice(1)-65536;return e||(t<0?String.fromCharCode(t+65536):String.fromCharCode(t>>10|55296,1023&t|56320))},J=function(){sn()},$=hn((function(n){return!0===n.disabled&&O(n,"fieldset")}),{dir:"parentNode",next:"legend"});try{f.apply(r=a.call(L.childNodes),L.childNodes),r[L.childNodes.length].nodeType}catch(An){f={apply:function(n,e){N.apply(n,a.call(e))},call:function(n){N.apply(n,a.call(arguments,1))}}}function Z(n,e,t,l){var i,o,r,a,s,d,h,g=e&&e.ownerDocument,v=e?e.nodeType:9;if(t=t||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return t;if(!l&&(sn(e),e=e||u,c)){if(11!==v&&(s=W.exec(n)))if(i=s[1]){if(9===v){if(!(r=e.getElementById(i)))return t;if(r.id===i)return f.call(t,r),t}else if(g&&(r=g.getElementById(i))&&Z.contains(e,r)&&r.id===i)return f.call(t,r),t}else{if(s[2])return f.apply(t,e.getElementsByTagName(n)),t;if((i=s[3])&&e.getElementsByClassName)return f.apply(t,e.getElementsByClassName(i)),t}if(!(x[n+" "]||p&&p.test(n))){if(h=n,g=e,1===v&&(U.test(n)||V.test(n))){for((g=Q.test(n)&&an(e.parentNode)||e)==e&&b.scope||((a=e.getAttribute("id"))?a=P.escapeSelector(a):e.setAttribute("id",a=m)),o=(d=dn(n)).length;o--;)d[o]=(a?"#"+a:":scope")+" "+pn(d[o]);h=d.join(",")}try{return f.apply(t,g.querySelectorAll(h)),t}catch(y){x(n,!0)}finally{a===m&&e.removeAttribute("id")}}}return yn(n.replace(E,"$1"),e,t,l)}function nn(){var n=[];return function t(l,i){return n.push(l+" ")>e.cacheLength&&delete t[n.shift()],t[l+" "]=i}}function en(n){return n[m]=!0,n}function tn(n){var e=u.createElement("fieldset");try{return!!n(e)}catch(An){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ln(n){return function(e){return O(e,"input")&&e.type===n}}function on(n){return function(e){return(O(e,"input")||O(e,"button"))&&e.type===n}}function rn(n){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===n:e.disabled===n:e.isDisabled===n||e.isDisabled!==!n&&$(e)===n:e.disabled===n:"label"in e&&e.disabled===n}}function un(n){return en((function(e){return e=+e,en((function(t,l){for(var i,o=n([],t.length,e),r=o.length;r--;)t[i=o[r]]&&(t[i]=!(l[i]=t[i]))}))}))}function an(n){return n&&void 0!==n.getElementsByTagName&&n}function sn(n){var t,l=n?n.ownerDocument||n:L;return l!=u&&9===l.nodeType&&l.documentElement?(s=(u=l).documentElement,c=!P.isXMLDoc(u),h=s.matches||s.webkitMatchesSelector||s.msMatchesSelector,s.msMatchesSelector&&L!=u&&(t=u.defaultView)&&t.top!==t&&t.addEventListener("unload",J),b.getById=tn((function(n){return s.appendChild(n).id=P.expando,!u.getElementsByName||!u.getElementsByName(P.expando).length})),b.disconnectedMatch=tn((function(n){return h.call(n,"*")})),b.scope=tn((function(){return u.querySelectorAll(":scope")})),b.cssHas=tn((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(An){return!0}})),b.getById?(e.filter.ID=function(n){var e=n.replace(K,X);return function(n){return n.getAttribute("id")===e}},e.find.ID=function(n,e){if(void 0!==e.getElementById&&c){var t=e.getElementById(n);return t?[t]:[]}}):(e.filter.ID=function(n){var e=n.replace(K,X);return function(n){var t=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return t&&t.value===e}},e.find.ID=function(n,e){if(void 0!==e.getElementById&&c){var t,l,i,o=e.getElementById(n);if(o){if((t=o.getAttributeNode("id"))&&t.value===n)return[o];for(i=e.getElementsByName(n),l=0;o=i[l++];)if((t=o.getAttributeNode("id"))&&t.value===n)return[o]}return[]}}),e.find.TAG=function(n,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(n):e.querySelectorAll(n)},e.find.CLASS=function(n,e){if(void 0!==e.getElementsByClassName&&c)return e.getElementsByClassName(n)},p=[],tn((function(n){var e;s.appendChild(n).innerHTML="
    ",n.querySelectorAll("[selected]").length||p.push("\\["+T+"*(?:value|"+k+")"),n.querySelectorAll("[id~="+m+"-]").length||p.push("~="),n.querySelectorAll("a#"+m+"+*").length||p.push(".#.+[+~]"),n.querySelectorAll(":checked").length||p.push(":checked"),(e=u.createElement("input")).setAttribute("type","hidden"),n.appendChild(e).setAttribute("name","D"),s.appendChild(n).disabled=!0,2!==n.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(e=u.createElement("input")).setAttribute("name",""),n.appendChild(e),n.querySelectorAll("[name='']").length||p.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")})),b.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),_=function(n,e){if(n===e)return o=!0,0;var t=!n.compareDocumentPosition-!e.compareDocumentPosition;return t||(1&(t=(n.ownerDocument||n)==(e.ownerDocument||e)?n.compareDocumentPosition(e):1)||!b.sortDetached&&e.compareDocumentPosition(n)===t?n===u||n.ownerDocument==L&&Z.contains(L,n)?-1:e===u||e.ownerDocument==L&&Z.contains(L,e)?1:i?d.call(i,n)-d.call(i,e):0:4&t?-1:1)},u):u}for(n in Z.matches=function(n,e){return Z(n,null,null,e)},Z.matchesSelector=function(n,e){if(sn(n),c&&!x[e+" "]&&(!p||!p.test(e)))try{var t=h.call(n,e);if(t||b.disconnectedMatch||n.document&&11!==n.document.nodeType)return t}catch(An){x(e,!0)}return Z(e,u,null,[n]).length>0},Z.contains=function(n,e){return(n.ownerDocument||n)!=u&&sn(n),P.contains(n,e)},Z.attr=function(n,t){(n.ownerDocument||n)!=u&&sn(n);var l=e.attrHandle[t.toLowerCase()],i=l&&g.call(e.attrHandle,t.toLowerCase())?l(n,t,!c):void 0;return void 0!==i?i:n.getAttribute(t)},Z.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n)},P.uniqueSort=function(n){var e,t=[],l=0,r=0;if(o=!b.sortStable,i=!b.sortStable&&a.call(n,0),S.call(n,_),o){for(;e=n[r++];)e===n[r]&&(l=t.push(r));for(;l--;)I.call(n,t[l],1)}return i=null,n},P.fn.uniqueSort=function(){return this.pushStack(P.uniqueSort(a.apply(this)))},(e=P.expr={cacheLength:50,createPseudo:en,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(K,X),n[3]=(n[3]||n[4]||n[5]||"").replace(K,X),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||Z.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&Z.error(n[0]),n},PSEUDO:function(n){var e,t=!n[6]&&n[2];return q.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&z.test(t)&&(e=dn(t,!0))&&(e=t.indexOf(")",t.length-e)-t.length)&&(n[0]=n[0].slice(0,e),n[2]=t.slice(0,e)),n.slice(0,3))}},filter:{TAG:function(n){var e=n.replace(K,X).toLowerCase();return"*"===n?function(){return!0}:function(n){return O(n,e)}},CLASS:function(n){var e=A[n+" "];return e||(e=new RegExp("(^|"+T+")"+n+"("+T+"|$)"))&&A(n,(function(n){return e.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")}))},ATTR:function(n,e,t){return function(l){var i=Z.attr(l,n);return null==i?"!="===e:!e||(i+="","="===e?i===t:"!="===e?i!==t:"^="===e?t&&0===i.indexOf(t):"*="===e?t&&i.indexOf(t)>-1:"$="===e?t&&i.slice(-t.length)===t:"~="===e?(" "+i.replace(F," ")+" ").indexOf(t)>-1:"|="===e&&(i===t||i.slice(0,t.length+1)===t+"-"))}},CHILD:function(n,e,t,l,i){var o="nth"!==n.slice(0,3),r="last"!==n.slice(-4),u="of-type"===e;return 1===l&&0===i?function(n){return!!n.parentNode}:function(e,t,a){var s,c,d,p,h,g=o!==r?"nextSibling":"previousSibling",f=e.parentNode,b=u&&e.nodeName.toLowerCase(),y=!a&&!u,A=!1;if(f){if(o){for(;g;){for(d=e;d=d[g];)if(u?O(d,b):1===d.nodeType)return!1;h=g="only"===n&&!h&&"nextSibling"}return!0}if(h=[r?f.firstChild:f.lastChild],r&&y){for(A=(p=(s=(c=f[m]||(f[m]={}))[n]||[])[0]===v&&s[1])&&s[2],d=p&&f.childNodes[p];d=++p&&d&&d[g]||(A=p=0)||h.pop();)if(1===d.nodeType&&++A&&d===e){c[n]=[v,p,A];break}}else if(y&&(A=p=(s=(c=e[m]||(e[m]={}))[n]||[])[0]===v&&s[1]),!1===A)for(;(d=++p&&d&&d[g]||(A=p=0)||h.pop())&&(!(u?O(d,b):1===d.nodeType)||!++A||(y&&((c=d[m]||(d[m]={}))[n]=[v,A]),d!==e)););return(A-=i)===l||A%l==0&&A/l>=0}}},PSEUDO:function(n,t){var l,i=e.pseudos[n]||e.setFilters[n.toLowerCase()]||Z.error("unsupported pseudo: "+n);return i[m]?i(t):i.length>1?(l=[n,n,"",t],e.setFilters.hasOwnProperty(n.toLowerCase())?en((function(n,e){for(var l,o=i(n,t),r=o.length;r--;)n[l=d.call(n,o[r])]=!(e[l]=o[r])})):function(n){return i(n,0,l)}):i}},pseudos:{not:en((function(n){var e=[],t=[],l=vn(n.replace(E,"$1"));return l[m]?en((function(n,e,t,i){for(var o,r=l(n,null,i,[]),u=n.length;u--;)(o=r[u])&&(n[u]=!(e[u]=o))})):function(n,i,o){return e[0]=n,l(e,null,o,t),e[0]=null,!t.pop()}})),has:en((function(n){return function(e){return Z(n,e).length>0}})),contains:en((function(n){return n=n.replace(K,X),function(e){return(e.textContent||P.text(e)).indexOf(n)>-1}})),lang:en((function(n){return H.test(n||"")||Z.error("unsupported lang: "+n),n=n.replace(K,X).toLowerCase(),function(e){var t;do{if(t=c?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(n){var e=t.location&&t.location.hash;return e&&e.slice(1)===n.id},root:function(n){return n===s},focus:function(n){return n===function(){try{return u.activeElement}catch(n){}}()&&u.hasFocus()&&!!(n.type||n.href||~n.tabIndex)},enabled:rn(!1),disabled:rn(!0),checked:function(n){return O(n,"input")&&!!n.checked||O(n,"option")&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!e.pseudos.empty(n)},header:function(n){return G.test(n.nodeName)},input:function(n){return Y.test(n.nodeName)},button:function(n){return O(n,"input")&&"button"===n.type||O(n,"button")},text:function(n){var e;return O(n,"input")&&"text"===n.type&&(null==(e=n.getAttribute("type"))||"text"===e.toLowerCase())},first:un((function(){return[0]})),last:un((function(n,e){return[e-1]})),eq:un((function(n,e,t){return[t<0?t+e:t]})),even:un((function(n,e){for(var t=0;te?e:t;--l>=0;)n.push(l);return n})),gt:un((function(n,e,t){for(var l=t<0?t+e:t;++l1?function(e,t,l){for(var i=n.length;i--;)if(!n[i](e,t,l))return!1;return!0}:n[0]}function fn(n,e,t,l,i){for(var o,r=[],u=0,a=n.length,s=null!=e;u-1&&(o[s]=!(r[s]=p))}}else h=fn(h===r?h.splice(b,h.length):h),i?i(null,r,h,a):f.apply(r,h)}))}function bn(n){for(var t,i,o,r=n.length,u=e.relative[n[0].type],a=u||e.relative[" "],s=u?1:0,c=hn((function(n){return n===t}),a,!0),p=hn((function(n){return d.call(t,n)>-1}),a,!0),h=[function(n,e,i){var o=!u&&(i||e!=l)||((t=e).nodeType?c(n,e,i):p(n,e,i));return t=null,o}];s1&&gn(h),s>1&&pn(n.slice(0,s-1).concat({value:" "===n[s-2].type?"*":""})).replace(E,"$1"),i,s0,o=n.length>0,r=function(r,a,s,d,p){var h,g,m,b=0,y="0",A=r&&[],C=[],w=l,x=r||o&&e.find.TAG("*",p),_=v+=null==w?1:Math.random()||.1,k=x.length;for(p&&(l=a==u||a||p);y!==k&&null!=(h=x[y]);y++){if(o&&h){for(g=0,a||h.ownerDocument==u||(sn(h),s=!c);m=n[g++];)if(m(h,a||u,s)){f.call(d,h);break}p&&(v=_)}i&&((h=!m&&h)&&b--,r&&A.push(h))}if(b+=y,i&&y!==b){for(g=0;m=t[g++];)m(A,C,a,s);if(r){if(b>0)for(;y--;)A[y]||C[y]||(C[y]=M.call(d));C=fn(C)}f.apply(d,C),p&&!r&&C.length>0&&b+t.length>1&&P.uniqueSort(d)}return p&&(v=_,l=w),A};return i?en(r):r}(r,o))).selector=n}return a}function yn(n,t,l,i){var o,r,u,a,s,d="function"==typeof n&&n,p=!i&&dn(n=d.selector||n);if(l=l||[],1===p.length){if((r=p[0]=p[0].slice(0)).length>2&&"ID"===(u=r[0]).type&&9===t.nodeType&&c&&e.relative[r[1].type]){if(!(t=(e.find.ID(u.matches[0].replace(K,X),t)||[])[0]))return l;d&&(t=t.parentNode),n=n.slice(r.shift().value.length)}for(o=q.needsContext.test(n)?0:r.length;o--&&(u=r[o],!e.relative[a=u.type]);)if((s=e.find[a])&&(i=s(u.matches[0].replace(K,X),Q.test(r[0].type)&&an(t.parentNode)||t))){if(r.splice(o,1),!(n=i.length&&pn(r)))return f.apply(l,i),l;break}}return(d||vn(n,p))(i,t,!c,l,!t||Q.test(n)&&an(t.parentNode)||t),l}cn.prototype=e.filters=e.pseudos,e.setFilters=new cn,b.sortStable=m.split("").sort(_).join("")===m,sn(),b.sortDetached=tn((function(n){return 1&n.compareDocumentPosition(u.createElement("fieldset"))})),P.find=Z,P.expr[":"]=P.expr.pseudos,P.unique=P.uniqueSort,Z.compile=vn,Z.select=yn,Z.setDocument=sn,Z.tokenize=dn,Z.escape=P.escapeSelector,Z.getText=P.text,Z.isXML=P.isXMLDoc,Z.selectors=P.expr,Z.support=P.support,Z.uniqueSort=P.uniqueSort}();var B=function(n,e,t){for(var l=[],i=void 0!==t;(n=n[e])&&9!==n.nodeType;)if(1===n.nodeType){if(i&&P(n).is(t))break;l.push(n)}return l},F=function(n,e){for(var t=[];n;n=n.nextSibling)1===n.nodeType&&n!==e&&t.push(n);return t},j=P.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function U(n,e,t){return v(e)?P.grep(n,(function(n,l){return!!e.call(n,l,n)!==t})):e.nodeType?P.grep(n,(function(n){return n===e!==t})):"string"!=typeof e?P.grep(n,(function(n){return d.call(e,n)>-1!==t})):P.filter(e,n,t)}P.filter=function(n,e,t){var l=e[0];return t&&(n=":not("+n+")"),1===e.length&&1===l.nodeType?P.find.matchesSelector(l,n)?[l]:[]:P.find.matches(n,P.grep(e,(function(n){return 1===n.nodeType})))},P.fn.extend({find:function(n){var e,t,l=this.length,i=this;if("string"!=typeof n)return this.pushStack(P(n).filter((function(){for(e=0;e1?P.uniqueSort(t):t},filter:function(n){return this.pushStack(U(this,n||[],!1))},not:function(n){return this.pushStack(U(this,n||[],!0))},is:function(n){return!!U(this,"string"==typeof n&&j.test(n)?P(n):n||[],!1).length}});var z,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(P.fn.init=function(n,e,t){var l,i;if(!n)return this;if(t=t||z,"string"==typeof n){if(!(l="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:H.exec(n))||!l[1]&&e)return!e||e.jquery?(e||t).find(n):this.constructor(e).find(n);if(l[1]){if(e=e instanceof P?e[0]:e,P.merge(this,P.parseHTML(l[1],e&&e.nodeType?e.ownerDocument||e:A,!0)),V.test(l[1])&&P.isPlainObject(e))for(l in e)v(this[l])?this[l](e[l]):this.attr(l,e[l]);return this}return(i=A.getElementById(l[2]))&&(this[0]=i,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):v(n)?void 0!==t.ready?t.ready(n):n(P):P.makeArray(n,this)}).prototype=P.fn,z=P(A);var q=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function G(n,e){for(;(n=n[e])&&1!==n.nodeType;);return n}P.fn.extend({has:function(n){var e=P(n,this),t=e.length;return this.filter((function(){for(var n=0;n-1:1===t.nodeType&&P.find.matchesSelector(t,n))){o.push(t);break}return this.pushStack(o.length>1?P.uniqueSort(o):o)},index:function(n){return n?"string"==typeof n?d.call(P(n),this[0]):d.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,e){return this.pushStack(P.uniqueSort(P.merge(this.get(),P(n,e))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}}),P.each({parent:function(n){var e=n.parentNode;return e&&11!==e.nodeType?e:null},parents:function(n){return B(n,"parentNode")},parentsUntil:function(n,e,t){return B(n,"parentNode",t)},next:function(n){return G(n,"nextSibling")},prev:function(n){return G(n,"previousSibling")},nextAll:function(n){return B(n,"nextSibling")},prevAll:function(n){return B(n,"previousSibling")},nextUntil:function(n,e,t){return B(n,"nextSibling",t)},prevUntil:function(n,e,t){return B(n,"previousSibling",t)},siblings:function(n){return F((n.parentNode||{}).firstChild,n)},children:function(n){return F(n.firstChild)},contents:function(n){return null!=n.contentDocument&&u(n.contentDocument)?n.contentDocument:(O(n,"template")&&(n=n.content||n),P.merge([],n.childNodes))}},(function(n,e){P.fn[n]=function(t,l){var i=P.map(this,e,t);return"Until"!==n.slice(-5)&&(l=t),l&&"string"==typeof l&&(i=P.filter(l,i)),this.length>1&&(Y[n]||P.uniqueSort(i),q.test(n)&&i.reverse()),this.pushStack(i)}}));var W=/[^\x20\t\r\n\f]+/g;function Q(n){return n}function K(n){throw n}function X(n,e,t,l){var i;try{n&&v(i=n.promise)?i.call(n).done(e).fail(t):n&&v(i=n.then)?i.call(n,e,t):e.apply(void 0,[n].slice(l))}catch(n){t.apply(void 0,[n])}}P.Callbacks=function(n){n="string"==typeof n?function(n){var e={};return P.each(n.match(W)||[],(function(n,t){e[t]=!0})),e}(n):P.extend({},n);var e,t,l,i,o=[],r=[],u=-1,a=function(){for(i=i||n.once,l=e=!0;r.length;u=-1)for(t=r.shift();++u-1;)o.splice(t,1),t<=u&&u--})),this},has:function(n){return n?P.inArray(n,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=t="",this},disabled:function(){return!o},lock:function(){return i=r=[],t||e||(o=t=""),this},locked:function(){return!!i},fireWith:function(n,t){return i||(t=[n,(t=t||[]).slice?t.slice():t],r.push(t),e||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!l}};return s},P.extend({Deferred:function(n){var e=[["notify","progress",P.Callbacks("memory"),P.Callbacks("memory"),2],["resolve","done",P.Callbacks("once memory"),P.Callbacks("once memory"),0,"resolved"],["reject","fail",P.Callbacks("once memory"),P.Callbacks("once memory"),1,"rejected"]],l="pending",i={state:function(){return l},always:function(){return o.done(arguments).fail(arguments),this},catch:function(n){return i.then(null,n)},pipe:function(){var n=arguments;return P.Deferred((function(t){P.each(e,(function(e,l){var i=v(n[l[4]])&&n[l[4]];o[l[1]]((function(){var n=i&&i.apply(this,arguments);n&&v(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[l[0]+"With"](this,i?[n]:arguments)}))})),n=null})).promise()},then:function(n,l,i){var o=0;function r(n,e,l,i){return function(){var u=this,a=arguments,s=function(){var t,s;if(!(n=o&&(l!==K&&(u=void 0,a=[t]),e.rejectWith(u,a))}};n?c():(P.Deferred.getErrorHook?c.error=P.Deferred.getErrorHook():P.Deferred.getStackHook&&(c.error=P.Deferred.getStackHook()),t.setTimeout(c))}}return P.Deferred((function(t){e[0][3].add(r(0,t,v(i)?i:Q,t.notifyWith)),e[1][3].add(r(0,t,v(n)?n:Q)),e[2][3].add(r(0,t,v(l)?l:K))})).promise()},promise:function(n){return null!=n?P.extend(n,i):i}},o={};return P.each(e,(function(n,t){var r=t[2],u=t[5];i[t[1]]=r.add,u&&r.add((function(){l=u}),e[3-n][2].disable,e[3-n][3].disable,e[0][2].lock,e[0][3].lock),r.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=r.fireWith})),i.promise(o),n&&n.call(o,o),o},when:function(n){var e=arguments.length,t=e,l=Array(t),i=a.call(arguments),o=P.Deferred(),r=function(n){return function(t){l[n]=this,i[n]=arguments.length>1?a.call(arguments):t,--e||o.resolveWith(l,i)}};if(e<=1&&(X(n,o.done(r(t)).resolve,o.reject,!e),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();for(;t--;)X(i[t],r(t),o.reject);return o.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;P.Deferred.exceptionHook=function(n,e){t.console&&t.console.warn&&n&&J.test(n.name)&&t.console.warn("jQuery.Deferred exception: "+n.message,n.stack,e)},P.readyException=function(n){t.setTimeout((function(){throw n}))};var $=P.Deferred();function Z(){A.removeEventListener("DOMContentLoaded",Z),t.removeEventListener("load",Z),P.ready()}P.fn.ready=function(n){return $.then(n).catch((function(n){P.readyException(n)})),this},P.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--P.readyWait:P.isReady)||(P.isReady=!0,!0!==n&&--P.readyWait>0||$.resolveWith(A,[P]))}}),P.ready.then=$.then,"complete"===A.readyState||"loading"!==A.readyState&&!A.documentElement.doScroll?t.setTimeout(P.ready):(A.addEventListener("DOMContentLoaded",Z),t.addEventListener("load",Z));var nn=function(n,e,t,l,i,o,r){var u=0,a=n.length,s=null==t;if("object"===x(t))for(u in i=!0,t)nn(n,e,u,t[u],!0,o,r);else if(void 0!==l&&(i=!0,v(l)||(r=!0),s&&(r?(e.call(n,l),e=null):(s=e,e=function(n,e,t){return s.call(P(n),t)})),e))for(;u1,null,!0)},removeData:function(n){return this.each((function(){sn.remove(this,n)}))}}),P.extend({queue:function(n,e,t){var l;if(n)return e=(e||"fx")+"queue",l=an.get(n,e),t&&(!l||Array.isArray(t)?l=an.access(n,e,P.makeArray(t)):l.push(t)),l||[]},dequeue:function(n,e){e=e||"fx";var t=P.queue(n,e),l=t.length,i=t.shift(),o=P._queueHooks(n,e);"inprogress"===i&&(i=t.shift(),l--),i&&("fx"===e&&t.unshift("inprogress"),delete o.stop,i.call(n,(function(){P.dequeue(n,e)}),o)),!l&&o&&o.empty.fire()},_queueHooks:function(n,e){var t=e+"queueHooks";return an.get(n,t)||an.access(n,t,{empty:P.Callbacks("once memory").add((function(){an.remove(n,[e+"queue",t])}))})}}),P.fn.extend({queue:function(n,e){var t=2;return"string"!=typeof n&&(e=n,n="fx",t--),arguments.length\x20\t\r\n\f]*)/i,Mn=/^$|^module$|\/(?:java|ecma)script/i;_n=A.createDocumentFragment().appendChild(A.createElement("div")),(Pn=A.createElement("input")).setAttribute("type","radio"),Pn.setAttribute("checked","checked"),Pn.setAttribute("name","t"),_n.appendChild(Pn),b.checkClone=_n.cloneNode(!0).cloneNode(!0).lastChild.checked,_n.innerHTML="",b.noCloneChecked=!!_n.cloneNode(!0).lastChild.defaultValue,_n.innerHTML="",b.option=!!_n.lastChild;var Sn={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function In(n,e){var t;return t=void 0!==n.getElementsByTagName?n.getElementsByTagName(e||"*"):void 0!==n.querySelectorAll?n.querySelectorAll(e||"*"):[],void 0===e||e&&O(n,e)?P.merge([n],t):t}function Tn(n,e){for(var t=0,l=n.length;t",""]);var En=/<|&#?\w+;/;function Dn(n,e,t,l,i){for(var o,r,u,a,s,c,d=e.createDocumentFragment(),p=[],h=0,g=n.length;h-1)i&&i.push(o);else if(s=bn(o),r=In(d.appendChild(o),"script"),s&&Tn(r),t)for(c=0;o=r[c++];)Mn.test(o.type||"")&&t.push(o);return d}var Rn=/^([^.]*)(?:\.(.+)|)/;function Ln(){return!0}function Nn(){return!1}function Bn(n,e,t,l,i,o){var r,u;if("object"==typeof e){for(u in"string"!=typeof t&&(l=l||t,t=void 0),e)Bn(n,u,t,l,e[u],o);return n}if(null==l&&null==i?(i=t,l=t=void 0):null==i&&("string"==typeof t?(i=l,l=void 0):(i=l,l=t,t=void 0)),!1===i)i=Nn;else if(!i)return n;return 1===o&&(r=i,(i=function(n){return P().off(n),r.apply(this,arguments)}).guid=r.guid||(r.guid=P.guid++)),n.each((function(){P.event.add(this,e,i,l,t)}))}function Fn(n,e,t){t?(an.set(n,e,!1),P.event.add(n,e,{namespace:!1,handler:function(n){var t,l=an.get(this,e);if(1&n.isTrigger&&this[e]){if(l)(P.event.special[e]||{}).delegateType&&n.stopPropagation();else if(l=a.call(arguments),an.set(this,e,l),this[e](),t=an.get(this,e),an.set(this,e,!1),l!==t)return n.stopImmediatePropagation(),n.preventDefault(),t}else l&&(an.set(this,e,P.event.trigger(l[0],l.slice(1),this)),n.stopPropagation(),n.isImmediatePropagationStopped=Ln)}})):void 0===an.get(n,e)&&P.event.add(n,e,Ln)}P.event={global:{},add:function(n,e,t,l,i){var o,r,u,a,s,c,d,p,h,g,f,m=an.get(n);if(rn(n))for(t.handler&&(t=(o=t).handler,i=o.selector),i&&P.find.matchesSelector(mn,i),t.guid||(t.guid=P.guid++),(a=m.events)||(a=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==P&&P.event.triggered!==e.type?P.event.dispatch.apply(n,arguments):void 0}),s=(e=(e||"").match(W)||[""]).length;s--;)h=f=(u=Rn.exec(e[s])||[])[1],g=(u[2]||"").split(".").sort(),h&&(d=P.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=P.event.special[h]||{},c=P.extend({type:h,origType:f,data:l,handler:t,guid:t.guid,selector:i,needsContext:i&&P.expr.match.needsContext.test(i),namespace:g.join(".")},o),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(n,l,g,r)||n.addEventListener&&n.addEventListener(h,r)),d.add&&(d.add.call(n,c),c.handler.guid||(c.handler.guid=t.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),P.event.global[h]=!0)},remove:function(n,e,t,l,i){var o,r,u,a,s,c,d,p,h,g,f,m=an.hasData(n)&&an.get(n);if(m&&(a=m.events)){for(s=(e=(e||"").match(W)||[""]).length;s--;)if(h=f=(u=Rn.exec(e[s])||[])[1],g=(u[2]||"").split(".").sort(),h){for(d=P.event.special[h]||{},p=a[h=(l?d.delegateType:d.bindType)||h]||[],u=u[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)c=p[o],!i&&f!==c.origType||t&&t.guid!==c.guid||u&&!u.test(c.namespace)||l&&l!==c.selector&&("**"!==l||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(n,c));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(n,g,m.handle)||P.removeEvent(n,h,m.handle),delete a[h])}else for(h in a)P.event.remove(n,h+e[s],t,l,!0);P.isEmptyObject(a)&&an.remove(n,"handle events")}},dispatch:function(n){var e,t,l,i,o,r,u=new Array(arguments.length),a=P.event.fix(n),s=(an.get(this,"events")||Object.create(null))[a.type]||[],c=P.event.special[a.type]||{};for(u[0]=a,e=1;e=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==n.type||!0!==s.disabled)){for(o=[],r={},t=0;t-1:P.find(i,this,null,[s]).length),r[i]&&o.push(l);o.length&&u.push({elem:s,handlers:o})}return s=this,a\s*$/g;function zn(n,e){return O(n,"table")&&O(11!==e.nodeType?e:e.firstChild,"tr")&&P(n).children("tbody")[0]||n}function Hn(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function qn(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function Yn(n,e){var t,l,i,o,r,u;if(1===e.nodeType){if(an.hasData(n)&&(u=an.get(n).events))for(i in an.remove(e,"handle events"),u)for(t=0,l=u[i].length;t1&&"string"==typeof g&&!b.checkClone&&Vn.test(g))return n.each((function(i){var o=n.eq(i);f&&(e[0]=g.call(this,i,o.html())),Wn(o,e,t,l)}));if(p&&(o=(i=Dn(e,n[0].ownerDocument,!1,n,l)).firstChild,1===i.childNodes.length&&(i=o),o||l)){for(u=(r=P.map(In(i,"script"),Hn)).length;d0&&Tn(r,!a&&In(n,"script")),u},cleanData:function(n){for(var e,t,l,i=P.event.special,o=0;void 0!==(t=n[o]);o++)if(rn(t)){if(e=t[an.expando]){if(e.events)for(l in e.events)i[l]?P.event.remove(t,l):P.removeEvent(t,l,e.handle);t[an.expando]=void 0}t[sn.expando]&&(t[sn.expando]=void 0)}}}),P.fn.extend({detach:function(n){return Qn(this,n,!0)},remove:function(n){return Qn(this,n)},text:function(n){return nn(this,(function(n){return void 0===n?P.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)}))}),null,n,arguments.length)},append:function(){return Wn(this,arguments,(function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||zn(this,n).appendChild(n)}))},prepend:function(){return Wn(this,arguments,(function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=zn(this,n);e.insertBefore(n,e.firstChild)}}))},before:function(){return Wn(this,arguments,(function(n){this.parentNode&&this.parentNode.insertBefore(n,this)}))},after:function(){return Wn(this,arguments,(function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)}))},empty:function(){for(var n,e=0;null!=(n=this[e]);e++)1===n.nodeType&&(P.cleanData(In(n,!1)),n.textContent="");return this},clone:function(n,e){return n=null!=n&&n,e=null==e?n:e,this.map((function(){return P.clone(this,n,e)}))},html:function(n){return nn(this,(function(n){var e=this[0]||{},t=0,l=this.length;if(void 0===n&&1===e.nodeType)return e.innerHTML;if("string"==typeof n&&!jn.test(n)&&!Sn[(On.exec(n)||["",""])[1].toLowerCase()]){n=P.htmlPrefilter(n);try{for(;t=0&&(a+=Math.max(0,Math.ceil(n["offset"+e[0].toUpperCase()+e.slice(1)]-o-a-u-.5))||0),a+s}function de(n,e,t){var l=Jn(n),i=(!b.boxSizingReliable()||t)&&"border-box"===P.css(n,"boxSizing",!1,l),o=i,r=ne(n,e,l),u="offset"+e[0].toUpperCase()+e.slice(1);if(Kn.test(r)){if(!t)return r;r="auto"}return(!b.boxSizingReliable()&&i||!b.reliableTrDimensions()&&O(n,"tr")||"auto"===r||!parseFloat(r)&&"inline"===P.css(n,"display",!1,l))&&n.getClientRects().length&&(i="border-box"===P.css(n,"boxSizing",!1,l),(o=u in n)&&(r=n[u])),(r=parseFloat(r)||0)+ce(n,e,t||(i?"border":"content"),o,l,r)+"px"}function pe(n,e,t,l,i){return new pe.prototype.init(n,e,t,l,i)}P.extend({cssHooks:{opacity:{get:function(n,e){if(e){var t=ne(n,"opacity");return""===t?"1":t}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(n,e,t,l){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var i,o,r,u=on(e),a=Xn.test(e),s=n.style;if(a||(e=oe(u)),r=P.cssHooks[e]||P.cssHooks[u],void 0===t)return r&&"get"in r&&void 0!==(i=r.get(n,!1,l))?i:s[e];"string"===(o=typeof t)&&(i=gn.exec(t))&&i[1]&&(t=An(n,e,i),o="number"),null!=t&&t==t&&("number"!==o||a||(t+=i&&i[3]||(P.cssNumber[u]?"":"px")),b.clearCloneStyle||""!==t||0!==e.indexOf("background")||(s[e]="inherit"),r&&"set"in r&&void 0===(t=r.set(n,t,l))||(a?s.setProperty(e,t):s[e]=t))}},css:function(n,e,t,l){var i,o,r,u=on(e);return Xn.test(e)||(e=oe(u)),(r=P.cssHooks[e]||P.cssHooks[u])&&"get"in r&&(i=r.get(n,!0,t)),void 0===i&&(i=ne(n,e,l)),"normal"===i&&e in ae&&(i=ae[e]),""===t||t?(o=parseFloat(i),!0===t||isFinite(o)?o||0:i):i}}),P.each(["height","width"],(function(n,e){P.cssHooks[e]={get:function(n,t,l){if(t)return!re.test(P.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?de(n,e,l):$n(n,ue,(function(){return de(n,e,l)}))},set:function(n,t,l){var i,o=Jn(n),r=!b.scrollboxSize()&&"absolute"===o.position,u=(r||l)&&"border-box"===P.css(n,"boxSizing",!1,o),a=l?ce(n,e,l,u,o):0;return u&&r&&(a-=Math.ceil(n["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ce(n,e,"border",!1,o)-.5)),a&&(i=gn.exec(t))&&"px"!==(i[3]||"px")&&(n.style[e]=t,t=P.css(n,e)),se(0,t,a)}}})),P.cssHooks.marginLeft=ee(b.reliableMarginLeft,(function(n,e){if(e)return(parseFloat(ne(n,"marginLeft"))||n.getBoundingClientRect().left-$n(n,{marginLeft:0},(function(){return n.getBoundingClientRect().left})))+"px"})),P.each({margin:"",padding:"",border:"Width"},(function(n,e){P.cssHooks[n+e]={expand:function(t){for(var l=0,i={},o="string"==typeof t?t.split(" "):[t];l<4;l++)i[n+fn[l]+e]=o[l]||o[l-2]||o[0];return i}},"margin"!==n&&(P.cssHooks[n+e].set=se)})),P.fn.extend({css:function(n,e){return nn(this,(function(n,e,t){var l,i,o={},r=0;if(Array.isArray(e)){for(l=Jn(n),i=e.length;r1)}}),P.Tween=pe,pe.prototype={constructor:pe,init:function(n,e,t,l,i,o){this.elem=n,this.prop=t,this.easing=i||P.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=l,this.unit=o||(P.cssNumber[t]?"":"px")},cur:function(){var n=pe.propHooks[this.prop];return n&&n.get?n.get(this):pe.propHooks._default.get(this)},run:function(n){var e,t=pe.propHooks[this.prop];return this.options.duration?this.pos=e=P.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):this.pos=e=n,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):pe.propHooks._default.set(this),this}},pe.prototype.init.prototype=pe.prototype,pe.propHooks={_default:{get:function(n){var e;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(e=P.css(n.elem,n.prop,""))&&"auto"!==e?e:0},set:function(n){P.fx.step[n.prop]?P.fx.step[n.prop](n):1!==n.elem.nodeType||!P.cssHooks[n.prop]&&null==n.elem.style[oe(n.prop)]?n.elem[n.prop]=n.now:P.style(n.elem,n.prop,n.now+n.unit)}}},pe.propHooks.scrollTop=pe.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},P.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"},P.fx=pe.prototype.init,P.fx.step={};var he,ge,fe=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function be(){ge&&(!1===A.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(be):t.setTimeout(be,P.fx.interval),P.fx.tick())}function ve(){return t.setTimeout((function(){he=void 0})),he=Date.now()}function ye(n,e){var t,l=0,i={height:n};for(e=e?1:0;l<4;l+=2-e)i["margin"+(t=fn[l])]=i["padding"+t]=n;return e&&(i.opacity=i.width=n),i}function Ae(n,e,t){for(var l,i=(Ce.tweeners[e]||[]).concat(Ce.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(n){return this.each((function(){P.removeAttr(this,n)}))}}),P.extend({attr:function(n,e,t){var l,i,o=n.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===n.getAttribute?P.prop(n,e,t):(1===o&&P.isXMLDoc(n)||(i=P.attrHooks[e.toLowerCase()]||(P.expr.match.bool.test(e)?we:void 0)),void 0!==t?null===t?void P.removeAttr(n,e):i&&"set"in i&&void 0!==(l=i.set(n,t,e))?l:(n.setAttribute(e,t+""),t):i&&"get"in i&&null!==(l=i.get(n,e))?l:null==(l=P.find.attr(n,e))?void 0:l)},attrHooks:{type:{set:function(n,e){if(!b.radioValue&&"radio"===e&&O(n,"input")){var t=n.value;return n.setAttribute("type",e),t&&(n.value=t),e}}}},removeAttr:function(n,e){var t,l=0,i=e&&e.match(W);if(i&&1===n.nodeType)for(;t=i[l++];)n.removeAttribute(t)}}),we={set:function(n,e,t){return!1===e?P.removeAttr(n,t):n.setAttribute(t,t),t}},P.each(P.expr.match.bool.source.match(/\w+/g),(function(n,e){var t=xe[e]||P.find.attr;xe[e]=function(n,e,l){var i,o,r=e.toLowerCase();return l||(o=xe[r],xe[r]=i,i=null!=t(n,e,l)?r:null,xe[r]=o),i}}));var _e=/^(?:input|select|textarea|button)$/i,Pe=/^(?:a|area)$/i;function ke(n){return(n.match(W)||[]).join(" ")}function Oe(n){return n.getAttribute&&n.getAttribute("class")||""}function Me(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(W)||[]}P.fn.extend({prop:function(n,e){return nn(this,P.prop,n,e,arguments.length>1)},removeProp:function(n){return this.each((function(){delete this[P.propFix[n]||n]}))}}),P.extend({prop:function(n,e,t){var l,i,o=n.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&P.isXMLDoc(n)||(e=P.propFix[e]||e,i=P.propHooks[e]),void 0!==t?i&&"set"in i&&void 0!==(l=i.set(n,t,e))?l:n[e]=t:i&&"get"in i&&null!==(l=i.get(n,e))?l:n[e]},propHooks:{tabIndex:{get:function(n){var e=P.find.attr(n,"tabindex");return e?parseInt(e,10):_e.test(n.nodeName)||Pe.test(n.nodeName)&&n.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(P.propHooks.selected={get:function(n){var e=n.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(n){var e=n.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),P.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){P.propFix[this.toLowerCase()]=this})),P.fn.extend({addClass:function(n){var e,t,l,i,o,r;return v(n)?this.each((function(e){P(this).addClass(n.call(this,e,Oe(this)))})):(e=Me(n)).length?this.each((function(){if(l=Oe(this),t=1===this.nodeType&&" "+ke(l)+" "){for(o=0;o-1;)t=t.replace(" "+i+" "," ");r=ke(t),l!==r&&this.setAttribute("class",r)}})):this:this.attr("class","")},toggleClass:function(n,e){var t,l,i,o,r=typeof n,u="string"===r||Array.isArray(n);return v(n)?this.each((function(t){P(this).toggleClass(n.call(this,t,Oe(this),e),e)})):"boolean"==typeof e&&u?e?this.addClass(n):this.removeClass(n):(t=Me(n),this.each((function(){if(u)for(o=P(this),i=0;i-1)return!0;return!1}});var Se=/\r/g;P.fn.extend({val:function(n){var e,t,l,i=this[0];return arguments.length?(l=v(n),this.each((function(t){var i;1===this.nodeType&&(null==(i=l?n.call(this,t,P(this).val()):n)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=P.map(i,(function(n){return null==n?"":n+""}))),(e=P.valHooks[this.type]||P.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=P.valHooks[i.type]||P.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(t=e.get(i,"value"))?t:"string"==typeof(t=i.value)?t.replace(Se,""):null==t?"":t:void 0}}),P.extend({valHooks:{option:{get:function(n){var e=P.find.attr(n,"value");return null!=e?e:ke(P.text(n))}},select:{get:function(n){var e,t,l,i=n.options,o=n.selectedIndex,r="select-one"===n.type,u=r?null:[],a=r?o+1:i.length;for(l=o<0?a:r?o:0;l-1)&&(t=!0);return t||(n.selectedIndex=-1),o}}}}),P.each(["radio","checkbox"],(function(){P.valHooks[this]={set:function(n,e){if(Array.isArray(e))return n.checked=P.inArray(P(n).val(),e)>-1}},b.checkOn||(P.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})}));var Ie=t.location,Te={guid:Date.now()},Ee=/\?/;P.parseXML=function(n){var e,l;if(!n||"string"!=typeof n)return null;try{e=(new t.DOMParser).parseFromString(n,"text/xml")}catch(i){}return l=e&&e.getElementsByTagName("parsererror")[0],e&&!l||P.error("Invalid XML: "+(l?P.map(l.childNodes,(function(n){return n.textContent})).join("\n"):n)),e};var De=/^(?:focusinfocus|focusoutblur)$/,Re=function(n){n.stopPropagation()};P.extend(P.event,{trigger:function(n,e,l,i){var o,r,u,a,s,c,d,p,h=[l||A],f=g.call(n,"type")?n.type:n,m=g.call(n,"namespace")?n.namespace.split("."):[];if(r=p=u=l=l||A,3!==l.nodeType&&8!==l.nodeType&&!De.test(f+P.event.triggered)&&(f.indexOf(".")>-1&&(m=f.split("."),f=m.shift(),m.sort()),s=f.indexOf(":")<0&&"on"+f,(n=n[P.expando]?n:new P.Event(f,"object"==typeof n&&n)).isTrigger=i?2:3,n.namespace=m.join("."),n.rnamespace=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=void 0,n.target||(n.target=l),e=null==e?[n]:P.makeArray(e,[n]),d=P.event.special[f]||{},i||!d.trigger||!1!==d.trigger.apply(l,e))){if(!i&&!d.noBubble&&!y(l)){for(a=d.delegateType||f,De.test(a+f)||(r=r.parentNode);r;r=r.parentNode)h.push(r),u=r;u===(l.ownerDocument||A)&&h.push(u.defaultView||u.parentWindow||t)}for(o=0;(r=h[o++])&&!n.isPropagationStopped();)p=r,n.type=o>1?a:d.bindType||f,(c=(an.get(r,"events")||Object.create(null))[n.type]&&an.get(r,"handle"))&&c.apply(r,e),(c=s&&r[s])&&c.apply&&rn(r)&&(n.result=c.apply(r,e),!1===n.result&&n.preventDefault());return n.type=f,i||n.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),e)||!rn(l)||s&&v(l[f])&&!y(l)&&((u=l[s])&&(l[s]=null),P.event.triggered=f,n.isPropagationStopped()&&p.addEventListener(f,Re),l[f](),n.isPropagationStopped()&&p.removeEventListener(f,Re),P.event.triggered=void 0,u&&(l[s]=u)),n.result}},simulate:function(n,e,t){var l=P.extend(new P.Event,t,{type:n,isSimulated:!0});P.event.trigger(l,null,e)}}),P.fn.extend({trigger:function(n,e){return this.each((function(){P.event.trigger(n,e,this)}))},triggerHandler:function(n,e){var t=this[0];if(t)return P.event.trigger(n,e,t,!0)}});var Le=/\[\]$/,Ne=/\r?\n/g,Be=/^(?:submit|button|image|reset|file)$/i,Fe=/^(?:input|select|textarea|keygen)/i;function je(n,e,t,l){var i;if(Array.isArray(e))P.each(e,(function(e,i){t||Le.test(n)?l(n,i):je(n+"["+("object"==typeof i&&null!=i?e:"")+"]",i,t,l)}));else if(t||"object"!==x(e))l(n,e);else for(i in e)je(n+"["+i+"]",e[i],t,l)}P.param=function(n,e){var t,l=[],i=function(n,e){var t=v(e)?e():e;l[l.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==t?"":t)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!P.isPlainObject(n))P.each(n,(function(){i(this.name,this.value)}));else for(t in n)je(t,n[t],e,i);return l.join("&")},P.fn.extend({serialize:function(){return P.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var n=P.prop(this,"elements");return n?P.makeArray(n):this})).filter((function(){var n=this.type;return this.name&&!P(this).is(":disabled")&&Fe.test(this.nodeName)&&!Be.test(n)&&(this.checked||!kn.test(n))})).map((function(n,e){var t=P(this).val();return null==t?null:Array.isArray(t)?P.map(t,(function(n){return{name:e.name,value:n.replace(Ne,"\r\n")}})):{name:e.name,value:t.replace(Ne,"\r\n")}})).get()}});var Ve=/%20/g,Ue=/#.*$/,ze=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)$/gm,qe=/^(?:GET|HEAD)$/,Ye=/^\/\//,Ge={},We={},Qe="*/".concat("*"),Ke=A.createElement("a");function Xe(n){return function(e,t){"string"!=typeof e&&(t=e,e="*");var l,i=0,o=e.toLowerCase().match(W)||[];if(v(t))for(;l=o[i++];)"+"===l[0]?(l=l.slice(1)||"*",(n[l]=n[l]||[]).unshift(t)):(n[l]=n[l]||[]).push(t)}}function Je(n,e,t,l){var i={},o=n===We;function r(u){var a;return i[u]=!0,P.each(n[u]||[],(function(n,u){var s=u(e,t,l);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(e.dataTypes.unshift(s),r(s),!1)})),a}return r(e.dataTypes[0])||!i["*"]&&r("*")}function $e(n,e){var t,l,i=P.ajaxSettings.flatOptions||{};for(t in e)void 0!==e[t]&&((i[t]?n:l||(l={}))[t]=e[t]);return l&&P.extend(!0,n,l),n}Ke.href=Ie.href,P.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ie.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ie.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":P.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,e){return e?$e($e(n,P.ajaxSettings),e):$e(P.ajaxSettings,n)},ajaxPrefilter:Xe(Ge),ajaxTransport:Xe(We),ajax:function(n,e){"object"==typeof n&&(e=n,n=void 0),e=e||{};var l,i,o,r,u,a,s,c,d,p,h=P.ajaxSetup({},e),g=h.context||h,f=h.context&&(g.nodeType||g.jquery)?P(g):P.event,m=P.Deferred(),b=P.Callbacks("once memory"),v=h.statusCode||{},y={},C={},w="canceled",x={readyState:0,getResponseHeader:function(n){var e;if(s){if(!r)for(r={};e=He.exec(o);)r[e[1].toLowerCase()+" "]=(r[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=r[n.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(n,e){return null==s&&(n=C[n.toLowerCase()]=C[n.toLowerCase()]||n,y[n]=e),this},overrideMimeType:function(n){return null==s&&(h.mimeType=n),this},statusCode:function(n){var e;if(n)if(s)x.always(n[x.status]);else for(e in n)v[e]=[v[e],n[e]];return this},abort:function(n){var e=n||w;return l&&l.abort(e),_(0,e),this}};if(m.promise(x),h.url=((n||h.url||Ie.href)+"").replace(Ye,Ie.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(W)||[""],null==h.crossDomain){a=A.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=Ke.protocol+"//"+Ke.host!=a.protocol+"//"+a.host}catch(k){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=P.param(h.data,h.traditional)),Je(Ge,h,e,x),s)return x;for(d in(c=P.event&&h.global)&&0==P.active++&&P.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qe.test(h.type),i=h.url.replace(Ue,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ve,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Ee.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(ze,"$1"),p=(Ee.test(i)?"&":"?")+"_="+Te.guid+++p),h.url=i+p),h.ifModified&&(P.lastModified[i]&&x.setRequestHeader("If-Modified-Since",P.lastModified[i]),P.etag[i]&&x.setRequestHeader("If-None-Match",P.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Qe+"; q=0.01":""):h.accepts["*"]),h.headers)x.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(g,x,h)||s))return x.abort();if(w="abort",b.add(h.complete),x.done(h.success),x.fail(h.error),l=Je(We,h,e,x)){if(x.readyState=1,c&&f.trigger("ajaxSend",[x,h]),s)return x;h.async&&h.timeout>0&&(u=t.setTimeout((function(){x.abort("timeout")}),h.timeout));try{s=!1,l.send(y,_)}catch(k){if(s)throw k;_(-1,k)}}else _(-1,"No Transport");function _(n,e,r,a){var d,p,y,A,C,w=e;s||(s=!0,u&&t.clearTimeout(u),l=void 0,o=a||"",x.readyState=n>0?4:0,d=n>=200&&n<300||304===n,r&&(A=function(n,e,t){for(var l,i,o,r,u=n.contents,a=n.dataTypes;"*"===a[0];)a.shift(),void 0===l&&(l=n.mimeType||e.getResponseHeader("Content-Type"));if(l)for(i in u)if(u[i]&&u[i].test(l)){a.unshift(i);break}if(a[0]in t)o=a[0];else{for(i in t){if(!a[0]||n.converters[i+" "+a[0]]){o=i;break}r||(r=i)}o=o||r}if(o)return o!==a[0]&&a.unshift(o),t[o]}(h,x,r)),!d&&P.inArray("script",h.dataTypes)>-1&&P.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),A=function(n,e,t,l){var i,o,r,u,a,s={},c=n.dataTypes.slice();if(c[1])for(r in n.converters)s[r.toLowerCase()]=n.converters[r];for(o=c.shift();o;)if(n.responseFields[o]&&(t[n.responseFields[o]]=e),!a&&l&&n.dataFilter&&(e=n.dataFilter(e,n.dataType)),a=o,o=c.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(r=s[a+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(r=s[a+" "+u[0]]||s["* "+u[0]])){!0===r?r=s[i]:!0!==s[i]&&(o=u[0],c.unshift(u[1]));break}if(!0!==r)if(r&&n.throws)e=r(e);else try{e=r(e)}catch(k){return{state:"parsererror",error:r?k:"No conversion from "+a+" to "+o}}}return{state:"success",data:e}}(h,A,x,d),d?(h.ifModified&&((C=x.getResponseHeader("Last-Modified"))&&(P.lastModified[i]=C),(C=x.getResponseHeader("etag"))&&(P.etag[i]=C)),204===n||"HEAD"===h.type?w="nocontent":304===n?w="notmodified":(w=A.state,p=A.data,d=!(y=A.error))):(y=w,!n&&w||(w="error",n<0&&(n=0))),x.status=n,x.statusText=(e||w)+"",d?m.resolveWith(g,[p,w,x]):m.rejectWith(g,[x,w,y]),x.statusCode(v),v=void 0,c&&f.trigger(d?"ajaxSuccess":"ajaxError",[x,h,d?p:y]),b.fireWith(g,[x,w]),c&&(f.trigger("ajaxComplete",[x,h]),--P.active||P.event.trigger("ajaxStop")))}return x},getJSON:function(n,e,t){return P.get(n,e,t,"json")},getScript:function(n,e){return P.get(n,void 0,e,"script")}}),P.each(["get","post"],(function(n,e){P[e]=function(n,t,l,i){return v(t)&&(i=i||l,l=t,t=void 0),P.ajax(P.extend({url:n,type:e,dataType:i,data:t,success:l},P.isPlainObject(n)&&n))}})),P.ajaxPrefilter((function(n){var e;for(e in n.headers)"content-type"===e.toLowerCase()&&(n.contentType=n.headers[e]||"")})),P._evalUrl=function(n,e,t){return P.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){P.globalEval(n,e,t)}})},P.fn.extend({wrapAll:function(n){var e;return this[0]&&(v(n)&&(n=n.call(this[0])),e=P(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n})).append(this)),this},wrapInner:function(n){return v(n)?this.each((function(e){P(this).wrapInner(n.call(this,e))})):this.each((function(){var e=P(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)}))},wrap:function(n){var e=v(n);return this.each((function(t){P(this).wrapAll(e?n.call(this,t):n)}))},unwrap:function(n){return this.parent(n).not("body").each((function(){P(this).replaceWith(this.childNodes)})),this}}),P.expr.pseudos.hidden=function(n){return!P.expr.pseudos.visible(n)},P.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},P.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(n){}};var Ze={0:200,1223:204},nt=P.ajaxSettings.xhr();b.cors=!!nt&&"withCredentials"in nt,b.ajax=nt=!!nt,P.ajaxTransport((function(n){var e,l;if(b.cors||nt&&!n.crossDomain)return{send:function(i,o){var r,u=n.xhr();if(u.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(r in n.xhrFields)u[r]=n.xhrFields[r];for(r in n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(r,i[r]);e=function(n){return function(){e&&(e=l=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===n?u.abort():"error"===n?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o(Ze[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=e(),l=u.onerror=u.ontimeout=e("error"),void 0!==u.onabort?u.onabort=l:u.onreadystatechange=function(){4===u.readyState&&t.setTimeout((function(){e&&l()}))},e=e("abort");try{u.send(n.hasContent&&n.data||null)}catch(a){if(e)throw a}},abort:function(){e&&e()}}})),P.ajaxPrefilter((function(n){n.crossDomain&&(n.contents.script=!1)})),P.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return P.globalEval(n),n}}}),P.ajaxPrefilter("script",(function(n){void 0===n.cache&&(n.cache=!1),n.crossDomain&&(n.type="GET")})),P.ajaxTransport("script",(function(n){var e,t;if(n.crossDomain||n.scriptAttrs)return{send:function(l,i){e=P("