(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"++Gu":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='\n \n '+(null==(l=n.element)?"":l)+"\n \n ",n.disabled||(e+='\n \n \n \n '),e+="\n\n"}},"+0iv":function(n,l,e){"use strict";var t=e("qDJ8");function i(n){return!0===t(n)&&"[object Object]"===Object.prototype.toString.call(n)}n.exports=function(n){var l,e;return!1!==i(n)&&("function"==typeof(l=n.constructor)&&(!1!==i(e=l.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf")))}},"+2oP":function(n,l,e){"use strict";var t=e("I+eb"),i=e("6LWA"),o=e("aO6C"),r=e("hh1v"),u=e("I8vh"),a=e("B/qT"),s=e("/GqU"),c=e("hBjN"),d=e("tiKp"),p=e("Hd5f"),g=e("82ph"),h=p("slice"),m=d("species"),f=Array,b=Math.max;t({target:"Array",proto:!0,forced:!h},{slice:function(n,l){var e,t,d,p=s(this),h=a(p),v=u(n,h),y=u(void 0===l?h:l,h);if(i(p)&&(e=p.constructor,(o(e)&&(e===f||i(e.prototype))||r(e)&&null===(e=e[m]))&&(e=void 0),e===f||void 0===e))return g(p,v,y);for(t=new(void 0===e?f:e)(b(y-v,0)),d=0;v-1}},"+K+b":function(n,l,e){var t=e("JHRd");n.exports=function(n){var l=new n.constructor(n.byteLength);return new t(l).set(new t(n)),l}},"+M1K":function(n,l,e){"use strict";var t=e("WSbT"),i=RangeError;n.exports=function(n){var l=t(n);if(l<0)throw new i("The argument can't be less than 0");return l}},"+Ouw":function(n,l,e){"use strict";e("eoL8"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t=o(e("fyAk")),i=o(e("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,l){for(var e=0;e\n \n ',n.component.collapsible&&(e+='\n \n '),e+="\n ",n.component.hideLabel&&!n.builder||(e+="\n "+(null==(l=n.t(n.component.title,{_userInput:!0}))?"":l)+"\n "),e+="\n ",n.component.tooltip&&(e+='\n \n '),e+="\n \n \n "),e+="\n ",n.collapsed&&!n.builder||(e+='\n
\n '+(null==(l=n.children)?"":l)+"\n
\n "),e+="\n\n"}},"+c4W":function(n,l,e){var t=e("711d"),i=e("4/ic"),o=e("9ggG"),r=e("9Nap");n.exports=function(n){return o(n)?t(r(n)):i(n)}},"+dm0":function(n,l,e){"use strict";function t(n){return(t="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)}e("07d7"),e("SuFq"),e("uL8W"),e("eoL8"),e("XUE8"),e("5DmW"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ma9I"),e("ExoC"),e("wLYn"),e("NBAS");var i,o=(i=e("0xui"))&&i.__esModule?i:{default:i};function r(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function u(n,l){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{};return this.updateValue(n,l)}},{key:"getValue",value:function(){return this.dataValue}}])&&u(l.prototype,e),t&&u(l,t),Object.defineProperty(l,"prototype",{writable:!1}),s}(o.default);l.default=h},"+fIg":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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 l,e=n.options;return"pdf"===(null==e||null===(l=e.editForm)||void 0===l?void 0:l.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,l,e){var t=e("dTAl"),i=e("LcsW"),o=e("6sVZ");n.exports=function(n){return"function"!=typeof n.constructor||o(n)?{}:t(i(n))}},"+nhl":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='\n '+(null==(l=n.t(n.component.label,{_userInput:!0}))?"":l)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(e+='\n , '+(null==(l=n.t("numeric only"))?"":l)+",\n "),e+="\n ",n.component.tooltip&&(e+='\n \n '),e+="\n\n"}},"+o8x":function(n,l,e){"use strict";e("XUE8"),e("5DmW"),e("SuFq"),e("uL8W"),e("eoL8"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("ftMj"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("J30X"),e("2B1R"),e("tkto"),e("fbCW"),e("07d7"),e("zKZe"),e("E9XD"),e("ma9I"),e("QWBl"),e("FZtP"),e("sMBO"),e("pDQq"),e("ExoC"),e("wLYn"),e("NBAS");var t=a(e("3Iyw")),i=a(e("qkmR")),o=a(e("LvDl")),r=a(e("uhBA")),u=e("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,l){for(var e=0;e0&&(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=g({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(C(d.prototype),"dataValue",n,this,!0)}},{key:"defaultValue",get:function(){var n=v(C(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(C(d.prototype),"getComponentsContainer",this).call(this)}},{key:"iteratableRows",get:function(){return this.rows.map((function(n){return Object.keys(n).map((function(l){return{components:n[l],data:n[l].dataValue}}))}))}},{key:"componentContext",value:function(n){return this.iteratableRows[n.row].find((function(l){return l.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),l=Object.assign({},this.component.valueComponent);return n.hideLabel=!1,l.hideLabel=!1,this.component.keyBeforeValue?[n,l]:[l,n]}},{key:"getRowKey",value:function(n){var l=Object.keys(this.dataValue);return l[n]||(l[n]=(0,u.uniqueKey)(this.dataValue,this.defaultRowKey)),l[n]}},{key:"defaultRowKey",get:function(){return"key"}},{key:"setRowComponentsData",value:function(n,l){o.default.each(this.rows[n],(function(e){"__key"===e.key?e.data={__key:Object.keys(l)[n]}:e.data=l}))}},{key:"getValueAsString",value:function(n,l){var e=this;if(null!=l&&l.email&&this.visible&&!this.skipInEmail&&o.default.isObject(n)){var t='\n \n \n ';return t=Object.keys(n).reduce((function(t,i){return t+='\n \n \n \n \n ")}),t),t+="\n \n
'.concat(i,'').concat(e.getView(n[i],l),"
\n "}return o.default.isEmpty(n)?"":null!=l&&l.modalPreview?(delete l.modalPreview,this.getDataValueAsTable(n,l)):"object"===s(n)?"[Complex Data]":n}},{key:"getDataValueAsTable",value:function(n,l){var e=this,t='\n \n \n ';return this.visible&&o.default.isObject(n)&&Object.keys(n).forEach((function(i){t+='\n \n \n \n \n ")})),t+="\n \n
'.concat(i,'').concat(e.getView(n[i],l),"
\n "}},{key:"createRowComponents",value:function(n,l){var e=this,t=this.builderMode?this.valueKey:this.getRowKey(l),i=o.default.clone(this.options);i.events=new r.default,i.name+="[".concat(l,"]"),i.row="".concat(l);var a={};a.__key=this.createComponent(this.keySchema,i,{__key:this.builderMode?this.defaultRowKey:t}),a.__key.on("componentChange",(function(n){var l=e.dataValue,i=(0,u.uniqueKey)(l,n.value);l[i]=l[t],delete l[t];var o=a[e.valueKey];o.component.key=i,o.path=e.calculateComponentPath(o),t=i}));var s=o.default.clone(this.component.valueComponent);s.key=t;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 l=Object.keys(this.dataValue);l[n]&&delete this.dataValue[l[n]],this.rows.splice(n,1),this.redraw(),this.triggerChange()}},{key:"setValue",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=this.hasChanged(n,this.dataValue);return this.dataValue=n,this.createRows(),this.updateOnChange(l,e),e}},{key:"checkColumns",value:function(){return{rebuild:!1,show:!0}}}])&&c(l.prototype,e),i&&c(l,i),Object.defineProperty(l,"prototype",{writable:!1}),d}(i.default);l.default=w},"+s0g":function(n,l,e){!function(n){"use strict";var l="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),e="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^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,t){return n?/-MMM-/.test(t)?e[n.month()]:l[n.month()]:l},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:t,longMonthsParse:t,shortMonthsParse:t,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}})}(e("wd/R"))},"+sAJ":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e=0}},"/442":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){var t=e("NykK"),i=e("ExA7");n.exports=function(n){return"symbol"==typeof n||i(n)&&"[object Symbol]"==t(n)}},"/Bu5":function(n,l,e){"use strict";var t=e("90hW"),i=Math.abs;n.exports=function(n,l,e,o){var r=+n,u=i(r),a=t(r);if(ue||c!=c?a*(1/0):a*c}},"/GqU":function(n,l,e){"use strict";var t=e("RK3t"),i=e("HYAF");n.exports=function(n){return t(i(n))}},"/OPJ":function(n,l,e){"use strict";var t=e("0Dky"),i=e("2oRo").RegExp;n.exports=t((function(){var n=i(".","s");return!(n.dotAll&&n.test("\n")&&"s"===n.flags)}))},"/PH2":function(n,l,e){"use strict";e.d(l,"a",(function(){return r}));var t=e("mrSG"),i=e("MGBS"),o=e("zotm");function r(){for(var n=[],l=0;l0){var r=o.indexOf(e);-1!==r&&o.splice(r,1)}},l.prototype.notifyComplete=function(){},l.prototype._next=function(n){if(0===this.toRespond.length){var l=[n].concat(this.values);this.project?this._tryProject(l):this.destination.next(l)}},l.prototype._tryProject=function(n){var l;try{l=this.project.apply(this,n)}catch(e){return void this.destination.error(e)}this.destination.next(l)},l}(i.a)},"/Pey":function(n,l,e){"use strict";function t(n){return(t="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)}e("07d7"),e("SuFq"),e("uL8W"),e("eoL8"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ExoC"),e("wLYn"),e("NBAS");var i=r(e("pxaw")),o=r(e("LvDl"));function r(n){return n&&n.__esModule?n:{default:n}}function u(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function a(n,l){for(var e=0;e\n
\n \n\n'}},"/U9Q":function(n,l,e){"use strict";function t(n){return(t="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)}e("SuFq"),e("uL8W"),e("eoL8"),e("XUE8"),e("5DmW"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("ftMj"),e("tkto"),e("QWBl"),e("FZtP"),e("27RR"),e("HRxU"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("rB9j"),e("UxlC"),e("brp2"),e("DQNa"),e("TeQF"),e("07d7"),e("ma9I"),e("R5XZ"),e("2B1R"),e("Rm1S"),e("Rfxz"),e("yq1k"),e("JTJg"),e("fbCW"),e("J30X"),e("JfAA"),e("wLYn"),e("ExoC"),e("NBAS");var i=e("1eKU"),o=s(e("/QC6")),r=e("5P0i"),u=s(e("wd/R")),a=s(e("LvDl"));function s(n){return n&&n.__esModule?n:{default:n}}function c(n,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function d(n){for(var l=1;l=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 e.initFlatpickr(l)}));e.initFlatpickr(l)}}))})).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(l){return!n.disableWeekends(l)}}},{key:"disableFunction",get:function(){var n=this;return function(l){return n.evaluate("return ".concat(n.settings.disableFunction),{date:l})}}},{key:"timezone",get:function(){return this.componentInstance.getTimezone(this.settings)}},{key:"defaultSettings",get:function(){return s.defaultSettings}},{key:"addSuffix",value:function(n){var l=this;return this.addEventListener(n,"click",(function(){setTimeout((function(){l.calendar&&(!l.calendar.isOpen&&Date.now()-l.closedOn>200?l.calendar.open():l.calendar.isOpen&&l.calendar.close())}),0)})),n}},{key:"disabled",set:function(n){h(_(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 l=/\d{4}-\d{2}-\d{2}/g,e=n.match(l);if(e&&e.length)return 1===e.length?n.match(l)[0]:{from:n.match(l)[0],to:n.match(l)[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,l,e){return e?(0,r.momentDate)(n,this.valueFormat,this.timezone).format((0,r.convertFormatToMoment)(l)):(0,u.default)(n).format((0,r.convertFormatToMoment)(l))}},{key:"getValue",value:function(){if(!this.calendar)return b(_(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(_(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 l="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(_(s.prototype),"setValue",this).call(this,n);var e=this.loadZones();n?l||!this.settings.readOnly||e?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,l){var e=l||this.dateFormat,t=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)(t)).format((0,r.convertFormatToMoment)(t)):(0,r.formatDate)(this.timezonesUrl,n,e,this.timezone,(0,r.convertFormatToMoment)(t))}},{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 l,e,t,i,o;return!n||!(null===(l=this.calendar)||void 0===l||null===(e=l.config)||void 0===e||null===(t=e.appendTo)||void 0===t||!t.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 l=this;if(this.calendar=new n(this._input,d(d({},this.settings),{},{disableMobile:!0})),this.calendar.altInput.addEventListener("input",(function(n){l.settings.allowInput&&l.settings.currentValue!==n.target.value&&(l.settings.manualInputValue=n.target.value,l.settings.isManuallyOverriddenValue=!0,l.settings.currentValue=n.target.value),""===n.target.value&&l.calendar.selectedDates.length>0?(l.settings.wasDefaultValueChanged=!0,l.settings.defaultValue=n.target.value,l.calendar.clear()):l.settings.wasDefaultValueChanged=!1})),this.settings.readOnly||a.default.some(["MMMM"],(function(n){return a.default.includes(l.settings.format,n)}))||this.setInputMask(this.calendar._input,(0,r.convertFormatToMask)(this.settings.format)),x){var e=this.calendar._handlers.find((function(n){var e=n.event,t=n.element;return"blur"===e&&t===l.calendar._input}));this.calendar._input.removeEventListener("blur",e.handler),this.addEventListener(this.calendar._input,"blur",(function(n){var e=l.settings.shadowRoot?l.settings.shadowRoot.activeElement:document.activeElement,t=n.relatedTarget?n.relatedTarget:e;n.target===l.calendar._input&&!l.isCalendarElement(t)&&l.calendar.setDate(l.calendar._input.value,!0,n.target===l.calendar.altInput?l.calendar.config.altFormat:l.calendar.config.dateFormat)}))}this.addEventListener(this.calendar._input,"blur",(function(n){var e=l.settings.shadowRoot?l.settings.shadowRoot.activeElement:document.activeElement,t=n.relatedTarget?n.relatedTarget:e;if(x&&!t||l.isCalendarElement(t)){if(!l.calendar.input.value&&l.calendar.config.noCalendar){var i,o,a,s,c=(0,u.default)({hour:null===(i=l.calendar)||void 0===i||null===(o=i.config)||void 0===o?void 0:o.defaultHour,minute:null===(a=l.calendar)||void 0===a||null===(s=a.config)||void 0===s?void 0:s.defaultMinute}).toDate();l.calendar.setDate(c,!0,l.settings.format)}}else{var d=l.calendar.input.value,p=d?(0,u.default)(l.calendar.input.value,(0,r.convertFormatToMoment)(l.valueFormat)).toDate():d;l.calendar.setDate(p,!0,l.settings.altFormat)}})),this.addEventListener(this.calendar.altInput,"keydown",(function(n){13===n.keyCode&&l.calendar.isOpen&&(l.calendar.close(),n.stopPropagation())})),this.setValue(this.componentValue)}},{key:"initShortcutButtonsPlugin",value:function(n){var l=this;this.settings.plugins=[n({button:this.component.shortcutButtons.map((function(n){return{label:n.label,attributes:n.attribute}})),onClick:function(n){var e=l.component.shortcutButtons[n].onClick,t=l.evaluate(e,{date:new Date},"date");l.calendar.setDate(t,!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 l=this;return function(e,t){return l.settings.readOnly&&t===l.settings.altFormat?!l.settings.enableTime||l.loadZones()?n.formatDate(e,t):new Date(l.getValue()).toString()===e.toString()?(0,r.formatOffset)(l.timezonesUrl,n.formatDate.bind(n),new Date(l.componentValue),t,l.timezone):(0,r.formatOffset)(l.timezonesUrl,n.formatDate.bind(n),e,t,l.timezone):n.formatDate(e,t)}}},{key:"destroy",value:function(){b(_(s.prototype),"destroy",this).call(this),this.calendar&&this.calendar.destroy()}}])&&p(l.prototype,e),t&&p(l,t),Object.defineProperty(l,"prototype",{writable:!1}),s}(o.default);l.default=P},"/WYv":function(n,l,e){"use strict";function t(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}e.d(l,"a",(function(){return t}))},"/X5v":function(n,l,e){!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 l=n%10;return n+(1==~~(n%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(e("wd/R"))},"/b8u":function(n,l,e){"use strict";var t=e("BPiQ");n.exports=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(n,l,e){"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,l,e){"use strict";var t,i=this&&this.__extends||(t=function(n,l){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var e in l)l.hasOwnProperty(e)&&(n[e]=l[e])})(n,l)},function(n,l){function e(){this.constructor=n}t(n,l),n.prototype=null===l?Object.create(l):(e.prototype=l.prototype,new e)});Object.defineProperty(l,"__esModule",{value:!0});var o=function(){function n(){this.findIter=function(n){for(var l=this._root,e=this.iterator();null!==l;){var t=this._comparator(n,l.data);if(0===t)return e._cursor=l,e;e._ancestors.push(l),l=l.get_child(t>0)}return null}}return n.prototype.clear=function(){this._root=null,this.size=0},n.prototype.find=function(n){for(var l=this._root;null!==l;){var e=this._comparator(n,l.data);if(0===e)return l.data;l=l.get_child(e>0)}return null},n.prototype.lowerBound=function(n){return this._bound(n,this._comparator)},n.prototype.upperBound=function(n){var l=this._comparator;return this._bound(n,(function(n,e){return l(e,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 l,e=this.iterator();null!==(l=e.next());)n(l)},n.prototype.reach=function(n){for(var l,e=this.iterator();null!==(l=e.prev());)n(l)},n.prototype._bound=function(n,l){for(var e=this._root,t=this.iterator();null!==e;){var i=this._comparator(n,e.data);if(0===i)return t._cursor=e,t;t._ancestors.push(e),e=e.get_child(i>0)}for(var o=t._ancestors.length-1;o>=0;--o)if(l(n,(e=t._ancestors[o]).data)>0)return t._cursor=e,t._ancestors.length=o,t;return t._ancestors.length=0,t},n}();l.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 l;if(null===this._cursor.right)do{if(l=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.right===l);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 l;if(null===this._cursor.left)do{if(l=this._cursor,!this._ancestors.length){this._cursor=null;break}this._cursor=this._ancestors.pop()}while(this._cursor.left===l);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}();l.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,l){n?this.right=l:this.left=l},n}(),a=function(n){function l(l){var e=n.call(this)||this;return e._root=null,e._comparator=l,e.size=0,e}return i(l,n),l.prototype.insert=function(n){var e=!1;if(null===this._root)this._root=new u(n),e=!0,this.size++;else{var t=new u(void 0),i=!1,o=!1,r=null,a=t,s=null,c=this._root;for(a.right=this._root;;){if(null===c?(c=new u(n),s.set_child(i,c),e=!0,this.size++):l.is_red(c.left)&&l.is_red(c.right)&&(c.red=!0,c.left.red=!1,c.right.red=!1),l.is_red(c)&&l.is_red(s)){var d=a.right===r;c===s.get_child(o)?a.set_child(d,l.single_rotate(r,!o)):a.set_child(d,l.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=t.right}return this._root.red=!1,e},l.prototype.remove=function(n){if(null===this._root)return!1;var e=new u(void 0),t=e;t.right=this._root;for(var i=null,o=null,r=null,a=!0;null!==t.get_child(a);){var s=a;o=i,i=t,t=t.get_child(a);var c=this._comparator(n,t.data);if(a=c>0,0===c&&(r=t),!l.is_red(t)&&!l.is_red(t.get_child(a)))if(l.is_red(t.get_child(!a))){var d=l.single_rotate(t,a);i.set_child(s,d),i=d}else if(!l.is_red(t.get_child(!a))){var p=i.get_child(!s);if(null!==p)if(l.is_red(p.get_child(!s))||l.is_red(p.get_child(s))){var g=o.right===i;l.is_red(p.get_child(s))?o.set_child(g,l.double_rotate(i,s)):l.is_red(p.get_child(!s))&&o.set_child(g,l.single_rotate(i,s));var h=o.get_child(g);h.red=!0,t.red=!0,h.left.red=!1,h.right.red=!1}else i.red=!1,p.red=!0,t.red=!0}}return null!==r&&(r.data=t.data,i.set_child(i.right===t,t.get_child(null===t.left)),this.size--),this._root=e.right,null!==this._root&&(this._root.red=!1),null!==r},l.is_red=function(n){return null!==n&&n.red},l.single_rotate=function(n,l){var e=n.get_child(!l);return n.set_child(!l,e.get_child(l)),e.set_child(l,n),n.red=!0,e.red=!1,e},l.double_rotate=function(n,e){return n.set_child(!e,l.single_rotate(n.get_child(!e),!e)),l.single_rotate(n,e)},l}(o);l.RBTree=a},"/p9O":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";return e+=''+(null==(l=n.content)?"":l)+"\n"}},"/tGE":function(n,l){},"/u3H":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e\n \n \n \n \n \n \n \n\n"}},0:function(n,l,e){n.exports=e("zUnb")},"0/uQ":function(n,l,e){"use strict";e.d(l,"a",(function(){return h}));var t=e("6blF"),i=e("/WYv"),o=e("2ePl"),r=e("xTla");var u=e("En8+");var a=e("IUTb"),s=e("pugT"),c=e("S5XQ");var d=e("u67D");var p=e("JcRv");var g=e("Fxb1");function h(n,l){if(!l)return n instanceof t.a?n:new t.a(Object(g.a)(n));if(null!=n){if(function(n){return n&&"function"==typeof n[r.a]}(n))return function(n,l){return l?new t.a((function(e){var t=new s.a;return t.add(l.schedule((function(){var i=n[r.a]();t.add(i.subscribe({next:function(n){t.add(l.schedule((function(){return e.next(n)})))},error:function(n){t.add(l.schedule((function(){return e.error(n)})))},complete:function(){t.add(l.schedule((function(){return e.complete()})))}}))}))),t})):new t.a(Object(p.a)(n))}(n,l);if(Object(i.a)(n))return function(n,l){return l?new t.a((function(e){var t=new s.a;return t.add(l.schedule((function(){return n.then((function(n){t.add(l.schedule((function(){e.next(n),t.add(l.schedule((function(){return e.complete()})))})))}),(function(n){t.add(l.schedule((function(){return e.error(n)})))}))}))),t})):new t.a(Object(c.a)(n))}(n,l);if(Object(o.a)(n))return Object(a.a)(n,l);if(function(n){return n&&"function"==typeof n[u.a]}(n)||"string"==typeof n)return function(n,l){if(!n)throw new Error("Iterable cannot be null");return l?new t.a((function(e){var t,i=new s.a;return i.add((function(){t&&"function"==typeof t.return&&t.return()})),i.add(l.schedule((function(){t=n[u.a](),i.add(l.schedule((function(){if(!e.closed){var n,l;try{var i=t.next();n=i.value,l=i.done}catch(o){return void e.error(o)}l?e.complete():(e.next(n),this.schedule())}})))}))),i})):new t.a(Object(d.a)(n))}(n,l)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}},"01rr":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("wksE");l.default={form:t.default}},"03A+":function(n,l,e){var t=e("JTzB"),i=e("ExA7"),o=Object.prototype,r=o.hasOwnProperty,u=o.propertyIsEnumerable,a=t(function(){return arguments}())?t:function(n){return i(n)&&r.call(n,"callee")&&!u.call(n,"callee")};n.exports=a},"07d7":function(n,l,e){"use strict";var t=e("AO7/"),i=e("yy0I"),o=e("sEFX");t||i(Object.prototype,"toString",o,{unsafe:!0})},"09nb":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("bv23");l.default={form:t.default}},"0BK2":function(n,l,e){"use strict";n.exports={}},"0Cz8":function(n,l,e){var t=e("Xi7e"),i=e("ebwN"),o=e("e4Nc");n.exports=function(n,l){var e=this.__data__;if(e instanceof t){var r=e.__data__;if(!i||r.length<199)return r.push([n,l]),this.size=++e.size,this;e=this.__data__=new o(r)}return e.set(n,l),this.size=e.size,this}},"0Dky":function(n,l,e){"use strict";n.exports=function(n){try{return!!n()}catch(l){return!0}}},"0GbY":function(n,l,e){"use strict";var t=e("2oRo"),i=e("Fib7"),o=function(n){return i(n)?n:void 0};n.exports=function(n,l){return arguments.length<2?o(t[n]):t[n]&&t[n][l]}},"0IpN":function(n,l,e){"use strict";function t(n){return(t="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)}e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("eoL8"),e("tkto"),e("5DmW"),e("QWBl"),e("FZtP"),e("27RR"),e("HRxU"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("tjZM"),e("lEou"),e("DEfu"),e("I9xj"),e("uL8W"),e("NBAS"),e("sMBO"),e("ExoC"),e("Junv"),e("+2oP"),Object.defineProperty(l,"__esModule",{value:!0}),l.setXhrHeaders=l.default=void 0,e("oVuX"),e("2B1R"),e("TeQF"),e("07d7"),e("SYor"),e("5s+n"),e("ma9I");var i=r(e("CFBA")),o=r(e("Zsd2"));function r(n){return n&&n.__esModule?n:{default:n}}function u(){u=function(){return n};var n={},l=Object.prototype,e=l.hasOwnProperty,i=Object.defineProperty||function(n,l,e){n[l]=e.value},o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(n,l,e){return Object.defineProperty(n,l,{value:e,enumerable:!0,configurable:!0,writable:!0}),n[l]}try{c({},"")}catch(I){c=function(n,l,e){return n[l]=e}}function d(n,l,e,t){var o=l&&l.prototype instanceof h?l:h,r=Object.create(o.prototype),u=new M(t||[]);return i(r,"_invoke",{value:x(n,e,u)}),r}function p(n,l,e){try{return{type:"normal",arg:n.call(l,e)}}catch(I){return{type:"throw",arg:I}}}n.wrap=d;var g={};function h(){}function m(){}function f(){}var b={};c(b,r,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(k([])));y&&y!==l&&e.call(y,r)&&(b=y);var C=f.prototype=h.prototype=Object.create(b);function w(n){["next","throw","return"].forEach((function(l){c(n,l,(function(n){return this._invoke(l,n)}))}))}function _(n,l){var o;i(this,"_invoke",{value:function(i,r){function u(){return new l((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"==t(d)&&e.call(d,"__await")?l.resolve(d.__await).then((function(n){i("next",n,u,a)}),(function(n){i("throw",n,u,a)})):l.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,l,e){var t="suspendedStart";return function(i,o){if("executing"===t)throw new Error("Generator is already running");if("completed"===t){if("throw"===i)throw o;return S()}for(e.method=i,e.arg=o;;){var r=e.delegate;if(r){var u=P(r,e);if(u){if(u===g)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===t)throw t="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);t="executing";var a=p(n,l,e);if("normal"===a.type){if(t=e.done?"completed":"suspendedYield",a.arg===g)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(t="completed",e.method="throw",e.arg=a.arg)}}}function P(n,l){var e=l.method,t=n.iterator[e];if(void 0===t)return l.delegate=null,"throw"===e&&n.iterator.return&&(l.method="return",l.arg=void 0,P(n,l),"throw"===l.method)||"return"!==e&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var i=p(t,n.iterator,l.arg);if("throw"===i.type)return l.method="throw",l.arg=i.arg,l.delegate=null,g;var o=i.arg;return o?o.done?(l[n.resultName]=o.value,l.next=n.nextLoc,"return"!==l.method&&(l.method="next",l.arg=void 0),l.delegate=null,g):o:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,g)}function A(n){var l={tryLoc:n[0]};1 in n&&(l.catchLoc=n[1]),2 in n&&(l.finallyLoc=n[2],l.afterLoc=n[3]),this.tryEntries.push(l)}function O(n){var l=n.completion||{};l.type="normal",delete l.arg,n.completion=l}function M(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(A,this),this.reset(!0)}function k(n){if(n){var l=n[r];if(l)return l.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var t=-1,i=function l(){for(;++t=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var u=e.call(o,"catchLoc"),a=e.call(o,"finallyLoc");if(u&&a){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev=0;--l){var e=this.tryEntries[l];if(e.finallyLoc===n)return this.complete(e.completion,e.afterLoc),O(e),g}},catch:function(n){for(var l=this.tryEntries.length-1;l>=0;--l){var e=this.tryEntries[l];if(e.tryLoc===n){var t=e.completion;if("throw"===t.type){var i=t.arg;O(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,l,e){return this.delegate={iterator:k(n),resultName:l,nextLoc:e},"next"===this.method&&(this.arg=void 0),g}},n}function a(n,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function s(n){for(var l=1;l=200&&a.status<300)r(e);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)}))}},h=g;l.default=h},"0JQy":function(n,l){var e="[\\ud800-\\udfff]",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+t+"|"+i+")"+"?",s="[\\ufe0e\\ufe0f]?"+a+("(?:\\u200d(?:"+[o,r,u].join("|")+")[\\ufe0e\\ufe0f]?"+a+")*"),c="(?:"+[o+t+"?",t,r,u,e].join("|")+")",d=RegExp(i+"(?="+i+")|"+c+s,"g");n.exports=function(n){return n.match(d)||[]}},"0Kca":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("/p9O");l.default={form:t.default}},"0TkE":function(n,l,e){"use strict";var t=e("67WC"),i=e("tycR").find,o=t.aTypedArray;(0,t.exportTypedArrayMethod)("find",(function(n){return i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"0XPj":function(n,l,e){var t=e("eUgh"),i=e("s+kx"),o=e("EA7m"),r=e("XzbM"),u=o((function(n){var l=t(n,r);return l.length&&l[0]===n[0]?i(l):[]}));n.exports=u},"0btd":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t,i=(t=e("5U3O"))&&t.__esModule?t:{default:t};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 l=[];return l.push({label:"Any Change",value:"data"}),n.utils.eachComponent(n.instance.options.editForm.components,(function(e,t){e.key!==n.data.key&&l.push({label:e.label||e.key,value:t})})),l}},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."}];l.default=o},"0eef":function(n,l,e){"use strict";var t={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!t.call({1:2},1);l.f=o?function(n){var l=i(this,n);return!!l&&l.enumerable}:t},"0iw5":function(n,l,e){"use strict";e("eoL8"),e("ExoC"),e("wLYn"),e("NBAS"),e("XUE8"),e("5DmW"),e("SuFq"),e("uL8W"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("ENF9"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ma9I"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t=e("uhBA"),i=function(n,l){if(!l&&n&&n.__esModule)return n;if(null===n||"object"!==r(n)&&"function"!=typeof n)return{default:n};var e=o(l);if(e&&e.has(n))return e.get(n);var t={},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(t,u,a):t[u]=n[u]}t.default=n,e&&e.set(n,t);return t}(e("5P0i"));function o(n){if("function"!=typeof WeakMap)return null;var l=new WeakMap,e=new WeakMap;return(o=function(n){return n?e:l})(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,l){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{};a(this,r);var u=t.loadLimit,s=void 0===u?1e3:u,c=t.eventsSafeInterval,d=void 0===c?300:c;f(p(e=o.call(this)),"onAny",(function(n){e.on("any",n)})),f(p(e),"offAny",(function(n){e.off("any",n)}));var h=function(){console.warn("There were more than ".concat(s," events emitted in ").concat(d," ms. It might be caused by events' infinite loop"),e.id)},b=i.observeOverload(h,{limit:s,delay:d});return e.emit=function(){for(var t,i,o=arguments.length,u=new Array(o),a=0;athis.total&&this.destination.next(n)},l}(i.a)},"0mo+":function(n,l,e){!function(n){"use strict";var l={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},e={"\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 e[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return l[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,l){return 12===n&&(n=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===l&&n>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===l&&n<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===l?n+12:n},meridiem:function(n,l,e){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}})}(e("wd/R"))},"0oug":function(n,l,e){"use strict";e("4GWN")("iterator")},"0pIX":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.CALENDAR_ERROR_MESSAGES=void 0,l.checkInvalidDate=function(n,l,e,o){var s=(0,t.default)(n,l,!0),c=s.isValid();if(!c){var d=n.match(/[^a-z0-9_]/gi),p=new RegExp(d.join("|"),"gi"),g=n.replace(/_*/gi,"").split(p),h=l[1]?l[1].split(p):l[0].split(p),m=i.default.findIndex(h,(function(n,l){return 1===n.length&&l===h.length-1})),f=i.default.findIndex(h,(function(n){return n.match(/yyyy/gi)}));if(g[f]/1e3<1)return u(r.INVALID,!1);if(g[0].length===h[0].length){var b=g.map((function(n,l){var e=n;return n||l!==m?n||(e="01"):e="AM",d[l]&&(e="".concat(e).concat(d[l])),e})),v=(0,t.default)(b.join(""),l,!0);if(v.isValid()){var y=a(v,l[0],o,e);if(!y.result){var C=y.message,w=y.result;return u(C,w)}return u(r.INCOMPLETE,!1)}return u(r.INVALID,!1)}return u(r.INVALID,!1)}if(c&&-1===n.indexOf("_")){var _=a(s,l[0],o,e);if(!_.result){var x=_.message,P=_.result;return u(x,P)}}return u("",!0)},l.lessOrGreater=a,e("rB9j"),e("Rm1S"),e("TWNs"),e("JfAA"),e("oVuX"),e("EnZy"),e("UxlC"),e("x0AG"),e("2B1R"),e("ma9I"),e("yXV3");var t=o(e("wd/R")),i=o(e("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,l){return"The entered date is greater than ".concat(n.format(l))},less:function(n,l){return"The entered date is less than ".concat(n.format(l))}};function u(n,l){return{message:n,result:l}}function a(n,l,e,i){var o="",u=!0;if(e&&n.isValid()){var a=(0,t.default)(e,l);n>a&&(o=r.greater(a,l),u=!1)}if(i&&n.isValid()){var s=(0,t.default)(i,l);n0?this.removeClass(l,"text-danger"):this.addClass(l,"text-danger"),this.setContent(l,this.t("{{ remaining }} ".concat(n," remaining."),{remaining:i}))}else this.setContent(l,this.t("{{ count }} ".concat(n),{count:e}))}},{key:"updateValueAt",value:function(n,l,e){if(l=l||{},a.default.get(this.component,"showWordCount",!1)&&this.refs.wordcount&&this.refs.wordcount[e]){var t=a.default.parseInt(a.default.get(this.component,"validate.maxWords",0),10);this.setCounter(this.t("words"),this.refs.wordcount[e],this.getWordCount(n),t)}if(a.default.get(this.component,"showCharCount",!1)&&this.refs.charcount&&this.refs.charcount[e]){var i=a.default.parseInt(a.default.get(this.component,"validate.maxLength",0),10);this.setCounter(this.t("characters"),this.refs.charcount[e],n.length,i)}}},{key:"getValueAt",value:function(n){var l=this.performInputMapping(this.refs.input[n]);return l&&l.widget?l.widget.getValue():l?l.value:void 0}},{key:"updateValue",value:function(n,l,e){l=l||{};var t=d(b(p.prototype),"updateValue",this).call(this,n,l);return this.triggerUpdateValueAt(this.dataValue,l,e),t}},{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,l){var e=this;d(b(p.prototype),"attachElement",this).call(this,n,l),n.widget&&n.widget.destroy();var t=u.default.resolve();return n.widget=this.createWidget(l),n.widget&&(t=n.widget.attach(n),this.refs.prefix&&this.refs.prefix[l]&&n.widget.addPrefix(this.refs.prefix[l]),this.refs.suffix&&this.refs.suffix[l]&&n.widget.addSuffix(this.refs.suffix[l])),this.addFocusBlurEvents(n),this.options.submitOnEnter&&this.addEventListener(n,"keypress",(function(n){13===(n.keyCode||n.which)&&(n.preventDefault(),n.stopPropagation(),e.emit("submitButton"))})),t}},{key:"createWidget",value:function(n){var l,e=this;if(!this.component.widget)return null;var t,i="string"==typeof this.component.widget?{type:this.component.widget}:this.component.widget;if(null!==(l=this.root)&&void 0!==l&&l.shadowRoot&&(i.shadowRoot=null===(t=this.root)||void 0===t?void 0:t.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 e.updateValue(e.getValue(),{modified:!0},n)}),!0),o.on("redraw",(function(){return e.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 l=this.getWidget(n);l&&l.destroy()}this.refs.input=[]}}])&&c(l.prototype,e),t&&c(l,t),Object.defineProperty(l,"prototype",{writable:!1}),p}(i.default);l.default=v},"0ycA":function(n,l){n.exports=function(){return[]}},1:function(n,l){},"1+5i":function(n,l,e){var t=e("w/wX"),i=e("sEf8"),o=e("mdPL"),r=o&&o.isSet,u=r?i(r):t;n.exports=u},"12Hv":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";var t=e("b5wT");function i(n,l,e){for(var i=t.zipObject(e,t.map(e,(function(n,l){return l}))),o=t.flatten(t.map(l,(function(l){return t.sortBy(t.map(n.outEdges(l),(function(l){return{pos:i[l.w],weight:n.edge(l).weight}})),"pos")})),!0),r=1;r0;)l%2&&(e+=a[l+1]),a[l=l-1>>1]+=n.weight;s+=n.weight*e}))),s}n.exports=function(n,l){for(var e=0,t=1;t \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 l=n.row;return"property"===l.type&&l.hasOwnProperty("property")&&"boolean"===l.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 l=n.row;return"property"===l.type&&l.hasOwnProperty("property")&&"string"===l.property.type&&!l.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}}]}]}]}];l.default=r},"15JJ":function(n,l,e){"use strict";e.d(l,"a",(function(){return s}));var t=e("mrSG"),i=e("MGBS"),o=e("rPjj"),r=e("zotm"),u=e("67Y/"),a=e("0/uQ");function s(n,l){return"function"==typeof l?function(e){return e.pipe(s((function(e,t){return Object(a.a)(n(e,t)).pipe(Object(u.a)((function(n,i){return l(e,n,t,i)})))})))}:function(l){return l.lift(new c(n))}}var c=function(){function n(n){this.project=n}return n.prototype.call=function(n,l){return l.subscribe(new d(n,this.project))},n}(),d=function(n){function l(l,e){var t=n.call(this,l)||this;return t.project=e,t.index=0,t}return t.d(l,n),l.prototype._next=function(n){var l,e=this.index++;try{l=this.project(n,e)}catch(t){return void this.destination.error(t)}this._innerSub(l,n,e)},l.prototype._innerSub=function(n,l,e){var t=this.innerSubscription;t&&t.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(r.a)(this,n,l,e,i)},l.prototype._complete=function(){var l=this.innerSubscription;l&&!l.closed||n.prototype._complete.call(this),this.unsubscribe()},l.prototype._unsubscribe=function(){this.innerSubscription=null},l.prototype.notifyComplete=function(l){this.destination.remove(l),this.innerSubscription=null,this.isStopped&&n.prototype._complete.call(this)},l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l}(i.a)},"15Mq":function(n,l,e){"use strict";e("eoL8"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t=u(e("LvDl")),i=u(e("hqGn")),o=u(e("cEDu")),r=u(e("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,l){for(var e=0;e\n
\n \n\n','
\n
\n \n
\n'}},"1U75":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='\n \n \n "})),e+="\n\n"}},"1Y/n":function(n,l,e){"use strict";var t=e("We1y"),i=e("ewvW"),o=e("RK3t"),r=e("B/qT"),u=TypeError,a="Reduce of empty array with no initial value",s=function(n){return function(l,e,s,c){var d=i(l),p=o(d),g=r(d);if(t(e),0===g&&s<2)throw new u(a);var h=n?g-1:0,m=n?-1:1;if(s<2)for(;;){if(h in p){c=p[h],h+=m;break}if(h+=m,n?h<0:g<=h)throw new u(a)}for(;n?h>=0:g>h;h+=m)h in p&&(c=e(c,p[h],h,d));return c}};n.exports={left:s(!1),right:s(!0)}},"1Z4R":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.default=[{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"autofocus",ignore:!0},{key:"tabindex",ignore:!0}]},"1dYe":function(n,l,e){"use strict";var t=e("67WC"),i=e("tycR").forEach,o=t.aTypedArray;(0,t.exportTypedArrayMethod)("forEach",(function(n){i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"1eKU":function(n,l,e){"use strict";e("gXIK"),e("7+zs"),e("eoL8"),e("+2oP"),e("sMBO"),e("pjDv"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.GlobalFormio=void 0,e("J30X"),e("rB9j"),e("Rm1S"),e("hByQ"),e("yXV3"),e("ma9I"),e("TWNs"),e("JfAA"),e("UxlC"),e("oVuX"),e("yq1k"),e("JTJg"),e("4l63"),e("zKZe"),e("QWBl"),e("07d7"),e("FZtP"),e("qePV"),e("TeQF"),e("ToJy"),e("2B1R"),e("E9XD"),e("DQNa"),e("R5XZ"),e("pNMO"),e("4Brf"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ");var t=m(e("CFBA")),i=m(e("FBMA")),o=m(e("0iw5")),r=m(e("79+i")),u=m(e("Of5P")),a=m(e("0XPj")),s=m(e("mwIZ")),c=m(e("BkRI")),d=m(e("la6v")),p=e("5P0i"),g=m(e("gx/E"));e("tSSC");var h=m(e("ok1k"));function m(n){return n&&n.__esModule?n:{default:n}}function f(n,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var t,i,o,r,u=[],a=!0,s=!1;try{if(o=(e=e.call(n)).next,0===l){if(Object(e)!==e)return;a=!1}else for(;!(a=(t=o.call(e)).done)&&(u.push(t.value),u.length!==l);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=e.return&&(r=e.return(),Object(r)!==r))return}finally{if(s)throw i}}return u}}(n,l)||b(n,l)||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,l){if(n){if("string"==typeof n)return v(n,l);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?v(n,l):void 0}}function v(n,l){(null==l||l>n.length)&&(l=n.length);for(var e=0,t=new Array(l);e1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,n),!(this instanceof n))return new n(l);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=l,this.options=t,t.useSessionToken&&n.useSessionToken(t),t.hasOwnProperty("base")?this.base=t.base:n.baseUrl?this.base=n.baseUrl:"undefined"!=typeof window&&(this.base=window.location.href.match(/http[s]?:\/\/api./)[0]),!l)return this.projectUrl=n.projectUrl||"".concat(this.base,"/project"),this.projectsUrl="".concat(this.base,"/project"),this.projectId=!1,void(this.query="");t.hasOwnProperty("project")&&(this.projectUrl=t.project);var i=this.projectUrl||n.projectUrl,o=/(^|\/)(project)($|\/[^/]+)/,r=-1!==l.search(o);i&&this.base===i&&!r&&(this.noProject=!0,this.projectUrl=this.base),0!==l.indexOf("http")&&0!==l.indexOf("//")&&(l=this.base+l);var u=this.getUrlParts(l),a=[],s=u[1]+u[2],c=(l=u.length>3?u[3]:"").split("?");c.length>1&&(l=c[0],this.query="?".concat(c[1]));var d=function(n,t){e["".concat(n,"sUrl")]="".concat(t,"/").concat(n);var i=new RegExp("/".concat(n,"/([^/]+)"));return-1!==l.search(i)&&(a=l.match(i),e["".concat(n,"Url")]=a?t+a[0]:"",e["".concat(n,"Id")]=a.length>1?a[1]:"",t+=a[0]),t},p=function n(l,e,t){for(var i in l)if(l.hasOwnProperty(i)){var o=l[i];if(Array.isArray(o))n(o,e,!0);else{var r=d(o,e);e=t?e:r}}};if(!this.projectUrl||this.projectUrl===this.base)if(this.projectUrl||r||"Subdirectories"!==n.pathType)this.projectUrl=s;else{var g="^".concat(s.replace(/\//g,"\\/"),".[^/]+"),h=i.match(new RegExp(g));this.projectUrl=h?h[0]:s}var m=!1;if(n.pathType&&(m="Subdomains"!==n.pathType),!this.noProject){if(r)p(["project"],s),l=l.replace(o,"");else if(s===this.base){if(u.length>3&&l.split("/").length>1){var f=l.match(/.json/),b=l.split("/");f?this.projectUrl=s:(b.shift(),this.projectId=b.shift(),l="/".concat(b.join("/")),this.projectUrl="".concat(s,"/").concat(this.projectId))}}else u.length>2&&(u[2].split(".").length>2||s.includes("localhost"))&&!m&&(this.projectUrl=s,this.projectId=u[2].split(".")[0]);this.projectsUrl=this.projectsUrl||"".concat(this.base,"/project")}if(p(["role"],this.projectUrl),/(^|\/)(form)($|\/)/.test(l))p(["form",["submission","action","v"]],this.projectUrl);else{var v=new RegExp("/(submission|action|v)($|/.*)"),C=l.match(v);this.pathType=C&&C.length>1?C[1]:"",l=(l=l.replace(v,"")).replace(/\/$/,""),this.formsUrl="".concat(this.projectUrl,"/form"),this.formUrl=l?this.projectUrl+l:"",this.formId=l.replace(/^\/+|\/+$/g,"");var w=["submission","action","v"];for(var _ in w)if(w.hasOwnProperty(_)){var x=w[_];this["".concat(x,"sUrl")]="".concat(this.projectUrl+l,"/").concat(x),this.pathType===x&&C.length>2&&C[2]&&(this["".concat(x,"Id")]=C[2].replace(/^\/+|\/+$/g,""),this["".concat(x,"Url")]=this.projectUrl+l+C[0])}}n.projectUrlSet||(n.projectUrl=this.projectUrl)}var l,e,i;return l=n,i=[{key:"useSessionToken",value:function(l){var e="".concat(l.namespace||n.namespace||"formio","Token"),t=localStorage.getItem(e);t&&(localStorage.removeItem(e),sessionStorage.setItem(e,t));var i="".concat(l.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(l,e){return M(l=l||"")&&(l="?".concat(n.serialize(l.params))),n.makeStaticRequest("".concat(n.baseUrl,"/project").concat(l),"GET",null,e)}},{key:"getUrlParts",value:function(l,e){var t=e&&e.base?e.base:n.baseUrl,i="^(http[s]?:\\/\\/)";return t&&0===l.indexOf(t)?i+="(".concat(t.replace(/^http[s]?:\/\//,""),")"):i+="([^/]+)",i+="($|\\/.*)",l.match(new RegExp(i))}},{key:"serialize",value:function(n,l){var e,t=[];for(var i in n)n.hasOwnProperty(i)&&t.push("".concat(encodeURIComponent(i),"=").concat(encodeURIComponent((e=n[i],l?l(e):e))));return t.join("&")}},{key:"getRequestArgs",value:function(n,l,e,t,i,o){t=(t||"GET").toUpperCase(),o&&M(o)||(o={});var r={url:e,method:t,data:i||null,opts:o};return l&&(r.type=l),n&&(r.formio=n),r}},{key:"makeStaticRequest",value:function(l,e,t,i){var o=n.getRequestArgs(null,"",l,e,t,i),r=n.pluginWait("preRequest",o).then((function(){return n.pluginGet("staticRequest",o).then((function(l){return O(l)?n.request(o.url,o.method,o.data,o.opts.header,o.opts):l}))}));return n.pluginAlter("wrapStaticRequestPromise",r,o)}},{key:"makeRequest",value:function(l,e,t,i,o,r){if(!l)return n.makeStaticRequest(t,i,o,r);var u=n.getRequestArgs(l,e,t,i,o,r);u.opts=u.opts||{},u.opts.formio=l,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(l){return O(l)?n.request(u.url,u.method,u.data,u.opts.header,u.opts):l}))}));return n.pluginAlter("wrapRequestPromise",a,u)}},{key:"request",value:function(l,e,i,o,r){if(!l)return t.default.reject("No url provided");var u=n;e=(e||"GET").toUpperCase(),_(r)===_(!0)&&(r={ignoreCache:r}),r&&M(r)||(r={});var a=btoa(encodeURI(l));if(!r.ignoreCache&&"GET"===e&&u.cache.hasOwnProperty(a))return t.default.resolve(k(u.cache[a]));var s=o||new A(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,l){d[l]=n}));var p={method:e,headers:d,mode:"cors"};i&&(p.body=JSON.stringify(i)),((p=u.pluginAlter("requestOptions",p,l)).namespace||u.namespace)&&(r.namespace=p.namespace||u.namespace);var g=p.headers["x-jwt-token"];return u.pluginAlter("wrapFetchRequestPromise",u.fetch(l,p),{url:l,method:e,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 t.default.reject(new Error("Network request failed"));return(n.headers.get("content-type").includes("application/json")?n.json():n.text()).then((function(n){return t.default.reject(n)}))}var o=n.headers.get("x-jwt-token"),a=!1;return"GET"!==e||g||!o||r.external||l.includes("token=")||l.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(l){var e=n.headers.get("content-range");if(e&&M(l)){if("*"!==(e=e.split("/"))[0]){var t=e[0].split("-");l.skip=Number(t[0]),l.limit=t[1]-t[0]+1}l.serverCount="*"===e[1]?e[1]:Number(e[1])}if(!r.getHeaders)return l;var i={};return n.headers.forEach((function(n,l){i[l]=n})),{result:l,headers:i}}))})).then((function(n){return r.getHeaders?n:("GET"===e&&(u.cache[a]=n),k(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(l))).networkError=!0),"GET"===e&&delete u.cache[a],t.default.reject(n)}))}},{key:"token",get:function(){return n.tokens||(n.tokens={}),n.tokens.formioToken||""},set:function(l){n.tokens||(n.tokens={}),n.tokens.formioToken=l||""}},{key:"setToken",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;l=l||"",e="string"==typeof e?{namespace:e}:e||{};var i="".concat(e.namespace||n.namespace||"formio","Token");n.tokens||(n.tokens={});var o=localStorage.getItem("useSessionToken")?sessionStorage:localStorage;if(!l){e.fromUser||(e.fromToken=!0,n.setUser(null,e));try{o.removeItem(i)}catch(u){r.default.erase(i,{path:"/"})}return n.tokens[i]=l,t.default.resolve(null)}if(n.tokens[i]!==l){n.tokens[i]=l;try{o.setItem(i,l)}catch(u){r.default.set(i,l,{path:"/"})}}return this.currentUserResolved?n.currentUser(e.formio,e):t.default.resolve(null)}},{key:"getToken",value:function(l){l="string"==typeof l?{namespace:l}:l||{};var e="".concat(l.namespace||n.namespace||"formio","Token"),t=l.decode?"".concat(e,"Decoded"):e;if(n.tokens||(n.tokens={}),n.tokens[t])return n.tokens[t];try{var i=localStorage.getItem("useSessionToken")?sessionStorage.getItem(e):localStorage.getItem(e);return n.tokens[e]=i||"",l.decode?(n.tokens[t]=n.tokens[e]?(0,g.default)(n.tokens[e]):{},n.tokens[t]):n.tokens[e]}catch(o){return n.tokens[e]=r.default.get(e),n.tokens[e]}}},{key:"oauthLogoutURI",value:function(l,e){e="string"==typeof e?{namespace:e}:e||{};var t="".concat(e.namespace||n.namespace||"formio","LogoutAuthUrl");return n.tokens[t],localStorage.setItem(t,l),n.tokens[t]}},{key:"setUser",value:function(l){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t="".concat(e.namespace||n.namespace||"formio","User"),i=localStorage.getItem("useSessionToken")?sessionStorage:localStorage;if(!l){e.fromToken||(e.fromUser=!0,n.setToken(null,e)),n.events.emit("formio.user",null);try{return i.removeItem(t)}catch(o){return r.default.erase(t,{path:"/"})}}try{i.setItem(t,JSON.stringify(l))}catch(o){r.default.set(t,JSON.stringify(l),{path:"/"})}n.events.emit("formio.user",l)}},{key:"getUser",value:function(l){l=l||{};var e="".concat(l.namespace||n.namespace||"formio","User");try{return JSON.parse((localStorage.getItem("useSessionToken")?sessionStorage:localStorage).getItem(e)||null)}catch(t){return JSON.parse(r.default.get(e))}}},{key:"setBaseUrl",value:function(l){n.baseUrl=l,n.projectUrlSet||(n.projectUrl=l)}},{key:"getBaseUrl",value:function(){return n.baseUrl}},{key:"setApiUrl",value:function(l){return n.setBaseUrl(l)}},{key:"getApiUrl",value:function(){return n.getBaseUrl()}},{key:"setAppUrl",value:function(l){console.warn("Formio.setAppUrl() is deprecated. Use Formio.setProjectUrl instead."),n.projectUrl=l,n.projectUrlSet=!0}},{key:"setProjectUrl",value:function(l){n.projectUrl=l,n.projectUrlSet=!0}},{key:"setAuthUrl",value:function(l){n.authUrl=l}},{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(l){var e=n.plugins.length;return n.plugins=n.plugins.filter((function(e){return e!==l&&e.__name!==l||((e.deregister||n.noop).call(l,n),!1)})),e!==n.plugins.length}},{key:"registerPlugin",value:function(l,e){var t=n;t.plugins.push(l),t.plugins.sort((function(n,l){return(l.priority||0)-(n.priority||0)})),l.__name=e,(l.init||t.noop).call(l,t)}},{key:"getPlugin",value:function(l){var e,t=function(n,l){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=b(n))||l&&n&&"number"==typeof n.length){e&&(n=e);var t=0,i=function(){};return{s:i,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},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(){e=e.call(n)},n:function(){var n=e.next();return r=n.done,n},e:function(n){u=!0,o=n},f:function(){try{r||null==e.return||e.return()}finally{if(u)throw o}}}}(n.plugins);try{for(t.s();!(e=t.n()).done;){var i=e.value;if(i.__name===l)return i}}catch(o){t.e(o)}finally{t.f()}return null}},{key:"pluginWait",value:function(l){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o1?e-1:0),o=1;o2?t-2:0),o=2;o1&&(n[e[0]]=e[1]&&decodeURIComponent(e[1]))})),l.forEach((function(l){(e=l.split("=")).length>1?n[e[0]]=e[1]&&decodeURIComponent(e[1]):0===l.indexOf("/")&&(n.paths=l.substr(1).split("/"))})),n}},{key:"oAuthCurrentUser",value:function(l,e){return n.currentUser(l,{external:!0,headers:{Authorization:"Bearer ".concat(e)}})}},{key:"samlInit",value:function(l){l=l||{};var e=n.pageQuery();if(e.saml){n.setUser(null);var t=n.setToken(e.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),t}l.relay||(l.relay=window.location.href);var o=n.authUrl||n.projectUrl;return window.location.href="".concat(o,"/saml/sso?relay=").concat(encodeURI(l.relay)),!1}},{key:"oktaInit",value:function(l){if(l=l||{},void 0!==("undefined"==typeof OktaAuth?"undefined":_(OktaAuth))&&(l.OktaAuth=OktaAuth),void 0===_(l.OktaAuth)){var e="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(e),t.default.reject(e)}return new t.default((function(e,t){var i=l.OktaAuth;delete l.OktaAuth;var o=new i(l);o.tokenManager.get("accessToken").then((function(i){i?e(n.oAuthCurrentUser(l.formio,i.accessToken)):location.hash?o.token.parseFromUrl().then((function(t){o.tokenManager.add("accessToken",t),e(n.oAuthCurrentUser(l.formio,t.accessToken))})).catch((function(n){console.warn(n),t(n)})):(o.token.getWithRedirect({responseType:"token",scopes:l.scopes}),e(!1))})).catch((function(n){t(n)}))}))}},{key:"ssoInit",value:function(l,e){switch(l){case"saml":return n.samlInit(e);case"okta":return n.oktaInit(e);default:return console.warn("Unknown SSO type"),t.default.reject("Unknown SSO type")}}},{key:"requireLibrary",value:function(l,e,i,o,r){if(!n.libraries.hasOwnProperty(l)){n.libraries[l]={},n.libraries[l].ready=new t.default((function(e,t){n.libraries[l].resolve=e,n.libraries[l].reject=t}));var u="".concat(l,"Callback");o||window[u]||(window[u]=function(){return n.libraries[l].resolve()});var a=(0,s.default)(window,e);if(a)n.libraries[l].resolve(a);else if((i=Array.isArray(i)?i:[i]).forEach((function(e){var t={},i="";switch("string"==typeof e&&(e={type:"script",src:e}),e.type){case"script":i="script",t={src:e.src,type:"text/javascript",defer:!0,async:!0,referrerpolicy:"origin"};break;case"styles":i="link",t={href:e.src,rel:"stylesheet"}}var o=document.createElement(i);if(o.setAttribute)for(var u in t)o.setAttribute(u,t[u]);r&&o.addEventListener("load",(function(){n.libraries[l].loaded=!0,r(n.libraries[l].ready)}));var a=document.head;a&&a.appendChild(o)})),o)var c=setInterval((function(){var t=(0,s.default)(window,e);t&&(clearInterval(c),n.libraries[l].resolve(t))}),200)}var d=n.libraries[l];return r&&d.loaded?r(d.ready):d.ready}},{key:"libraryReady",value:function(l){return n.libraries.hasOwnProperty(l)&&n.libraries[l].ready?n.libraries[l].ready:t.default.reject("".concat(l," library was not required."))}},{key:"addToGlobal",value:function(l){"object"!==_(l)||l.Formio||(l.Formio=n)}},{key:"setPathType",value:function(l){"string"==typeof l&&(n.pathType=l)}},{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}}],(e=[{key:"delete",value:function(l,e){var i="".concat(l,"Id"),o="".concat(l,"Url");return this[i]?(n.cache={},this.makeRequest(l,this[o],"delete",null,e)):t.default.reject("Nothing to delete")}},{key:"index",value:function(l,e,t){var i="".concat(l,"Url");return(e=e||"")&&M(e)&&(e="?".concat(n.serialize(e.params))),this.makeRequest(l,this[i]+e,"get",null,t)}},{key:"save",value:function(l,e,t){var i="".concat(l,"Id"),o="".concat(l,"Url"),r=this[i]||e._id?"put":"post",u=this[i]?this[o]:this["".concat(l,"sUrl")];return this[i]||!e._id||"put"!==r||u.includes(e._id)||(u+="/".concat(e._id)),n.cache={},this.makeRequest(l,u+this.query,r,e,t)}},{key:"load",value:function(l,e,i){var o="".concat(l,"Id"),r="".concat(l,"Url");if(e&&M(e)&&(e=n.serialize(e.params)),e=e?this.query?"".concat(this.query,"&").concat(e):"?".concat(e):this.query,!this[o])return t.default.reject("Missing ".concat(o));var u=this[r]+e;return"form"!==l||isNaN(parseInt(this.vId))||0===parseInt(this.vId)||(u+=u.match(/\?/)?"&":"?",u+="formRevision=".concat(this.vId)),this.makeRequest(l,u,"get",null,i)}},{key:"makeRequest",value:function(){for(var l=arguments.length,e=new Array(l),t=0;t-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 l=this;return this.userPermissions().then((function(e){return!e.create&&n.getUser()?l.userPermissions(null).then((function(l){return!!l.create&&(n.setUser(null),!0)})):e.create}))}},{key:"getUrlParts",value:function(l){return n.getUrlParts(l,this)}}])&&C(l.prototype,e),i&&C(l,i),Object.defineProperty(l,"prototype",{writable:!1}),n}();S=D,T=!0,(I=w(I="currentUserResolved"))in S?Object.defineProperty(S,I,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[I]=T,D.libraries={},D.Promise=t.default,D.fetch=P,D.Headers=A,D.baseUrl="https://api.form.io",D.projectUrl=D.baseUrl,D.authUrl="",D.projectUrlSet=!1,D.plugins=[],D.cache={},D.Providers=u.default,D.version="4.19.2",D.pathType="",D.events=new o.default,D.cdn=new h.default,(D.version||"").includes("rc")&&D.cdn.setBaseUrl("https://cdn.test-form.io"),"undefined"!=typeof global&&D.addToGlobal(global),"undefined"!=typeof window&&D.addToGlobal(window);var E=D.GlobalFormio;l.GlobalFormio=E;var R=D;l.default=R},"1euT":function(n,l,e){"use strict";e.r(l),e.d(l,"default",(function(){return o}));class t{constructor(n,l,e,t){if(isNaN(n)||isNaN(l))throw new Error(`Point is invalid: (${n}, ${l})`);this.x=+n,this.y=+l,this.pressure=e||0,this.time=t||Date.now()}distanceTo(n){return Math.sqrt(Math.pow(this.x-n.x,2)+Math.pow(this.y-n.y,2))}equals(n){return this.x===n.x&&this.y===n.y&&this.pressure===n.pressure&&this.time===n.time}velocityFrom(n){return this.time!==n.time?this.distanceTo(n)/(this.time-n.time):0}}class i{static fromPoints(n,l){const e=this.calculateControlPoints(n[0],n[1],n[2]).c2,t=this.calculateControlPoints(n[1],n[2],n[3]).c1;return new i(n[1],e,t,n[2],l.start,l.end)}static calculateControlPoints(n,l,e){const i=n.x-l.x,o=n.y-l.y,r=l.x-e.x,u=l.y-e.y,a=(n.x+l.x)/2,s=(n.y+l.y)/2,c=(l.x+e.x)/2,d=(l.y+e.y)/2,p=Math.sqrt(i*i+o*o),g=Math.sqrt(r*r+u*u),h=g/(p+g),m=c+(a-c)*h,f=d+(s-d)*h,b=l.x-m,v=l.y-f;return{c1:new t(a+b,s+v),c2:new t(c+b,d+v)}}constructor(n,l,e,t,i,o){this.startPoint=n,this.control2=l,this.control1=e,this.endPoint=t,this.startWidth=i,this.endWidth=o}length(){let n,l,e=0;for(let t=0;t<=10;t+=1){const i=t/10,o=this.point(i,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this.point(i,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(t>0){const t=o-n,i=r-l;e+=Math.sqrt(t*t+i*i)}n=o,l=r}return e}point(n,l,e,t,i){return l*(1-n)*(1-n)*(1-n)+3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+i*n*n*n}}class o extends class{constructor(){try{this._et=new EventTarget}catch(n){this._et=document}}addEventListener(n,l,e){this._et.addEventListener(n,l,e)}dispatchEvent(n){return this._et.dispatchEvent(n)}removeEventListener(n,l,e){this._et.removeEventListener(n,l,e)}}{constructor(n,l={}){super(),this.canvas=n,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this._handleMouseDown=n=>{1===n.buttons&&this._strokeBegin(n)},this._handleMouseMove=n=>{this._strokeMoveUpdate(n)},this._handleMouseUp=n=>{1===n.buttons&&this._strokeEnd(n)},this._handleTouchStart=n=>{if(n.cancelable&&n.preventDefault(),1===n.targetTouches.length){const l=n.changedTouches[0];this._strokeBegin(l)}},this._handleTouchMove=n=>{n.cancelable&&n.preventDefault();const l=n.targetTouches[0];this._strokeMoveUpdate(l)},this._handleTouchEnd=n=>{if(n.target===this.canvas){n.cancelable&&n.preventDefault();const l=n.changedTouches[0];this._strokeEnd(l)}},this._handlePointerStart=n=>{n.preventDefault(),this._strokeBegin(n)},this._handlePointerMove=n=>{this._strokeMoveUpdate(n)},this._handlePointerEnd=n=>{this._drawingStroke&&(n.preventDefault(),this._strokeEnd(n))},this.velocityFilterWeight=l.velocityFilterWeight||.7,this.minWidth=l.minWidth||.5,this.maxWidth=l.maxWidth||2.5,this.throttle="throttle"in l?l.throttle:16,this.minDistance="minDistance"in l?l.minDistance:5,this.dotSize=l.dotSize||0,this.penColor=l.penColor||"black",this.backgroundColor=l.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=l.compositeOperation||"source-over",this.canvasContextOptions="canvasContextOptions"in l?l.canvasContextOptions:{},this._strokeMoveUpdate=this.throttle?function(n,l=250){let e,t,i,o=0,r=null;const u=()=>{o=Date.now(),r=null,e=n.apply(t,i),r||(t=null,i=[])};return function(...a){const s=Date.now(),c=l-(s-o);return t=this,i=a,c<=0||c>l?(r&&(clearTimeout(r),r=null),o=s,e=n.apply(t,i),r||(t=null,i=[])):r||(r=window.setTimeout(u,c)),e}}(o.prototype._strokeUpdate,this.throttle):o.prototype._strokeUpdate,this._ctx=n.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:n,canvas:l}=this;n.fillStyle=this.backgroundColor,n.clearRect(0,0,l.width,l.height),n.fillRect(0,0,l.width,l.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(n,l={}){return new Promise((e,t)=>{const i=new Image,o=l.ratio||window.devicePixelRatio||1,r=l.width||this.canvas.width/o,u=l.height||this.canvas.height/o,a=l.xOffset||0,s=l.yOffset||0;this._reset(this._getPointGroupOptions()),i.onload=()=>{this._ctx.drawImage(i,a,s,r,u),e()},i.onerror=n=>{t(n)},i.crossOrigin="anonymous",i.src=n,this._isEmpty=!1})}toDataURL(n="image/png",l){switch(n){case"image/svg+xml":return"object"!=typeof l&&(l=void 0),"data:image/svg+xml;base64,"+btoa(this.toSVG(l));default:return"number"!=typeof l&&(l=void 0),this.canvas.toDataURL(n,l)}}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const n=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!n?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerStart),this.canvas.removeEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.removeEventListener("pointerup",this._handlePointerEnd),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(n,{clear:l=!0}={}){l&&this.clear(),this._fromData(n,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(n)}toData(){return this._data}_getPointGroupOptions(n){return{penColor:n&&"penColor"in n?n.penColor:this.penColor,dotSize:n&&"dotSize"in n?n.dotSize:this.dotSize,minWidth:n&&"minWidth"in n?n.minWidth:this.minWidth,maxWidth:n&&"maxWidth"in n?n.maxWidth:this.maxWidth,velocityFilterWeight:n&&"velocityFilterWeight"in n?n.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:n&&"compositeOperation"in n?n.compositeOperation:this.compositeOperation}}_strokeBegin(n){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:n,cancelable:!0})))return;this._drawingStroke=!0;const l=this._getPointGroupOptions(),e=Object.assign(Object.assign({},l),{points:[]});this._data.push(e),this._reset(l),this._strokeUpdate(n)}_strokeUpdate(n){if(!this._drawingStroke)return;if(0===this._data.length)return void this._strokeBegin(n);this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:n}));const l=n.clientX,e=n.clientY,t=void 0!==n.pressure?n.pressure:void 0!==n.force?n.force:0,i=this._createPoint(l,e,t),o=this._data[this._data.length-1],r=o.points,u=r.length>0&&r[r.length-1],a=!!u&&i.distanceTo(u)<=this.minDistance,s=this._getPointGroupOptions(o);if(!u||!u||!a){const n=this._addPoint(i,s);u?n&&this._drawCurve(n,s):this._drawDot(i,s),r.push({time:i.time,x:i.x,y:i.y,pressure:i.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:n}))}_strokeEnd(n){this._drawingStroke&&(this._strokeUpdate(n),this._drawingStroke=!1,this.dispatchEvent(new CustomEvent("endStroke",{detail:n})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerStart),this.canvas.addEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.addEventListener("pointerup",this._handlePointerEnd)}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.addEventListener("mouseup",this._handleMouseUp)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)}_reset(n){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(n.minWidth+n.maxWidth)/2,this._ctx.fillStyle=n.penColor,this._ctx.globalCompositeOperation=n.compositeOperation}_createPoint(n,l,e){const i=this.canvas.getBoundingClientRect();return new t(n-i.left,l-i.top,e,(new Date).getTime())}_addPoint(n,l){const{_lastPoints:e}=this;if(e.push(n),e.length>2){3===e.length&&e.unshift(e[0]);const n=this._calculateCurveWidths(e[1],e[2],l),t=i.fromPoints(e,n);return e.shift(),t}return null}_calculateCurveWidths(n,l,e){const t=e.velocityFilterWeight*l.velocityFrom(n)+(1-e.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(t,e),o={end:i,start:this._lastWidth};return this._lastVelocity=t,this._lastWidth=i,o}_strokeWidth(n,l){return Math.max(l.maxWidth/(n+1),l.minWidth)}_drawCurveSegment(n,l,e){const t=this._ctx;t.moveTo(n,l),t.arc(n,l,e,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(n,l){const e=this._ctx,t=n.endWidth-n.startWidth,i=2*Math.ceil(n.length());e.beginPath(),e.fillStyle=l.penColor;for(let o=0;o0?l.dotSize:(l.minWidth+l.maxWidth)/2;e.beginPath(),this._drawCurveSegment(n.x,n.y,t),e.closePath(),e.fillStyle=l.penColor,e.fill()}_fromData(n,l,e){for(const i of n){const{points:n}=i,o=this._getPointGroupOptions(i);if(n.length>1)for(let e=0;e{const e=document.createElement("path");if(!(isNaN(n.control1.x)||isNaN(n.control1.y)||isNaN(n.control2.x)||isNaN(n.control2.y))){const t=`M ${n.startPoint.x.toFixed(3)},${n.startPoint.y.toFixed(3)} C ${n.control1.x.toFixed(3)},${n.control1.y.toFixed(3)} ${n.control2.x.toFixed(3)},${n.control2.y.toFixed(3)} ${n.endPoint.x.toFixed(3)},${n.endPoint.y.toFixed(3)}`;e.setAttribute("d",t),e.setAttribute("stroke-width",(2.25*n.endWidth).toFixed(3)),e.setAttribute("stroke",l),e.setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),o.appendChild(e)}},(n,{penColor:l,dotSize:e,minWidth:t,maxWidth:i})=>{const r=document.createElement("circle"),u=e>0?e:(t+i)/2;r.setAttribute("r",u.toString()),r.setAttribute("cx",n.x.toString()),r.setAttribute("cy",n.y.toString()),r.setAttribute("fill",l),o.appendChild(r)}),o.outerHTML}}},"1fDf":function(n,l,e){"use strict";e.d(l,"a",(function(){return i}));var t=e("FFOo");function i(n){for(;n;){var l=n,e=l.closed,i=l.destination,o=l.isStopped;if(e||o)return!1;n=i&&i instanceof t.a?i:null}return!0}},"1hJj":function(n,l,e){var t=e("e4Nc"),i=e("ftKO"),o=e("3A9y");function r(n){var l=-1,e=null==n?0:n.length;for(this.__data__=new t;++l\n '+(null==(l=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":l)+"\n ",t.tooltip&&(e+=' '),e+="\n \n "})),e+="\n ",n.hasExtraColumn&&(e+="\n \n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(e+='\n \n "),e+="\n \n "),e+="\n \n \n "),e+='\n \n ',n.rows.forEach((function(t,i){e+="\n ",n.hasGroups&&n.groups[i]&&(e+='\n \n '+(null==(l=n.groups[i].label)?"":l)+"\n \n "),e+='\n \n ',n.component.reorder&&(e+='\n \n \n \n '),e+="\n ",n.columns.forEach((function(i){e+='\n \n '+(null==(l=t[i.key])?"":l)+"\n \n "})),e+="\n ",n.hasExtraColumn&&(e+="\n ",n.hasRemoveButtons&&(e+='\n \n \n \n '),e+="\n ",n.canAddColumn&&(e+='\n \n '+(null==(l=n.placeholder)?"":l)+"\n \n "),e+="\n "),e+="\n \n "})),e+="\n \n ",n.hasAddButton&&n.hasBottomSubmit&&(e+='\n \n \n \n \n \n \n \n "),e+="\n\n"}},"1pb4":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n
\n
\n \n '+(null==(l=n.t(n.group.title,{_userInput:!0}))?"":l)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(e+="\n ",n.group.componentOrder.forEach((function(t){e+='\n \n ',n.group.components[t].icon&&(e+='\n \n '),e+="\n "+(null==(l=n.t(n.group.components[t].title,{_userInput:!0}))?"":l)+"\n \n "})),e+="\n "+(null==(l=n.subgroups.join(""))?"":l)+"\n "):e+="\n
"+(null==(l=n.t("No Matches Found"))?"":l)+"
\n ",e+="\n
\n
\n\n\n"}},"1ppg":function(n,l,e){!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}})}(e("wd/R"))},"1rYy":function(n,l,e){!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,l){switch(l){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}})}(e("wd/R"))},"1tal":function(n,l,e){"use strict";var t=TypeError;n.exports=function(n,l){if(n>>1|X<<31)^($>>>8|X<<24)^$>>>7,Z=(X>>>1|$<<31)^(X>>>8|$<<24)^(X>>>7|$<<25),nn=s[G-2],ln=nn.high,en=nn.low,tn=(ln>>>19|en<<13)^(ln<<3|en>>>29)^ln>>>6,on=(en>>>19|ln<<13)^(en<<3|ln>>>29)^(en>>>6|ln<<26),rn=s[G-7],un=rn.high,an=rn.low,sn=s[G-16],cn=sn.high,dn=sn.low;W=(W=(W=J+un+((Y=Z+an)>>>0>>0?1:0))+tn+((Y+=on)>>>0>>0?1:0))+cn+((Y+=dn)>>>0>>0?1:0),Q.high=W,Q.low=Y}var pn,gn=F&j^~F&V,hn=B&z^~B&U,mn=S&T^S&E^T&E,fn=I&D^I&R^D&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=(F>>>14|B<<18)^(F>>>18|B<<14)^(F<<23|B>>>9),Cn=(B>>>14|F<<18)^(B>>>18|F<<14)^(B<<23|F>>>9),wn=a[G],_n=wn.high,xn=wn.low,Pn=H+yn+((pn=q+Cn)>>>0>>0?1:0),An=vn+fn;H=V,q=U,V=j,U=z,j=F,z=B,F=N+(Pn=(Pn=(Pn=Pn+gn+((pn+=hn)>>>0>>0?1:0))+_n+((pn+=xn)>>>0>>0?1:0))+W+((pn+=Y)>>>0>>0?1:0))+((B=L+pn|0)>>>0>>0?1:0)|0,N=E,L=R,E=T,R=D,T=S,D=I,S=Pn+(bn+mn+(An>>>0>>0?1:0))+((I=pn+An|0)>>>0>>0?1:0)|0}h=t.low=h+I,t.high=g+S+(h>>>0>>0?1:0),f=i.low=f+D,i.high=m+T+(f>>>0>>0?1:0),v=o.low=v+R,o.high=b+E+(v>>>0>>0?1:0),C=r.low=C+L,r.high=y+N+(C>>>0>>0?1:0),_=u.low=_+B,u.high=w+F+(_>>>0>>0?1:0),P=c.low=P+z,c.high=x+j+(P>>>0>>0?1:0),O=d.low=O+U,d.high=A+V+(O>>>0>>0?1:0),k=p.low=k+q,p.high=M+H+(k>>>0>>0?1:0)},_doFinalize:function(){var n=this._data,l=n.words,e=8*this._nDataBytes,t=8*n.sigBytes;return l[t>>>5]|=128<<24-t%32,l[30+(t+128>>>10<<5)]=Math.floor(e/4294967296),l[31+(t+128>>>10<<5)]=e,n.sigBytes=4*l.length,this._process(),this._hash.toX32()},clone:function(){var n=l.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:32});n.SHA512=l._createHelper(c),n.HmacSHA512=l._createHmacHelper(c)}(),t.SHA512)},"1v02":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){return"Loading...\n","Loading...\n"}},"1w02":function(n,l){n.exports=function(n,l,e){for(var t=-1,i=n.length,o=l.length,r={};++t=48&&l<=57))return!1;e++}return!0}function p(n){return-1===n.indexOf("/")&&-1===n.indexOf("~")?n:n.replace(/~/g,"~0").replace(/\//g,"~1")}function g(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")}function h(n,l){var e=[n];for(var t in l){var i="object"==typeof l[t]?JSON.stringify(l[t],null,2):l[t];void 0!==i&&e.push(t+": "+i)}return e.join("\n")}var m=function(n){function l(l,e,t,i,o){var r=this.constructor,u=n.call(this,h(l,{name:e,index:t,operation:i,tree:o}))||this;return u.name=e,u.index=t,u.operation=i,u.tree=o,Object.setPrototypeOf(u,r.prototype),u.message=h(l,{name:e,index:t,operation:i,tree:o}),u}return r(l,n),l}(Error),f=m,b=c,v={add:function(n,l,e){return n[l]=this.value,{newDocument:e}},remove:function(n,l,e){var t=n[l];return delete n[l],{newDocument:e,removed:t}},replace:function(n,l,e){var t=n[l];return n[l]=this.value,{newDocument:e,removed:t}},move:function(n,l,e){var t=C(e,this.path);t&&(t=c(t));var i=w(e,{op:"remove",path:this.from}).removed;return w(e,{op:"add",path:this.path,value:i}),{newDocument:e,removed:t}},copy:function(n,l,e){var t=C(e,this.from);return w(e,{op:"add",path:this.path,value:c(t)}),{newDocument:e}},test:function(n,l,e){return{newDocument:e,test:O(n[l],this.value)}},_get:function(n,l,e){return this.value=n[l],{newDocument:e}}},y={add:function(n,l,e){return d(l)?n.splice(l,0,this.value):n[l]=this.value,{newDocument:e,index:l}},remove:function(n,l,e){return{newDocument:e,removed:n.splice(l,1)[0]}},replace:function(n,l,e){var t=n[l];return n[l]=this.value,{newDocument:e,removed:t}},move:v.move,copy:v.copy,test:v.test,_get:v._get};function C(n,l){if(""==l)return n;var e={op:"_get",path:l};return w(n,e),e.value}function w(n,l,e,t,i,o){if(void 0===e&&(e=!1),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===o&&(o=0),e&&("function"==typeof e?e(l,0,n,l.path):P(l,0)),""===l.path){var r={newDocument:n};if("add"===l.op)return r.newDocument=l.value,r;if("replace"===l.op)return r.newDocument=l.value,r.removed=n,r;if("move"===l.op||"copy"===l.op)return r.newDocument=C(n,l.from),"move"===l.op&&(r.removed=n),r;if("test"===l.op){if(r.test=O(n,l.value),!1===r.test)throw new f("Test operation failed","TEST_OPERATION_FAILED",o,l,n);return r.newDocument=n,r}if("remove"===l.op)return r.removed=n,r.newDocument=null,r;if("_get"===l.op)return l.value=n,r;if(e)throw new f("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,l,n);return r}t||(n=c(n));var u=(l.path||"").split("/"),a=n,s=1,p=u.length,h=void 0,m=void 0,b=void 0;for(b="function"==typeof e?e:P;;){if((m=u[s])&&-1!=m.indexOf("~")&&(m=g(m)),i&&("__proto__"==m||"prototype"==m&&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(e&&void 0===h&&(void 0===a[m]?h=u.slice(0,s).join("/"):s==p-1&&(h=l.path),void 0!==h&&b(l,0,n,h)),s++,Array.isArray(a)){if("-"===m)m=a.length;else{if(e&&!d(m))throw new f("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,l,n);d(m)&&(m=~~m)}if(s>=p){if(e&&"add"===l.op&&m>a.length)throw new f("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,l,n);if(!1===(r=y[l.op].call(l,a,m,n)).test)throw new f("Test operation failed","TEST_OPERATION_FAILED",o,l,n);return r}}else if(s>=p){if(!1===(r=v[l.op].call(l,a,m,n)).test)throw new f("Test operation failed","TEST_OPERATION_FAILED",o,l,n);return r}if(a=a[m],e&&s0)throw new f('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",l,n,e);if(("move"===n.op||"copy"===n.op)&&"string"!=typeof n.from)throw new f("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",l,n,e);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&void 0===n.value)throw new f("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",l,n,e);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&function n(l){if(void 0===l)return!0;if(l)if(Array.isArray(l)){for(var e=0,t=l.length;e0&&(n.patches=[],n.callback&&n.callback(t)),t}function E(n,l,e,t,i){if(l!==n){"function"==typeof l.toJSON&&(l=l.toJSON());for(var o=s(l),r=s(n),u=!1,d=r.length-1;d>=0;d--){var g=n[m=r[d]];if(!a(l,m)||void 0===l[m]&&void 0!==g&&!1===Array.isArray(l))Array.isArray(n)===Array.isArray(l)?(i&&e.push({op:"test",path:t+"/"+p(m),value:c(g)}),e.push({op:"remove",path:t+"/"+p(m)}),u=!0):(i&&e.push({op:"test",path:t,value:n}),e.push({op:"replace",path:t,value:l}),!0);else{var h=l[m];"object"==typeof g&&null!=g&&"object"==typeof h&&null!=h&&Array.isArray(g)===Array.isArray(h)?E(g,h,e,t+"/"+p(m),i):g!==h&&(!0,i&&e.push({op:"test",path:t+"/"+p(m),value:c(g)}),e.push({op:"replace",path:t+"/"+p(m),value:c(h)}))}}if(u||o.length!=r.length)for(d=0;dd;)void 0!==(e=i(t,l=s[d++]))&&a(c,l,e);return c}})},"29mU":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n
\n ',n.values.forEach((function(n){e+='\n
\n '+(null==(l=n)?"":l)+"\n
\n "})),e+='\n
\n
\n ',n.node.hasChildren&&(e+='\n \n
\n '),e+="\n ",n.readOnly||(e+='\n \n
\n \n
\n \n ",n.node.revertAvailable&&(e+='\n
\n \n "),e+="\n "),e+="\n
\n
\n
\n
\n"}},"2B1R":function(n,l,e){"use strict";var t=e("I+eb"),i=e("tycR").map;t({target:"Array",proto:!0,forced:!e("Hd5f")("map")},{map:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0)}})},"2Bdj":function(n,l,e){"use strict";function t(n){return"function"==typeof n}e.d(l,"a",(function(){return t}))},"2Bqa":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e\n \n ",n.helplinks&&(e+='\n \n "),e+='\n\n
\n
\n ",n.preview||(e+='\n
\n \n \n \n
\n "),e+="\n
\n ",n.preview&&(e+='\n
\n
\n
\n

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

\n
\n
\n
\n '+(null==(l=n.preview)?"":l)+"\n
\n
\n
\n ",n.componentInfo.help&&(e+='\n
\n '+(null==(l=n.t(n.componentInfo.help))?"":l)+"\n
\n "),e+='\n
\n \n \n \n
\n
\n "),e+="\n
\n"}},"2WpN":function(n,l,e){"use strict";e.d(l,"a",(function(){return r}));var t=e("mrSG"),i=e("FFOo"),o=e("pugT");function r(n){return function(l){return l.lift(new u(n))}}var u=function(){function n(n){this.callback=n}return n.prototype.call=function(n,l){return l.subscribe(new a(n,this.callback))},n}(),a=function(n){function l(l,e){var t=n.call(this,l)||this;return t.add(new o.a(e)),t}return t.d(l,n),l}(i.a)},"2Z+L":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";return e+='\n \n \n \n \n \n \n \n \n
\n '+(null==(l=n.element)?"":l)+'\n
\n \n
\n"}},"2Zix":function(n,l,e){"use strict";var t=e("NC/Y");n.exports=/MSIE|Trident/.test(t)},"2ajD":function(n,l){n.exports=function(n){return n!=n}},"2bX/":function(n,l,e){"use strict";var t=e("0GbY"),i=e("Fib7"),o=e("OpvP"),r=e("/b8u"),u=Object;n.exports=r?function(n){return"symbol"==typeof n}:function(n){var l=t("Symbol");return i(l)&&o(l.prototype,u(n))}},"2c7+":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("EKyF");l.default={form:t.default}},"2ePl":function(n,l,e){"use strict";e.d(l,"a",(function(){return t}));var t=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n}},"2fNS":function(n,l,e){"use strict";var t=e("b5wT");n.exports=function(n,l){var e={};return t.forEach(n,(function(n,l){var i=e[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:l};t.isUndefined(n.barycenter)||(i.barycenter=n.barycenter,i.weight=n.weight)})),t.forEach(l.edges(),(function(n){var l=e[n.v],i=e[n.w];t.isUndefined(l)||t.isUndefined(i)||(i.indegree++,l.out.push(e[n.w]))})),function(n){var l=[];function e(n){return function(l){l.merged||(t.isUndefined(l.barycenter)||t.isUndefined(n.barycenter)||l.barycenter>=n.barycenter)&&function(n,l){var e=0,t=0;n.weight&&(e+=n.barycenter*n.weight,t+=n.weight);l.weight&&(e+=l.barycenter*l.weight,t+=l.weight);n.vs=l.vs.concat(n.vs),n.barycenter=e/t,n.weight=t,n.i=Math.min(l.i,n.i),l.merged=!0}(n,l)}}function i(l){return function(e){e.in.push(l),0==--e.indegree&&n.push(e)}}for(;n.length;){var o=n.pop();l.push(o),t.forEach(o.in.reverse(),e(o)),t.forEach(o.out,i(o))}return t.map(t.filter(l,(function(n){return!n.merged})),(function(n){return t.pick(n,["vs","i","barycenter","weight"])}))}(t.filter(e,(function(n){return!n.indegree})))}},"2fXf":function(n,l,e){"use strict";var t=e("I+eb"),i=e("2oRo"),o=e("xluM"),r=e("4zBA"),u=e("xDBR"),a=e("g6v/"),s=e("BPiQ"),c=e("0Dky"),d=e("Gi26"),p=e("OpvP"),g=e("glrk"),h=e("/GqU"),m=e("oEtG"),f=e("V37c"),b=e("XGwC"),v=e("fHMY"),y=e("33Wh"),C=e("JBy8"),w=e("BX/b"),_=e("dBg+"),x=e("Bs8V"),P=e("m/L8"),A=e("N+g0"),O=e("0eef"),M=e("yy0I"),k=e("7dAM"),S=e("VpIT"),I=e("93I0"),T=e("0BK2"),D=e("kOOl"),E=e("tiKp"),R=e("5Tg+"),N=e("4GWN"),L=e("V7lt"),F=e("1E5z"),B=e("afO8"),j=e("tycR").forEach,z=I("hidden"),V=B.set,U=B.getterFor("Symbol"),H=Object.prototype,q=i.Symbol,G=q&&q.prototype,Y=i.RangeError,W=i.TypeError,Q=i.QObject,K=x.f,$=P.f,X=w.f,J=O.f,Z=r([].push),nn=S("symbols"),ln=S("op-symbols"),en=S("wks"),tn=!Q||!Q.prototype||!Q.prototype.findChild,on=function(n,l,e){var t=K(H,l);t&&delete H[l],$(n,l,e),t&&n!==H&&$(H,l,t)},rn=a&&c((function(){return 7!==v($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?on:$,un=function(n,l){var e=nn[n]=v(G);return V(e,{type:"Symbol",tag:n,description:l}),a||(e.description=l),e},an=function(n,l,e){n===H&&an(ln,l,e),g(n);var t=m(l);return g(e),d(nn,t)?(e.enumerable?(d(n,z)&&n[z][t]&&(n[z][t]=!1),e=v(e,{enumerable:b(0,!1)})):(d(n,z)||$(n,z,b(1,v(null))),n[z][t]=!0),rn(n,t,e)):$(n,t,e)},sn=function(n,l){g(n);var e=h(l),t=y(e).concat(gn(e));return j(t,(function(l){a&&!o(cn,e,l)||an(n,l,e[l])})),n},cn=function(n){var l=m(n),e=o(J,this,l);return!(this===H&&d(nn,l)&&!d(ln,l))&&(!(e||!d(this,l)||!d(nn,l)||d(this,z)&&this[z][l])||e)},dn=function(n,l){var e=h(n),t=m(l);if(e!==H||!d(nn,t)||d(ln,t)){var i=K(e,t);return!i||!d(nn,t)||d(e,z)&&e[z][t]||(i.enumerable=!0),i}},pn=function(n){var l=X(h(n)),e=[];return j(l,(function(n){d(nn,n)||d(T,n)||Z(e,n)})),e},gn=function(n){var l=n===H,e=X(l?ln:h(n)),t=[];return j(e,(function(n){!d(nn,n)||l&&!d(H,n)||Z(t,nn[n])})),t};s||(M(G=(q=function(){if(p(G,this))throw new W("Symbol is not a constructor");var n=arguments.length&&void 0!==arguments[0]?f(arguments[0]):void 0,l=D(n),e=function(n){var t=void 0===this?i:this;t===H&&o(e,ln,n),d(t,z)&&d(t[z],l)&&(t[z][l]=!1);var r=b(1,n);try{rn(t,l,r)}catch(u){if(!(u instanceof Y))throw u;on(t,l,r)}};return a&&tn&&rn(H,l,{configurable:!0,set:e}),un(l,n)}).prototype,"toString",(function(){return U(this).tag})),M(q,"withoutSetter",(function(n){return un(D(n),n)})),O.f=cn,P.f=an,A.f=sn,x.f=dn,C.f=w.f=pn,_.f=gn,R.f=function(n){return un(E(n),n)},a&&(k(G,"description",{configurable:!0,get:function(){return U(this).description}}),u||M(H,"propertyIsEnumerable",cn,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:q}),j(y(en),(function(n){N(n)})),t({target:"Symbol",stat:!0,forced:!s},{useSetter:function(){tn=!0},useSimple:function(){tn=!1}}),t({target:"Object",stat:!0,forced:!s,sham:!a},{create:function(n,l){return void 0===l?v(n):sn(v(n),l)},defineProperty:an,defineProperties:sn,getOwnPropertyDescriptor:dn}),t({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:pn}),L(),F(q,"Symbol"),T[z]=!0},"2fjn":function(n,l,e){!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,l){switch(l){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")}}})}(e("wd/R"))},"2gN3":function(n,l,e){var t=e("Kz5y")["__core-js_shared__"];n.exports=t},"2j+i":function(n,l,e){"use strict";function t(n){return(t="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)}e("ExoC"),e("wLYn"),e("NBAS"),e("SuFq"),e("uL8W"),e("XUE8"),e("5DmW"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("tkto"),e("TeQF"),e("27RR"),e("HRxU"),e("0oug"),e("PKPk"),e("3bBZ"),e("tjZM"),e("lEou"),e("DEfu"),e("I9xj"),e("Junv"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("eoL8"),e("R5XZ"),e("4mDm"),e("rOQg"),e("07d7"),e("XMab"),e("moxL"),e("qXVe"),e("c162"),e("waxf"),e("0TkE"),e("Onu3"),e("1dYe"),e("gvgV"),e("6R/c"),e("YL0P"),e("X5Zq"),e("MoCz"),e("P8wP"),e("ypFw"),e("JaFt"),e("zSZm"),e("PF2M"),e("KVSy"),e("ZJ55"),e("IZzc"),e("Fwt+"),e("s5qe"),e("cvf0"),e("oVuX"),e("2B1R"),e("J30X"),e("QWBl"),e("FZtP"),e("4l63"),e("sMBO"),e("brp2"),e("DQNa"),e("SYor"),e("yq1k"),e("JTJg"),e("pDQq"),e("fbCW"),e("ma9I"),e("toAj"),e("rB9j"),e("UxlC"),e("LKBx"),e("TWNs"),e("JfAA"),e("hByQ"),e("rNhl"),e("E9XD"),e("+2oP"),e("rZ3M"),e("5s+n"),e("Rfxz"),e("x0AG"),e("yXV3");var i=d(e("e4jL")),o=e("5P0i"),r=d(e("rrFr")),u=d(e("LvDl")),a=d(e("CFBA")),s=d(e("O87r")),c=d(e("hPIr"));function d(n){return n&&n.__esModule?n:{default:n}}function p(){p=function(){return n};var n={},l=Object.prototype,e=l.hasOwnProperty,i=Object.defineProperty||function(n,l,e){n[l]=e.value},o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function s(n,l,e){return Object.defineProperty(n,l,{value:e,enumerable:!0,configurable:!0,writable:!0}),n[l]}try{s({},"")}catch(I){s=function(n,l,e){return n[l]=e}}function c(n,l,e,t){var o=l&&l.prototype instanceof h?l:h,r=Object.create(o.prototype),u=new M(t||[]);return i(r,"_invoke",{value:x(n,e,u)}),r}function d(n,l,e){try{return{type:"normal",arg:n.call(l,e)}}catch(I){return{type:"throw",arg:I}}}n.wrap=c;var g={};function h(){}function m(){}function f(){}var b={};s(b,r,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(k([])));y&&y!==l&&e.call(y,r)&&(b=y);var C=f.prototype=h.prototype=Object.create(b);function w(n){["next","throw","return"].forEach((function(l){s(n,l,(function(n){return this._invoke(l,n)}))}))}function _(n,l){var o;i(this,"_invoke",{value:function(i,r){function u(){return new l((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"==t(p)&&e.call(p,"__await")?l.resolve(p.__await).then((function(n){i("next",n,u,a)}),(function(n){i("throw",n,u,a)})):l.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,l,e){var t="suspendedStart";return function(i,o){if("executing"===t)throw new Error("Generator is already running");if("completed"===t){if("throw"===i)throw o;return S()}for(e.method=i,e.arg=o;;){var r=e.delegate;if(r){var u=P(r,e);if(u){if(u===g)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===t)throw t="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);t="executing";var a=d(n,l,e);if("normal"===a.type){if(t=e.done?"completed":"suspendedYield",a.arg===g)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(t="completed",e.method="throw",e.arg=a.arg)}}}function P(n,l){var e=l.method,t=n.iterator[e];if(void 0===t)return l.delegate=null,"throw"===e&&n.iterator.return&&(l.method="return",l.arg=void 0,P(n,l),"throw"===l.method)||"return"!==e&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var i=d(t,n.iterator,l.arg);if("throw"===i.type)return l.method="throw",l.arg=i.arg,l.delegate=null,g;var o=i.arg;return o?o.done?(l[n.resultName]=o.value,l.next=n.nextLoc,"return"!==l.method&&(l.method="next",l.arg=void 0),l.delegate=null,g):o:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,g)}function A(n){var l={tryLoc:n[0]};1 in n&&(l.catchLoc=n[1]),2 in n&&(l.finallyLoc=n[2],l.afterLoc=n[3]),this.tryEntries.push(l)}function O(n){var l=n.completion||{};l.type="normal",delete l.arg,n.completion=l}function M(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(A,this),this.reset(!0)}function k(n){if(n){var l=n[r];if(l)return l.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var t=-1,i=function l(){for(;++t=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var u=e.call(o,"catchLoc"),a=e.call(o,"finallyLoc");if(u&&a){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev=0;--l){var e=this.tryEntries[l];if(e.finallyLoc===n)return this.complete(e.completion,e.afterLoc),O(e),g}},catch:function(n){for(var l=this.tryEntries.length-1;l>=0;--l){var e=this.tryEntries[l];if(e.tryLoc===n){var t=e.completion;if("throw"===t.type){var i=t.arg;O(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,l,e){return this.delegate={iterator:k(n),resultName:l,nextLoc:e},"next"===this.method&&(this.arg=void 0),g}},n}function g(n,l,e,t,i,o,r){try{var u=n[o](r),a=u.value}catch(s){return void e(s)}u.done?l(a):Promise.resolve(a).then(t,i)}function h(n,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function m(n){for(var l=1;l0&&void 0!==arguments[0]?arguments[0]:{};return new a.default((function(e){var t=n.ce("input",m({type:"file",style:"height: 0; width: 0; visibility: hidden;",tabindex:"-1"},l));document.body.appendChild(t),t.addEventListener("change",(function(){e(t.files),document.body.removeChild(t)}),!0),"function"==typeof t.trigger?t.trigger("click"):t.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&&M}},{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 l=this.component.filePattern.trim()||"";!this.imageUpload||l&&"*"!==l?this.imageUpload&&!l.includes("image/*")?n.accept="".concat("image/*",",").concat(l):n.accept=l:n.accept="image/*"}return n}},{key:"deleteFile",value:function(n){var l=this.component.options,e=void 0===l?{}:l;if(n&&["url","indexeddb"].includes(this.component.storage)){var t=this.fileService;if(t&&"function"==typeof t.deleteFile)t.deleteFile(n,e);else{var i=this.options.formio||this.root&&this.root.formio;i&&i.makeRequest("",n.url,"delete")}}}},{key:"attach",value:function(n){var l=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 e=C(A(h.prototype),"attach",this).call(this,n);if(this.refs.fileDrop){this.statuses.length||this.refs.fileDrop.removeAttribute("hidden");var t=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(),t.upload(n.dataTransfer.files)}))}if(this.refs.fileBrowse&&this.addEventListener(this.refs.fileBrowse,"click",(function(n){n.preventDefault(),l.browseFiles(l.browseOptions).then((function(n){l.upload(n)}))})),this.refs.fileLink.forEach((function(n,e){l.addEventListener(n,"click",(function(n){n.preventDefault(),l.getFile(l.dataValue[e])}))})),this.refs.removeLink.forEach((function(n,e){l.addEventListener(n,"click",(function(n){var t=l.dataValue[e];l.deleteFile(t),n.preventDefault(),l.splice(e),l.redraw()}))})),this.refs.fileStatusRemove.forEach((function(n,e){l.addEventListener(n,"click",(function(n){n.preventDefault();var t=l.statuses[e];u.default.pull(l.filesUploading,t.originalName),t.abort&&t.abort(),l.statuses.splice(e,1),l.redraw()}))})),this.refs.galleryButton&&M&&this.addEventListener(this.refs.galleryButton,"click",(function(n){n.preventDefault(),M.getPicture((function(n){window.resolveLocalFileSystemURL(n,(function(n){n.file((function(n){var e=new FileReader;e.onloadend=function(e){var t=new Blob([new Uint8Array(e.target.result)],{type:n.type});t.name=n.name,l.upload([t])},e.readAsArrayBuffer(n)}))}))}),(function(n){console.error(n)}),{sourceType:M.PictureSourceType.PHOTOLIBRARY})})),this.refs.cameraButton&&M&&this.addEventListener(this.refs.cameraButton,"click",(function(n){n.preventDefault(),M.getPicture((function(n){window.resolveLocalFileSystemURL(n,(function(n){n.file((function(n){var e=new FileReader;e.onloadend=function(e){var t=new Blob([new Uint8Array(e.target.result)],{type:n.type});t.name=n.name,l.upload([t])},e.readAsArrayBuffer(n)}))}))}),(function(n){console.error(n)}),{sourceType:M.PictureSourceType.CAMERA,encodingType:M.EncodingType.PNG,mediaType:M.MediaType.PICTURE,saveToPhotoAlbum:!0,correctOrientation:!1})})),this.refs.takePictureButton&&this.addEventListener(this.refs.takePictureButton,"click",(function(n){n.preventDefault(),l.takePicture()})),this.refs.toggleCameraMode&&this.addEventListener(this.refs.toggleCameraMode,"click",(function(n){n.preventDefault(),l.cameraMode=!l.cameraMode,l.redraw()})),this.refs.fileType.forEach((function(n,e){l.dataValue[e].fileType=l.dataValue[e].fileType||l.component.fileTypes[0].label,l.addEventListener(n,"change",(function(n){n.preventDefault();var t=l.component.fileTypes.find((function(l){return l.value===n.target.value}));l.dataValue[e].fileType=t.label}))})),this.fileService){var i=[];this.filesReady=new a.default((function(n,e){l.filesReadyResolve=n,l.filesReadyReject=e})),this.refs.fileImage.forEach((function(n,e){i.push(l.loadImage(l.dataValue[e]).then((function(l){return n.src=l})))})),i.length?a.default.all(i).then((function(){l.filesReadyResolve()})).catch((function(){return l.filesReadyReject()})):this.filesReadyResolve()}return e}},{key:"fileSize",value:function(n,l,e,t,i){return"".concat((l=Math,e=l.log,i=e(n)/e(1024)|0,n/l.pow(1024,i)).toFixed(2)," ").concat(i?"".concat("kMGTPEZY"[--i],"B"):"Bytes")}},{key:"globStringToRegex",value:function(n){var l="",e=[];if((n=n.replace(/\s/g,"")).length>2&&"/"===n[0]&&"/"===n[n.length-1])l=n.substring(1,n.length-1);else{var t=n.split(",");if(t.length>1)for(var i=0;i|:\\-]","g"),"\\$&"),"$")).replace(/\\\*/g,".*").replace(/\\\?/g,"."))}return{regexp:l,excludes:e}}},{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,l){if(!l)return!0;var e=this.globStringToRegex(l),t=!0;if(e.regexp&&e.regexp.length){var i=new RegExp(e.regexp,"i");t=!u.default.isNil(n.type)&&i.test(n.type)||!u.default.isNil(n.name)&&i.test(n.name)}return t=e.excludes.reduce((function(l,e){var t=new RegExp(e,"i");return l&&(u.default.isNil(n.type)||!t.test(n.type))&&(u.default.isNil(n.name)||!t.test(n.name))}),t)}},{key:"validateMinSize",value:function(n,l){return n.size+.1>=this.translateScalars(l)}},{key:"validateMaxSize",value:function(n,l){return n.size-.1<=this.translateScalars(l)}},{key:"upload",value:function(n){var l=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,e=(n=p().mark((function n(e){var t,i,r,a,d,g,h,f,b,v,y,C,w,_,x,P,A,O,M,k,S,I,T,D;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t=(0,o.uniqueName)(e.name,l.component.fileNameTemplate,l.evalContext()),i=e.name?e.name.replaceAll("<","<").replaceAll(">",">"):e.name,r={abort:function(){return null},originalName:i,name:t,size:e.size,status:"info",message:l.t("Processing file. Please wait..."),hash:""},"true"!==l.root.form.submissionRevisions){n.next=12;break}return l.statuses.push(r),l.redraw(),a=new c.default,n.next=9,new Promise((function(n,t){l.emit("fileUploadingStart"),a.md5(e,(function(l,e){return l?t(l):n(e)}))}));case 9:d=n.sent,l.emit("fileUploadingEnd"),r.hash=d;case 12:if(l.filesUploading||(l.filesUploading=[]),g=l.filesUploading.some((function(n){return n===e.name})),l.filesUploading.push(e.name),h=l.dataValue.some((function(n){return n.originalName===e.name})),f=l.statuses.findIndex((function(n){return n.originalName===e.name&&"error"===n.status})),(h||g)&&(r.status="error",r.message=l.t("File with the same name is already ".concat(g?"being ":"","uploaded"))),-1!==f&&(l.statuses.splice(f,1),l.redraw()),l.component.filePattern&&!l.validatePattern(e,l.component.filePattern)&&(r.status="error",r.message=l.t("File is the wrong type; it must be {{ pattern }}",{pattern:l.component.filePattern})),l.component.fileMinSize&&!l.validateMinSize(e,l.component.fileMinSize)&&(r.status="error",r.message=l.t("File is too small; it must be at least {{ size }}",{size:l.component.fileMinSize})),l.component.fileMaxSize&&!l.validateMaxSize(e,l.component.fileMaxSize)&&(r.status="error",r.message=l.t("File is too big; it must be at most {{ size }}",{size:l.component.fileMaxSize})),b=l.interpolate(l.component.dir||""),(v=l.fileService)||(r.status="error",r.message=l.t("File Service not provided.")),"true"!==l.root.form.submissionRevisions&&(l.statuses.push(r),l.redraw()),"error"===r.status){n.next=62;break}if(l.component.privateDownload&&(e.private=!0),y=l.component,C=y.storage,w=y.options,_=void 0===w?{}:w,x=l.interpolate(l.component.url,{file:r}),P=null,A=null,l.root.everyComponent((function(n){var l,e;(null!==(l=n.component)&&void 0!==l&&l.submissionAccess||null!==(e=n.component)&&void 0!==e&&e.defaultPermission)&&(A=n.component.submissionAccess?n.component.submissionAccess:[{type:n.component.defaultPermission,roles:[]}]).forEach((function(l){P=["admin","write","create"].includes(l.type)?n.component.key:null}))})),O=l.component.fileKey||"file",M=P?l.currentForm.submission.data[P]._id:null,k=null,!l.root.options.fileProcessor){n.next=55;break}return n.prev=37,l.refs.fileProcessingLoader&&(l.refs.fileProcessingLoader.style.display="block"),S=(0,s.default)(l.fileService,l.root.options.fileProcessor),n.next=42,S(e,l.component.properties);case 42:k=n.sent,n.next=52;break;case 45:return n.prev=45,n.t0=n.catch(37),r.status="error",r.message=l.t("File processing has been failed."),l.fileDropHidden=!1,l.redraw(),n.abrupt("return");case 52:return n.prev=52,l.refs.fileProcessingLoader&&(l.refs.fileProcessingLoader.style.display="none"),n.finish(52);case 55:I=0,T=!(!l.component.useMultipartUpload||!l.component.multipart)&&m(m({},l.component.multipart),{},{progressCallback:function(n){I++,r.status="progress",r.progress=parseInt(100*I/n),delete r.message,l.redraw()},changeMessage:function(n){r.message=n,l.redraw()}}),r.message=l.t("Starting upload..."),l.redraw(),D=v.uploadFile(C,k||e,t,b,(function(n){r.status="progress",r.progress=parseInt(100*n.loaded/n.total),delete r.message,l.redraw()}),x,_,O,A,M,(function(){l.emit("fileUploadingStart",D)}),(function(n){return r.abort=n}),T).then((function(n){var e=l.statuses.indexOf(r);-1!==e&&l.statuses.splice(e,1),n.originalName=i,n.hash=r.hash,l.hasValue()||(l.dataValue=[]),l.dataValue.push(n),u.default.pull(l.filesUploading,n.originalName),l.fileDropHidden=!1,l.redraw(),l.triggerChange(),l.emit("fileUploadingEnd",D)})).catch((function(n){r.status="error",r.message="string"==typeof n?n:n.toString(),delete r.progress,l.fileDropHidden=!1,u.default.pull(l.filesUploading,e.name),l.redraw(),l.emit("fileUploadingEnd",D)})),n.next=63;break;case 62:l.filesUploading.splice(l.filesUploading.indexOf(e.name),1);case 63:case"end":return n.stop()}}),n,null,[[37,45,52,55]])})),function(){var l=this,e=arguments;return new Promise((function(t,i){var o=n.apply(l,e);function r(n){g(o,t,i,r,u,"next",n)}function u(n){g(o,t,i,r,u,"throw",n)}r(void 0)}))});return function(n){return e.apply(this,arguments)}}()))}},{key:"getFile",value:function(n){var l=this.component.options,e=void 0===l?{}:l,t=this.fileService;if(!t)return alert("File Service not provided");this.component.privateDownload&&(n.private=!0),t.downloadFile(n,e).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(),C(A(h.prototype),"destroy",this).call(this)}}])&&v(l.prototype,e),t&&v(l,t),Object.defineProperty(l,"prototype",{writable:!1}),h}(i.default);l.default=k},"2oRo":function(n,l,e){"use strict";var t=function(n){return n&&n.Math===Math&&n};n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"2t6Q":function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("YILz"))&&t.__esModule?t:{default:t}).default};l.default=i},"2ykv":function(n,l,e){!function(n){"use strict";var l="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),e="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^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,t){return n?/-MMM-/.test(t)?e[n.month()]:l[n.month()]:l},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:t,longMonthsParse:t,shortMonthsParse:t,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}})}(e("wd/R"))},"33Wh":function(n,l,e){"use strict";var t=e("yoRg"),i=e("eDl+");n.exports=Object.keys||function(n){return t(n,i)}},"37lR":function(n,l,e){"use strict";var t=e("B/qT");n.exports=function(n,l,e){for(var i=0,o=arguments.length>2?e:t(l),r=new n(o);o>i;)r[i]=l[i++];return r}},"3A2Y":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;for(var t in e+='
\n \n ",n.component.tooltip&&(e+='\n \n '),e+="\n
\n"}},"3A9y":function(n,l){n.exports=function(n){return this.__data__.has(n)}},"3E1r":function(n,l,e){!function(n){"use strict";var l={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},e={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},t=[/^\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:t,longMonthsParse:t,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 e[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return l[n]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(n,l){return 12===n&&(n=0),"\u0930\u093e\u0924"===l?n<4?n:n+12:"\u0938\u0941\u092c\u0939"===l?n:"\u0926\u094b\u092a\u0939\u0930"===l?n>=10?n:n+12:"\u0936\u093e\u092e"===l?n+12:void 0},meridiem:function(n,l,e){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}})}(e("wd/R"))},"3Eq5":function(n,l,e){"use strict";var t=e("We1y"),i=e("cjT7");n.exports=function(n,l){var e=n[l];return i(e)?void 0:t(e)}},"3Fdi":function(n,l){var e=Function.prototype.toString;n.exports=function(n){if(null!=n){try{return e.call(n)}catch(l){}try{return n+""}catch(l){}}return""}},"3I5B":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='\n \n '+(null==(l=n.element)?"":l)+"\n \n ",n.disabled||(e+='\n \n \n \n '),e+="\n\n"}},"3Iyw":function(n,l,e){"use strict";function t(n){return(t="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)}e("SuFq"),e("uL8W"),e("eoL8"),e("XUE8"),e("5DmW"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("3bBZ"),e("tkto"),e("27RR"),e("HRxU"),e("ENF9"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("zKZe"),e("sMBO"),e("U3f4"),e("wLYn"),e("QWBl"),e("07d7"),e("FZtP"),e("yXV3"),e("ma9I"),e("yq1k"),e("JTJg"),e("J30X"),e("rB9j"),e("UxlC"),e("LKBx"),e("oVuX"),e("DQNa"),e("JfAA"),e("2B1R"),e("pDQq"),e("E9XD"),e("4l63"),e("rZ3M"),e("TeQF"),e("pjDv"),e("PKPk"),e("Rfxz"),e("+2oP"),e("ExoC"),e("NBAS"),e("R5XZ");var i=e("uIYt"),o=y(e("CFBA")),r=y(e("b5oN")),u=y(e("LvDl")),a=y(e("A0fv")),s=e("1eKU"),c=function(n,l){if(!l&&n&&n.__esModule)return n;if(null===n||"object"!==t(n)&&"function"!=typeof n)return{default:n};var e=v(l);if(e&&e.has(n))return e.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,e&&e.set(n,i);return i}(e("5P0i")),d=y(e("g/h2")),p=y(e("A+qq")),g=y(e("E4Ma")),h=y(e("Nmqk")),m=y(e("kZaA")),f=e("Jw/Y"),b=y(e("Nq0N"));function v(n){if("function"!=typeof WeakMap)return null;var l=new WeakMap,e=new WeakMap;return(v=function(n){return n?e:l})(n)}function y(n){return n&&n.__esModule?n:{default:n}}function C(n,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function w(n){for(var l=1;l=n.length?{done:!0}:{done:!1,value:n[t++]}},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(){e=e.call(n)},n:function(){var n=e.next();return r=n.done,n},e:function(n){u=!0,o=n},f:function(){try{r||null==e.return||e.return()}finally{if(u)throw o}}}}function P(n){return function(n){if(Array.isArray(n))return O(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||A(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 A(n,l){if(n){if("string"==typeof n)return O(n,l);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?O(n,l):void 0}}function O(n,l){(null==l||l>n.length)&&(l=n.length);for(var e=0,t=new Array(l);e0&&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 l=this.isPDFReadOnlyMode;return this.hasInput&&this.component.validate&&(0,c.boolValue)(this.component.validate.required)&&!l&&(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,l=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 l.createAddon(n)}))}},{key:"afterComponentAssign",value:function(){}},{key:"createAddon",value:function(n){var l,e=n.name;if(e){var t=(null===(l=n.settings)||void 0===l?void 0:l.data)||{},i=m.default[e.value],o=null;if(i){var r=i.info.supportedComponents;null!=r&&r.length&&-1===r.indexOf(this.component.type)?console.warn("Addon ".concat(e.label," does not support component of type ").concat(this.component.type,".")):(o=new i(t,this),this.addons.push(o))}return o}}},{key:"destroy",value:function(){S(N(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,l){return!!this.options[l]&&(n||(n=this.component),u.default.isArray(this.options[l])?this.options[l].includes(n.key):this.options[l][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],l=this.rightDirection(this.labelPositions[0]),e="left"===this.labelPositions[0]||n,t=this.rightDirection(this.labelPositions[1]),i="";if(this.component.hideLabel){var o=n?0:this.labelWidth+this.labelMargin;i=l?"margin-right: ".concat(o,"%"):"",i=e?"margin-left: ".concat(o,"%"):""}var r="\n flex: ".concat(this.labelWidth,";\n ").concat(l?"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:l,isRightAlign:t,labelStyles:r,contentStyles:u}}},{key:"getModifiedSchema",value:function(n,l,e){var t=this,i={};return l?(u.default.each(n,(function(n,o){if(!u.default.isArray(n)&&u.default.isObject(n)&&l.hasOwnProperty(o)){var r=t.getModifiedSchema(n,l[o],!0);u.default.isEmpty(r)||(i[o]=r)}else u.default.isArray(n)?0===n.length||u.default.isEqual(n,l[o])||(i[o]=n):(!e&&"type"===o||!e&&"key"===o||!e&&"label"===o||!e&&"input"===o||!e&&"tableView"===o||""!==n&&!l.hasOwnProperty(o)||""!==n&&n!==l[o]||l[o]&&n!==l[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 l,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n)return"";if(n in b.default&&e._userInput)return n;e.data=this.rootValue,e.row=this.data,e.component=this.component;for(var t=arguments.length,i=new Array(t>2?t-2:0),o=2;o");return this.getFormattedAttribute(l)}},{key:"isHtmlRenderMode",value:function(){return"html"===this.options.renderMode}},{key:"renderTemplate",value:function(n){var l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,i=t||this.options.renderMode||"form";e.component=this.component,e.self=this,e.options=this.options,e.readOnly=this.options.readOnly,e.iconClass=this.iconClass.bind(this),e.size=this.size.bind(this),e.t=this.t.bind(this),e.transform=this.transform.bind(this),e.id=e.id||this.id,e.key=e.key||this.key,e.value=e.value||this.dataValue,e.disabled=this.disabled,e.builder=this.builderMode,e.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"),l.renderTemplate.apply(l,arguments)},e.label=e.labelInfo||this.labelInfo,e.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),e),e,i)}},{key:"sanitize",value:function(n,l,e){var t;return this.shouldSanitizeValue||l?c.sanitize(n,{sanitizeConfig:u.default.merge((null===(t=this.options)||void 0===t?void 0:t.sanitizeConfig)||{},e||{})}):n}},{key:"renderString",value:function(n,l){return n?this.interpolate(n,l):""}},{key:"performInputMapping",value:function(n){return n}},{key:"widget",get:function(){var n,l=this.component.widget;return l&&null!==(n=this.root)&&void 0!==n&&n.shadowRoot&&(l.shadowRoot=this.root.shadowRoot),l&&h.default[l.type]?new h.default[l.type](l,this.component,this):null}},{key:"getBrowserLanguage",value:function(){var n,l=window.navigator,e=["language","browserLanguage","systemLanguage","userLanguage"];if(Array.isArray(l.languages))for(var t=0;t [ref="'.concat(e,'"]'):'[ref="'.concat(e,'"]');i&&t.startsWith("single")?this.refs[e]=n.querySelector(o):this.refs[e]=n.querySelectorAll(o)}}},{key:"setOpenModalElement",value:function(n){this.componentModal.setOpenModalElement(n||this.getModalPreviewTemplate())}},{key:"getModalPreviewTemplate",value:function(){var n,l,e="password"===this.component.type?this.dataValue.replace(/./g,"\u2022"):this.dataValue,t=this.error?{level:"error",message:this.error.message}:"";return this.hasInput&&null!==(n=this.component.validate)&&void 0!==n&&n.required&&!this.isPDFReadOnlyMode&&(l={className:"field-required"}),this.renderTemplate("modalPreview",{previewText:this.getValueAsString(e,{modalPreview:!0})||this.t("Click to set value"),messages:t&&this.renderTemplate("message",t),labelInfo:l})}},{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),l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=this.visible;return this.rendered=!0,this.builderMode||this.previewMode||!this.component.modalEdit?this.renderTemplate("component",{visible:e,id:this.id,classes:this.className,styles:this.customStyle,children:n},l):g.default.render(this,{visible:e,showSaveButton:this.hasModalSaveButton,id:this.id,classes:this.className,styles:this.customStyle,children:n},l)}},{key:"attachTooltips",value:function(n){var l=this;null==n||n.forEach((function(n,e){if(n){var t=n.getAttribute("data-tooltip"),i=n.getAttribute("data-title"),o=l.interpolate(i||t).replace(/(?:\r\n|\r|\n)/g,"
");l.tooltips[e]=(0,r.default)(n,{allowHTML:!0,trigger:"mouseenter click focus",placement:"right",zIndex:1e4,interactive:!0,content:l.t(l.sanitize(o),{_userInput:!0})})}}))}},{key:"createComponentModal",value:function(n,l,e){return new g.default(this,n,l,e)}},{key:"attach",value:function(n){if(!this.builderMode&&!this.previewMode&&this.component.modalEdit){var l=!!this.componentModal&&this.componentModal.isOpened,e=l?this.componentModal.currentValue:this.dataValue,t=this.componentModal&&l?this.componentModal.openModalTemplate:null;this.componentModal=this.createComponentModal(n,l,e),this.setOpenModalElement(t)}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(l){return l.attach(n)})),o.default.resolve()}},{key:"restoreFocus",value:function(){var n,l,e;(null===(n=this.root)||void 0===n||null===(l=n.focusedComponent)||void 0===l?void 0:l.path)===this.path&&(this.loadRefs(this.element,{input:"multiple"}),this.focus(null===(e=this.root.currentSelection)||void 0===e?void 0:e.index),this.restoreCaretPosition())}},{key:"addShortcut",value:function(n,l){n&&this.root&&this.root!==this&&(l||(l=this.component.shortcut),this.root.addShortcut(n,l))}},{key:"removeShortcut",value:function(n,l){n&&this.root!==this&&(l||(l=this.component.shortcut),this.root.removeShortcut(n,l))}},{key:"detach",value:function(){this.refs={},this.removeEventListeners(),this.detachLogic(),this.tooltip&&this.tooltip.destroy()}},{key:"checkRefresh",value:function(n,l,e){var t=u.default.get(l,"instance.path",!1);t&&this.path===t||("data"===n?this.refresh(this.data,l,e):t&&(0,c.getComponentPath)(l.instance)===n&&l&&l.instance&&this.inContext(l.instance)&&this.refresh(l.value,l,e))}},{key:"checkRefreshOn",value:function(n){var l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n=n||[],!e.noRefresh){!n.length&&e.changed&&(n=[e.changed]);var t=e.fromBlur?this.component.refreshOnBlur:this.component.refreshOn||this.component.redrawOn;t&&(Array.isArray(t)?t.forEach((function(t){return n.forEach((function(n){return l.checkRefresh(t,n,e)}))})):n.forEach((function(n){return l.checkRefresh(t,n,e)})))}}},{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 l=this.parent;l;){if(l.data===n.data)return!0;l=l.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,l){var e=this,t=!this.refs.input||!this.refs.input[0]||!this.refs.input[0].widget;if(!n||t)return this.widget&&n?this.widget.getValueAsString(n):n;if(Array.isArray(n)){var i=[];return n.forEach((function(n,t){var o=e.refs.input[t]&&e.refs.input[t].widget;o&&i.push(o.getValueAsString(n,l))})),i}return this.refs.input[0].widget.getValueAsString(n,l)}},{key:"getValueAsString",value:function(n,l){if(!n)return"";if(n=this.getWidgetValueAsString(n,l),Array.isArray(n))return n.join(", ");if(u.default.isPlainObject(n))return JSON.stringify(n);if(null==n)return"";var e=n.toString();return this.sanitize(e)}},{key:"getView",value:function(n,l){return this.component.protected?"--- PROTECTED ---":this.getValueAsString(n,l)}},{key:"updateItems",value:function(){this.restoreValue(),this.onChange.apply(this,arguments)}},{key:"itemValue",value:function(n){var l=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(l)return n.value}return n}},{key:"itemValueForHTMLMode",value:function(n){var l=this;return Array.isArray(n)?n.map((function(n){return Array.isArray(n)?l.itemValueForHTMLMode(n):l.itemValue(n)})).join(", "):this.itemValue(n)}},{key:"createModal",value:function(n,l,e){var t=this,i=this.ce("div",l||{});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 t.removeChildFrom(i,document.body)}));var o=function(n){n.preventDefault(),i.close()},r=function(n){e?e().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(l,e){""!==l&&(n+="".concat(e,":").concat(l,";"))})),n}},{key:"isMobile",get:function(){return(0,a.default)()}},{key:"getElement",value:function(){return this.element}},{key:"evalContext",value:function(n){return S(N(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,l){var e=this.options.iconset||F.current.defaultIconset||"fa";return F.current.hasOwnProperty("iconClass")?F.current.iconClass(e,n,l):"fa"===this.options.iconset?F.defaultTemplates.iconClass(e,n,l):n}},{key:"size",value:function(n){return F.current.hasOwnProperty("size")?F.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,l,e,t){return n instanceof HTMLElement&&(n.innerHTML=this.sanitize(l,e,t),!0)}},{key:"restoreCaretPosition",value:function(){var n,l;if(null!==(n=this.root)&&void 0!==n&&n.currentSelection&&null!==(l=this.refs.input)&&void 0!==l&&l.length){var e=this.root.currentSelection,t=e.selection,i=e.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,P(t))}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,l=Array.prototype.indexOf.call(n.children,this.element);return this.element.outerHTML=this.sanitize(this.render()),this.element=n.children[l],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(N(v.prototype),"removeEventListeners",this).call(this),this.tooltips.forEach((function(n){return n.destroy()})),this.tooltips=[]}},{key:"hasClass",value:function(n,l){if(n)return S(N(v.prototype),"hasClass",this).call(this,n,this.transform("class",l))}},{key:"addClass",value:function(n,l){if(n)return S(N(v.prototype),"addClass",this).call(this,n,this.transform("class",l))}},{key:"removeClass",value:function(n,l){if(n)return S(N(v.prototype),"removeClass",this).call(this,n,this.transform("class",l))}},{key:"hasCondition",value:function(){return null!==this._hasCondition||(this._hasCondition=c.hasCondition(this.component)),this._hasCondition}},{key:"conditionallyVisible",value:function(n,l){return n=n||this.rootValue,l=l||this.data,this.builderMode||this.previewMode||!this.hasCondition()?!this.component.hidden:(n=n||(this.root?this.root.data:{}),this.checkCondition(l,n))}},{key:"checkCondition",value:function(n,l){return c.checkCondition(this.component,n||this.data,l||this.rootValue,this.root?this.root._form:{},this)}},{key:"checkComponentConditions",value:function(n,l,e){n=n||this.rootValue,l=l||{},e=e||this.data,!this.builderMode&!this.previewMode&&this.fieldLogic(n,e)&&this.redraw();var t=this.conditionallyVisible(n,e);return this.visible!==t&&(this.visible=t),t}},{key:"checkConditions",value:function(n,l,e){return n=n||this.rootValue,l=l||{},e=e||this.data,this.checkComponentConditions(n,l,e)}},{key:"logic",get:function(){return this.component.logic||[]}},{key:"fieldLogic",value:function(n,l){var e=this;n=n||this.rootValue,l=l||this.data;var t=this.logic;if(0!==t.length){var i=(0,c.fastCloneDeep)(this.originalComponent),o=t.reduce((function(t,o){var r=c.checkTrigger(i,o.trigger,l,n,e.root?e.root._form:{},e);return!!r&&e.applyActions(i,o.actions,r,l,n)||t}),!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,l=n.indexOf("MSIE ");if(l>0)return parseInt(n.substring(l+5,n.indexOf(".",l)),10);if(n.indexOf("Trident/")>0){var e=n.indexOf("rv:");return parseInt(n.substring(e+3,n.indexOf(".",e)),10)}var t=n.indexOf("Edge/");return t>0&&parseInt(n.substring(t+5,n.indexOf(".",t)),10)}},{key:"defineActionValue",value:function(n,l){return this.evaluate(n.value,l,"value")}},{key:"applyActions",value:function(n,l,e,t,i){var o=this;return i=i||this.rootValue,t=t||this.data,l.reduce((function(l,r){switch(r.type){case"property":c.setActionProperty(n,r,e,t,i,o);var a=r.property.value;u.default.isEqual(u.default.get(o.component,a),u.default.get(n,a))||(l=!0);break;case"value":var s=o.getValue(),d=o.defineActionValue(r,{value:u.default.clone(s),data:i,row:t,component:n,result:e});u.default.isEqual(s,d)||o.component.clearOnHide&&!o.visible||(o.setValue(d),o.viewOnly&&(o.dataValue=d),l=!0);break;case"mergeComponentSchema":var p=o.evaluate(r.schemaDefinition,{value:u.default.clone(o.getValue()),data:i,row:t,component:n,result:e},"schema");u.default.assign(n,p),u.default.isEqual(o.component,n)||(l=!0);break;case"customAction":var g=o.getValue(),h=o.evaluate(r.customAction,{value:u.default.clone(g),data:i,row:t,input:g,component:n,result:e},"value");u.default.isEqual(g,h)||o.component.clearOnHide&&!o.visible||(o.setValue(h),o.viewOnly&&(o.dataValue=h),l=!0)}return l}),!1)}},{key:"addInputError",value:function(n,l,e){this.addMessages(n),this.setErrorClasses(e,l,!!n)}},{key:"removeInputError",value:function(n){this.setErrorClasses(n,!0,!1)}},{key:"addMessages",value:function(n){var l=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(">",">")),l.renderTemplate("message",n)})).join("")))}},{key:"setErrorClasses",value:function(n,l,e,t){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,e),e&&(n.forEach((function(n){i.setElementInvalid(i.performInputMapping(n),!0)})),l&&this.options.highlightErrors?this.addClass(o,this.options.componentErrorClass):this.addClass(o,"has-error")),t&&this.addClass(o,"has-message")}},{key:"setElementInvalid",value:function(n,l){n&&(l?this.addClass(n,"is-invalid"):this.removeClass(n,"is-invalid"),n.setAttribute("aria-invalid",l?"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 l;(l=this.root).triggerChange.apply(l,arguments)}}},{key:"onChange",value:function(n,l){(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 e={instance:this,component:this.component,value:this.dataValue,flags:n};this.emit("componentChange",e);var t=!1;return n.modified&&(t=!0,delete n.modified),l||this.triggerRootChange(n,e,t),e}},{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,l,e){return(l=u.default.isEmpty(l)?{}:l).base64Upload=!this.component.isUploadEnabled,l.mediaEmbed={previewsInData:!0},l=u.default.merge(this.wysiwygDefault.ckeditor,u.default.get(this.options,"editors.ckeditor.settings",{}),l),this.component.isUploadEnabled&&l.extraPlugins.push((0,f.getFormioUploadAdapterPlugin)(this.fileService,this)),s.GlobalFormio.requireLibrary("ckeditor",L?"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(L){var t=CKEDITOR.replace(n);return t.on("change",(function(){return e(t.getData())})),o.default.resolve(t)}return ClassicEditor.create(n,l).then((function(n){return n.model.document.on("change",(function(){return e(n.data.get())})),n}))}))}},{key:"addQuill",value:function(n,l,e){var t=this;return l=u.default.isEmpty(l)?this.wysiwygDefault.quill:l,l=w(w({},l=u.default.merge(this.wysiwygDefault.quill,u.default.get(this.options,"editors.quill.settings",{}),l)),{},{modules:w({table:!0},l.modules)}),s.GlobalFormio.requireLibrary("quill-css-".concat(l.theme),"Quill",[{type:"styles",src:"".concat(s.GlobalFormio.cdn.quill,"/quill.").concat(l.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();t.quill=new Quill(n,L?w(w({},l),{},{modules:{}}):l);var i=document.createElement("textarea");i.setAttribute("class","quill-source-code"),t.quill.addContainer("ql-custom").appendChild(i);var r=n.parentNode.querySelector(".ql-source");r&&t.addEventListener(r,"click",(function(n){n.preventDefault(),"inherit"===i.style.display&&t.quill.setContents(t.quill.clipboard.convert({html:i.value})),i.style.display="none"===i.style.display?"inherit":"none"})),t.addEventListener(n,"click",(function(){return t.quill.focus()}));for(var u=document.querySelectorAll(".ql-formats > button"),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasValue()){var e=this.dataValue||[];u.default.isArray(e)&&e.hasOwnProperty(n)&&(e.splice(n,1),this.dataValue=e,this.triggerChange(l))}}},{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,l=this.emptyValue;this.component.defaultValue&&(l=this.component.defaultValue),l=this.getCustomDefaultValue(l);var e=function(l){if("string"==typeof l){var e=n.placeholderChar;l=(0,i.conformToMask)(l,n.defaultMask,{placeholderChar:e}).conformedValue,c.matchInputMask(l,n.defaultMask)||(l="")}else l="";return l};return this.defaultMask&&(l=Array.isArray(l)?l.map(e):e(l)),u.default.cloneDeep(l)}},{key:"getValue",value:function(){if(!this.hasInput||this.viewOnly||!this.refs.input||!this.refs.input.length)return this.dataValue;var n=[];for(var l in this.refs.input)if(this.refs.input.hasOwnProperty(l)){if(!this.component.multiple)return this.getValueAt(l);n.push(this.getValueAt(l))}return 0!==n.length||this.component.multiple?n:""}},{key:"getValueAt",value:function(n){var l=this.performInputMapping(this.refs.input[n]);return l?l.value:void 0}},{key:"setValue",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=this.updateValue(n,l);if(n=this.dataValue,!this.hasInput)return e;var t=Array.isArray(n),i=this.refs.fileLink||this.refs.input;if(t&&Array.isArray(this.defaultValue)&&this.refs.hasOwnProperty("input")&&i&&i.length!==n.length&&this.visible&&this.redraw(),this.isHtmlRenderMode()&&l&&l.fromSubmission&&e)return this.redraw(),e;for(var o in this.refs.input)this.refs.input.hasOwnProperty(o)&&this.setValueAt(o,t?n[o]:n,l);return e}},{key:"setValueAt",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.noDefault||null!=l||this.component.multiple||(l=this.defaultValue);var t=this.performInputMapping(this.refs.input[n]),i=this.refs.valueMaskInput;null!=i&&i.mask&&i.mask.textMaskInputElement.update(l),t.mask?t.mask.textMaskInputElement.update(l):t.widget&&t.widget.setValue?t.widget.setValue(l):t.value=l}},{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 l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=l.resetValue||null!=n?n:this.getValue();e=this.normalizeValue(e,l);var t=this.dataValue,i=void 0!==e&&this.hasChanged(e,t);return i&&(this.dataValue=e,i=this.dataValue!==t,this.updateOnChange(l,i)),this.componentModal&&l&&l.fromSubmission&&this.componentModal.setValue(n),i}},{key:"updateValue",value:function(){return this.updateComponentValue.apply(this,arguments)}},{key:"getIcon",value:function(n,l,e){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"icon";return this.renderTemplate("icon",{className:this.iconClass(n),ref:t,styles:e,content:l})}},{key:"resetValue",value:function(){this.unset(),this.setValue(this.emptyValue,{noUpdateEvent:!0,noValidate:!0,resetValue:!0})}},{key:"hasChanged",value:function(n,l){return!(null==n&&(null==l||this.isEmpty(l))||(null==n||!this.allowData||this.hasValue())&&u.default.isEqual(n,l))}},{key:"updateOnChange",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(n.noUpdateEvent||!l||(this.triggerChange(n),0))}},{key:"convertNumberOrBoolToString",value:function(n){return"number"==typeof n||"boolean"==typeof n?n.toString():n}},{key:"doValueCalculation",value:function(n,l,e){var t;return this.evaluate(this.component.calculateValue,{value:n,data:l,row:e||this.data,submission:(null===(t=this.root)||void 0===t?void 0:t._submission)||{data:this.rootValue}},"value")}},{key:"calculateComponentValue",value:function(n,l,e){if(this.builderMode||u.default.isUndefined(u.default.get(this,"root.data")))return!1;var t=this.component.clearOnHide,i=!this.visible&&t,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||l.dataSourceInitialLoading&&o)return!1;var r=this.dataValue,a=this.doValueCalculation(r,n,e,l);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=l.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||l.resetValue;p&&(this.calculatedValue=null);var g=this.normalizeValue(this.convertNumberOrBoolToString(a)),h=this.normalizeValue(this.convertNumberOrBoolToString(this.calculatedValue)),m=this.normalizeValue(this.convertNumberOrBoolToString(r)),f=!u.default.isEqual(h,g),b=!u.default.isEqual(m,h);if(f&&b&&!p)return!1;if(h&&b&&!f)return this.calculatedValue=null,!1;if(l.isReordered||!f)return!1;if(d)return this.calculatedValue=(0,c.fastCloneDeep)(a),!1;if(p&&!this.isEmpty(r)&&s&&f)return!0}return this.calculatedValue=(0,c.fastCloneDeep)(a),!!s&&(l.noPristineChangeOnModified||(this.pristine=!1),l.triggeredComponentId=this.id,this.setValue(a,l))}},{key:"calculateValue",value:function(n,l,e){return n=n||this.rootValue,l=l||{},e=e||this.data,this.calculateComponentValue(n,l,e)}},{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,l,e,t){return e||this.checkCondition(t,n)?this.invalid?this.invalid:!this.hasInput||!l&&this.pristine?"":u.default.map(d.default.checkComponent(this,n),"message").join("\n\n"):""}},{key:"isValid",value:function(n,l){return!this.invalidMessage(n,l)}},{key:"setComponentValidity",value:function(n,l,e){var t=!!n.filter((function(n){return"error"===n.level&&!n.fromServer})).length;return!n.length||e&&!this.error||this.isEmpty(this.defaultValue)&&!l&&this.pristine?e||this.setCustomValidity(""):this.setCustomValidity(n,l),!t}},{key:"checkComponentValidity",value:function(n,l,e){var t,i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||this.rootValue,e=e||this.data;var u=r.async,a=void 0!==u&&u,s=r.silentCheck,c=void 0!==s&&s;if(this.shouldSkipValidation(n,l,e))return this.setCustomValidity(""),!a||o.default.resolve(!0);var p=d.default.checkComponent(this,n,e,!0,a),g=p;return null!==(t=this.serverErrors)&&void 0!==t&&t.length&&(g=p.concat(this.serverErrors)),a?g.then((function(n){return i.setComponentValidity(n,l,c)})):this.setComponentValidity(g,l,c)}},{key:"checkValidity",value:function(n,l,e,t){n=n||this.rootValue,e=e||this.data;var i=this.checkComponentValidity(n,l,e,{silentCheck:t});return this.checkModal(),i}},{key:"checkAsyncValidity",value:function(n,l,e,t){return o.default.resolve(this.checkComponentValidity(n,l,e,{async:!0,silentCheck:t}))}},{key:"checkData",value:function(n,l,e){if(n=n||this.rootValue,l=l||{},e=e||this.data,this.resetCaches(),l.fromBlur||this.checkRefreshOn(l.changes,l),l.noCheck)return!0;if(this.checkComponentConditions(n,l,e),this.id!==l.triggeredComponentId&&this.calculateComponentValue(n,l,e),l.noValidate&&!l.validateOnInit&&!l.fromIframe)return l.fromSubmission&&this.rootPristine&&this.pristine&&this.error&&l.changed&&this.checkComponentValidity(n,!!this.options.alwaysDirty,e,!0),!0;var t=!1;if((this.options.alwaysDirty||l.dirty)&&(t=!0),l.fromSubmission&&this.hasValue(n)&&(t=!0),this.setDirty(t),"blur"===this.component.validateOn&&l.fromSubmission)return!0;var i=this.checkComponentValidity(n,t,e,l);return this.checkModal(),i}},{key:"checkModal",value:function(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.component.modalEdit&&this.componentModal&&(l&&!n?this.setErrorClasses([this.refs.openModal],l,!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,l=!(!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)||l}},{key:"isEqual",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dataValue;return this.isEmpty(n)&&this.isEmpty(l)||u.default.isEqual(n,l)}},{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,l){this.isInputComponent&&this.component.widget&&null!=n&&n.length&&n.forEach((function(n){null!=n&&n.widget&&n.widget.setErrorClasses&&n.widget.setErrorClasses(l)}))}},{key:"addFocusBlurEvents",value:function(n){var l=this;this.addEventListener(n,"focus",(function(){l.root.focusedComponent!==l?(l.root.pendingBlur&&l.root.pendingBlur(),l.root.focusedComponent=l,l.emit("focus",l)):l.root.focusedComponent===l&&l.root.pendingBlur&&(l.root.pendingBlur.cancel(),l.root.pendingBlur=null)})),this.addEventListener(n,"blur",(function(){l.root.pendingBlur=c.delay((function(){l.emit("blur",l),"blur"===l.component.validateOn&&l.root.triggerChange({fromBlur:!0},{instance:l,component:l.component,value:l.dataValue,flags:{fromBlur:!0}}),l.root.focusedComponent=null,l.root.pendingBlur=null}))}))}},{key:"setCustomValidity",value:function(n,l,e){var t=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){t.setElementInvalid(t.performInputMapping(n),!1)})),this.setInputWidgetErrorClasses(u,!1),r=u.filter((function(l){var e,t;return null===(e=(t=n).some)||void 0===e?void 0:e.call(t,(function(n){var e;return(null==n||null===(e=n.context)||void 0===e?void 0:e.input)===l}))}))}n.length?(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.error={component:this.component,message:n[0].message,messages:n,external:!!e},this.emit("componentError",this.error),this.addMessages(n,l,r),r&&this.setErrorClasses(r,l,o,!!n.length)):(!this.error||this.error&&this.error.external===!!e)&&(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.refs.modalMessageContainer&&this.empty(this.refs.modalMessageContainer),this.error=null,r&&this.setErrorClasses(r,l,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,l,e){var t=this;return[function(){return t.options.readOnly},function(){return!t.hasInput},function(){return t.isValueHidden()},function(){return!t.visible},function(){return!t.checkCondition(e,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,l){n&&(n.disabled=l,l?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled"))}},{key:"setLoading",value:function(n,l){n&&n.loading!==l&&(n.loading=l,!n.loader&&l&&(n.loader=this.ce("i",{class:"".concat(this.iconClass("refresh",!0)," button-icon-right")})),n.loader&&(l?this.appendTo(n.loader,n):this.removeChildFrom(n.loader,n)))}},{key:"selectOptions",value:function(n,l,e,t){var i=this;u.default.each(e,(function(l){var e={value:l.value};void 0!==t&&l.value===t&&(e.selected="selected");var o=i.ce("option",e);o.appendChild(i.text(l.label)),n.appendChild(o)}))}},{key:"setSelectValue",value:function(n,l){var e=n.querySelectorAll("option");u.default.each(e,(function(n){n.value===l?n.setAttribute("selected","selected"):n.removeAttribute("selected")})),n.onchange&&n.onchange(),n.onselect&&n.onselect()}},{key:"getRelativePath",value:function(n){var l=".".concat(this.key),e=this.isInputComponent?this.path:this.path.slice(0).replace(l,"");return n.replace(e,"")}},{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(l){if("event"===l.trigger.type){var e=n.interpolate(l.trigger.event);n.off(e)}}))}},{key:"attachLogic",value:function(){var n=this;this.builderMode||this.logic.forEach((function(l){if("event"===l.trigger.type){var e=n.interpolate(l.trigger.event);n.on(e,(function(){for(var e=(0,c.fastCloneDeep)(n.originalComponent),t=arguments.length,i=new Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:this.element;if(n){var l=n.getBoundingClientRect(),e=l.left,t=l.top;window.scrollTo(e+window.scrollX,t+window.scrollY)}}},{key:"focus",value:function(n){var l;if("beforeFocus"in this.parent&&this.parent.beforeFocus(this),null!==(l=this.refs.input)&&void 0!==l&&l.length){var e,t="number"==typeof n&&this.refs.input[n]?this.refs.input[n]:this.refs.input[this.refs.input.length-1];if("calendar"===(null===(e=this.component.widget)||void 0===e?void 0:e.type)){var i=t.nextSibling;i&&i.focus()}else t.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}}])&&M(l.prototype,e),t&&M(l,t),Object.defineProperty(l,"prototype",{writable:!1}),v}(p.default);l.default=B,B.externalLibraries={},B.requireLibrary=function(n,l,e,t){if(!B.externalLibraries.hasOwnProperty(n)){B.externalLibraries[n]={},B.externalLibraries[n].ready=new o.default((function(l,e){B.externalLibraries[n].resolve=l,B.externalLibraries[n].reject=e}));var i="".concat(n,"Callback");t||window[i]||(window[i]=(function(){this.resolve()}).bind(B.externalLibraries[n]));var r=u.default.get(window,l);r?B.externalLibraries[n].resolve(r):((e=Array.isArray(e)?e:[e]).forEach((function(n){var l={},e="";switch("string"==typeof n&&(n={type:"script",src:n}),n.type){case"script":e="script",l={src:n.src,type:"text/javascript",defer:!0,async:!0};break;case"styles":e="link",l={href:n.src,rel:"stylesheet"}}var t=document.createElement(e);for(var i in l)t.setAttribute(i,l[i]);document.getElementsByTagName("head")[0].appendChild(t)})),t&&setTimeout((function e(){var t=u.default.get(window,l);t?B.externalLibraries[n].resolve(t):setTimeout(e,200)}),200))}return B.externalLibraries[n].ready},B.libraryReady=function(n){return B.externalLibraries.hasOwnProperty(n)&&B.externalLibraries[n].ready?B.externalLibraries[n].ready:o.default.reject("".concat(n," library was not required."))}},"3KsH":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t,i=(t=e("gpP3"))&&t.__esModule?t:{default:t};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 l=n.data;return(!i.default.noeval||i.default.protectedEval)&&!l.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 l=n.data;return(!i.default.noeval||i.default.protectedEval)&&l.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 l=n.data;return(!i.default.noeval||i.default.protectedEval)&&!l.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 l=n.data;return(!i.default.noeval||i.default.protectedEval)&&l.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."}];l.default=o},"3L66":function(n,l,e){var t=e("MMmD"),i=e("ExA7");n.exports=function(n){return i(n)&&t(n)}},"3MOf":function(n,l,e){"use strict";var t=e("rpNk").IteratorPrototype,i=e("fHMY"),o=e("XGwC"),r=e("1E5z"),u=e("P4y1"),a=function(){return this};n.exports=function(n,l,e,s){var c=l+" Iterator";return n.prototype=i(t,{next:o(+!s,e)}),r(n,c,!1,!0),u[c]=a,n}},"3U0i":function(n,l,e){"use strict";function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}e.d(l,"a",(function(){return i})),t.prototype=Object.create(Error.prototype);var i=t},"3WF5":function(n,l,e){var t=e("eUgh"),i=e("ut/Y"),o=e("l9OW"),r=e("Z0cm");n.exports=function(n,l){return(r(n)?t:o)(n,i(l,3))}},"3Wpx":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("owDf");l.default={form:t.default}},"3azA":function(n,l,e){var t=e("M96O"),i=e("z6cq");n.exports=function(n){return t.filter(i(n),(function(l){return l.length>1||1===l.length&&n.hasEdge(l[0],l[0])}))}},"3bBZ":function(n,l,e){"use strict";var t=e("2oRo"),i=e("/byt"),o=e("eFrH"),r=e("4mDm"),u=e("kRJp"),a=e("1E5z"),s=e("tiKp")("iterator"),c=r.values,d=function(n,l){if(n){if(n[s]!==c)try{u(n,s,c)}catch(t){n[s]=c}if(a(n,l,!0),i[l])for(var e in r)if(n[e]!==r[e])try{u(n,e,r[e])}catch(t){n[e]=r[e]}}};for(var p in i)d(t[p]&&t[p].prototype,p);d(o,"DOMTokenList")},"3duJ":function(n,l,e){"use strict";var t,i=this&&this.__extends||(t=function(n,l){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var e in l)l.hasOwnProperty(e)&&(n[e]=l[e])})(n,l)},function(n,l){function e(){this.constructor=n}t(n,l),n.prototype=null===l?Object.create(l):(e.prototype=l.prototype,new e)});Object.defineProperty(l,"__esModule",{value:!0});var o=e("imqj"),r=function(){};l.Point=r;var u=function(n,l,e,t){this.x1=n,this.y1=l,this.x2=e,this.y2=t};l.LineSegment=u;var a=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return i(l,n),l}(r);function s(n,l,e){return(l.x-n.x)*(e.y-n.y)-(e.x-n.x)*(l.y-n.y)}function c(n,l,e){return s(n,l,e)>0}function d(n,l,e){return s(n,l,e)<0}function p(n,l){var e,t,i,o,r=l.length-1;if(d(n,l[1],l[0])&&!c(n,l[r-1],l[0]))return 0;for(e=0,t=r;;){if(t-e==1)return c(n,l[e],l[t])?e:t;if((o=d(n,l[(i=Math.floor((e+t)/2))+1],l[i]))&&!c(n,l[i-1],l[i]))return i;c(n,l[e+1],l[e])?o||c(n,l[e],l[i])?t=i:e=i:o&&d(n,l[e],l[i])?t=i:e=i}}function g(n,l){var e,t,i,o,r=l.length-1;if(c(n,l[r-1],l[0])&&!d(n,l[1],l[0]))return 0;for(e=0,t=r;;){if(t-e==1)return d(n,l[e],l[t])?e:t;if(o=d(n,l[(i=Math.floor((e+t)/2))+1],l[i]),c(n,l[i-1],l[i])&&!o)return i;d(n,l[e+1],l[e])?o?d(n,l[e],l[i])?t=i:e=i:t=i:o?e=i:c(n,l[e],l[i])?t=i:e=i}}function h(n,l,e,t,i,o){var r,u;u=t(n[r=e(l[0],n)],l);for(var a=!1;!a;){for(a=!0;r===n.length-1&&(r=0),!i(l[u],n[r],n[r+1]);)++r;for(;0===u&&(u=l.length-1),!o(n[r],l[u],l[u-1]);)--u,a=!1}return{t1:r,t2:u}}function m(n,l){return h(n,l,p,g,c,d)}l.PolyPoint=a,l.isLeft=s,l.ConvexHull=function(n){var l,e=n.slice(0).sort((function(n,l){return n.x!==l.x?l.x-n.x:l.y-n.y})),t=n.length,i=e[0].x;for(l=1;l=0&&e[l].x===c;l--);for(u=l+1,l=o;++l<=u;)if(!(s(e[0],e[u],e[l])>=0&&l1&&!(s(r[r.length-2],r[r.length-1],e[l])>0);)r.length-=1;0!=l&&r.push(e[l])}a!=u&&r.push(e[a]);var d=r.length;for(l=u;--l>=o;)if(!(s(e[a],e[o],e[l])>=0&&l>o)){for(;r.length>d&&!(s(r[r.length-2],r[r.length-1],e[l])>0);)r.length-=1;0!=l&&r.push(e[l])}}return r},l.clockwiseRadialSweep=function(n,l,e){l.slice(0).sort((function(l,e){return Math.atan2(l.y-n.y,l.x-n.x)-Math.atan2(e.y-n.y,e.x-n.x)})).forEach(e)},l.tangent_PolyPolyC=h,l.LRtangent_PolyPolyC=function(n,l){var e=m(l,n);return{t1:e.t2,t2:e.t1}},l.RLtangent_PolyPolyC=m,l.LLtangent_PolyPolyC=function(n,l){return h(n,l,g,g,d,d)},l.RRtangent_PolyPolyC=function(n,l){return h(n,l,p,p,c,c)};var f=function(n,l){this.t1=n,this.t2=l};l.BiTangent=f;var b=function(){};l.BiTangents=b;var v=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return i(l,n),l}(r);l.TVGPoint=v;var y=function(n,l,e,t){this.id=n,this.polyid=l,this.polyvertid=e,this.p=t,t.vv=this};l.VisibilityVertex=y;var C=function(){function n(n,l){this.source=n,this.target=l}return n.prototype.length=function(){var n=this.source.p.x-this.target.p.x,l=this.source.p.y-this.target.p.y;return Math.sqrt(n*n+l*l)},n}();l.VisibilityEdge=C;var w=function(){function n(n,l){if(this.P=n,this.V=[],this.E=[],l)this.V=l.V.slice(0),this.E=l.E.slice(0);else{for(var e=n.length,t=0;t0&&this.E.push(new C(i[o-1].vv,u))}i.length>1&&this.E.push(new C(i[0].vv,i[i.length-1].vv))}for(t=0;t0)return!0;return!1},n}();function _(n,l){for(var e=[],t=1,i=l.length;t=0&&m>=0&&v<0&&y>=0&&C>=0&&w<0?i.ll=new f(o,r):h<=0&&m<=0&&v>0&&y<=0&&C<=0&&w>0?i.rr=new f(o,r):h<=0&&m>0&&v<=0&&y>=0&&C<0&&w>=0?i.rl=new f(o,r):h>=0&&m<0&&v>=0&&y<=0&&C>0&&w<=0&&(i.lr=new f(o,r))}return i}function P(n,l){return!n.every((function(n){return!function(n,l){for(var e=1,t=l.length;e0)return!0}return!1}},"3fWJ":function(n,l,e){"use strict";function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}e.d(l,"a",(function(){return i})),t.prototype=Object.create(Error.prototype);var i=t},"3fes":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.default=[{key:"spellcheck",ignore:!0},{key:"inputMask",ignore:!0},{key:"allowMultipleMasks",ignore:!0},{key:"showWordCount",ignore:!0},{key:"showCharCount",ignore:!0}]},"3hoe":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("idMQ");l.default={form:t.default}},"3qOy":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n
\n ',"wizardHeaderVertical"===n.wizardHeaderType?e+='\n
\n
\n '+(null==(l=n.wizardHeader)?"":l)+'\n
\n
\n
\n '+(null==(l=n.components)?"":l)+'\n
\n
\n
\n
\n
\n '+(null==(l=n.wizardNav)?"":l)+"\n
\n
\n ":e+=" \n "+(null==(l=n.wizardHeader)?"":l)+'\n
\n '+(null==(l=n.components)?"":l)+"\n
\n "+(null==(l=n.wizardNav)?"":l)+"\n ",e+=" \n
\n
"}},"3y7U":function(n,l,e){var t=e("M96O");n.exports=function(n,l,e){t.isArray(l)||(l=[l]);var i=(n.isDirected()?n.successors:n.neighbors).bind(n),o=[],r={};return t.each(l,(function(l){if(!n.hasNode(l))throw new Error("Graph does not have node: "+l);!function n(l,e,i,o,r,u){t.has(o,e)||(o[e]=!0,i||u.push(e),t.each(r(e),(function(e){n(l,e,i,o,r,u)})),i&&u.push(e))}(n,l,"post"===e,r,i,o)})),o}},"3y9D":function(n,l,e){var t,i,o,r,u,a,s,c;n.exports=(c=e("Ib8C"),i=(t=c).lib,o=i.WordArray,r=i.Hasher,u=t.algo,a=[],s=u.SHA1=r.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,l){for(var e=this._hash.words,t=e[0],i=e[1],o=e[2],r=e[3],u=e[4],s=0;s<80;s++){if(s<16)a[s]=0|n[l+s];else{var c=a[s-3]^a[s-8]^a[s-14]^a[s-16];a[s]=c<<1|c>>>31}var d=(t<<5|t>>>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=t,t=d}e[0]=e[0]+t|0,e[1]=e[1]+i|0,e[2]=e[2]+o|0,e[3]=e[3]+r|0,e[4]=e[4]+u|0},_doFinalize:function(){var n=this._data,l=n.words,e=8*this._nDataBytes,t=8*n.sigBytes;return l[t>>>5]|=128<<24-t%32,l[14+(t+64>>>9<<4)]=Math.floor(e/4294967296),l[15+(t+64>>>9<<4)]=e,n.sigBytes=4*l.length,this._process(),this._hash},clone:function(){var n=r.clone.call(this);return n._hash=this._hash.clone(),n}}),t.SHA1=r._createHelper(s),t.HmacSHA1=r._createHmacHelper(s),c.SHA1)},"4/ic":function(n,l,e){var t=e("ZWtO");n.exports=function(n){return function(l){return t(l,n)}}},"409L":function(n,l,e){n.exports={graphlib:e("F9We"),layout:e("epwv"),debug:e("4JAw"),util:{time:e("tQ6r").time,notime:e("tQ6r").notime},version:e("khRU")}},"44Ds":function(n,l,e){var t=e("e4Nc");function i(n,l){if("function"!=typeof n||null!=l&&"function"!=typeof l)throw new TypeError("Expected a function");var e=function(){var t=arguments,i=l?l.apply(this,t):t[0],o=e.cache;if(o.has(i))return o.get(i);var r=n.apply(this,t);return e.cache=o.set(i,r)||o,r};return e.cache=new(i.Cache||t),e}i.Cache=t,n.exports=i},"44OH":function(n,l,e){"use strict";function t(n){return(t="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,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function o(n,l){for(var e=0;e=l}}])&&o(l.prototype,e),t&&o(l,t),Object.defineProperty(l,"prototype",{writable:!1}),c}(g)},"4Ai+":function(n,l,e){var t=e("Ac7g");n.exports={Graph:t.Graph,json:e("GbLa"),alg:e("2J+T"),version:t.version}},"4B4T":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e=10?n:n+12:"\u0ab8\u0abe\u0a82\u0a9c"===l?n+12:void 0},meridiem:function(n,l,e){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}})}(e("wd/R"))},"4O5w":function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("1U75"))&&t.__esModule?t:{default:t}).default};l.default=i},"4Oe1":function(n,l,e){var t=e("YO3V");n.exports=function(n){return t(n)?void 0:n}},"4PO4":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e\n \n\n"}},"4WOD":function(n,l,e){"use strict";var t=e("Gi26"),i=e("Fib7"),o=e("ewvW"),r=e("93I0"),u=e("4Xet"),a=r("IE_PROTO"),s=Object,c=s.prototype;n.exports=u?s.getPrototypeOf:function(n){var l=o(n);if(t(l,a))return l[a];var e=l.constructor;return i(e)&&l instanceof e?e.prototype:l instanceof s?c:null}},"4Xet":function(n,l,e){"use strict";var t=e("0Dky");n.exports=!t((function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype}))},"4ap4":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){return'\n','\n'}},"4bFt":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n
'+(null==(l=n.children)?"":l)+"
\n ",n.readOnly||(e+='\n
\n \n \n
\n "),e+="\n
\n"}},"4dOw":function(n,l,e){!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 l=n%10;return n+(1==~~(n%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(e("wd/R"))},"4fRq":function(n,l){var e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var t=new Uint8Array(16);n.exports=function(){return e(t),t}}else{var i=new Array(16);n.exports=function(){for(var n,l=0;l<16;l++)0==(3&l)&&(n=4294967296*Math.random()),i[l]=n>>>((3&l)<<3)&255;return i}}},"4kV8":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("1oAp"),i=e("ZDfJ");l.default={form:t.default,html:i.default}},"4kuk":function(n,l,e){var t=e("SfRM"),i=e("Hvzi"),o=e("u8Dt"),r=e("ekgI"),u=e("JSQU");function a(n){var l=-1,e=null==n?0:n.length;for(this.clear();++l=l.length)return n.target=void 0,s(void 0,!0);switch(n.kind){case"keys":return s(e,!1);case"values":return s(l[e],!1)}return s([e,l[e]],!1)}),"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==h.name)try{u(h,"name",{value:"values"})}catch(m){}},"4mfi":function(n,l,e){"use strict";var t=e("4zBA"),i=e("6LWA"),o=e("Fib7"),r=e("xrYK"),u=e("V37c"),a=t([].push);n.exports=function(n){if(o(n))return n;if(i(n)){for(var l=n.length,e=[],t=0;t\n'),e+="\n\n"+(null==(l=n.element)?"":l)+"\n",n.label.hidden||"bottom"!==n.label.labelPosition||(e+="\n "+(null==(l=n.labelMarkup)?"":l)+"\n"),e+="\n",n.component.description&&(e+='\n
'+(null==(l=n.t(n.component.description,{_userInput:!0}))?"":l)+"
\n"),e+="\n"}},"5DmW":function(n,l,e){"use strict";var t=e("I+eb"),i=e("0Dky"),o=e("/GqU"),r=e("Bs8V").f,u=e("g6v/");t({target:"Object",stat:!0,forced:!u||i((function(){r(1)})),sham:!u},{getOwnPropertyDescriptor:function(n,l){return r(o(n),l)}})},"5EqP":function(n,l,e){var t=e("M96O");n.exports=function(n){var l,e={},i=[];function o(i){t.has(e,i)||(e[i]=!0,l.push(i),t.each(n.successors(i),o),t.each(n.predecessors(i),o))}return t.each(n.nodes(),(function(n){l=[],o(n),l.length&&i.push(l)})),i}},"5Kqs":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length,t=new Array(e>2?e-2:0),i=2;i0&&void 0!==arguments[0]?arguments[0]:"";return n.replace(/\[\d+\]/,"")},l.getComponentSavedTypes=function(n){var l=n||{};if(!0!==l.persistent)return[];if(l.multiple)return[z.array];return null},l.getContextButtons=function(n){var l=[];return n.utils.eachComponent(n.instance.options.editForm.components,(function(n){"button"===n.type&&l.push({label:"".concat(n.key," (").concat(n.label,")"),value:n.key})})),l},l.getContextComponents=function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t=[];return n.utils.eachComponent(n.instance.options.editForm.components,(function(o,r){var u=!l||!o.tree;o.key!==n.data.key&&u&&!i.default.includes(e,o.type)&&t.push({label:"".concat(o.label||o.key," (").concat(r,")"),value:r})})),t},l.getCurrencyAffixes=function(n){var l=n.currency,e=void 0===l?"USD":l,t=n.decimalLimit,i=n.decimalSeparator,o=n.lang,r="(.*)?".concat(100..toLocaleString(o));t&&(r+="".concat("."===i?"\\.":i).concat((0).toLocaleString(o),"{").concat(t,"}"));r+="(.*)?";var u=100..toLocaleString(o,{style:"currency",currency:e,useGrouping:!0,maximumFractionDigits:t||0,minimumFractionDigits:t||0}).replace(".",i).match(new RegExp(r));return{prefix:(null==u?void 0:u[1])||"",suffix:(null==u?void 0:u[2])||""}},l.getDataParentComponent=j,l.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 l="string"!=typeof n||-1===n.indexOf("moment(")?(0,u.default)(n):null;if(l&&l.isValid())return l.toDate();l=null;try{var e=g.default.evaluator("return ".concat(n,";"),"moment")(u.default);"string"==typeof e?l=(0,u.default)(e):"function"==typeof e.toDate?l=(0,u.default)(e.toDate().toUTCString()):e instanceof Date&&(l=(0,u.default)(e))}catch(t){return null}if(!l)return null;if(!l.isValid())return null;return l.toDate()},l.getElementRect=function(n){var l=window.getComputedStyle(n,null);return{x:w(l,"left"),y:w(l,"top"),width:w(l,"width"),height:w(l,"height")}},l.getFocusableElements=function(n){return n.querySelectorAll("button:not([disabled]), input:not([disabled]), select:not([disabled]),\n textarea:not([disabled]), button:not([disabled]), [href]")},l.getIEBrowserVersion=function(){var n=F(),l=n.ie,e=n.version;return l?e:null},l.getInputMask=function(n,l){if(n instanceof Array)return n;var e=[];e.numeric=!0;for(var t=0;t1&&l.push(e[1])}));return l},l.getLocaleDateFormatInfo=function(n){var l={},e=new Date(2017,11,21).toLocaleDateString(n);return l.dayFirst=e.slice(0,2)===21..toString(),l},l.getNumberDecimalLimit=function(n,l){if(i.default.has(n,"decimalLimit"))return i.default.get(n,"decimalLimit");var e=l||20,t=i.default.get(n,"validate.step","any");if("any"!==t){var o=t.toString().split(".");o.length>1&&(e=o[1].length)}return e},l.getNumberSeparators=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",l=12345.6789.toLocaleString(n),e=l.match(/..(.)...(.)../);if(!e)return{delimiter:",",decimalSeparator:"."};return{delimiter:e.length>1?e[1]:",",decimalSeparator:e.length>2?e[2]:"."}},l.getPropertyValue=w,l.getRandomComponentId=function(){return"e".concat(Math.random().toString(36).substring(7))},l.getStringFromComponentPath=function(n){if(!i.default.isArray(n))return n;var l="";return n.forEach((function(n,e){i.default.isNumber(n)?l+="[".concat(n,"]"):l+=0===e?n:".".concat(n)})),l},l.guid=M,l.hasInvalidComponent=function n(l){return l.getComponents().some((function(l){return i.default.isArray(l.components)?n(l):l.error}))},l.interpolate=void 0,l.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}},l.isInsideScopingComponent=function n(l){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e&&null!=l&&l.hasScopedChildren)return!0;var t=j(l);if(null!=t&&t.hasScopedChildren)return!0;if(null!=t&&t.parent)return n(t.parent,!1);return!1},l.isMongoId=function(n){return n.toString().match(/^[0-9a-fA-F]{24}$/)},l.isPromise=function(n){return n&&n.then&&"function"==typeof n.then&&"[object Promise]"===Object.prototype.toString.call(n)},l.isSelectResourceWithObjectValue=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.reference,e=n.dataSrc,t=n.valueProperty;return l||"resource"===e&&(!t||"data"===t)},l.isValidDate=function(n){return i.default.isDate(n)&&!i.default.isNaN(n.getDate())},l.iterateKey=E,Object.defineProperty(l,"jsonLogic",{enumerable:!0,get:function(){return r.default}}),l.loadZones=T,l.matchInputMask=function(n,l){if(!l)return!0;if(n.length>l.length)return!1;for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},e=l.limit,t=void 0===e?50:e,i=l.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)>=t)return clearTimeout(u),a(),n()}},l.offsetDate=S,l.round=function(n,l){if(i.default.isNumber(n))return n.toFixed(l);return n},l.sanitize=function(n,l){if("function"!=typeof d.default.sanitize)return n;var e={ADD_ATTR:["ref","target"],USE_PROFILES:{html:!0}};l.sanitizeConfig&&Array.isArray(l.sanitizeConfig.addAttr)&&l.sanitizeConfig.addAttr.length>0&&l.sanitizeConfig.addAttr.forEach((function(n){e.ADD_ATTR.push(n)}));l.sanitizeConfig&&Array.isArray(l.sanitizeConfig.addTags)&&l.sanitizeConfig.addTags.length>0&&(e.ADD_TAGS=l.sanitizeConfig.addTags);l.sanitizeConfig&&Array.isArray(l.sanitizeConfig.allowedTags)&&l.sanitizeConfig.allowedTags.length>0&&(e.ALLOWED_TAGS=l.sanitizeConfig.allowedTags);l.sanitizeConfig&&Array.isArray(l.sanitizeConfig.allowedAttrs)&&l.sanitizeConfig.allowedAttrs.length>0&&(e.ALLOWED_ATTR=l.sanitizeConfig.allowedAttrs);l.sanitizeConfig&&l.sanitizeConfig.allowedUriRegex&&(e.ALLOWED_URI_REGEXP=l.sanitizeConfig.allowedUriRegex);l.sanitizeConfig&&Array.isArray(l.sanitizeConfig.addUriSafeAttr)&&l.sanitizeConfig.addUriSafeAttr.length>0&&(e.ADD_URI_SAFE_ATTR=l.sanitizeConfig.addUriSafeAttr);return d.default.sanitize(n,e)},l.setActionProperty=function(n,l,e,t,o,r){var u=l.property.value;switch(l.property.type){case"boolean":var a=i.default.get(n,u,!1).toString(),s=l.state.toString();a!==s&&i.default.set(n,u,"true"===s);break;case"string":var c={data:o,row:t,component:n,result:e},d=l.property.component?l[l.property.component]:l.text,p=i.default.get(n,u,""),h=r&&r.interpolate?r.interpolate(d,c):g.default.interpolate(d,c);h!==p&&i.default.set(n,u,h)}return n},l.shouldLoadZones=I,l.translateHTMLTemplate=function(n,l){if(!/<[^>]*>/.test(n))return l(n);var e=document.createElement("div");if(e.innerHTML=n,e.innerText&&e.children.length)return function n(l,e){var t=l.children.length&&(o=l.children,function(n){if(Array.isArray(n))return f(n)}(o)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(o)||function(n,l){if(n){if("string"==typeof n)return f(n,l);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?f(n,l):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=t&&t.every((function(n){return 0===n.children.length&&L.some((function(l){return n.nodeName===l}))}));var o;!t||i?l.innerHTML=function n(l,e){if(!l.innerText)return l.innerHTML;var t=l.innerText.replace(g.default.templateSettings.interpolate,"").replace(/\s\s+/g," ").trim(),i=e(t);if(t!==i){var o=l.innerHTML.match(/]*>(.*?)<\/a>/g);if(o&&o.length){if(1===o.length&&o[0].length===l.innerHTML.length)return l.innerHTML.replace(t,i);var r=o.map((function(l){var t=document.createElement("a");return t.innerHTML=l,n(t,e)}));return"".concat(i," (").concat(r.join(", "),")")}return l.innerText.replace(t,i)}return l.innerHTML}(l,e):t.forEach((function(l){return n(l,e)}))}(e,l),e.innerHTML;return n},l.unescapeHTML=function(n){if("undefined"==typeof window||!("DOMParser"in window))return n;return(new window.DOMParser).parseFromString(n,"text/html").documentElement.textContent},l.unfold=R,l.uniqueKey=function(n,l){var e=l;for(;n.hasOwnProperty(e);)e=E(e);return e},l.uniqueName=function(n,l,e){(l=l||"{{fileName}}-{{guid}}").includes("{{guid}}")||(l="".concat(l,"-{{guid}}"));var t=n.split("."),o=t.slice(0,t.length-1).join("."),r=t.length>1?".".concat(i.default.last(t)):"";return o=o.substr(0,100),e=Object.assign(e||{},{fileName:o,guid:M()}),"".concat(g.default.interpolate(l,e)).concat(r).replace(/[^0-9a-zA-Z.\-_ ]/g,"-")},l.unmaskValue=function(n,l,e){if(!l||!n||n.length>l.length)return n;for(var t=n.split(""),o=0;on.length)&&(l=n.length);for(var e=0,t=new Array(l);e=0&&/(rv)(?::| )([\w.]+)/.exec(l)||l.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(l)||[],t={browser:e[5]||e[3]||e[1]||"",version:e[4]||e[2]||"0"};return t.browser&&(n[t.browser]=!0,n.version=parseInt(t.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 B(n){var l,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n&&n.key&&"wizard"!==(null==n||null===(l=n._form)||void 0===l?void 0:l.display)?(e=n.isInputComponent||!0===n.input?"".concat(n.key).concat(e?".":"").concat(e):e,B(n.parent,e)):e}function j(n){if(n){var l=n.parent;return l&&(l.isInputComponent||l.input)?l:j(l)}}var z={number:"number",string:"string",boolean:"boolean",array:"array",object:"object",date:"date",any:"any"};l.componentValueTypes=z},"5Q/x":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("NnsO"),i=e("EWgV");l.default={form:i.default,builder:t.default}},"5T7X":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
    \n ',n.header&&(e+='\n
  • \n '+(null==(l=n.header)?"":l)+"\n
  • \n "),e+="\n ",n.rows.forEach((function(t,i){e+='\n
  • \n '+(null==(l=t)?"":l)+"\n ",n.openRows[i]&&!n.readOnly&&(e+='\n
    \n \n ",n.component.removeRow&&(e+='\n \n "),e+="\n
    \n "),e+='\n
    \n
    \n '+(null==(l=n.errors[i])?"":l)+"\n
    \n
    \n
  • \n "})),e+="\n ",n.footer&&(e+='\n \n "),e+="\n
\n"}},"5Tg+":function(n,l,e){"use strict";var t=e("tiKp");l.f=t},"5Tg0":function(n,l,e){(function(n){var t=e("Kz5y"),i=l&&!l.nodeType&&l,o=i&&"object"==typeof n&&n&&!n.nodeType&&n,r=o&&o.exports===i?t.Buffer:void 0,u=r?r.allocUnsafe:void 0;n.exports=function(n,l){if(l)return n.slice();var e=n.length,t=u?u(e):new n.constructor(e);return n.copy(t),t}}).call(this,e("YuTi")(n))},"5U3O":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("TeQF"),e("07d7"),e("pDQq");var t=o(e("LvDl")),i=o(e("gpP3"));function o(n){return n&&n.__esModule?n:{default:n}}var r={sortAndFilterComponents:function(n){return t.default.filter(t.default.sortBy(n,"weight"),(function(n){return!n.ignore}))},unifyComponents:function(n,l){return n.key&&l.key?!n.skipMerge&&!l.skipMerge&&(n.key===l.key&&(t.default.each(n,(function(e,t){!n.overrideEditForm&&l.hasOwnProperty(t)||(l[t]=e)})),t.default.each(l,(function(e,t){!l.overrideEditForm&&n.hasOwnProperty(t)||(n[t]=e)})),n.components&&(l.components=r.sortAndFilterComponents(t.default.unionWith(n.components,l.components,r.unifyComponents))),!0)):t.default.isEqual(n,l)},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,l,e,t,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(l,"-js"),customConditional:function(){return!i.default.noeval||i.default.protectedEval},components:[{type:"textarea",key:l,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(l,"-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:e,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(l,"Panel"),weight:t,components:s}}},u=r;l.default=u},"5Uds":function(n,l,e){"use strict";function t(n){return(t="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)}e("07d7"),e("SuFq"),e("uL8W"),e("eoL8"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ma9I"),e("ExoC"),e("wLYn"),e("NBAS");var i,o=(i=e("6P0p"))&&i.__esModule?i:{default:i};function r(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function u(n,l){for(var e=0;e1&&(u=a(u,o(arguments[1]))),u<0&&(u=e+u);u>=0;u--)if(u in l&&l[u]===n)return u||0;return-1}:s},"5hvy":function(n,l,e){var t;n.exports=(t=e("Ib8C"),e("MlIO"),function(n){var l=t,e=l.lib,i=e.WordArray,o=e.Hasher,r=l.x64.Word,u=l.algo,a=[],s=[],c=[];!function(){for(var n=1,l=0,e=0;e<24;e++){a[n+5*l]=(e+1)*(e+2)/2%64;var t=(2*n+3*l)%5;n=l%5,l=t}for(n=0;n<5;n++)for(l=0;l<5;l++)s[n+5*l]=l+(2*n+3*l)%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 g=(1<>>24)|4278255360&(o<<24|o>>>8),r=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),(k=e[i]).high^=r,k.low^=o}for(var u=0;u<24;u++){for(var p=0;p<5;p++){for(var g=0,h=0,m=0;m<5;m++)g^=(k=e[p+5*m]).high,h^=k.low;var f=d[p];f.high=g,f.low=h}for(p=0;p<5;p++){var b=d[(p+4)%5],v=d[(p+1)%5],y=v.high,C=v.low;for(g=b.high^(y<<1|C>>>31),h=b.low^(C<<1|y>>>31),m=0;m<5;m++)(k=e[p+5*m]).high^=g,k.low^=h}for(var w=1;w<25;w++){var _=(k=e[w]).high,x=k.low,P=a[w];P<32?(g=_<>>32-P,h=x<>>32-P):(g=x<>>64-P,h=_<>>64-P);var A=d[s[w]];A.high=g,A.low=h}var O=d[0],M=e[0];for(O.high=M.high,O.low=M.low,p=0;p<5;p++)for(m=0;m<5;m++){var k=e[w=p+5*m],S=d[w],I=d[(p+1)%5+5*m],T=d[(p+2)%5+5*m];k.high=S.high^~I.high&T.high,k.low=S.low^~I.low&T.low}k=e[0];var D=c[u];k.high^=D.high,k.low^=D.low}},_doFinalize:function(){var l=this._data,e=l.words,t=(this._nDataBytes,8*l.sigBytes),o=32*this.blockSize;e[t>>>5]|=1<<24-t%32,e[(n.ceil((t+1)/o)*o>>>5)-1]|=128,l.sigBytes=4*e.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),g=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),s.push(g),s.push(p)}return new i.init(s,u)},clone:function(){for(var n=o.clone.call(this),l=n._state=this._state.slice(0),e=0;e<25;e++)l[e]=l[e].clone();return n}});l.SHA3=o._createHelper(p),l.HmacSHA3=o._createHmacHelper(p)}(Math),t.SHA3)},"5jIi":function(n,l,e){"use strict";var t=e("b5wT");n.exports=function(n){var l={},e=t.filter(n.nodes(),(function(l){return!n.children(l).length})),i=t.max(t.map(e,(function(l){return n.node(l).rank}))),o=t.map(t.range(i+1),(function(){return[]}));var r=t.sortBy(e,(function(l){return n.node(l).rank}));return t.forEach(r,(function e(i){if(t.has(l,i))return;l[i]=!0;var r=n.node(i);o[r.rank].push(i),t.forEach(n.successors(i),e)})),o}},"5mdu":function(n,l,e){"use strict";n.exports=function(n){try{return{error:!1,value:n()}}catch(l){return{error:!0,value:l}}}},"5s+n":function(n,l,e){"use strict";e("Xn6M"),e("FOUG"),e("zJiX"),e("NSnw"),e("8itv"),e("cUmr")},"5xtp":function(n,l,e){"use strict";var t=e("I+eb"),i=e("g6v/"),o=e("6x0u"),r=e("We1y"),u=e("ewvW"),a=e("m/L8");i&&t({target:"Object",proto:!0,forced:o},{__defineSetter__:function(n,l){a.f(u(this),n,{set:r(l),enumerable:!0,configurable:!0})}})},"6+QB":function(n,l,e){!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,l){return 12===n&&(n=0),"pagi"===l?n:"tengahari"===l?n>=11?n:n+12:"petang"===l||"malam"===l?n+12:void 0},meridiem:function(n,l,e){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}})}(e("wd/R"))},"60iU":function(n,l,e){"use strict";e.d(l,"a",(function(){return u}));var t,i=e("G5J1"),o=e("F/XL"),r=e("XlPw");t||(t={});var u=function(){function n(n,l,e){this.kind=n,this.value=l,this.error=e,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,l,e){switch(this.kind){case"N":return n&&n(this.value);case"E":return l&&l(this.error);case"C":return e&&e()}},n.prototype.accept=function(n,l,e){return n&&"function"==typeof n.next?this.observe(n):this.do(n,l,e)},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(l){return void 0!==l?new n("N",l):n.undefinedValueNotification},n.createError=function(l){return new n("E",void 0,l)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n}()},"638a":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t=o(e("yEXj")),i=o(e("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 t.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"]}}}];l.default=r},"67WC":function(n,l,e){"use strict";var t,i,o,r=e("SxGu"),u=e("g6v/"),a=e("2oRo"),s=e("Fib7"),c=e("hh1v"),d=e("Gi26"),p=e("9d/t"),g=e("DVFp"),h=e("kRJp"),m=e("yy0I"),f=e("7dAM"),b=e("OpvP"),v=e("4WOD"),y=e("0rvr"),C=e("tiKp"),w=e("kOOl"),_=e("afO8"),x=_.enforce,P=_.get,A=a.Int8Array,O=A&&A.prototype,M=a.Uint8ClampedArray,k=M&&M.prototype,S=A&&v(A),I=O&&v(O),T=Object.prototype,D=a.TypeError,E=C("toStringTag"),R=w("TYPED_ARRAY_TAG"),N=r&&!!y&&"Opera"!==p(a.opera),L=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},j=function(n){var l=v(n);if(c(l)){var e=P(l);return e&&d(e,"TypedArrayConstructor")?e.TypedArrayConstructor:j(l)}},z=function(n){if(!c(n))return!1;var l=p(n);return d(F,l)||d(B,l)};for(t in F)(o=(i=a[t])&&i.prototype)?x(o).TypedArrayConstructor=i:N=!1;for(t in B)(o=(i=a[t])&&i.prototype)&&(x(o).TypedArrayConstructor=i);if((!N||!s(S)||S===Function.prototype)&&(S=function(){throw new D("Incorrect invocation")},N))for(t in F)a[t]&&y(a[t],S);if((!N||!I||I===T)&&(I=S.prototype,N))for(t in F)a[t]&&y(a[t].prototype,I);if(N&&v(k)!==I&&y(k,I),u&&!d(I,E))for(t in L=!0,f(I,E,{configurable:!0,get:function(){return c(this)?this[R]:void 0}}),F)a[t]&&h(a[t],R,t);n.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:L&&R,aTypedArray:function(n){if(z(n))return n;throw new D("Target is not a typed array")},aTypedArrayConstructor:function(n){if(s(n)&&(!y||b(S,n)))return n;throw new D(g(n)+" is not a typed array constructor")},exportTypedArrayMethod:function(n,l,e,t){if(u){if(e)for(var i in F){var o=a[i];if(o&&d(o.prototype,n))try{delete o.prototype[n]}catch(r){try{o.prototype[n]=l}catch(s){}}}I[n]&&!e||m(I,n,e?l:N&&O[n]||l,t)}},exportTypedArrayStaticMethod:function(n,l,e){var t,i;if(u){if(y){if(e)for(t in F)if((i=a[t])&&d(i,n))try{delete i[n]}catch(o){}if(S[n]&&!e)return;try{return m(S,n,e?l:N&&S[n]||l)}catch(o){}}for(t in F)!(i=a[t])||i[n]&&!e||m(i,n,l)}},getTypedArrayConstructor:j,isView:function(n){if(!c(n))return!1;var l=p(n);return"DataView"===l||d(F,l)||d(B,l)},isTypedArray:z,TypedArray:S,TypedArrayPrototype:I}},"67Y/":function(n,l,e){"use strict";e.d(l,"a",(function(){return o}));var t=e("mrSG"),i=e("FFOo");function o(n,l){return function(e){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new r(n,l))}}var r=function(){function n(n,l){this.project=n,this.thisArg=l}return n.prototype.call=function(n,l){return l.subscribe(new u(n,this.project,this.thisArg))},n}(),u=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.project=e,i.count=0,i.thisArg=t||i,i}return t.d(l,n),l.prototype._next=function(n){var l;try{l=this.project.call(this.thisArg,n,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(l)},l}(i.a)},"6B0Y":function(n,l,e){!function(n){"use strict";var l={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},e={"\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,l,e){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 e[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return l[n]}))},week:{dow:1,doy:4}})}(e("wd/R"))},"6Ekc":function(n,l,e){"use strict";var t=e("b5wT");n.exports={longestPath:function(n){var l={};t.forEach(n.sources(),(function e(i){var o=n.node(i);if(t.has(l,i))return o.rank;l[i]=!0;var r=t.min(t.map(n.outEdges(i),(function(l){return e(l.w)-n.edge(l).minlen})));return r!==Number.POSITIVE_INFINITY&&null!=r||(r=0),o.rank=r}))},slack:function(n,l){return n.node(l.w).rank-n.node(l.v).rank-n.edge(l).minlen}}},"6HwT":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n ',n.values.forEach((function(t){for(var i in e+='\n
\n \n
\n "})),e+="\n
\n"}},"6JNq":function(n,l,e){"use strict";var t=e("Gi26"),i=e("Vu81"),o=e("Bs8V"),r=e("m/L8");n.exports=function(n,l,e){for(var u=i(l),a=r.f,s=o.f,c=0;c0&&"getComponent"in n?s=n.getComponent(u,l,e):l&&l(n,i),!1})),s||(s=c),s):s}},{key:"getComponentById",value:function(n,l){var e=null;return this.everyComponent((function(t,i){if(t.id===n)return e=t,l&&l(t,i),!1})),e}},{key:"calculateComponentPath",value:function(n){var l="";if(n.component.key){for(var e=this;e&&!e.allowData&&e.parent;)e=e.parent;var t=n.row?"[".concat(Number.parseInt(n.row),"]"):"";return l=e.path?"".concat(e.path).concat(t,"."):"",l+=n._parentPath&&n.component.shouldIncludeSubFormPath?n._parentPath:"",l+=n.component.key}}},{key:"createComponent",value:function(n,l,e,t,o){var u;if(n){l=l||this.options,e=e||this.data,l.parent=this,l.parentVisible=this.visible,l.root=(null===(u=l)||void 0===u?void 0:u.root)||this.root||this,l.localRoot=this.localRoot,l.skipInit=!0,"pdf"===l.display&&this.builderMode||(n.id=(0,a.getRandomComponentId)()),!this.isInputComponent&&this.component.shouldIncludeSubFormPath&&(n.shouldIncludeSubFormPath=!0);var s=r.default.create(n,l,e,!0),c=this.calculateComponentPath(s);if(c&&(s.path=c),s.init(),n.internal)return s;if(t){var d=i.default.findIndex(this.components,{id:t.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(_(c.prototype),"init",this).call(this)}},{key:"addComponents",value:function(n,l){var e=this;n=n||this.data,(l=l||this.options).components?this.components=l.components:(this.hook("addComponents",this.componentComponents,this)||[]).forEach((function(l){return e.addComponent(l,n)}))}},{key:"addComponent",value:function(n,l,e,t){l=l||this.data,this.options.parentPath&&(n.shouldIncludeSubFormPath=!0),n=this.hook("addComponent",n,l,e,t);var i=this.createComponent(n,this.options,l,e||null);return i}},{key:"beforeFocus",value:function(){this.parent&&"beforeFocus"in this.parent&&this.parent.beforeFocus(this)}},{key:"render",value:function(n){return b(_(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 l=(n=n||this.getComponents()).map((function(n){return n.render()}));return this.renderTemplate("components",{children:l,components:n})}},{key:"attach",value:function(n){var l=this,e=b(_(c.prototype),"attach",this).call(this,n);this.loadRefs(n,m({header:"single",collapsed:this.collapsed},this.nestedKey,"single"));var t=u.default.resolve();return this.refs[this.nestedKey]&&(t=this.attachComponents(this.refs[this.nestedKey])),this.visible||this.attachComponentsLogic(),this.component.collapsible&&this.refs.header&&(this.addEventListener(this.refs.header,"click",(function(){l.collapsed=!l.collapsed})),this.addEventListener(this.refs.header,"keydown",(function(n){13!==n.keyCode&&32!==n.keyCode||(n.preventDefault(),l.collapsed=!l.collapsed)}))),u.default.all([e,t])}},{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,l,e){if(l=l||this.components,e=e||this.component.components,!(n=this.hook("attachComponents",n,l,e,this)))return new u.default((function(){}));var t=0,i=[];return Array.prototype.slice.call(n.children).forEach((function(n){!n.getAttribute("data-noattach")&&l[t]&&(i.push(l[t].attach(n)),t++)})),u.default.all(i)}},{key:"removeComponent",value:function(n,l){l=l||this.components,n.destroy(),i.default.remove(l,{id:n.id})}},{key:"removeComponentByKey",value:function(n,l){var e=this;if(!this.getComponent(n,(function(n,t){e.removeComponent(n,t),l&&l(n,t)})))return l&&l(null),null}},{key:"removeComponentById",value:function(n,l){var e=this;if(!this.getComponentById(n,(function(n,t){e.removeComponent(n,t),l&&l(n,t)})))return l&&l(null),null}},{key:"updateValue",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.components.reduce((function(n,e){return e.updateValue(null,l)||n}),b(_(c.prototype),"updateValue",this).call(this,n,l))}},{key:"shouldSkipValidation",value:function(n,l,e){return!this.component.input||b(_(c.prototype),"shouldSkipValidation",this).call(this,n,l,e)}},{key:"checkData",value:function(n,l,e,t){if(this.builderMode)return!0;n=n||this.rootValue,l=l||{},e=e||this.data;var o=(t=t&&i.default.isArray(t)?t:this.getComponents()).reduce((function(t,i){return i.checkData(n,d({},l),e)&&t}),b(_(c.prototype),"checkData",this).call(this,n,d({},l),e));return this.checkModal(o,this.isDirty),o}},{key:"checkConditions",value:function(n,l,e){var t=b(_(c.prototype),"checkConditions",this).call(this,n,l,e);return this.getComponents().forEach((function(e){return e.checkConditions(n,l,e.data)})),t}},{key:"clearOnHide",value:function(n){b(_(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(l){return l.clearOnHide(n)}))}},{key:"restoreComponentsContext",value:function(){var n=this;this.getComponents().forEach((function(l){return l.data=n.dataValue}))}},{key:"beforePage",value:function(n){return u.default.all(this.getComponents().map((function(l){return l.beforePage(n)})))}},{key:"beforeSubmit",value:function(){return u.default.all(this.getComponents().map((function(n){return n.beforeSubmit()})))}},{key:"calculateValue",value:function(n,l,e){return!!this.conditionallyVisible()&&this.getComponents().reduce((function(t,i){return i.calculateValue(n,l,e)||t}),b(_(c.prototype),"calculateValue",this).call(this,n,l,e))}},{key:"isLastPage",value:function(){return this.pages.length-1===this.page}},{key:"isValid",value:function(n,l){return this.getComponents().reduce((function(e,t){return t.isValid(n,l)&&e}),b(_(c.prototype),"isValid",this).call(this,n,l))}},{key:"checkChildComponentsValidity",value:function(n,l,e,t,i){return this.getComponents().reduce((function(i,o){return o.checkValidity(n,l,e,t)&&i}),i)}},{key:"checkValidity",value:function(n,l,e,t){if(!this.checkCondition(e,n))return this.setCustomValidity(""),!0;var i=this.checkChildComponentsValidity(n,l,e,t,b(_(c.prototype),"checkValidity",this).call(this,n,l,e,t));return this.checkModal(i,l),i}},{key:"checkAsyncValidity",value:function(n,l,e,t){var i=this;return this.ready.then((function(){var o=[b(_(c.prototype),"checkAsyncValidity",i).call(i,n,l,e,t)];return i.eachComponent((function(i){return o.push(i.checkAsyncValidity(n,l,e,t))})),u.default.all(o).then((function(n){return n.reduce((function(n,l){return n&&l}),!0)}))}))}},{key:"setPristine",value:function(n){b(_(c.prototype),"setPristine",this).call(this,n),this.getComponents().forEach((function(l){return l.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(_(c.prototype),"detach",this).call(this)}},{key:"clear",value:function(){this.components.forEach((function(n){n.clear()})),b(_(c.prototype),"clear",this).call(this)}},{key:"destroy",value:function(){this.destroyComponents(),b(_(c.prototype),"destroy",this).call(this)}},{key:"destroyComponents",value:function(){var n=this;this.getComponents().slice().forEach((function(l){return n.removeComponent(l,n.components)})),this.components=[]}},{key:"errors",get:function(){var n=this.error?[this.error]:[];return this.getComponents().reduce((function(n,l){return n.concat(l.errors||[])}),n).filter((function(n){return"hidden"!==n.level}))}},{key:"getValue",value:function(){return this.data}},{key:"resetValue",value:function(){b(_(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,l){var e=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(l)?n.setValue(i.default.get(l,n.key),e):n.setValue(l,e):l&&n.hasValue(l)?n.setValue(i.default.get(l,n.key),e):this.rootPristine&&!n.visible||!n.shouldAddDefaultValue?void 0:(e.noValidate=!e.dirty,e.resetValue=!0,n.setValue(n.defaultValue,e)))}},{key:"setValue",value:function(n){var l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!n&&(n.submitAsDraft&&!n.submit&&(e.noValidate=!0),this.getComponents().reduce((function(t,i){return l.setNestedValue(i,n,e,t)||t}),!1))}},{key:"lazyLoad",get:function(){var n;return null!==(n=this.component.lazyLoad)&&void 0!==n&&n}}])&&p(l.prototype,e),t&&p(l,t),Object.defineProperty(l,"prototype",{writable:!1}),c}(o.default);l.default=x},"6R/c":function(n,l,e){"use strict";var t=e("67WC"),i=e("TWQb").indexOf,o=t.aTypedArray;(0,t.exportTypedArrayMethod)("indexOf",(function(n){return i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"6VoE":function(n,l,e){"use strict";var t=e("tiKp"),i=e("P4y1"),o=t("iterator"),r=Array.prototype;n.exports=function(n){return void 0!==n&&(i.Array===n||r[o]===n)}},"6ahw":function(n,l,e){"use strict";e.d(l,"a",(function(){return o}));var t=e("iLxQ"),i=e("DKTb"),o={closed:!0,next:function(n){},error:function(n){if(t.a.useDeprecatedSynchronousErrorHandling)throw n;Object(i.a)(n)},complete:function(){}}},"6blF":function(n,l,e){"use strict";e.d(l,"a",(function(){return c}));var t=e("1fDf"),i=e("FFOo"),o=e("L/V9"),r=e("6ahw");var u=e("xTla"),a=e("y3By"),s=e("iLxQ"),c=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(l){var e=new n;return e.source=this,e.operator=l,e},n.prototype.subscribe=function(n,l,e){var t=this.operator,u=function(n,l,e){if(n){if(n instanceof i.a)return n;if(n[o.a])return n[o.a]()}return n||l||e?new i.a(n,l,e):new i.a(r.a)}(n,l,e);if(t?u.add(t.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(l){s.a.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=l),Object(t.a)(n)?n.error(l):console.warn(l)}},n.prototype.forEach=function(n,l){var e=this;return new(l=d(l))((function(l,t){var i;i=e.subscribe((function(l){try{n(l)}catch(e){t(e),i&&i.unsubscribe()}}),t,l)}))},n.prototype._subscribe=function(n){var l=this.source;return l&&l.subscribe(n)},n.prototype[u.a]=function(){return this},n.prototype.pipe=function(){for(var n=[],l=0;l\n
\n
\n \n '+(null==(l=n.t(n.group.title,{_userInput:!0}))?"":l)+'\n \n
\n
\n \n
\n ',n.group.componentOrder.length||n.subgroups.length?(e+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){e+='\n \n ',n.group.components[t].icon&&(e+='\n \n '),e+="\n "+(null==(l=n.t(n.group.components[t].title,{_userInput:!0}))?"":l)+"\n \n "})),e+="\n "+(null==(l=n.subgroups.join(""))?"":l)+"\n "):e+="\n
"+(null==(l=n.t("No Matches Found"))?"":l)+"
\n ",e+="\n
\n \n\n"}},"6sUC":function(n,l,e){"use strict";var t=e("hh1v"),i=Math.floor;n.exports=Number.isInteger||function(n){return!t(n)&&isFinite(n)&&i(n)===n}},"6sVZ":function(n,l){var e=Object.prototype;n.exports=function(n){var l=n&&n.constructor;return n===("function"==typeof l&&l.prototype||e)}},"6x0u":function(n,l,e){"use strict";var t=e("xDBR"),i=e("2oRo"),o=e("0Dky"),r=e("USzg");n.exports=t||!o((function(){if(!(r&&r<535)){var n=Math.random();__defineSetter__.call(null,n,(function(){})),delete i[n]}}))},"6xjF":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";return e+='
\n '+(null==(l=n.html)?"":l)+"\n
\n"}},"6yRa":function(n,l,e){"use strict";var t=e("OJSY");n.exports=function(n,l){l=l||{};var e=t.boolean(l.allowUpdate,!0);return function(l){if(l=l||window.event,n.target=l.target||l.srcElement||l.originalTarget,n.element=this,n.type=l.type,e(l)){if(l.targetTouches)n.x=l.targetTouches[0].clientX,n.y=l.targetTouches[0].clientY,n.pageX=l.targetTouches[0].pageX,n.pageY=l.targetTouches[0].pageY,n.screenX=l.targetTouches[0].screenX,n.screenY=l.targetTouches[0].screenY;else{if(null===l.pageX&&null!==l.clientX){var t=l.target&&l.target.ownerDocument||document,i=t.documentElement,o=t.body;n.pageX=l.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),n.pageY=l.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)}else n.pageX=l.pageX,n.pageY=l.pageY;n.x=l.clientX,n.y=l.clientY,n.screenX=l.screenX,n.screenY=l.screenY}n.clientX=n.x,n.clientY=n.y}}}},"7+zs":function(n,l,e){"use strict";var t=e("Gi26"),i=e("yy0I"),o=e("UesL"),r=e("tiKp")("toPrimitive"),u=Date.prototype;t(u,r)||i(u,r,o)},7104:function(n,l){var e=Object.prototype.toString;function t(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 l=typeof n;if("boolean"===l)return"boolean";if("string"===l)return"string";if("number"===l)return"number";if("symbol"===l)return"symbol";if("function"===l)return function(n,l){return"GeneratorFunction"===t(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(l){if(-1!==l.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(t(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(l=e.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 l.slice(8,-1).toLowerCase().replace(/\s/g,"")}},"711d":function(n,l){n.exports=function(n){return function(l){return null==l?void 0:l[n]}}},"72Ej":function(n,l,e){"use strict";function t(n){return(t="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)}e("07d7"),e("SuFq"),e("uL8W"),e("eoL8"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ExoC"),e("wLYn"),e("NBAS");var i=r(e("pxaw")),o=r(e("LvDl"));function r(n){return n&&n.__esModule?n:{default:n}}function u(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function a(n,l){for(var e=0;ee||o.default.isEqual(l,e))}}])&&a(l.prototype,e),t&&a(l,t),Object.defineProperty(l,"prototype",{writable:!1}),r}(i.default);l.default=g},"77Zs":function(n,l,e){var t=e("Xi7e");n.exports=function(){this.__data__=new t,this.size=0}},"79+i":function(n,l){l.defaults={},l.set=function(n,e,t){var i=t||{},o=l.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")+"="+e.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(p&&p.getTime()>=0?";expires="+p.toUTCString():"")+(u?";domain="+u:"")+(a?";path="+a:"")+(s?";secure":"")+(c?";httponly":"")+(d?";samesite="+d:"")},l.get=function(n){for(var l=document.cookie.split(";");l.length;){var e=l.pop(),t=e.indexOf("=");if(t=t<0?e.length:t,decodeURIComponent(e.slice(0,t).replace(/^\s+/,""))===n)return decodeURIComponent(e.slice(t+1))}return null},l.erase=function(n,e){l.set(n,"",{expires:-1,domain:e&&e.domain,path:e&&e.path,secure:0,httponly:0})},l.all=function(){for(var n={},l=document.cookie.split(";");l.length;){var e=l.pop(),t=e.indexOf("=");t=t<0?e.length:t,n[decodeURIComponent(e.slice(0,t).replace(/^\s+/,""))]=decodeURIComponent(e.slice(t+1))}return n}},"79tK":function(n,l,e){"use strict";e("eoL8"),e("tkto"),e("TeQF"),e("5DmW"),e("27RR"),e("HRxU"),e("J30X"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("pjDv"),e("+2oP"),e("sMBO"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("wLYn"),e("QWBl"),e("07d7"),e("FZtP"),e("ma9I"),e("T63A"),e("rB9j"),e("UxlC"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV");var t,i=(t=e("LvDl"))&&t.__esModule?t:{default:t},o=e("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,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var t,i,o,r,u=[],a=!0,s=!1;try{if(o=(e=e.call(n)).next,0===l){if(Object(e)!==e)return;a=!1}else for(;!(a=(t=o.call(e)).done)&&(u.push(t.value),u.length!==l);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=e.return&&(r=e.return(),Object(r)!==r))return}finally{if(s)throw i}}return u}}(n,l)||s(n,l)||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,l){if(n){if("string"==typeof n)return c(n,l);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(n,l):void 0}}function c(n,l){(null==l||l>n.length)&&(l=n.length);for(var e=0,t=new Array(l);e0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=i.default.isArray(n)?n:[n];var t=this.createMessagesList("error",n);return this.showAlert("error",t,e),l&&this.parentComponent.emit("error",n),n}},{key:"showMessage",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=n;t instanceof HTMLElement?t.setAttribute("ref","messageRef"):t=this.parentComponent.ce("p",{ref:"messageRef"}),this.showAlert(l,t,e)}},{key:"createMessagesList",value:function(n){switch(n){case"error":for(var l=arguments.length,e=new Array(l>1?l-1:0),t=1;t2&&void 0!==arguments[2]?arguments[2]:{},t=e.customClasses,i=e.customEvents;this.setAlert(n,l,{customClasses:t}),this.alert&&(this.attach({customEvents:i}),this.parentComponent.prependTo(this.alert,this.container))}},{key:"setAlert",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=this.alertTypes[n];if(this.alert&&this.clear(),l){var i=e.id,o=void 0===i?"".concat(n,"-list-").concat(this.parentComponent.id):i,r=e.customClasses,u=void 0===r?"alert alert-".concat(t):r;this.alert=this.parentComponent.ce("div",{id:o,class:u}),l instanceof HTMLElement?this.parentComponent.appendTo(l,this.alert):this.parentComponent.setContent(this.alert,l)}}},{key:"attach",value:function(n){var l,e,t,i=this,o=n.customEvents,r=void 0===o?{}:o;this.eventListenersKeys=[],this.loadRefs(this.alert,this.refsNames);var s=(null===(l=r.click)||void 0===l?void 0:l.listeners)||[],c=(null===(e=r.keypress)||void 0===e?void 0:e.listeners)||[];r=p(p({},r),{},{click:[].concat(a(s),[function(n){var l=n.currentTarget.dataset.componentKey;i.focusOnComponent(l)}]),keypress:[].concat(a(c),[function(n){var l=n.currentTarget.dataset.componentKey;i.focusOnComponent(l)}])}),null!==(t=this.refs.messageRef)&&void 0!==t&&t.length&&this.refs.messageRef.forEach((function(n){Object.entries(r).forEach((function(l){var e=u(l,2),t=e[0];e[1].forEach((function(l){return i.parentComponent.addEventListener(n,t,l)})),i.eventListenersKeys.push(t)}))}))}},{key:"clear",value:function(){var n=this;try{var l;null!==(l=this.refs.messageRef)&&void 0!==l&&l.length&&this.refs.messageRef.forEach((function(l){n.eventListenersKeys.forEach((function(e){return n.parentComponent.removeEventListener(l,e)}))})),this.refs={},this.parentComponent.removeChildFrom(this.alert,this.container),this.alert=null}catch(e){}}},{key:"focusOnComponent",value:function(n){if(n){var l,e=this.parentComponent._parentPath?n.replace(this.parentComponent._parentPath,""):n,t=null===(l=this.parentComponent.root)||void 0===l?void 0:l.getComponent(e,null,n);t&&i.default.isFunction(t.focus)&&t.focus()}}},{key:"createMessage",value:function(n,l,e,t,i){switch(n){case"error":return this.createErrorMessage(l,e,t,i)}}},{key:"createErrorMessage",value:function(n,l,e,t){var r,u,a={style:"cursor: pointer",ref:"messageRef",tabIndex:0,"aria-label":"".concat(l,". Click to navigate to the field with following error.")},s=this.parentComponent.ce("li",a);this.parentComponent.setContent(s,l);var c=!i.default.isUndefined(e)&&(null==t||null===(r=t.messages)||void 0===r?void 0:r[e]),d=(null==c?void 0:c.path)||(null==t||null===(u=t.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,l){var e,t=this;if(null!=n&&null!==(e=n.messages)&&void 0!==e&&e.length)n.messages.forEach((function(e,i){var o=e.message;t.createMessage("error",l,o,i,n)}));else if(n){var o=i.default.isObject(n)?n.message||"":n;this.createMessage("error",l,o)}}}])&&h(l.prototype,e),t&&h(l,t),Object.defineProperty(l,"prototype",{writable:!1}),n}();l.default=f},"7Bbv":function(n,l,e){"use strict";e("eoL8"),e("J30X"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("+2oP"),e("sMBO"),e("pjDv"),e("rB9j"),Object.defineProperty(l,"__esModule",{value:!0}),l.AddressProvider=void 0,e("oVuX"),e("2B1R"),e("ma9I"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t,i=(t=e("LvDl"))&&t.__esModule?t:{default:t},o=e("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,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var t,i,o,r,u=[],a=!0,s=!1;try{if(o=(e=e.call(n)).next,0===l){if(Object(e)!==e)return;a=!1}else for(;!(a=(t=o.call(e)).done)&&(u.push(t.value),u.length!==l);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=e.return&&(r=e.return(),Object(r)!==r))return}finally{if(s)throw i}}return u}}(n,l)||function(n,l){if(!n)return;if("string"==typeof n)return a(n,l);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(n,l)}(n,l)||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,l){(null==l||l>n.length)&&(l=n.length);for(var e=0,t=new Array(l);e0&&void 0!==arguments[0]?arguments[0]:{};s(this,n),this.beforeMergeOptions(l),this.options=i.default.merge({},this.defaultOptions,l)}var l,e,t;return l=n,t=[{key:"name",get:function(){return"address"}},{key:"displayName",get:function(){return"Address"}}],(e=[{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 l=u(n,2),e=l[0],t=l[1];return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t))})).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 l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.getRequestOptions(e),o=t.params=t.params||{};return o[this.queryProperty]=n,this.makeRequest(t).then((function(n){return l.responseProperty?i.default.get(n,l.responseProperty,[]):n}))}},{key:"getDisplayValue",value:function(n){return this.displayValueProperty?i.default.get(n,this.displayValueProperty,""):String(n)}}])&&c(l.prototype,e),t&&c(l,t),Object.defineProperty(l,"prototype",{writable:!1}),n}();l.AddressProvider=d},"7Bij":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t,i=(t=e("Nq0N"))&&t.__esModule?t:{default:t};var o={lng:"en",nsSeparator:"::",keySeparator:".|.",pluralSeparator:"._.",contextSeparator:"._.",resources:{en:{translation:(0,e("5P0i").fastCloneDeep)(i.default)}}};l.default=o},"7BjC":function(n,l,e){!function(n){"use strict";function l(n,l,e,t){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 l?i[e][2]?i[e][2]:i[e][1]:t?i[e][0]:i[e][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:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:"%d p\xe4eva",M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(e("wd/R"))},"7C5Q":function(n,l,e){!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 l=n%10;return n+(1==~~(n%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:0,doy:6}})}(e("wd/R"))},"7GkX":function(n,l,e){var t=e("b80T"),i=e("A90E"),o=e("MMmD");n.exports=function(n){return o(n)?t(n):i(n)}},"7Ix3":function(n,l){n.exports=function(n){var l=[];if(null!=n)for(var e in Object(n))l.push(e);return l}},"7RkN":function(n,l,e){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return n.options.vpat&&(e+='\n \n'),e+="\n",n.self.imageUpload?(e+="\n
\n ",n.files.forEach((function(t){e+='\n
\n \n '+(null==(l=t.originalName||t.name)?\n ',n.disabled||(e+='\n \n '),e+="\n \n
\n "})),e+="\n
\n"):(e+="\n ",n.options.vpat&&(e+="\n
"+(null==(l=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":l)+"
\n "),e+='\n
    \n \n ",n.files.forEach((function(t){e+='\n
  • \n
    \n ',n.disabled||(e+='\n
    \n '),e+='\n
    \n '+(null==(l=n.t("Press to open "))?"":l)+""+(null==(l=t.originalName||t.name)?"":l)+"\n \n ",e+='\n
    \n
    '+(null==(l=n.fileSize(t.size))?"":l)+"
    \n ",n.self.hasTypes&&!n.disabled&&(e+='\n
    \n \n
    \n "),e+="\n ",n.self.hasTypes&&n.disabled&&(e+='\n
    '+(null==(l=t.fileType)?"":l)+"
    \n "),e+="\n
    \n
  • \n "})),e+="\n
\n"),e+="\n",n.disabled||!n.component.multiple&&n.files.length||(e+="\n ",n.self.useWebViewCamera?e+='\n
\n \n \n
\n ":n.self.cameraMode?e+='\n
\n \n
\n \n \n ":(e+='\n \n '),e+="\n"),e+="\n",n.statuses.forEach((function(t){e+='\n
\n
\n
'+(null==(l=t.originalName)?"":l)+'\n \n '+(null==(l=n.t("Remove button. Press to remove "+t.originalName||!1))?"":l)+'\n '+(null==(l=t.message?t.message.replace(";","."):"")?"":l)+'\n \n
\n
'+(null==(l=n.fileSize(t.size))?"":l)+'
\n
\n
\n
\n ',"progress"===t.status?e+='\n
\n
\n '+(null==(l=t.progress)?"":l)+"% "+(null==(l=n.t("Complete"))?"":l)+"\n
\n
\n ":"error"===t.status?e+='\n
'+(null==(l=n.t(t.message))?"":l)+"
\n ":e+='\n
'+(null==(l=n.t(t.message))?"":l)+"
\n ",e+="\n
\n
\n
\n"})),e+="\n",n.component.storage&&!n.support.hasWarning||(e+='\n
\n ',n.component.storage||(e+="\n

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

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

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

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

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

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

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

\n "),e+="\n
\n"),e+="\n"}},"7T/+":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e11?e?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":e?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(e("wd/R"))},"7ck7":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.default=[{key:"multiple",ignore:!0}]},"7dAM":function(n,l,e){"use strict";var t=e("E9LY"),i=e("m/L8");n.exports=function(n,l,e){return e.get&&t(e.get,l,{getter:!0}),e.set&&t(e.set,l,{setter:!0}),i.f(n,l,e)}},"7eSC":function(n,l,e){"use strict";e("eoL8"),e("ExoC"),e("NBAS"),e("SuFq"),e("uL8W"),e("XUE8"),e("5DmW"),e("tkto"),e("27RR"),e("HRxU"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("wLYn"),e("yXV3"),e("rB9j"),e("zKZe"),e("R5XZ"),e("SYor"),e("ma9I"),e("J30X"),e("QWBl"),e("07d7"),e("FZtP"),e("TeQF"),e("4l63"),e("yq1k"),e("JTJg"),e("2B1R"),e("sMBO"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV");var t=m(e("LvDl")),i=m(e("wd/R")),o=m(e("hpp3")),r=m(e("0iw5")),u=m(e("XzT5")),a=m(e("7Bij")),s=e("1eKU"),c=m(e("CFBA")),d=m(e("muGi")),p=m(e("ri5y")),g=e("5P0i"),h=e("bjCn");function m(n){return n&&n.__esModule?n:{default:n}}function f(n){return(f="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,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function v(n){for(var l=1;l2&&void 0!==arguments[2]&&arguments[2],i=t.default.assign((0,g.fastCloneDeep)(a.default.resources.en.translation),l);this.i18next.addResourceBundle(n,"translation",i,!0,!0),e&&(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(l,e){try{n.i18next.init(v(v({},n.options.i18n),{compatibilityJSON:"v3"}),(function(t){if(n.options.language=n.i18next.language.split(";")[0],t)return e(t);l(n.i18next)}))}catch(t){return e(t)}})))}},{key:"keyboardCatchableElement",value:function(n){return"TEXTAREA"!==n.nodeName&&("INPUT"!==n.nodeName||-1===["text","email","password"].indexOf(n.type))}},{key:"addShortcut",value:function(n,l){if(l&&/^([A-Z]|Enter|Esc)$/i.test(l))if("Enter"===(l=t.default.capitalize(l))||"Esc"===l){if("BUTTON"!==n.tagName)return;this.shortcuts.push({shortcut:l,element:n})}else this.shortcuts.push({ctrl:!0,shortcut:l,element:n})}},{key:"removeShortcut",value:function(n,l){l&&/^([A-Z]|Enter|Esc)$/i.test(l)&&t.default.remove(this.shortcuts,{shortcut:l,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(l){return n.setSubmission(l)}),(function(l){return n.submissionReadyReject(l)})).catch((function(l){return n.submissionReadyReject(l)})):this.submissionReadyResolve(),this.submissionReady}},{key:"setSrc",value:function(n,l){var e=this;return this.setUrl(n,l)?(this.nosubmit=!1,this.formio.loadForm({params:{live:1}}).then((function(n){var l=e.setForm(n);return e.loadSubmission(),l})).catch((function(n){console.warn(n),e.formReadyReject(n)}))):c.default.resolve()}},{key:"url",get:function(){return this._src},set:function(n){this.setUrl(n)}},{key:"setUrl",value:function(n,l){return!(!n||"string"!=typeof n||n===this._src||(this._src=n,this.nosubmit=!0,this.formio=this.options.formio=new s.GlobalFormio(n,l),"form"===this.type&&(this.options.src=n),0))}},{key:"ready",get:function(){var n=this;return this.formReady.then((function(){return w(M(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 l=this.ce("div",{class:"loader text-center"});this.loader.appendChild(l)}if(this.loader)try{n?this.prependTo(this.loader,this.wrapper):this.removeChildFrom(this.loader,this.wrapper)}catch(e){}}}},{key:"setForm",value:function(n,l){var e,i=this,r=this._form&&(null===(e=this._form.components)||void 0===e?void 0:e.length);try{var u,a;if(r&&JSON.stringify(this._form)===JSON.stringify(n))return c.default.resolve();if(this._form=null!=l&&l.keepAsReference?n:t.default.cloneDeep(n),this.onSetForm&&this.onSetForm(t.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(l),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 l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=v(v({},e),{},{fromSubmission:!t.default.has(e,"fromSubmission")||e.fromSubmission}),this.onSubmission=this.formReady.then((function(t){return t&&(e=v(v({},e),t)),l.submissionSet=!0,l.triggerChange(e),l.emit("beforeSetSubmission",n),l.setValue(n,e),l.submissionReadyResolve(n)}),(function(n){return l.submissionReadyReject(n)})).catch((function(n){return l.submissionReadyReject(n)}))}},{key:"handleDraftError",value:function(n,l,e){var i=t.default.trim("".concat(this.t(n)," ").concat(l||""));console.warn(i),this.emit(e?"restoreDraftError":"saveDraftError",l||i)}},{key:"saveDraft",value:function(){var n=this;if(this.draftEnabled)if(this.formio)if(s.GlobalFormio.getUser()){var l=(0,g.fastCloneDeep)(this.submission);l.state="draft",this.savingDraft||(this.emit("saveDraftBegin"),this.savingDraft=!0,this.formio.saveSubmission(l).then((function(l){n.submission._id=l._id,n.savingDraft=!1,n.emit("saveDraft",l)})).catch((function(l){n.savingDraft=!1,n.handleDraftError("saveDraftError",l)})))}else this.handleDraftError("saveDraftAuthError");else this.handleDraftError("saveDraftInstanceError")}},{key:"restoreDraft",value:function(n){var l=this,e=this.formio||this.options.formio;e?(this.savingDraft=!0,e.loadSubmissions({params:{state:"draft",owner:n}}).then((function(n){if(n.length>0&&!l.options.skipDraftRestore){var e=(0,g.fastCloneDeep)(n[0]);return l.setSubmission(e).then((function(){l.draftEnabled=!0,l.savingDraft=!1,l.emit("restoreDraft",e)}))}l.draftEnabled=!0,l.savingDraft=!1,l.emit("restoreDraft",null)})).catch((function(n){l.draftEnabled=!0,l.savingDraft=!1,l.handleDraftError("restoreDraftError",n,!0)}))):this.handleDraftError("restoreDraftInstanceError",null,!0)}},{key:"schema",get:function(){var n=(0,g.fastCloneDeep)(t.default.omit(this._form,["components"]));return n.components=[],this.eachComponent((function(l){return n.components.push(l.schema)})),n}},{key:"mergeData",value:function(n,l){t.default.mergeWith(n,l,(function(n,l){if(Array.isArray(n)&&Array.isArray(l)&&n.length!==l.length)return l}))}},{key:"setValue",value:function(n){var l=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 e=w(M(d.prototype),"setValue",this).call(this,n.data,l);return l.sanitize||this.mergeData(this.data,n.data),n.data=this.data,this._submission=n,e}},{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(l){n.submit(!1,l).catch((function(n){return!1!==n&&console.log(n)}))}),!0),this.on("checkValidity",(function(l){return n.checkValidity(l,!0,l)}),!0),this.on("requestUrl",(function(l){return n.submitUrl(l.url,l.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]),w(M(d.prototype),"destroy",this).call(this)}},{key:"build",value:function(n){var l=this;return n||this.element?this.ready.then((function(){n=n||l.element,w(M(d.prototype),"build",l).call(l,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 w(M(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 l=this;this.element=n,this.loadRefs(n,{webform:"single"});var e=this.attachComponents(this.refs.webform);return this.addEventListener(document,"keydown",this.executeShortcuts),this.currentForm=this,this.hook("attachWebform",n,this),e.then((function(){return l.emit("render",l.element),l.setValue(l._submission,{noUpdateEvent:!0})}))}},{key:"hasRequiredFields",value:function(){var n=!1;return(0,h.eachComponent)(this.form.components,(function(l){if(l.validate.required)return n=!0,!0}),!0),n}},{key:"resetValue",value:function(){t.default.each(this.getComponents(),(function(n){return n.resetValue()})),this.setPristine(!0),this.onChange({resetValue:!0})}},{key:"setAlert",value:function(n,l,e){var t=this;if(n||!this.submitted)if(this.options.noAlerts)l||this.emit("error",!1);else{if(this.alert)try{this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){t.removeEventListener(n,"click"),t.removeEventListener(n,"keypress")})),this.removeChild(this.alert),this.alert=null}catch(r){}if(l){var i={class:e&&e.classes||"alert alert-".concat(n),id:"error-list-".concat(this.id)},o={message:l instanceof HTMLElement?l.outerHTML:l,attrs:i,type:n};this.alert=(0,g.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){t.addEventListener(n,"click",(function(n){var l=n.currentTarget.dataset.componentKey;t.focusOnComponent(l)})),t.addEventListener(n,"keydown",(function(n){if(13===n.keyCode){n.preventDefault();var l=n.currentTarget.dataset.componentKey;t.focusOnComponent(l)}}))})),this.prepend(this.alert))}else this.alert&&(this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){t.removeEventListener(n,"click"),t.removeEventListener(n,"keypress")})),this.removeChild(this.alert),this.alert=null)}},{key:"focusOnComponent",value:function(n){if(n){var l=this.getComponent(n);l&&l.focus()}}},{key:"showErrors",value:function(n,l,e){var i=this;this.loading=!1;var o=this.errors;if(n?Array.isArray(n)?o=o.concat(n):o.push(n):o=w(M(d.prototype),"errors",this),(o=(o=o.concat(this.customErrors)).concat(this.serverErrors||[])).length){o.forEach((function(n){var l=n.components,e=void 0===l?[]:l;n.component&&e.push(n.component),n.path&&e.push(n.path),e.forEach((function(l){var e=i._parentPath+(0,g.getStringFromComponentPath)(l),o=i.getComponent(l,t.default.identity,e);n.fromServer&&(o.serverErrors?o.serverErrors.push(n):o.serverErrors=[n]),t.default.compact(Array.isArray(o)?o:[o]).forEach((function(l){return l.setCustomValidity(n.message,!0)}))}))}));var r=[];o.forEach((function(n){if(n){var l=function(l,e){var o=!t.default.isUndefined(e)&&n.messages&&n.messages[e],r=o&&o.formattedKeyOrPath||o.path||n.component&&n.component.key||n.fromServer&&n.path,u=r?(0,g.getStringFromComponentPath)(r):"";return u=i._parentPath+u,"string"==typeof n||n.formattedKeyOrPath||(n.formattedKeyOrPath=u),{message:(0,g.unescapeHTML)(l),keyOrPath:u}};if(n.messages=t.default.uniqBy(n.messages,(function(n){return n.message})),n.messages&&n.messages.length){var e=n.component;n.messages.forEach((function(n,t){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(e.label),message:i.t(o)});r.push(l(s,t))}))}else if(n){var o=t.default.isObject(n)?i.t("alertMessage",{message:i.t(n.message||"")}):i.t("alertMessage",{message:i.t(n)});r.push(l(o))}}}));var u=this.renderTemplate("errorsList",{errors:r});return this.root.setAlert("danger",u),l&&this.emit("error",o),o}this.setAlert(!1)}},{key:"onSubmit",value:function(n,l){var e;return this.loading=!1,this.submitting=!1,this.setPristine(!0),this.setValue((0,g.fastCloneDeep)(n),{noValidate:!0,noCheck:!0}),this.setAlert("success","

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

")),this.draftEnabled&&null!==(e=this.triggerSaveDraft)&&void 0!==e&&e.cancel&&this.triggerSaveDraft.cancel(),this.emit("submit",n,l),l&&this.emit("submitDone",n),n}},{key:"normalizeError",value:function(n){return n&&("object"===f(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):(l=this.submitted?this.showErrors():this.showErrors(n,!0),this.root&&this.root.alert&&this.scrollIntoView(this.root.alert),l);var l}},{key:"onChange",value:function(n,l,e,i){n=n||{};var o=!1;l&&l.component&&(this.customErrors=this.customErrors.filter((function(n){return n.component&&n.component!==l.component.key}))),w(M(d.prototype),"onChange",this).call(this,n,!0);var r=t.default.clone(this.submission);n.changed=r.changed=l,n.changes=i,e&&this.pristine&&(this.pristine=!1),r.isValid=this.checkData(r.data,n),this.loading=!1,this.submitted&&this.showErrors(),e&&this.options.saveDraft&&this.triggerSaveDraft(),n&&n.noEmit||(this.emit("change",r,n,e),o=!0),o&&!this.initialized&&(this.emit("initialized"),this.initialized=!0)}},{key:"checkData",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=w(M(d.prototype),"checkData",this).call(this,n,l);return(t.default.isEmpty(l)||l.noValidate)&&this.submitted&&this.showErrors(),e}},{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||{},t.default.defaults(n.metadata,{timezone:t.default.get(this,"_submission.metadata.timezone",(0,g.currentTimezone)()),offset:parseInt(t.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,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clearServerErrors(),new c.default((function(e,i){if(n.options.readOnly)return e({submission:n.submission,saved:!1});var o=(0,g.fastCloneDeep)(n.submission||{});n.setMetadata(o),o.state=l.state||"submitted";var r="draft"===o.state;n.hook("beforeSubmit",v(v({},o),{},{component:l.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&&t.default.unset(o.data,n.path)})),void n.hook("customValidation",v(v({},o),{},{component:l.component}),(function(l){if(l)return"string"==typeof l&&(l={message:l}),l=Array.isArray(l)?l:[l],n.customErrors=l,i();if(n.loading=!0,n._form&&n._form.action){var t=o.data._id&&n._form.action.includes(o.data._id)?"PUT":"POST";return s.GlobalFormio.makeStaticRequest(n._form.action,t,o,n.formio?n.formio.options:{}).then((function(n){return e({submission:n,saved:!0})})).catch((function(l){return n.setServerErrors(l),i(l)}))}var r=n.formio;if(n.nosubmit||!r)return e({submission:o,saved:!1});r[r.actionUrl?"saveAction":"saveSubmission"](o).then((function(n){return e({submission:n,saved:!0})})).catch((function(l){return n.setServerErrors(l),i(l)}))}))):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 l=this;return this.submitted=!0,this.submitting=!0,this.submitForm(n).then((function(n){var e=n.submission,t=n.saved;return l.onSubmit(e,t)})).then((function(n){return l.submissionInProcess=!1,n})).catch((function(n){return l.submissionInProcess=!1,c.default.reject(l.onSubmissionError(n))}))}},{key:"clearServerErrors",value:function(){var n,l=this;null===(n=this.serverErrors)||void 0===n||n.forEach((function(n){if(n.path){var e=(0,g.getArrayFromComponentPath)(n.path),i=l.getComponent(e,t.default.identity,n.formattedKeyOrPath);i&&(i.serverErrors=[])}})),this.serverErrors=[]}},{key:"submit",value:function(n,l){var e=this;return this.submissionInProcess=!0,n?this.executeSubmit(l):this.beforeSubmit(l).then((function(){return e.executeSubmit(l)}))}},{key:"submitUrl",value:function(n,l){var e=this;if(!n)return console.warn("Missing URL argument");var t=this.submission||{},i=n,o={method:"POST",headers:{}};if(l&&l.length>0&&l.map((function(n){""!==n.header&&""!==n.value&&(o.headers[n.header]=e.interpolate(n.value,t))})),!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,t,{headers:o.headers}).then((function(){e.emit("requestDone"),e.setAlert("success","

Success

")})).catch((function(n){e.showErrors("".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),e.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)),e.setAlert("danger","

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

"))}))}},{key:"triggerRecaptcha",value:function(){if(this&&this.components){var n=(0,g.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,l;return null!==(n=null===(l=this.schema.settings)||void 0===l?void 0:l.conditions)&&void 0!==n?n:[]}},{key:"variables",get:function(){var n,l;return null!==(n=null===(l=this.schema.settings)||void 0===l?void 0:l.variables)&&void 0!==n?n:[]}}])&&C(l.prototype,e),r&&C(l,r),Object.defineProperty(l,"prototype",{writable:!1}),d}(p.default);l.default=T,T.setBaseUrl=s.GlobalFormio.setBaseUrl,T.setApiUrl=s.GlobalFormio.setApiUrl,T.setAppUrl=s.GlobalFormio.setAppUrl},"7fqy":function(n,l){n.exports=function(n){var l=-1,e=Array(n.size);return n.forEach((function(n,t){e[++l]=[t,n]})),e}},"7lQs":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){return"\n","\n"}},"7p4B":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){return'\n','\n'}},"7xO9":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e=10?n:n+12:"\u0a38\u0a3c\u0a3e\u0a2e"===l?n+12:void 0},meridiem:function(n,l,e){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}})}(e("wd/R"))},"8/JR":function(n,l,e){"use strict";var t=e("8T9/"),i=e("Ibf7");n.exports=function(n,l){var e=l||{},o={};return void 0===n&&(n={}),n.on=function(l,e){return o[l]?o[l].push(e):o[l]=[e],n},n.once=function(l,e){return e._once=!0,n.on(l,e),n},n.off=function(l,e){var t=arguments.length;if(1===t)delete o[l];else if(0===t)o={};else{var i=o[l];if(!i)return n;i.splice(i.indexOf(e),1)}return n},n.emit=function(){var l=t(arguments);return n.emitterSnapshot(l.shift()).apply(this,l)},n.emitterSnapshot=function(l){var r=(o[l]||[]).slice(0);return function(){var o=t(arguments),u=this||n;if("error"===l&&!1!==e.throws&&!r.length)throw 1===o.length?o[0]:o;return r.forEach((function(t){e.async?i(t,o,u):t.apply(u,o),t._once&&n.off(l,t)})),n}},n}},"81LO":function(n,l,e){var t=e("b5wT"),i=e("tQ6r");function o(n,l,e){for(var i;l.length&&(i=t.last(l)).i<=e;)l.pop(),n.push(i.vs),e++;return e}n.exports=function(n,l){var e=i.partition(n,(function(n){return t.has(n,"barycenter")})),r=e.lhs,u=t.sortBy(e.rhs,(function(n){return-n.i})),a=[],s=0,c=0,d=0;r.sort((p=!!l,function(n,l){return n.barycenterl.barycenter?1:p?l.i-n.i:n.i-l.i})),d=o(a,u,d),t.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 g={vs:t.flatten(a,!0)};c&&(g.barycenter=s/c,g.weight=c);return g}},"81S3":function(n,l,e){"use strict";var t=e("0Dky"),i=e("tiKp"),o=e("g6v/"),r=e("xDBR"),u=i("iterator");n.exports=!t((function(){var n=new URL("b?a=1&b=2&c=3","http://a"),l=n.searchParams,e=new URLSearchParams("a=1&a=2&b=3"),t="";return n.pathname="c%20d",l.forEach((function(n,e){l.delete("b"),t+=e+n})),e.delete("a",2),e.delete("b",void 0),r&&(!n.toJSON||!e.has("a",1)||e.has("a",2)||!e.has("a",void 0)||e.has("b"))||!l.size&&(r||!o)||!l.sort||"http://a/c%20d?a=1&c=3"!==n.href||"3"!==l.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!l[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"!==t||"x"!==new URL("http://x",void 0).host}))},"82Gu":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='\n"}},"82LE":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";var t=e("4zBA");n.exports=t([].slice)},"83RN":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("ai4O");l.default={form:t.default}},"87QY":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";return e+='
'+(null==(l=n.children)?"":l)+"
\n"}},"88Gu":function(n,l){var e=Date.now;n.exports=function(n){var l=0,t=0;return function(){var i=e(),o=16-(i-t);if(t=i,o>0){if(++l>=800)return arguments[0]}else l=0;return n.apply(void 0,arguments)}}},"8Aq1":function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("s8pA"))&&t.__esModule?t:{default:t}).default};l.default=i},"8AyJ":function(n,l,e){"use strict";e("I+eb")({target:"Number",stat:!0},{isFinite:e("4oU/")})},"8GHX":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("oRM5");l.default={form:t.default}},"8GlL":function(n,l,e){"use strict";var t=e("We1y"),i=TypeError,o=function(n){var l,e;this.promise=new n((function(n,t){if(void 0!==l||void 0!==e)throw new i("Bad Promise constructor");l=n,e=t})),this.resolve=t(l),this.reject=t(e)};n.exports.f=function(n){return new o(n)}},"8KB7":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n \n
\n ',n.groups.forEach((function(n){e+="\n "+(null==(l=n)?"":l)+"\n "})),e+="\n
\n
\n"}},"8MCd":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='\n
',n.checked?e+="True":e+="False",e+="
\n"}},"8O7S":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;for(var t in e+="<"+(null==(l=n.input.type)?"":l)+'\n ref="button"\n class="ui button '+(null==(l=n.transform("theme",n.component.theme))?"":l)+" "+(null==(l=n.component.customClass)?"":l)+'"\n ',n.input.attr)e+="\n "+(null==(l=t)?"":l)+'="'+(null==(l=n.input.attr[t])?"":l)+'"\n ';return e+="\n>\n",n.component.leftIcon&&(e+=' '),e+="\n"+(null==(l=n.input.content)?"":l)+"\n",n.component.tooltip&&(e+='\n \n'),e+="\n",n.component.rightIcon&&(e+=' '),e+="\n\n
\n \n
\n'}},"8T9/":function(n,l){n.exports=function(n,l){return Array.prototype.slice.call(n,l)}},"8VeQ":function(n,l){},"8YOa":function(n,l,e){"use strict";var t=e("I+eb"),i=e("4zBA"),o=e("0BK2"),r=e("hh1v"),u=e("Gi26"),a=e("m/L8").f,s=e("JBy8"),c=e("BX/b"),d=e("T63f"),p=e("kOOl"),g=e("uy83"),h=!1,m=p("meta"),f=0,b=function(n){a(n,m,{value:{objectID:"O"+f++,weakData:{}}})},v=n.exports={enable:function(){v.enable=function(){},h=!0;var n=s.f,l=i([].splice),e={};e[m]=1,n(e).length&&(s.f=function(e){for(var t=n(e),i=0,o=t.length;ia||s>l[i].lim));o=i,i=t;for(;(i=n.parent(i))!==o;)u.push(i);return{path:r.concat(u.reverse()),lca:o}}(n,l,i.v,i.w),r=o.path,u=o.lca,a=0,s=r[a],c=!0;e!==i.w;){if(t=n.node(e),c){for(;(s=r[a])!==u&&n.node(s).maxRank\n"}},"8mBD":function(n,l,e){!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}})}(e("wd/R"))},"8qph":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return n.selected&&(e+=null==(l=n.t(n.option.label))?"":l),e+="\n"}},"8r76":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("vEJ5");l.default={form:t.default}},"8s0q":function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("s0kn"))&&t.__esModule?t:{default:t}).default};l.default=i},"8t0+":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("FryW"))&&t.__esModule?t:{default:t}).default};l.default=i},"909l":function(n,l,e){"use strict";e.d(l,"b",(function(){return c})),e.d(l,"a",(function(){return d}));var t=e("mrSG"),i=e("IUTb"),o=e("isby"),r=e("FFOo"),u=e("MGBS"),a=e("zotm"),s=e("En8+");function c(){for(var n=[],l=0;lthis.index},n.prototype.hasCompleted=function(){return this.array.length===this.index},n}(),m=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.parent=e,i.observable=t,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return t.d(l,n),l.prototype[s.a]=function(){return this},l.prototype.next=function(){var n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}},l.prototype.hasValue=function(){return this.buffer.length>0},l.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},l.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},l.prototype.notifyNext=function(n,l,e,t,i){this.buffer.push(l),this.parent.checkIterators()},l.prototype.subscribe=function(n,l){return Object(a.a)(this,this.observable,this,l)},l}(u.a)},"90hW":function(n,l,e){"use strict";n.exports=Math.sign||function(n){var l=+n;return 0===l||l!=l?l:l<0?-1:1}},"93I0":function(n,l,e){"use strict";var t=e("VpIT"),i=e("kOOl"),o=t("keys");n.exports=function(n){return o[n]||(o[n]=i(n))}},"94Pl":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;el?1:n=D&&t<=Wo}function N(){if(S)try{throw new Error}catch(e){var n=e.stack.split("\n"),l=L(n[0].indexOf("@")>0?n[1]:n[2]);if(!l)return;return T=l[0],l[1]}}function L(n){var l=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(n);if(l)return[l[1],Number(l[2])];var e=/at ([^ ]+):(\d+):(?:\d+)$/.exec(n);if(e)return[e[1],Number(e[2])];var t=/.*@(.+):(\d+)$/.exec(n);return t?[t[1],Number(t[2])]:void 0}var F=f.EmptyError=function(){this.message="Sequence contains no elements.",Error.call(this)};F.prototype=Object.create(Error.prototype),F.prototype.name="EmptyError";var B=f.ObjectDisposedError=function(){this.message="Object has been disposed",Error.call(this)};B.prototype=Object.create(Error.prototype),B.prototype.name="ObjectDisposedError";var j=f.ArgumentOutOfRangeError=function(){this.message="Argument out of range",Error.call(this)};j.prototype=Object.create(Error.prototype),j.prototype.name="ArgumentOutOfRangeError";var z=f.NotSupportedError=function(n){this.message=n||"This operation is not supported",Error.call(this)};z.prototype=Object.create(Error.prototype),z.prototype.name="NotSupportedError";var V=f.NotImplementedError=function(n){this.message=n||"This operation is not implemented",Error.call(this)};V.prototype=Object.create(Error.prototype),V.prototype.name="NotImplementedError";var U=f.helpers.notImplemented=function(){throw new V},H=(f.helpers.notSupported=function(){throw new z},"function"==typeof Symbol&&Symbol.iterator||"_es6shim_iterator_");m.Set&&"function"==typeof(new m.Set)["@@iterator"]&&(H="@@iterator");var q=f.doneEnumerator={done:!0,value:i},G=f.helpers.isIterable=function(n){return n&&n[H]!==i},Y=f.helpers.isArrayLike=function(n){return n&&n.length!==i};f.helpers.iterator=H;var W=f.internals.bindCallback=function(n,l,e){if(void 0===l)return n;switch(e){case 0:return function(){return n.call(l)};case 1:return function(e){return n.call(l,e)};case 2:return function(e,t){return n.call(l,e,t)};case 3:return function(e,t,i){return n.call(l,e,t,i)}}return function(){return n.apply(l,arguments)}},Q=(["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"].length,"[object Arguments]"),K="[object Array]",$="[object Object]",X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X[Q]=X[K]=X["[object ArrayBuffer]"]=X["[object Boolean]"]=X["[object Date]"]=X["[object Error]"]=X["[object Function]"]=X["[object Map]"]=X["[object Number]"]=X[$]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object WeakMap]"]=!1;var J=Object.prototype,Z=J.hasOwnProperty,nn=J.toString,ln=Math.pow(2,53)-1,en=Object.keys||function(){var n=Object.prototype.hasOwnProperty,l=!{toString:null}.propertyIsEnumerable("toString"),e=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],t=e.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(l)for(r=0;r-1&&n%1==0&&n<=ln}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,l){for(var e=-1,t=n.length;++ea))return!1;for(;++u=this.length||n<0)){var l=n-1>>1;if(!(l<0||l===n)&&this.isHigherPriority(n,l)){var e=this.items[n];this.items[n]=this.items[l],this.items[l]=e,this.percolate(l)}}},wn.heapify=function(n){if(+n||(n=0),!(n>=this.length||n<0)){var l=2*n+1,e=2*n+2,t=n;if(l0;){var n=l.dequeue();!n.isCancelled()&&n.invoke()}}function t(){n.call(this)}return mn(t,n),t.prototype.schedule=function(n,t){var i=new Fn(this,n,t,this.now());if(l)l.enqueue(i);else{(l=new Cn(4)).enqueue(i);var o=M(e)();l=null,o===O&&k(o.e)}return i.disposable},t.prototype.scheduleRequired=function(){return!l},t}(Bn),Wn=Bn.currentThread=new Yn,Qn=function(){var n,l=b;if(m.setTimeout)n=m.setTimeout,l=m.clearTimeout;else{if(!m.WScript)throw new z;n=function(n,l){m.WScript.Sleep(l),n()}}return{setTimeout:n,clearTimeout:l}}(),Kn=Qn.setTimeout,$n=Qn.clearTimeout;!function(){var n=1,l={},e=!1;function t(n){if(e)Kn((function(){t(n)}),0);else{var i=l[n];if(i){e=!0;var o=M(i)();Un(n),e=!1,o===O&&k(o.e)}}}Un=function(n){delete l[n]};var i=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),o="function"==typeof(o=c&&g&&c.setImmediate)&&!i.test(o)&&o;if(P(o))Vn=function(e){var i=n++;return l[i]=e,o((function(){t(i)})),i};else if("undefined"!=typeof process&&"[object process]"==={}.toString.call(process))Vn=function(e){var i=n++;return l[i]=e,process.nextTick((function(){t(i)})),i};else if(function(){if(!m.postMessage||m.importScripts)return!1;var n=!1,l=m.onmessage;return m.onmessage=function(){n=!0},m.postMessage("","*"),m.onmessage=l,n}()){var r="ms.rx.schedule"+Math.random();m.addEventListener("message",(function(n){"string"==typeof n.data&&n.data.substring(0,r.length)===r&&t(n.data.substring(r.length))}),!1),Vn=function(e){var t=n++;return l[t]=e,m.postMessage(r+t,"*"),t}}else if(m.MessageChannel){var u=new m.MessageChannel;u.port1.onmessage=function(n){t(n.data)},Vn=function(e){var t=n++;return l[t]=e,u.port2.postMessage(t),t}}else Vn="document"in m&&"onreadystatechange"in m.document.createElement("script")?function(e){var i=m.document.createElement("script"),o=n++;return l[o]=e,i.onreadystatechange=function(){t(o),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},m.document.documentElement.appendChild(i),o}:function(e){var i=n++;return l[i]=e,Kn((function(){t(i)}),0),i}}();var Xn=function(n){function l(){n.call(this)}function e(n,l,e,t){return function(){n.setDisposable(Pn._fixup(l(e,t)))}}function t(n){this._id=n,this.isDisposed=!1}function i(n){this._id=n,this.isDisposed=!1}return mn(l,n),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,Un(this._id))},i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,$n(this._id))},l.prototype.schedule=function(n,l){var i=new In,o=Vn(e(i,l,this,n));return new Dn(i,new t(o))},l.prototype._scheduleFuture=function(n,l,t){if(0===l)return this.schedule(n,t);var o=new In,r=Kn(e(o,t,this,n),l);return new Dn(o,new i(r))},l.prototype.scheduleLongRunning=function(n,l){var e=An(b);return Vn(function(n,l,e){return function(){l(n,e)}}(n,l,e)),e},l}(Bn),Jn=Bn.default=Bn.async=new Xn,Zn=function(n){function l(l,e){this._scheduler=l,this._handler=e,this._recursiveOriginal=null,this._recursiveWrapper=null,n.call(this)}return mn(l,n),l.prototype.schedule=function(n,l){return this._scheduler.schedule(n,this._wrap(l))},l.prototype._scheduleFuture=function(n,l,e){return this._scheduler.schedule(n,l,this._wrap(e))},l.prototype.now=function(){return this._scheduler.now()},l.prototype._clone=function(n){return new l(n,this._handler)},l.prototype._wrap=function(n){var l=this;return function(e,t){var i=M(n)(l._getRecursiveWrapper(e),t);return i===O?(l._handler(i.e)||k(i.e),On):Sn(i)}},l.prototype._getRecursiveWrapper=function(n){if(this._recursiveOriginal!==n){this._recursiveOriginal=n;var l=this._clone(n);l._recursiveOriginal=n,l._recursiveWrapper=l,this._recursiveWrapper=l}return this._recursiveWrapper},l.prototype.schedulePeriodic=function(n,l,e){var t=this,i=!1,o=new In;return o.setDisposable(this._scheduler.schedulePeriodic(n,l,(function(n){if(i)return null;var l=M(e)(n);return l===O?(i=!0,t._handler(l.e)||k(l.e),o.dispose(),null):l}))),o},l}(Bn),nl=f.Notification=function(){function n(){}return n.prototype._accept=function(n,l,e){throw new V},n.prototype._acceptObserver=function(n,l,e){throw new V},n.prototype.accept=function(n,l,e){return n&&"object"==typeof n?this._acceptObserver(n):this._accept(n,l,e)},n.prototype.toObservable=function(n){var l=this;return zn(n)||(n=Gn),new Bo((function(e){return n.schedule(l,(function(n,l){l._acceptObserver(e),"N"===l.kind&&e.onCompleted()}))}))},n}(),ll=function(n){function l(n){this.value=n,this.kind="N"}return mn(l,n),l.prototype._accept=function(n){return n(this.value)},l.prototype._acceptObserver=function(n){return n.onNext(this.value)},l.prototype.toString=function(){return"OnNext("+this.value+")"},l}(nl),el=function(n){function l(n){this.error=n,this.kind="E"}return mn(l,n),l.prototype._accept=function(n,l){return l(this.error)},l.prototype._acceptObserver=function(n){return n.onError(this.error)},l.prototype.toString=function(){return"OnError("+this.error+")"},l}(nl),tl=function(n){function l(){this.kind="C"}return mn(l,n),l.prototype._accept=function(n,l,e){return e()},l.prototype._acceptObserver=function(n){return n.onCompleted()},l.prototype.toString=function(){return"OnCompleted()"},l}(nl),il=nl.createOnNext=function(n){return new ll(n)},ol=nl.createOnError=function(n){return new el(n)},rl=nl.createOnCompleted=function(){return new tl},ul=f.Observer=function(){};ul.prototype.toNotifier=function(){var n=this;return function(l){return l.accept(n)}},ul.prototype.asObserver=function(){var n=this;return new dl((function(l){n.onNext(l)}),(function(l){n.onError(l)}),(function(){n.onCompleted()}))},ul.prototype.checked=function(){return new pl(this)};var al=ul.create=function(n,l,e){return n||(n=b),l||(l=_),e||(e=b),new dl(n,l,e)};ul.fromNotifier=function(n,l){var e=W(n,l,1);return new dl((function(n){return e(il(n))}),(function(n){return e(ol(n))}),(function(){return e(rl())}))},ul.prototype.notifyOn=function(n){return new hl(n,this)},ul.prototype.makeSafe=function(n){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,n)};var sl,cl=f.internals.AbstractObserver=function(n){function l(){this.isStopped=!1}return mn(l,n),l.prototype.next=U,l.prototype.error=U,l.prototype.completed=U,l.prototype.onNext=function(n){!this.isStopped&&this.next(n)},l.prototype.onError=function(n){this.isStopped||(this.isStopped=!0,this.error(n))},l.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},l.prototype.dispose=function(){this.isStopped=!0},l.prototype.fail=function(n){return!this.isStopped&&(this.isStopped=!0,this.error(n),!0)},l}(ul),dl=f.AnonymousObserver=function(n){function l(l,e,t){n.call(this),this._onNext=l,this._onError=e,this._onCompleted=t}return mn(l,n),l.prototype.next=function(n){this._onNext(n)},l.prototype.error=function(n){this._onError(n)},l.prototype.completed=function(){this._onCompleted()},l}(cl),pl=function(n){function l(l){n.call(this),this._observer=l,this._state=0}mn(l,n);var e=l.prototype;return e.onNext=function(n){this.checkAccess();var l=M(this._observer.onNext).call(this._observer,n);this._state=0,l===O&&k(l.e)},e.onError=function(n){this.checkAccess();var l=M(this._observer.onError).call(this._observer,n);this._state=2,l===O&&k(l.e)},e.onCompleted=function(){this.checkAccess();var n=M(this._observer.onCompleted).call(this._observer);this._state=2,n===O&&k(n.e)},e.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)},l}(ul),gl=f.internals.ScheduledObserver=function(n){function l(l,e){n.call(this),this.scheduler=l,this.observer=e,this.isAcquired=!1,this.hasFaulted=!1,this.queue=[],this.disposable=new Tn}function e(n,l){var e;if(n.queue.length>0){e=n.queue.shift();var t=M(e)();if(t===O)return n.queue=[],n.hasFaulted=!0,k(t.e);l(n)}else n.isAcquired=!1}return mn(l,n),l.prototype.next=function(n){this.queue.push(function(n,l){return function(){n.onNext(l)}}(this.observer,n))},l.prototype.error=function(n){this.queue.push(function(n,l){return function(){n.onError(l)}}(this.observer,n))},l.prototype.completed=function(){var n;this.queue.push((n=this.observer,function(){n.onCompleted()}))},l.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,e))},l.prototype.dispose=function(){n.prototype.dispose.call(this),this.disposable.dispose()},l}(cl),hl=function(n){function l(l,e,t){n.call(this,l,e),this._cancel=t}return mn(l,n),l.prototype.next=function(l){n.prototype.next.call(this,l),this.ensureActive()},l.prototype.error=function(l){n.prototype.error.call(this,l),this.ensureActive()},l.prototype.completed=function(){n.prototype.completed.call(this),this.ensureActive()},l.prototype.dispose=function(){n.prototype.dispose.call(this),this._cancel&&this._cancel.dispose(),this._cancel=null},l}(gl),ml=f.Observable=function(){function n(){if(f.config.longStackSupport&&S){var n=this._subscribe,l=M(k)(new Error).e;this.stack=l.stack.substring(l.stack.indexOf("\n")+1),this._subscribe=function(n,l){return function(e){var t=e.onError;return e.onError=function(l){E(l,n),t.call(e,l)},l.call(n,e)}}(this,n)}}return sl=n.prototype,n.isObservable=function(n){return n&&P(n.subscribe)},sl.subscribe=sl.forEach=function(n,l,e){return this._subscribe("object"==typeof n?n:al(n,l,e))},sl.subscribeOnNext=function(n,l){return this._subscribe(al(void 0!==l?function(e){n.call(l,e)}:n))},sl.subscribeOnError=function(n,l){return this._subscribe(al(null,void 0!==l?function(e){n.call(l,e)}:n))},sl.subscribeOnCompleted=function(n,l){return this._subscribe(al(null,null,void 0!==l?function(){n.call(l)}:n))},n}(),fl=f.ObservableBase=function(n){function l(n,l){var e,t=l[0],i=l[1],o=M(i.subscribeCore).call(i,t);o!==O||t.fail(O.e)||k(O.e),t.setDisposable((e=o)&&P(e.dispose)?e:P(e)?An(e):On)}function e(){n.call(this)}return mn(e,n),e.prototype._subscribe=function(n){var e=new jo(n),t=[e,this];return Wn.scheduleRequired()?Wn.schedule(t,l):l(0,t),e},e.prototype.subscribeCore=U,e}(ml),bl=f.FlatMapObservable=function(n){function l(l,e,t,i){this.resultSelector=P(t)?t:null,this.selector=W(P(e)?e:function(){return e},i,3),this.source=l,n.call(this)}function e(n,l,e,t){this.i=0,this.selector=l,this.resultSelector=e,this.source=t,this.o=n,cl.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new e(n,this.selector,this.resultSelector,this))},mn(e,cl),e.prototype._wrapResult=function(n,l,e){return this.resultSelector?n.map((function(n,t){return this.resultSelector(l,n,e,t)}),this):n},e.prototype.next=function(n){var l=this.i++,e=M(this.selector)(n,l,this.source);if(e===O)return this.o.onError(e.e);x(e)&&(e=Sl(e)),(Y(e)||G(e))&&(e=ml.from(e)),this.o.onNext(this._wrapResult(e,n,l))},e.prototype.error=function(n){this.o.onError(n)},e.prototype.completed=function(){this.o.onCompleted()},l}(fl),vl=f.internals.Enumerable=function(){};function yl(n){this._s=n,this.isDisposed=!1}yl.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.isDisposed=!0)};var Cl=function(n){function l(l){this.sources=l,n.call(this)}function e(n,l){if(!n.isDisposed){var e=M(n.e.next).call(n.e);if(e===O)return n.o.onError(e.e);if(e.done)return n.o.onCompleted();var i=e.value;x(i)&&(i=Sl(i));var o=new In;n.subscription.setDisposable(o),o.setDisposable(i.subscribe(new t(n,l)))}}function t(n,l){this._state=n,this._recurse=l,cl.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){var l=new Tn,t={isDisposed:!1,o:n,subscription:l,e:this.sources[H]()},i=Wn.scheduleRecursive(t,e);return new En([l,i,new yl(t)])},mn(t,cl),t.prototype.next=function(n){this._state.o.onNext(n)},t.prototype.error=function(n){this._state.o.onError(n)},t.prototype.completed=function(){this._recurse(this._state)},l}(fl);vl.prototype.concat=function(){return new Cl(this)};var wl=function(n){function l(l){this.sources=l,n.call(this)}function e(n,l){if(!n.isDisposed){var e=M(n.e.next).call(n.e);if(e===O)return n.o.onError(e.e);if(e.done)return null!==n.lastError?n.o.onError(n.lastError):n.o.onCompleted();var i=e.value;x(i)&&(i=Sl(i));var o=new In;n.subscription.setDisposable(o),o.setDisposable(i.subscribe(new t(n,l)))}}function t(n,l){this._state=n,this._recurse=l,cl.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){var l=new Tn,t={isDisposed:!1,e:this.sources[H](),subscription:l,lastError:null,o:n},i=Wn.scheduleRecursive(t,e);return new En([l,i,new yl(t)])},mn(t,cl),t.prototype.next=function(n){this._state.o.onNext(n)},t.prototype.error=function(n){this._state.lastError=n,this._recurse(this._state)},t.prototype.completed=function(){this._state.o.onCompleted()},l}(fl);vl.prototype.catchError=function(){return new wl(this)};var _l=function(n){function l(n,l){this.v=n,this.c=null==l?-1:l}function e(n){this.v=n.v,this.l=n.c}return mn(l,n),l.prototype[H]=function(){return new e(this)},e.prototype.next=function(){return 0===this.l?q:(this.l>0&&this.l--,{done:!1,value:this.v})},l}(vl),xl=vl.repeat=function(n,l){return new _l(n,l)},Pl=function(n){function l(n,l,e){this.s=n,this.fn=l?W(l,e,3):null}function e(n){this.i=-1,this.s=n.s,this.l=this.s.length,this.fn=n.fn}return mn(l,n),l.prototype[H]=function(){return new e(this)},e.prototype.next=function(){return++this.iFl)return Fl;return l}(n),this._i=0}Bl.prototype[H]=function(){return new jl(this._s)},jl.prototype[H]=function(){return this},jl.prototype.next=function(){return this._i0)&&(n.onNext(l),e>0&&e--),0===e)return n.onCompleted();t(e)}))},ml.repeat=function(n,l,e){return zn(e)||(e=Wn),new Xl(n,l,e)};var Zl=function(n){function l(l,e){this._value=l,this._scheduler=e,n.call(this)}function e(n,l){var e=l[0],t=l[1];return t.onNext(e),t.onCompleted(),On}return mn(l,n),l.prototype.subscribeCore=function(n){var l=[this._value,n];return this._scheduler===Gn?e(null,l):this._scheduler.schedule(l,e)},l}(fl),ne=(ml.return=ml.just=function(n,l){return zn(l)||(l=Gn),new Zl(n,l)},function(n){function l(l,e){this._error=l,this._scheduler=e,n.call(this)}function e(n,l){var e=l[0];return l[1].onError(e),On}return mn(l,n),l.prototype.subscribeCore=function(n){var l=[this._error,n];return this._scheduler===Gn?e(null,l):this._scheduler.schedule(l,e)},l}(fl)),le=ml.throw=function(n,l){return zn(l)||(l=Gn),new ne(n,l)},ee=function(n){function l(l,e){this._resFn=l,this._obsFn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){var l=On,e=M(this._resFn)();if(e===O)return new Dn(le(e.e).subscribe(n),l);e&&(l=e);var t=M(this._obsFn)(e);return new Dn(t===O?le(t.e).subscribe(n):t.subscribe(n),l)},l}(fl);function te(n,l){return n.amb(l)}ml.using=function(n,l){return new ee(n,l)},sl.amb=function(n){var l=this;return new Bo((function(e){var t,i=new In,o=new In;function r(){t||(t="L",o.dispose())}function u(){t||(t="R",i.dispose())}x(n)&&(n=Sl(n));var a=al((function(n){r(),"L"===t&&e.onNext(n)}),(function(n){r(),"L"===t&&e.onError(n)}),(function(){r(),"L"===t&&e.onCompleted()})),s=al((function(n){u(),"R"===t&&e.onNext(n)}),(function(n){u(),"R"===t&&e.onError(n)}),(function(){u(),"R"===t&&e.onCompleted()}));return i.setDisposable(l.subscribe(a)),o.setDisposable(n.subscribe(s)),new Dn(i,o)}))},ml.amb=function(){var n,l=Ql();if(Array.isArray(arguments[0]))n=arguments[0];else{var e=arguments.length;n=new Array(n);for(var t=0;t0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&0===this.parent.activeCount&&this.parent.o.onCompleted())},l}(cl);sl.merge=function(n){return"number"!=typeof n?be(this,n):new me(this,n)};var be=ml.merge=function(){var n,l,e=[],t=arguments.length;if(arguments[0])if(zn(arguments[0]))for(n=arguments[0],l=1;l0}function t(n){return n.shift()}return mn(l,n),l.prototype.next=function(n){if(this._q[this._i].push(n),this._q.every(e)){var l=this._q.map(t),i=M(this._p._cb).apply(null,l);if(i===O)return this._o.onError(i.e);this._o.onNext(i)}else this._d.filter((o=this._i,function(n,l){return l!==o})).every(v)&&this._o.onCompleted();var o},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._d[this._i]=!0,this._d.every(v)&&this._o.onCompleted()},l}(cl);function ue(){return!1}function Ne(){return[]}function ae(){for(var n=arguments.length,l=new Array(n),e=0;e0}function t(n){return n.shift()}return mn(l,n),l.prototype.next=function(n){if(this._s.q[this._i].push(n),this._s.q.every(e)){var l=this._s.q.map(t),i=M(this._s.cb).apply(null,l);if(i===O)return this._s.o.onError(i.e);this._s.o.onNext(i)}else this._s.done.filter((o=this._i,function(n,l){return l!==o})).every(v)&&this._s.o.onCompleted();var o},l.prototype.error=function(n){this._s.o.onError(n)},l.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(v)&&this._s.o.onCompleted()},l}(cl);function ze(n){return n.toArray()}function Ve(n){return n.length>0}sl.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var n=arguments.length,l=new Array(n),e=0;ethis._c&&this._o.onNext(this._q.shift())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},l}(cl);sl.skipLast=function(n){if(n<0)throw new j;return new et(this,n)},sl.startWith=function(){var n,l=0;arguments.length&&zn(arguments[0])?(n=arguments[0],l=1):n=Gn;for(var e=[],t=l,i=arguments.length;tthis._c&&this._q.shift()},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){for(;this._q.length>0;)this._o.onNext(this._q.shift());this._o.onCompleted()},l}(cl);sl.takeLast=function(n){if(n<0)throw new j;var l=this;return new Bo((function(e){return l.subscribe(new it(e,n))}),l)};var ot=function(n){function l(l,e){this._o=l,this._c=e,this._q=[],n.call(this)}return mn(l,n),l.prototype.next=function(n){this._q.push(n),this._q.length>this._c&&this._q.shift()},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(this._q),this._o.onCompleted()},l}(cl);function rt(n,l,e){var t=W(l,e,3);return n.map((function(l,e){var i=t(l,e,n);return x(i)&&(i=Sl(i)),(Y(i)||G(i))&&(i=Ul(i)),i})).concatAll()}sl.takeLastBuffer=function(n){if(n<0)throw new j;var l=this;return new Bo((function(e){return l.subscribe(new ot(e,n))}),l)},sl.windowWithCount=sl.windowCount=function(n,l){var e=this;if(+n||(n=0),Math.abs(n)===1/0&&(n=0),n<=0)throw new j;if(null==l&&(l=n),+l||(l=0),Math.abs(l)===1/0&&(l=0),l<=0)throw new j;return new Bo((function(t){var i=new In,o=new Rn(i),r=0,u=[];function a(){var n=new Uo;u.push(n),t.onNext(bn(n,o))}return a(),i.setDisposable(e.subscribe((function(e){for(var t=0,i=u.length;t=0&&o%l==0&&u.shift().onCompleted(),++r%l==0&&a()}),(function(n){for(;u.length>0;)u.shift().onError(n);t.onError(n)}),(function(){for(;u.length>0;)u.shift().onCompleted();t.onCompleted()}))),o}),e)},sl.selectConcat=sl.concatMap=function(n,l,e){return P(n)&&P(l)?this.concatMap((function(e,t){var i=n(e,t);return x(i)&&(i=Sl(i)),(Y(i)||G(i))&&(i=Ul(i)),i.map((function(n,i){return l(e,n,t,i)}))})):P(n)?rt(this,n,e):rt(this,(function(){return n}))},sl.concatMapObserver=sl.selectConcatObserver=function(n,l,e,t){var i=this,o=W(n,t,2),r=W(l,t,1),u=W(e,t,0);return new Bo((function(n){var l=0;return i.subscribe((function(e){var t;try{t=o(e,l++)}catch(i){return void n.onError(i)}x(t)&&(t=Sl(t)),n.onNext(t)}),(function(l){var e;try{e=r(l)}catch(t){return void n.onError(t)}x(e)&&(e=Sl(e)),n.onNext(e),n.onCompleted()}),(function(){var l;try{l=u()}catch(e){return void n.onError(e)}x(l)&&(l=Sl(l)),n.onNext(l),n.onCompleted()}))}),this).concatAll()};var ut=function(n){function l(l,e){this._o=l,this._d=e,this._f=!1,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._f=!0,this._o.onNext(n)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){!this._f&&this._o.onNext(this._d),this._o.onCompleted()},l}(cl);function at(n){this.comparer=n,this.set=[]}sl.defaultIfEmpty=function(n){var l=this;return n===i&&(n=null),new Bo((function(e){return l.subscribe(new ut(e,n))}),l)},at.prototype.push=function(n){var l=-1===function(n,l,e){for(var t=0,i=n.length;t0&&(this._o.onNext(n),this._r<=0&&this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},l}(fl);sl.take=function(n,l){if(n<0)throw new j;return 0===n?Nl(l):new ft(this,n)};var bt=function(n){function l(l,e){this.source=l,this._fn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new vt(n,this))},l}(fl),vt=function(n){function l(l,e){this._o=l,this._p=e,this._i=0,this._r=!0,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(this._r&&(this._r=M(this._p._fn)(n,this._i++,this._p),this._r===O))return this._o.onError(this._r.e);this._r?this._o.onNext(n):this._o.onCompleted()},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},l}(cl);sl.takeWhile=function(n,l){var e=W(n,l,3);return new bt(this,e)};var yt=function(n){function l(l,e,t){this.source=l,this.predicate=W(e,t,3),n.call(this)}function e(n,l,e){this.o=n,this.predicate=l,this.source=e,this.i=0,cl.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new e(n,this.predicate,this))},l.prototype.internalFilter=function(n,e){return new l(this.source,function(n,l){return function(e,t,i){return l.predicate(e,t,i)&&n.call(this,e,t,i)}}(n,this),e)},mn(e,cl),e.prototype.next=function(n){var l=M(this.predicate)(n,this.i++,this.source);if(l===O)return this.o.onError(l.e);l&&this.o.onNext(n)},e.prototype.error=function(n){this.o.onError(n)},e.prototype.completed=function(){this.o.onCompleted()},l}(fl);sl.filter=sl.where=function(n,l){return this instanceof yt?this.internalFilter(n,l):new yt(this,n,l)};var Ct=function(n){function l(l,e,t){this.source=l,this._k=e,this._c=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new wt(n,this._k,this._c))},l}(fl),wt=function(n){function l(l,e,t){this._o=l,this._k=e,this._c=t,this._v=null,this._hv=!1,this._l=[],n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=M(this._k)(n);if(l===O)return this._o.onError(l.e);var e=0;if(this._hv){if((e=M(this._c)(l,this._v))===O)return this._o.onError(e.e)}else this._hv=!0,this._v=l;e>0&&(this._v=l,this._l=[]),e>=0&&this._l.push(n)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(this._l),this._o.onCompleted()},l}(cl);function _t(n){if(0===n.length)throw new F;return n[0]}var xt=function(n){function l(l,e,t,i){this.source=l,this.accumulator=e,this.hasSeed=t,this.seed=i,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Pt(n,this))},l}(fl),Pt=function(n){function l(l,e){this._o=l,this._p=e,this._fn=e.accumulator,this._hs=e.hasSeed,this._s=e.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(!this._hv&&(this._hv=!0),this._ha?this._a=M(this._fn)(this._a,n,this._i,this._p):(this._a=this._hs?M(this._fn)(this._s,n,this._i,this._p):n,this._ha=!0),this._a===O)return this._o.onError(this._a.e);this._i++},l.prototype.error=function(n){this._o.onError(n)},l.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 F),this._o.onCompleted()},l}(cl);sl.reduce=function(){var n,l=!1,e=arguments[0];return 2===arguments.length&&(l=!0,n=arguments[1]),new xt(this,e,l,n)};var At=function(n){function l(l,e){this.source=l,this._fn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Ot(n,this._fn,this.source))},l}(fl),Ot=function(n){function l(l,e,t){this._o=l,this._fn=e,this._s=t,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=M(this._fn)(n,this._i++,this._s);if(l===O)return this._o.onError(l.e);Boolean(l)&&(this._o.onNext(!0),this._o.onCompleted())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},l}(cl);sl.some=function(n,l){var e=W(n,l,3);return new At(this,e)};var Mt=function(n){function l(l){this.source=l,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new kt(n))},l}(fl),kt=function(n){function l(l){this._o=l,n.call(this)}return mn(l,n),l.prototype.next=function(){this._o.onNext(!1),this._o.onCompleted()},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},l}(cl);sl.isEmpty=function(){return new Mt(this)};var St=function(n){function l(l,e){this.source=l,this._fn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new It(n,this._fn,this.source))},l}(fl),It=function(n){function l(l,e,t){this._o=l,this._fn=e,this._s=t,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=M(this._fn)(n,this._i++,this._s);if(l===O)return this._o.onError(l.e);Boolean(l)||(this._o.onNext(!1),this._o.onCompleted())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},l}(cl);sl.every=function(n,l){var e=W(n,l,3);return new St(this,e)};var Tt=function(n){function l(l,e,t){var i=+t||0;Math.abs(i)===1/0&&(i=0),this.source=l,this._elem=e,this._n=i,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this._n<0?(n.onNext(!1),n.onCompleted(),On):this.source.subscribe(new Dt(n,this._elem,this._n))},l}(fl),Dt=function(n){function l(l,e,t){this._o=l,this._elem=e,this._n=t,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l,e;this._i++>=this._n&&(l=n,e=this._elem,0===l&&0===e||l===e||isNaN(l)&&isNaN(e))&&(this._o.onNext(!0),this._o.onCompleted())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},l}(cl);sl.includes=function(n,l){return new Tt(this,n,l)};var Et=function(n){function l(l,e){this.source=l,this._fn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Rt(n,this._fn,this.source))},l}(fl),Rt=function(n){function l(l,e,t){this._o=l,this._fn=e,this._s=t,this._i=0,this._c=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(this._fn){var l=M(this._fn)(n,this._i++,this._s);if(l===O)return this._o.onError(l.e);Boolean(l)&&this._c++}else this._c++},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},l}(cl);sl.count=function(n,l){var e=W(n,l,3);return new Et(this,e)};var Nt=function(n){function l(l,e,t){this.source=l,this._e=e,this._n=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this._n<0?(n.onNext(-1),n.onCompleted(),On):this.source.subscribe(new Lt(n,this._e,this._n))},l}(fl),Lt=function(n){function l(l,e,t){this._o=l,this._e=e,this._n=t,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._i>=this._n&&n===this._e&&(this._o.onNext(this._i),this._o.onCompleted()),this._i++},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(-1),this._o.onCompleted()},l}(cl);sl.indexOf=function(n,l){var e=+l||0;return Math.abs(e)===1/0&&(e=0),new Nt(this,n,e)};var Ft=function(n){function l(l,e){this.source=l,this._fn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Bt(n,this._fn,this.source))},l}(fl),Bt=function(n){function l(l,e,t){this._o=l,this._fn=e,this._s=t,this._i=0,this._c=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(this._fn){var l=M(this._fn)(n,this._i++,this._s);if(l===O)return this._o.onError(l.e);this._c+=l}else this._c+=n},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},l}(cl);sl.sum=function(n,l){var e=W(n,l,3);return new Ft(this,e)},sl.minBy=function(n,l){return l||(l=w),new Ct(this,n,(function(n,e){return-1*l(n,e)}))},sl.min=function(n){return this.minBy(v,n).map(_t)},sl.maxBy=function(n,l){return l||(l=w),new Ct(this,n,l)},sl.max=function(n){return this.maxBy(v,n).map(_t)};var jt=function(n){function l(l,e){this.source=l,this._fn=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new zt(n,this._fn,this.source))},l}(fl),zt=function(n){function l(l,e,t){this._o=l,this._fn=e,this._s=t,this._c=0,this._t=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(this._fn){var l=M(this._fn)(n,this._c++,this._s);if(l===O)return this._o.onError(l.e);this._t+=l}else this._c++,this._t+=n},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){if(0===this._c)return this._o.onError(new F);this._o.onNext(this._t/this._c),this._o.onCompleted()},l}(cl);sl.average=function(n,l){var e;return P(n)&&(e=W(n,l,3)),new jt(this,e)},sl.sequenceEqual=function(n,l){var e=this;return l||(l=C),new Bo((function(t){var i=!1,o=!1,r=[],u=[],a=e.subscribe((function(n){if(u.length>0){var e=u.shift(),i=M(l)(e,n);if(i===O)return t.onError(i.e);i||(t.onNext(!1),t.onCompleted())}else o?(t.onNext(!1),t.onCompleted()):r.push(n)}),(function(n){t.onError(n)}),(function(){i=!0,0===r.length&&(u.length>0?(t.onNext(!1),t.onCompleted()):o&&(t.onNext(!0),t.onCompleted()))}));(Y(n)||G(n))&&(n=Ul(n)),x(n)&&(n=Sl(n));var s=n.subscribe((function(n){if(r.length>0){var e=r.shift(),o=M(l)(e,n);if(o===O)return t.onError(o.e);o||(t.onNext(!1),t.onCompleted())}else i?(t.onNext(!1),t.onCompleted()):u.push(n)}),(function(n){t.onError(n)}),(function(){o=!0,0===u.length&&(r.length>0?(t.onNext(!1),t.onCompleted()):i&&(t.onNext(!0),t.onCompleted()))}));return new Dn(a,s)}),e)};var Vt=function(n){function l(l,e,t){this.source=l,this._i=e,this._d=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Ut(n,this._i,this._d))},l}(fl),Ut=function(n){function l(l,e,t){this._o=l,this._i=e,this._d=t,n.call(this)}return mn(l,n),l.prototype.next=function(n){0==this._i--&&(this._o.onNext(n),this._o.onCompleted())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._d===i?this._o.onError(new j):(this._o.onNext(this._d),this._o.onCompleted())},l}(cl);sl.elementAt=function(n,l){if(n<0)throw new j;return new Vt(this,n,l)};var Ht=function(n){function l(l,e,t){this._o=l,this._obj=e,this._s=t,this._i=0,this._hv=!1,this._v=null,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=!1;if(this._obj.predicate){var e=M(this._obj.predicate)(n,this._i++,this._s);if(e===O)return this._o.onError(e.e);Boolean(e)&&(l=!0)}else this._obj.predicate||(l=!0);if(l){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0,this._v=n}},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===i?this._o.onError(new F):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},l}(cl);sl.single=function(n,l){var e={},t=this;if(e="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},P(e.predicate)){var i=e.predicate;e.predicate=W(i,e.thisArg,3)}return new Bo((function(n){return t.subscribe(new Ht(n,e,t))}),t)};var qt=function(n){function l(l,e){this.source=l,this._obj=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Gt(n,this._obj,this.source))},l}(fl),Gt=function(n){function l(l,e,t){this._o=l,this._obj=e,this._s=t,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(this._obj.predicate){var l=M(this._obj.predicate)(n,this._i++,this._s);if(l===O)return this._o.onError(l.e);Boolean(l)&&(this._o.onNext(n),this._o.onCompleted())}else this._obj.predicate||(this._o.onNext(n),this._o.onCompleted())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._obj.defaultValue===i?this._o.onError(new F):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},l}(cl);sl.first=function(){var n={};if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},P(n.predicate)){var l=n.predicate;n.predicate=W(l,n.thisArg,3)}return new qt(this,n)};var Yt=function(n){function l(l,e){this.source=l,this._obj=e,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Wt(n,this._obj,this.source))},l}(fl),Wt=function(n){function l(l,e,t){this._o=l,this._obj=e,this._s=t,this._i=0,this._hv=!1,this._v=null,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=!1;if(this._obj.predicate){var e=M(this._obj.predicate)(n,this._i++,this._s);if(e===O)return this._o.onError(e.e);Boolean(e)&&(l=!0)}else this._obj.predicate||(l=!0);l&&(this._hv=!0,this._v=n)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===i?this._o.onError(new F):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},l}(cl);sl.last=function(){var n={};if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},P(n.predicate)){var l=n.predicate;n.predicate=W(l,n.thisArg,3)}return new Yt(this,n)};var Qt=function(n){function l(l,e,t,i){this._o=l,this._s=e,this._cb=t,this._y=i,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=M(this._cb)(n,this._i,this._s);if(l===O)return this._o.onError(l.e);l?(this._o.onNext(this._y?this._i:n),this._o.onCompleted()):this._i++},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._y&&this._o.onNext(-1),this._o.onCompleted()},l}(cl);function Kt(n,l,e,t){var i=W(l,e,3);return new Bo((function(l){return n.subscribe(new Qt(l,n,i,t))}),n)}sl.find=function(n,l){return Kt(this,n,l,!1)},sl.findIndex=function(n,l){return Kt(this,n,l,!0)};var $t=function(n){function l(l){this.source=l,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Xt(n))},l}(fl),Xt=function(n){function l(l){this._o=l,this._s=new m.Set,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._s.add(n)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},l}(cl);sl.toSet=function(){if(void 0===m.Set)throw new TypeError;return new $t(this)};var Jt=function(n){function l(l,e,t){this.source=l,this._k=e,this._e=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Zt(n,this._k,this._e))},l}(fl),Zt=function(n){function l(l,e,t){this._o=l,this._k=e,this._e=t,this._m=new m.Map,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=M(this._k)(n);if(l===O)return this._o.onError(l.e);var e=n;if(this._e&&(e=M(this._e)(n))===O)return this._o.onError(e.e);this._m.set(l,e)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},l}(cl);sl.toMap=function(n,l){if(void 0===m.Map)throw new TypeError;return new Jt(this,n,l)};var ni=function(n){function l(l,e,t){this.source=l,this._b=e,this._e=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new li(n,this._b,this._e))},l}(fl),li=function(n){function l(l,e,t){this._o=l,this._b=e,this._e=t,this._i=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(n)),this._i++},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},l}(cl);sl.slice=function(n,l){var e=n||0;if(e<0)throw new f.ArgumentOutOfRangeError;if("number"==typeof l&&l=this._n&&n===this._e&&(this._hv=!0,this._v=this._i),this._i++},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._hv?this._o.onNext(this._v):this._o.onNext(-1),this._o.onCompleted()},l}(cl);sl.lastIndexOf=function(n,l){var e=+l||0;return Math.abs(e)===1/0&&(e=0),new ei(this,n,e)},ml.wrap=function(n){function l(){return ml.spawn.call(this,n.apply(this,arguments))}return l.__generatorFunction__=n,l};var ii=ml.spawn=function(){for(var n=arguments[0],l=this,e=[],t=1,i=arguments.length;t2){for(var t=[],i=1,o=arguments.length;i0;)n.onNext(r.shift())}return(e=this.source,t=this.pauser.startWith(!this.paused).distinctUntilChanged(),o=function(n,l){return{data:n,shouldFire:l}},new Bo((function(n){var l,i=[!1,!1],r=!1,u=!1,a=new Array(2);function s(e,t){if(a[t]=e,i[t]=!0,r||(r=i.every(v))){if(l)return n.onError(l);var s=M(o).apply(null,a);if(s===O)return n.onError(s.e);n.onNext(s)}u&&a[1]&&n.onCompleted()}return new Dn(e.subscribe((function(n){s(n,0)}),(function(e){a[1]?n.onError(e):l=e}),(function(){u=!0,a[1]&&n.onCompleted()})),t.subscribe((function(n){s(n,1)}),(function(l){n.onError(l)}),(function(){u=!0,s(!0,1)})))}),e)).subscribe((function(e){l!==i&&e.shouldFire!==l?(l=e.shouldFire,e.shouldFire&&u()):(l=e.shouldFire,e.shouldFire?n.onNext(e.data):r.push(e.data))}),(function(l){u(),n.onError(l)}),(function(){u(),n.onCompleted()}))},l.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},l.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},l}(ml);sl.pausableBuffered=function(n){return new yi(this,n)};var Ci=function(n){function l(l,e,t){n.call(this),this.subject=new wi(e,t),this.source=l.multicast(this.subject).refCount()}return mn(l,n),l.prototype._subscribe=function(n){return this.source.subscribe(n)},l.prototype.request=function(n){return this.subject.request(null==n?-1:n)},l}(ml),wi=function(n){function l(l,e){null==l&&(l=!0),n.call(this),this.subject=new Uo,this.enableQueue=l,this.queue=l?[]:null,this.requestedCount=0,this.requestedDisposable=null,this.error=null,this.hasFailed=!1,this.hasCompleted=!1,this.scheduler=e||Wn}return mn(l,n),fn(l.prototype,ul,{_subscribe:function(n){return this.subject.subscribe(n)},onCompleted:function(){this.hasCompleted=!0,this.enableQueue&&0!==this.queue.length?this.queue.push(nl.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(n){this.hasFailed=!0,this.error=n,this.enableQueue&&0!==this.queue.length?this.queue.push(nl.createOnError(n)):(this.subject.onError(n),this.disposeCurrentRequest())},onNext:function(n){this.requestedCount<=0?this.enableQueue&&this.queue.push(nl.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 l=this.queue.shift();l.accept(this.subject),"N"===l.kind?n--:(this.disposeCurrentRequest(),this.queue=[])}return n},request:function(n){this.disposeCurrentRequest();var l=this;return this.requestedDisposable=this.scheduler.schedule(n,(function(n,e){var t=l._processRequest(e);if(!(l.hasCompleted||l.hasFailed)&&t>0)return l.requestedCount=t,An((function(){l.requestedCount=0}))})),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),l}(ml);sl.controlled=function(n,l){return n&&zn(n)&&(l=n,n=!0),null==n&&(n=!0),new Ci(this,n,l)};var _i=function(n){function l(l){n.call(this),this.source=l}function e(n,l){return l.source.request(1)}mn(l,n),l.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new t(n,this,this.subscription)),new Dn(this.subscription,Jn.schedule(this,e))};var t=function(n){function l(l,e,t){n.call(this),this.observer=l,this.observable=e,this.cancel=t,this.scheduleDisposable=null}function e(n,l){return l.observable.source.request(1)}return mn(l,n),l.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},l.prototype.error=function(n){this.observer.onError(n),this.dispose()},l.prototype.next=function(n){this.observer.onNext(n),this.scheduleDisposable=Jn.schedule(this,e)},l.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)},l}(cl);return l}(ml);Ci.prototype.stopAndWait=function(){return new _i(this)};var xi=function(n){function l(l,e){n.call(this),this.source=l,this.windowSize=e}function e(n,l){return l.source.request(l.windowSize)}mn(l,n),l.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new t(n,this,this.subscription)),new Dn(this.subscription,Jn.schedule(this,e))};var t=function(n){function l(l,e,t){this.observer=l,this.observable=e,this.cancel=t,this.received=0,this.scheduleDisposable=null,n.call(this)}function e(n,l){return l.observable.source.request(l.observable.windowSize)}return mn(l,n),l.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},l.prototype.error=function(n){this.observer.onError(n),this.dispose()},l.prototype.next=function(n){this.observer.onNext(n),this.received=++this.received%this.observable.windowSize,0===this.received&&(this.scheduleDisposable=Jn.schedule(this,e))},l.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)},l}(cl);return l}(ml);Ci.prototype.windowed=function(n){return new xi(this,n)},sl.pipe=function(n){var l=this.pausableBuffered();function e(){l.resume()}return n.addListener("drain",e),l.subscribe((function(e){!n.write(e)&&l.pause()}),(function(l){n.emit("error",l)}),(function(){!n._isStdio&&n.end(),n.removeListener("drain",e)})),l.resume(),n};var Pi=function(n){function l(l,e,t){this.source=l,this._fn1=e,this._fn2=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){var l=this.source.multicast(this._fn1());return new Dn(this._fn2(l).subscribe(n),l.connect())},l}(fl);sl.multicast=function(n,l){return P(n)?new Pi(this,n,l):new Mi(this,n)},sl.publish=function(n){return n&&P(n)?this.multicast((function(){return new Uo}),n):this.multicast(new Uo)},sl.share=function(){return this.publish().refCount()},sl.publishLast=function(n){return n&&P(n)?this.multicast((function(){return new Ho}),n):this.multicast(new Ho)},sl.publishValue=function(n,l){return 2===arguments.length?this.multicast((function(){return new qo(l)}),n):this.multicast(new qo(n))},sl.shareValue=function(n){return this.publishValue(n).refCount()},sl.replay=function(n,l,e,t){return n&&P(n)?this.multicast((function(){return new Go(l,e,t)}),n):this.multicast(new Go(l,e,t))},sl.shareReplay=function(n,l,e){return this.replay(null,n,l,e).refCount()};var Ai=function(n,l){this._s=n,this._o=l};Ai.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 Oi=function(n){function l(l){this.source=l,this._count=0,this._connectableSubscription=null,n.call(this)}function e(n,l){this._p=n,this._s=l,this.isDisposed=!1}return mn(l,n),l.prototype.subscribeCore=function(n){var l=this.source.subscribe(n);return 1==++this._count&&(this._connectableSubscription=this.source.connect()),new e(this,l)},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),0==--this._p._count&&this._p._connectableSubscription.dispose())},l}(fl),Mi=f.ConnectableObservable=function(n){function l(l,e){this.source=l,this._connection=null,this._source=l.asObservable(),this._subject=e,n.call(this)}function e(n,l){this._p=n,this._s=l}return mn(l,n),e.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},l.prototype.connect=function(){if(!this._connection){if(this._subject.isStopped)return On;var n=this._source.subscribe(this._subject);this._connection=new e(this,n)}return this._connection},l.prototype._subscribe=function(n){return this._subject.subscribe(n)},l.prototype.refCount=function(){return new Oi(this)},l}(ml);function ze(n){return n.toArray()}function ki(n,l){return n.groupJoin(this,l,Nl,(function(n,l){return l}))}function Si(n){var l=this;return new Bo((function(e){var t=new Uo,i=new _n,o=new Rn(i);return e.onNext(bn(t,o)),i.add(l.subscribe((function(n){t.onNext(n)}),(function(n){t.onError(n),e.onError(n)}),(function(){t.onCompleted(),e.onCompleted()}))),x(n)&&(n=Sl(n)),i.add(n.subscribe((function(n){t.onCompleted(),t=new Uo,e.onNext(bn(t,o))}),(function(n){t.onError(n),e.onError(n)}),(function(){t.onCompleted(),e.onCompleted()}))),o}),l)}function Ii(n){var l=this;return new Bo((function(e){var t=new Tn,i=new _n(t),o=new Rn(i),r=new Uo;return e.onNext(bn(r,o)),i.add(l.subscribe((function(n){r.onNext(n)}),(function(n){r.onError(n),e.onError(n)}),(function(){r.onCompleted(),e.onCompleted()}))),function l(){var i;try{i=n()}catch(a){return void e.onError(a)}x(i)&&(i=Sl(i));var u=new In;t.setDisposable(u),u.setDisposable(i.take(1).subscribe(b,(function(n){r.onError(n),e.onError(n)}),(function(){r.onCompleted(),r=new Uo,e.onNext(bn(r,o)),l()})))}(),o}),l)}sl.singleInstance=function(){var n,l=this,e=!1;return new Bo((function(t){return(e||(e=!0,n=l.finally((function(){e=!1})).publish().refCount()),n).subscribe(t)}))},sl.join=function(n,l,e,t){var i=this;return new Bo((function(o){var r=new _n,u=!1,a=!1,s=0,c=0,d=new zi,p=new zi,g=function(n){o.onError(n)};return r.add(i.subscribe((function(n){var e=s++,i=new In;d.set(e,n),r.add(i);var a=M(l)(n);if(a===O)return o.onError(a.e);i.setDisposable(a.take(1).subscribe(b,g,(function(){d.delete(e)&&0===d.size&&u&&o.onCompleted(),r.remove(i)}))),p.forEach((function(l){var e=M(t)(n,l);if(e===O)return o.onError(e.e);o.onNext(e)}))}),g,(function(){u=!0,(a||0===d.size)&&o.onCompleted()}))),r.add(n.subscribe((function(n){var l=c++,i=new In;p.set(l,n),r.add(i);var u=M(e)(n);if(u===O)return o.onError(u.e);i.setDisposable(u.take(1).subscribe(b,g,(function(){p.delete(l)&&0===p.size&&a&&o.onCompleted(),r.remove(i)}))),d.forEach((function(l){var e=M(t)(l,n);if(e===O)return o.onError(e.e);o.onNext(e)}))}),g,(function(){a=!0,(u||0===p.size)&&o.onCompleted()}))),r}),i)},sl.groupJoin=function(n,l,e,t){var i=this;return new Bo((function(o){var r=new _n,u=new Rn(r),a=new zi,s=new zi,c=0,d=0,p=function(n){return function(l){l.onError(n)}};function p(n){}return r.add(i.subscribe((function(n){var e=new Uo,i=c++;a.set(i,e);var d=M(t)(n,bn(e,u));if(d===O)return a.forEach(p(d.e)),o.onError(d.e);o.onNext(d),s.forEach((function(n){e.onNext(n)}));var g=new In;r.add(g);var h=M(l)(n);if(h===O)return a.forEach(p(h.e)),o.onError(h.e);g.setDisposable(h.take(1).subscribe(b,(function(n){a.forEach(p(n)),o.onError(n)}),(function(){a.delete(i)&&e.onCompleted(),r.remove(g)})))}),(function(n){a.forEach(p(n)),o.onError(n)}),(function(){o.onCompleted()}))),r.add(n.subscribe((function(n){var l=d++;s.set(l,n);var t=new In;r.add(t);var i=M(e)(n);if(i===O)return a.forEach(p(i.e)),o.onError(i.e);t.setDisposable(i.take(1).subscribe(b,(function(n){a.forEach(p(n)),o.onError(n)}),(function(){s.delete(l),r.remove(t)}))),a.forEach((function(l){l.onNext(n)}))}),(function(n){a.forEach(p(n)),o.onError(n)}))),u}),i)},sl.buffer=function(){return this.window.apply(this,arguments).flatMap(ze)},sl.window=function(n,l){return 1===arguments.length&&"function"!=typeof arguments[0]?Si.call(this,n):"function"==typeof n?Ii.call(this,n):ki.call(this,n,l)};var Ti=function(n){function l(l){this.source=l,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new Di(n))},l}(fl),Di=function(n){function l(l){this._o=l,this._p=null,this._hp=!1,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._hp?this._o.onNext([this._p,n]):this._hp=!0,this._p=n},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},l}(cl);sl.pairwise=function(){return new Ti(this)},sl.partition=function(n,l){var e=W(n,l,3);return[this.filter(n,l),this.filter((function(n,l,t){return!e(n,l,t)}))]};var Ei=function(n){function l(n,l){this.c=n,this.s=l}return mn(l,n),l.prototype[H]=function(){var n=this;return{next:function(){return n.c()?{done:!1,value:n.s}:{done:!0,value:void 0}}}},l}(vl);sl.letBind=sl.let=function(n){return n(this)},ml.if=function(n,l,e){return Dl((function(){return e||(e=Nl()),x(l)&&(l=Sl(l)),x(e)&&(e=Sl(e)),"function"==typeof e.now&&(e=Nl(e)),n()?l:e}))},ml.for=ml.forIn=function(n,l,e){return Al(n,l,e).concat()};var Ri=ml.while=ml.whileDo=function(n,l){return x(l)&&(l=Sl(l)),function(n,l){return new Ei(n,l)}(n,l).concat()};sl.doWhile=function(n){return he([this,Ri(n,this)])},ml.case=function(n,l,e){return Dl((function(){x(e)&&(e=Sl(e)),e||(e=Nl()),zn(e)&&(e=Nl(e));var t=l[n()];return x(t)&&(t=Sl(t)),t||e}))};var Ni=function(n){function l(l,e,t){this.source=l,this._fn=e,this._scheduler=t,n.call(this)}function e(n,l){var e,t=n[0],i=n[1];if(t.q.length>0){e=t.q.shift();var o=new In;t.d.add(o),o.setDisposable(e.subscribe(new Li(t,i,o))),l([t,i])}else t.isAcquired=!1}return mn(l,n),l.prototype._ensureActive=function(n){var l=!1;n.q.length>0&&(l=!n.isAcquired,n.isAcquired=!0),l&&n.m.setDisposable(this._scheduler.scheduleRecursive([n,this],e))},l.prototype.subscribeCore=function(n){var l=new Tn,e=new _n(l),t={q:[],m:l,d:e,activeCount:0,isAcquired:!1,o:n};return t.q.push(this.source),t.activeCount++,this._ensureActive(t),e},l}(fl),Li=function(n){function l(l,e,t){this._s=l,this._p=e,this._m1=t,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._s.o.onNext(n);var l=M(this._p._fn)(n);if(l===O)return this._s.o.onError(l.e);this._s.q.push(l),this._s.activeCount++,this._p._ensureActive(this._s)},l.prototype.error=function(n){this._s.o.onError(n)},l.prototype.completed=function(){this._s.d.remove(this._m1),this._s.activeCount--,0===this._s.activeCount&&this._s.o.onCompleted()},l}(cl);function ae(){for(var n=arguments.length,l=new Array(n),e=0;e0){var r=e.now();(i=new Date(i.getTime()+o)).getTime()<=r&&(i=new Date(r+o))}t.onNext(n),l(n+1,new Date(i))}))}))}function Qi(n,l,e){return n===l?new Bo((function(n){return e.schedulePeriodic(0,l,(function(l){return n.onNext(l),l+1}))})):Dl((function(){return Wi(new Date(e.now()+n),l,e)}))}var Ki=ml.interval=function(n,l){return Qi(n,n,zn(l)?l:Jn)};ml.timer=function(n,l,e){var t;return zn(e)||(e=Jn),null!=l&&"number"==typeof l?t=l:zn(l)&&(e=l),(n instanceof Date||"number"==typeof n)&&t===i?function(n,l){return new Yi(n,l)}(n,e):n instanceof Date&&t!==i?Wi(n,l,e):Qi(n,t,e)};function $i(n,l,e){return new Bo((function(t){var i,o=!1,r=new Tn,u=null,a=[],s=!1;return i=n.materialize().timestamp(e).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+l}),c=!o,o=!0),c&&(null!==u?t.onError(u):(i=new In,r.setDisposable(i),i.setDisposable(e.scheduleRecursiveFuture(null,l,(function(n,l){var i,r,c,d;if(null===u){s=!0;do{c=null,a.length>0&&a[0].timestamp-e.now()<=0&&(c=a.shift().value),null!==c&&c.accept(t)}while(null!==c);d=!1,r=0,a.length>0?(d=!0,r=Math.max(0,a[0].timestamp-e.now())):o=!1,s=!1,null!==(i=u)?t.onError(i):d&&l(null,r)}})))))})),new Dn(i,r)}),n)}function Xi(n,l,e){return Dl((function(){return $i(n,l-e.now(),e)}))}function Ji(n,l,e){var t,i;return P(l)?i=l:(t=l,i=e),new Bo((function(l){var e=new _n,o=!1,r=new Tn;function u(){r.setDisposable(n.subscribe((function(n){var t=M(i)(n);if(t===O)return l.onError(t.e);var o=new In;e.add(o),o.setDisposable(t.subscribe((function(){l.onNext(n),e.remove(o),a()}),(function(n){l.onError(n)}),(function(){l.onNext(n),e.remove(o),a()})))}),(function(n){l.onError(n)}),(function(){o=!0,r.dispose(),a()})))}function a(){o&&0===e.length&&l.onCompleted()}return t?r.setDisposable(t.subscribe(u,(function(n){l.onError(n)}),u)):u(),new Dn(r,e)}),n)}sl.delay=function(){var n=arguments[0];if("number"==typeof n||n instanceof Date){var l=n,e=arguments[1];return zn(e)||(e=Jn),l instanceof Date?Xi(this,l,e):$i(this,l,e)}if(ml.isObservable(n)||P(n))return Ji(this,n,arguments[1]);throw new Error("Invalid arguments")};var Zi=function(n){function l(l,e,t){zn(t)||(t=Jn),this.source=l,this._dt=e,this._s=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){var l=new Tn;return new Dn(this.source.subscribe(new no(n,this._dt,this._s,l)),l)},l}(fl),no=function(n){function l(l,e,t,i){this._o=l,this._d=e,this._scheduler=t,this._c=i,this._v=null,this._hv=!1,this._id=0,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._hv=!0,this._v=n;var l=++this._id,e=new In;this._c.setDisposable(e),e.setDisposable(this._scheduler.scheduleFuture(this,this._d,(function(e,t){t._hv&&t._id===l&&t._o.onNext(n),t._hv=!1})))},l.prototype.error=function(n){this._c.dispose(),this._o.onError(n),this._hv=!1,this._id++},l.prototype.completed=function(){this._c.dispose(),this._hv&&this._o.onNext(this._v),this._o.onCompleted(),this._hv=!1,this._id++},l}(cl);function lo(n,l){return new Bo((function(e){var t,i=!1,o=new Tn,r=0,u=n.subscribe((function(n){var u=M(l)(n);if(u===O)return e.onError(u.e);x(u)&&(u=Sl(u)),i=!0,t=n;var a=++r,s=new In;o.setDisposable(s),s.setDisposable(u.subscribe((function(){i&&r===a&&e.onNext(t),i=!1,s.dispose()}),(function(n){e.onError(n)}),(function(){i&&r===a&&e.onNext(t),i=!1,s.dispose()})))}),(function(n){o.dispose(),e.onError(n),i=!1,r++}),(function(){o.dispose(),i&&e.onNext(t),e.onCompleted(),i=!1,r++}));return new Dn(u,o)}),n)}function ze(n){return n.toArray()}function ze(n){return n.toArray()}sl.debounce=function(){if(P(arguments[0]))return lo(this,arguments[0]);if("number"==typeof arguments[0])return new Zi(this,arguments[0],arguments[1]);throw new Error("Invalid arguments")},sl.windowWithTime=sl.windowTime=function(n,l,e){var t,i=this;return null==l&&(t=n),zn(e)||(e=Jn),"number"==typeof l?t=l:zn(l)&&(t=n,e=l),new Bo((function(l){var o,r,u=t,a=n,s=[],c=new Tn,d=0;return o=new _n(c),r=new Rn(o),s.push(new Uo),l.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&&l-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},l.prototype.error=function(n){this._o.onError(n)},l.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()},l}(cl);sl.skipLastWithTime=function(n,l){return zn(l)||(l=Jn),new fo(this,n,l)};var vo=function(n){function l(l,e,t){this.source=l,this._d=e,this._s=t,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){return this.source.subscribe(new yo(n,this._d,this._s))},l}(fl),yo=function(n){function l(l,e,t){this._o=l,this._d=e,this._s=t,this._q=[],n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=this._s.now();for(this._q.push({interval:l,value:n});this._q.length>0&&l-this._q[0].interval>=this._d;)this._q.shift()},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){for(var n=this._s.now();this._q.length>0;){var l=this._q.shift();n-l.interval<=this._d&&this._o.onNext(l.value)}this._o.onCompleted()},l}(cl);sl.takeLastWithTime=function(n,l){return zn(l)||(l=Jn),new vo(this,n,l)},sl.takeLastBufferWithTime=function(n,l){var e=this;return zn(l)||(l=Jn),new Bo((function(t){var i=[];return e.subscribe((function(e){var t=l.now();for(i.push({interval:t,value:e});i.length>0&&t-i[0].interval>=n;)i.shift()}),(function(n){t.onError(n)}),(function(){for(var e=l.now(),o=[];i.length>0;){var r=i.shift();e-r.interval<=n&&o.push(r.value)}t.onNext(o),t.onCompleted()}))}),e)};var Co=function(n){function l(l,e,t){this.source=l,this._d=e,this._s=t,n.call(this)}function e(n,l){l.onCompleted()}return mn(l,n),l.prototype.subscribeCore=function(n){return new Dn(this._s.scheduleFuture(n,this._d,e),this.source.subscribe(n))},l}(fl);sl.takeWithTime=function(n,l){return zn(l)||(l=Jn),new Co(this,n,l)};var wo=function(n){function l(l,e,t){this.source=l,this._d=e,this._s=t,this._open=!1,n.call(this)}function e(n,l){l._open=!0}return mn(l,n),l.prototype.subscribeCore=function(n){return new Dn(this._s.scheduleFuture(this,this._d,e),this.source.subscribe(new _o(n,this)))},l}(fl),_o=function(n){function l(l,e){this._o=l,this._p=e,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._p._open&&this._o.onNext(n)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},l}(cl);sl.skipWithTime=function(n,l){return zn(l)||(l=Jn),new wo(this,n,l)};var xo=function(n){function l(l,e,t){this.source=l,this._st=e,this._s=t,n.call(this)}function e(n,l){l._open=!0}return mn(l,n),l.prototype.subscribeCore=function(n){return this._open=!1,new Dn(this._s.scheduleFuture(this,this._st,e),this.source.subscribe(new Po(n,this)))},l}(fl),Po=function(n){function l(l,e){this._o=l,this._p=e,n.call(this)}return mn(l,n),l.prototype.next=function(n){this._p._open&&this._o.onNext(n)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},l}(cl);sl.skipUntilWithTime=function(n,l){return zn(l)||(l=Jn),new xo(this,n,l)},sl.takeUntilWithTime=function(n,l){zn(l)||(l=Jn);var e=this;return new Bo((function(t){return new Dn(l.scheduleFuture(t,n,(function(n,l){l.onCompleted()})),e.subscribe(t))}),e)},sl.throttle=function(n,l){zn(l)||(l=Jn);var e=+n||0;if(e<=0)throw new RangeError("windowDuration cannot be less or equal zero.");var t=this;return new Bo((function(n){var i=0;return t.subscribe((function(t){var o=l.now();(0===i||o-i>=e)&&(i=o,n.onNext(t))}),(function(l){n.onError(l)}),(function(){n.onCompleted()}))}),t)};var Ao=function(n){function l(l,e){this._o=l,this._xform=e,n.call(this)}return mn(l,n),l.prototype.next=function(n){var l=M(this._xform["@@transducer/step"]).call(this._xform,this._o,n);l===O&&this._o.onError(l.e)},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},l}(cl);sl.transduce=function(n){var l=this;return new Bo((function(e){var t=n(function(n){return{"@@transducer/init":function(){return n},"@@transducer/step":function(n,l){return n.onNext(l)},"@@transducer/result":function(n){return n.onCompleted()}}}(e));return l.subscribe(new Ao(e,t))}),l)};var Oo=function(n){function l(l){this.source=l,n.call(this)}return mn(l,n),l.prototype.subscribeCore=function(n){var l=new In,e=new _n,t={hasCurrent:!1,isStopped:!1,o:n,g:e};return e.add(l),l.setDisposable(this.source.subscribe(new Mo(t))),e},l}(fl),Mo=function(n){function l(l){this._s=l,n.call(this)}function e(l,e){this._s=l,this._i=e,n.call(this)}return mn(l,n),l.prototype.next=function(n){if(!this._s.hasCurrent){this._s.hasCurrent=!0,x(n)&&(n=Sl(n));var l=new In;this._s.g.add(l),l.setDisposable(n.subscribe(new e(this._s,l)))}},l.prototype.error=function(n){this._s.o.onError(n)},l.prototype.completed=function(){this._s.isStopped=!0,!this._s.hasCurrent&&1===this._s.g.length&&this._s.o.onCompleted()},mn(e,n),e.prototype.next=function(n){this._s.o.onNext(n)},e.prototype.error=function(n){this._s.o.onError(n)},e.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()},l}(cl);sl.switchFirst=function(){return new Oo(this)},sl.flatMapFirst=sl.exhaustMap=function(n,l,e){return new bl(this,n,l,e).switchFirst()},sl.flatMapWithMaxConcurrent=sl.flatMapMaxConcurrent=function(n,l,e,t){return new bl(this,l,e,t).merge(n)};var ko=f.VirtualTimeScheduler=function(n){function l(l,e){this.clock=l,this.comparer=e,this.isEnabled=!1,this.queue=new Cn(1024),n.call(this)}mn(l,n);var e=l.prototype;return e.now=function(){return this.toAbsoluteTime(this.clock)},e.schedule=function(n,l){return this.scheduleAbsolute(n,this.clock,l)},e.scheduleFuture=function(n,l,e){var t=l instanceof Date?this.toRelativeTime(l-this.now()):this.toRelativeTime(l);return this.scheduleRelative(n,t,e)},e.add=U,e.toAbsoluteTime=U,e.toRelativeTime=U,e.schedulePeriodic=function(n,l,e){return new Hn(this,n,l,e).start()},e.scheduleRelative=function(n,l,e){var t=this.add(this.clock,l);return this.scheduleAbsolute(n,t,e)},e.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)}},e.stop=function(){this.isEnabled=!1},e.advanceTo=function(n){var l=this.comparer(this.clock,n);if(this.comparer(this.clock,n)>0)throw new j;if(0!==l&&!this.isEnabled){this.isEnabled=!0;do{var e=this.getNext();null!==e&&this.comparer(e.dueTime,n)<=0?(this.comparer(e.dueTime,this.clock)>0&&(this.clock=e.dueTime),e.invoke()):this.isEnabled=!1}while(this.isEnabled);this.clock=n}},e.advanceBy=function(n){var l=this.add(this.clock,n),e=this.comparer(this.clock,l);if(e>0)throw new j;0!==e&&this.advanceTo(l)},e.sleep=function(n){var l=this.add(this.clock,n);if(this.comparer(this.clock,l)>=0)throw new j;this.clock=l},e.getNext=function(){for(;this.queue.length>0;){var n=this.queue.peek();if(!n.isCancelled())return n;this.queue.dequeue()}return null},e.scheduleAbsolute=function(n,l,e){var t=this;var i=new Fn(this,n,(function(n,l){return t.queue.remove(i),e(n,l)}),l,this.comparer);return this.queue.enqueue(i),i.disposable},l}(Bn);function So(n){this.predicate=n}function Io(n){this.predicate=n}f.HistoricalScheduler=function(n){function l(l,e){var t=null==l?0:l,i=e||w;n.call(this,t,i)}mn(l,n);var e=l.prototype;return e.add=function(n,l){return n+l},e.toAbsoluteTime=function(n){return new Date(n).getTime()},e.toRelativeTime=function(n){return n},l}(f.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=f.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(n,l){return new Do(n,"function"==typeof l?new So(l):nl.createOnNext(l))},onError:function(n,l){return new Do(n,"function"==typeof l?new Io(l):nl.createOnError(l))},onCompleted:function(n){return new Do(n,nl.createOnCompleted())},subscribe:function(n,l){return new Eo(n,l)}},Do=f.Recorded=function(n,l,e){this.time=n,this.value=l,this.comparer=e||C};Do.prototype.equals=function(n){return this.time===n.time&&this.comparer(this.value,n.value)},Do.prototype.toString=function(){return this.value.toString()+"@"+this.time};var Eo=f.Subscription=function(n,l){this.subscribe=n,this.unsubscribe=l||Number.MAX_VALUE};Eo.prototype.equals=function(n){return this.subscribe===n.subscribe&&this.unsubscribe===n.unsubscribe},Eo.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"},(f.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 l(l){n.call(this),this.scheduler=l,this.messages=[]}mn(l,n);var e=l.prototype;return e.onNext=function(n){this.messages.push(new Do(this.scheduler.clock,nl.createOnNext(n)))},e.onError=function(n){this.messages.push(new Do(this.scheduler.clock,nl.createOnError(n)))},e.onCompleted=function(){this.messages.push(new Do(this.scheduler.clock,nl.createOnCompleted()))},l}(ul);function No(n,l){var e=this;this.scheduler=n,this.messages=l,this.subscriptions=[],this.observers=[];for(var t=0,i=this.messages.length;tl?1:n0},onCompleted:function(){if(kn(this),!this.isStopped){this.isStopped=!0;for(var n=0,l=A(this.observers),e=l.length;n0},onCompleted:function(){var n;if(kn(this),!this.isStopped){this.isStopped=!0;var l=A(this.observers),e=l.length;if(this.hasValue)for(n=0;n0},onCompleted:function(){if(kn(this),!this.isStopped){this.isStopped=!0;for(var n=0,l=A(this.observers),e=l.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(kn(this),!this.isStopped){var l=this.scheduler.now();this.q.push({interval:l,value:n}),this._trim(l);for(var e=0,t=A(this.observers),i=t.length;e\n
\n \n
\n '+(null==(l=n.form)?"":l)+"\n
\n
\n\n"}},"9FkI":function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";var t=e("wE6v"),i=TypeError;n.exports=function(n){var l=t(n,"number");if("number"==typeof l)throw new i("Can't convert number to bigint");return BigInt(l)}},"9N29":function(n,l,e){"use strict";var t=e("I+eb"),i=e("1Y/n").right,o=e("pkCn"),r=e("LQDL");t({target:"Array",proto:!0,forced:!e("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,l,e){var t=e("/9aa");n.exports=function(n){if("string"==typeof n||t(n))return n;var l=n+"";return"0"==l&&1/n==-1/0?"-0":l}},"9OqN":function(n,l,e){var t,i,o;n.exports=(o=e("Ib8C"),e("OLod"),o.mode.CTR=(t=o.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(n,l){var e=this._cipher,t=e.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var r=o.slice(0);e.encryptBlock(r,0),o[t-1]=o[t-1]+1|0;for(var u=0;u>>0}},"9n4b":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n ',n.label.hidden||(e+='\n
\n '+(null==(l=n.labelMarkup)?"":l)+"\n
\n "),e+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(e+='\n
\n \n
\n '),e+='\n\n
\n '+(null==(l=n.element)?"":l)+"\n
\n
\n\n",n.component.description&&(e+='\n
'+(null==(l=n.t(n.component.description,{_userInput:!0}))?"":l)+"
\n"),e+="\n"}},"9oFN":function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("PNrC");l.default={form:t.default}},"9rRi":function(n,l,e){!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}})}(e("wd/R"))},"9sl3":function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
\n
\n \n ',n.header&&(e+='\n \n '+(null==(l=n.header)?"":l)+"\n \n "),e+='\n \n ',n.rows.forEach((function(t,i){e+='\n \n '+(null==(l=t)?"":l)+"\n ",n.openRows[i]&&!n.readOnly&&(e+='\n \n "),e+="\n ",n.errors[i]&&(e+='\n \n "),e+="\n \n "})),e+="\n \n ",n.footer&&(e+="\n \n \n "+(null==(l=n.footer)?"":l)+"\n \n \n "),e+="\n
\n
\n \n ",n.component.removeRow&&(e+='\n \n "),e+="\n
\n
\n
\n
\n '+(null==(l=n.errors[i])?"":l)+"\n
\n
\n
\n
\n
\n",!n.readOnly&&n.hasAddButton&&(e+='\n\n"),e+="\n"}},"A+qq":function(n,l,e){"use strict";e("eoL8"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("ENF9"),e("5DmW"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("zKZe"),e("ma9I"),e("QWBl"),e("07d7"),e("FZtP"),e("Rfxz"),e("J30X"),e("DQNa"),e("JfAA"),e("oVuX"),e("2B1R"),e("TWNs"),e("rB9j"),e("yXV3"),e("UxlC"),e("yq1k"),e("JTJg"),e("+2oP"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV");var t=d(e("0iw5")),i=e("1eKU"),o=function(n,l){if(!l&&n&&n.__esModule)return n;if(null===n||"object"!==p(n)&&"function"!=typeof n)return{default:n};var e=c(l);if(e&&e.has(n))return e.get(n);var t={},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(t,o,r):t[o]=n[o]}t.default=n,e&&e.set(n,t);return t}(e("5P0i")),r=d(e("XzT5")),u=d(e("LvDl")),a=d(e("wd/R")),s=d(e("uIYt"));function c(n){if("function"!=typeof WeakMap)return null;var l=new WeakMap,e=new WeakMap;return(c=function(n){return n?e:l})(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 g(n,l){for(var e=0;e3&&void 0!==arguments[3]&&arguments[3];if(this.events){var i="".concat(this.options.namespace,".").concat(n);return l.id=this.id,l.key=this.key,l.internal=e,this.events[t?"once":"on"](i,l)}}},{key:"once",value:function(n,l,e){return this.on(n,l,e,!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,l){var e=this;if(this.events){var t="".concat(this.options.namespace,".").concat(n);this.events.listeners(t).forEach((function(n){n&&n.id===e.id&&(l&&l!==n||e.events.off(t,n))}))}}},{key:"emit",value:function(n){if(this.events){for(var l,e=arguments.length,t=new Array(e>1?e-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:null,i=[];if(n)return this.eventHandlers.forEach((function(o,r){o.id!==e.id||!n.removeEventListener||o.type!==l||t&&o.func!==t||(n.removeEventListener(l,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(l){n.id===l.id&&l.type&&l.obj&&l.obj.removeEventListener&&l.obj.removeEventListener(l.type,l.func)})),this.eventHandlers=[]}},{key:"removeAllEvents",value:function(n){var l=this;u.default.each(this.events._events,(function(e,t){u.default.each(e,(function(e){e&&l.id===e.id&&(n||e.internal)&&l.events.off(t,e)}))}))}},{key:"destroy",value:function(){this.removeEventListeners(),this.removeAllEvents()}},{key:"appendTo",value:function(n,l){return null==l||l.appendChild(n),this}},{key:"prependTo",value:function(n,l){if(l)if(l.firstChild)try{l.insertBefore(n,l.firstChild)}catch(e){console.warn(e),l.appendChild(n)}else l.appendChild(n);return this}},{key:"removeChildFrom",value:function(n,l){if(l&&l.contains(n))try{l.removeChild(n)}catch(e){console.warn(e)}return this}},{key:"ce",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=document.createElement(n);return l&&this.attr(t,l),this.appendChild(t,e),t}},{key:"appendChild",value:function(n,l){var e=this;return Array.isArray(l)?l.forEach((function(l){return e.appendChild(n,l)})):l instanceof HTMLElement||l instanceof Text?n.appendChild(l):l&&n.appendChild(this.text(l.toString())),this}},{key:"maskPlaceholder",value:function(n){var l=this;return n.map((function(n){return n instanceof RegExp?l.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,l,e){if(n&&l){var t=o.getInputMask(l,this.placeholderChar);this.defaultMask=t;try{n.mask&&n.mask.destroy(),n.mask=(0,s.default)({inputElement:n,mask:t,placeholderChar:this.placeholderChar,shadowRoot:this.root?this.root.shadowRoot:null})}catch(i){console.warn(i)}t.numeric&&n.setAttribute("pattern","\\d*"),e&&n.setAttribute("placeholder",this.maskPlaceholder(t))}}},{key:"t",value:function(n){for(var l,e=arguments.length,t=new Array(e>1?e-1:0),i=1;i-1)}},{key:"addClass",value:function(n,l){if(!(n&&n instanceof HTMLElement))return this;var e=n.getAttribute("class");return null!=e&&e.includes(l)||n.setAttribute("class","".concat(e," ").concat(l)),this}},{key:"removeClass",value:function(n,l){if(!(n&&l&&n instanceof HTMLElement))return this;var e=n.getAttribute("class");return e&&(e=e.replace(new RegExp(" ".concat(l),"g"),""),n.setAttribute("class",e)),this}},{key:"empty",value:function(n){if(n)for(;n.firstChild;)n.removeChild(n.firstChild)}},{key:"evalContext",value:function(n){var l;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!==(l=this.options)&&void 0!==l&&l.formConfig?this.options.formConfig:{}},n,u.default.get(this.root,"options.evalContext",{}))}},{key:"interpolate",value:function(n,l){var e=this,t=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 e.t(n)}))),o.interpolate(n,this.evalContext(l),t)}},{key:"evaluate",value:function(n,l,e,t){return o.evaluate(n,this.evalContext(l),e,t)}},{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 l="function"==typeof arguments[arguments.length-1]?arguments[arguments.length-1]:null;return l?l(null,arguments[1]):arguments[1]}}])&&g(l.prototype,e),c&&g(l,c),Object.defineProperty(l,"prototype",{writable:!1}),n}();l.default=h},"A+xa":function(n,l,e){!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}})}(e("wd/R"))},A0fv:function(n,l,e){"use strict";e.r(l),e.d(l,"default",(function(){return y}));var t=/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,g=/BlackBerry/i,h=/BB10/i,m=/Opera Mini/i,f=/\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 l={userAgent:"",platform:"",maxTouchPoints:0};n||"undefined"==typeof navigator?"string"==typeof n?l.userAgent=n:n&&n.userAgent&&(l={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0}):l={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var e=l.userAgent,y=e.split("[FBAN");void 0!==y[1]&&(e=y[0]),void 0!==(y=e.split("Twitter"))[1]&&(e=y[0]);var C=function(n){return function(l){return l.test(n)}}(e),w={apple:{phone:C(t)&&!C(d),ipod:C(i),tablet:!C(t)&&(C(o)||v(l))&&!C(d),universal:C(r),device:(C(t)||C(i)||C(o)||C(r)||v(l))&&!C(d)},amazon:{phone:C(s),tablet:!C(s)&&C(c),device:C(s)||C(c)},android:{phone:!C(d)&&C(s)||!C(d)&&C(u),tablet:!C(d)&&!C(s)&&!C(u)&&(C(c)||C(a)),device:!C(d)&&(C(s)||C(c)||C(u)||C(a))||C(/\bokhttp\b/i)},windows:{phone:C(d),tablet:C(p),device:C(d)||C(p)},other:{blackberry:C(g),blackberry10:C(h),opera:C(m),firefox:C(b),chrome:C(f),device:C(g)||C(h)||C(m)||C(b)||C(f)},any:!1,phone:!1,tablet:!1};return w.any=w.apple.device||w.android.device||w.windows.device||w.other.device,w.phone=w.apple.phone||w.android.phone||w.windows.phone,w.tablet=w.apple.tablet||w.android.tablet||w.windows.tablet,w}},A2ZE:function(n,l,e){"use strict";var t=e("RiVN"),i=e("We1y"),o=e("QNWe"),r=t(t.bind);n.exports=function(n,l){return i(n),void 0===l?n:o?r(n,l):function(){return n.apply(l,arguments)}}},A90E:function(n,l,e){var t=e("6sVZ"),i=e("V6Ve"),o=Object.prototype.hasOwnProperty;n.exports=function(n){if(!t(n))return i(n);var l=[];for(var e in Object(n))o.call(n,e)&&"constructor"!=e&&l.push(e);return l}},AE40:function(n,l,e){var t=e("dunj"),i=e("jSBL"),o=e("zZ0H");n.exports=function(n){return n&&n.length?t(n,o,i):void 0}},AI7K:function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("ZQMv"))&&t.__esModule?t:{default:t}).default};l.default=i},AJTl:function(n,l,e){"use strict";var t,i=e("uy83"),o=e("2oRo"),r=e("4zBA"),u=e("aWRN"),a=e("8YOa"),s=e("bWFh"),c=e("rKzb"),d=e("hh1v"),p=e("afO8").enforce,g=e("0Dky"),h=e("zc4i"),m=Object,f=Array.isArray,b=m.isExtensible,v=m.isFrozen,y=m.isSealed,C=m.freeze,w=m.seal,_=!o.ActiveXObject&&"ActiveXObject"in o,x=function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},P=s("WeakMap",x,c),A=P.prototype,O=r(A.set);if(h)if(_){t=c.getConstructor(x,"WeakMap",!0),a.enable();var M=r(A.delete),k=r(A.has),S=r(A.get);u(A,{delete:function(n){if(d(n)&&!b(n)){var l=p(this);return l.frozen||(l.frozen=new t),M(this,n)||l.frozen.delete(n)}return M(this,n)},has:function(n){if(d(n)&&!b(n)){var l=p(this);return l.frozen||(l.frozen=new t),k(this,n)||l.frozen.has(n)}return k(this,n)},get:function(n){if(d(n)&&!b(n)){var l=p(this);return l.frozen||(l.frozen=new t),k(this,n)?S(this,n):l.frozen.get(n)}return S(this,n)},set:function(n,l){if(d(n)&&!b(n)){var e=p(this);e.frozen||(e.frozen=new t),k(this,n)?O(this,n,l):e.frozen.set(n,l)}else O(this,n,l);return this}})}else i&&g((function(){var n=C([]);return O(new P,n,1),!v(n)}))&&u(A,{set:function(n,l){var e;return f(n)&&(v(n)?e=C:y(n)&&(e=w)),O(this,n,l),e&&e(n),this}})},ALsQ:function(n,l,e){var t;n.exports=(t=e("Ib8C"),e("OLod"),t.mode.CFB=function(){var n=t.lib.BlockCipherMode.extend();function l(n,l,e,t){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,t.encryptBlock(i,0);for(var r=0;r\n "),e+="\n "})),e+="\n ",n.self.options.readOnly||(e+='\n
\n
\n \n \n
\n
\n '),e+="\n\n"}},"AO7/":function(n,l,e){"use strict";var t={};t[e("tiKp")("toStringTag")]="z",n.exports="[object z]"===String(t)},AP2z:function(n,l,e){var t=e("nmnc"),i=Object.prototype,o=i.hasOwnProperty,r=i.toString,u=t?t.toStringTag:void 0;n.exports=function(n){var l=o.call(n,u),e=n[u];try{n[u]=void 0;var t=!0}catch(a){}var i=r.call(n);return t&&(l?n[u]=e:delete n[u]),i}},AQ68:function(n,l,e){!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}})}(e("wd/R"))},AX6E:function(n,l,e){"use strict";var t=e("Cjtg"),i=e("2+dE"),o=e("LjMW"),r=e("QQaq"),u=e("8Zre"),a=e("JHTY"),s=e("8aRX"),c=e("Tj4a"),d=e("lgV7"),p=e("tvXQ"),g=e("k7mr"),h=e("CUOH"),m=e("44OH"),f=e("NRtu"),b=e("td/M"),v=e("PZI0"),y=e("WmiJ"),C=e("rVwK"),w=e("szrm"),_=e("za4V"),x=e("M97N"),P=e("KTnV");n.exports={custom:t,date:i,day:o,email:r,json:u,mask:a,max:s,maxDate:c,maxLength:d,maxWords:p,min:g,minDate:h,minLength:m,minWords:f,pattern:b,required:v,select:y,unique:C,url:w,minYear:_,maxYear:x,time:P}},AbTg:function(n,l,e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(n){var l={item:n,next:null},e=this.tail;e?e.next=l:this.head=l,this.tail=l},get:function(){var n=this.head;if(n)return null===(this.head=n.next)&&(this.tail=null),n.item}},n.exports=t},Ac7g:function(n,l,e){n.exports={Graph:e("lnHP"),version:e("w802")}},AevD:function(n,l,e){var t=e("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 t.has(this._keyIndices,n)},i.prototype.priority=function(n){var l=this._keyIndices[n];if(void 0!==l)return this._arr[l].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(n,l){var e=this._keyIndices;if(n=String(n),!t.has(e,n)){var i=this._arr,o=i.length;return e[n]=o,i.push({key:n,priority:l}),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,l){var e=this._keyIndices[n];if(l>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[e].priority+" New: "+l);this._arr[e].priority=l,this._decrease(e)},i.prototype._heapify=function(n){var l=this._arr,e=2*n,t=e+1,i=n;e>1].priority\n "),e+="\n
"+(null==(l=n.day)?"":l)+"
\n \n "),e+="\n ",n.showMonth&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+="\n ",!n.dayFirst&&n.showDay&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+="\n ",n.showYear&&(e+='\n
\n ',n.component.hideInputLabels||(e+='\n
\n "),e+='\n\n\n'}},ApMm:function(n,l){},AvvY:function(n,l,e){!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,l){return 12===n&&(n=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===l&&n>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===l||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===l?n+12:n},meridiem:function(n,l,e){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"}})}(e("wd/R"))},AxiF:function(n,l,e){"use strict";e.d(l,"a",(function(){return u}));var t=e("mrSG"),i=e("FFOo"),o=e("b7mW"),r=e("G5J1");function u(n){return function(l){return 0===n?Object(r.b)():l.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,l){return l.subscribe(new s(n,this.total))},n}(),s=function(n){function l(l,e){var t=n.call(this,l)||this;return t.total=e,t.ring=new Array,t.count=0,t}return t.d(l,n),l.prototype._next=function(n){var l=this.ring,e=this.total,t=this.count++;l.length0)for(var e=this.count>=this.total?this.total:this.count,t=this.ring,i=0;in.length)&&(l=n.length);for(var e=0,t=new Array(l);e1&&void 0!==arguments[1]?arguments[1]:{},t=v(x(s.prototype),"setValue",this).call(this,n,e);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 l.sanitize(n,l.shouldSanitizeValue)})))}}return t}},{key:"disabled",get:function(){return v(x(s.prototype),"disabled",this)},set:function(n){m(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 l=n.toString();return this.sanitize(l,this.shouldSanitizeValue)}}])&&g(l.prototype,e),t&&g(l,t),Object.defineProperty(l,"prototype",{writable:!1}),s}(u.default);l.default=P},BSGD:function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("jR5A");l.default={form:t.default}},BTho:function(n,l,e){"use strict";var t=e("4zBA"),i=e("We1y"),o=e("hh1v"),r=e("Gi26"),u=e("82ph"),a=e("QNWe"),s=Function,c=t([].concat),d=t([].join),p={},g=function(n,l,e){if(!r(p,l)){for(var t=[],i=0;i\n"}},BhdL:function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("6HwT"),i=e("BhTq");l.default={form:t.default,html:i.default}},BiGR:function(n,l,e){var t=e("nmnc"),i=e("03A+"),o=e("Z0cm"),r=t?t.isConcatSpreadable:void 0;n.exports=function(n){return o(n)||i(n)||!!(r&&n&&n[r])}},BkRI:function(n,l,e){var t=e("OBhP");n.exports=function(n){return t(n,5)}},BqJo:function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("rQ5f"),i=e("YVGo");l.default={flat:t.default,form:i.default}},Bs8V:function(n,l,e){"use strict";var t=e("g6v/"),i=e("xluM"),o=e("0eef"),r=e("XGwC"),u=e("/GqU"),a=e("oEtG"),s=e("Gi26"),c=e("DPsx"),d=Object.getOwnPropertyDescriptor;l.f=t?d:function(n,l){if(n=u(n),l=a(l),c)try{return d(n,l)}catch(e){}if(s(n,l))return r(!i(o.f,n,l),n[l])}},BvlR:function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("SsCq"))&&t.__esModule?t:{default:t}).default};l.default=i},ByF4:function(n,l,e){!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}})}(e("wd/R"))},"C+sZ":function(n,l,e){"use strict";e("eoL8"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t=u(e("LvDl")),i=u(e("Cqra")),o=u(e("f/Of")),r=u(e("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,l){for(var e=0;e '),e+="\n"+(null==(l=n.input.content)?"":l)+"\n",n.component.tooltip&&(e+='\n \n'),e+="\n",n.component.rightIcon&&(e+=' '),e+="\n\n
\n \n
\n'}},C0Ia:function(n,l,e){"use strict";var t=e("6LWA"),i=e("aO6C"),o=e("hh1v"),r=e("tiKp")("species"),u=Array;n.exports=function(n){var l;return t(n)&&(l=n.constructor,(i(l)&&(l===u||t(l.prototype))||o(l)&&null===(l=l[r]))&&(l=void 0)),void 0===l?u:l}},C0Od:function(n,l,e){"use strict";var t=e("BPiQ");n.exports=t&&!!Symbol.for&&!!Symbol.keyFor},C1sy:function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){return'
\n
\n
\n
\n
\n','
\n
\n
\n
\n
\n'}},C3gN:function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l,e){"use strict";var t=e("6Ekc").longestPath,i=e("GEWS"),o=e("dOj1");n.exports=function(n){switch(n.graph().ranker){case"network-simplex":u(n);break;case"tight-tree":!function(n){t(n),i(n)}(n);break;case"longest-path":r(n);break;default:u(n)}};var r=t;function u(n){o(n)}},C642:function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("K9UA");l.default={semantic:t.default}},C6AG:function(n,l,e){"use strict";function t(n){return(t="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)}e("XUE8"),e("5DmW"),e("SuFq"),e("uL8W"),e("eoL8"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("ftMj"),e("J30X"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("+2oP"),e("sMBO"),e("pjDv"),e("tkto"),e("27RR"),e("HRxU"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("yXV3"),e("rMz7"),e("ma9I"),e("DQNa"),e("07d7"),e("JfAA"),e("E9XD"),e("QWBl"),e("FZtP"),e("4l63"),e("TeQF"),e("rB9j"),e("oVuX"),e("2B1R"),e("TZCg"),e("ExoC"),e("wLYn"),e("NBAS");var i=a(e("LvDl")),o=a(e("wd/R")),r=a(e("e4jL")),u=e("5P0i");function a(n){return n&&n.__esModule?n:{default:n}}function s(n,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function c(n){for(var l=1;ln.length)&&(l=n.length);for(var e=0,t=new Array(l);en&&(l.refs.day.value=l.refs.day.max),t(l.refs.month,"month")()})),this.addEventListener(this.refs.year,"input",t(this.refs.year,"year")),this.addEventListener(this.refs.input,this.info.changeEvent,(function(){return l.updateValue(null,{modified:!0})})),[this.refs.day,this.refs.month,this.refs.year].filter((function(n){return!!n})).forEach((function(n){x(A(s.prototype),"addFocusBlurEvents",l).call(l,n)}))),this.setValue(this.dataValue),this.disabled=this.shouldDisabled,e}},{key:"validateRequired",value:function(n,l){var e=this.parts,t=e.day,i=e.month,o=e.year;return!(this.dayRequired&&!t||this.monthRequired&&!i||this.yearRequired&&!o||(0,u.boolValue)(n)&&this.isEmpty(l))}},{key:"disabled",set:function(n){b(A(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 l=[],e=n.split("/"),t=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),i=t[0],o=t[1],r=t[2],u=this.component.defaultValue?this.component.defaultValue.split("/"):"",a=function(n,t){return l.push(n?e.shift():t)};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"),l.join("/")}},{key:"setValueAt",value:function(n,l){if(!l||"Invalid date"===l)return null;var e,t=l.split("/");this.component.dayFirst&&(e=t.shift());var i=t.shift();this.component.dayFirst||(e=t.shift());var o=t.shift();this.refs.day&&this.showDay&&(this.refs.day.value="00"===e?"":parseInt(e,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 l=this.dataValue?this.dataValue.split("/"):[],e=0;switch(n){case"month":e=l[this.dayFirst?1:0];break;case"day":e=l[this.dayFirst?0:1];break;case"year":e=l[2]}return e=parseInt(e,10),!i.default.isNaN(e)&&i.default.isNumber(e)?e: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 l,e,t,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&&(l=parseInt(this.refs.day.value,10)),(void 0===l||i.default.isNaN(l))&&(l=o[u]&&!i.default.isNaN(o[u])?o[u]:0),this.showMonth&&this.refs.month&&(e=parseInt(this.refs.month.value,10)),(void 0===e||i.default.isNaN(e))&&(e=o[a]&&!i.default.isNaN(o[a])?o[a]:0),this.showYear&&this.refs.year&&(t=parseInt(this.refs.year.value)),(void 0===t||i.default.isNaN(t))&&(t=o[s]&&!i.default.isNaN(o[s])?o[s]:0),l||e||t?(l=this.showDay?l.toString().padStart(2,0):"",e=this.showMonth?e.toString().padStart(2,0):"",t=this.showYear?t.toString().padStart(4,0):"",this.component.dayFirst?"".concat(l).concat(this.showDay&&this.showMonth||this.showDay&&this.showYear?"/":"").concat(e).concat(this.showMonth&&this.showYear?"/":"").concat(t):"".concat(e).concat(this.showDay&&this.showMonth||this.showMonth&&this.showYear?"/":"").concat(l).concat(this.showDay&&this.showYear?"/":"").concat(t)):null}},{key:"date",get:function(){return this.getDate()}},{key:"validationValue",get:function(){return this.dataValue}},{key:"getValue",value:function(){var n=x(A(s.prototype),"getValue",this).call(this);return n||this.dataValue}},{key:"getValueAt",value:function(n){var l=this.date||this.emptyValue;return l?(this.refs.input[n].value=l,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 l;null===(l=this.refs.day)||void 0===l||l.focus()}else if(this.dayFirst&&!this.showDay&&this.showMonth||!this.dayFirst&&this.showMonth){var e;null===(e=this.refs.month)||void 0===e||e.focus()}else if(!this.showDay&&!this.showDay&&this.showYear){var t;null===(t=this.refs.year)||void 0===t||t.focus()}}},{key:"restoreCaretPosition",value:function(){var n,l;if(null!==(n=this.root)&&void 0!==n&&n.currentSelection){var e=this.root.currentSelection,t=e.selection,i=e.index;if(this.refs[i]){var o=this.refs[i];l=o,/text|search|password|tel|url/i.test((null==l?void 0:l.type)||"")&&o.setSelectionRange.apply(o,d(t))}}}},{key:"isPartialDay",value:function(n){if(!n)return!1;var l=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),e=l[0],t=l[1],i=l[2],o=n.split("/");return"00"===o[e]||"00"===o[t]||"0000"===o[i]}},{key:"getValidationFormat",value:function(){return this.dayFirst?"DD-MM-YYYY":"MM-DD-YYYY"}}])&&m(l.prototype,e),t&&m(l,t),Object.defineProperty(l,"prototype",{writable:!1}),s}(r.default);l.default=O},CDr4:function(n,l,e){"use strict";var t=e("DVFp"),i=TypeError;n.exports=function(n,l){if(!delete n[l])throw new i("Cannot delete property "+t(l)+" of "+t(n))}},CFBA:function(n,l,e){var t;!function(i,o,r){o[i]=o[i]||r(),n.exports?n.exports=o[i]:void 0===(t=(function(){return o[i]}).call(l,e,l,n))||(n.exports=t)}("Promise","undefined"!=typeof global?global:this,(function(){"use strict";var n,l,e,t=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(n){return setImmediate(n)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(n,l,e,t){return Object.defineProperty(n,l,{value:e,writable:!0,configurable:!1!==t})}}catch(f){n=function(n,l,e){return n[l]=e,n}}function o(n,t){e.add(n,t),l||(l=i(e.drain))}function r(n){var l,e=typeof n;return null==n||"object"!=e&&"function"!=e||(l=n.then),"function"==typeof l&&l}function u(){for(var n=0;n0&&o(u,e))}catch(f){c.call(new p(e),f)}}}function c(n){var l=this;l.triggered||(l.triggered=!0,l.def&&(l=l.def),l.msg=n,l.state=2,l.chain.length>0&&o(u,l))}function d(n,l,e,t){for(var i=0;i\n
\n \n
\n '+(null==(l=n.form)?"":l)+"\n
\n
\n\n"}},CMye:function(n,l,e){var t=e("GoyQ");n.exports=function(n){return n==n&&!t(n)}},CQfm:function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("Oqjk"),i=e("FoUh");l.default={flat:t.default,form:i.default}},CS9Q:function(n,l,e){"use strict";e.d(l,"a",(function(){return o}));var t=e("mrSG"),i=e("siIJ"),o=function(n){function l(e,t){void 0===t&&(t=i.a.now);var o=n.call(this,e,(function(){return l.delegate&&l.delegate!==o?l.delegate.now():t()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return t.d(l,n),l.prototype.schedule=function(e,t,i){return void 0===t&&(t=0),l.delegate&&l.delegate!==this?l.delegate.schedule(e,t,i):n.prototype.schedule.call(this,e,t,i)},l.prototype.flush=function(n){var l=this.actions;if(this.active)l.push(n);else{var e;this.active=!0;do{if(e=n.execute(n.state,n.delay))break}while(n=l.shift());if(this.active=!1,e){for(;n=l.shift();)n.unsubscribe();throw e}}},l}(i.a)},CSzT:function(n,l,e){"use strict";var t;e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i={form:((t=e("bbpD"))&&t.__esModule?t:{default:t}).default};l.default=i},CUOH:function(n,l,e){"use strict";e("eoL8"),e("ExoC"),e("wLYn"),e("NBAS"),e("SuFq"),e("uL8W"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("ma9I"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t=e("5P0i"),i=r(e("wd/R")),o=r(e("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,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function s(n,l){for(var e=0;e\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"}];l.default=o},CXJR:function(n,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){return'\n','\n'}},CZoQ:function(n,l){n.exports=function(n,l,e){for(var t=e-1,i=n.length;++t\n
    \n
    \n
    \n
    '+(null==(l=n.t(n.component.label))?"":l)+(null==(l=n.self.isIE()?", dialog":"")?"":l)+"\n ",n.options.vpat?e+='\n \n ':e+='\n \n ',e+='\n
    \n ',n.visible&&(e+="\n "+(null==(l=n.children)?"":l)+"\n "),e+='\n
    \n ',n.options.vpat&&(e+='\n \n "),e+='\n \n
    \n
    \n
    \n \n
    \n\n'}},Cqra:function(n,l,e){"use strict";function t(n){return(t="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)}e("SuFq"),e("uL8W"),e("eoL8"),e("XUE8"),e("5DmW"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("J30X"),e("0oug"),e("pjDv"),e("+2oP"),e("sMBO"),e("rB9j"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("2B1R"),e("ma9I"),e("4mDm"),e("07d7"),e("PKPk"),e("3bBZ"),e("Kz25"),e("mGGf"),e("yq1k"),e("JTJg"),e("wLYn"),e("QWBl"),e("FZtP"),e("j+VE"),e("ExoC"),e("NBAS");var i=p(e("LvDl")),o=p(e("CFBA")),r=e("1eKU"),u=p(e("f/Of")),a=e("5P0i"),s=e("bjCn"),c=p(e("yEXj")),d=p(e("vPiH"));function p(n){return n&&n.__esModule?n:{default:n}}function g(n){return function(n){if(Array.isArray(n))return h(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,l){if(!n)return;if("string"==typeof n)return h(n,l);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return h(n,l)}(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 h(n,l){(null==l||l>n.length)&&(l=n.length);for(var e=0,t=new Array(l);e98?l.t("Converting PDF. Please wait."):"".concat(l.t("Uploading")," ").concat(e,"%")}}),"".concat(this.projectUrl,"/upload"),{},"file").then((function(n){var e,t=!1;if(null!==(e=n.data.formfields)&&void 0!==e&&e.components&&n.data.formfields.components.length){var o,r,u,a="submit"===(null===(o=l.webform.form.components[0])||void 0===o?void 0:o.key),s="page1"===(null===(r=l.webform.form.components[0])||void 0===r?void 0:r.key)&&0===(null===(u=l.webform.form.components[0])||void 0===u?void 0:u.components.length),c=0===l.webform.form.components.length;(a||s||c)&&(t=!0,l.webform.form.components=n.data.formfields.components)}l.refs.dragDropText&&(l.refs.dragDropText.style.display="inherit"),l.refs.uploadProgressWrapper&&(l.refs.uploadProgressWrapper.style.display="none"),i.default.set(l.webform.form,"settings.pdf",{id:n.data.file,src:n.data.filesServer?"".concat(n.data.filesServer).concat(n.data.path):"".concat(new URL(l.projectUrl).origin,"/pdf-proxy").concat(n.data.path),nonFillableConversionUsed:t&&n.data.formfields.nonFillableConversionUsed}),l.emit("pdfUploaded",n.data),l.redraw()})).catch((function(n){return l.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 l=this;return n.skipInit=!1,n.hideLoader=!0,this.webform=new d.default(this.element,n),this.webform.on("attach",(function(){l.refs.iframeDropzone&&!g(l.refs.form.children).includes(l.refs.iframeDropzone)&&l.prependTo(l.refs.iframeDropzone,l.refs.form)})),this.webform}},{key:"destroy",value:function(n){b(_(p.prototype),"destroy",this).call(this,n),this.webform.destroy(n)}},{key:"getParentContainer",value:function(n){var l=[],e=null;return(0,s.eachComponent)(this.webform._form.components,(function(t,i,o){if(t.id===n.component.id)return l=o,e=t,!0}),!0),{formioComponent:n.parent,formioContainer:l,originalComponent:e}}},{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(l){var e=n.webform.getComponentById(l.id);return e&&e.component&&(e.component.overlay={page:l.page,left:l.left,top:l.top,height:l.height,width:l.width},n.options.noNewEdit||e.component.noNewEdit||n.editComponent(e.component,n.getParentContainer(e),!0),n.emit("updateComponent",e.component)),e})),this.webform.on("iframe-componentUpdate",(function(l){var e=n.webform.getComponentById(l.id);return e&&e.component&&(e.component.overlay={page:l.overlay.page,left:l.overlay.left,top:l.overlay.top,height:l.overlay.height,width:l.overlay.width},n.emit("updateComponent",e.component),n.emit("change",n.form)),e})),this.webform.on("iframe-componentClick",(function(l){var e=n.webform.getComponentById(l.id);e&&n.editComponent(e.component,n.getParentContainer(e))}),!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(l){g(l.children).forEach((function(l){l.draggable=!0,l.setAttribute("draggable",!0),n.removeEventListener(l,"dragstart"),n.removeEventListener(l,"dragend"),n.addEventListener(l,"dragstart",n.onDragStart.bind(n),!0),n.addEventListener(l,"dragend",n.onDragEnd.bind(n),!0),n.addEventListener(l,"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 l=n.offsetX,e=void 0===l?0:l,t=n.offsetY,i=void 0===t?0:t;this.itemOffsetX=e,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 l=this.webform.refs.iframeContainer.getBoundingClientRect(),e=this.dropEvent?this.dropEvent.layerX:null,t=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&&l.left1&&(n=l[0]-l[1]),l.length>3?l[0]+",1,weird":n<0?l[0]+",1":n>0?l[1]+",1,s":l[0]+",0"},i=function(n){for(var l=new Date(n,0,1,0,0,1,0).getTime(),e=new Date(n,12,31,23,59,59).getTime(),t=l,i=new Date(t).getTimezoneOffset(),o=null,u=null;ti&&(u=a),i=s),t+=864e5}return!(!o||!u)&&{s:r(o).getTime(),e:r(u).getTime()}},r=function l(e,t,i){void 0===t&&(t=n.DAY,i=n.HOUR);for(var o=new Date(e.getTime()-t).getTime(),r=e.getTime()+t,u=new Date(o).getTimezoneOffset(),a=o,s=null;a=t.rules[o].s&&l[o].e<=t.rules[o].e)){i="N/A";break}if(i=0,i+=Math.abs(l[o].s-t.rules[o].s),(i+=Math.abs(t.rules[o].e-l[o].e))>n.MAX_SCORE){i="N/A";break}}return function(n,l,e,t){if("N/A"!==e)return e;if("Asia/Beirut"===l){if("Africa/Cairo"===t.name&&13983768e5===n[6].s&&14116788e5===n[6].e)return 0;if("Asia/Jerusalem"===t.name&&13959648e5===n[6].s&&14118588e5===n[6].e)return 0}else if("America/Santiago"===l){if("America/Asuncion"===t.name&&14124816e5===n[6].s&&1397358e6===n[6].e)return 0;if("America/Campo_Grande"===t.name&&14136912e5===n[6].s&&13925196e5===n[6].e)return 0}else if("America/Montevideo"===l){if("America/Sao_Paulo"===t.name&&14136876e5===n[6].s&&1392516e6===n[6].e)return 0}else if("Pacific/Auckland"===l&&"Pacific/Fiji"===t.name&&14142456e5===n[6].s&&13961016e5===n[6].e)return 0;return e}(l,e,i,t)},i={},r=o.olson.dst_rules.zones,u=r.length,a=n.AMBIGUITIES[e],s=0;s-1||"UTC"===l)?l:void 0}()),i||(i=o.olson.timezones[r],void 0!==n.AMBIGUITIES[i]&&(i=a(i))),{name:function(){return i},using_intl:l||void 0===l,needle:r,offsets:e()}}}}()).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!==e("B9Yq")&&null!=e("PDX0")?(t=[],void 0===(i=(function(){return o}).apply(l,t))||(n.exports=i)):window.jstz=o},DAmb:function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;e12?n:n+12:"sanje"===l?n+12:void 0},meridiem:function(n,l,e){return n<4?"rati":n<12?"sokallim":n<16?"donparam":n<20?"sanje":"rati"}})}(e("wd/R"))},DLK6:function(n,l,e){"use strict";var t=e("4zBA"),i=e("ewvW"),o=Math.floor,r=t("".charAt),u=t("".replace),a=t("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;n.exports=function(n,l,e,t,d,p){var g=e+n.length,h=t.length,m=c;return void 0!==d&&(d=i(d),m=s),u(p,m,(function(i,u){var s;switch(r(u,0)){case"$":return"$";case"&":return n;case"`":return a(l,0,e);case"'":return a(l,g);case"<":s=d[a(u,1,-1)];break;default:var c=+u;if(0===c)return i;if(c>h){var p=o(c/10);return 0===p?i:p<=h?void 0===t[p-1]?r(u,1):t[p-1]+r(u,1):i}s=t[c-1]}return void 0===s?"":s}))}},DMt2:function(n,l,e){"use strict";var t=e("4zBA"),i=e("UMSQ"),o=e("V37c"),r=e("EUja"),u=e("HYAF"),a=t(r),s=t("".slice),c=Math.ceil,d=function(n){return function(l,e,t){var r,d,p=o(u(l)),g=i(e),h=p.length,m=void 0===t?" ":o(t);return g<=h||""===m?p:((d=a(m,c((r=g-h)/m.length))).length>r&&(d=s(d,0,r)),n?p+d:d+p)}};n.exports={start:d(!1),end:d(!0)}},DPsx:function(n,l,e){"use strict";var t=e("g6v/"),i=e("0Dky"),o=e("zBJ4");n.exports=!t&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(n,l,e){"use strict";var t=e("4zBA"),i=e("yy0I"),o=Date.prototype,r=t(o.toString),u=t(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,l,e){(function(n){var t=e("Kz5y"),i=e("B8du"),o=l&&!l.nodeType&&l,r=o&&"object"==typeof n&&n&&!n.nodeType&&n,u=r&&r.exports===o?t.Buffer:void 0,a=(u?u.isBuffer:void 0)||i;n.exports=a}).call(this,e("YuTi")(n))},DVFp:function(n,l,e){"use strict";var t=String;n.exports=function(n){try{return t(n)}catch(l){return"Object"}}},DcW7:function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;l.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,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(n){var l,e="";Array.prototype.join;return e+='
    \n
    \n \n
    \n ",n.component.components.forEach((function(t,i){e+='\n \n '+(null==(l=n.tabComponents[i])?"":l)+"\n
    \n "})),e+="\n\n"}},Dkky:function(n,l,e){!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,l){switch(l){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}})}(e("wd/R"))},Dmvi:function(n,l,e){!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 l=n%10;return n+(1==~~(n%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:0,doy:4}})}(e("wd/R"))},DoHr:function(n,l,e){!function(n){"use strict";var l={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,l,e){return n<12?e?"\xf6\xf6":"\xd6\xd6":e?"\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,e){switch(e){case"d":case"D":case"Do":case"DD":return n;default:if(0===n)return n+"'\u0131nc\u0131";var t=n%10,i=n%100-t,o=n>=100?100:null;return n+(l[t]||l[i]||l[o])}},week:{dow:1,doy:7}})}(e("wd/R"))},DrM6:function(n,l){},DtyJ:function(n,l,e){"use strict";e.r(l),e.d(l,"Observable",(function(){return t.a})),e.d(l,"ConnectableObservable",(function(){return i.a})),e.d(l,"GroupedObservable",(function(){return o.a})),e.d(l,"observable",(function(){return r.a})),e.d(l,"Subject",(function(){return u.a})),e.d(l,"BehaviorSubject",(function(){return a.a})),e.d(l,"ReplaySubject",(function(){return s.a})),e.d(l,"AsyncSubject",(function(){return c.a})),e.d(l,"asapScheduler",(function(){return d.a})),e.d(l,"asyncScheduler",(function(){return p.a})),e.d(l,"queueScheduler",(function(){return g.a})),e.d(l,"animationFrameScheduler",(function(){return h.a})),e.d(l,"VirtualTimeScheduler",(function(){return b})),e.d(l,"VirtualAction",(function(){return v})),e.d(l,"Scheduler",(function(){return y.a})),e.d(l,"Subscription",(function(){return C.a})),e.d(l,"Subscriber",(function(){return w.a})),e.d(l,"Notification",(function(){return _.a})),e.d(l,"pipe",(function(){return x.a})),e.d(l,"noop",(function(){return P.a})),e.d(l,"identity",(function(){return A.a})),e.d(l,"isObservable",(function(){return O})),e.d(l,"ArgumentOutOfRangeError",(function(){return M.a})),e.d(l,"EmptyError",(function(){return k.a})),e.d(l,"ObjectUnsubscribedError",(function(){return S.a})),e.d(l,"UnsubscriptionError",(function(){return I.a})),e.d(l,"TimeoutError",(function(){return T.a})),e.d(l,"bindCallback",(function(){return L})),e.d(l,"bindNodeCallback",(function(){return j})),e.d(l,"combineLatest",(function(){return H.b})),e.d(l,"concat",(function(){return q.a})),e.d(l,"defer",(function(){return G.a})),e.d(l,"empty",(function(){return Y.b})),e.d(l,"forkJoin",(function(){return W.a})),e.d(l,"from",(function(){return Q.a})),e.d(l,"fromEvent",(function(){return K.a})),e.d(l,"fromEventPattern",(function(){return X})),e.d(l,"generate",(function(){return J})),e.d(l,"iif",(function(){return nn})),e.d(l,"interval",(function(){return ln.a})),e.d(l,"merge",(function(){return en.a})),e.d(l,"never",(function(){return tn.b})),e.d(l,"of",(function(){return on.a})),e.d(l,"onErrorResumeNext",(function(){return rn})),e.d(l,"pairs",(function(){return un})),e.d(l,"race",(function(){return sn.a})),e.d(l,"range",(function(){return cn})),e.d(l,"throwError",(function(){return pn.a})),e.d(l,"timer",(function(){return gn.a})),e.d(l,"using",(function(){return hn})),e.d(l,"zip",(function(){return mn.b})),e.d(l,"EMPTY",(function(){return Y.a})),e.d(l,"NEVER",(function(){return tn.a})),e.d(l,"config",(function(){return fn.a}));var t=e("6blF"),i=e("KhEm"),o=e("IxPp"),r=e("xTla"),u=e("K9Ia"),a=e("26FU"),s=e("S5bw"),c=e("svcd"),d=e("KQya"),p=e("T1DM"),g=e("zo3G"),h=e("tHPV"),m=e("mrSG"),f=e("h9Dq"),b=function(n){function l(l,e){void 0===l&&(l=v),void 0===e&&(e=Number.POSITIVE_INFINITY);var t=n.call(this,l,(function(){return t.frame}))||this;return t.maxFrames=e,t.frame=0,t.index=-1,t}return m.d(l,n),l.prototype.flush=function(){for(var n,l,e=this.actions,t=this.maxFrames;(l=e[0])&&l.delay<=t&&(e.shift(),this.frame=l.delay,!(n=l.execute(l.state,l.delay))););if(n){for(;l=e.shift();)l.unsubscribe();throw n}},l.frameTimeFactor=10,l}(e("CS9Q").a),v=function(n){function l(l,e,t){void 0===t&&(t=l.index+=1);var i=n.call(this,l,e)||this;return i.scheduler=l,i.work=e,i.index=t,i.active=!0,i.index=l.index=t,i}return m.d(l,n),l.prototype.schedule=function(e,t){if(void 0===t&&(t=0),!this.id)return n.prototype.schedule.call(this,e,t);this.active=!1;var i=new l(this.scheduler,this.work);return this.add(i),i.schedule(e,t)},l.prototype.requestAsyncId=function(n,e,t){void 0===t&&(t=0),this.delay=n.frame+t;var i=n.actions;return i.push(this),i.sort(l.sortActions),!0},l.prototype.recycleAsyncId=function(n,l,e){void 0===e&&(e=0)},l.prototype._execute=function(l,e){if(!0===this.active)return n.prototype._execute.call(this,l,e)},l.sortActions=function(n,l){return n.delay===l.delay?n.index===l.index?0:n.index>l.index?1:-1:n.delay>l.delay?1:-1},l}(f.a),y=e("siIJ"),C=e("pugT"),w=e("FFOo"),_=e("60iU"),x=e("y3By"),P=e("+umK"),A=e("mChF");function O(n){return!!n&&(n instanceof t.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var M=e("b7mW"),k=e("3fWJ"),S=e("8g8A"),I=e("awvh"),T=e("3U0i"),D=e("67Y/"),E=e("1fDf"),R=e("isby"),N=e("nkY7");function L(n,l,e){if(l){if(!Object(N.a)(l))return function(){for(var t=[],i=0;i=l){t.complete();break}if(t.next(o++),t.closed)break}}))}function dn(n){var l=n.start,e=n.index,t=n.count,i=n.subscriber;e>=t?i.complete():(i.next(l),i.closed||(n.index=e+1,n.start=l+1,this.schedule(n)))}var pn=e("XlPw"),gn=e("gI3B");function hn(n,l){return new t.a((function(e){var t,i;try{t=n()}catch(r){return void e.error(r)}try{i=l(t)}catch(r){return void e.error(r)}var o=(i?Object(Q.a)(i):Y.a).subscribe(e);return function(){o.unsubscribe(),t&&t.unsubscribe()}}))}var mn=e("909l"),fn=e("iLxQ")},Dvum:function(n,l,e){var t,i,o;!function(r,u){"use strict";n.exports?n.exports=u(e("wd/R")):(i=[e("wd/R")],void 0===(o="function"==typeof(t=u)?t.apply(l,i):t)||(n.exports=o))}(0,(function(n){"use strict";void 0===n.version&&n.default&&(n=n.default);var l,e={},t={},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 l=0,e=n.split("."),t=e[0],i=e[1]||"",o=1,r=0,u=1;for(45===n.charCodeAt(0)&&(l=1,u=-1);l3){var l=o[P(n)];if(l)return l;S("Moment Timezone found "+n+" from the Intl api, but did not have that data loaded.")}}catch(c){}var e,t,i,r=function(){var n,l,e,t,i=(new Date).getFullYear()-2,o=new b(new Date(i,0,1)),r=o.offset,u=[o];for(t=1;t<48;t++)(e=new Date(i,t,1).getTimezoneOffset())!==r&&(n=y(o,l=new b(new Date(i,t,1))),u.push(n),u.push(new b(new Date(n.at+6e4))),o=l,r=e);for(t=0;t<4;t++)u.push(new b(new Date(i+t,0,1))),u.push(new b(new Date(i+t,6,1)));return u}(),u=r.length,a=_(r),s=[];for(t=0;t0?s[0].zone.name:void 0}function P(n){return(n||"").toLowerCase().replace(/\//g,"_")}function A(n){var l,t,i,r;for("string"==typeof n&&(n=[n]),l=0;l= 2.6.0. You are using Moment.js "+n.version+". See momentjs.com"),m.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 l;if((l=function(n,l){var e,t=l.length;if(n1&&l[t-1]===1/0&&n>=l[t-2])return t-1;if(n>=l[t-1])return-1;for(var i=0,o=t-1;o-i>1;)l[e=Math.floor((i+o)/2)]<=n?i=e:o=e;return o}(+n,this.untils))>=0)return l},countries:function(){var n=this.name;return Object.keys(i).filter((function(l){return-1!==i[l].zones.indexOf(n)}))},parse:function(n){var l,e,t,i,o=+n,r=this.offsets,u=this.untils,a=u.length-1;for(i=0;it&&I.moveInvalidForward&&(l=t),o0&&(this._z=null),T.apply(this,arguments)}),n.tz.setDefault=function(l){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=l?O(l):null,n};var N=n.momentProperties;return"[object Array]"===Object.prototype.toString.call(N)?(N.push("_z"),N.push("_a")):N&&(N._z=null),n}))},"Dw+G":function(n,l,e){var t=e("juv8"),i=e("mTTR");n.exports=function(n,l){return n&&t(l,i(l),n)}},DxQv:function(n,l,e){!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}})}(e("wd/R"))},Dz1x:function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=e("aqh7");l.default={form:t.default}},Dzi0:function(n,l,e){!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}})}(e("wd/R"))},"E+lV":function(n,l,e){!function(n){"use strict";var l={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,l){return n%10>=1&&n%10<=4&&(n%100<10||n%100>=20)?n%10==1?l[0]:l[1]:l[2]},translate:function(n,e,t,i){var o,r=l.words[t];return 1===t.length?"y"===t&&e?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":i||e?r[0]:r[1]:(o=l.correctGrammaticalCase(n,r),"yy"===t&&e&&"\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:l.translate,m:l.translate,mm:l.translate,h:l.translate,hh:l.translate,d:l.translate,dd:l.translate,M:l.translate,MM:l.translate,y:l.translate,yy:l.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(e("wd/R"))},"E+oP":function(n,l,e){var t=e("A90E"),i=e("QqLw"),o=e("03A+"),r=e("Z0cm"),u=e("MMmD"),a=e("DSRE"),s=e("6sVZ"),c=e("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 l=i(n);if("[object Map]"==l||"[object Set]"==l)return!n.size;if(s(n))return!t(n).length;for(var e in n)if(d.call(n,e))return!1;return!0}},E0hL:function(n,l,e){"use strict";function t(n){return(t="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)}e("07d7"),e("SuFq"),e("uL8W"),e("eoL8"),e("XUE8"),e("5DmW"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ma9I"),e("rB9j"),e("UxlC"),e("ExoC"),e("wLYn"),e("NBAS");var i=u(e("6P0p")),o=e("5P0i"),r=u(e("Vd1P"));function u(n){return n&&n.__esModule?n:{default:n}}function a(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function s(n,l){for(var e=0;e>>24)|4278255360&(n[e]<<24|n[e]>>>8);var t=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,e=0;e<4;e++)a.call(this);for(e=0;e<8;e++)i[e]^=t[e+4&7];if(l){var o=l.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,e=0;e<4;e++)a.call(this)}},_doProcessBlock:function(n,l){var e=this._X;a.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var t=0;t<4;t++)i[t]=16711935&(i[t]<<8|i[t]>>>24)|4278255360&(i[t]<<24|i[t]>>>8),n[l+t]^=i[t]},blockSize:4,ivSize:2});function a(){for(var n=this._X,l=this._C,e=0;e<8;e++)o[e]=l[e];for(l[0]=l[0]+1295307597+this._b|0,l[1]=l[1]+3545052371+(l[0]>>>0>>0?1:0)|0,l[2]=l[2]+886263092+(l[1]>>>0>>0?1:0)|0,l[3]=l[3]+1295307597+(l[2]>>>0>>0?1:0)|0,l[4]=l[4]+3545052371+(l[3]>>>0>>0?1:0)|0,l[5]=l[5]+886263092+(l[4]>>>0>>0?1:0)|0,l[6]=l[6]+1295307597+(l[5]>>>0>>0?1:0)|0,l[7]=l[7]+3545052371+(l[6]>>>0>>0?1:0)|0,this._b=l[7]>>>0>>0?1:0,e=0;e<8;e++){var t=n[e]+l[e],i=65535&t,u=t>>>16,a=((i*i>>>17)+i*u>>>15)+u*u,s=((4294901760&t)*t|0)+((65535&t)*t|0);r[e]=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=l._createHelper(u)}(),t.Rabbit)},E4Ma:function(n,l,e){"use strict";e("eoL8"),e("tkto"),e("TeQF"),e("5DmW"),e("QWBl"),e("FZtP"),e("27RR"),e("HRxU"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("wLYn"),e("ma9I"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("07d7"),e("qePV");var t,i=(t=e("LvDl"))&&t.__esModule?t:{default:t},o=e("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,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function a(n){for(var l=1;l0?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 l;n.preventDefault(),this.currentValue=(0,o.fastCloneDeep)(null!==(l=this.component.dataValue)&&void 0!==l?l:this.component.getValue()),this.closeModal()}}])&&c(l.prototype,e),t&&c(l,t),Object.defineProperty(l,"prototype",{writable:!1}),n}();l.default=p},E6aO:function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t=o(e("bsYB")),i=o(e("CXJR"));function o(n){return n&&n.__esModule?n:{default:n}}var r={form:t.default,html:i.default};l.default=r},E6bK:function(n,l,e){"use strict";var t=Math.round;n.exports=function(n){var l=t(n);return l<0?0:l>255?255:255&l}},E9LY:function(n,l,e){"use strict";var t=e("4zBA"),i=e("0Dky"),o=e("Fib7"),r=e("Gi26"),u=e("g6v/"),a=e("Xnc8").CONFIGURABLE,s=e("iSVu"),c=e("afO8"),d=c.enforce,p=c.get,g=String,h=Object.defineProperty,m=t("".slice),f=t("".replace),b=t([].join),v=u&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),C=n.exports=function(n,l,e){"Symbol("===m(g(l),0,7)&&(l="["+f(g(l),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(l="get "+l),e&&e.setter&&(l="set "+l),(!r(n,"name")||a&&n.name!==l)&&(u?h(n,"name",{value:l,configurable:!0}):n.name=l),v&&e&&r(e,"arity")&&n.length!==e.arity&&h(n,"length",{value:e.arity});try{e&&r(e,"constructor")&&e.constructor?u&&h(n,"prototype",{writable:!1}):n.prototype&&(n.prototype=void 0)}catch(i){}var t=d(n);return r(t,"source")||(t.source=b(y,"string"==typeof l?l:"")),n};Function.prototype.toString=C((function(){return o(this)&&p(this).source||s(this)}),"toString")},E9XD:function(n,l,e){"use strict";var t=e("I+eb"),i=e("1Y/n").left,o=e("pkCn"),r=e("LQDL");t({target:"Array",proto:!0,forced:!e("YF1G")&&r>79&&r<83||!o("reduce")},{reduce:function(n){var l=arguments.length;return i(this,n,l,l>1?arguments[1]:void 0)}})},EA7m:function(n,l,e){var t=e("zZ0H"),i=e("Ioao"),o=e("wclG");n.exports=function(n,l){return o(i(n,l,t),n+"")}},EBTT:function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){for(var n=arguments.length,l=new Array(n),e=0;eb)","g");return"b"!==n.exec("b").groups.a||"bc"!=="b".replace(n,"$c")}))},EKy7:function(n,l,e){"use strict";function t(n){return(t="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)}e("07d7"),e("XUE8"),e("5DmW"),e("SuFq"),e("uL8W"),e("eoL8"),e("gXIK"),e("7+zs"),e("pNMO"),e("4Brf"),e("qePV"),e("0oug"),e("4mDm"),e("PKPk"),e("3bBZ"),e("pjDv"),e("sMBO"),e("tkto"),e("TeQF"),e("QWBl"),e("FZtP"),e("27RR"),e("HRxU"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("J30X"),e("2B1R"),e("yq1k"),e("JTJg"),e("ma9I"),e("+2oP"),e("rB9j"),e("UxlC"),e("ExoC"),e("wLYn"),e("NBAS");var i=u(e("wd/R")),o=u(e("uDcv")),r=e("5P0i");function u(n){return n&&n.__esModule?n:{default:n}}function a(n,l){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable}))),e.push.apply(e,t)}return e}function s(n){for(var l=1;ln.length)&&(l=n.length);for(var e=0,t=new Array(l);e\n
      \n ',n.panels.forEach((function(t,i){e+='\n
    • \n \n '+(null==(l=n.t(t.title,{_userInput:!0}))?"":l)+"\n ",t.tooltip&&n.currentPage===i&&(e+='\n \n '),e+="\n \n
    • \n "})),e+="\n
    \n\n"}},ELcG:function(n,l,e){var t;n.exports=(t=e("Ib8C"),function(n){var l=t,e=l.lib,i=e.WordArray,o=e.Hasher,r=l.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]),g=r.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,l){for(var e=0;e<16;e++){var t=l+e,i=n[t];n[t]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,r,g,C,w,_,x,P,A,O,M,k=this._hash.words,S=d.words,I=p.words,T=u.words,D=a.words,E=s.words,R=c.words;for(_=o=k[0],x=r=k[1],P=g=k[2],A=C=k[3],O=w=k[4],e=0;e<80;e+=1)M=o+n[l+T[e]]|0,M+=e<16?h(r,g,C)+S[0]:e<32?m(r,g,C)+S[1]:e<48?f(r,g,C)+S[2]:e<64?b(r,g,C)+S[3]:v(r,g,C)+S[4],M=(M=y(M|=0,E[e]))+w|0,o=w,w=C,C=y(g,10),g=r,r=M,M=_+n[l+D[e]]|0,M+=e<16?v(x,P,A)+I[0]:e<32?b(x,P,A)+I[1]:e<48?f(x,P,A)+I[2]:e<64?m(x,P,A)+I[3]:h(x,P,A)+I[4],M=(M=y(M|=0,R[e]))+O|0,_=O,O=A,A=y(P,10),P=x,x=M;M=k[1]+g+A|0,k[1]=k[2]+C+O|0,k[2]=k[3]+w+_|0,k[3]=k[4]+o+x|0,k[4]=k[0]+r+P|0,k[0]=M},_doFinalize:function(){var n=this._data,l=n.words,e=8*this._nDataBytes,t=8*n.sigBytes;l[t>>>5]|=128<<24-t%32,l[14+(t+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),n.sigBytes=4*(l.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 h(n,l,e){return n^l^e}function m(n,l,e){return n&l|~n&e}function f(n,l,e){return(n|~l)^e}function b(n,l,e){return n&e|l&~e}function v(n,l,e){return n^(l|~e)}function y(n,l){return n<>>32-l}l.RIPEMD160=o._createHelper(g),l.HmacRIPEMD160=o._createHmacHelper(g)}(Math),t.RIPEMD160)},ENF9:function(n,l,e){"use strict";e("AJTl")},EOgW:function(n,l,e){!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,l,e){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"}})}(e("wd/R"))},ERFX:function(n,l,e){"use strict";e("eoL8"),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e("ma9I");var t,i=(t=e("CFBA"))&&t.__esModule?t:{default:t},o=e("0IpN");var r=function(n){return{uploadFile:function(l,e,t,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",e),s.append("dir",t),s.append("file",l),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=l.size,n.type=l.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 g=n.getToken();g&&a.setRequestHeader("x-jwt-token",g),a.send(s)}))},downloadFile:function(l){var e=n.getToken();return l.url="".concat(n.formUrl,"/storage/gdrive?fileId=").concat(l.id,"&fileName=").concat(l.originalName).concat(e?"&x-jwt-token=".concat(e):""),i.default.resolve(l)}}};r.title="Google Drive";var u=r;l.default=u},ETIr:function(n,l,e){var t,i,o;n.exports=(o=e("Ib8C"),i=(t=o).lib.WordArray,t.enc.Base64={stringify:function(n){var l=n.words,e=n.sigBytes,t=this._map;n.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(l[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|l[o+2>>>2]>>>24-(o+2)%4*8&255,u=0;u<4&&o+.75*u>>6*(3-u)&63));var a=t.charAt(64);if(a)for(;i.length%4;)i.push(a);return i.join("")},parse:function(n){var l=n.length,e=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var o=0;o>>6-r%4*2,s=u|a;t[o>>>2]|=s<<24-o%4*8,o++}return i.create(t,o)}(n,l,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},EUja:function(n,l,e){"use strict";var t=e("WSbT"),i=e("V37c"),o=e("HYAF"),r=RangeError;n.exports=function(n){var l=i(o(this)),e="",u=t(n);if(u<0||u===1/0)throw new r("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(l+=l))1&u&&(e+=l);return e}},EVdn:function(n,l,e){var t,i;!function(l,e){"use strict";"object"==typeof n.exports?n.exports=l.document?e(l,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return e(n)}:e(l)}("undefined"!=typeof window?window:this,(function(e,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={},g=p.toString,h=p.hasOwnProperty,m=h.toString,f=m.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},C=e.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(n,l,e){var t,i,o=(e=e||C).createElement("script");if(o.text=n,l)for(t in w)(i=l[t]||l.getAttribute&&l.getAttribute(t))&&o.setAttribute(t,i);e.head.appendChild(o).parentNode.removeChild(o)}function x(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?p[g.call(n)]||"object":typeof n}var P=/HTML$/i,A=function(n,l){return new A.fn.init(n,l)};function O(n){var l=!!n&&"length"in n&&n.length,e=x(n);return!v(n)&&!y(n)&&("array"===e||0===l||"number"==typeof l&&l>0&&l-1 in n)}function M(n,l){return n.nodeName&&n.nodeName.toLowerCase()===l.toLowerCase()}A.fn=A.prototype={jquery:"3.7.1",constructor:A,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 l=A.merge(this.constructor(),n);return l.prevObject=this,l},each:function(n){return A.each(this,n)},map:function(n){return this.pushStack(A.map(this,(function(l,e){return n.call(l,e,l)})))},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(A.grep(this,(function(n,l){return(l+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(n,l){return l%2})))},eq:function(n){var l=this.length,e=+n+(n<0?l:0);return this.pushStack(e>=0&&e+~]|"+T+")"+T+"*"),V=new RegExp(T+"|>"),U=new RegExp(F),H=new RegExp("^"+E+"$"),q={ID:new RegExp("^#("+E+")"),CLASS:new RegExp("^\\.("+E+")"),TAG:new RegExp("^("+E+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),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("^(?:"+O+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,W=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),$=function(n,l){var e="0x"+n.slice(1)-65536;return l||(e<0?String.fromCharCode(e+65536):String.fromCharCode(e>>10|55296,1023&e|56320))},X=function(){sn()},J=gn((function(n){return!0===n.disabled&&M(n,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(r=a.call(N.childNodes),N.childNodes),r[N.childNodes.length].nodeType}catch(Cn){m={apply:function(n,l){L.apply(n,a.call(l))},call:function(n){L.apply(n,a.call(arguments,1))}}}function Z(n,l,e,t){var i,o,r,a,s,d,g,h=l&&l.ownerDocument,v=l?l.nodeType:9;if(e=e||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return e;if(!t&&(sn(l),l=l||u,c)){if(11!==v&&(s=W.exec(n)))if(i=s[1]){if(9===v){if(!(r=l.getElementById(i)))return e;if(r.id===i)return m.call(e,r),e}else if(h&&(r=h.getElementById(i))&&Z.contains(l,r)&&r.id===i)return m.call(e,r),e}else{if(s[2])return m.apply(e,l.getElementsByTagName(n)),e;if((i=s[3])&&l.getElementsByClassName)return m.apply(e,l.getElementsByClassName(i)),e}if(!(x[n+" "]||p&&p.test(n))){if(g=n,h=l,1===v&&(V.test(n)||z.test(n))){for((h=Q.test(n)&&an(l.parentNode)||l)==l&&b.scope||((a=l.getAttribute("id"))?a=A.escapeSelector(a):l.setAttribute("id",a=f)),o=(d=dn(n)).length;o--;)d[o]=(a?"#"+a:":scope")+" "+pn(d[o]);g=d.join(",")}try{return m.apply(e,h.querySelectorAll(g)),e}catch(y){x(n,!0)}finally{a===f&&l.removeAttribute("id")}}}return yn(n.replace(D,"$1"),l,e,t)}function nn(){var n=[];return function e(t,i){return n.push(t+" ")>l.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function ln(n){return n[f]=!0,n}function en(n){var l=u.createElement("fieldset");try{return!!n(l)}catch(Cn){return!1}finally{l.parentNode&&l.parentNode.removeChild(l),l=null}}function tn(n){return function(l){return M(l,"input")&&l.type===n}}function on(n){return function(l){return(M(l,"input")||M(l,"button"))&&l.type===n}}function rn(n){return function(l){return"form"in l?l.parentNode&&!1===l.disabled?"label"in l?"label"in l.parentNode?l.parentNode.disabled===n:l.disabled===n:l.isDisabled===n||l.isDisabled!==!n&&J(l)===n:l.disabled===n:"label"in l&&l.disabled===n}}function un(n){return ln((function(l){return l=+l,ln((function(e,t){for(var i,o=n([],e.length,l),r=o.length;r--;)e[i=o[r]]&&(e[i]=!(t[i]=e[i]))}))}))}function an(n){return n&&void 0!==n.getElementsByTagName&&n}function sn(n){var e,t=n?n.ownerDocument||n:N;return t!=u&&9===t.nodeType&&t.documentElement?(s=(u=t).documentElement,c=!A.isXMLDoc(u),g=s.matches||s.webkitMatchesSelector||s.msMatchesSelector,s.msMatchesSelector&&N!=u&&(e=u.defaultView)&&e.top!==e&&e.addEventListener("unload",X),b.getById=en((function(n){return s.appendChild(n).id=A.expando,!u.getElementsByName||!u.getElementsByName(A.expando).length})),b.disconnectedMatch=en((function(n){return g.call(n,"*")})),b.scope=en((function(){return u.querySelectorAll(":scope")})),b.cssHas=en((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(Cn){return!0}})),b.getById?(l.filter.ID=function(n){var l=n.replace(K,$);return function(n){return n.getAttribute("id")===l}},l.find.ID=function(n,l){if(void 0!==l.getElementById&&c){var e=l.getElementById(n);return e?[e]:[]}}):(l.filter.ID=function(n){var l=n.replace(K,$);return function(n){var e=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return e&&e.value===l}},l.find.ID=function(n,l){if(void 0!==l.getElementById&&c){var e,t,i,o=l.getElementById(n);if(o){if((e=o.getAttributeNode("id"))&&e.value===n)return[o];for(i=l.getElementsByName(n),t=0;o=i[t++];)if((e=o.getAttributeNode("id"))&&e.value===n)return[o]}return[]}}),l.find.TAG=function(n,l){return void 0!==l.getElementsByTagName?l.getElementsByTagName(n):l.querySelectorAll(n)},l.find.CLASS=function(n,l){if(void 0!==l.getElementsByClassName&&c)return l.getElementsByClassName(n)},p=[],en((function(n){var l;s.appendChild(n).innerHTML="
    ",n.querySelectorAll("[selected]").length||p.push("\\["+T+"*(?:value|"+O+")"),n.querySelectorAll("[id~="+f+"-]").length||p.push("~="),n.querySelectorAll("a#"+f+"+*").length||p.push(".#.+[+~]"),n.querySelectorAll(":checked").length||p.push(":checked"),(l=u.createElement("input")).setAttribute("type","hidden"),n.appendChild(l).setAttribute("name","D"),s.appendChild(n).disabled=!0,2!==n.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(l=u.createElement("input")).setAttribute("name",""),n.appendChild(l),n.querySelectorAll("[name='']").length||p.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")})),b.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),P=function(n,l){if(n===l)return o=!0,0;var e=!n.compareDocumentPosition-!l.compareDocumentPosition;return e||(1&(e=(n.ownerDocument||n)==(l.ownerDocument||l)?n.compareDocumentPosition(l):1)||!b.sortDetached&&l.compareDocumentPosition(n)===e?n===u||n.ownerDocument==N&&Z.contains(N,n)?-1:l===u||l.ownerDocument==N&&Z.contains(N,l)?1:i?d.call(i,n)-d.call(i,l):0:4&e?-1:1)},u):u}for(n in Z.matches=function(n,l){return Z(n,null,null,l)},Z.matchesSelector=function(n,l){if(sn(n),c&&!x[l+" "]&&(!p||!p.test(l)))try{var e=g.call(n,l);if(e||b.disconnectedMatch||n.document&&11!==n.document.nodeType)return e}catch(Cn){x(l,!0)}return Z(l,u,null,[n]).length>0},Z.contains=function(n,l){return(n.ownerDocument||n)!=u&&sn(n),A.contains(n,l)},Z.attr=function(n,e){(n.ownerDocument||n)!=u&&sn(n);var t=l.attrHandle[e.toLowerCase()],i=t&&h.call(l.attrHandle,e.toLowerCase())?t(n,e,!c):void 0;return void 0!==i?i:n.getAttribute(e)},Z.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n)},A.uniqueSort=function(n){var l,e=[],t=0,r=0;if(o=!b.sortStable,i=!b.sortStable&&a.call(n,0),S.call(n,P),o){for(;l=n[r++];)l===n[r]&&(t=e.push(r));for(;t--;)I.call(n,e[t],1)}return i=null,n},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(a.apply(this)))},(l=A.expr={cacheLength:50,createPseudo:ln,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,$),n[3]=(n[3]||n[4]||n[5]||"").replace(K,$),"~="===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 l,e=!n[6]&&n[2];return q.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":e&&U.test(e)&&(l=dn(e,!0))&&(l=e.indexOf(")",e.length-l)-e.length)&&(n[0]=n[0].slice(0,l),n[2]=e.slice(0,l)),n.slice(0,3))}},filter:{TAG:function(n){var l=n.replace(K,$).toLowerCase();return"*"===n?function(){return!0}:function(n){return M(n,l)}},CLASS:function(n){var l=C[n+" "];return l||(l=new RegExp("(^|"+T+")"+n+"("+T+"|$)"))&&C(n,(function(n){return l.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")}))},ATTR:function(n,l,e){return function(t){var i=Z.attr(t,n);return null==i?"!="===l:!l||(i+="","="===l?i===e:"!="===l?i!==e:"^="===l?e&&0===i.indexOf(e):"*="===l?e&&i.indexOf(e)>-1:"$="===l?e&&i.slice(-e.length)===e:"~="===l?(" "+i.replace(B," ")+" ").indexOf(e)>-1:"|="===l&&(i===e||i.slice(0,e.length+1)===e+"-"))}},CHILD:function(n,l,e,t,i){var o="nth"!==n.slice(0,3),r="last"!==n.slice(-4),u="of-type"===l;return 1===t&&0===i?function(n){return!!n.parentNode}:function(l,e,a){var s,c,d,p,g,h=o!==r?"nextSibling":"previousSibling",m=l.parentNode,b=u&&l.nodeName.toLowerCase(),y=!a&&!u,C=!1;if(m){if(o){for(;h;){for(d=l;d=d[h];)if(u?M(d,b):1===d.nodeType)return!1;g=h="only"===n&&!g&&"nextSibling"}return!0}if(g=[r?m.firstChild:m.lastChild],r&&y){for(C=(p=(s=(c=m[f]||(m[f]={}))[n]||[])[0]===v&&s[1])&&s[2],d=p&&m.childNodes[p];d=++p&&d&&d[h]||(C=p=0)||g.pop();)if(1===d.nodeType&&++C&&d===l){c[n]=[v,p,C];break}}else if(y&&(C=p=(s=(c=l[f]||(l[f]={}))[n]||[])[0]===v&&s[1]),!1===C)for(;(d=++p&&d&&d[h]||(C=p=0)||g.pop())&&(!(u?M(d,b):1===d.nodeType)||!++C||(y&&((c=d[f]||(d[f]={}))[n]=[v,C]),d!==l)););return(C-=i)===t||C%t==0&&C/t>=0}}},PSEUDO:function(n,e){var t,i=l.pseudos[n]||l.setFilters[n.toLowerCase()]||Z.error("unsupported pseudo: "+n);return i[f]?i(e):i.length>1?(t=[n,n,"",e],l.setFilters.hasOwnProperty(n.toLowerCase())?ln((function(n,l){for(var t,o=i(n,e),r=o.length;r--;)n[t=d.call(n,o[r])]=!(l[t]=o[r])})):function(n){return i(n,0,t)}):i}},pseudos:{not:ln((function(n){var l=[],e=[],t=vn(n.replace(D,"$1"));return t[f]?ln((function(n,l,e,i){for(var o,r=t(n,null,i,[]),u=n.length;u--;)(o=r[u])&&(n[u]=!(l[u]=o))})):function(n,i,o){return l[0]=n,t(l,null,o,e),l[0]=null,!e.pop()}})),has:ln((function(n){return function(l){return Z(n,l).length>0}})),contains:ln((function(n){return n=n.replace(K,$),function(l){return(l.textContent||A.text(l)).indexOf(n)>-1}})),lang:ln((function(n){return H.test(n||"")||Z.error("unsupported lang: "+n),n=n.replace(K,$).toLowerCase(),function(l){var e;do{if(e=c?l.lang:l.getAttribute("xml:lang")||l.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((l=l.parentNode)&&1===l.nodeType);return!1}})),target:function(n){var l=e.location&&e.location.hash;return l&&l.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 M(n,"input")&&!!n.checked||M(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!l.pseudos.empty(n)},header:function(n){return Y.test(n.nodeName)},input:function(n){return G.test(n.nodeName)},button:function(n){return M(n,"input")&&"button"===n.type||M(n,"button")},text:function(n){var l;return M(n,"input")&&"text"===n.type&&(null==(l=n.getAttribute("type"))||"text"===l.toLowerCase())},first:un((function(){return[0]})),last:un((function(n,l){return[l-1]})),eq:un((function(n,l,e){return[e<0?e+l:e]})),even:un((function(n,l){for(var e=0;el?l:e;--t>=0;)n.push(t);return n})),gt:un((function(n,l,e){for(var t=e<0?e+l:e;++t1?function(l,e,t){for(var i=n.length;i--;)if(!n[i](l,e,t))return!1;return!0}:n[0]}function mn(n,l,e,t,i){for(var o,r=[],u=0,a=n.length,s=null!=l;u-1&&(o[s]=!(r[s]=p))}}else g=mn(g===r?g.splice(b,g.length):g),i?i(null,r,g,a):m.apply(r,g)}))}function bn(n){for(var e,i,o,r=n.length,u=l.relative[n[0].type],a=u||l.relative[" "],s=u?1:0,c=gn((function(n){return n===e}),a,!0),p=gn((function(n){return d.call(e,n)>-1}),a,!0),g=[function(n,l,i){var o=!u&&(i||l!=t)||((e=l).nodeType?c(n,l,i):p(n,l,i));return e=null,o}];s1&&hn(g),s>1&&pn(n.slice(0,s-1).concat({value:" "===n[s-2].type?"*":""})).replace(D,"$1"),i,s0,o=n.length>0,r=function(r,a,s,d,p){var g,h,f,b=0,y="0",C=r&&[],w=[],_=t,x=r||o&&l.find.TAG("*",p),P=v+=null==_?1:Math.random()||.1,O=x.length;for(p&&(t=a==u||a||p);y!==O&&null!=(g=x[y]);y++){if(o&&g){for(h=0,a||g.ownerDocument==u||(sn(g),s=!c);f=n[h++];)if(f(g,a||u,s)){m.call(d,g);break}p&&(v=P)}i&&((g=!f&&g)&&b--,r&&C.push(g))}if(b+=y,i&&y!==b){for(h=0;f=e[h++];)f(C,w,a,s);if(r){if(b>0)for(;y--;)C[y]||w[y]||(w[y]=k.call(d));w=mn(w)}m.apply(d,w),p&&!r&&w.length>0&&b+e.length>1&&A.uniqueSort(d)}return p&&(v=P,t=_),C};return i?ln(r):r}(r,o))).selector=n}return a}function yn(n,e,t,i){var o,r,u,a,s,d="function"==typeof n&&n,p=!i&&dn(n=d.selector||n);if(t=t||[],1===p.length){if((r=p[0]=p[0].slice(0)).length>2&&"ID"===(u=r[0]).type&&9===e.nodeType&&c&&l.relative[r[1].type]){if(!(e=(l.find.ID(u.matches[0].replace(K,$),e)||[])[0]))return t;d&&(e=e.parentNode),n=n.slice(r.shift().value.length)}for(o=q.needsContext.test(n)?0:r.length;o--&&(u=r[o],!l.relative[a=u.type]);)if((s=l.find[a])&&(i=s(u.matches[0].replace(K,$),Q.test(r[0].type)&&an(e.parentNode)||e))){if(r.splice(o,1),!(n=i.length&&pn(r)))return m.apply(t,i),t;break}}return(d||vn(n,p))(i,e,!c,t,!e||Q.test(n)&&an(e.parentNode)||e),t}cn.prototype=l.filters=l.pseudos,l.setFilters=new cn,b.sortStable=f.split("").sort(P).join("")===f,sn(),b.sortDetached=en((function(n){return 1&n.compareDocumentPosition(u.createElement("fieldset"))})),A.find=Z,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,Z.compile=vn,Z.select=yn,Z.setDocument=sn,Z.tokenize=dn,Z.escape=A.escapeSelector,Z.getText=A.text,Z.isXML=A.isXMLDoc,Z.selectors=A.expr,Z.support=A.support,Z.uniqueSort=A.uniqueSort}();var F=function(n,l,e){for(var t=[],i=void 0!==e;(n=n[l])&&9!==n.nodeType;)if(1===n.nodeType){if(i&&A(n).is(e))break;t.push(n)}return t},B=function(n,l){for(var e=[];n;n=n.nextSibling)1===n.nodeType&&n!==l&&e.push(n);return e},j=A.expr.match.needsContext,z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(n,l,e){return v(l)?A.grep(n,(function(n,t){return!!l.call(n,t,n)!==e})):l.nodeType?A.grep(n,(function(n){return n===l!==e})):"string"!=typeof l?A.grep(n,(function(n){return d.call(l,n)>-1!==e})):A.filter(l,n,e)}A.filter=function(n,l,e){var t=l[0];return e&&(n=":not("+n+")"),1===l.length&&1===t.nodeType?A.find.matchesSelector(t,n)?[t]:[]:A.find.matches(n,A.grep(l,(function(n){return 1===n.nodeType})))},A.fn.extend({find:function(n){var l,e,t=this.length,i=this;if("string"!=typeof n)return this.pushStack(A(n).filter((function(){for(l=0;l1?A.uniqueSort(e):e},filter:function(n){return this.pushStack(V(this,n||[],!1))},not:function(n){return this.pushStack(V(this,n||[],!0))},is:function(n){return!!V(this,"string"==typeof n&&j.test(n)?A(n):n||[],!1).length}});var U,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(n,l,e){var t,i;if(!n)return this;if(e=e||U,"string"==typeof n){if(!(t="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:H.exec(n))||!t[1]&&l)return!l||l.jquery?(l||e).find(n):this.constructor(l).find(n);if(t[1]){if(l=l instanceof A?l[0]:l,A.merge(this,A.parseHTML(t[1],l&&l.nodeType?l.ownerDocument||l:C,!0)),z.test(t[1])&&A.isPlainObject(l))for(t in l)v(this[t])?this[t](l[t]):this.attr(t,l[t]);return this}return(i=C.getElementById(t[2]))&&(this[0]=i,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):v(n)?void 0!==e.ready?e.ready(n):n(A):A.makeArray(n,this)}).prototype=A.fn,U=A(C);var q=/^(?:parents|prev(?:Until|All))/,G={children:!0,contents:!0,next:!0,prev:!0};function Y(n,l){for(;(n=n[l])&&1!==n.nodeType;);return n}A.fn.extend({has:function(n){var l=A(n,this),e=l.length;return this.filter((function(){for(var n=0;n-1:1===e.nodeType&&A.find.matchesSelector(e,n))){o.push(e);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(n){return n?"string"==typeof n?d.call(A(n),this[0]):d.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,l){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(n,l))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}}),A.each({parent:function(n){var l=n.parentNode;return l&&11!==l.nodeType?l:null},parents:function(n){return F(n,"parentNode")},parentsUntil:function(n,l,e){return F(n,"parentNode",e)},next:function(n){return Y(n,"nextSibling")},prev:function(n){return Y(n,"previousSibling")},nextAll:function(n){return F(n,"nextSibling")},prevAll:function(n){return F(n,"previousSibling")},nextUntil:function(n,l,e){return F(n,"nextSibling",e)},prevUntil:function(n,l,e){return F(n,"previousSibling",e)},siblings:function(n){return B((n.parentNode||{}).firstChild,n)},children:function(n){return B(n.firstChild)},contents:function(n){return null!=n.contentDocument&&u(n.contentDocument)?n.contentDocument:(M(n,"template")&&(n=n.content||n),A.merge([],n.childNodes))}},(function(n,l){A.fn[n]=function(e,t){var i=A.map(this,l,e);return"Until"!==n.slice(-5)&&(t=e),t&&"string"==typeof t&&(i=A.filter(t,i)),this.length>1&&(G[n]||A.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 $(n,l,e,t){var i;try{n&&v(i=n.promise)?i.call(n).done(l).fail(e):n&&v(i=n.then)?i.call(n,l,e):l.apply(void 0,[n].slice(t))}catch(n){e.apply(void 0,[n])}}A.Callbacks=function(n){n="string"==typeof n?function(n){var l={};return A.each(n.match(W)||[],(function(n,e){l[e]=!0})),l}(n):A.extend({},n);var l,e,t,i,o=[],r=[],u=-1,a=function(){for(i=i||n.once,t=l=!0;r.length;u=-1)for(e=r.shift();++u-1;)o.splice(e,1),e<=u&&u--})),this},has:function(n){return n?A.inArray(n,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=e="",this},disabled:function(){return!o},lock:function(){return i=r=[],e||l||(o=e=""),this},locked:function(){return!!i},fireWith:function(n,e){return i||(e=[n,(e=e||[]).slice?e.slice():e],r.push(e),l||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!t}};return s},A.extend({Deferred:function(n){var l=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],t="pending",i={state:function(){return t},always:function(){return o.done(arguments).fail(arguments),this},catch:function(n){return i.then(null,n)},pipe:function(){var n=arguments;return A.Deferred((function(e){A.each(l,(function(l,t){var i=v(n[t[4]])&&n[t[4]];o[t[1]]((function(){var n=i&&i.apply(this,arguments);n&&v(n.promise)?n.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[t[0]+"With"](this,i?[n]:arguments)}))})),n=null})).promise()},then:function(n,t,i){var o=0;function r(n,l,t,i){return function(){var u=this,a=arguments,s=function(){var e,s;if(!(n=o&&(t!==K&&(u=void 0,a=[e]),l.rejectWith(u,a))}};n?c():(A.Deferred.getErrorHook?c.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(c.error=A.Deferred.getStackHook()),e.setTimeout(c))}}return A.Deferred((function(e){l[0][3].add(r(0,e,v(i)?i:Q,e.notifyWith)),l[1][3].add(r(0,e,v(n)?n:Q)),l[2][3].add(r(0,e,v(t)?t:K))})).promise()},promise:function(n){return null!=n?A.extend(n,i):i}},o={};return A.each(l,(function(n,e){var r=e[2],u=e[5];i[e[1]]=r.add,u&&r.add((function(){t=u}),l[3-n][2].disable,l[3-n][3].disable,l[0][2].lock,l[0][3].lock),r.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=r.fireWith})),i.promise(o),n&&n.call(o,o),o},when:function(n){var l=arguments.length,e=l,t=Array(e),i=a.call(arguments),o=A.Deferred(),r=function(n){return function(e){t[n]=this,i[n]=arguments.length>1?a.call(arguments):e,--l||o.resolveWith(t,i)}};if(l<=1&&($(n,o.done(r(e)).resolve,o.reject,!l),"pending"===o.state()||v(i[e]&&i[e].then)))return o.then();for(;e--;)$(i[e],r(e),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(n,l){e.console&&e.console.warn&&n&&X.test(n.name)&&e.console.warn("jQuery.Deferred exception: "+n.message,n.stack,l)},A.readyException=function(n){e.setTimeout((function(){throw n}))};var J=A.Deferred();function Z(){C.removeEventListener("DOMContentLoaded",Z),e.removeEventListener("load",Z),A.ready()}A.fn.ready=function(n){return J.then(n).catch((function(n){A.readyException(n)})),this},A.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==n&&--A.readyWait>0||J.resolveWith(C,[A]))}}),A.ready.then=J.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?e.setTimeout(A.ready):(C.addEventListener("DOMContentLoaded",Z),e.addEventListener("load",Z));var nn=function(n,l,e,t,i,o,r){var u=0,a=n.length,s=null==e;if("object"===x(e))for(u in i=!0,e)nn(n,l,u,e[u],!0,o,r);else if(void 0!==t&&(i=!0,v(t)||(r=!0),s&&(r?(l.call(n,t),l=null):(s=l,l=function(n,l,e){return s.call(A(n),e)})),l))for(;u1,null,!0)},removeData:function(n){return this.each((function(){sn.remove(this,n)}))}}),A.extend({queue:function(n,l,e){var t;if(n)return l=(l||"fx")+"queue",t=an.get(n,l),e&&(!t||Array.isArray(e)?t=an.access(n,l,A.makeArray(e)):t.push(e)),t||[]},dequeue:function(n,l){l=l||"fx";var e=A.queue(n,l),t=e.length,i=e.shift(),o=A._queueHooks(n,l);"inprogress"===i&&(i=e.shift(),t--),i&&("fx"===l&&e.unshift("inprogress"),delete o.stop,i.call(n,(function(){A.dequeue(n,l)}),o)),!t&&o&&o.empty.fire()},_queueHooks:function(n,l){var e=l+"queueHooks";return an.get(n,e)||an.access(n,e,{empty:A.Callbacks("once memory").add((function(){an.remove(n,[l+"queue",e])}))})}}),A.fn.extend({queue:function(n,l){var e=2;return"string"!=typeof n&&(l=n,n="fx",e--),arguments.length\x20\t\r\n\f]*)/i,kn=/^$|^module$|\/(?:java|ecma)script/i;Pn=C.createDocumentFragment().appendChild(C.createElement("div")),(An=C.createElement("input")).setAttribute("type","radio"),An.setAttribute("checked","checked"),An.setAttribute("name","t"),Pn.appendChild(An),b.checkClone=Pn.cloneNode(!0).cloneNode(!0).lastChild.checked,Pn.innerHTML="",b.noCloneChecked=!!Pn.cloneNode(!0).lastChild.defaultValue,Pn.innerHTML="",b.option=!!Pn.lastChild;var Sn={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function In(n,l){var e;return e=void 0!==n.getElementsByTagName?n.getElementsByTagName(l||"*"):void 0!==n.querySelectorAll?n.querySelectorAll(l||"*"):[],void 0===l||l&&M(n,l)?A.merge([n],e):e}function Tn(n,l){for(var e=0,t=n.length;e",""]);var Dn=/<|&#?\w+;/;function En(n,l,e,t,i){for(var o,r,u,a,s,c,d=l.createDocumentFragment(),p=[],g=0,h=n.length;g-1)i&&i.push(o);else if(s=bn(o),r=In(d.appendChild(o),"script"),s&&Tn(r),e)for(c=0;o=r[c++];)kn.test(o.type||"")&&e.push(o);return d}var Rn=/^([^.]*)(?:\.(.+)|)/;function Nn(){return!0}function Ln(){return!1}function Fn(n,l,e,t,i,o){var r,u;if("object"==typeof l){for(u in"string"!=typeof e&&(t=t||e,e=void 0),l)Fn(n,u,e,t,l[u],o);return n}if(null==t&&null==i?(i=e,t=e=void 0):null==i&&("string"==typeof e?(i=t,t=void 0):(i=t,t=e,e=void 0)),!1===i)i=Ln;else if(!i)return n;return 1===o&&(r=i,(i=function(n){return A().off(n),r.apply(this,arguments)}).guid=r.guid||(r.guid=A.guid++)),n.each((function(){A.event.add(this,l,i,t,e)}))}function Bn(n,l,e){e?(an.set(n,l,!1),A.event.add(n,l,{namespace:!1,handler:function(n){var e,t=an.get(this,l);if(1&n.isTrigger&&this[l]){if(t)(A.event.special[l]||{}).delegateType&&n.stopPropagation();else if(t=a.call(arguments),an.set(this,l,t),this[l](),e=an.get(this,l),an.set(this,l,!1),t!==e)return n.stopImmediatePropagation(),n.preventDefault(),e}else t&&(an.set(this,l,A.event.trigger(t[0],t.slice(1),this)),n.stopPropagation(),n.isImmediatePropagationStopped=Nn)}})):void 0===an.get(n,l)&&A.event.add(n,l,Nn)}A.event={global:{},add:function(n,l,e,t,i){var o,r,u,a,s,c,d,p,g,h,m,f=an.get(n);if(rn(n))for(e.handler&&(e=(o=e).handler,i=o.selector),i&&A.find.matchesSelector(fn,i),e.guid||(e.guid=A.guid++),(a=f.events)||(a=f.events=Object.create(null)),(r=f.handle)||(r=f.handle=function(l){return void 0!==A&&A.event.triggered!==l.type?A.event.dispatch.apply(n,arguments):void 0}),s=(l=(l||"").match(W)||[""]).length;s--;)g=m=(u=Rn.exec(l[s])||[])[1],h=(u[2]||"").split(".").sort(),g&&(d=A.event.special[g]||{},g=(i?d.delegateType:d.bindType)||g,d=A.event.special[g]||{},c=A.extend({type:g,origType:m,data:t,handler:e,guid:e.guid,selector:i,needsContext:i&&A.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=a[g])||((p=a[g]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(n,t,h,r)||n.addEventListener&&n.addEventListener(g,r)),d.add&&(d.add.call(n,c),c.handler.guid||(c.handler.guid=e.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),A.event.global[g]=!0)},remove:function(n,l,e,t,i){var o,r,u,a,s,c,d,p,g,h,m,f=an.hasData(n)&&an.get(n);if(f&&(a=f.events)){for(s=(l=(l||"").match(W)||[""]).length;s--;)if(g=m=(u=Rn.exec(l[s])||[])[1],h=(u[2]||"").split(".").sort(),g){for(d=A.event.special[g]||{},p=a[g=(t?d.delegateType:d.bindType)||g]||[],u=u[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)c=p[o],!i&&m!==c.origType||e&&e.guid!==c.guid||u&&!u.test(c.namespace)||t&&t!==c.selector&&("**"!==t||!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,h,f.handle)||A.removeEvent(n,g,f.handle),delete a[g])}else for(g in a)A.event.remove(n,g+l[s],e,t,!0);A.isEmptyObject(a)&&an.remove(n,"handle events")}},dispatch:function(n){var l,e,t,i,o,r,u=new Array(arguments.length),a=A.event.fix(n),s=(an.get(this,"events")||Object.create(null))[a.type]||[],c=A.event.special[a.type]||{};for(u[0]=a,l=1;l=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==n.type||!0!==s.disabled)){for(o=[],r={},e=0;e-1:A.find(i,this,null,[s]).length),r[i]&&o.push(t);o.length&&u.push({elem:s,handlers:o})}return s=this,a\s*$/g;function Un(n,l){return M(n,"table")&&M(11!==l.nodeType?l:l.firstChild,"tr")&&A(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 Gn(n,l){var e,t,i,o,r,u;if(1===l.nodeType){if(an.hasData(n)&&(u=an.get(n).events))for(i in an.remove(l,"handle events"),u)for(e=0,t=u[i].length;e1&&"string"==typeof h&&!b.checkClone&&zn.test(h))return n.each((function(i){var o=n.eq(i);m&&(l[0]=h.call(this,i,o.html())),Wn(o,l,e,t)}));if(p&&(o=(i=En(l,n[0].ownerDocument,!1,n,t)).firstChild,1===i.childNodes.length&&(i=o),o||t)){for(u=(r=A.map(In(i,"script"),Hn)).length;d0&&Tn(r,!a&&In(n,"script")),u},cleanData:function(n){for(var l,e,t,i=A.event.special,o=0;void 0!==(e=n[o]);o++)if(rn(e)){if(l=e[an.expando]){if(l.events)for(t in l.events)i[t]?A.event.remove(e,t):A.removeEvent(e,t,l.handle);e[an.expando]=void 0}e[sn.expando]&&(e[sn.expando]=void 0)}}}),A.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?A.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||Un(this,n).appendChild(n)}))},prepend:function(){return Wn(this,arguments,(function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var l=Un(this,n);l.insertBefore(n,l.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,l=0;null!=(n=this[l]);l++)1===n.nodeType&&(A.cleanData(In(n,!1)),n.textContent="");return this},clone:function(n,l){return n=null!=n&&n,l=null==l?n:l,this.map((function(){return A.clone(this,n,l)}))},html:function(n){return nn(this,(function(n){var l=this[0]||{},e=0,t=this.length;if(void 0===n&&1===l.nodeType)return l.innerHTML;if("string"==typeof n&&!jn.test(n)&&!Sn[(Mn.exec(n)||["",""])[1].toLowerCase()]){n=A.htmlPrefilter(n);try{for(;e=0&&(a+=Math.max(0,Math.ceil(n["offset"+l[0].toUpperCase()+l.slice(1)]-o-a-u-.5))||0),a+s}function dl(n,l,e){var t=Xn(n),i=(!b.boxSizingReliable()||e)&&"border-box"===A.css(n,"boxSizing",!1,t),o=i,r=nl(n,l,t),u="offset"+l[0].toUpperCase()+l.slice(1);if(Kn.test(r)){if(!e)return r;r="auto"}return(!b.boxSizingReliable()&&i||!b.reliableTrDimensions()&&M(n,"tr")||"auto"===r||!parseFloat(r)&&"inline"===A.css(n,"display",!1,t))&&n.getClientRects().length&&(i="border-box"===A.css(n,"boxSizing",!1,t),(o=u in n)&&(r=n[u])),(r=parseFloat(r)||0)+cl(n,l,e||(i?"border":"content"),o,t,r)+"px"}function pl(n,l,e,t,i){return new pl.prototype.init(n,l,e,t,i)}A.extend({cssHooks:{opacity:{get:function(n,l){if(l){var e=nl(n,"opacity");return""===e?"1":e}}}},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,l,e,t){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var i,o,r,u=on(l),a=$n.test(l),s=n.style;if(a||(l=ol(u)),r=A.cssHooks[l]||A.cssHooks[u],void 0===e)return r&&"get"in r&&void 0!==(i=r.get(n,!1,t))?i:s[l];"string"===(o=typeof e)&&(i=hn.exec(e))&&i[1]&&(e=Cn(n,l,i),o="number"),null!=e&&e==e&&("number"!==o||a||(e+=i&&i[3]||(A.cssNumber[u]?"":"px")),b.clearCloneStyle||""!==e||0!==l.indexOf("background")||(s[l]="inherit"),r&&"set"in r&&void 0===(e=r.set(n,e,t))||(a?s.setProperty(l,e):s[l]=e))}},css:function(n,l,e,t){var i,o,r,u=on(l);return $n.test(l)||(l=ol(u)),(r=A.cssHooks[l]||A.cssHooks[u])&&"get"in r&&(i=r.get(n,!0,e)),void 0===i&&(i=nl(n,l,t)),"normal"===i&&l in al&&(i=al[l]),""===e||e?(o=parseFloat(i),!0===e||isFinite(o)?o||0:i):i}}),A.each(["height","width"],(function(n,l){A.cssHooks[l]={get:function(n,e,t){if(e)return!rl.test(A.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?dl(n,l,t):Jn(n,ul,(function(){return dl(n,l,t)}))},set:function(n,e,t){var i,o=Xn(n),r=!b.scrollboxSize()&&"absolute"===o.position,u=(r||t)&&"border-box"===A.css(n,"boxSizing",!1,o),a=t?cl(n,l,t,u,o):0;return u&&r&&(a-=Math.ceil(n["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(o[l])-cl(n,l,"border",!1,o)-.5)),a&&(i=hn.exec(e))&&"px"!==(i[3]||"px")&&(n.style[l]=e,e=A.css(n,l)),sl(0,e,a)}}})),A.cssHooks.marginLeft=ll(b.reliableMarginLeft,(function(n,l){if(l)return(parseFloat(nl(n,"marginLeft"))||n.getBoundingClientRect().left-Jn(n,{marginLeft:0},(function(){return n.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(n,l){A.cssHooks[n+l]={expand:function(e){for(var t=0,i={},o="string"==typeof e?e.split(" "):[e];t<4;t++)i[n+mn[t]+l]=o[t]||o[t-2]||o[0];return i}},"margin"!==n&&(A.cssHooks[n+l].set=sl)})),A.fn.extend({css:function(n,l){return nn(this,(function(n,l,e){var t,i,o={},r=0;if(Array.isArray(l)){for(t=Xn(n),i=l.length;r1)}}),A.Tween=pl,pl.prototype={constructor:pl,init:function(n,l,e,t,i,o){this.elem=n,this.prop=e,this.easing=i||A.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=t,this.unit=o||(A.cssNumber[e]?"":"px")},cur:function(){var n=pl.propHooks[this.prop];return n&&n.get?n.get(this):pl.propHooks._default.get(this)},run:function(n){var l,e=pl.propHooks[this.prop];return this.options.duration?this.pos=l=A.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):this.pos=l=n,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):pl.propHooks._default.set(this),this}},pl.prototype.init.prototype=pl.prototype,pl.propHooks={_default:{get:function(n){var l;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(l=A.css(n.elem,n.prop,""))&&"auto"!==l?l:0},set:function(n){A.fx.step[n.prop]?A.fx.step[n.prop](n):1!==n.elem.nodeType||!A.cssHooks[n.prop]&&null==n.elem.style[ol(n.prop)]?n.elem[n.prop]=n.now:A.style(n.elem,n.prop,n.now+n.unit)}}},pl.propHooks.scrollTop=pl.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},A.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"},A.fx=pl.prototype.init,A.fx.step={};var gl,hl,ml=/^(?:toggle|show|hide)$/,fl=/queueHooks$/;function bl(){hl&&(!1===C.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(bl):e.setTimeout(bl,A.fx.interval),A.fx.tick())}function vl(){return e.setTimeout((function(){gl=void 0})),gl=Date.now()}function yl(n,l){var e,t=0,i={height:n};for(l=l?1:0;t<4;t+=2-l)i["margin"+(e=mn[t])]=i["padding"+e]=n;return l&&(i.opacity=i.width=n),i}function Cl(n,l,e){for(var t,i=(wl.tweeners[l]||[]).concat(wl.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(n){return this.each((function(){A.removeAttr(this,n)}))}}),A.extend({attr:function(n,l,e){var t,i,o=n.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===n.getAttribute?A.prop(n,l,e):(1===o&&A.isXMLDoc(n)||(i=A.attrHooks[l.toLowerCase()]||(A.expr.match.bool.test(l)?_l:void 0)),void 0!==e?null===e?void A.removeAttr(n,l):i&&"set"in i&&void 0!==(t=i.set(n,e,l))?t:(n.setAttribute(l,e+""),e):i&&"get"in i&&null!==(t=i.get(n,l))?t:null==(t=A.find.attr(n,l))?void 0:t)},attrHooks:{type:{set:function(n,l){if(!b.radioValue&&"radio"===l&&M(n,"input")){var e=n.value;return n.setAttribute("type",l),e&&(n.value=e),l}}}},removeAttr:function(n,l){var e,t=0,i=l&&l.match(W);if(i&&1===n.nodeType)for(;e=i[t++];)n.removeAttribute(e)}}),_l={set:function(n,l,e){return!1===l?A.removeAttr(n,e):n.setAttribute(e,e),e}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(n,l){var e=xl[l]||A.find.attr;xl[l]=function(n,l,t){var i,o,r=l.toLowerCase();return t||(o=xl[r],xl[r]=i,i=null!=e(n,l,t)?r:null,xl[r]=o),i}}));var Pl=/^(?:input|select|textarea|button)$/i,Al=/^(?:a|area)$/i;function Ol(n){return(n.match(W)||[]).join(" ")}function Ml(n){return n.getAttribute&&n.getAttribute("class")||""}function kl(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(W)||[]}A.fn.extend({prop:function(n,l){return nn(this,A.prop,n,l,arguments.length>1)},removeProp:function(n){return this.each((function(){delete this[A.propFix[n]||n]}))}}),A.extend({prop:function(n,l,e){var t,i,o=n.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(n)||(l=A.propFix[l]||l,i=A.propHooks[l]),void 0!==e?i&&"set"in i&&void 0!==(t=i.set(n,e,l))?t:n[l]=e:i&&"get"in i&&null!==(t=i.get(n,l))?t:n[l]},propHooks:{tabIndex:{get:function(n){var l=A.find.attr(n,"tabindex");return l?parseInt(l,10):Pl.test(n.nodeName)||Al.test(n.nodeName)&&n.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(A.propHooks.selected={get:function(n){var l=n.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(n){var l=n.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(n){var l,e,t,i,o,r;return v(n)?this.each((function(l){A(this).addClass(n.call(this,l,Ml(this)))})):(l=kl(n)).length?this.each((function(){if(t=Ml(this),e=1===this.nodeType&&" "+Ol(t)+" "){for(o=0;o-1;)e=e.replace(" "+i+" "," ");r=Ol(e),t!==r&&this.setAttribute("class",r)}})):this:this.attr("class","")},toggleClass:function(n,l){var e,t,i,o,r=typeof n,u="string"===r||Array.isArray(n);return v(n)?this.each((function(e){A(this).toggleClass(n.call(this,e,Ml(this),l),l)})):"boolean"==typeof l&&u?l?this.addClass(n):this.removeClass(n):(e=kl(n),this.each((function(){if(u)for(o=A(this),i=0;i-1)return!0;return!1}});var Sl=/\r/g;A.fn.extend({val:function(n){var l,e,t,i=this[0];return arguments.length?(t=v(n),this.each((function(e){var i;1===this.nodeType&&(null==(i=t?n.call(this,e,A(this).val()):n)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=A.map(i,(function(n){return null==n?"":n+""}))),(l=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in l&&void 0!==l.set(this,i,"value")||(this.value=i))}))):i?(l=A.valHooks[i.type]||A.valHooks[i.nodeName.toLowerCase()])&&"get"in l&&void 0!==(e=l.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(Sl,""):null==e?"":e:void 0}}),A.extend({valHooks:{option:{get:function(n){var l=A.find.attr(n,"value");return null!=l?l:Ol(A.text(n))}},select:{get:function(n){var l,e,t,i=n.options,o=n.selectedIndex,r="select-one"===n.type,u=r?null:[],a=r?o+1:i.length;for(t=o<0?a:r?o:0;t-1)&&(e=!0);return e||(n.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(n,l){if(Array.isArray(l))return n.checked=A.inArray(A(n).val(),l)>-1}},b.checkOn||(A.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})}));var Il=e.location,Tl={guid:Date.now()},Dl=/\?/;A.parseXML=function(n){var l,t;if(!n||"string"!=typeof n)return null;try{l=(new e.DOMParser).parseFromString(n,"text/xml")}catch(i){}return t=l&&l.getElementsByTagName("parsererror")[0],l&&!t||A.error("Invalid XML: "+(t?A.map(t.childNodes,(function(n){return n.textContent})).join("\n"):n)),l};var El=/^(?:focusinfocus|focusoutblur)$/,Rl=function(n){n.stopPropagation()};A.extend(A.event,{trigger:function(n,l,t,i){var o,r,u,a,s,c,d,p,g=[t||C],m=h.call(n,"type")?n.type:n,f=h.call(n,"namespace")?n.namespace.split("."):[];if(r=p=u=t=t||C,3!==t.nodeType&&8!==t.nodeType&&!El.test(m+A.event.triggered)&&(m.indexOf(".")>-1&&(f=m.split("."),m=f.shift(),f.sort()),s=m.indexOf(":")<0&&"on"+m,(n=n[A.expando]?n:new A.Event(m,"object"==typeof n&&n)).isTrigger=i?2:3,n.namespace=f.join("."),n.rnamespace=n.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=void 0,n.target||(n.target=t),l=null==l?[n]:A.makeArray(l,[n]),d=A.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(t,l))){if(!i&&!d.noBubble&&!y(t)){for(a=d.delegateType||m,El.test(a+m)||(r=r.parentNode);r;r=r.parentNode)g.push(r),u=r;u===(t.ownerDocument||C)&&g.push(u.defaultView||u.parentWindow||e)}for(o=0;(r=g[o++])&&!n.isPropagationStopped();)p=r,n.type=o>1?a:d.bindType||m,(c=(an.get(r,"events")||Object.create(null))[n.type]&&an.get(r,"handle"))&&c.apply(r,l),(c=s&&r[s])&&c.apply&&rn(r)&&(n.result=c.apply(r,l),!1===n.result&&n.preventDefault());return n.type=m,i||n.isDefaultPrevented()||d._default&&!1!==d._default.apply(g.pop(),l)||!rn(t)||s&&v(t[m])&&!y(t)&&((u=t[s])&&(t[s]=null),A.event.triggered=m,n.isPropagationStopped()&&p.addEventListener(m,Rl),t[m](),n.isPropagationStopped()&&p.removeEventListener(m,Rl),A.event.triggered=void 0,u&&(t[s]=u)),n.result}},simulate:function(n,l,e){var t=A.extend(new A.Event,e,{type:n,isSimulated:!0});A.event.trigger(t,null,l)}}),A.fn.extend({trigger:function(n,l){return this.each((function(){A.event.trigger(n,l,this)}))},triggerHandler:function(n,l){var e=this[0];if(e)return A.event.trigger(n,l,e,!0)}});var Nl=/\[\]$/,Ll=/\r?\n/g,Fl=/^(?:submit|button|image|reset|file)$/i,Bl=/^(?:input|select|textarea|keygen)/i;function jl(n,l,e,t){var i;if(Array.isArray(l))A.each(l,(function(l,i){e||Nl.test(n)?t(n,i):jl(n+"["+("object"==typeof i&&null!=i?l:"")+"]",i,e,t)}));else if(e||"object"!==x(l))t(n,l);else for(i in l)jl(n+"["+i+"]",l[i],e,t)}A.param=function(n,l){var e,t=[],i=function(n,l){var e=v(l)?l():l;t[t.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==e?"":e)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!A.isPlainObject(n))A.each(n,(function(){i(this.name,this.value)}));else for(e in n)jl(e,n[e],l,i);return t.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var n=A.prop(this,"elements");return n?A.makeArray(n):this})).filter((function(){var n=this.type;return this.name&&!A(this).is(":disabled")&&Bl.test(this.nodeName)&&!Fl.test(n)&&(this.checked||!On.test(n))})).map((function(n,l){var e=A(this).val();return null==e?null:Array.isArray(e)?A.map(e,(function(n){return{name:l.name,value:n.replace(Ll,"\r\n")}})):{name:l.name,value:e.replace(Ll,"\r\n")}})).get()}});var zl=/%20/g,Vl=/#.*$/,Ul=/([?&])_=[^&]*/,Hl=/^(.*?):[ \t]*([^\r\n]*)$/gm,ql=/^(?:GET|HEAD)$/,Gl=/^\/\//,Yl={},Wl={},Ql="*/".concat("*"),Kl=C.createElement("a");function $l(n){return function(l,e){"string"!=typeof l&&(e=l,l="*");var t,i=0,o=l.toLowerCase().match(W)||[];if(v(e))for(;t=o[i++];)"+"===t[0]?(t=t.slice(1)||"*",(n[t]=n[t]||[]).unshift(e)):(n[t]=n[t]||[]).push(e)}}function Xl(n,l,e,t){var i={},o=n===Wl;function r(u){var a;return i[u]=!0,A.each(n[u]||[],(function(n,u){var s=u(l,e,t);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(l.dataTypes.unshift(s),r(s),!1)})),a}return r(l.dataTypes[0])||!i["*"]&&r("*")}function Jl(n,l){var e,t,i=A.ajaxSettings.flatOptions||{};for(e in l)void 0!==l[e]&&((i[e]?n:t||(t={}))[e]=l[e]);return t&&A.extend(!0,n,t),n}Kl.href=Il.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Il.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Il.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ql,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":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,l){return l?Jl(Jl(n,A.ajaxSettings),l):Jl(A.ajaxSettings,n)},ajaxPrefilter:$l(Yl),ajaxTransport:$l(Wl),ajax:function(n,l){"object"==typeof n&&(l=n,n=void 0),l=l||{};var t,i,o,r,u,a,s,c,d,p,g=A.ajaxSetup({},l),h=g.context||g,m=g.context&&(h.nodeType||h.jquery)?A(h):A.event,f=A.Deferred(),b=A.Callbacks("once memory"),v=g.statusCode||{},y={},w={},_="canceled",x={readyState:0,getResponseHeader:function(n){var l;if(s){if(!r)for(r={};l=Hl.exec(o);)r[l[1].toLowerCase()+" "]=(r[l[1].toLowerCase()+" "]||[]).concat(l[2]);l=r[n.toLowerCase()+" "]}return null==l?null:l.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(n,l){return null==s&&(n=w[n.toLowerCase()]=w[n.toLowerCase()]||n,y[n]=l),this},overrideMimeType:function(n){return null==s&&(g.mimeType=n),this},statusCode:function(n){var l;if(n)if(s)x.always(n[x.status]);else for(l in n)v[l]=[v[l],n[l]];return this},abort:function(n){var l=n||_;return t&&t.abort(l),P(0,l),this}};if(f.promise(x),g.url=((n||g.url||Il.href)+"").replace(Gl,Il.protocol+"//"),g.type=l.method||l.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(W)||[""],null==g.crossDomain){a=C.createElement("a");try{a.href=g.url,a.href=a.href,g.crossDomain=Kl.protocol+"//"+Kl.host!=a.protocol+"//"+a.host}catch(O){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=A.param(g.data,g.traditional)),Xl(Yl,g,l,x),s)return x;for(d in(c=A.event&&g.global)&&0==A.active++&&A.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!ql.test(g.type),i=g.url.replace(Vl,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(zl,"+")):(p=g.url.slice(i.length),g.data&&(g.processData||"string"==typeof g.data)&&(i+=(Dl.test(i)?"&":"?")+g.data,delete g.data),!1===g.cache&&(i=i.replace(Ul,"$1"),p=(Dl.test(i)?"&":"?")+"_="+Tl.guid+++p),g.url=i+p),g.ifModified&&(A.lastModified[i]&&x.setRequestHeader("If-Modified-Since",A.lastModified[i]),A.etag[i]&&x.setRequestHeader("If-None-Match",A.etag[i])),(g.data&&g.hasContent&&!1!==g.contentType||l.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Ql+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(d,g.headers[d]);if(g.beforeSend&&(!1===g.beforeSend.call(h,x,g)||s))return x.abort();if(_="abort",b.add(g.complete),x.done(g.success),x.fail(g.error),t=Xl(Wl,g,l,x)){if(x.readyState=1,c&&m.trigger("ajaxSend",[x,g]),s)return x;g.async&&g.timeout>0&&(u=e.setTimeout((function(){x.abort("timeout")}),g.timeout));try{s=!1,t.send(y,P)}catch(O){if(s)throw O;P(-1,O)}}else P(-1,"No Transport");function P(n,l,r,a){var d,p,y,C,w,_=l;s||(s=!0,u&&e.clearTimeout(u),t=void 0,o=a||"",x.readyState=n>0?4:0,d=n>=200&&n<300||304===n,r&&(C=function(n,l,e){for(var t,i,o,r,u=n.contents,a=n.dataTypes;"*"===a[0];)a.shift(),void 0===t&&(t=n.mimeType||l.getResponseHeader("Content-Type"));if(t)for(i in u)if(u[i]&&u[i].test(t)){a.unshift(i);break}if(a[0]in e)o=a[0];else{for(i in e){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),e[o]}(g,x,r)),!d&&A.inArray("script",g.dataTypes)>-1&&A.inArray("json",g.dataTypes)<0&&(g.converters["text script"]=function(){}),C=function(n,l,e,t){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]&&(e[n.responseFields[o]]=l),!a&&t&&n.dataFilter&&(l=n.dataFilter(l,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)l=r(l);else try{l=r(l)}catch(O){return{state:"parsererror",error:r?O:"No conversion from "+a+" to "+o}}}return{state:"success",data:l}}(g,C,x,d),d?(g.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(A.lastModified[i]=w),(w=x.getResponseHeader("etag"))&&(A.etag[i]=w)),204===n||"HEAD"===g.type?_="nocontent":304===n?_="notmodified":(_=C.state,p=C.data,d=!(y=C.error))):(y=_,!n&&_||(_="error",n<0&&(n=0))),x.status=n,x.statusText=(l||_)+"",d?f.resolveWith(h,[p,_,x]):f.rejectWith(h,[x,_,y]),x.statusCode(v),v=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[x,g,d?p:y]),b.fireWith(h,[x,_]),c&&(m.trigger("ajaxComplete",[x,g]),--A.active||A.event.trigger("ajaxStop")))}return x},getJSON:function(n,l,e){return A.get(n,l,e,"json")},getScript:function(n,l){return A.get(n,void 0,l,"script")}}),A.each(["get","post"],(function(n,l){A[l]=function(n,e,t,i){return v(e)&&(i=i||t,t=e,e=void 0),A.ajax(A.extend({url:n,type:l,dataType:i,data:e,success:t},A.isPlainObject(n)&&n))}})),A.ajaxPrefilter((function(n){var l;for(l in n.headers)"content-type"===l.toLowerCase()&&(n.contentType=n.headers[l]||"")})),A._evalUrl=function(n,l,e){return A.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){A.globalEval(n,l,e)}})},A.fn.extend({wrapAll:function(n){var l;return this[0]&&(v(n)&&(n=n.call(this[0])),l=A(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.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(l){A(this).wrapInner(n.call(this,l))})):this.each((function(){var l=A(this),e=l.contents();e.length?e.wrapAll(n):l.append(n)}))},wrap:function(n){var l=v(n);return this.each((function(e){A(this).wrapAll(l?n.call(this,e):n)}))},unwrap:function(n){return this.parent(n).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(n){return!A.expr.pseudos.visible(n)},A.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(n){}};var Zl={0:200,1223:204},ne=A.ajaxSettings.xhr();b.cors=!!ne&&"withCredentials"in ne,b.ajax=ne=!!ne,A.ajaxTransport((function(n){var l,t;if(b.cors||ne&&!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]);l=function(n){return function(){l&&(l=t=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(Zl[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=l(),t=u.onerror=u.ontimeout=l("error"),void 0!==u.onabort?u.onabort=t:u.onreadystatechange=function(){4===u.readyState&&e.setTimeout((function(){l&&t()}))},l=l("abort");try{u.send(n.hasContent&&n.data||null)}catch(a){if(l)throw a}},abort:function(){l&&l()}}})),A.ajaxPrefilter((function(n){n.crossDomain&&(n.contents.script=!1)})),A.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 A.globalEval(n),n}}}),A.ajaxPrefilter("script",(function(n){void 0===n.cache&&(n.cache=!1),n.crossDomain&&(n.type="GET")})),A.ajaxTransport("script",(function(n){var l,e;if(n.crossDomain||n.scriptAttrs)return{send:function(t,i){l=A("