/*! For license information please see 2.8a642870.chunk.js.LICENSE.txt */ (this["webpackJsonpskote-react-hook"]=this["webpackJsonpskote-react-hook"]||[]).push([[2],[function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"o",(function(){return c})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return f})),n.d(t,"p",(function(){return g})),n.d(t,"n",(function(){return y})),n.d(t,"m",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"q",(function(){return r})),n.d(t,"f",(function(){return _}));var i={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string","[object Null]":"null"},r=function(e){var t=Object.prototype.toString.call(e);return"object"===typeof e?i[t]||"object":typeof e},o=function(e){return"boolean"===typeof e},a=function(e){return p(e)&&-1!==e.toString().indexOf("e")},s=function(e){return"date"===r(e)},u=function(e){return null!==e&&void 0!==e},l=function(e){return"function"===typeof e},c=function(e){return"string"===typeof e},p=function(e){return"number"===typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))},d=function(e){return"object"===r(e)},h=function(e){var t;for(t in e)return!1;return!0},m=function(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e),n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"===typeof n&&Object.toString.call(n)===Object.toString.call(Object)},f=function(e){return-1===["object","array","function"].indexOf(r(e))},g=function(e){return null!=e&&e===e.window},y=function(e){return!!e&&!(!e.jquery&&!e.dxRenderer)},b=function(e){return!!e&&l(e.then)},v=function(e){return!!e&&l(e.done)&&l(e.fail)},_=function(e){return!(!e||!e.preventDefault)}},function(e,t,n){"use strict";var i,r=n(76),o=n(25),a=n(21),s=n(0),u=n(100),l=n(13),c=n(369),p=Object(a.d)(),d=function(e,t){return e?"string"===typeof e?"body"===e?(this[0]=t?t.body:o.a.getBody(),this.length=1,this):(t=t||o.a.getDocument(),"<"===e[0]?(this[0]=o.a.createElement(e.slice(1,-1),t),this.length=1,this):([].push.apply(this,o.a.querySelectorAll(t,e)),this)):o.a.isNode(e)||Object(s.p)(e)?(this[0]=e,this.length=1,this):Array.isArray(e)?([].push.apply(this,e),this):i(e.toArray?e.toArray():[e]):(this.length=0,this)};(i=function(e,t){return new d(e,t)}).fn={dxRenderer:!0},d.prototype=i.fn;var h=function(e,t){for(var n=0;n1&&arguments.length>1)return h.call(this,"attr",arguments);if(!this[0])return Object(s.j)(e)||void 0!==t?this:void 0;if(!this[0].getAttribute)return this.prop(e,t);if("string"===typeof e&&1===arguments.length){var n=this[0].getAttribute(e);return null==n?void 0:n}if(Object(s.k)(e))for(var i in e)this.attr(i,e[i]);else m(this[0],e,t);return this},d.prototype.removeAttr=function(e){return this[0]&&o.a.removeAttribute(this[0],e),this},d.prototype.prop=function(e,t){if(!this[0])return this;if("string"===typeof e&&1===arguments.length)return this[0][e];if(Object(s.k)(e))for(var n in e)this.prop(n,e[n]);else o.a.setProperty(this[0],e,t);return this},d.prototype.addClass=function(e){return this.toggleClass(e,!0)},d.prototype.removeClass=function(e){return this.toggleClass(e,!1)},d.prototype.hasClass=function(e){if(!this[0]||void 0===this[0].className)return!1;for(var t=e.split(" "),n=0;n=0)return!0}return!1},d.prototype.toggleClass=function(e,t){if(this.length>1)return h.call(this,"toggleClass",arguments);if(!this[0]||!e)return this;t=void 0===t?!this.hasClass(e):t;for(var n=e.split(" "),i=0;i1){for(var t=0;t1){for(var t=0;t1){for(var t=this.length-1;t>=0;t--)i(this[t]).prependTo(e);return this}return(e=i(e))[0]&&o.a.insertElement(e[0],this[0],e[0].firstChild),this},d.prototype.appendTo=function(e){return this.length>1?h.call(this,"appendTo",arguments):(o.a.insertElement(i(e)[0],this[0]),this)},d.prototype.insertBefore=function(e){return e&&e[0]&&o.a.insertElement(e[0].parentNode,this[0],e[0]),this},d.prototype.insertAfter=function(e){return e&&e[0]&&o.a.insertElement(e[0].parentNode,this[0],e[0].nextSibling),this},d.prototype.before=function(e){return this[0]&&o.a.insertElement(this[0].parentNode,e[0],this[0]),this},d.prototype.after=function(e){return this[0]&&o.a.insertElement(this[0].parentNode,e[0],this[0].nextSibling),this},d.prototype.wrap=function(e){if(this[0]){var t=i(e);t.insertBefore(this),t.append(this)}return this},d.prototype.wrapInner=function(e){var t=this.contents();return t.length?t.wrap(e):this.append(e),this},d.prototype.replaceWith=function(e){if(e&&e[0])return e.is(this)?this:(e.insertBefore(this),this.remove(),e)},d.prototype.remove=function(){return this.length>1?h.call(this,"remove",arguments):(Object(r.b)(this[0],!0),o.a.removeElement(this[0]),this)},d.prototype.detach=function(){return this.length>1?h.call(this,"detach",arguments):(o.a.removeElement(this[0]),this)},d.prototype.empty=function(){return this.length>1?h.call(this,"empty",arguments):(Object(r.b)(this[0]),o.a.setText(this[0],""),this)},d.prototype.clone=function(){for(var e=[],t=0;t=0&&!1!==t.call(e[n],n,e[n]);n--);}},function(e,t,n){"use strict";n.r(t),n.d(t,"ensureDefined",(function(){return c})),n.d(t,"executeAsync",(function(){return p})),n.d(t,"deferRender",(function(){return g})),n.d(t,"deferUpdate",(function(){return y})),n.d(t,"deferRenderer",(function(){return b})),n.d(t,"deferUpdater",(function(){return v})),n.d(t,"findBestMatches",(function(){return _})),n.d(t,"splitPair",(function(){return x})),n.d(t,"normalizeKey",(function(){return C})),n.d(t,"denormalizeKey",(function(){return w})),n.d(t,"pairToObject",(function(){return k})),n.d(t,"getKeyHash",(function(){return I})),n.d(t,"escapeRegExp",(function(){return T})),n.d(t,"applyServerDecimalSeparator",(function(){return O})),n.d(t,"noop",(function(){return A})),n.d(t,"asyncNoop",(function(){return D})),n.d(t,"grep",(function(){return P})),n.d(t,"equalByValue",(function(){return R}));var i,r=n(74),o=n(71),a=n(12),s=n(41),u=n(4),l=n(0),c=function(e,t){return Object(l.d)(e)?e:t},p=function(e,t){var n=new a.a,i=t||this,r={promise:n.promise(),abort:function(){clearTimeout(s),n.rejectWith(i)}},o=function(){var t=e.call(i);t&&t.done&&Object(l.h)(t.done)?t.done((function(){n.resolveWith(i)})):n.resolveWith(i)},s=(arguments[2]||setTimeout)(o,"number"===typeof t?t:0);return r},d=[],h=[],m=[],f=function(e,t,n){if(i&&i!==e)return d.push(t),h.push(e),n=n||new a.a,m.push(n),n;var r=i,o=m.length;i=e;var s=t();return s||(m.length>o?s=a.c.apply(this,m.slice(o)):n&&n.resolve()),i=r,n&&s&&s.done&&s.done(n.resolve).fail(n.reject),!i&&d.length&&("render"===h.shift()?g:y)(d.shift(),m.shift()),s||Object(a.c)()},g=function(e,t){return f("render",e,t)},y=function(e,t){return f("update",e,t)},b=function(e){return function(){var t=this;return f("render",(function(){return e.call(t)}))}},v=function(e){return function(){var t=this;return f("update",(function(){return e.call(t)}))}},_=function(e,t,n){var i=[],r=0;return Object(u.a)(t,(function(t,o){var a=0,s=n?n(o):o;Object(u.a)(e,(function(e,t){var n=s[e];if(void 0!==n){if(!S(n,t))return a=-1,!1;a++}})),ar&&(i.length=0,r=a),i.push(o))})),i},S=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){var n=!1;return Object(u.a)(e,(function(e,i){if(i!==t[e])return n=!0,!1})),!n}return e===t},x=function(e){var t,n;switch(Object(l.q)(e)){case"string":return e.split(/\s+/,2);case"object":return[null!==(t=e.x)&&void 0!==t?t:e.h,null!==(n=e.y)&&void 0!==n?n:e.v];case"number":return[e];case"array":return e;default:return null}},C=function(e){var t=Object(l.o)(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9_]/g);return n&&Object(u.a)(n,(function(e,n){t=t.replace(n,"__"+n.charCodeAt()+"__")})),t},w=function(e){var t=e.match(/__\d+__/g);return t&&t.forEach((function(t){var n=parseInt(t.replace("__",""));e=e.replace(t,String.fromCharCode(n))})),e},k=function(e,t){var n=x(e),i=t?parseFloat(n&&n[0]):parseInt(n&&n[0],10),r=t?parseFloat(n&&n[1]):parseInt(n&&n[1],10);return isFinite(i)||(i=0),isFinite(r)||(r=i),{h:i,v:r}},I=function(e){if(e instanceof o.a)return e.toString();if(Object(l.j)(e)||Array.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(n){return e}return e},T=function(e){return e.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")},O=function(e){var t=Object(r.a)().serverDecimalSeparator;return Object(l.d)(e)&&(e=e.toString().replace(".",t)),e},A=function(){},D=function(){return(new a.a).resolve().promise()},P=function(e,t,n){for(var i=[],r=!n,o=0;o2&&void 0!==arguments[2]?arguments[2]:0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=Object(s.d)(e,!0),t=Object(s.d)(t,!0);var r=i?e===t:e==t;return!!(r||n>=3)||(Object(l.j)(e)&&Object(l.j)(t)?E(e,t,n,i):!(!Array.isArray(e)||!Array.isArray(t))&&N(e,t,n))}},function(e,t,n){e.exports=n(877)()},function(e,t,n){"use strict";e.exports=n(871)},function(e,t,n){"use strict";var i=n(127),r=n(3),o=n(66),a=n(75),s=n(145),u=Object(r.a)(!0,{},{en:{Yes:"Yes",No:"No",Cancel:"Cancel",Clear:"Clear",Done:"Done",Loading:"Loading...",Select:"Select...",Search:"Search",Back:"Back",OK:"OK","dxCollectionWidget-noDataText":"No data to display","dxDropDownEditor-selectLabel":"Select","validation-required":"Required","validation-required-formatted":"{0} is required","validation-numeric":"Value must be a number","validation-numeric-formatted":"{0} must be a number","validation-range":"Value is out of range","validation-range-formatted":"{0} is out of range","validation-stringLength":"The length of the value is not correct","validation-stringLength-formatted":"The length of {0} is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0} is invalid","validation-async":"Value is invalid","validation-async-formatted":"{0} is invalid","validation-compare":"Values do not match","validation-compare-formatted":"{0} does not match","validation-pattern":"Value does not match pattern","validation-pattern-formatted":"{0} does not match pattern","validation-email":"Email is invalid","validation-email-formatted":"{0} is invalid","validation-mask":"Value is invalid","dxLookup-searchPlaceholder":"Minimum character number: {0}","dxList-pullingDownText":"Pull down to refresh...","dxList-pulledDownText":"Release to refresh...","dxList-refreshingText":"Refreshing...","dxList-pageLoadingText":"Loading...","dxList-nextButtonText":"More","dxList-selectAll":"Select All","dxListEditDecorator-delete":"Delete","dxListEditDecorator-more":"More","dxScrollView-pullingDownText":"Pull down to refresh...","dxScrollView-pulledDownText":"Release to refresh...","dxScrollView-refreshingText":"Refreshing...","dxScrollView-reachBottomText":"Loading...","dxDateBox-simulatedDataPickerTitleTime":"Select time","dxDateBox-simulatedDataPickerTitleDate":"Select date","dxDateBox-simulatedDataPickerTitleDateTime":"Select date and time","dxDateBox-validation-datetime":"Value must be a date or time","dxFileUploader-selectFile":"Select a file","dxFileUploader-dropFile":"or Drop a file here","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Upload","dxFileUploader-uploaded":"Uploaded","dxFileUploader-readyToUpload":"Ready to upload","dxFileUploader-uploadAbortedMessage":"Upload cancelled","dxFileUploader-uploadFailedMessage":"Upload failed","dxFileUploader-invalidFileExtension":"File type is not allowed","dxFileUploader-invalidMaxFileSize":"File is too large","dxFileUploader-invalidMinFileSize":"File is too small","dxRangeSlider-ariaFrom":"From","dxRangeSlider-ariaTill":"Till","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} is required","dxNumberBox-invalidValueMessage":"Value must be a number","dxNumberBox-noDataText":"No data","dxDataGrid-columnChooserTitle":"Column Chooser","dxDataGrid-columnChooserEmptyText":"Drag a column here to hide it","dxDataGrid-groupContinuesMessage":"Continues on the next page","dxDataGrid-groupContinuedMessage":"Continued from the previous page","dxDataGrid-groupHeaderText":"Group by This Column","dxDataGrid-ungroupHeaderText":"Ungroup","dxDataGrid-ungroupAllText":"Ungroup All","dxDataGrid-editingEditRow":"Edit","dxDataGrid-editingSaveRowChanges":"Save","dxDataGrid-editingCancelRowChanges":"Cancel","dxDataGrid-editingDeleteRow":"Delete","dxDataGrid-editingUndeleteRow":"Undelete","dxDataGrid-editingConfirmDeleteMessage":"Are you sure you want to delete this record?","dxDataGrid-validationCancelChanges":"Cancel changes","dxDataGrid-groupPanelEmptyText":"Drag a column header here to group by that column","dxDataGrid-noDataText":"No data","dxDataGrid-searchPanelPlaceholder":"Search...","dxDataGrid-filterRowShowAllText":"(All)","dxDataGrid-filterRowResetOperationText":"Reset","dxDataGrid-filterRowOperationEquals":"Equals","dxDataGrid-filterRowOperationNotEquals":"Does not equal","dxDataGrid-filterRowOperationLess":"Less than","dxDataGrid-filterRowOperationLessOrEquals":"Less than or equal to","dxDataGrid-filterRowOperationGreater":"Greater than","dxDataGrid-filterRowOperationGreaterOrEquals":"Greater than or equal to","dxDataGrid-filterRowOperationStartsWith":"Starts with","dxDataGrid-filterRowOperationContains":"Contains","dxDataGrid-filterRowOperationNotContains":"Does not contain","dxDataGrid-filterRowOperationEndsWith":"Ends with","dxDataGrid-filterRowOperationBetween":"Between","dxDataGrid-filterRowOperationBetweenStartText":"Start","dxDataGrid-filterRowOperationBetweenEndText":"End","dxDataGrid-applyFilterText":"Apply filter","dxDataGrid-trueText":"true","dxDataGrid-falseText":"false","dxDataGrid-sortingAscendingText":"Sort Ascending","dxDataGrid-sortingDescendingText":"Sort Descending","dxDataGrid-sortingClearText":"Clear Sorting","dxDataGrid-editingSaveAllChanges":"Save changes","dxDataGrid-editingCancelAllChanges":"Discard changes","dxDataGrid-editingAddRow":"Add a row","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min of {1} is {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max of {1} is {0}","dxDataGrid-summaryAvg":"Avg: {0}","dxDataGrid-summaryAvgOtherColumn":"Avg of {1} is {0}","dxDataGrid-summarySum":"Sum: {0}","dxDataGrid-summarySumOtherColumn":"Sum of {1} is {0}","dxDataGrid-summaryCount":"Count: {0}","dxDataGrid-columnFixingFix":"Fix","dxDataGrid-columnFixingUnfix":"Unfix","dxDataGrid-columnFixingLeftPosition":"To the left","dxDataGrid-columnFixingRightPosition":"To the right","dxDataGrid-exportTo":"Export","dxDataGrid-exportToExcel":"Export to Excel file","dxDataGrid-exporting":"Exporting...","dxDataGrid-excelFormat":"Excel file","dxDataGrid-selectedRows":"Selected rows","dxDataGrid-exportSelectedRows":"Export selected rows to {0}","dxDataGrid-exportAll":"Export all data to {0}","dxDataGrid-headerFilterEmptyValue":"(Blanks)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Cancel","dxDataGrid-ariaAdaptiveCollapse":"Hide additional data","dxDataGrid-ariaAdaptiveExpand":"Display additional data","dxDataGrid-ariaColumn":"Column","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaDataGrid":"Data grid","dxDataGrid-ariaSearchInGrid":"Search in the data grid","dxDataGrid-ariaSelectAll":"Select all","dxDataGrid-ariaSelectRow":"Select row","dxDataGrid-ariaToolbar":"Data grid toolbar","dxDataGrid-filterBuilderPopupTitle":"Filter Builder","dxDataGrid-filterPanelCreateFilter":"Create Filter","dxDataGrid-filterPanelClearFilter":"Clear","dxDataGrid-filterPanelFilterEnabledHint":"Enable the filter","dxTreeList-ariaTreeList":"Tree list","dxTreeList-ariaSearchInGrid":"Search in the tree list","dxTreeList-ariaToolbar":"Tree list toolbar","dxTreeList-editingAddRowToNode":"Add","dxPager-infoText":"Page {0} of {1} ({2} items)","dxPager-pagesCountText":"of","dxPager-pageSizesAllText":"All","dxPivotGrid-grandTotal":"Grand Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Field Chooser","dxPivotGrid-showFieldChooser":"Show Field Chooser","dxPivotGrid-expandAll":"Expand All","dxPivotGrid-collapseAll":"Collapse All","dxPivotGrid-sortColumnBySummary":'Sort "{0}" by This Column',"dxPivotGrid-sortRowBySummary":'Sort "{0}" by This Row',"dxPivotGrid-removeAllSorting":"Remove All Sorting","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Row Fields","dxPivotGrid-columnFields":"Column Fields","dxPivotGrid-dataFields":"Data Fields","dxPivotGrid-filterFields":"Filter Fields","dxPivotGrid-allFields":"All Fields","dxPivotGrid-columnFieldArea":"Drop Column Fields Here","dxPivotGrid-dataFieldArea":"Drop Data Fields Here","dxPivotGrid-rowFieldArea":"Drop Row Fields Here","dxPivotGrid-filterFieldArea":"Drop Filter Fields Here","dxScheduler-editorLabelTitle":"Subject","dxScheduler-editorLabelStartDate":"Start Date","dxScheduler-editorLabelEndDate":"End Date","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"Repeat","dxScheduler-openAppointment":"Open appointment","dxScheduler-recurrenceNever":"Never","dxScheduler-recurrenceMinutely":"Every minute","dxScheduler-recurrenceHourly":"Hourly","dxScheduler-recurrenceDaily":"Daily","dxScheduler-recurrenceWeekly":"Weekly","dxScheduler-recurrenceMonthly":"Monthly","dxScheduler-recurrenceYearly":"Yearly","dxScheduler-recurrenceRepeatEvery":"Repeat Every","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"End repeat","dxScheduler-recurrenceAfter":"After","dxScheduler-recurrenceOn":"On","dxScheduler-recurrenceRepeatMinutely":"minute(s)","dxScheduler-recurrenceRepeatHourly":"hour(s)","dxScheduler-recurrenceRepeatDaily":"day(s)","dxScheduler-recurrenceRepeatWeekly":"week(s)","dxScheduler-recurrenceRepeatMonthly":"month(s)","dxScheduler-recurrenceRepeatYearly":"year(s)","dxScheduler-switcherDay":"Day","dxScheduler-switcherWeek":"Week","dxScheduler-switcherWorkWeek":"Work Week","dxScheduler-switcherMonth":"Month","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Day","dxScheduler-switcherTimelineWeek":"Timeline Week","dxScheduler-switcherTimelineWorkWeek":"Timeline Work Week","dxScheduler-switcherTimelineMonth":"Timeline Month","dxScheduler-recurrenceRepeatOnDate":"on date","dxScheduler-recurrenceRepeatCount":"occurrence(s)","dxScheduler-allDay":"All day","dxScheduler-confirmRecurrenceEditMessage":"Do you want to edit only this appointment or the whole series?","dxScheduler-confirmRecurrenceDeleteMessage":"Do you want to delete only this appointment or the whole series?","dxScheduler-confirmRecurrenceEditSeries":"Edit series","dxScheduler-confirmRecurrenceDeleteSeries":"Delete series","dxScheduler-confirmRecurrenceEditOccurrence":"Edit appointment","dxScheduler-confirmRecurrenceDeleteOccurrence":"Delete appointment","dxScheduler-noTimezoneTitle":"No timezone","dxScheduler-moreAppointments":"{0} more","dxCalendar-todayButtonText":"Today","dxCalendar-ariaWidgetName":"Calendar","dxColorView-ariaRed":"Red","dxColorView-ariaGreen":"Green","dxColorView-ariaBlue":"Blue","dxColorView-ariaAlpha":"Transparency","dxColorView-ariaHex":"Color code","dxTagBox-selected":"{0} selected","dxTagBox-allSelected":"All selected ({0})","dxTagBox-moreSelected":"{0} more","vizExport-printingButtonText":"Print","vizExport-titleMenuText":"Exporting/Printing","vizExport-exportButtonText":"{0} file","dxFilterBuilder-and":"And","dxFilterBuilder-or":"Or","dxFilterBuilder-notAnd":"Not And","dxFilterBuilder-notOr":"Not Or","dxFilterBuilder-addCondition":"Add Condition","dxFilterBuilder-addGroup":"Add Group","dxFilterBuilder-enterValueText":"","dxFilterBuilder-filterOperationEquals":"Equals","dxFilterBuilder-filterOperationNotEquals":"Does not equal","dxFilterBuilder-filterOperationLess":"Is less than","dxFilterBuilder-filterOperationLessOrEquals":"Is less than or equal to","dxFilterBuilder-filterOperationGreater":"Is greater than","dxFilterBuilder-filterOperationGreaterOrEquals":"Is greater than or equal to","dxFilterBuilder-filterOperationStartsWith":"Starts with","dxFilterBuilder-filterOperationContains":"Contains","dxFilterBuilder-filterOperationNotContains":"Does not contain","dxFilterBuilder-filterOperationEndsWith":"Ends with","dxFilterBuilder-filterOperationIsBlank":"Is blank","dxFilterBuilder-filterOperationIsNotBlank":"Is not blank","dxFilterBuilder-filterOperationBetween":"Is between","dxFilterBuilder-filterOperationAnyOf":"Is any of","dxFilterBuilder-filterOperationNoneOf":"Is none of","dxHtmlEditor-dialogColorCaption":"Change Font Color","dxHtmlEditor-dialogBackgroundCaption":"Change Background Color","dxHtmlEditor-dialogLinkCaption":"Add Link","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Text","dxHtmlEditor-dialogLinkTargetField":"Open link in new window","dxHtmlEditor-dialogImageCaption":"Add Image","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Alternate text","dxHtmlEditor-dialogImageWidthField":"Width (px)","dxHtmlEditor-dialogImageHeightField":"Height (px)","dxHtmlEditor-dialogInsertTableRowsField":"Rows","dxHtmlEditor-dialogInsertTableColumnsField":"Columns","dxHtmlEditor-dialogInsertTableCaption":"Insert Table","dxHtmlEditor-dialogUpdateImageCaption":"Update Image","dxHtmlEditor-dialogImageUpdateButton":"Update","dxHtmlEditor-dialogImageAddButton":"Add","dxHtmlEditor-dialogImageSpecifyUrl":"From the Web","dxHtmlEditor-dialogImageSelectFile":"From This Device","dxHtmlEditor-dialogImageKeepAspectRatio":"Keep Aspect Ratio","dxHtmlEditor-dialogImageEncodeToBase64":"Encode to Base64","dxHtmlEditor-heading":"Heading","dxHtmlEditor-normalText":"Normal text","dxHtmlEditor-background":"Background Color","dxHtmlEditor-bold":"Bold","dxHtmlEditor-color":"Font Color","dxHtmlEditor-font":"Font","dxHtmlEditor-italic":"Italic","dxHtmlEditor-link":"Add Link","dxHtmlEditor-image":"Add Image","dxHtmlEditor-size":"Size","dxHtmlEditor-strike":"Strikethrough","dxHtmlEditor-subscript":"Subscript","dxHtmlEditor-superscript":"Superscript","dxHtmlEditor-underline":"Underline","dxHtmlEditor-blockquote":"Blockquote","dxHtmlEditor-header":"Header","dxHtmlEditor-increaseIndent":"Increase Indent","dxHtmlEditor-decreaseIndent":"Decrease Indent","dxHtmlEditor-orderedList":"Ordered List","dxHtmlEditor-bulletList":"Bullet List","dxHtmlEditor-alignLeft":"Align Left","dxHtmlEditor-alignCenter":"Align Center","dxHtmlEditor-alignRight":"Align Right","dxHtmlEditor-alignJustify":"Align Justify","dxHtmlEditor-codeBlock":"Code Block","dxHtmlEditor-variable":"Add Variable","dxHtmlEditor-undo":"Undo","dxHtmlEditor-redo":"Redo","dxHtmlEditor-clear":"Clear Formatting","dxHtmlEditor-insertTable":"Insert Table","dxHtmlEditor-insertHeaderRow":"Insert Header Row","dxHtmlEditor-insertRowAbove":"Insert Row Above","dxHtmlEditor-insertRowBelow":"Insert Row Below","dxHtmlEditor-insertColumnLeft":"Insert Column Left","dxHtmlEditor-insertColumnRight":"Insert Column Right","dxHtmlEditor-deleteColumn":"Delete Column","dxHtmlEditor-deleteRow":"Delete Row","dxHtmlEditor-deleteTable":"Delete Table","dxHtmlEditor-cellProperties":"Cell Properties","dxHtmlEditor-tableProperties":"Table Properties","dxHtmlEditor-insert":"Insert","dxHtmlEditor-delete":"Delete","dxHtmlEditor-border":"Border","dxHtmlEditor-style":"Style","dxHtmlEditor-width":"Width","dxHtmlEditor-height":"Height","dxHtmlEditor-borderColor":"Color","dxHtmlEditor-tableBackground":"Background","dxHtmlEditor-dimensions":"Dimensions","dxHtmlEditor-alignment":"Alignment","dxHtmlEditor-horizontal":"Horizontal","dxHtmlEditor-vertical":"Vertical","dxHtmlEditor-paddingVertical":"Vertical Padding","dxHtmlEditor-paddingHorizontal":"Horizontal Padding","dxHtmlEditor-pixels":"Pixels","dxHtmlEditor-list":"List","dxHtmlEditor-ordered":"Ordered","dxHtmlEditor-bullet":"Bullet","dxHtmlEditor-align":"Align","dxHtmlEditor-center":"Center","dxHtmlEditor-left":"Left","dxHtmlEditor-right":"Right","dxHtmlEditor-indent":"Indent","dxHtmlEditor-justify":"Justify","dxFileManager-newDirectoryName":"Untitled directory","dxFileManager-rootDirectoryName":"Files","dxFileManager-errorNoAccess":"Access Denied. Operation could not be completed.","dxFileManager-errorDirectoryExistsFormat":"Directory '{0}' already exists.","dxFileManager-errorFileExistsFormat":"File '{0}' already exists.","dxFileManager-errorFileNotFoundFormat":"File '{0}' not found.","dxFileManager-errorDirectoryNotFoundFormat":"Directory '{0}' not found.","dxFileManager-errorWrongFileExtension":"File extension is not allowed.","dxFileManager-errorMaxFileSizeExceeded":"File size exceeds the maximum allowed size.","dxFileManager-errorInvalidSymbols":"This name contains invalid characters.","dxFileManager-errorDefault":"Unspecified error.","dxFileManager-errorDirectoryOpenFailed":"The directory cannot be opened","dxFileManager-commandCreate":"New directory","dxFileManager-commandRename":"Rename","dxFileManager-commandMove":"Move to","dxFileManager-commandCopy":"Copy to","dxFileManager-commandDelete":"Delete","dxFileManager-commandDownload":"Download","dxFileManager-commandUpload":"Upload files","dxFileManager-commandRefresh":"Refresh","dxFileManager-commandThumbnails":"Thumbnails View","dxFileManager-commandDetails":"Details View","dxFileManager-commandClearSelection":"Clear selection","dxFileManager-commandShowNavPane":"Toggle navigation pane","dxFileManager-dialogDirectoryChooserMoveTitle":"Move to","dxFileManager-dialogDirectoryChooserMoveButtonText":"Move","dxFileManager-dialogDirectoryChooserCopyTitle":"Copy to","dxFileManager-dialogDirectoryChooserCopyButtonText":"Copy","dxFileManager-dialogRenameItemTitle":"Rename","dxFileManager-dialogRenameItemButtonText":"Save","dxFileManager-dialogCreateDirectoryTitle":"New directory","dxFileManager-dialogCreateDirectoryButtonText":"Create","dxFileManager-dialogDeleteItemTitle":"Delete","dxFileManager-dialogDeleteItemButtonText":"Delete","dxFileManager-dialogDeleteItemSingleItemConfirmation":"Are you sure you want to delete {0}?","dxFileManager-dialogDeleteItemMultipleItemsConfirmation":"Are you sure you want to delete {0} items?","dxFileManager-dialogButtonCancel":"Cancel","dxFileManager-editingCreateSingleItemProcessingMessage":"Creating a directory inside {0}","dxFileManager-editingCreateSingleItemSuccessMessage":"Created a directory inside {0}","dxFileManager-editingCreateSingleItemErrorMessage":"Directory was not created","dxFileManager-editingCreateCommonErrorMessage":"Directory was not created","dxFileManager-editingRenameSingleItemProcessingMessage":"Renaming an item inside {0}","dxFileManager-editingRenameSingleItemSuccessMessage":"Renamed an item inside {0}","dxFileManager-editingRenameSingleItemErrorMessage":"Item was not renamed","dxFileManager-editingRenameCommonErrorMessage":"Item was not renamed","dxFileManager-editingDeleteSingleItemProcessingMessage":"Deleting an item from {0}","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"Deleting {0} items from {1}","dxFileManager-editingDeleteSingleItemSuccessMessage":"Deleted an item from {0}","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"Deleted {0} items from {1}","dxFileManager-editingDeleteSingleItemErrorMessage":"Item was not deleted","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} items were not deleted","dxFileManager-editingDeleteCommonErrorMessage":"Some items were not deleted","dxFileManager-editingMoveSingleItemProcessingMessage":"Moving an item to {0}","dxFileManager-editingMoveMultipleItemsProcessingMessage":"Moving {0} items to {1}","dxFileManager-editingMoveSingleItemSuccessMessage":"Moved an item to {0}","dxFileManager-editingMoveMultipleItemsSuccessMessage":"Moved {0} items to {1}","dxFileManager-editingMoveSingleItemErrorMessage":"Item was not moved","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} items were not moved","dxFileManager-editingMoveCommonErrorMessage":"Some items were not moved","dxFileManager-editingCopySingleItemProcessingMessage":"Copying an item to {0}","dxFileManager-editingCopyMultipleItemsProcessingMessage":"Copying {0} items to {1}","dxFileManager-editingCopySingleItemSuccessMessage":"Copied an item to {0}","dxFileManager-editingCopyMultipleItemsSuccessMessage":"Copied {0} items to {1}","dxFileManager-editingCopySingleItemErrorMessage":"Item was not copied","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} items were not copied","dxFileManager-editingCopyCommonErrorMessage":"Some items were not copied","dxFileManager-editingUploadSingleItemProcessingMessage":"Uploading an item to {0}","dxFileManager-editingUploadMultipleItemsProcessingMessage":"Uploading {0} items to {1}","dxFileManager-editingUploadSingleItemSuccessMessage":"Uploaded an item to {0}","dxFileManager-editingUploadMultipleItemsSuccessMessage":"Uploaded {0} items to {1}","dxFileManager-editingUploadSingleItemErrorMessage":"Item was not uploaded","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} items were not uploaded","dxFileManager-editingUploadCanceledMessage":"Canceled","dxFileManager-listDetailsColumnCaptionName":"Name","dxFileManager-listDetailsColumnCaptionDateModified":"Date Modified","dxFileManager-listDetailsColumnCaptionFileSize":"File Size","dxFileManager-listThumbnailsTooltipTextSize":"Size","dxFileManager-listThumbnailsTooltipTextDateModified":"Date Modified","dxFileManager-notificationProgressPanelTitle":"Progress","dxFileManager-notificationProgressPanelEmptyListText":"No operations","dxFileManager-notificationProgressPanelOperationCanceled":"Canceled","dxDiagram-categoryGeneral":"General","dxDiagram-categoryFlowchart":"Flowchart","dxDiagram-categoryOrgChart":"Org Chart","dxDiagram-categoryContainers":"Containers","dxDiagram-categoryCustom":"Custom","dxDiagram-commandExportToSvg":"Export to SVG","dxDiagram-commandExportToPng":"Export to PNG","dxDiagram-commandExportToJpg":"Export to JPEG","dxDiagram-commandUndo":"Undo","dxDiagram-commandRedo":"Redo","dxDiagram-commandFontName":"Font Name","dxDiagram-commandFontSize":"Font Size","dxDiagram-commandBold":"Bold","dxDiagram-commandItalic":"Italic","dxDiagram-commandUnderline":"Underline","dxDiagram-commandTextColor":"Font Color","dxDiagram-commandLineColor":"Line Color","dxDiagram-commandLineWidth":"Line Width","dxDiagram-commandLineStyle":"Line Style","dxDiagram-commandLineStyleSolid":"Solid","dxDiagram-commandLineStyleDotted":"Dotted","dxDiagram-commandLineStyleDashed":"Dashed","dxDiagram-commandFillColor":"Fill Color","dxDiagram-commandAlignLeft":"Align Left","dxDiagram-commandAlignCenter":"Align Center","dxDiagram-commandAlignRight":"Align Right","dxDiagram-commandConnectorLineType":"Connector Line Type","dxDiagram-commandConnectorLineStraight":"Straight","dxDiagram-commandConnectorLineOrthogonal":"Orthogonal","dxDiagram-commandConnectorLineStart":"Connector Line Start","dxDiagram-commandConnectorLineEnd":"Connector Line End","dxDiagram-commandConnectorLineNone":"None","dxDiagram-commandConnectorLineArrow":"Arrow","dxDiagram-commandFullscreen":"Full Screen","dxDiagram-commandUnits":"Units","dxDiagram-commandPageSize":"Page Size","dxDiagram-commandPageOrientation":"Page Orientation","dxDiagram-commandPageOrientationLandscape":"Landscape","dxDiagram-commandPageOrientationPortrait":"Portrait","dxDiagram-commandPageColor":"Page Color","dxDiagram-commandShowGrid":"Show Grid","dxDiagram-commandSnapToGrid":"Snap to Grid","dxDiagram-commandGridSize":"Grid Size","dxDiagram-commandZoomLevel":"Zoom Level","dxDiagram-commandAutoZoom":"Auto Zoom","dxDiagram-commandFitToContent":"Fit to Content","dxDiagram-commandFitToWidth":"Fit to Width","dxDiagram-commandAutoZoomByContent":"Auto Zoom by Content","dxDiagram-commandAutoZoomByWidth":"Auto Zoom by Width","dxDiagram-commandSimpleView":"Simple View","dxDiagram-commandCut":"Cut","dxDiagram-commandCopy":"Copy","dxDiagram-commandPaste":"Paste","dxDiagram-commandSelectAll":"Select All","dxDiagram-commandDelete":"Delete","dxDiagram-commandBringToFront":"Bring to Front","dxDiagram-commandSendToBack":"Send to Back","dxDiagram-commandLock":"Lock","dxDiagram-commandUnlock":"Unlock","dxDiagram-commandInsertShapeImage":"Insert Image...","dxDiagram-commandEditShapeImage":"Change Image...","dxDiagram-commandDeleteShapeImage":"Delete Image","dxDiagram-commandLayoutLeftToRight":"Left-to-right","dxDiagram-commandLayoutRightToLeft":"Right-to-left","dxDiagram-commandLayoutTopToBottom":"Top-to-bottom","dxDiagram-commandLayoutBottomToTop":"Bottom-to-top","dxDiagram-unitIn":"in","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Cancel","dxDiagram-dialogInsertShapeImageTitle":"Insert Image","dxDiagram-dialogEditShapeImageTitle":"Change Image","dxDiagram-dialogEditShapeImageSelectButton":"Select image","dxDiagram-dialogEditShapeImageLabelText":"or drop a file here","dxDiagram-uiExport":"Export","dxDiagram-uiProperties":"Properties","dxDiagram-uiSettings":"Settings","dxDiagram-uiShowToolbox":"Show Toolbox","dxDiagram-uiSearch":"Search","dxDiagram-uiStyle":"Style","dxDiagram-uiLayout":"Layout","dxDiagram-uiLayoutTree":"Tree","dxDiagram-uiLayoutLayered":"Layered","dxDiagram-uiDiagram":"Diagram","dxDiagram-uiText":"Text","dxDiagram-uiObject":"Object","dxDiagram-uiConnector":"Connector","dxDiagram-uiPage":"Page","dxDiagram-shapeText":"Text","dxDiagram-shapeRectangle":"Rectangle","dxDiagram-shapeEllipse":"Ellipse","dxDiagram-shapeCross":"Cross","dxDiagram-shapeTriangle":"Triangle","dxDiagram-shapeDiamond":"Diamond","dxDiagram-shapeHeart":"Heart","dxDiagram-shapePentagon":"Pentagon","dxDiagram-shapeHexagon":"Hexagon","dxDiagram-shapeOctagon":"Octagon","dxDiagram-shapeStar":"Star","dxDiagram-shapeArrowLeft":"Left Arrow","dxDiagram-shapeArrowUp":"Up Arrow","dxDiagram-shapeArrowRight":"Right Arrow","dxDiagram-shapeArrowDown":"Down Arrow","dxDiagram-shapeArrowUpDown":"Up Down Arrow","dxDiagram-shapeArrowLeftRight":"Left Right Arrow","dxDiagram-shapeProcess":"Process","dxDiagram-shapeDecision":"Decision","dxDiagram-shapeTerminator":"Terminator","dxDiagram-shapePredefinedProcess":"Predefined Process","dxDiagram-shapeDocument":"Document","dxDiagram-shapeMultipleDocuments":"Multiple Documents","dxDiagram-shapeManualInput":"Manual Input","dxDiagram-shapePreparation":"Preparation","dxDiagram-shapeData":"Data","dxDiagram-shapeDatabase":"Database","dxDiagram-shapeHardDisk":"Hard Disk","dxDiagram-shapeInternalStorage":"Internal Storage","dxDiagram-shapePaperTape":"Paper Tape","dxDiagram-shapeManualOperation":"Manual Operation","dxDiagram-shapeDelay":"Delay","dxDiagram-shapeStoredData":"Stored Data","dxDiagram-shapeDisplay":"Display","dxDiagram-shapeMerge":"Merge","dxDiagram-shapeConnector":"Connector","dxDiagram-shapeOr":"Or","dxDiagram-shapeSummingJunction":"Summing Junction","dxDiagram-shapeContainerDefaultText":"Container","dxDiagram-shapeVerticalContainer":"Vertical Container","dxDiagram-shapeHorizontalContainer":"Horizontal Container","dxDiagram-shapeCardDefaultText":"Person's Name","dxDiagram-shapeCardWithImageOnLeft":"Card with Image on the Left","dxDiagram-shapeCardWithImageOnTop":"Card with Image on the Top","dxDiagram-shapeCardWithImageOnRight":"Card with Image on the Right","dxGantt-dialogTitle":"Title","dxGantt-dialogStartTitle":"Start","dxGantt-dialogEndTitle":"End","dxGantt-dialogProgressTitle":"Progress","dxGantt-dialogResourcesTitle":"Resources","dxGantt-dialogResourceManagerTitle":"Resource Manager","dxGantt-dialogTaskDetailsTitle":"Task Details","dxGantt-dialogEditResourceListHint":"Edit Resource List","dxGantt-dialogEditNoResources":"No resources","dxGantt-dialogButtonAdd":"Add","dxGantt-contextMenuNewTask":"New Task","dxGantt-contextMenuNewSubtask":"New Subtask","dxGantt-contextMenuDeleteTask":"Delete Task","dxGantt-contextMenuDeleteDependency":"Delete Dependency","dxGantt-dialogTaskDeleteConfirmation":"Deleting a task also deletes all its dependencies and subtasks. Are you sure you want to delete this task?","dxGantt-dialogDependencyDeleteConfirmation":"Are you sure you want to delete the dependency from the task?","dxGantt-dialogResourcesDeleteConfirmation":"Deleting a resource also deletes it from tasks to which this resource is assigned. Are you sure you want to delete these resources? Resources: {0}","dxGantt-dialogConstraintCriticalViolationMessage":"The task you are attempting to move is linked to a second task by a dependency relation. This change would conflict with dependency rules. How would you like to proceed?","dxGantt-dialogConstraintViolationMessage":"The task you are attempting to move is linked to a second task by a dependency relation. How would you like to proceed?","dxGantt-dialogCancelOperationMessage":"Cancel the operation","dxGantt-dialogDeleteDependencyMessage":"Delete the dependency","dxGantt-dialogMoveTaskAndKeepDependencyMessage":"Move the task and keep the dependency","dxGantt-dialogConstraintCriticalViolationSeveralTasksMessage":"The task you are attempting to move is linked to another tasks by dependency relations. This change would conflict with dependency rules. How would you like to proceed?","dxGantt-dialogConstraintViolationSeveralTasksMessage":"The task you are attempting to move is linked to another tasks by dependency relations. How would you like to proceed?","dxGantt-dialogDeleteDependenciesMessage":"Delete the dependency relations","dxGantt-dialogMoveTaskAndKeepDependenciesMessage":"Move the task and keep the dependencies","dxGantt-undo":"Undo","dxGantt-redo":"Redo","dxGantt-expandAll":"Expand All","dxGantt-collapseAll":"Collapse All","dxGantt-addNewTask":"Add New Task","dxGantt-deleteSelectedTask":"Delete Selected Task","dxGantt-zoomIn":"Zoom In","dxGantt-zoomOut":"Zoom Out","dxGantt-fullScreen":"Full Screen","dxGantt-quarter":"Q{0}","dxGantt-sortingAscendingText":"Sort Ascending","dxGantt-sortingDescendingText":"Sort Descending","dxGantt-sortingClearText":"Clear Sorting","dxGantt-showResources":"Show Resources","dxGantt-showDependencies":"Show Dependencies","dxGantt-dialogStartDateValidation":"Start date must be after {0}","dxGantt-dialogEndDateValidation":"End date must be after {0}"}}),l={},c=Object(i.a)({engine:function(){return"base"},_dictionary:u,load:function(e){Object(r.a)(!0,this._dictionary,e)},_localizablePrefix:"@",setup:function(e){this._localizablePrefix=e},localizeString:function(e){var t=this,n=new RegExp("(^|[^a-zA-Z_0-9"+t._localizablePrefix+"-]+)("+t._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),i=t._localizablePrefix+t._localizablePrefix;return e.replace(n,(function(e,n,r,o){var s,u=t._localizablePrefix+o;return r!==i&&(s=t.format(o)),s||(l[o]=Object(a.d)(o)),n+(s||u)}))},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(e){return e?l:Object(r.a)({},l,this.getMessagesByLocales()[s.a.locale()])},getFormatter:function(e){return this._getFormatterBase(e)||this._getFormatterBase(e,"en")},_getFormatterBase:function(e,t){var n=this,i=s.a.getValueByClosestLocale((function(t){return function(e,t){return e[t]||{}}(n._dictionary,t)[e]}));if(i)return function(){var e=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return e.unshift(i),o.b.apply(this,e)}},format:function(e){var t=this.getFormatter(e),n=Array.prototype.slice.call(arguments,1);return t&&t.apply(this,n)||""}});t.a=c},function(e,t,n){"use strict";var i=n(19),r=n(420),o=n(3),a=n(25),s=n(21),u=n(127),l=n(0),c=n(63),p=n(67),d=["pageX","pageY","screenX","screenY","clientX","clientY"],h=n(148),m=Object(s.d)(),f="dxEmptyEventType",g={mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},y={focusin:"focus",focusout:"blur"},b=["blur","focus","load"],v=["touchmove","wheel","mousewheel","touchstart"];function _(e,t){return!Object(l.p)(e)&&"#document"!==e.nodeName&&a.a.elementMatches(e,t)}var S,x,C=new WeakMap,w=0,k=function(){var e={};return r.a.add((function(t,n){e[t]=n})),{getField:function(t,n){return e[t]&&e[t][n]},callMethod:function(t,n,i,r){return e[t]&&e[t][n]&&e[t][n].apply(i,r)}}}(),I=Object(u.a)({on:O(E(M((function(e,t,n,i,r){P(e,t).addHandler(r,n,i)})))),one:O(E((function(e,t,n,i,r){I.on(e,t,n,i,(function i(){I.off(e,t,n,i),r.apply(this,arguments)}))}))),off:O((x=M((function(e,t,n,i){P(e,t).removeHandler(i,n)})),function(e,t,n,i){"function"===typeof n&&(i=n,n=void 0),x(e,t,n,i)})),trigger:O(R((function(e,t,n){var i=t.type,r=P(e,t.type);if(k.callMethod(i,"trigger",e,[t,n]),r.callHandlers(t,n),!(k.getField(i,"noBubble")||t.isPropagationStopped()||-1!==b.indexOf(i))){var a=[];!function e(t){var n=t.parentNode;n&&(a.push(n),e(n))}(e),a.push(m);for(var s=0;a[s]&&!t.isPropagationStopped();){P(a[s],t.type).callHandlers(Object(o.a)(t,{currentTarget:a[s]}),n),s++}}(e.nodeType||Object(l.p)(e))&&(k.callMethod(i,"_default",e,[t,n]),function(e,t){var n=y[e]||e;if(function(e,t){return"click"===e&&"a"===t.localName}(e,t))return;Object(l.h)(t[n])&&(S=e,t[n](),S=void 0)}(i,e))}))),triggerHandler:O(R((function(e,t,n){P(e,t.type).callHandlers(t,n)})))});function T(e,t){var n=e[0];if(n)if(a.a.isNode(n)||Object(l.p)(n))t.apply(I,e);else{if(Object(l.o)(n)||!("length"in n))throw p.a.Error("E0025");var i=Array.prototype.slice.call(e,0);Array.prototype.forEach.call(n,(function(e){i[0]=e,T(i,t)}))}}function O(e){return function(){T(arguments,e)}}var A=Object(h.a)((function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});m.addEventListener("test",null,t)}catch(n){}return e})),D=function e(t,n){return Object(l.p)(t)?e(t.document,n):t.contains?t.contains(n):!!(n.compareDocumentPosition(t)&n.DOCUMENT_POSITION_CONTAINS)};function P(e,t){var n=C.get(e),i=(t=t||"").split("."),r=i.slice(1),o=!!i[0];t=i[0]||f,n||(n={},C.set(e,n)),n[t]||(n[t]={handleObjects:[],nativeHandler:null});var s=n[t];return{addHandler:function(n,i,u){var l=function(i,r){var o,a,s=[i],l=i.currentTarget,c=i.relatedTarget;t in g&&(o=c&&l&&(c===l||D(l,c))),void 0!==r&&s.push(r),k.callMethod(t,"handle",e,[i,u]),o||(a=n.apply(l,s)),!1===a&&(i.preventDefault(),i.stopPropagation())},c={handler:n,wrappedHandler:function(t,n){if(!S||t.type!==S)if(t.data=u,t.delegateTarget=e,i)for(var r=t.target;r&&r!==e;)_(r,i)&&(t.currentTarget=r,l(t,n)),r=r.parentNode;else t.currentTarget=t.delegateTarget||t.target,l(t,n)},selector:i,type:t,data:u,namespace:r.join("."),namespaces:r,guid:++w};s.handleObjects.push(c);var p,d,h=1===s.handleObjects.length&&o;h&&(h=!k.callMethod(t,"setup",e,[u,r,n])),h&&(s.nativeHandler=(d=t,function(e,t){var n=P(this,d);e=I.Event(e),n.callHandlers(e,t)}),A()&&v.indexOf(t)>-1&&(p={passive:!1}),s.removeListener=a.a.listen(e,g[t]||t,s.nativeHandler,p)),k.callMethod(t,"add",e,[c])},removeHandler:function(i,a){var s=function(t){var o,s=n[t];s.handleObjects.length?(s.handleObjects=s.handleObjects.filter((function(n){var s=r.length&&!N(n.namespaces,r)||i&&n.handler!==i||a&&n.selector!==a;return s||(o=n.handler,k.callMethod(t,"remove",e,[n])),s})),!s.handleObjects.length&&t!==f&&(k.callMethod(t,"teardown",e,[r,o]),s.nativeHandler&&s.removeListener(),delete n[t])):delete n[t]};if(o)s(t);else for(var u in n)s(u);0===Object.keys(n).length&&C.delete(e)},callHandlers:function(e,t){var i=!1,o=function(n){i||r.length&&!N(n.namespaces,r)||(n.wrappedHandler(e,t),i=e.isImmediatePropagationStopped())};s.handleObjects.forEach(o),r.length&&n.dxEmptyEventType&&n.dxEmptyEventType.handleObjects.forEach(o)}}}function N(e,t){for(var n=0;n-1){var i=Array.prototype.slice.call(arguments,0);n.split(" ").forEach((function(t){i[1]=t,e.apply(this,i)}))}else e.apply(this,arguments)};return function(e,n){if("object"===typeof n){var i=Array.prototype.slice.call(arguments,0);for(var r in n)i[1]=r,i[i.length-1]=n[r],t.apply(this,i)}else t.apply(this,arguments)}}function j(e){return function(e){return null==e.which&&0===e.type.indexOf("key")}(e)?null!=e.charCode?e.charCode:e.keyCode:function(e){return!e.which&&void 0!==e.button&&/^(?:mouse|pointer|contextmenu|drag|drop)|click/.test(e.type)}(e)?{1:1,2:3,3:1,4:2}[e.button]:e.which}function L(e){e&&(I.Event=e,I.Event.prototype=e.prototype)}function B(e,t,n){Object.defineProperty(n||I.Event.prototype,e,{enumerable:!0,configurable:!0,get:function(){return this.originalEvent&&t(this.originalEvent)},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})}L(function(e){return I.Event=function(t,n){if(!(this instanceof I.Event))return new I.Event(t,n);t||(t={}),"string"===typeof t&&(t={type:t}),n||(n={}),e.call(this,t,n)},Object(i.a)(I.Event.prototype,{_propagationStopped:!1,_immediatePropagationStopped:!1,_defaultPrevented:!1,isPropagationStopped:function(){return!!(this._propagationStopped||this.originalEvent&&this.originalEvent.propagationStopped)},stopPropagation:function(){this._propagationStopped=!0,this.originalEvent&&this.originalEvent.stopPropagation()},isImmediatePropagationStopped:function(){return this._immediatePropagationStopped},stopImmediatePropagation:function(){this.stopPropagation(),this._immediatePropagationStopped=!0,this.originalEvent&&this.originalEvent.stopImmediatePropagation()},isDefaultPrevented:function(){return!!(this._defaultPrevented||this.originalEvent&&this.originalEvent.defaultPrevented)},preventDefault:function(){this._defaultPrevented=!0,this.originalEvent&&this.originalEvent.preventDefault()}}),I.Event}((function(e,t){var n;e instanceof I.Event||Object(s.f)()&&e instanceof m.Event||(null===(n=e.view)||void 0===n?void 0:n.Event)&&e instanceof e.view.Event?(this.originalEvent=e,this.type=e.type,this.currentTarget=void 0,Object.prototype.hasOwnProperty.call(e,"isTrusted")&&(this.isTrusted=e.isTrusted),this.timeStamp=e.timeStamp||Date.now()):Object(i.a)(this,e),B("which",j,this),0===e.type.indexOf("touch")&&(delete t.pageX,delete t.pageY),Object(i.a)(this,t),this.guid=++w}))),["target","relatedTarget","delegateTarget","altKey","bubbles","cancelable","changedTouches","ctrlKey","detail","eventPhase","metaKey","shiftKey","view","char","code","charCode","key","keyCode","button","buttons","offsetX","offsetY","pointerId","pointerType","targetTouches","toElement","touches"].forEach((function(e){return B(e,(function(t){return t[e]}))})),function(e){d.forEach((function(t){e(t,(function(e){return function(e,t){if(t[e]&&!t.touches||!t.touches)return t[e];var n=t.touches.length?t.touches:t.changedTouches;return n.length?n[0][e]:void 0}(t,e)}))}),this)}(B);var F=Object(c.a)(),V=Object(c.a)();I.set=function(e){F.fire(),I.inject(e),L(e.Event),V.fire()},I.subscribeGlobal=function(){T(arguments,E((function(){var e=arguments;I.on.apply(this,e),F.add((function(){var t=Array.prototype.slice.call(e,0);t.splice(3,1),I.off.apply(this,t)})),V.add((function(){I.on.apply(this,e)}))})))},I.forcePassiveFalseEventNames=v,I.passiveEventHandlersSupported=A;t.a=I},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function i(e,t){for(var n=0;n1?[].slice.call(arguments):o,++n===e.length&&r.resolveWith(t,e)}},a=0;a0?e=parseInt(e.replace("px","")):e.indexOf("%")>0?e=parseInt(e.replace("%",""))*function(e){return Object(o.p)(e)?e.innerHeight:e.offsetHeight}(t)/100:isNaN(e)?e.indexOf("vh")>0&&(e=a.innerHeight/100*parseInt(e.replace("vh",""))):e=parseInt(e),e},y=function(e,t,n){return e?s.indexOf(e)>-1?t?null:e:(Object(o.o)(e)&&(e=g(e,n)),Object(o.i)(e)?Math.max(0,e+t):"calc("+e+(t<0?" - ":" ")+Math.abs(t)+"px)"):null},b=function(e,t,n){var i=y(e,t,n);return null!==i?i:"none"},v=function(e,t,n){var i=y(e,t,n);return null!==i?i:0},_=function(e,t){if(!e)return 0;var n=l("height",a.getComputedStyle(e));return n.padding+n.border+(t?n.margin:0)},S=function(e){if(e){var t=e.getBoundingClientRect();if(t.height)return t.height}return 0},x=function(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"Width":"Height",s=a.toLowerCase(),u=0===n.indexOf("outer"),p=0===n.indexOf("inner"),d=2===arguments.length||"boolean"===typeof i;if(Object(o.n)(t)){if(t.length>1&&!d){for(var h=0;h1:_(e)?o&&Object(l.b)(n):void 0},T=function(e,t){var n=function(e){return h(a.a.Event(e,e),e)}(e);return t&&Object(u.a)(n,t),n},O=function(e){var t=e.originalEvent,n=e.delegateTarget,i=T(t,e);return a.a.trigger(n||i.target,i),i},A=function(e){var t=e.key,n=e.which,i=t,r=!!t;if(t||n)return r&&(t=c[t.toLowerCase()]),(!r||!t&&n)&&(t=p[n]||String.fromCharCode(n)),t||i},D=function(e){var t=e.key,n=e.which;return t||String.fromCharCode(n)},P=o,N=function(e){var t=e.ctrlKey,n=e.metaKey;return t||n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(279);function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(i.a)(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(14),r=n(480),o=n(296);function a(e){var t=Object(r.a)();return function(){var n,r=Object(i.a)(e);if(t){var a=Object(i.a)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Object(o.a)(this,n)}}},function(e,t,n){"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),i=1;i0&&(i=k(n.width)/a||1),o>0&&(r=k(n.height)/o||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function T(e){var t=v(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function O(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){return((_(e)?e.ownerDocument:e.document)||window.document).documentElement}function D(e){return I(A(e)).left+T(e).scrollLeft}function P(e){return v(e).getComputedStyle(e)}function N(e){var t=P(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function E(e,t,n){void 0===n&&(n=!1);var i=S(t),r=S(t)&&function(e){var t=e.getBoundingClientRect(),n=k(t.width)/e.offsetWidth||1,i=k(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),o=A(t),a=I(e,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==O(t)||N(o))&&(s=function(e){return e!==v(e)&&S(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:T(e);var t}(t)),S(t)?((u=I(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=D(o))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function R(e){var t=I(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function M(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(x(e)?e.host:null)||A(e)}function j(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:S(e)&&N(e)?e:j(M(e))}function L(e,t){var n;void 0===t&&(t=[]);var i=j(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),o=v(i),a=r?[o].concat(o.visualViewport||[],N(i)?i:[]):i,s=t.concat(a);return r?s:s.concat(L(M(a)))}function B(e){return["table","td","th"].indexOf(O(e))>=0}function F(e){return S(e)&&"fixed"!==P(e).position?e.offsetParent:null}function V(e){for(var t=v(e),n=F(e);n&&B(n)&&"static"===P(n).position;)n=F(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===P(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&S(e)&&"fixed"===P(e).position)return null;var n=M(e);for(x(n)&&(n=n.host);S(n)&&["html","body"].indexOf(O(n))<0;){var i=P(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}var q="top",z="bottom",G="right",H="left",U="auto",W=[q,z,G,H],K="start",$="end",Y="viewport",Z="popper",X=W.reduce((function(e,t){return e.concat([t+"-"+K,t+"-"+$])}),[]),Q=[].concat(W,[U]).reduce((function(e,t){return e.concat([t,t+"-"+K,t+"-"+$])}),[]),J=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ee(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}function te(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ne={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function le(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?ae(r):null,a=r?se(r):null,s=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2;switch(o){case q:t={x:s,y:n.y-i.height};break;case z:t={x:s,y:n.y+n.height};break;case G:t={x:n.x+n.width,y:u};break;case H:t={x:n.x-i.width,y:u};break;default:t={x:n.x,y:n.y}}var l=o?ue(o):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case K:t[l]=t[l]-(n[c]/2-i[c]/2);break;case $:t[l]=t[l]+(n[c]/2-i[c]/2)}}return t}var ce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pe(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,p=e.isFixed,d=a.x,h=void 0===d?0:d,m=a.y,f=void 0===m?0:m,g="function"===typeof c?c({x:h,y:f}):{x:h,y:f};h=g.x,f=g.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),_=H,S=q,x=window;if(l){var C=V(n),w="clientHeight",I="clientWidth";if(C===v(n)&&"static"!==P(C=A(n)).position&&"absolute"===s&&(w="scrollHeight",I="scrollWidth"),r===q||(r===H||r===G)&&o===$)S=z,f-=(p&&C===x&&x.visualViewport?x.visualViewport.height:C[w])-i.height,f*=u?1:-1;if(r===H||(r===q||r===z)&&o===$)_=G,h-=(p&&C===x&&x.visualViewport?x.visualViewport.width:C[I])-i.width,h*=u?1:-1}var T,O=Object.assign({position:s},l&&ce),D=!0===c?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:k(t*i)/i||0,y:k(n*i)/i||0}}({x:h,y:f}):{x:h,y:f};return h=D.x,f=D.y,u?Object.assign({},O,((T={})[S]=b?"0":"",T[_]=y?"0":"",T.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",T)):Object.assign({},O,((t={})[S]=b?f+"px":"",t[_]=y?h+"px":"",t.transform="",t))}var de={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var me={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return me[e]}))}function ge(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&x(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ye(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function be(e,t){return t===Y?ye(function(e){var t=v(e),n=A(e),i=t.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,s=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:r,height:o,x:a+D(e),y:s}}(e)):_(t)?function(e){var t=I(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ye(function(e){var t,n=A(e),i=T(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=C(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=C(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+D(e),u=-i.scrollTop;return"rtl"===P(r||n).direction&&(s+=C(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:u}}(A(e)))}function ve(e,t,n){var i="clippingParents"===t?function(e){var t=L(M(e)),n=["absolute","fixed"].indexOf(P(e).position)>=0&&S(e)?V(e):e;return _(n)?t.filter((function(e){return _(e)&&ge(e,n)&&"body"!==O(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),o=r[0],a=r.reduce((function(t,n){var i=be(e,n);return t.top=C(i.top,t.top),t.right=w(i.right,t.right),t.bottom=w(i.bottom,t.bottom),t.left=C(i.left,t.left),t}),be(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _e(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Se(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function xe(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,u=void 0===s?Y:s,l=n.elementContext,c=void 0===l?Z:l,p=n.altBoundary,d=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,f=_e("number"!==typeof m?m:Se(m,W)),g=c===Z?"reference":Z,y=e.rects.popper,b=e.elements[d?g:c],v=ve(_(b)?b:b.contextElement||A(e.elements.popper),a,u),S=I(e.elements.reference),x=le({reference:S,element:y,strategy:"absolute",placement:r}),C=ye(Object.assign({},y,x)),w=c===Z?C:S,k={top:v.top-w.top+f.top,bottom:w.bottom-v.bottom+f.bottom,left:v.left-w.left+f.left,right:w.right-v.right+f.right},T=e.modifiersData.offset;if(c===Z&&T){var O=T[r];Object.keys(k).forEach((function(e){var t=[G,z].indexOf(e)>=0?1:-1,n=[q,z].indexOf(e)>=0?"y":"x";k[e]+=O[n]*t}))}return k}function Ce(e,t,n){return C(e,w(t,n))}function we(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ke(e){return[q,G,z,H].some((function(t){return e[t]>=0}))}var Ie=re({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,u=v(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",n.update,oe)})),s&&u.addEventListener("resize",n.update,oe),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",n.update,oe)})),s&&u.removeEventListener("resize",n.update,oe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,l={placement:ae(t.placement),variation:se(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,pe(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,pe(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];S(r)&&O(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});S(i)&&O(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,a=Q.reduce((function(e,n){return e[n]=function(e,t,n){var i=ae(e),r=[H,q].indexOf(i)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[H,G].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],u=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,l=n.padding,c=n.boundary,p=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=void 0===h||h,f=n.allowedAutoPlacements,g=t.options.placement,y=ae(g),b=u||(y===g||!m?[he(g)]:function(e){if(ae(e)===U)return[];var t=he(e);return[fe(e),t,fe(t)]}(g)),v=[g].concat(b).reduce((function(e,n){return e.concat(ae(n)===U?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,l=void 0===u?Q:u,c=se(i),p=c?s?X:X.filter((function(e){return se(e)===c})):W,d=p.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=p);var h=d.reduce((function(t,n){return t[n]=xe(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[ae(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:c,rootBoundary:p,padding:l,flipVariations:m,allowedAutoPlacements:f}):n)}),[]),_=t.rects.reference,S=t.rects.popper,x=new Map,C=!0,w=v[0],k=0;k=0,D=A?"width":"height",P=xe(t,{placement:I,boundary:c,rootBoundary:p,altBoundary:d,padding:l}),N=A?O?G:H:O?z:q;_[D]>S[D]&&(N=he(N));var E=he(N),R=[];if(o&&R.push(P[T]<=0),s&&R.push(P[N]<=0,P[E]<=0),R.every((function(e){return e}))){w=I,C=!1;break}x.set(I,R)}if(C)for(var M=function(e){var t=v.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return w=t,"break"},j=m?3:1;j>0;j--){if("break"===M(j))break}t.placement!==w&&(t.modifiersData[i]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,l=n.rootBoundary,c=n.altBoundary,p=n.padding,d=n.tether,h=void 0===d||d,m=n.tetherOffset,f=void 0===m?0:m,g=xe(t,{boundary:u,rootBoundary:l,padding:p,altBoundary:c}),y=ae(t.placement),b=se(t.placement),v=!b,_=ue(y),S="x"===_?"y":"x",x=t.modifiersData.popperOffsets,k=t.rects.reference,I=t.rects.popper,T="function"===typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,O="number"===typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(x){if(o){var P,N="y"===_?q:H,E="y"===_?z:G,M="y"===_?"height":"width",j=x[_],L=j+g[N],B=j-g[E],F=h?-I[M]/2:0,U=b===K?k[M]:I[M],W=b===K?-I[M]:-k[M],$=t.elements.arrow,Y=h&&$?R($):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Z[N],Q=Z[E],J=Ce(0,k[M],Y[M]),ee=v?k[M]/2-F-J-X-O.mainAxis:U-J-X-O.mainAxis,te=v?-k[M]/2+F+J+Q+O.mainAxis:W+J+Q+O.mainAxis,ne=t.elements.arrow&&V(t.elements.arrow),ie=ne?"y"===_?ne.clientTop||0:ne.clientLeft||0:0,re=null!=(P=null==A?void 0:A[_])?P:0,oe=j+te-re,le=Ce(h?w(L,j+ee-re-ie):L,j,h?C(B,oe):B);x[_]=le,D[_]=le-j}if(s){var ce,pe="x"===_?q:H,de="x"===_?z:G,he=x[S],me="y"===S?"height":"width",fe=he+g[pe],ge=he-g[de],ye=-1!==[q,H].indexOf(y),be=null!=(ce=null==A?void 0:A[S])?ce:0,ve=ye?fe:he-k[me]-I[me]-be+O.altAxis,_e=ye?he+k[me]+I[me]-be-O.altAxis:ge,Se=h&&ye?function(e,t,n){var i=Ce(e,t,n);return i>n?n:i}(ve,he,_e):Ce(h?ve:fe,he,h?_e:ge);x[S]=Se,D[S]=Se-he}t.modifiersData[i]=D}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ae(n.placement),u=ue(s),l=[H,G].indexOf(s)>=0?"height":"width";if(o&&a){var c=function(e,t){return _e("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Se(e,W))}(r.padding,n),p=R(o),d="y"===u?q:H,h="y"===u?z:G,m=n.rects.reference[l]+n.rects.reference[u]-a[u]-n.rects.popper[l],f=a[u]-n.rects.reference[u],g=V(o),y=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,b=m/2-f/2,v=c[d],_=y-p[l]-c[h],S=y/2-p[l]/2+b,x=Ce(v,S,_),C=u;n.modifiersData[i]=((t={})[C]=x,t.centerOffset=x-S,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i)))&&ge(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=xe(t,{elementContext:"reference"}),s=xe(t,{altBoundary:!0}),u=we(a,i),l=we(s,r,o),c=ke(u),p=ke(l);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}}]}),Te=n(850),Oe=n.n(Te),Ae=[],De=function(){},Pe=function(){return Promise.resolve(null)},Ne=[];function Ee(e){var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,o=void 0===r?"absolute":r,a=e.modifiers,s=void 0===a?Ne:a,u=e.referenceElement,c=e.onFirstUpdate,p=e.innerRef,h=e.children,b=i.useContext(l),v=i.useState(null),_=v[0],S=v[1],x=i.useState(null),C=x[0],w=x[1];i.useEffect((function(){m(p,_)}),[p,_]);var k=i.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:c,modifiers:[].concat(s,[{name:"arrow",enabled:null!=C,options:{element:C}}])}}),[n,o,c,s,C]),I=function(e,t,n){void 0===n&&(n={});var r=i.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ae},a=i.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],u=a[1],l=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);y.flushSync((function(){u({styles:f(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:f(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),c=i.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return Oe()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),p=i.useRef();return g((function(){p.current&&p.current.setOptions(c)}),[c]),g((function(){if(null!=e&&null!=t){var i=(n.createPopper||Ie)(e,t,c);return p.current=i,function(){i.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:s.styles,attributes:s.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}(u||b,_,k),T=I.state,O=I.styles,A=I.forceUpdate,D=I.update,P=i.useMemo((function(){return{ref:S,style:O.popper,placement:T?T.placement:n,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:O.arrow,ref:w},forceUpdate:A||De,update:D||Pe}}),[S,w,n,T,O,D,A]);return d(h)(P)}var Re=n(851),Me=n.n(Re);function je(e){var t=e.children,n=e.innerRef,r=i.useContext(c),o=i.useCallback((function(e){m(n,e),h(r,e)}),[n,r]);return i.useEffect((function(){return function(){return m(n,null)}}),[]),i.useEffect((function(){Me()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),d(t)({ref:o})}var Le=n(40),Be=n(177),Fe=!1,Ve=r.a.createContext(null),qe="unmounted",ze="exited",Ge="entering",He="entered",Ue="exiting",We=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=ze,i.appearStatus=Ge):r=He:r=t.unmountOnExit||t.mountOnEnter?qe:ze,i.state={status:r},i.nextCallback=null,i}Object(Be.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qe?{status:ze}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ge&&n!==He&&(t=Ge):n!==Ge&&n!==He||(t=Ue)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!==typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Ge?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===ze&&this.setState({status:qe})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,r=this.props.nodeRef?[i]:[b.a.findDOMNode(this),i],o=r[0],a=r[1],s=this.getTimeouts(),u=i?s.appear:s.enter;!e&&!n||Fe?this.safeSetState({status:He},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:Ge},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:He},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:b.a.findDOMNode(this);t&&!Fe?(this.props.onExit(i),this.safeSetState({status:Ue},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:ze},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:ze},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:b.a.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=r[0],a=r[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===qe)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(Le.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.a.createElement(Ve.Provider,{value:null},"function"===typeof n?n(e,i):r.a.cloneElement(r.a.Children.only(n),i))},t}(r.a.Component);function Ke(){}We.contextType=Ve,We.propTypes={},We.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ke,onEntering:Ke,onEntered:Ke,onExit:Ke,onExiting:Ke,onExited:Ke},We.UNMOUNTED=qe,We.EXITED=ze,We.ENTERING=Ge,We.ENTERED=He,We.EXITING=Ue;var $e,Ye=We;function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Xe(e){for(var t=1;t=0||(r[n]=e[n]);return r}function it(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rt(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function ot(e){document.body.style.paddingRight=e>0?e+"px":null}function at(){return document.body.clientWidth0;)o[n=i[r-=1]]=e[n];return o}var dt={};function ht(e){dt[e]||("undefined"!==typeof console&&console.error(e),dt[e]=!0)}function mt(e,t){return function(n,i,r){return null!==n[i]&&"undefined"!==typeof n[i]&&ht('"'+i+'" property of "'+r+'" has been deprecated.\n'+t),e.apply(void 0,[n,i,r].concat([].slice.call(arguments,3)))}}var ft="object"===typeof window&&window.Element||function(){};function gt(e,t,n){if(!(e[t]instanceof ft))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var yt=a.a.oneOfType([a.a.string,a.a.func,gt,a.a.shape({current:a.a.any})]),bt=a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func}),a.a.arrayOf(a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func})]))]),vt={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},_t=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],St={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},xt={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},Ct=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],wt=!("undefined"===typeof window||!window.document||!window.document.createElement);function kt(e){return!(!e||"object"!==typeof e)&&"current"in e}function It(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function Tt(e){var t=typeof e;if("number"===t)return e;if("symbol"===t||"object"===t&&"[object Symbol]"===It(e))return NaN;if(Ot(e)){var n="function"===typeof e.valueOf?e.valueOf():e;e=Ot(n)?""+n:n}if("string"!==t)return 0===e?e:+e;e=e.replace(/^\s+|\s+$/g,"");var i=/^0b[01]+$/i.test(e);return i||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),i?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?NaN:+e}function Ot(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function At(e){if(!Ot(e))return!1;var t=It(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}function Dt(e){if(kt(e))return e.current;if(At(e))return e();if("string"===typeof e&&wt){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function Pt(e){return null!==e&&(Array.isArray(e)||wt&&"number"===typeof e.length)}function Nt(e,t){var n=Dt(e);return t?Pt(n)?n:null===n?[]:[n]:Pt(n)?n[0]:n}var Et=["touchstart","click"];function Rt(e,t,n,i){var r=e;Pt(r)||(r=[r]);var o=n;if("string"===typeof o&&(o=o.split(/\s+/)),!Pt(r)||"function"!==typeof t||!Array.isArray(o))throw new Error("\n The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\n The second must be a function.\n The third is a string or an array of strings that represents DOM events\n ");return Array.prototype.forEach.call(o,(function(e){Array.prototype.forEach.call(r,(function(n){n.addEventListener(e,t,i)}))})),function(){Array.prototype.forEach.call(o,(function(e){Array.prototype.forEach.call(r,(function(n){n.removeEventListener(e,t,i)}))}))}}var Mt=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],jt=["className","cssModule","fluid","tag"],Lt={tag:bt,fluid:a.a.oneOfType([a.a.bool,a.a.string]),className:a.a.string,cssModule:a.a.object},Bt=function(e){var t=e.className,n=e.cssModule,i=e.fluid,o=e.tag,a=nt(e,jt),s="container";!0===i?s="container-fluid":i&&(s="container-"+i);var l=lt(u()(t,s),n);return r.a.createElement(o,Je({},a,{className:l}))};Bt.propTypes=Lt,Bt.defaultProps={tag:"div"};var Ft=Bt,Vt=["className","cssModule","noGutters","tag","widths"],qt=a.a.oneOfType([a.a.number,a.a.string]),zt={tag:bt,noGutters:mt(a.a.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:a.a.string,cssModule:a.a.object,xs:qt,sm:qt,md:qt,lg:qt,xl:qt,xxl:qt},Gt={tag:"div",widths:["xs","sm","md","lg","xl","xxl"]},Ht=function(e){var t=e.className,n=e.cssModule,i=e.noGutters,o=e.tag,a=e.widths,s=nt(e,Vt),l=[];a.forEach((function(t,n){var i=e[t];if(delete s[t],i){var r=!n;l.push(r?"row-cols-"+i:"row-cols-"+t+"-"+i)}}));var c=lt(u()(t,i?"gx-0":null,"row",l),n);return r.a.createElement(o,Je({},s,{className:c}))};Ht.propTypes=zt,Ht.defaultProps=Gt;var Ut=Ht,Wt=["className","cssModule","widths","tag"],Kt=["xs","sm","md","lg","xl","xxl"],$t=a.a.oneOfType([a.a.number,a.a.string]),Yt=a.a.oneOfType([a.a.bool,a.a.number,a.a.string,a.a.shape({size:a.a.oneOfType([a.a.bool,a.a.number,a.a.string]),order:$t,offset:$t})]),Zt={tag:bt,xs:Yt,sm:Yt,md:Yt,lg:Yt,xl:Yt,xxl:Yt,className:a.a.string,cssModule:a.a.object,widths:a.a.array},Xt={tag:"div",widths:Kt},Qt=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},Jt=function(e,t,n){void 0===n&&(n=Kt);var i=[];return n.forEach((function(n,r){var o=e[n];if(delete e[n],o||""===o){var a=!r;if(Ot(o)){var s,l=a?"-":"-"+n+"-",c=Qt(a,n,o.size);i.push(lt(u()(((s={})[c]=o.size||""===o.size,s["order"+l+o.order]=o.order||0===o.order,s["offset"+l+o.offset]=o.offset||0===o.offset,s)),t))}else{var p=Qt(a,n,o);i.push(p)}}})),{colClasses:i,attributes:e}},en=function(e){var t=e.className,n=e.cssModule,i=e.widths,o=e.tag,a=nt(e,Wt),s=Jt(a,n,i),l=s.attributes,c=s.colClasses;c.length||c.push("col");var p=lt(u()(t,c),n);return r.a.createElement(o,Je({},l,{className:p}))};en.propTypes=Zt,en.defaultProps=Xt;var tn=en,nn=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"],rn={light:a.a.bool,dark:a.a.bool,full:a.a.bool,fixed:a.a.string,sticky:a.a.string,color:a.a.string,role:a.a.string,tag:bt,container:a.a.oneOfType([a.a.bool,a.a.string]),className:a.a.string,cssModule:a.a.object,expand:a.a.oneOfType([a.a.bool,a.a.string]),children:a.a.node},on=function(e){var t,n=e.expand,i=e.className,o=e.cssModule,a=e.light,s=e.dark,l=e.fixed,c=e.sticky,p=e.color,d=e.container,h=e.tag,m=e.children,f=nt(e,nn),g=lt(u()(i,"navbar",function(e){return!1!==e&&(!0===e||"xs"===e?"navbar-expand":"navbar-expand-"+e)}(n),((t={"navbar-light":a,"navbar-dark":s})["bg-"+p]=p,t["fixed-"+l]=l,t["sticky-"+c]=c,t)),o),y=d&&!0===d?"container":"container-"+d;return r.a.createElement(h,Je({},f,{className:g}),d?r.a.createElement("div",{className:y},m):m)};on.propTypes=rn,on.defaultProps={tag:"nav",expand:!1,container:"fluid"};var an=["className","cssModule","tag"],sn={tag:bt,className:a.a.string,cssModule:a.a.object},un=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,an),a=lt(u()(t,"navbar-brand"),n);return r.a.createElement(i,Je({},o,{className:a}))};un.propTypes=sn,un.defaultProps={tag:"a"};var ln=["className","cssModule","active","tag"],cn={tag:bt,className:a.a.string,cssModule:a.a.object},pn=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,ln),a=lt(u()(t,"navbar-text"),n);return r.a.createElement(i,Je({},o,{className:a}))};pn.propTypes=cn,pn.defaultProps={tag:"span"};var dn=["className","cssModule","children","tag"],hn={tag:bt,type:a.a.string,className:a.a.string,cssModule:a.a.object,children:a.a.node},mn=function(e){var t=e.className,n=e.cssModule,i=e.children,o=e.tag,a=nt(e,dn),s=lt(u()(t,"navbar-toggler"),n);return r.a.createElement(o,Je({"aria-label":"Toggle navigation"},a,{className:s}),i||r.a.createElement("span",{className:lt("navbar-toggler-icon",n)}))};mn.propTypes=hn,mn.defaultProps={tag:"button",type:"button"};var fn=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"],gn={tabs:a.a.bool,pills:a.a.bool,vertical:a.a.oneOfType([a.a.bool,a.a.string]),horizontal:a.a.string,justified:a.a.bool,fill:a.a.bool,navbar:a.a.bool,card:a.a.bool,tag:bt,className:a.a.string,cssModule:a.a.object},yn=function(e){var t=e.className,n=e.cssModule,i=e.tabs,o=e.pills,a=e.vertical,s=e.horizontal,l=e.justified,c=e.fill,p=e.navbar,d=e.card,h=e.tag,m=nt(e,fn),f=lt(u()(t,p?"navbar-nav":"nav",!!s&&"justify-content-"+s,function(e){return!1!==e&&(!0===e||"xs"===e?"flex-column":"flex-"+e+"-column")}(a),{"nav-tabs":i,"card-header-tabs":d&&i,"nav-pills":o,"card-header-pills":d&&o,"nav-justified":l,"nav-fill":c}),n);return r.a.createElement(h,Je({},m,{className:f}))};yn.propTypes=gn,yn.defaultProps={tag:"ul",vertical:!1};var bn=yn,vn=["className","cssModule","active","tag"],_n={tag:bt,active:a.a.bool,className:a.a.string,cssModule:a.a.object},Sn=function(e){var t=e.className,n=e.cssModule,i=e.active,o=e.tag,a=nt(e,vn),s=lt(u()(t,"nav-item",!!i&&"active"),n);return r.a.createElement(o,Je({},a,{className:s}))};Sn.propTypes=_n,Sn.defaultProps={tag:"li"};var xn=Sn,Cn=["className","cssModule","active","tag","innerRef"],wn={tag:bt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),disabled:a.a.bool,active:a.a.bool,className:a.a.string,cssModule:a.a.object,onClick:a.a.func,href:a.a.any},kn=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(it(n)),n}et(t,e);var n=t.prototype;return n.onClick=function(e){this.props.disabled?e.preventDefault():("#"===this.props.href&&e.preventDefault(),this.props.onClick&&this.props.onClick(e))},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,i=e.active,o=e.tag,a=e.innerRef,s=nt(e,Cn),l=lt(u()(t,"nav-link",{disabled:s.disabled,active:i}),n);return r.a.createElement(o,Je({},s,{ref:a,onClick:this.onClick,className:l}))},t}(r.a.Component);kn.propTypes=wn,kn.defaultProps={tag:"a"};var In=kn,Tn=["className","listClassName","cssModule","children","tag","listTag","aria-label"],On={tag:bt,listTag:bt,className:a.a.string,listClassName:a.a.string,cssModule:a.a.object,children:a.a.node,"aria-label":a.a.string},An=function(e){var t=e.className,n=e.listClassName,i=e.cssModule,o=e.children,a=e.tag,s=e.listTag,l=e["aria-label"],c=nt(e,Tn),p=lt(u()(t),i),d=lt(u()("breadcrumb",n),i);return r.a.createElement(a,Je({},c,{className:p,"aria-label":l}),r.a.createElement(s,{className:d},o))};An.propTypes=On,An.defaultProps={tag:"nav",listTag:"ol","aria-label":"breadcrumb"};var Dn=["className","cssModule","active","tag"],Pn={tag:bt,active:a.a.bool,className:a.a.string,cssModule:a.a.object},Nn=function(e){var t=e.className,n=e.cssModule,i=e.active,o=e.tag,a=nt(e,Dn),s=lt(u()(t,!!i&&"active","breadcrumb-item"),n);return r.a.createElement(o,Je({},a,{className:s,"aria-current":i?"page":void 0}))};Nn.propTypes=Pn,Nn.defaultProps={tag:"li"};var En=["className","cssModule","variant","innerRef"],Rn={active:a.a.bool,"aria-label":a.a.string,onClick:a.a.func,variant:a.a.oneOf(["white"])},Mn=function(e){var t=e.className,n=e.variant,i=e.innerRef,o=nt(e,En),a=lt(u()(t,"btn-close",n&&"btn-close-"+n));return r.a.createElement("button",Je({ref:i,type:"button",className:a},o))};Mn.propTypes=Rn,Mn.defaultProps={"aria-label":"close"};var jn=Mn,Ln=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],Bn={active:a.a.bool,"aria-label":a.a.string,block:a.a.bool,color:a.a.string,disabled:a.a.bool,outline:a.a.bool,tag:bt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),onClick:a.a.func,size:a.a.string,children:a.a.node,className:a.a.string,cssModule:a.a.object,close:a.a.bool};function Fn(e){var t=Object(i.useCallback)((function(t){if(!e.disabled)return e.onClick?e.onClick(t):void 0;t.preventDefault()}),[e.onClick,e.disabled]),n=e.active,o=e["aria-label"],a=e.block,s=e.className,l=e.close,c=e.cssModule,p=e.color,d=e.outline,h=e.size,m=e.tag,f=e.innerRef,g=nt(e,Ln);if(l)return r.a.createElement(jn,g);var y="btn"+(d?"-outline":"")+"-"+p,b=lt(u()(s,"btn",y,!!h&&"btn-"+h,!!a&&"d-block w-100",{active:n,disabled:e.disabled}),c);return g.href&&"button"===m&&(m="a"),r.a.createElement(m,Je({type:"button"===m&&g.onClick?"button":void 0},g,{className:b,ref:f,onClick:t,"aria-label":o}))}Fn.propTypes=Bn,Fn.defaultProps={color:"secondary",tag:"button"};var Vn=["className"],qn={onClick:a.a.func,onBlur:a.a.func,onFocus:a.a.func,defaultValue:a.a.bool},zn=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={toggled:t.defaultValue,focus:!1},n.onBlur=n.onBlur.bind(it(n)),n.onFocus=n.onFocus.bind(it(n)),n.onClick=n.onClick.bind(it(n)),n}et(t,e);var n=t.prototype;return n.onBlur=function(e){this.props.onBlur&&this.props.onBlur(e),this.setState({focus:!1})},n.onFocus=function(e){this.props.onFocus&&this.props.onFocus(e),this.setState({focus:!0})},n.onClick=function(e){this.props.onClick&&this.props.onClick(e),this.setState((function(e){return{toggled:!e.toggled}}))},n.render=function(){var e=this.props,t=e.className,n=nt(e,Vn),i=lt(u()(t,{focus:this.state.focus}),this.props.cssModule);return r.a.createElement(Fn,Je({active:this.state.toggled,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.onClick,className:i},n))},t}(r.a.Component);zn.propTypes=qn,zn.defaultProps={defaultValue:!1};var Gn=r.a.createContext({}),Hn=["className","cssModule","direction","isOpen","group","size","nav","setActiveFromChild","active","tag","menuRole"],Un={a11y:a.a.bool,disabled:a.a.bool,direction:a.a.oneOf(["up","down","start","end","left","right"]),group:a.a.bool,isOpen:a.a.bool,nav:a.a.bool,active:a.a.bool,size:a.a.string,tag:bt,toggle:a.a.func,children:a.a.node,className:a.a.string,cssModule:a.a.object,inNavbar:a.a.bool,setActiveFromChild:a.a.bool,menuRole:a.a.oneOf(["listbox","menu"])},Wn=[xt.space,xt.enter,xt.up,xt.down,xt.end,xt.home],Kn=function(e){function t(t){var n;return(n=e.call(this,t)||this).addEvents=n.addEvents.bind(it(n)),n.handleDocumentClick=n.handleDocumentClick.bind(it(n)),n.handleKeyDown=n.handleKeyDown.bind(it(n)),n.removeEvents=n.removeEvents.bind(it(n)),n.toggle=n.toggle.bind(it(n)),n.handleMenuRef=n.handleMenuRef.bind(it(n)),n.containerRef=r.a.createRef(),n.menuRef=r.a.createRef(),n}et(t,e);var n=t.prototype;return n.handleMenuRef=function(e){this.menuRef.current=e},n.getContextValue=function(){return{toggle:this.toggle,isOpen:this.props.isOpen,direction:"down"===this.props.direction&&this.props.dropup?"up":this.props.direction,inNavbar:this.props.inNavbar,disabled:this.props.disabled,onMenuRef:this.handleMenuRef,menuRole:this.props.menuRole}},n.componentDidMount=function(){this.handleProps()},n.componentDidUpdate=function(e){this.props.isOpen!==e.isOpen&&this.handleProps()},n.componentWillUnmount=function(){this.removeEvents()},n.getContainer=function(){return this.containerRef.current},n.getMenu=function(){return this.menuRef.current},n.getMenuCtrl=function(){return this._$menuCtrl||(this._$menuCtrl=this.getContainer().querySelector("[aria-expanded]")),this._$menuCtrl},n.getItemType=function(){return"listbox"===this.context.menuRole?"option":"menuitem"},n.getMenuItems=function(){var e=this.getMenu()||this.getContainer();return[].slice.call(e.querySelectorAll('[role="'+this.getItemType()+'"]'))},n.addEvents=function(){var e=this;["click","touchstart","keyup"].forEach((function(t){return document.addEventListener(t,e.handleDocumentClick,!0)}))},n.removeEvents=function(){var e=this;["click","touchstart","keyup"].forEach((function(t){return document.removeEventListener(t,e.handleDocumentClick,!0)}))},n.handleDocumentClick=function(e){if(!e||3!==e.which&&("keyup"!==e.type||e.which===xt.tab)){var t=this.getContainer(),n=this.getMenu(),i=t.contains(e.target)&&t!==e.target,r=t.classList.contains("input-group")&&t.classList.contains("dropdown")&&"INPUT"===e.target.tagName,o=n&&n.contains(e.target)&&n!==e.target;(!(i&&!r||o)||"keyup"===e.type&&e.which!==xt.tab)&&this.toggle(e)}},n.handleKeyDown=function(e){var t=this,n="menuitem"===e.target.getAttribute("role")||"option"===e.target.getAttribute("role"),i=this.getMenuCtrl()===e.target,r=xt.tab===e.which;if(!(/input|textarea/i.test(e.target.tagName)||r&&!this.props.a11y||r&&!n&&!i)&&((-1!==Wn.indexOf(e.which)||e.which>=48&&e.which<=90)&&e.preventDefault(),!this.props.disabled&&(i&&([xt.space,xt.enter,xt.up,xt.down].indexOf(e.which)>-1?(this.props.isOpen||this.toggle(e),setTimeout((function(){return t.getMenuItems()[0].focus()}))):this.props.isOpen&&r?(e.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&e.which===xt.esc&&this.toggle(e)),this.props.isOpen&&n)))if([xt.tab,xt.esc].indexOf(e.which)>-1)this.toggle(e),this.getMenuCtrl().focus();else if([xt.space,xt.enter].indexOf(e.which)>-1)e.target.click(),this.getMenuCtrl().focus();else if([xt.down,xt.up].indexOf(e.which)>-1||[xt.n,xt.p].indexOf(e.which)>-1&&e.ctrlKey){var o=this.getMenuItems(),a=o.indexOf(e.target);xt.up===e.which||xt.p===e.which&&e.ctrlKey?a=0!==a?a-1:o.length-1:(xt.down===e.which||xt.n===e.which&&e.ctrlKey)&&(a=a===o.length-1?0:a+1),o[a].focus()}else if(xt.end===e.which){var s=this.getMenuItems();s[s.length-1].focus()}else if(xt.home===e.which){this.getMenuItems()[0].focus()}else if(e.which>=48&&e.which<=90)for(var u=this.getMenuItems(),l=String.fromCharCode(e.which).toLowerCase(),c=0;c-1?this.getRole():void 0,n=ct(this.props,["toggle"]),i=n.className,o=n.cssModule,a=n.divider,s=n.tag,l=n.header,c=n.active,p=n.text,d=nt(n,ri),h=lt(u()(i,{disabled:d.disabled,"dropdown-item":!a&&!l&&!p,active:c,"dropdown-header":l,"dropdown-divider":a,"dropdown-item-text":p}),o);return"button"===s&&(l?s="h6":a?s="div":d.href?s="a":p&&(s="span")),r.a.createElement(s,Je({type:"button"===s&&(d.onClick||this.props.toggle)?"button":void 0},d,{tabIndex:e,role:t,className:h,onClick:this.onClick}))},t}(r.a.Component);ai.propTypes=oi,ai.defaultProps={tag:"button",toggle:!0},ai.contextType=Gn;var si=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container","updateOnSelect"],ui={tag:bt,children:a.a.node.isRequired,dark:a.a.bool,end:a.a.bool,flip:a.a.bool,modifiers:a.a.array,className:a.a.string,cssModule:a.a.object,persist:a.a.bool,strategy:a.a.string,container:yt,updateOnSelect:a.a.bool,right:mt(a.a.bool,'Please use "end" instead.')},li={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},ci=function(e){function t(){return e.apply(this,arguments)||this}et(t,e);var n=t.prototype;return n.getRole=function(){return"listbox"===this.context.menuRole?"listbox":"menu"},n.render=function(){var e=this,t=this.props,n=t.className,i=t.cssModule,o=t.dark,a=t.end,s=t.right,l=t.tag,c=t.flip,p=t.modifiers,d=t.persist,h=t.strategy,m=t.container,f=t.updateOnSelect,g=nt(t,si),y=lt(u()(n,"dropdown-menu",{"dropdown-menu-dark":o,"dropdown-menu-end":a||s,show:this.context.isOpen}),i),v=l;if(d||this.context.isOpen&&!this.context.inNavbar){var _=(li[this.context.direction]||"bottom")+"-"+(a||s?"end":"start"),S=[].concat(p,[{name:"flip",enabled:!!c}]),x=r.a.createElement(Ee,{placement:_,modifiers:S,strategy:h},(function(t){var n=t.ref,i=t.style,o=t.placement,a=t.update,s=Xe(Xe({},e.props.style),i);return r.a.createElement(v,Je({tabIndex:"-1",role:e.getRole(),ref:function(t){n(t);var i=e.context.onMenuRef;i&&i(t)}},g,{style:s,"aria-hidden":!e.context.isOpen,className:y,"data-popper-placement":o,onClick:function(){return f&&a()}}))}));return m?b.a.createPortal(x,Nt(m)):x}return r.a.createElement(v,Je({tabIndex:"-1",role:this.getRole()},g,{"aria-hidden":!this.context.isOpen,className:y,"data-popper-placement":g.placement}))},t}(r.a.Component);ci.propTypes=ui,ci.defaultProps={tag:"div",flip:!0,modifiers:[]},ci.contextType=Gn;var pi=ci,di=["className","color","cssModule","caret","split","nav","tag","innerRef"],hi={caret:a.a.bool,color:a.a.string,children:a.a.node,className:a.a.string,cssModule:a.a.object,disabled:a.a.bool,onClick:a.a.func,"aria-haspopup":a.a.bool,split:a.a.bool,tag:bt,nav:a.a.bool},mi=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(it(n)),n}et(t,e);var n=t.prototype;return n.onClick=function(e){this.props.disabled||this.context.disabled?e.preventDefault():(this.props.nav&&!this.props.tag&&e.preventDefault(),this.props.onClick&&this.props.onClick(e),this.context.toggle(e))},n.getRole=function(){return this.context.menuRole||this.props["aria-haspopup"]},n.render=function(){var e,t=this,n=this.props,i=n.className,o=n.color,a=n.cssModule,s=n.caret,l=n.split,c=n.nav,p=n.tag,d=n.innerRef,h=nt(n,di),m=h["aria-label"]||"Toggle Dropdown",f=lt(u()(i,{"dropdown-toggle":s||l,"dropdown-toggle-split":l,"nav-link":c}),a),g="undefined"!==typeof h.children?h.children:r.a.createElement("span",{className:"visually-hidden"},m);return c&&!p?(e="a",h.href="#"):p?e=p:(e=Fn,h.color=o,h.cssModule=a),this.context.inNavbar?r.a.createElement(e,Je({},h,{className:f,onClick:this.onClick,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:g})):r.a.createElement(je,{innerRef:d},(function(n){var i,o=n.ref;return r.a.createElement(e,Je({},h,((i={})["string"===typeof e?"ref":"innerRef"]=o,i),{className:f,onClick:t.onClick,"aria-expanded":t.context.isOpen,"aria-haspopup":t.getRole(),children:g}))}))},t}(r.a.Component);mi.propTypes=hi,mi.defaultProps={color:"secondary","aria-haspopup":!0},mi.contextType=Gn;var fi=mi,gi=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"],yi=Xe(Xe({},Ye.propTypes),{},{children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),tag:bt,baseClass:a.a.string,baseClassActive:a.a.string,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])}),bi=Xe(Xe({},Ye.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:vt.Fade,appear:!0,enter:!0,exit:!0,in:!0});function vi(e){var t=e.tag,n=e.baseClass,i=e.baseClassActive,o=e.className,a=e.cssModule,s=e.children,l=e.innerRef,c=nt(e,gi),p=pt(c,_t),d=ct(c,_t);return r.a.createElement(Ye,p,(function(e){var c="entered"===e,p=lt(u()(o,n,c&&i),a);return r.a.createElement(t,Je({className:p},d,{ref:l}),s)}))}vi.propTypes=yi,vi.defaultProps=bi;var _i=r.a.createContext({}),Si=["flush","open","toggle","className","cssModule","tag","innerRef"],xi={tag:bt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,flush:a.a.bool,open:a.a.oneOfType([a.a.array,a.a.string]).isRequired,toggle:a.a.func.isRequired},Ci=function(e){var t=e.flush,n=e.open,o=e.toggle,a=e.className,s=e.cssModule,l=e.tag,c=e.innerRef,p=nt(e,Si),d=lt(u()(a,"accordion",{"accordion-flush":t}),s),h=Object(i.useMemo)((function(){return{open:n,toggle:o}}));return r.a.createElement(_i.Provider,{value:h},r.a.createElement(l,Je({},p,{className:d,ref:c})))};Ci.propTypes=xi,Ci.defaultProps={tag:"div"};var wi=Ci,ki=["defaultOpen","stayOpen"],Ii={tag:bt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,defaultOpen:a.a.oneOfType([a.a.array,a.a.string]),stayOpen:a.a.bool},Ti=function(e){var t=e.defaultOpen,n=e.stayOpen,o=nt(e,ki),a=Object(i.useState)(t||(n?[]:void 0)),s=a[0],u=a[1];return r.a.createElement(wi,Je({},o,{open:s,toggle:function(e){n?s.includes(e)?u(s.filter((function(t){return t!==e}))):u([].concat(s,[e])):u(s===e?void 0:e)}}))};Ti.propTypes=Ii,Ti.defaultProps={tag:"div"};var Oi=["className","cssModule","tag","innerRef","children","targetId"],Ai={tag:bt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,targetId:a.a.string.isRequired},Di=function(e){var t=e.className,n=e.cssModule,o=e.tag,a=e.innerRef,s=e.children,l=e.targetId,c=nt(e,Oi),p=Object(i.useContext)(_i),d=p.open,h=p.toggle,m=lt(u()(t,"accordion-header"),n),f=lt(u()("accordion-button",{collapsed:!(Array.isArray(d)?d.includes(l):d===l)}),n);return r.a.createElement(o,Je({},c,{className:m,ref:a}),r.a.createElement("button",{type:"button",className:f,onClick:function(){return h(l)}},s))};Di.propTypes=Ai,Di.defaultProps={tag:"h2"};var Pi=["className","cssModule","tag","innerRef"],Ni={tag:bt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node},Ei=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=e.innerRef,a=nt(e,Pi),s=lt(u()(t,"accordion-item"),n);return r.a.createElement(i,Je({},a,{className:s,ref:o}))};Ei.propTypes=Ni,Ei.defaultProps={tag:"div"};var Ri,Mi=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],ji=Xe(Xe({},Ye.propTypes),{},{horizontal:a.a.bool,isOpen:a.a.bool,children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),tag:bt,className:a.a.node,navbar:a.a.bool,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.func,a.a.string,a.a.object])}),Li=Xe(Xe({},Ye.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:vt.Collapse}),Bi=((Ri={})[St.ENTERING]="collapsing",Ri[St.ENTERED]="collapse show",Ri[St.EXITING]="collapsing",Ri[St.EXITED]="collapse",Ri);var Fi=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={dimension:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(e){n[e]=n[e].bind(it(n))})),n}et(t,e);var n=t.prototype;return n.getDimension=function(e){return this.props.horizontal?e.scrollWidth:e.scrollHeight},n.onEntering=function(e,t){this.setState({dimension:this.getDimension(e)}),this.props.onEntering(e,t)},n.onEntered=function(e,t){this.setState({dimension:null}),this.props.onEntered(e,t)},n.onExit=function(e){this.setState({dimension:this.getDimension(e)}),this.props.onExit(e)},n.onExiting=function(e){this.getDimension(e),this.setState({dimension:0}),this.props.onExiting(e)},n.onExited=function(e){this.setState({dimension:null}),this.props.onExited(e)},n.render=function(){var e=this,t=this.props,n=t.tag,i=t.horizontal,o=t.isOpen,a=t.className,s=t.navbar,l=t.cssModule,c=t.children,p=nt(t,Mi),d=this.state.dimension,h=pt(p,_t),m=ct(p,_t);return r.a.createElement(Ye,Je({},h,{in:o,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(t){var o,p=function(e){return Bi[e]||"collapse"}(t),h=lt(u()(a,i&&"collapse-horizontal",p,s&&"navbar-collapse"),l),f=null===d?null:((o={})[i?"width":"height"]=d,o);return r.a.createElement(n,Je({},m,{style:Xe(Xe({},m.style),f),className:h,ref:e.props.innerRef}),c)}))},t}(i.Component);Fi.propTypes=ji,Fi.defaultProps=Li;var Vi=Fi,qi=["className","cssModule","tag","innerRef","children","accordionId"],zi={tag:bt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,accordionId:a.a.string.isRequired},Gi=function(e){var t=e.className,n=e.cssModule,o=e.tag,a=e.innerRef,s=e.children,l=e.accordionId,c=nt(e,qi),p=Object(i.useContext)(_i).open,d=lt(u()(t,"accordion-collapse"),n);return r.a.createElement(Vi,Je({},c,{className:d,ref:a,isOpen:Array.isArray(p)?p.includes(l):p===l}),r.a.createElement(o,{className:"accordion-body"},s))};Gi.propTypes=zi,Gi.defaultProps={tag:"div"};var Hi=["className","cssModule","color","innerRef","pill","tag"],Ui={color:a.a.string,pill:a.a.bool,tag:bt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),children:a.a.node,className:a.a.string,cssModule:a.a.object},Wi=function(e){var t=e.className,n=e.cssModule,i=e.color,o=e.innerRef,a=e.pill,s=e.tag,l=nt(e,Hi),c=lt(u()(t,"badge","bg-"+i,!!a&&"rounded-pill"),n);return l.href&&"span"===s&&(s="a"),r.a.createElement(s,Je({},l,{className:c,ref:o}))};Wi.propTypes=Ui,Wi.defaultProps={color:"secondary",pill:!1,tag:"span"};var Ki=Wi,$i=["className","cssModule","color","body","inverse","outline","tag","innerRef"],Yi={tag:bt,inverse:a.a.bool,color:a.a.string,body:a.a.bool,outline:a.a.bool,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])},Zi=function(e){var t=e.className,n=e.cssModule,i=e.color,o=e.body,a=e.inverse,s=e.outline,l=e.tag,c=e.innerRef,p=nt(e,$i),d=lt(u()(t,"card",!!a&&"text-white",!!o&&"card-body",!!i&&(s?"border":"bg")+"-"+i),n);return r.a.createElement(l,Je({},p,{className:d,ref:c}))};Zi.propTypes=Yi,Zi.defaultProps={tag:"div"};var Xi=Zi,Qi=["className","cssModule","tag"],Ji={tag:bt,className:a.a.string,cssModule:a.a.object},er=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,Qi),a=lt(u()(t,"card-group"),n);return r.a.createElement(i,Je({},o,{className:a}))};er.propTypes=Ji,er.defaultProps={tag:"div"};var tr=["className","cssModule","tag"],nr={tag:bt,className:a.a.string,cssModule:a.a.object},ir=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,tr),a=lt(u()(t,"card-deck"),n);return r.a.createElement(i,Je({},o,{className:a}))};ir.propTypes=nr,ir.defaultProps={tag:"div"};var rr=["className","cssModule","tag"],or={tag:bt,className:a.a.string,cssModule:a.a.object},ar=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,rr),a=lt(u()(t,"card-columns"),n);return r.a.createElement(i,Je({},o,{className:a}))};ar.propTypes=or,ar.defaultProps={tag:"div"};var sr=["className","cssModule","innerRef","tag"],ur={tag:bt,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])},lr=function(e){var t=e.className,n=e.cssModule,i=e.innerRef,o=e.tag,a=nt(e,sr),s=lt(u()(t,"card-body"),n);return r.a.createElement(o,Je({},a,{className:s,ref:i}))};lr.propTypes=ur,lr.defaultProps={tag:"div"};var cr=lr,pr=["className","cssModule","tag","innerRef"],dr={tag:bt,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),className:a.a.string,cssModule:a.a.object},hr=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=e.innerRef,a=nt(e,pr),s=lt(u()(t,"card-link"),n);return r.a.createElement(i,Je({},a,{ref:o,className:s}))};hr.propTypes=dr,hr.defaultProps={tag:"a"};var mr=["className","cssModule","tag"],fr={tag:bt,className:a.a.string,cssModule:a.a.object},gr=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,mr),a=lt(u()(t,"card-footer"),n);return r.a.createElement(i,Je({},o,{className:a}))};gr.propTypes=fr,gr.defaultProps={tag:"div"};var yr=["className","cssModule","tag"],br={tag:bt,className:a.a.string,cssModule:a.a.object},vr=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,yr),a=lt(u()(t,"card-header"),n);return r.a.createElement(i,Je({},o,{className:a}))};vr.propTypes=br,vr.defaultProps={tag:"div"};var _r=["className","cssModule","top","bottom","tag"],Sr={tag:bt,top:a.a.bool,bottom:a.a.bool,className:a.a.string,cssModule:a.a.object},xr=function(e){var t=e.className,n=e.cssModule,i=e.top,o=e.bottom,a=e.tag,s=nt(e,_r),l="card-img";i&&(l="card-img-top"),o&&(l="card-img-bottom");var c=lt(u()(t,l),n);return r.a.createElement(a,Je({},s,{className:c}))};xr.propTypes=Sr,xr.defaultProps={tag:"img"};var Cr=["className","cssModule","tag"],wr={tag:bt,className:a.a.string,cssModule:a.a.object},kr=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,Cr),a=lt(u()(t,"card-img-overlay"),n);return r.a.createElement(i,Je({},o,{className:a}))};kr.propTypes=wr,kr.defaultProps={tag:"div"};var Ir=["in","children","cssModule","slide","tag","className"],Tr=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={startAnimation:!1},n.onEnter=n.onEnter.bind(it(n)),n.onEntering=n.onEntering.bind(it(n)),n.onExit=n.onExit.bind(it(n)),n.onExiting=n.onExiting.bind(it(n)),n.onExited=n.onExited.bind(it(n)),n}et(t,e);var n=t.prototype;return n.onEnter=function(e,t){this.setState({startAnimation:!1}),this.props.onEnter(e,t)},n.onEntering=function(e,t){var n=e.offsetHeight;return this.setState({startAnimation:!0}),this.props.onEntering(e,t),n},n.onExit=function(e){this.setState({startAnimation:!1}),this.props.onExit(e)},n.onExiting=function(e){this.setState({startAnimation:!0}),e.dispatchEvent(new CustomEvent("slide.bs.carousel")),this.props.onExiting(e)},n.onExited=function(e){e.dispatchEvent(new CustomEvent("slid.bs.carousel")),this.props.onExited(e)},n.render=function(){var e=this,t=this.props,n=t.in,i=t.children,o=t.cssModule,a=t.slide,s=t.tag,l=t.className,c=nt(t,Ir);return r.a.createElement(Ye,Je({},c,{enter:a,exit:a,in:n,onEnter:this.onEnter,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(t){var n=e.context.direction,a=t===St.ENTERED||t===St.EXITING,c=(t===St.ENTERING||t===St.EXITING)&&e.state.startAnimation&&("end"===n?"carousel-item-start":"carousel-item-end"),p=t===St.ENTERING&&("end"===n?"carousel-item-next":"carousel-item-prev"),d=lt(u()(l,"carousel-item",a&&"active",c,p),o);return r.a.createElement(s,{className:d},i)}))},t}(r.a.Component);Tr.propTypes=Xe(Xe({},Ye.propTypes),{},{tag:bt,in:a.a.bool,cssModule:a.a.object,children:a.a.node,slide:a.a.bool,className:a.a.string}),Tr.defaultProps=Xe(Xe({},Ye.defaultProps),{},{tag:"div",timeout:vt.Carousel,slide:!0}),Tr.contextTypes={direction:a.a.string};var Or=Tr,Ar=r.a.createContext({}),Dr=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyPress=n.handleKeyPress.bind(it(n)),n.renderItems=n.renderItems.bind(it(n)),n.hoverStart=n.hoverStart.bind(it(n)),n.hoverEnd=n.hoverEnd.bind(it(n)),n.handleTouchStart=n.handleTouchStart.bind(it(n)),n.handleTouchEnd=n.handleTouchEnd.bind(it(n)),n.touchStartX=0,n.touchStartY=0,n.state={activeIndex:n.props.activeIndex,direction:"end",indicatorClicked:!1},n}et(t,e);var n=t.prototype;return n.getContextValue=function(){return{direction:this.state.direction}},n.componentDidMount=function(){"carousel"===this.props.ride&&this.setInterval(),document.addEventListener("keyup",this.handleKeyPress)},t.getDerivedStateFromProps=function(e,t){var n=null,i=t.activeIndex,r=t.direction,o=t.indicatorClicked;return e.activeIndex!==i&&(e.activeIndex===i+1?r="end":e.activeIndex===i-1?r="start":e.activeIndex-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},n.onMouseLeaveTooltipContent=function(e){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),e.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide")))},n.onEscKeyDown=function(e){"Escape"===e.key&&this.hide(e)},n.getRef=function(e){var t=this.props.innerRef;t&&("function"===typeof t?t(e):"object"===typeof t&&(t.current=e)),this._popover=e},n.getDelay=function(e){var t=this.props.delay;return"object"===typeof t?isNaN(t[e])?ro[e]:t[e]:t},n.getCurrentTarget=function(e){if(!e)return null;var t=this._targets.indexOf(e);return t>=0?this._targets[t]:this.getCurrentTarget(e.parentElement)},n.show=function(e){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=e?e.currentTarget||this.getCurrentTarget(e.target):null,e&&e.composedPath&&"function"===typeof e.composedPath){var t=e.composedPath();this.currentTargetElement=t&&t[0]||this.currentTargetElement}this.toggle(e)}},n.showWithDelay=function(e){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,e),this.getDelay("show"))},n.hide=function(e){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(e))},n.hideWithDelay=function(e){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide"))},n.clearShowTimeout=function(){clearTimeout(this._showTimeout),this._showTimeout=void 0},n.clearHideTimeout=function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0},n.handleDocumentClick=function(e){var t=this.props.trigger.split(" ");t.indexOf("legacy")>-1&&(this.props.isOpen||so(e.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!ao(e.target,this._popover)?this.hideWithDelay(e):this.props.isOpen||this.showWithDelay(e)):t.indexOf("click")>-1&&so(e.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(e):this.showWithDelay(e))},n.addEventOnTargets=function(e,t,n){this._targets.forEach((function(i){i.addEventListener(e,t,n)}))},n.removeEventOnTargets=function(e,t,n){this._targets.forEach((function(i){i.removeEventListener(e,t,n)}))},n.addTargetEvents=function(){if(this.props.trigger){var e=this.props.trigger.split(" ");-1===e.indexOf("manual")&&((e.indexOf("click")>-1||e.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(e.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),e.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}},n.removeTargetEvents=function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)},n.updateTarget=function(){var e=Nt(this.props.target,!0);e!==this._targets&&(this.removeTargetEvents(),this._targets=e?Array.from(e):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},n.toggle=function(e){return this.props.disabled||!this._isMounted?e&&e.preventDefault():this.props.toggle(e)},n.render=function(){var e=this;this.props.isOpen&&this.updateTarget();var t=this.currentTargetElement||this._targets[0];if(!t)return null;var n=this.props,i=n.className,o=n.cssModule,a=n.innerClassName,s=n.isOpen,u=n.hideArrow,l=n.boundariesElement,c=n.placement,p=n.placementPrefix,d=n.arrowClassName,h=n.popperClassName,m=n.container,f=n.modifiers,g=n.strategy,y=n.offset,b=n.fade,v=n.flip,_=n.children,S=ct(this.props,Object.keys(io)),x=lt(h,o),C=lt(a,o);return r.a.createElement(to,{className:i,target:t,isOpen:s,hideArrow:u,boundariesElement:l,placement:c,placementPrefix:p,arrowClassName:d,popperClassName:x,container:m,modifiers:f,strategy:g,offset:y,cssModule:o,fade:b,flip:v},(function(t){var n=t.update;return r.a.createElement("div",Je({},S,{ref:e.getRef,className:C,role:"tooltip",onMouseOver:e.onMouseOverTooltipContent,onMouseLeave:e.onMouseLeaveTooltipContent,onKeyDown:e.onEscKeyDown}),"function"===typeof _?_({update:n}):_)}))},t}(r.a.Component);uo.propTypes=io,uo.defaultProps=oo;var lo=uo,co=function(e){var t=u()("popover","show",e.popperClassName),n=u()("popover-inner",e.innerClassName);return r.a.createElement(lo,Je({},e,{arrowClassName:"popover-arrow",popperClassName:t,innerClassName:n}))};co.propTypes=io,co.defaultProps={placement:"right",placementPrefix:"bs-popover",trigger:"click",offset:[0,8]};var po=co,ho=["defaultOpen"];(function(e){function t(t){var n;return(n=e.call(this,t)||this).state={isOpen:t.defaultOpen||!1},n.toggle=n.toggle.bind(it(n)),n}et(t,e);var n=t.prototype;return n.toggle=function(){this.setState({isOpen:!this.state.isOpen})},n.render=function(){return r.a.createElement(po,Je({isOpen:this.state.isOpen,toggle:this.toggle},ct(this.props,ho)))},t}(i.Component)).propTypes=Xe({defaultOpen:a.a.bool},po.propTypes);var mo=["className","cssModule","tag"],fo={tag:bt,className:a.a.string,cssModule:a.a.object},go=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,mo),a=lt(u()(t,"popover-header"),n);return r.a.createElement(i,Je({},o,{className:a}))};go.propTypes=fo,go.defaultProps={tag:"h3"};var yo=["className","cssModule","tag"],bo={tag:bt,className:a.a.string,cssModule:a.a.object},vo=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,yo),a=lt(u()(t,"popover-body"),n);return r.a.createElement(i,Je({},o,{className:a}))};vo.propTypes=bo,vo.defaultProps={tag:"div"};var _o=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"],So={children:a.a.node,bar:a.a.bool,multi:a.a.bool,tag:bt,value:a.a.oneOfType([a.a.string,a.a.number]),min:a.a.oneOfType([a.a.string,a.a.number]),max:a.a.oneOfType([a.a.string,a.a.number]),animated:a.a.bool,striped:a.a.bool,color:a.a.string,className:a.a.string,barClassName:a.a.string,cssModule:a.a.object,style:a.a.object,barStyle:a.a.object,barAriaValueText:a.a.string,barAriaLabelledBy:a.a.string},xo=function(e){var t=e.children,n=e.className,i=e.barClassName,o=e.cssModule,a=e.value,s=e.min,l=e.max,c=e.animated,p=e.striped,d=e.color,h=e.bar,m=e.multi,f=e.tag,g=e.style,y=e.barStyle,b=e.barAriaValueText,v=e.barAriaLabelledBy,_=nt(e,_o),S=Tt(a)/Tt(l)*100,x=lt(u()(n,"progress"),o),C={className:lt(u()("progress-bar",h&&n||i,c?"progress-bar-animated":null,d?"bg-"+d:null,p||c?"progress-bar-striped":null),o),style:Xe(Xe(Xe({},h?g:{}),y),{},{width:S+"%"}),role:"progressbar","aria-valuenow":a,"aria-valuemin":s,"aria-valuemax":l,"aria-valuetext":b,"aria-labelledby":v,children:t};return h?r.a.createElement(f,Je({},_,C)):r.a.createElement(f,Je({},_,{style:g,className:x}),m?t:r.a.createElement("div",C))};xo.propTypes=So,xo.defaultProps={tag:"div",value:0,min:0,max:100,style:{},barStyle:{}};var Co=xo,wo={children:a.a.node.isRequired,node:a.a.any},ko=function(e){function t(){return e.apply(this,arguments)||this}et(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null},n.render=function(){return wt?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),b.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null},t}(r.a.Component);ko.propTypes=wo;var Io=ko;function To(){}var Oo=a.a.shape(vi.propTypes),Ao={isOpen:a.a.bool,autoFocus:a.a.bool,centered:a.a.bool,fullscreen:a.a.oneOfType([a.a.bool,a.a.oneOf(["sm","md","lg","xl"])]),scrollable:a.a.bool,size:a.a.string,toggle:a.a.func,keyboard:a.a.bool,role:a.a.string,labelledBy:a.a.string,backdrop:a.a.oneOfType([a.a.bool,a.a.oneOf(["static"])]),onEnter:a.a.func,onExit:a.a.func,onOpened:a.a.func,onClosed:a.a.func,children:a.a.node,className:a.a.string,wrapClassName:a.a.string,modalClassName:a.a.string,backdropClassName:a.a.string,contentClassName:a.a.string,external:a.a.node,fade:a.a.bool,cssModule:a.a.object,zIndex:a.a.oneOfType([a.a.number,a.a.string]),backdropTransition:Oo,modalTransition:Oo,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),unmountOnClose:a.a.bool,returnFocusAfterClose:a.a.bool,container:yt,trapFocus:a.a.bool},Do=Object.keys(Ao),Po={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:To,onClosed:To,modalTransition:{timeout:vt.Modal},backdropTransition:{mountOnEnter:!0,timeout:vt.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},No=function(e){function t(t){var n;return(n=e.call(this,t)||this)._element=null,n._originalBodyPadding=null,n._originalBodyOverflow=null,n.getFocusableChildren=n.getFocusableChildren.bind(it(n)),n.handleBackdropClick=n.handleBackdropClick.bind(it(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(it(n)),n.handleEscape=n.handleEscape.bind(it(n)),n.handleStaticBackdropAnimation=n.handleStaticBackdropAnimation.bind(it(n)),n.handleTab=n.handleTab.bind(it(n)),n.onOpened=n.onOpened.bind(it(n)),n.onClosed=n.onClosed.bind(it(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(it(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(it(n)),n.trapFocus=n.trapFocus.bind(it(n)),n.state={isOpen:!1,showStaticBackdropAnimation:!1},n}et(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.isOpen,n=e.autoFocus,i=e.onEnter;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),i&&i(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(e,t){if(this.props.isOpen&&!e.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!t.isOpen&&this.setFocus(),this._element&&e.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1},n.trapFocus=function(e){if(this.props.trapFocus&&this._element&&(!this._dialog||this._dialog.parentNode!==e.target)&&!(this.modalIndex0&&(e.preventDefault(),e.stopPropagation(),n[0].focus())}},n.onOpened=function(e,t){this.props.onOpened(),(this.props.modalTransition.onEntered||To)(e,t)},n.onClosed=function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||To)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&this._dialog.parentNode&&"function"===typeof this._dialog.parentNode.focus&&this._dialog.parentNode.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(Mt.join(", "))},n.getFocusedChild=function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e},n.handleBackdropClick=function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._dialog?this._dialog.parentNode:null;if(t&&e.target===t&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}},n.handleTab=function(e){if(9===e.which&&!(this.modalIndex-1,f=new RegExp("\\D","g"),g="select"===i,y=l||(g||"textarea"===i?i:"input"),b="form-control";p?(b+="-plaintext",y=l||"input"):"range"===i?b="form-range":g?b="form-select":m&&(b=c?null:"form-check-input"),h.size&&f.test(h.size)&&(ht('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),o=h.size,delete h.size);var v=lt(u()(t,s&&"is-invalid",a&&"is-valid",!!o&&(g?"form-select-"+o:"form-control-"+o),b),n);return("input"===y||l&&"function"===typeof l)&&(h.type="switch"===i?"checkbox":i),h.children&&!p&&"select"!==i&&"string"===typeof y&&"select"!==y&&(ht('Input with a type of "'+i+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete h.children),r.a.createElement(y,Je({},h,{ref:d,className:v,"aria-invalid":s}))},t}(r.a.Component);ya.propTypes=ga,ya.defaultProps={type:"text"};var ba=ya,va=["className","cssModule","tag","type","size"],_a={tag:bt,type:a.a.bool,size:a.a.string,className:a.a.string,cssModule:a.a.object},Sa=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=e.size,a=nt(e,va),s=lt(u()(t,"input-group",o?"input-group-"+o:null),n);return"dropdown"===e.type?r.a.createElement($n,Je({},a,{className:s})):r.a.createElement(i,Je({},a,{className:s}))};Sa.propTypes=_a,Sa.defaultProps={tag:"div"};var xa=["className","cssModule","tag"],Ca={tag:bt,className:a.a.string,cssModule:a.a.object},wa=function(e){var t=e.className,n=e.cssModule,i=e.tag,o=nt(e,xa),a=lt(u()(t,"input-group-text"),n);return r.a.createElement(i,Je({},o,{className:a}))};wa.propTypes=Ca,wa.defaultProps={tag:"span"};var ka=["className","cssModule","hidden","widths","tag","check","size","for"],Ia=a.a.oneOfType([a.a.number,a.a.string]),Ta=a.a.oneOfType([a.a.bool,a.a.string,a.a.number,a.a.shape({size:Ia,order:Ia,offset:Ia})]),Oa={children:a.a.node,hidden:a.a.bool,check:a.a.bool,size:a.a.string,for:a.a.string,tag:bt,className:a.a.string,cssModule:a.a.object,xs:Ta,sm:Ta,md:Ta,lg:Ta,xl:Ta,xxl:Ta,widths:a.a.array},Aa={tag:"label",widths:["xs","sm","md","lg","xl","xxl"]},Da=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},Pa=function(e){var t=e.className,n=e.cssModule,i=e.hidden,o=e.widths,a=e.tag,s=e.check,l=e.size,c=e.for,p=nt(e,ka),d=[];o.forEach((function(t,i){var r=e[t];if(delete p[t],r||""===r){var o,a=!i;if(Ot(r)){var s,l=a?"-":"-"+t+"-";o=Da(a,t,r.size),d.push(lt(u()(((s={})[o]=r.size||""===r.size,s["order"+l+r.order]=r.order||0===r.order,s["offset"+l+r.offset]=r.offset||0===r.offset,s))),n)}else o=Da(a,t,r),d.push(o)}}));var h=l||d.length,m=!(s||h),f=lt(u()(t,!!i&&"visually-hidden",!!s&&"form-check-label",!!l&&"col-form-label-"+l,d,!!h&&"col-form-label",!!m&&"form-label"),n);return r.a.createElement(a,Je({htmlFor:c},p,{className:f}))};Pa.propTypes=Oa,Pa.defaultProps=Aa;var Na=Pa,Ea=["body","bottom","className","cssModule","heading","left","list","middle","object","right","tag","top"],Ra={body:a.a.bool,bottom:a.a.bool,children:a.a.node,className:a.a.string,cssModule:a.a.object,heading:a.a.bool,left:a.a.bool,list:a.a.bool,middle:a.a.bool,object:a.a.bool,right:a.a.bool,tag:bt,top:a.a.bool},Ma=function(e){var t,n=e.body,i=e.bottom,o=e.className,a=e.cssModule,s=e.heading,l=e.left,c=e.list,p=e.middle,d=e.object,h=e.right,m=e.tag,f=e.top,g=nt(e,Ea);t=s?"h4":g.href?"a":g.src||d?"img":c?"ul":"div";var y=m||t,b=lt(u()(o,{"media-body":n,"media-heading":s,"media-left":l,"media-right":h,"media-top":f,"media-bottom":i,"media-middle":p,"media-object":d,"media-list":c,media:!n&&!s&&!l&&!h&&!f&&!i&&!p&&!d&&!c}),a);return r.a.createElement(y,Je({},g,{className:b}))};Ma.propTypes=Ra;function ja(){}var La=a.a.shape(vi.propTypes),Ba={autoFocus:a.a.bool,backdrop:a.a.bool,backdropClassName:a.a.string,backdropTransition:La,children:a.a.node,className:a.a.string,container:yt,cssModule:a.a.object,direction:a.a.oneOf(["start","end","bottom","top"]),fade:a.a.bool,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),isOpen:a.a.bool,keyboard:a.a.bool,labelledBy:a.a.string,offcanvasTransition:La,onClosed:a.a.func,onEnter:a.a.func,onExit:a.a.func,onOpened:a.a.func,returnFocusAfterClose:a.a.bool,role:a.a.string,scrollable:a.a.bool,toggle:a.a.func,trapFocus:a.a.bool,unmountOnClose:a.a.bool,zIndex:a.a.oneOfType([a.a.number,a.a.string])},Fa=Object.keys(Ba),Va={isOpen:!1,autoFocus:!0,direction:"start",scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:ja,onClosed:ja,offcanvasTransition:{timeout:vt.Offcanvas},backdropTransition:{mountOnEnter:!0,timeout:vt.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},qa=function(e){function t(t){var n;return(n=e.call(this,t)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(it(n)),n.handleBackdropClick=n.handleBackdropClick.bind(it(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(it(n)),n.handleEscape=n.handleEscape.bind(it(n)),n.handleTab=n.handleTab.bind(it(n)),n.onOpened=n.onOpened.bind(it(n)),n.onClosed=n.onClosed.bind(it(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(it(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(it(n)),n.trapFocus=n.trapFocus.bind(it(n)),n.state={isOpen:!1},n}et(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.isOpen,n=e.autoFocus,i=e.onEnter;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),i&&i(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(e,t){if(this.props.isOpen&&!e.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!t.isOpen&&this.setFocus(),this._element&&e.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1},n.trapFocus=function(e){if(this.props.trapFocus&&this._element&&this._dialog!==e.target&&!(this.offcanvasIndex0&&(e.preventDefault(),e.stopPropagation(),n[0].focus())}},n.onOpened=function(e,t){this.props.onOpened(),(this.props.offcanvasTransition.onEntered||ja)(e,t)},n.onClosed=function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.offcanvasTransition.onExited||ja)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&"function"===typeof this._dialog.focus&&this._dialog.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(Mt.join(", "))},n.getFocusedChild=function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e},n.handleBackdropClick=function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._backdrop;if(!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}},n.handleTab=function(e){if(9===e.which&&!(this.offcanvasIndex0?(n=h(n)/p,(t=f(n))-n<1e-14?t:m(n)):0},L=function(e,t,n){var i,r=v(j(e),j(t)),o=-j(d(t-e)/n);return k(r)||k(o)?null:(d(r)<=4?(i="fixedPoint",o<0&&(o=0),o>4&&(o=4)):(i="exponential",(o+=r-1)>3&&(o=3)),{type:i,precision:o})},B=function(e){return e.toExponential().split("e")[1]};function F(e,t){for(var n,i=0,r=e.length,o=[];i0?i:0;n=Object(r.d)(n)?n+t-90:0;var a=R(n);return{x:x(e.x+o*a.cos),y:x(e.y+o*a.sin)}}var Y=function(e,t,n){var i=M(e.x,e.y,t,n),r=b(n-e.y,t-e.x);return{phi:x(P(180*r/c)),r:x(i)}},Z=function(e,t){var n,a,s,u=Object(r.h)(e.customizeSeries)?e.customizeSeries:i.noop,l=e.nameField,c={},p=[],d=0;for(a=(t=t||[]).length;d-1||Object(r.i)(t)&&t>1)&&(i=x(i),n=1),!n&&i&&(Object(r.o)(t)&&t.indexOf("%")>-1?(i/=100,n=2):i<0&&(i=i<-1?1:d(i))),e.height=i,e.unit=n}));var t=e.filter(Q),n=t.reduce((function(e,t){return e+(t.height||0)}),0),i=t.length,o=t.filter((function(e){return!e.height})),a=o.length;if(n<1&&a)o.forEach((function(e){return e.height=(1-n)/a}));else if(n>1||n<1&&!a||1===n&&a){if(a){var s=n/i,u=a*s;t.filter((function(e){return e.height})).forEach((function(e){return e.height*=(n-u)/n})),o.forEach((function(e){return e.height=s}))}t.forEach((function(e){return e.height*=1/n}))}}function ee(e,t,n){var i=0,r=T,a=n?t.width-t.left-t.right:t.height-t.top-t.bottom,s=e.reduce((function(e,t){return e+(Q(t)?0:t.height)}),0),u=a-r*(e.length-1)-s,l=n?"left":"top",c=n?"right":"bottom";e.forEach((function(e){var n=Q(e)?x(e.height*u):e.height;e.canvas=e.canvas||{},Object(o.a)(e.canvas,t),e.canvas[l]=t[l]+i,e.canvas[c]=t[c]+(a-n-i),i=i+n+r,q(e.canvas)}))}var te=function(e){var t={};return F(e,(function(e){var n=t[e]?null:e;return t[e]=!0,n}))},ne=function(e,t,n){var i=e.x+e.width/2>=n.x,r=(i?e.x:e.x+e.width)-n.x,o=e.y-n.y,a=o+t,s=x(y(r*r+o*o-a*a)),u=(i?+s:-s)||r;return{x:n.x+(i?u:u-e.width),y:e.y+t}};function ie(e,t){return{checkInterval:e.checkInterval||t.checkInterval,size:v(e.size||0,t.size||0),percentStick:e.percentStick||t.percentStick,sizePointNormalState:v(e.sizePointNormalState||0,t.sizePointNormalState||0)}}function re(e){return Array.isArray(e)?{startValue:e[0],endValue:e[1]}:e||{}}function oe(e,t){return t?e:[e.startValue,e.endValue]}function ae(e,t){return"datetime"===e.dataType?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return new Date(e.getTime()+n*t)}:"logarithmic"===e.axisType?function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=ue(t,e.base)+i*n;return le(r,e.base)}:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e+i*n;return t&&r*e<=0?0:r}}function se(e,t,n,i){var o=Object(r.d)(t.startValue),a=Object(r.d)(t.endValue),s="discrete"!==e.axisType;i=i||n;var u=ae(e,!1),l=o?t.startValue:i.min,c=a?t.endValue:i.max,p=t.length,d=i.categories;if(s&&!Object(r.d)(l)&&!Object(r.d)(c))return{startValue:l,endValue:c};if(Object(r.d)(p))if(s)"datetime"!==e.dataType||Object(r.i)(p)||(p=C(p)),a&&!o||!a&&!o?(Object(r.d)(n.max)&&(c=c>n.max?n.max:c),l=u(c,p,-1)):o&&!a&&(Object(r.d)(n.min)&&(l=ln.max&&(c=n.max),Object(r.d)(n.min)&&l2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;if(!n)return O(e,t);if(0===e)return 0;var r=O(d(e),t)-(i-1);return r<0?0:Object(s.a)(Object(s.i)(e)*r,Number(g(t,i-1).toFixed(d(i))))}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;if(!n)return D(e,t);if(0===e)return 0;var r=D(d(e)+(i-1),t);return r<0?0:Object(s.a)(Object(s.i)(e)*r,Number(g(t,i).toFixed(d(i))))}function ce(e,t){return Array.isArray(t)?e.length===t.length&&e.every((function(e,n){return pe(e)===pe(t[n])})):pe(e.startValue)===pe(t.startValue)&&pe(e.endValue)===pe(t.endValue)}function pe(e){return e&&e.valueOf()}function de(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}},function(e,t,n){"use strict";n.d(t,"a",(function(){return et})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return Re})),n.d(t,"d",(function(){return z})),n.d(t,"e",(function(){return je})),n.d(t,"f",(function(){return Ve})),n.d(t,"g",(function(){return Be})),n.d(t,"h",(function(){return qe})),n.d(t,"i",(function(){return Ne})),n.d(t,"j",(function(){return we})),n.d(t,"k",(function(){return Me})),n.d(t,"l",(function(){return N})),n.d(t,"m",(function(){return R})),n.d(t,"n",(function(){return B})),n.d(t,"o",(function(){return xe})),n.d(t,"p",(function(){return P})),n.d(t,"q",(function(){return v})),n.d(t,"r",(function(){return V})),n.d(t,"s",(function(){return M})),n.d(t,"t",(function(){return We})),n.d(t,"u",(function(){return Qe}));var i=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function o(e){return void 0===e||null===e}function a(e){return null===e||!1===e||!0===e||void 0===e}function s(e){return"function"===typeof e}function u(e){return"string"===typeof e}function l(e){return null===e}function c(e,t){var n={};if(e)for(var i in e)n[i]=e[i];if(t)for(var r in t)n[r]=t[r];return n}function p(e){return!l(e)&&"object"===typeof e}var d={};function h(e){return e.substr(2).toLowerCase()}function m(e,t){e.appendChild(t)}function f(e,t,n){l(n)?m(e,t):e.insertBefore(t,n)}function g(e,t){e.removeChild(t)}function y(e){for(var t=0;t0,m=l(d),f=u(d)&&d[0]===A;h||m||f?(n=n||t.slice(0,c),(h||f)&&(p=j(p)),(m||f)&&(p.key=A+c),n.push(p)):n&&n.push(p),p.flags|=65536}}o=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=j(t)),o=2;return e.children=n,e.childFlags=o,e}function z(e){return a(e)||r(e)?E(e,null):i(e)?R(e,0,null):16384&e.flags?j(e):e}var G="http://www.w3.org/1999/xlink",H="http://www.w3.org/XML/1998/namespace",U={"xlink:actuate":G,"xlink:arcrole":G,"xlink:href":G,"xlink:role":G,"xlink:show":G,"xlink:title":G,"xlink:type":G,"xml:base":H,"xml:lang":H,"xml:space":H};function W(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var K=W(0),$=W(null),Y=W(!0);function Z(e,t){var n=t.$EV;return n||(n=t.$EV=W(null)),n[e]||1===++K[e]&&($[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?Q(t,!0,e,ne(t)):t.stopPropagation()}}(e):function(e){return function(t){Q(t,!1,e,ne(t))}}(e);return document.addEventListener(h(e),t),t}(e)),n}function X(e,t){var n=t.$EV;n&&n[e]&&(0===--K[e]&&(document.removeEventListener(h(e),$[e]),$[e]=null),n[e]=null)}function Q(e,t,n,i){var r=function(e){return s(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var o=r.$EV;if(o){var a=o[n];if(a&&(i.dom=r,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}r=r.parentNode}while(!l(r))}function J(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ee(){return this.defaultPrevented}function te(){return this.cancelBubble}function ne(e){var t={dom:document};return e.isDefaultPrevented=ee,e.isPropagationStopped=te,e.stopPropagation=J,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function ie(e,t,n){if(e[t]){var i=e[t];i.event?i.event(i.data,n):i(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function re(e,t){var n=function(n){var i=this.$V;if(i){var r=i.props||d,o=i.dom;if(u(e))ie(r,e,n);else for(var a=0;a-1&&t.options[a]&&(s=t.options[a].value),n&&o(s)&&(s=e.defaultValue),pe(i,s)}}var me,fe,ge=re("onInput",be),ye=re("onChange");function be(e,t,n){var i=e.value,r=t.value;if(o(i)){if(n){var a=e.defaultValue;o(a)||a===r||(t.defaultValue=a,t.value=a)}}else r!==i&&(t.defaultValue=i,t.value=i)}function ve(e,t,n,i,r,o){64&e?ce(i,n):256&e?he(i,n,r,t):128&e&&be(i,n,r),o&&(n.$V=t)}function _e(e,t,n){64&e?function(e,t){ae(t.type)?(oe(e,"change",ue),oe(e,"click",le)):oe(e,"input",se)}(t,n):256&e?function(e){oe(e,"change",de)}(t):128&e&&function(e,t){oe(e,"input",ge),t.onChange&&oe(e,"change",ye)}(t,n)}function Se(e){return e.type&&ae(e.type)?!o(e.checked):!o(e.value)}function xe(){return{current:null}}function Ce(e){e&&!O(e,null)&&e.current&&(e.current=null)}function we(e,t,n){e&&(s(e)||void 0!==e.current)&&n.push((function(){O(e,t)||void 0===e.current||(e.current=t)}))}function ke(e,t){Ie(e),_(e,t)}function Ie(e){var t,n=e.flags,i=e.children;if(481&n){t=e.ref;var r=e.props;Ce(t);var a=e.childFlags;if(!l(r))for(var u=Object.keys(r),c=0,p=u.length;c0;for(var s in a&&(o=Se(n))&&_e(t,i,n),n)Pe(s,null,n[s],i,r,o,null);a&&ve(t,e,i,n,!0,o)}function Ee(e,t,n){var i=z(e.render(t,e.state,n)),r=n;return s(e.getChildContext)&&(r=c(n,e.getChildContext())),e.$CX=r,i}function Re(e,t,n,i,r,o){var a=new t(n,i),u=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=r,a.$L=o,e.children=a,a.$BS=!1,a.context=i,a.props===d&&(a.props=n),u)a.state=x(a,n,a.state);else if(s(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var c=a.$PS;if(!l(c)){var p=a.state;if(l(p))a.state=c;else for(var h in c)p[h]=c[h];a.$PS=null}a.$BR=!1}return a.$LI=Ee(a,n,i),a}function Me(e,t){var n=e.props||d;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function je(e,t,n,i,r,o){var a=e.flags|=16384;481&a?Be(e,t,n,i,r,o):4&a?function(e,t,n,i,r,o){var a=Re(e,e.type,e.props||d,n,i,o);je(a.$LI,t,a.$CX,i,r,o),Ve(e.ref,a,o)}(e,t,n,i,r,o):8&a?(!function(e,t,n,i,r,o){je(e.children=z(Me(e,n)),t,n,i,r,o)}(e,t,n,i,r,o),qe(e,o)):512&a||16&a?Le(e,t,r):8192&a?function(e,t,n,i,r,o){var a=e.children,s=e.childFlags;12&s&&0===a.length&&(s=e.childFlags=2,a=e.children=L());2===s?je(a,n,t,i,r,o):Fe(a,n,t,i,r,o)}(e,n,t,i,r,o):1024&a&&function(e,t,n,i,r){je(e.children,e.ref,t,!1,null,r);var o=L();Le(o,n,i),e.dom=o.dom}(e,n,t,r,o)}function Le(e,t,n){var i=e.dom=document.createTextNode(e.children);l(t)||f(t,i,n)}function Be(e,t,n,i,r,a){var s=e.flags,u=e.props,c=e.className,p=e.childFlags,d=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,i=i||(32&s)>0),h=e.children;if(o(c)||""===c||(i?d.setAttribute("class",c):d.className=c),16===p)k(d,h);else if(1!==p){var m=i&&"foreignObject"!==e.type;2===p?(16384&h.flags&&(e.children=h=j(h)),je(h,d,n,m,null,a)):8!==p&&4!==p||Fe(h,d,n,m,null,a)}l(t)||f(t,d,r),l(u)||Ne(e,s,u,d,i),we(e.ref,d,a)}function Fe(e,t,n,i,r,o){for(var a=0;a0,l!==c){var m=l||d;if((s=c||d)!==d)for(var f in(p=(448&r)>0)&&(h=Se(s)),s){var g=m[f],y=s[f];g!==y&&Pe(f,g,y,u,i,h,e)}if(m!==d)for(var b in m)o(s[b])&&!o(m[b])&&Pe(b,m[b],null,u,i,h,e)}var v=t.children,_=t.className;e.className!==_&&(o(_)?u.removeAttribute("class"):i?u.setAttribute("class",_):u.className=_);4096&r?function(e,t){e.textContent!==t&&(e.textContent=t)}(u,v):Ge(e.childFlags,t.childFlags,e.children,v,u,n,i&&"foreignObject"!==t.type,null,e,a);p&&ve(r,t,u,s,!1,h);var S=t.ref,x=e.ref;x!==S&&(Ce(x),we(S,u,a))}(e,t,i,r,h,p):4&h?function(e,t,n,i,r,o,a){var u=t.children=e.children;if(l(u))return;u.$L=a;var p=t.props||d,h=t.ref,m=e.ref,f=u.state;if(!u.$N){if(s(u.componentWillReceiveProps)){if(u.$BR=!0,u.componentWillReceiveProps(p,i),u.$UN)return;u.$BR=!1}l(u.$PS)||(f=c(f,u.$PS),u.$PS=null)}He(u,f,p,n,i,r,!1,o,a),m!==h&&(Ce(m),we(h,u,a))}(e,t,n,i,r,u,p):8&h?function(e,t,n,i,r,a,u){var l=!0,c=t.props||d,p=t.ref,h=e.props,m=!o(p),f=e.children;m&&s(p.onComponentShouldUpdate)&&(l=p.onComponentShouldUpdate(h,c));if(!1!==l){m&&s(p.onComponentWillUpdate)&&p.onComponentWillUpdate(h,c);var g=z(Me(t,i));ze(f,g,n,i,r,a,u),t.children=g,m&&s(p.onComponentDidUpdate)&&p.onComponentDidUpdate(h,c)}else t.children=f}(e,t,n,i,r,u,p):16&h?function(e,t){var n=t.children,i=t.dom=e.dom;n!==e.children&&(i.nodeValue=n)}(e,t):512&h?t.dom=e.dom:8192&h?function(e,t,n,i,r,o){var a=e.children,s=t.children,u=e.childFlags,l=t.childFlags,c=null;12&l&&0===s.length&&(l=t.childFlags=2,s=t.children=L());var p=0!==(2&l);if(12&u){var d=a.length;(8&u&&8&l||p||!p&&s.length>d)&&(c=v(a[d-1],!1).nextSibling)}Ge(u,l,a,s,n,i,r,c,e,o)}(e,t,n,i,r,p):function(e,t,n,i){var r=e.ref,o=t.ref,s=t.children;if(Ge(e.childFlags,t.childFlags,e.children,s,r,n,!1,null,e,i),t.dom=e.dom,r!==o&&!a(s)){var u=s.dom;g(r,u),m(o,u)}}(e,t,i,p)}function Ge(e,t,n,i,r,o,a,s,u,l){switch(e){case 2:switch(t){case 2:ze(n,i,r,o,a,s,l);break;case 1:ke(n,r);break;case 16:Ie(n),k(r,i);break;default:!function(e,t,n,i,r,o){Ie(e),Fe(t,n,i,r,v(e,!0),o),_(e,n)}(n,i,r,o,a,l)}break;case 1:switch(t){case 2:je(i,r,o,a,s,l);break;case 1:break;case 16:k(r,i);break;default:Fe(i,r,o,a,s,l)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:k(n,t))}(n,i,r);break;case 2:Oe(r),je(i,r,o,a,s,l);break;case 1:Oe(r);break;default:Oe(r),Fe(i,r,o,a,s,l)}break;default:switch(t){case 16:Te(n),k(r,i);break;case 2:Ae(r,u,n),je(i,r,o,a,s,l);break;case 1:Ae(r,u,n);break;default:var c=0|n.length,p=0|i.length;0===c?p>0&&Fe(i,r,o,a,s,l):0===p?Ae(r,u,n):8===t&&8===e?function(e,t,n,i,r,o,a,s,u,l){var c,p,d=o-1,h=a-1,m=0,f=e[m],g=t[m];e:{for(;f.key===g.key;){if(16384&g.flags&&(t[m]=g=j(g)),ze(f,g,n,i,r,s,l),e[m]=g,++m>d||m>h)break e;f=e[m],g=t[m]}for(f=e[d],g=t[h];f.key===g.key;){if(16384&g.flags&&(t[h]=g=j(g)),ze(f,g,n,i,r,s,l),e[d]=g,h--,m>--d||m>h)break e;f=e[d],g=t[h]}}if(m>d){if(m<=h)for(p=(c=h+1)h)for(;m<=d;)ke(e[m++],n);else!function(e,t,n,i,r,o,a,s,u,l,c,p,d){var h,m,f,g=0,y=s,b=s,_=o-s+1,x=a-s+1,C=new Int32Array(x+1),w=_===i,k=!1,I=0,T=0;if(r<4||(_|x)<32)for(g=y;g<=o;++g)if(h=e[g],Ts?k=!0:I=s,16384&m.flags&&(t[s]=m=j(m)),ze(h,m,u,n,l,c,d),++T;break}!w&&s>a&&ke(h,u)}else w||ke(h,u);else{var O={};for(g=b;g<=a;++g)O[t[g].key]=g;for(g=y;g<=o;++g)if(h=e[g],Ty;)ke(e[y++],u);C[s-b]=g+1,I>s?k=!0:I=s,16384&(m=t[s]).flags&&(t[s]=m=j(m)),ze(h,m,u,n,l,c,d),++T}else w||ke(h,u);else w||ke(h,u)}if(w)Ae(u,p,e),Fe(t,u,n,l,c,d);else if(k){var A=function(e){var t=0,n=0,i=0,r=0,o=0,a=0,s=0,u=e.length;u>Ue&&(Ue=u,me=new Int32Array(u),fe=new Int32Array(u));for(;n>1]]0&&(fe[n]=me[o-1]),me[o]=n)}o=r+1;var l=new Int32Array(o);a=me[o-1];for(;o-- >0;)l[o]=a,a=fe[a],me[o]=0;return l}(C);for(s=A.length-1,g=x-1;g>=0;g--)0===C[g]?(16384&(m=t[I=g+b]).flags&&(t[I]=m=j(m)),je(m,u,n,l,(f=I+1)=0;g--)0===C[g]&&(16384&(m=t[I=g+b]).flags&&(t[I]=m=j(m)),je(m,u,n,l,(f=I+1)a?a:o,d=0;da)for(d=p;d=0;t--)i=r[t],(n=Math.floor(e/l(i)))>0&&(o[i+"s"]=n,e-=p(i,n));return o};function p(e,t){return l(e)*t}function d(e){var t,n=-1;return Object(r.o)(e)?e:Object(r.j)(e)?(Object(a.a)(e,(function(e,i){for(t=0;tn&&(i=n),i):e}function O(e,t){if(Object(r.d)(e)){var n=t.getHours()-e.getHours();if(0!==n){var i=1===n||-23===n?-1:1,o=new Date(t.getTime()+36e5*i);(i>0||o.getDate()===t.getDate())&&t.setTime(o.getTime())}}}function A(e,t){return 60*(t.getTimezoneOffset()-e.getTimezoneOffset())*1e3}var D=function(e){var t=Object(i.a)(Date,Array.prototype.slice.call(arguments));return t.setFullYear(e),t},P={dateUnitIntervals:u,convertMillisecondsToDateUnits:c,dateToMilliseconds:function(e){var t=0;return Object(r.j)(e)&&Object(a.a)(e,(function(e,n){t+=p(e.substr(0,e.length-1),n)})),Object(r.o)(e)&&(t=p(e,1)),t},getNextDateUnit:function(e,t){switch(d(e)){case"millisecond":return"second";case"second":return"minute";case"minute":return"hour";case"hour":return"day";case"day":return t?"week":"month";case"week":return"month";case"month":return"quarter";case"quarter":case"year":return"year";default:return 0}},convertDateUnitToMilliseconds:p,getDateUnitInterval:d,getDateFormatByTickInterval:function(e){return h[d(e)]||""},getDatesDifferences:function(e,t){var n=0,i={year:e.getFullYear()!==t.getFullYear(),month:e.getMonth()!==t.getMonth(),day:e.getDate()!==t.getDate(),hour:e.getHours()!==t.getHours(),minute:e.getMinutes()!==t.getMinutes(),second:e.getSeconds()!==t.getSeconds(),millisecond:e.getMilliseconds()!==t.getMilliseconds()};return Object(a.a)(i,(function(e,t){t&&n++})),0===n&&0!==A(e,t)&&(i.hour=!0,n++),i.count=n,i},correctDateWithUnitBeginning:g,trimTime:y,setToDayEnd:function(e){var t=y(e);return t.setDate(t.getDate()+1),new Date(t.getTime()-1)},roundDateByStartDayHour:function(e,t){var n=this.dateTimeFromDecimal(t),i=new Date(e);return(e.getHours()===n.hours&&e.getMinutes()=6&&(i=new Date(i.setDate(i.getDate()+7))),i},getQuarter:m,getFirstQuarterMonth:f,dateInRange:function(e,t,n,i){return"date"===i&&(t=t&&P.correctDateWithUnitBeginning(t,"day"),n=n&&P.correctDateWithUnitBeginning(n,"day"),e=e&&P.correctDateWithUnitBeginning(e,"day")),T(e,t,n)===e},intervalsOverlap:function(e){var t=e.firstMin,n=e.firstMax,i=e.secondMin,r=e.secondMax;return t<=i&&i<=n||t>i&&tr},roundToHour:function(e){var t=new Date(e.getTime());return t.setHours(t.getHours()+1),t.setMinutes(0),t},normalizeDate:T,getViewMinBoundaryDate:function(e,t){var n=D(t.getFullYear(),t.getMonth(),1);return"month"===e?n:(n.setMonth(0),"year"===e||("decade"===e&&n.setFullYear(k(t)),"century"===e&&n.setFullYear(w(t))),n)},getViewMaxBoundaryDate:function(e,t){var n=new Date(t);return n.setDate(_(t)),"month"===e?n:(n.setMonth(11),n.setDate(_(n)),"year"===e||("decade"===e&&n.setFullYear(k(t)+9),"century"===e&&n.setFullYear(w(t)+99)),n)},fixTimezoneGap:O,getTimezonesDifference:A,makeDate:function(e){return new Date(e)},getDatesInterval:function(e,t,n){var i=t.getTime()-e.getTime(),r=l(n)||1;return Math.floor(i/r)},getDatesOfInterval:function(e,t,n){for(var i=[],r=new Date(e.getTime());r2?n-2:0),o=2;o2?n-2:0),o=2;o1&&(i[0]<4||4===i[0]&&i[1]<4)?"B":"A"}}}},w=new(function(){function e(t){Object(i.a)(this,e),this._window=(null===t||void 0===t?void 0:t.window)||_,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this._eventsStrategy=new f.a(this),this.changed=Object(d.a)(),Object(s.f)()&&(h.a.add(this._recalculateOrientation.bind(this)),m.a.add(this._recalculateOrientation.bind(this)))}return Object(r.a)(e,[{key:"current",value:function(e){if(e)return this._currentDevice=this._getDevice(e),this._forced=!0,void this.changed.fire();if(!this._currentDevice){e=void 0;try{e=this._getDeviceOrNameFromWindowScope()}catch(t){e=this._getDeviceNameFromSessionStorage()}finally{e||(e=this._getDeviceNameFromSessionStorage()),e&&(this._forced=!0)}this._currentDevice=this._getDevice(e)}return this._currentDevice}},{key:"real",value:function(e){return Object(u.a)({},this._realDevice)}},{key:"orientation",value:function(){return this._currentOrientation}},{key:"isForced",value:function(){return this._forced}},{key:"isRippleEmulator",value:function(){return!!this._window.tinyHippos}},{key:"_getCssClasses",value:function(e){var t=[],n=this._realDevice;return(e=e||this.current()).deviceType&&(t.push("dx-device-".concat(e.deviceType)),"desktop"!==e.deviceType&&t.push("dx-device-mobile")),t.push("dx-device-".concat(n.platform)),n.version&&n.version.length&&t.push("dx-device-".concat(n.platform,"-").concat(n.version[0])),this.isSimulator()&&t.push("dx-simulator"),Object(b.a)().rtlEnabled&&t.push("dx-rtl"),t}},{key:"attachCssClasses",value:function(e,t){this._deviceClasses=this._getCssClasses(t).join(" "),Object(a.a)(e).addClass(this._deviceClasses)}},{key:"detachCssClasses",value:function(e){Object(a.a)(e).removeClass(this._deviceClasses)}},{key:"isSimulator",value:function(){try{return this._isSimulator||Object(s.f)()&&this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch(e){return!1}}},{key:"forceSimulator",value:function(){this._isSimulator=!0}},{key:"_getDevice",value:function(e){if("genericPhone"===e&&(e={deviceType:"phone",platform:"generic",generic:!0}),Object(l.k)(e))return this._fromConfig(e);var t;if(e){if(!(t=S[e]))throw p.a.Error("E0005")}else t=v.userAgent;return this._fromUA(t)}},{key:"_getDeviceOrNameFromWindowScope",value:function(){var e;return Object(s.f)()&&(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(e=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),e}},{key:"_getDeviceNameFromSessionStorage",value:function(){var e=Object(g.a)();if(e){var t=e.getItem("dx-force-device");try{return JSON.parse(t)}catch(n){return t}}}},{key:"_fromConfig",value:function(e){var t=Object(u.a)({},x,this._currentDevice,e),n={phone:"phone"===t.deviceType,tablet:"tablet"===t.deviceType,android:"android"===t.platform,ios:"ios"===t.platform,generic:"generic"===t.platform};return Object(u.a)(t,n)}},{key:"_fromUA",value:function(e){var t;return Object(c.a)(C,(function(n,i){return!(t=i(e))})),t?this._fromConfig(t):x}},{key:"_changeOrientation",value:function(){var e=Object(a.a)(this._window),t=Object(o.d)(e)>Object(o.l)(e)?"portrait":"landscape";this._currentOrientation!==t&&(this._currentOrientation=t,this._eventsStrategy.fireEvent("orientationChanged",[{orientation:t}]))}},{key:"_recalculateOrientation",value:function(){var e=Object(o.l)(this._window);this._currentWidth!==e&&(this._currentWidth=e,this._changeOrientation())}},{key:"on",value:function(e,t){return this._eventsStrategy.on(e,t),this}},{key:"off",value:function(e,t){return this._eventsStrategy.off(e,t),this}}]),e}()),k=Object(y.c)();k&&w.attachCssClasses(k),y.a.add((function(e,t){w.detachCssClasses(t),w.attachCssClasses(e)})),t.a=w},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return y})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return v})),n.d(t,"i",(function(){return k})),n.d(t,"k",(function(){return T})),n.d(t,"h",(function(){return O})),n.d(t,"j",(function(){return N}));var i=n(15),r=n(14),o=n(10),a=n(11),s=n(17),u=n(18),l=n(23),c={lockCount:0,lock:function(){this.lockCount++},callbacks:[],callEffects:function(){if(this.lockCount--,this.lockCount<0)throw new Error("Unexpected Effect Call");if(0===this.lockCount){var e=this.callbacks;this.callbacks=[],e.forEach((function(e){return e()}))}}},p=function(e,t){if(!(e instanceof Object&&t instanceof Object))return e===t;var n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&!n.some((function(n){return e[n]!==t[n]}))},d=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments))._pendingContext=e.context,e}return Object(a.a)(n,[{key:"componentWillReceiveProps",value:function(e,t){this._pendingContext=null!==t&&void 0!==t?t:{}}},{key:"shouldComponentUpdate",value:function(e,t){return!p(this.props,e)||!p(this.state,t)||!p(this.context,this._pendingContext)}}]),n}(l.a),h=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments))._effects=[],e}return Object(a.a)(n,[{key:"createEffects",value:function(){return[]}},{key:"updateEffects",value:function(){}},{key:"componentWillMount",value:function(){c.lock()}},{key:"componentWillUpdate",value:function(e,t,n){c.lock()}},{key:"componentDidMount",value:function(){var e=this;c.callbacks.push((function(){e._effects=e.createEffects()})),c.callEffects()}},{key:"componentDidUpdate",value:function(){var e=this;c.callbacks.push((function(){return e.updateEffects()})),c.callEffects()}},{key:"destroyEffects",value:function(){this._effects.forEach((function(e){return e.dispose()}))}},{key:"componentWillUnmount",value:function(){this.destroyEffects()}}]),n}(d),m=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).vDomElement=null,e}return Object(a.a)(n,[{key:"vDomUpdateClasses",value:function(){var e=this.vDomElement,t=e.className.length?e.className.split(" "):[],n=t.filter((function(t){return e.dxClasses.previous.indexOf(t)<0})),i=e.dxClasses.previous.filter((function(e){return t.indexOf(e)<0}));n.forEach((function(t){var n=e.dxClasses.removed.indexOf(t);n>-1?e.dxClasses.removed.splice(n,1):e.dxClasses.added.push(t)})),i.forEach((function(t){var n=e.dxClasses.added.indexOf(t);n>-1?e.dxClasses.added.splice(n,1):e.dxClasses.removed.push(t)}))}},{key:"componentDidMount",value:function(){var e=Object(l.q)(this.$LI,!0);this.vDomElement=e,Object(i.a)(Object(r.a)(n.prototype),"componentDidMount",this).call(this),e.dxClasses=e.dxClasses||{removed:[],added:[],previous:[]},e.dxClasses.previous=(null===e||void 0===e?void 0:e.className.length)?e.className.split(" "):[]}},{key:"componentDidUpdate",value:function(){Object(i.a)(Object(r.a)(n.prototype),"componentDidUpdate",this).call(this);var e=this.vDomElement;null!==e&&(e.dxClasses.added.forEach((function(t){return e.classList.add(t)})),e.dxClasses.removed.forEach((function(t){return e.classList.remove(t)})),e.dxClasses.previous=e.className.length?e.className.split(" "):[])}},{key:"shouldComponentUpdate",value:function(e,t){var o=Object(i.a)(Object(r.a)(n.prototype),"shouldComponentUpdate",this).call(this,e,t);return o&&this.vDomUpdateClasses(),o}}]),n}(h),f=n(42),g=0,y=function(e){var t=g++;return{id:t,defaultValue:e,Provider:function(n){Object(s.a)(r,n);var i=Object(u.a)(r);function r(){return Object(o.a)(this,r),i.apply(this,arguments)}return Object(a.a)(r,[{key:"getChildContext",value:function(){return Object.assign(Object.assign({},this.context),Object(f.a)({},t,this.props.value||e))}},{key:"render",value:function(){return this.props.children}}]),r}(l.a)}},b=function(){function e(t,n){Object(o.a)(this,e),this.dependency=n,this.effect=t,this.destroy=t()}return Object(a.a)(e,[{key:"update",value:function(e){var t=this.dependency;e&&(this.dependency=e),e&&!e.some((function(e,n){return t[n]!==e}))||(this.dispose(),this.destroy=this.effect())}},{key:"dispose",value:function(){this.destroy&&this.destroy()}}]),e}(),v=function(){return new b((function(){Object(l.u)()}),[])};function _(e){return null===e}function S(e,t){return Boolean(t&&t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html&&function(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}(e,t.dangerouslySetInnerHTML.__html))}function x(e,t,n,i,r,o){var a=e.childFlags,s=e.children,u=e.props,c=e.flags;if(1!==a){if(2===a)_(n)?Object(l.e)(s,t,i,r,null,o):n=(n=w(s,t,n,i,r,o))?n.nextSibling:null;else if(16===a)_(n)?t.appendChild(document.createTextNode(s)):1!==t.childNodes.length||3!==n.nodeType?t.textContent=s:n.nodeValue!==s&&(n.nodeValue=s),n=null;else if(12&a)for(var p=!1,d=0,h=s.length;d0?Object(l.e)(m,t,i,r,n,o):n=(n=w(m,t,n,i,r,o))?n.nextSibling:null,p=(16&m.flags)>0}if(0===(8192&c))for(var f=null;n;)f=n.nextSibling,t.removeChild(n),n=f}else _(t.firstChild)||S(t,u)||(t.textContent="",448&c&&(t.defaultValue=""))}function C(e,t,n){if(3!==n.nodeType)t.replaceChild(e.dom=document.createTextNode(e.children),n);else{var i=e.children;n.nodeValue!==i&&(n.nodeValue=i),e.dom=n}return e.dom}function w(e,t,n,i,r,o){var a=e.flags|=16384;return 14&a?function(e,t,n,i,r,o,a){var s,u=e.type,c=e.ref,p=e.props||l.b;if(o){var d=Object(l.c)(e,u,p,i,r,a);s=w(d.$LI,t,n,d.$CX,r,a),Object(l.f)(c,d,a)}else{var h=Object(l.d)(Object(l.k)(e,i));s=w(h,t,n,i,r,a),e.children=h,Object(l.h)(e,a)}return s}(e,t,n,i,r,(4&a)>0,o):481&a?function(e,t,n,i,r,o){var a,s=e.props,u=e.className,c=e.flags,p=e.ref;return r=r||(32&c)>0,1!==n.nodeType?(Object(l.g)(e,null,i,r,null,o),t.replaceChild(e.dom,n)):(e.dom=n,x(e,n,n.firstChild,i,r,o),_(s)||Object(l.i)(e,c,s,n,r),void 0===(a=u)||null===a?""!==n.className&&n.removeAttribute("class"):r?n.setAttribute("class",u):n.className=u,Object(l.j)(p,n,o)),e.dom}(e,t,n,i,r,o):16&a?C(e,t,n):512&a?e.dom=n:8192&a?function(e,t,n,i,r,o){var a=e.children;return 2===e.childFlags?(C(a,t,n),a.dom):(x(e,t,n,i,r,o),function(e){for(var t,n;e;){if(2033&(t=e.flags))return e.dom;n=e.children,e=8192&t?2===e.childFlags?n:n[n.length-1]:4&t?n.$LI:n}return null}(a[a.length-1]))}(e,t,n,i,r,o):(function(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: ".concat(e))}(),null)}function k(e,t,n){var i,r=t.firstChild;if(_(r))Object(l.t)(e,t,n);else{var o=[];for(null!==(i=e)&&!1!==i&&!0!==i&&void 0!==i&&(r=w(e,t,r,{},!1,o));r&&(r=r.nextSibling);)t.removeChild(r);if(o.length>0)for(var a;void 0!==(a=o.shift());)a()}t.$V=e,function(e){return"function"===typeof e}(n)&&n()}var I=n(371);function T(e,t,n){setTimeout((function(){Object(l.t)(Object(I.a)(e,t),function(e){var t,n;return(null===(t=e.container)||void 0===t?void 0:t.get(0))||(null===(n=e.item)||void 0===n?void 0:n.get(0))}(t))}),0)}var O=function(e,t,n){var i=t[e];return!!i&&"string"!==typeof i},A=n(30),D=new Set(["animationIterationCount","borderImageOutset","borderImageSlice","border-imageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexNegative","flexOrder","flexPositive","flexShrink","floodOpacity","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","zIndex","zoom"]),P=/[A-Z]/g;function N(e){if(e instanceof Object)return Object.entries(e).reduce((function(e,t){var n,i=Object(A.a)(t,2),r=i[0],o=i[1];return e[(n=r,n.replace(P,"-$&").toLowerCase())]=function(e){return"number"===typeof e||!Number.isNaN(Number(e))}(o)?function(e,t){return D.has(e)?t:"".concat(t,"px")}(r,o):o,e}),{})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(42);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t=0},s=Array.isArray,u=function(e,t){void 0===t&&(t=e),1===arguments.length&&(t=e,e=0);for(var n=[],i=e;i>=0,i.length>t?String(i):((t-=i.length)>n.length&&(n+=l(n,t/n.length)),n.slice(0,t)+String(i))}var d=function(e,t,n){var i=e.split(t);return n?i.slice(0,n).concat([i.slice(n).join(t)]):i},h=function(e,t){var n=e%t;return n*t<0?n+t:n},m=function(e,t){return{div:Math.floor(e/t),mod:h(e,t)}},f=function(e){return!r(e)||0===e.length},g=function(e){return!f(e)},y=function(e,t){return g(e)&&-1!==e.indexOf(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(248);function r(){r=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var r=t&&t.prototype instanceof h?t:h,o=Object.create(r.prototype),a=new k(i||[]);return o._invoke=function(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return T()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var u=p(e,t,n);if("normal"===u.type){if(i=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var d={};function h(){}function m(){}function f(){}var g={};l(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(I([])));b&&b!==t&&n.call(b,a)&&(g=b);var v=f.prototype=h.prototype=Object.create(g);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,a,s,u){var l=p(e[o],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==Object(i.a)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,u)}))}u(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=p(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var r=i.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function I(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){for(;++i=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=function(e){return e&&e.get(0)};function r(e){return i(e)}},function(e,t,n){"use strict";var i=n(42),r=n(19),o=n(13),a=n(1),s=n(0),u=n(12),l=n(227),c=n(66),p=n(4),d=n(3),h=n(52),m=n(41),f=n(5),g=n(225),y=n(77),b=n(107),v=n(21),_=n(9),S=n(104),x=n(134),C=n(105),w=n(136),k="virtual",I="scrolling.mode",T={year:function(e){return e&&e.getFullYear()},month:function(e){return e&&e.getMonth()+1},day:function(e){return e&&e.getDate()},quarter:function(e){return e&&Math.floor(e.getMonth()/3)+1},hour:function(e){return e&&e.getHours()},minute:function(e){return e&&e.getMinutes()},second:function(e){return e&&e.getSeconds()}},O=function(){var e=arguments[1],t=this.calculateCellValue(e);if(!Object(s.d)(t))return null;if(A(this.dataType)){var n=arguments[0];return T[n](t)}if("number"===this.dataType){var i=arguments[0];return Math.floor(Number(t)/i)*i}};function A(e){return"date"===e||"datetime"===e}var D=function(e){e.get(0).textContent="\xa0"},P=function(e){e=e||[];for(var t=Object(y.i)(e),n=0;n").addClass(t).appendTo(e)),i&&!r?n.removeClass("dx-hidden").text(this._getNoDataText()):n.addClass("dx-hidden")}},renderLoadPanel:function(e,t,n){var i;this._loadPanel&&this._loadPanel.$element().remove(),(i=this.option("loadPanel"))&&("auto"===i.enabled?!n:i.enabled)?(i=Object(d.a)({shading:!1,message:i.text,container:t},i),this._loadPanel=this._createComponent(Object(a.a)("
").appendTo(t),g.default,i)):this._loadPanel=null},calculateLoadPanelPosition:function(e){var t=Object(a.a)(Object(v.d)());return Object(o.d)(e)>Object(o.d)(t)?{of:t,boundary:e,collision:"fit"}:{of:e}},getIndexByKey:function(e,t,n){var i=-1;if(void 0!==e&&Array.isArray(t)){n=arguments.length<=2?"key":n;for(var r=0;r=0&&Object(s.h)(n)&&n.columnIndex>=0?t.columnIndex===n.columnIndex&&Object(m.d)(t.filterValue)===Object(m.d)(n.filterValue):Object(m.d)(t)==Object(m.d)(n)},proxyMethod:function(e,t,n){e[t]||(e[t]=function(){var e=this._dataSource;return e?e[t].apply(e,arguments):n})},formatValue:N,getFormatOptionsByColumn:function(e,t){return{format:e.format,getDisplayFormat:e.getDisplayFormat,customizeText:e.customizeText,target:t,trueText:e.trueText,falseText:e.falseText}},getDisplayValue:function(e,t,n,i){return e.displayValueMap&&void 0!==e.displayValueMap[t]?e.displayValueMap[t]:e.calculateDisplayValue&&n&&"group"!==i?e.calculateDisplayValue(n):!e.lookup||"group"===i&&(e.calculateGroupValue||e.calculateDisplayValue)?t:e.lookup.calculateCellValue(t)},getGroupRowSummaryText:function(e,t){for(var n="(",i=0;i0?", ":"")+E(r,t)}return n+")"},getSummaryText:E,normalizeSortingInfo:P,getFormatByDataType:function(e){switch(e){case"date":return"shortDate";case"datetime":return"shortDateShortTime"}},getHeaderFilterGroupParameters:function(e,t){var n=[],i=e.dataField||e.name,r=l.a.getGroupInterval(e);return r?(Object(p.a)(r,(function(o,a){n.push(t?{selector:i,groupInterval:a,isExpanded:o0){var m=e.eq(p-1).offset();m.top").addClass(t.value?"dx-datagrid-group-opened":"dx-datagrid-group-closed").appendTo(n),i.setAria("label",t.value?i.localize("dxDataGrid-ariaCollapse"):i.localize("dxDataGrid-ariaExpand"),n)}}}},setEmptyText:D,isDateType:A,getSelectionRange:function(e){try{if(e)return{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}catch(t){}return{}},setSelectionRange:function(e,t){try{e&&e.setSelectionRange&&e.setSelectionRange(t.selectionStart,t.selectionEnd)}catch(n){}},focusAndSelectElement:function(e,t){var n=t.is(":focus");_.a.trigger(t,"focus");var i=e.option("editing.selectTextOnEditStart"),r=t.get(0);if(!n&&i&&t.is(".dx-texteditor-input")&&!t.is("[readonly]")){var o=R(t.closest(".dx-texteditor"));Object(u.c)(o&&o._loadItemDeferred).done((function(){r.select()}))}},getWidgetInstance:R,getLastResizableColumnIndex:function(e,t){var n,i=e.some((function(e){return e&&!e.command&&!e.fixed&&!1!==e.allowResizing}));for(n=e.length-1;e[n];n--){var r=e[n],o=t&&t[n],a=!i||!1!==r.allowResizing;if(!r.command&&!r.fixed&&"adaptiveHidden"!==o&&a)break}return n},isElementInCurrentGrid:function(e,t){return!(!t||!t.length)&&t.closest("."+e.getWidgetContainerClass()).parent().is(e.component.$element())},isVirtualRowRendering:function(e){var t=e.option("scrolling.rowRenderingMode"),n=e.option(I)===k,i="infinite"===e.option(I);return!(!1!==e.option("scrolling.legacyMode")||!n&&!i)||t===k},getPixelRatio:function(e){return e.devicePixelRatio||1},getContentHeightLimit:function(e){return e.mozilla?8e6:15e6/this.getPixelRatio(Object(v.d)())},normalizeLookupDataSource:function(e){var t;return e.items?t=e.items:(t=e.dataSource,Object(s.h)(t)&&!w.a.isWrapped(t)&&(t=t({}))),Object(C.d)(t)},getWrappedLookupDataSource:function(e,t,n){var o=this,a=this.normalizeLookupDataSource(e.lookup),l=e.displayField&&Object(s.o)(e.displayField),c=l?[e.dataField,e.displayField]:e.dataField;return{load:function(s){var p=new u.a;return t.load({filter:n,group:c,isExpanded:!1}).done((function(t){if(0===t.length&&p.resolve([]),l){var n=t.map((function(t){var n,r;return n={},Object(i.a)(n,e.lookup.valueExpr,t.key),Object(i.a)(n,e.lookup.displayExpr,null!==(r=e.displayValueMap[t.key])&&void 0!==r?r:t.items[0].key),n}));new S.a(Object(r.a)({},s,{store:new x.a({data:n,key:e.lookup.valueExpr})})).load(s).done(p.resolve).fail(p.fail)}else{var u=o.combineFilters(t.map((function(t){return[e.lookup.valueExpr,t.key]})),"or");new S.a(Object(r.a)({},a,s,{filter:o.combineFilters([u,s.filter],"and")})).load(s).done(p.resolve).fail(p.fail)}})).fail(p.fail),p},key:e.lookup.valueExpr,byKey:function(t){var n=Object(u.a)();return this.load({filter:[e.lookup.valueExpr,"=",t]}).done((function(e){n.resolve(e[0])})),n.promise()}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(419);var r=n(345);function o(e){return function(e){if(Array.isArray(e))return Object(i.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(r.a)(e)||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(e,t,n){"use strict";function i(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i=0||(r[n]=e[n]);return r}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return _}));var i=n(67),r=n(55),o=n(94),a=n(0),s=n(4),u=n(136),l=u.a.unwrap,c=u.a.isWrapped,p=u.a.assign,d=function(e){return(t=e,t.replace(/\[/g,".").replace(/\]/g,"")).split(".");var t},h=function(e,t,n,r){if("this"===t)throw new i.a.Error("E4016");var o=e[t];r.unwrapObservables&&c(o)?p(o,n):e[t]=n},m=function(e){return(e=e||{}).unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e};function f(e,t){return t.unwrapObservables?l(e):e}var g=function(e){if(arguments.length>1&&(e=[].slice.call(arguments)),!e||"this"===e)return function(e){return e};if("string"===typeof e){var t=d(e);return function(e,n){for(var i=(n=m(n)).functionsAsIs,r=("defaultValue"in n),o=f(e,n),s=0;s-1&&i.splice(t,1)};S(e.dxpointerdown,(function(e){-1===o(e)&&(n(e),i.push(e))})),S(e.dxpointermove,(function(e){i[o(e)]=e})),S(e.dxpointerup,a),S(e.dxpointercancel,a),this.pointers=function(){return i},this.reset=function(){i=[]}},C={dxpointerdown:"mousedown",dxpointermove:"mousemove",dxpointerup:"mouseup",dxpointercancel:"",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},w=function(e){return e.pointerId=1,{pointers:b.pointers(),pointerId:1}},k=!1,I=function(){k||(b=new x(C,(function(){return!0})),k=!0)},T=m.inherit({ctor:function(){this.callBase.apply(this,arguments),I()},_fireEvent:function(e){return this.callBase(Object(s.a)(w(e.originalEvent),e))}});T.map=C,T.normalize=w,T.activate=I,T.resetObserver=function(){b.reset()};var O=T,A=!1,D=function(){A||(O.activate(),A=!0)},P=m.inherit({EVENT_LOCK_TIMEOUT:100,ctor:function(){this.callBase.apply(this,arguments),D()},_handler:function(e){var t=Object(d.l)(e);if(t||(this._skipNextEvents=!0),!t||!this._mouseLocked){if(!t||!this._skipNextEvents)return this.callBase(e);this._skipNextEvents=!1,this._mouseLocked=!0,clearTimeout(this._unlockMouseTimer);var n=this;this._unlockMouseTimer=setTimeout((function(){n._mouseLocked=!1}),this.EVENT_LOCK_TIMEOUT)}},_fireEvent:function(e){var t=Object(d.l)(e.originalEvent)?O.normalize:v.normalize;return this.callBase(Object(s.a)(t(e.originalEvent),e))},dispose:function(){this.callBase(),this._skipNextEvents=!1,this._mouseLocked=!1,clearTimeout(this._unlockMouseTimer)}});P.map={dxpointerdown:"touchstart mousedown",dxpointermove:"touchmove mousemove",dxpointerup:"touchend mouseup",dxpointercancel:"touchcancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},P.resetObserver=O.resetObserver;var N=P,E=function(e,t){var n=t.tablet,i=t.phone;return!e.touch||n||i?e.touch?v:O:N}(i,o.a.real());Object(r.a)(E.map,(function(e,t){Object(a.a)(e,new E(e,t))}));t.a={down:"dxpointerdown",up:"dxpointerup",move:"dxpointermove",cancel:"dxpointercancel",enter:"dxpointerenter",leave:"dxpointerleave",over:"dxpointerover",out:"dxpointerout"}},function(e,t,n){"use strict";var i=n(127),r=n(0),o=n(4),a=n(67),s=n(495),u=n(287),l=n(351),c=n(323),p={"af-NA":1,agq:1,ak:1,ar:6,"ar-EH":1,"ar-ER":1,"ar-KM":1,"ar-LB":1,"ar-MA":1,"ar-MR":1,"ar-PS":1,"ar-SO":1,"ar-SS":1,"ar-TD":1,"ar-TN":1,asa:1,ast:1,az:1,"az-Cyrl":1,bas:1,be:1,bem:1,bez:1,bg:1,bm:1,br:1,bs:1,"bs-Cyrl":1,ca:1,ce:1,cgg:1,ckb:6,cs:1,cy:1,da:1,de:1,dje:1,dsb:1,dua:1,dyo:1,ee:1,el:1,"en-001":1,"en-AE":6,"en-BI":1,"en-MP":1,"en-SD":6,eo:1,es:1,et:1,eu:1,ewo:1,fa:6,ff:1,"ff-Adlm":1,fi:1,fo:1,fr:1,"fr-DJ":6,"fr-DZ":6,"fr-SY":6,fur:1,fy:1,ga:1,gd:1,gl:1,gsw:1,gv:1,ha:1,hr:1,hsb:1,hu:1,hy:1,ia:1,ig:1,is:1,it:1,jgo:1,jmc:1,ka:1,kab:6,kde:1,kea:1,khq:1,kk:1,kkj:1,kl:1,"ko-KP":1,ksb:1,ksf:1,ksh:1,ku:1,kw:1,ky:1,lag:1,lb:1,lg:1,ln:1,lrc:6,lt:1,lu:1,lv:1,"mas-TZ":1,mfe:1,mg:1,mgo:1,mi:1,mk:1,mn:1,ms:1,mua:1,mzn:6,naq:1,nds:1,nl:1,nmg:1,nnh:1,no:1,nus:1,nyn:1,os:1,pcm:1,pl:1,ps:6,"pt-AO":1,"pt-CH":1,"pt-CV":1,"pt-GQ":1,"pt-GW":1,"pt-LU":1,"pt-ST":1,"pt-TL":1,"qu-BO":1,"qu-EC":1,rm:1,rn:1,ro:1,rof:1,ru:1,rw:1,rwk:1,sah:1,sbp:1,sc:1,se:1,ses:1,sg:1,shi:1,"shi-Latn":1,si:1,sk:1,sl:1,smn:1,so:1,"so-DJ":6,sq:1,sr:1,"sr-Latn":1,sv:1,sw:1,"ta-LK":1,"ta-MY":1,teo:1,tg:1,"ti-ER":1,tk:1,to:1,tr:1,tt:1,twq:1,tzm:1,uk:1,uz:1,"uz-Arab":6,"uz-Cyrl":1,vai:1,"vai-Latn":1,vi:1,vun:1,wae:1,wo:1,xog:1,yav:1,yi:1,yo:1,zgh:1},d=n(145),h=n(73),m=n(3),f=/[\u200E\u200F]/g,g=function(e){return function(t){if(!e.timeZoneName){var n=t.getFullYear(),i=String(n).length<3,r=i?n+400:n,o=new Date(Date.UTC(r,t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return i&&o.setFullYear(n),b(o,Object(m.a)({timeZone:"UTC"},e))}return b(t,e)}},y={};function b(e,t){return function(e){var t=d.a.locale()+"/"+JSON.stringify(e);return y[t]||(y[t]=new Intl.DateTimeFormat(d.a.locale(),e).format),y[t]}(t)(e).replace(f,"")}var v=function(e){return new Intl.NumberFormat(d.a.locale()).format(e)},_=function(){var e={};return function(t){if(!(t in e)){if("0"===v(0))return e[t]=!1,!1;e[t]={};for(var n=0;n<10;++n)e[t][v(n)]=n}return e[t]}}(),S=function(e){var t=_(d.a.locale());return t?e.split("").map((function(e){return e in t?String(t[e]):e})).join(""):e},x=function(e){return e.replace(/(\D)0+(\d)/g,"$1$2")},C=function(e){return e.replace("d\u2019","de ")},w={day:{day:"numeric"},dayofweek:{weekday:"long"},longdate:{weekday:"long",year:"numeric",month:"long",day:"numeric"},longdatelongtime:{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},longtime:{hour:"numeric",minute:"numeric",second:"numeric"},month:{month:"long"},monthandday:{month:"long",day:"numeric"},monthandyear:{year:"numeric",month:"long"},shortdate:{},shorttime:{hour:"numeric",minute:"numeric"},shortyear:{year:"2-digit"},year:{year:"numeric"}};Object.defineProperty(w,"shortdateshorttime",{get:function(){var e=Intl.DateTimeFormat(d.a.locale()).resolvedOptions();return{year:e.year,month:e.month,day:e.day,hour:"numeric",minute:"numeric"}}});var k=function(e){return"string"===typeof e&&w[e.toLowerCase()]},I={standalone:function(e,t){var n=new Date(1999,e,13,1);return g({month:t})(n)},format:function(e,t){var n=new Date(0,e,13,1),i=C(g({day:"numeric",month:t})(n)).split(" ").filter((function(e){return e.indexOf("13")<0}));return 1===i.length?i[0]:2===i.length?i[0].length>i[1].length?i[0]:i[1]:I.standalone(e,t)}},T={engine:function(){return"intl"},getMonthNames:function(e,t){var n={wide:"long",abbreviated:"short",narrow:"narrow"}[e||"wide"];return t="format"===t?t:"standalone",Array.apply(null,new Array(12)).map((function(e,i){return I[t](i,n)}))},getDayNames:function(e){var t=function(e){return Array.apply(null,new Array(7)).map((function(t,n){return g({weekday:e})(new Date(0,0,n))}))}({wide:"long",abbreviated:"short",short:"narrow",narrow:"narrow"}[e||"wide"]);return t},getPeriodNames:function(){var e=g({hour:"numeric",hour12:!0});return[1,13].map((function(t){var n=v(1),i=e(new Date(0,0,1,t)).split(n);return 2!==i.length?"":(i[0].length>i[1].length?i[0]:i[1]).trim()}))},format:function(e,t){if(e){if(!t)return e;"function"===typeof t||t.formatter||(t=t.type||t);var n=k(t);if(n)return g(n)(e);var i=typeof t;return t.formatter||"function"===i||"string"===i?this.callBase.apply(this,arguments):g(t)(e)}},parse:function(e,t){var n,i=this;return t&&!t.parser&&"string"===typeof e&&(e=C(e),n=function(e){return C(i.format(e,t))}),this.callBase(e,n||t)},_parseDateBySimpleFormat:function(e,t){var n=this;e=S(e);var i=this.getFormatParts(t),r=e.split(/\D+/).filter((function(e){return e.length>0}));if(i.length===r.length){var o=this._generateDateArgs(i,r),a=function(i){var r,a,s=function(e,t){var n=t?12:0;return new Date(e.year,e.month,e.day,(e.hours+n)%24,e.minutes,e.seconds)}(o,i);if(r=S(n.format(s,t)),a=e,x(r)===x(a))return s};return a(!1)||a(!0)}},_generateDateArgs:function(e,t){var n=new Date,i={year:n.getFullYear(),month:n.getMonth(),day:n.getDate(),hours:0,minutes:0,seconds:0};return e.forEach((function(e,n){var r=t[n],o=parseInt(r,10);"month"===e&&(o-=1),i[e]=o})),i},formatUsesMonthName:function(e){return"object"!==typeof e||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.month},formatUsesDayName:function(e){return"object"!==typeof e||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.weekday},getTimeSeparator:function(){return S(b(new Date(2001,1,1,11,11),{hour:"numeric",minute:"numeric",hour12:!1})).replace(/\d/g,"")},getFormatParts:function(e){if("string"===typeof e)return this.callBase(e);var t=Object(m.a)({},w[e.toLowerCase()]),n=new Date(2001,2,4,5,6,7),i=g(t)(n);return i=S(i),[{name:"year",value:1},{name:"month",value:3},{name:"day",value:4},{name:"hours",value:5},{name:"minutes",value:6},{name:"seconds",value:7}].map((function(e){return{name:e.name,index:i.indexOf(e.value)}})).filter((function(e){return e.index>-1})).sort((function(e,t){return e.index-t.index})).map((function(e){return e.name}))}},O="undefined"!==typeof Intl,A={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},D={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},P=Object(i.a)({engine:function(){return"base"},_getPatternByFormat:function(e){return A[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return-1!==this._expandPattern(e).indexOf("MMMM")},formatUsesDayName:function(e){return-1!==this._expandPattern(e).indexOf("EEEE")},getFormatParts:function(e){var t=this._getPatternByFormat(e)||e,n=[];return Object(o.a)(t.split(/\W+/),(function(e,t){Object(o.a)(D,(function(e,i){i.includes(t)&&n.push(e)}))})),n},getMonthNames:function(e){return c.a.getMonthNames(e)},getDayNames:function(e){return c.a.getDayNames(e)},getQuarterNames:function(e){return c.a.getQuarterNames(e)},getPeriodNames:function(e){return c.a.getPeriodNames(e)},getTimeSeparator:function(){return":"},is24HourFormat:function(e){for(var t=new Date(2017,0,20,11,0,0,0),n=new Date(2017,0,20,23,0,0,0),i=this.format(t,e),r=this.format(n,e),o=0;o=t&&e<=n};function s(e){return Math.abs(parseInt(e.toExponential().split("e")[1]))}function u(e,t){var n,r=l(t||0)+2,o=e.toString().split("."),a=e,u=Math.abs(e),c=Object(i.g)(e),p=u>1?10:0;return 1===o.length?e:(c||(Object(i.g)(t)&&(r=o[0].length+s(t)),e=(e=u)-Math.floor(e)+p),r="0.000300"!==3e-4.toPrecision(3)&&s(e)>6||r>7?15:7,c||(n=parseFloat(e.toPrecision(r)).toString().split("."))[0]!==p.toString()?parseFloat(a.toPrecision(r)):parseFloat(o[0]+"."+n[1]))}function l(e){var t=e.toString();if(t.indexOf(".")<0)return 0;var n=t.split("."),i=n[1].indexOf("e");return i>=0?i:n[1].length}function c(e,t){if(e<0&&t%2!==1)return NaN;var n=Math.pow(Math.abs(e),1/t);return t%2===1&&e<0?-n:n}function p(e,t,n,i){if(Math.abs(e)<1e-8){if(e=t,t=n,n=i,Math.abs(e)<1e-8)return e=t,t=n,Math.abs(e)<1e-8?[]:[-t/e];var r=t*t-4*e*n;return Math.abs(r)<1e-8?[-t/(2*e)]:r>0?[(-t+Math.sqrt(r))/(2*e),(-t-Math.sqrt(r))/(2*e)]:[]}var o,a,s=(3*e*n-t*t)/(3*e*e),u=(2*t*t*t-9*e*t*n+27*e*e*i)/(27*e*e*e);if(Math.abs(s)<1e-8)o=[c(-u,3)];else if(Math.abs(u)<1e-8)o=[0].concat(s<0?[Math.sqrt(-s),-Math.sqrt(-s)]:[]);else{var l=u*u/4+s*s*s/27;if(Math.abs(l)<1e-8)o=[-1.5*u/s,3*u/s];else if(l>0)o=[(a=c(-u/2-Math.sqrt(l),3))-s/(3*a)];else{a=2*Math.sqrt(-s/3);var p=Math.acos(3*u/s/a)/3,d=2*Math.PI/3;o=[a*Math.cos(p),a*Math.cos(p-d),a*Math.cos(p-2*d)]}}for(var h=0;h0?Math.floor(e):Math.ceil(e)}function h(e,t,n){if(t===parseInt(t))return e%t;var i=f(e/t,n);return(i-parseInt(i))*t}function m(e){var t,n=e.toString();return(null===(t=n.split(".")[1])||void 0===t?void 0:t.length)||parseInt(n.split("e-")[1])||0}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseFloat(e.toFixed(t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var i=n(74),r=n(0),o=function(e){return(null!==e&&void 0!==e?e:Object(i.a)().rtlEnabled)?"right":"left"},a=function(e){return Object(r.p)(e)?{width:e.outerWidth,height:e.outerHeight}:e.getBoundingClientRect()}},function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"g",(function(){return g})),n.d(t,"f",(function(){return y}));var i=n(1),r=n(76),o=n(0),a="dxTranslator",s=/matrix(3d)?\((.+?)\)/,u=/translate(?:3d)?\((.+?)\)/,l=function(e){e=Object(i.a)(e);var t=m(e);return{left:t.x,top:t.y}};function c(e){return"string"===Object(o.q)(e)&&"%"===e[e.length-1]}function p(e,t){e.length&&Object(r.c)(e.get(0),a,t)}var d=function(e){e.length&&Object(r.d)(e.get(0),a)},h=function(e){return e.x=e.x||0,e.y=e.y||0,"translate("+(c(e.x)?e.x:e.x+"px")+", "+(c(e.y)?e.y:e.y+"px")+")"},m=function(e){var t=e.length?Object(r.c)(e.get(0),a):null;if(!t){var n=(e.css("transform")||h({x:0,y:0})).match(s),i=n&&n[1];n?(n=n[2].split(","),"3d"===i?n=n.slice(12,15):(n.push(0),n=n.slice(4,7))):n=[0,0,0],p(e,t={x:parseFloat(n[0]),y:parseFloat(n[1]),z:parseFloat(n[2])})}return t},f=function(e,t){e=Object(i.a)(e);var n,r=t.left,o=t.top;void 0===r?(n=m(e)).y=o||0:void 0===o?(n=m(e)).x=r||0:p(e,n={x:r||0,y:o||0,z:0}),e.css({transform:h(n)}),(c(r)||c(o))&&d(e)},g=function(e,t){var n;e=Object(i.a)(e);var r={left:0,top:0,transform:"none"};t&&(n=e.css("transition"),r.transition="none"),e.css(r),d(e),t&&(e.get(0).offsetHeight,e.css("transition",n))},y=function(e){var t=e.match(u);if(t&&t[1])return t=t[1].split(","),t={x:parseFloat(t[0]),y:parseFloat(t[1]),z:parseFloat(t[2])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return M})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return L})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return F})),n.d(t,"g",(function(){return W})),n.d(t,"h",(function(){return V})),n.d(t,"i",(function(){return Y})),n.d(t,"j",(function(){return te})),n.d(t,"k",(function(){return ne})),n.d(t,"l",(function(){return ee})),n.d(t,"m",(function(){return ie})),n.d(t,"n",(function(){return R})),n.d(t,"o",(function(){return P})),n.d(t,"p",(function(){return j})),n.d(t,"q",(function(){return z})),n.d(t,"r",(function(){return E})),n.d(t,"s",(function(){return re})),n.d(t,"t",(function(){return Q})),n.d(t,"u",(function(){return Z})),n.d(t,"v",(function(){return X})),n.d(t,"w",(function(){return B})),n.d(t,"x",(function(){return q})),n.d(t,"y",(function(){return c})),n.d(t,"z",(function(){return G})),n.d(t,"A",(function(){return N})),n.d(t,"B",(function(){return H})),n.d(t,"C",(function(){return U})),n.d(t,"D",(function(){return K})),n.d(t,"E",(function(){return v})),n.d(t,"F",(function(){return I})),n.d(t,"G",(function(){return s})),n.d(t,"H",(function(){return k})),n.d(t,"I",(function(){return _})),n.d(t,"J",(function(){return D})),n.d(t,"K",(function(){return m})),n.d(t,"L",(function(){return p})),n.d(t,"M",(function(){return y})),n.d(t,"N",(function(){return h})),n.d(t,"O",(function(){return w})),n.d(t,"P",(function(){return u})),n.d(t,"Q",(function(){return d})),n.d(t,"R",(function(){return T})),n.d(t,"S",(function(){return C})),n.d(t,"T",(function(){return x}));var i=n(103),r=n(19),o=n(85),a=n(477),s=function(e){return function(){return e}}(!0),u=function(){};var l=function(e){return e};"function"===typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;function c(e,t,n){if(!t(e))throw new Error(n)}var p=function(e,t){Object(r.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},d=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function h(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function m(e){var t=!1;return function(){t||(t=!0,e())}}var f=function(e){throw e},g=function(e){return{value:e,done:!0}};function y(e,t,n){void 0===t&&(t=f),void 0===n&&(n="iterator");var i={meta:{name:n},next:e,throw:t,return:g,isSagaIterator:!0};return"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function b(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var v=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},_=function(e){return Array.apply(null,new Array(e))},S=function(e){return function(t){return e(Object.defineProperty(t,i.f,{value:!0}))}},x=function(e){return e===i.k},C=function(e){return e===i.j},w=function(e){return x(e)||C(e)};function k(e,t){var n=Object.keys(e),i=n.length;var r,a=0,s=Object(o.a)(e)?_(i):{},l={};return n.forEach((function(e){var n=function(n,o){r||(o||w(n)?(t.cancel(),t(n,o)):(s[e]=n,++a===i&&(r=!0,t(s))))};n.cancel=u,l[e]=n})),t.cancel=function(){r||(r=!0,n.forEach((function(e){return l[e].cancel()})))},l}function I(e){return{name:e.name||"anonymous",location:T(e)}}function T(e){return e[i.g]}var O={isEmpty:s,put:u,take:u};function A(e,t){void 0===e&&(e=10);var n=new Array(e),i=0,r=0,o=0,a=function(t){n[r]=t,r=(r+1)%e,i++},s=function(){if(0!=i){var t=n[o];return n[o]=null,i--,o=(o+1)%e,t}},u=function(){for(var e=[];i;)e.push(s());return e};return{isEmpty:function(){return 0==i},put:function(s){var l;if(i1?t-1:0),i=1;i1?t-1:0),i=1;i0&&e.unfinished);e.unfinished||this._zr.flush()}}},V.getDom=function(){return this._dom},V.getZr=function(){return this._zr},V.setOption=function(e,t,n){if(this._disposed)this.id;else{var i;if(N(t)&&(n=t.lazyUpdate,i=t.silent,t=t.notMerge),this[M]=!0,!this._model||t){var r=new d(this._api),o=this._theme,a=this._model=new l;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(e,ae),n?(this.__optionUpdated={silent:i},this[M]=!1):(G(this),z.update.call(this),this._zr.flush(),this.__optionUpdated=!1,this[M]=!1,K.call(this,i),$.call(this,i))}},V.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},V.getModel=function(){return this._model},V.getOption=function(){return this._model&&this._model.getOption()},V.getWidth=function(){return this._zr.getWidth()},V.getHeight=function(){return this._zr.getHeight()},V.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},V.getRenderedCanvas=function(e){if(a.canvasSupported)return(e=e||{}).pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(e)},V.getSvgDataURL=function(){if(a.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return r.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},V.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,i=[],r=this;D(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return D(i,(function(e){e.group.ignore=!1})),o}this.id},V.getConnectedDataURL=function(e){if(this._disposed)this.id;else if(a.canvasSupported){var t="svg"===e.type,n=this.group,o=Math.min,s=Math.max,u=1/0;if(de[n]){var l=u,c=u,p=-1/0,d=-1/0,h=[],m=e&&e.pixelRatio||1;r.each(pe,(function(i,a){if(i.group===n){var u=t?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(r.clone(e)),m=i.getDom().getBoundingClientRect();l=o(m.left,l),c=o(m.top,c),p=s(m.right,p),d=s(m.bottom,d),h.push({dom:u,left:m.left,top:m.top})}}));var f=(p*=m)-(l*=m),g=(d*=m)-(c*=m),y=r.createCanvas(),b=i.init(y,{renderer:t?"svg":"canvas"});if(b.resize({width:f,height:g}),t){var _="";return D(h,(function(e){var t=e.left-l,n=e.top-c;_+=''+e.dom+""})),b.painter.getSvgRoot().innerHTML=_,e.connectedBackgroundColor&&b.painter.setBackgroundColor(e.connectedBackgroundColor),b.refreshImmediately(),b.painter.toDataURL()}return e.connectedBackgroundColor&&b.add(new v.Rect({shape:{x:0,y:0,width:f,height:g},style:{fill:e.connectedBackgroundColor}})),D(h,(function(e){var t=new v.Image({style:{x:e.left*m-l,y:e.top*m-c,image:e.dom}});b.add(t)})),b.refreshImmediately(),y.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},V.convertToPixel=r.curry(q,"convertToPixel"),V.convertFromPixel=r.curry(q,"convertFromPixel"),V.containPixel=function(e,t){if(!this._disposed){var n,i=this._model;return e=_.parseFinder(i,e),r.each(e,(function(e,i){i.indexOf("Models")>=0&&r.each(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(t);else if("seriesModels"===i){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n|=o.containPoint(t,e))}}),this)}),this),!!n}this.id},V.getVisual=function(e,t){var n=this._model,i=(e=_.parseFinder(n,e,{defaultMainType:"series"})).seriesModel.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?i.indexOfRawIndex(e.dataIndex):null;return null!=r?i.getItemVisual(r,t):i.getVisual(t)},V.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},V.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var z={prepareAndUpdate:function(e){G(this),z.update.call(this,e)},update:function(e){var t=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,s=this._scheduler;if(t){s.restoreData(t,e),s.performSeriesTasks(t),r.create(t,n),s.performDataProcessorTasks(t,e),U(this,t),r.update(t,n),Z(t),s.performVisualTasks(t,e),X(this,t,n,e);var u=t.get("backgroundColor")||"transparent";if(a.canvasSupported)i.setBackgroundColor(u);else{var l=o.parse(u);u=o.stringify(l,"rgb"),0===l[3]&&(u="transparent")}J(t,n)}},updateTransform:function(e){var t=this._model,n=this,i=this._api;if(t){var o=[];t.eachComponent((function(r,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var u=s.updateTransform(a,t,i,e);u&&u.update&&o.push(s)}else o.push(s)}));var a=r.createHashMap();t.eachSeries((function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,t,i,e);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),Z(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:a}),Q(n,t,i,e,a),J(t,this._api)}},updateView:function(e){var t=this._model;t&&(b.markUpdateMethod(e,"updateView"),Z(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),X(this,this._model,this._api,e),J(t,this._api))},updateVisual:function(e){z.update.call(this,e)},updateLayout:function(e){z.update.call(this,e)}};function G(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),Y(e,"component",t,n),Y(e,"chart",t,n),n.plan()}function H(e,t,n,i,o){var a=e._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var u={mainType:i,query:s};o&&(u.subType=o);var l=n.excludeSeriesId;null!=l&&(l=r.createHashMap(_.normalizeToArray(l))),a&&a.eachComponent(u,(function(t){l&&null!=l.get(t.id)||c(e["series"===i?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else D(e._componentsViews.concat(e._chartsViews),c);function c(i){i&&i.__alive&&i[t]&&i[t](i.__model,a,e._api,n)}}function U(e,t){var n=e._chartsMap,i=e._scheduler;t.eachSeries((function(e){i.updateStreamModes(e,n[e.__viewId])}))}function W(e,t){var n=e.type,i=e.escapeConnect,o=ie[n],a=o.actionInfo,s=(a.update||"update").split(":"),u=s.pop();s=null!=s[0]&&E(s[0]),this[M]=!0;var l=[e],c=!1;e.batch&&(c=!0,l=r.map(e.batch,(function(t){return(t=r.defaults(r.extend({},t),e)).batch=null,t})));var p,d=[],h="highlight"===n||"downplay"===n;D(l,(function(e){(p=(p=o.action(e,this._model,this._api))||r.extend({},e)).type=a.event||p.type,d.push(p),h?H(this,u,e,"series"):s&&H(this,u,e,s.main,s.sub)}),this),"none"===u||h||s||(this.__optionUpdated?(G(this),z.update.call(this,e),this.__optionUpdated=!1):z[u].call(this,e)),p=c?{type:a.event||n,escapeConnect:i,batch:d}:d[0],this[M]=!1,!t&&this._messageCenter.trigger(p.type,p)}function K(e){for(var t=this._pendingActions;t.length;){var n=t.shift();W.call(this,n,e)}}function $(e){!e&&this.trigger("updated")}function Y(e,t,n,i){for(var r="component"===t,o=r?e._componentsViews:e._chartsViews,a=r?e._componentsMap:e._chartsMap,s=e._zr,u=e._api,l=0;lt.get("hoverLayerThreshold")&&!a.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}(e,t),C(e._zr.dom,t)}function J(e,t){D(se,(function(n){n(e,t)}))}V.resize=function(e){if(this._disposed)this.id;else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),i=e&&e.silent;this[M]=!0,n&&G(this),z.update.call(this),this[M]=!1,K.call(this,i),$.call(this,i)}}},V.showLoading=function(e,t){if(this._disposed)this.id;else if(N(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),ce[e]){var n=ce[e](this._api,t),i=this._zr;this._loadingFX=n,i.add(n)}},V.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},V.makeActionFromEvent=function(e){var t=r.extend({},e);return t.type=re[e.type],t},V.dispatchAction=function(e,t){this._disposed?this.id:(N(t)||(t={silent:!!t}),ie[e.type]&&this._model&&(this[M]?this._pendingActions.push(e):(W.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&a.browser.weChat&&this._throttledZrFlush(),K.call(this,t.silent),$.call(this,t.silent))))},V.appendData=function(e){if(this._disposed)this.id;else{var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0}},V.on=L("on",!1),V.off=L("off",!1),V.one=L("one",!1);var ee=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function te(e,t){var n=e.get("z"),i=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=i&&(e.zlevel=i))}))}function ne(){this.eventInfo}V._initEvents=function(){D(ee,(function(e){var t=function(t){var n,i=this.getModel(),o=t.target;if("globalout"===e)n={};else if(o&&null!=o.dataIndex){var a=o.dataModel||i.getSeriesByIndex(o.seriesIndex);n=a&&a.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(n=r.extend({},o.eventData));if(n){var s=n.componentType,u=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",u=n.seriesIndex);var l=s&&null!=u&&i.getComponent(s,u),c=l&&this["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:c},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),D(re,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},V.isDisposed=function(){return this._disposed},V.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},V.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,_.setAttribute(this.getDom(),fe,"");var e=this._api,t=this._model;D(this._componentsViews,(function(n){n.dispose(t,e)})),D(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete pe[this.id]}},r.mixin(F,u),ne.prototype={constructor:ne,normalizeQuery:function(e){var t={},n={},i={};if(r.isString(e)){var o=E(e);t.mainType=o.main||null,t.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(e,(function(e,r){for(var o=!1,u=0;u0&&c===r.length-l.length){var p=r.slice(0,c);"data"!==p&&(t.mainType=p,t[l.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(r)&&(n[r]=e,o=!0),o||(i[r]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:i}},filter:function(e,t,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var u=t.cptQuery,l=t.dataQuery;return c(u,a,"mainType")&&c(u,a,"subType")&&c(u,a,"index","componentIndex")&&c(u,a,"name")&&c(u,a,"id")&&c(l,o,"name")&&c(l,o,"dataIndex")&&c(l,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,r,o));function c(e,t,n,i){return null==e[n]||t[i||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var ie={},re={},oe=[],ae=[],se=[],ue=[],le={},ce={},pe={},de={},he=new Date-0,me=new Date-0,fe="_echarts_instance_";function ge(e){de[e]=!1}var ye=ge;function be(e){return pe[_.getAttribute(e,fe)]}function ve(e,t){le[e]=t}function _e(e){ae.push(e)}function Se(e,t){we(oe,e,t,1e3)}function xe(e,t,n){"function"===typeof t&&(n=t,t="");var i=N(e)?e.type:[e,e={event:t}][0];e.event=(e.event||i).toLowerCase(),t=e.event,A(j.test(i)&&j.test(t)),ie[i]||(ie[i]={action:n,actionInfo:e}),re[t]=i}function Ce(e,t){we(ue,e,t,3e3,"visual")}function we(e,t,n,i,r){(P(t)||N(t))&&(n=t,t=i);var o=k.wrapStageHandler(n,r);return o.__prio=t,o.__raw=n,e.push(o),o}function ke(e,t){ce[e]=t}Ce(2e3,x),_e(h),Se(900,m),ke("default",w),xe({type:"highlight",event:"highlight",update:"highlight"},r.noop),xe({type:"downplay",event:"downplay",update:"downplay"},r.noop),ve("light",I),ve("dark",T);t.version="4.9.0",t.dependencies={zrender:"4.3.2"},t.PRIORITY=R,t.init=function(e,t,n){var i=be(e);if(i)return i;var r=new F(e,t,n);return r.id="ec_"+he++,pe[r.id]=r,_.setAttribute(e,fe,r.id),function(e){var t="__connectUpdateStatus";function n(e,n){for(var i=0;ia&&u%1e4===0&&new Date-f>=300)return f=new Date,l=new d.a,setTimeout(c(l,u,!1),0),l;var p=n[u];if(!s){if(o.unshift(p),r&&!1===i(o,u))return;if(p.children){var h=t(p.children,i,r,o);if(e&&h)return l=new d.a,h.done(c(l,u,!0)),l}}if(s=!1,!r&&!1===i(o,u))return;o.shift(),n[u]!==p&&u--}}}var y=g(!1),b=g(!0);function v(e,t){if(e&&Object(i.d)(t))for(var n=0;na?r=1:o=0;n--)t.push(e[n].key||e[n].value);return t}function C(e,t,n,i){n=n||0,i=i||"children",e.length&&t(e,n);for(var r=0;r0&&e.groupInterval;t&&!e.customizeText&&h(e,"customizeText",(function(n){var i=n.value+t,r=l.a.format(i,e.format);return n.valueText&&r?n.valueText+" - "+r:""}))}}function P(e,t){var n=[];t=t||[];for(var i=0;i=t.duration&&s.reject()})),o.a.off(e,w),o.a.on(e,w,(function(){i.stop(e,t),a.reject()}));var c=setTimeout((function(){n=setTimeout((function(){u.reject()}),t.duration+t.delay+Z._simulatedTransitionEndDelay),Object(S.c)(s,u).fail(function(){a.resolve()}.bind(this))}));return a.promise()},_startAnimation:function(e,t){e.css({transitionProperty:"all",transitionDelay:t.delay+"ms",transitionDuration:t.duration+"ms",transitionTimingFunction:t.easing}),"string"===typeof t.to?e[0].className+=" "+t.to:t.to&&Y(e,t.to)},_finishTransition:function(e){e.css("transition","none")},_cleanup:function(e,t){t.transitionAnimation.cleanup(),"string"===typeof t.from&&(e.removeClass(t.from),e.removeClass(t.to))},stop:function(e,t,n){t&&(n?t.transitionAnimation.finish():(Object(l.k)(t.to)&&Object(c.a)(t.to,(function(t){e.css(t,e.css(t))})),this._finishTransition(e),this._cleanup(e,t)))}},A={initAnimation:function(e,t){Y(e,t.from)},animate:function(e,t){var n=new S.a,i=this;return t?(Object(c.a)(t.to,(function(n){void 0===t.from[n]&&(t.from[n]=i._normalizeValue(e.css(n)))})),t.to.transform&&(t.from.transform=i._parseTransform(t.from.transform),t.to.transform=i._parseTransform(t.to.transform)),t.frameAnimation={to:t.to,from:t.from,currentValue:t.from,easing:f(t.easing),duration:t.duration,startTime:(new Date).valueOf(),finish:function(){this.currentValue=this.to,this.draw(),Object(g.cancelAnimationFrame)(t.frameAnimation.animationFrameId),n.resolve()},draw:function(){if(t.draw)t.draw(this.currentValue);else{var n=Object(u.a)({},this.currentValue);n.transform&&(n.transform=Object(c.b)(n.transform,(function(e,t){return"translate"===t?Object(p.c)(e):"scale"===t?"scale("+e+")":"rotate"===t.substr(0,t.length-1)?t+"("+e+"deg)":void 0})).join(" ")),e.css(n)}}},t.delay?(t.frameAnimation.startTime+=t.delay,t.frameAnimation.delayTimeout=setTimeout((function(){i._startAnimation(e,t)}),t.delay)):i._startAnimation(e,t),n.promise()):n.reject().promise()},_startAnimation:function(e,t){o.a.off(e,w),o.a.on(e,w,(function(){t.frameAnimation&&Object(g.cancelAnimationFrame)(t.frameAnimation.animationFrameId)})),this._animationStep(e,t)},_parseTransform:function(e){var t={};return Object(c.a)(e.match(/\w+\d*\w*\([^)]*\)\s*/g),(function(e,n){var i=Object(p.f)(n),r=n.match(/scale\((.+?)\)/),o=n.match(/(rotate.)\((.+)deg\)/);i&&(t.translate=i),r&&r[1]&&(t.scale=parseFloat(r[1])),o&&o[1]&&(t[o[1]]=parseFloat(o[2]))})),t},stop:function(e,t,n){var i=t&&t.frameAnimation;i&&(Object(g.cancelAnimationFrame)(i.animationFrameId),clearTimeout(i.delayTimeout),n&&i.finish(),delete t.frameAnimation)},_animationStep:function(e,t){var n=t&&t.frameAnimation;if(n){var i=(new Date).valueOf();if(i>=n.startTime+n.duration)n.finish();else{n.currentValue=this._calcStepValue(n,i-n.startTime),n.draw();var r=this;n.animationFrameId=Object(g.requestAnimationFrame)((function(){r._animationStep(e,t)}))}}},_calcStepValue:function(e,t){return function n(i,r){var o=Array.isArray(r)?[]:{};return Object(c.a)(r,(function(a,s){if("string"===typeof s&&!1===parseFloat(s,10))return!0;o[a]="object"===typeof s?n(i[a],s):function(n){var o=t/e.duration,a=t,s=1*i[n],u=r[n]-i[n],l=e.duration;return function(e){return m[e]}(e.easing)(o,a,s,u,l)}(a)})),o}(e.from,e.to)},_normalizeValue:function(e){var t=parseFloat(e,10);return!1===t?e:t}},D={initAnimation:function(){},animate:function(){return(new S.a).resolve().promise()},stop:x.noop,isSynchronous:!0},P=function(e,t,n,i){Object(c.a)(["from","to"],(function(){if(!n(e[this]))throw a.a.Error("E0010",t,this,i)}))},N=function(e,t){return P(e,t,(function(e){return Object(l.k)(e)}),"a plain object")},E={top:{my:"bottom center",at:"top center"},bottom:{my:"top center",at:"bottom center"},right:{my:"left center",at:"right center"},left:{my:"right center",at:"left center"}},R={validateConfig:function(e){N(e,"slide")},setup:function(e,t){var n=Object(p.d)(e);if("slide"!==t.type){var i="slideIn"===t.type?t.from:t.to;i.position=Object(u.a)({of:C},E[t.direction]),$(e,i)}this._setUpConfig(n,t.from),this._setUpConfig(n,t.to),Object(p.a)(e)},_setUpConfig:function(e,t){t.left="left"in t?t.left:"+=0",t.top="top"in t?t.top:"+=0",this._initNewPosition(e,t)},_initNewPosition:function(e,t){var n={left:t.left,top:t.top};delete t.left,delete t.top;var i=this._getRelativeValue(n.left);void 0!==i?n.left=i+e.left:t.left=0,void 0!==(i=this._getRelativeValue(n.top))?n.top=i+e.top:t.top=0,t.transform=Object(p.c)({x:n.left,y:n.top})},_getRelativeValue:function(e){var t;if("string"===typeof e&&(t=k.exec(e)))return parseInt(t[1]+"1")*t[2]}},M={setup:function(e,t){var n,i,r=t.from,o=t.to,a="fadeOut"===t.type?1:0,s="fadeOut"===t.type?0:1,u=Object(l.k)(r)?String(null!==(n=r.opacity)&&void 0!==n?n:a):String(r),c=Object(l.k)(o)?String(null!==(i=o.opacity)&&void 0!==i?i:s):String(o);switch(t.skipElementInitialStyles||(u=e.css("opacity")),t.type){case"fadeIn":c=1;break;case"fadeOut":c=0}t.from={visibility:"visible",opacity:u},t.to={opacity:c}}},j={custom:{setup:function(){}},slide:R,slideIn:R,slideOut:R,fade:M,fadeIn:M,fadeOut:M,pop:{validateConfig:function(e){N(e,"pop")},setup:function(e,t){var n=t.from,i=t.to,r="opacity"in n?n.opacity:e.css("opacity"),o="opacity"in i?i.opacity:1,a="scale"in n?n.scale:0,s="scale"in i?i.scale:1;t.from={opacity:r};var u=Object(p.b)(e);t.from.transform=this._getCssTransform(u,a),t.to={opacity:o},t.to.transform=this._getCssTransform(u,s)},_getCssTransform:function(e,t){return Object(p.c)(e)+"scale("+t+")"}},css:{validateConfig:function(e){!function(e,t){P(e,t,(function(e){return"string"===typeof e}),"a string")}(e,"css")},setup:function(){}}},L={type:"custom",from:{},to:{},duration:400,start:x.noop,complete:x.noop,easing:"ease",delay:0},B={duration:400,easing:"ease",delay:0};function F(){var e=this.element,t=this.config;if($(e,t.from),$(e,t.to),this.configurator.setup(e,t),e.data(I,this),Z.off&&(t.duration=0,t.delay=0),this.strategy.initAnimation(e,t),t.start){var n=Object(s.a)(e);t.start.apply(this,[n,t])}}var V=function(){var e=this,t=e.element,n=e.config;return e.isStarted=!0,e.strategy.animate(t,n).done((function(){!function(e){var t=e.element,n=e.config;if(t.removeData(I),n.complete){var i=Object(s.a)(t);n.complete.apply(this,[i,n])}e.deferred.resolveWith(this,[t,n])}(e)})).fail((function(){e.deferred.rejectWith(this,[t,n])}))},q=function(e){var t=this.element,n=this.config;clearTimeout(this.startTimeout),this.isStarted||this.start(),this.strategy.stop(t,n,e)},z=Object(_.a)(v.a,"dxFXStartAnimation"),G=function(e,t){var n="css"===t.type?B:L,r=Object(u.a)(!0,{},n,t),s=function(e){var t=j[e.type];if(!t)throw a.a.Error("E0011",e.type);return t}(r),c=function(e){e=e||{};var t={transition:Object(y.transition)()?O:A,frame:A,noAnimation:D},n=e.strategy||"transition";return"css"!==e.type||Object(y.transition)()||(n="noAnimation"),t[n]}(r),p={element:Object(i.a)(e),config:r,configurator:s,strategy:c,isSynchronous:c.isSynchronous,setup:F,start:V,stop:q,deferred:new S.a};return Object(l.h)(s.validateConfig)&&s.validateConfig(r),function(e){o.a.off(e.element,z),o.a.on(e.element,z,(function(){Z.stop(e.element)})),e.deferred.always((function(){o.a.off(e.element,z)}))}(p),p};function H(e){return e.data(T)||[]}var U=function(e){e.removeData(T)};function W(e){return!!e.data(I)}function K(e,t){if((t=H(e)).length){var n=t.shift();0===t.length&&U(e),function(e){e.setup(),Z.off||e.isSynchronous?e.start():e.startTimeout=setTimeout((function(){e.start()}));return e.deferred.promise()}(n).done((function(){W(e)||K(e)}))}}function $(e,t){if(t&&t.position){var n=Object(i.a)(C),r=0,o=0,a=b.a.calculate(e,t.position),s=e.offset(),l=e.position();l.top>s.top&&(o=n.scrollTop()),l.left>s.left&&(r=n.scrollLeft()),Object(u.a)(t,{left:a.h.location-s.left+l.left-r,top:a.v.location-s.top+l.top-o}),delete t.position}}function Y(e,t){Object(c.a)(t,(function(t,n){try{e.css(t,Object(l.h)(n)?n():n)}catch(i){}}))}var Z={off:!1,animationTypes:j,animate:function(e,t){var n=Object(i.a)(e);if(!n.length)return(new S.a).resolve().promise();var r=G(n,t);return function(e,t){var n=H(e);(function(e,t){e.data(T,t)})(e,n),n.push(t),W(e)||K(e,n)}(n,r),r.deferred.promise()},createAnimation:G,isAnimating:W,stop:function(e,t){var n=Object(i.a)(e),r=H(n);Object(c.a)(r,(function(e,t){t.config.delay=0,t.config.duration=0,t.isSynchronous=!0})),W(n)||K(n,r);var o=n.data(I);o&&o.stop(t),n.removeData(I),U(n)},_simulatedTransitionEndDelay:100};t.a=Z},function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"d",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"b",(function(){return z})),n.d(t,"e",(function(){return H}));var i,r,o,a,s,u,l=n(13),c=n(31),p=n(25),d=n(1),h=n(12),m=n(369),f=n(4),g=n(119),y=n(129),b=n(21),v=new(n(63).a),_=n(50),S=Object(b.d)(),x=g.a.add,C=y.c,w=y.a,k=new h.a,I="link[rel=dx-theme]",T="dx-hairlines",O="any",A=15e3,D="dx.";function P(){if(!Object(b.f)())return null;var e,t=Object(d.a)("
",i).addClass("dx-theme-marker").appendTo(i.documentElement);try{return(e=S.getComputedStyle(t.get(0)).fontFamily)?(e=e.replace(/["']/g,"")).substr(0,D.length)!==D?null:e.substr(D.length):null}finally{t.remove()}}function N(e){var t,n,i=!0;function r(){s=null,clearInterval(n),i=!0,v.fire(),v.empty(),k.resolve()}if(s=e,E()||!A)r();else{if(!i)return void(s&&(s=e));t=Date.now(),i=!1,n=setInterval((function(){var e=E(),n=!e&&Date.now()-t>A;n&&_.a.log("W0004",s),(e||n)&&r()}),10)}}function E(){if(!s)return!0;var e=s===O;if("resolved"===k.state()&&e)return!0;var t=P();return!(!t||!e)||t===s}function R(e){var t=e?e.split("."):[],n=null;if(o){if(e in o)return e;Object(f.a)(o,(function(e,i){var r=e.split(".");if((!t[0]||r[0]===t[0])&&(!t[1]||t[1]===r[1])&&(!t[2]||t[2]===r[2]))return n&&!i.isActive||(n=e),!i.isActive&&void 0}))}return n}function M(e){(function(e){try{e!==i&&(o=null)}catch(t){o=null}i=e})((e=e||{}).context||p.a.getDocument()),i&&(!function(){var e=Object(d.a)(I,i);e.length&&(o={},r=Object(d.a)(Object(m.b)(""),i),e.each((function(){var e=Object(d.a)(this,i),t=e.attr("data-theme"),n=e.attr("href"),r="true"===e.attr("data-active");o[t]={url:n,isActive:r}})),e.last().after(r),e.remove())}(),a=void 0,j(e))}function j(e){if(!arguments.length)return a=a||P();B(C()),"string"===typeof(e=e||{})&&(e={theme:e});var t,n=e._autoInit,i=e.loadCallback;if((a=R(e.theme||a))&&(t=o[a]),i&&v.add(i),t)r.attr("href",o[a].url),(v.has()||"resolved"!==k.state()||e._forceTimeout)&&N(a);else{if(!n)throw _.a.Error("E0021",a);Object(b.f)()&&N(O),v.fire(),v.empty()}k.done((function(){return L(Object(y.b)(),a)}))}function L(e,t){u=function(e){var t=[],n=(e=e||j())&&e.split(".");return n&&(t.push("dx-theme-"+n[0],"dx-theme-"+n[0]+"-typography"),n.length>1&&t.push("dx-color-scheme-"+n[1]+(V(e)?"-"+n[2]:""))),t}(t).join(" "),Object(d.a)(e).addClass(u),function(){var t=Object(b.f)()&&S.devicePixelRatio;if(t&&!(t<2)){var n=Object(d.a)("
");n.css("border",".5px solid transparent"),Object(d.a)("body").append(n),1===Object(l.h)(n)&&(Object(d.a)(e).addClass(T),u+=" dx-hairlines"),n.remove()}}()}function B(e){Object(d.a)(e).removeClass(u)}function F(e,t){return t||(t=a||P()),new RegExp(e).test(t)}function V(e){return F("material",e)}function q(e){return F("generic",e)}function z(e){return F("compact",e)}function G(e,t){var n=p.a.getDocument(),i=n.createElement("span");i.style.position="absolute",i.style.top="-9999px",i.style.left="-9999px",i.style.visibility="hidden",i.style.fontFamily="Arial",i.style.fontSize="250px",i.style.fontWeight=t,i.innerHTML=e,n.body.appendChild(i);var r=i.offsetWidth;i.style.fontFamily="Roboto, RobotoFallback, Arial";var o=i.offsetWidth;return i.parentNode.removeChild(i),r!==o}function H(e,t){return new Promise((function(n){var i=function(){clearInterval(r),clearTimeout(o),n()},r=setInterval((function(){G(e,t)&&i()}),15),o=setTimeout(i,2e3)}))}function U(){if(M({_autoInit:!0,_forceTimeout:!0}),Object(d.a)(I,i).length)throw _.a.Error("E0022")}Object(b.f)()?U():x(U),w.add((function(e,t){k.done((function(){B(t),L(e)}))})),c.a.changed.add((function(){M({_autoInit:!0})}))},function(e,t,n){"use strict";var i=function(e){this._options=e||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};i.prototype._fireCore=function(e,t){var n=this._firingIndexes,i=this._list,r=this._options.stopOnFalse,o=n.length;for(n[o]=0;n[o]-1&&(t.splice(i,1),this._firing&&n.length))for(var r=0;r-1:!!t.length},i.prototype.empty=function(e){return this._list=[],this},i.prototype.fireWith=function(e,t){var n=this._queue;if(t=(t=t||[]).slice?t.slice():t,this._options.syncStrategy)this._firing=!0,this._fireCore(e,t);else{if(n.push([e,t]),this._firing)return;for(this._firing=!0;n.length;){var i=n.shift();this._fireCore(i[0],i[1])}}return this._firing=!1,this._fired=!0,this},i.prototype.fire=function(){this.fireWith(this,arguments)},i.prototype.fired=function(){return this._fired};t.a=function(e){return new i(e)}},function(e,t,n){"use strict";n.d(t,"h",(function(){return i})),n.d(t,"w",(function(){return r})),n.d(t,"x",(function(){return o})),n.d(t,"i",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"y",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return g})),n.d(t,"o",(function(){return y})),n.d(t,"l",(function(){return b})),n.d(t,"m",(function(){return v})),n.d(t,"n",(function(){return _})),n.d(t,"p",(function(){return S})),n.d(t,"r",(function(){return x})),n.d(t,"t",(function(){return C})),n.d(t,"u",(function(){return w})),n.d(t,"z",(function(){return k})),n.d(t,"A",(function(){return I})),n.d(t,"j",(function(){return T})),n.d(t,"v",(function(){return O})),n.d(t,"s",(function(){return A}));var i="dx-editor-cell",r="dx-row",o="dx-selection",a="edit-form",s="insert",u="remove",l="editing.popup",c="editing.form",p="editing.editRowKey",d="editing.editColumnName",h="targetComponent",m="input:not([type='hidden'])",f="[tabindex], "+m,g="batch",y="row",b="cell",v="form",_="popup",S="first",x="last",C="pageBottom",w="pageTop",k="viewportBottom",I="viewportTop",T=[g,y,b,v,_],O=[y,v,_],A=[y,v]},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var r=n(7),o=n(557),a=n(667),s=function(e){function t(t){var n=e.call(this,t)||this;return n._extensionCreators=[],n._registerExtension=n._registerExtension.bind(n),n}return i(t,e),t.prototype.componentDidMount=function(){e.prototype.componentDidMount.call(this),this._createWidget(),this._createExtensions()},t.prototype.renderChildren=function(){var e=this;return r.Children.map(this.props.children,(function(t){return t&&Object.prototype.isPrototypeOf.call(a.ExtensionComponent,t.type)?r.cloneElement(t,{onMounted:e._registerExtension}):t}))},t.prototype._registerExtension=function(e){this._extensionCreators.push(e)},t.prototype._createExtensions=function(){var e=this;this._extensionCreators.forEach((function(t){return t(e._element)}))},t}(o.ComponentBase);t.Component=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var i=n(0),r=function(){var e=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")];return function(t){return String(t).replace(e[0],"&").replace(e[1],""").replace(e[2],"'").replace(e[3],"<").replace(e[4],">")}}(),o=function(e){var t=function(e){switch(typeof e){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}}(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10),r=parseInt(t&&t[2],10),o=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),isFinite(r)||(r=n),isFinite(o)||(o=i),{top:i,right:r,bottom:o,left:n}};function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0),u=!s&&null!=r;(s||u)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=r,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),u&&(e.textFill=r)}e.insideRollback=t}function se(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function ue(e,t,n,i,r,o){if("function"===typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=e?"Update":"",s=i.getShallow("animationDuration"+a),u=i.getShallow("animationEasing"+a),l=i.getShallow("animationDelay"+a);"function"===typeof l&&(l=l(r,i.getAnimationDelayParams?i.getAnimationDelayParams(t,r):null)),"function"===typeof s&&(s=s(r)),s>0?t.animateTo(n,s,l||0,u,o,!!o):(t.stopAnimation(),t.attr(n),o&&o())}else t.stopAnimation(),t.attr(n),o&&o()}function le(e,t,n,i,r){ue(!0,e,t,n,i,r)}function ce(e,t,n){return t&&!i.isArrayLike(t)&&(t=l.getLocalTransform(t)),n&&(t=a.invert([],t)),s.applyTransform([],e,t)}function pe(e,t,n,i,r,o,a,s){var u,l=n-e,c=i-t,p=a-r,d=s-o,h=de(p,d,l,c);if((u=h)<=1e-6&&u>=-1e-6)return!1;var m=e-r,f=t-o,g=de(m,f,l,c)/h;if(g<0||g>1)return!1;var y=de(m,f,p,d)/h;return!(y<0||y>1)}function de(e,t,n,i){return e*i-n*t}j("circle",h),j("sector",m),j("ring",f),j("polygon",g),j("polyline",y),j("rect",b),j("line",v),j("bezierCurve",_),j("arc",S),t.Z2_EMPHASIS_LIFT=1,t.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},t.extendShape=function(e){return u.extend(e)},t.extendPath=function(e,t){return r.extendFromString(e,t)},t.registerShape=j,t.getShapeClass=function(e){if(M.hasOwnProperty(e))return M[e]},t.makePath=L,t.makeImage=function(e,t,n){var i=new c({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var r={width:e.width,height:e.height};i.setStyle(B(t,r))}}});return i},t.mergePath=F,t.resizePath=V,t.subPixelOptimizeLine=function(e){return T.subPixelOptimizeLine(e.shape,e.shape,e.style),e},t.subPixelOptimizeRect=function(e){return T.subPixelOptimizeRect(e.shape,e.shape,e.style),e},t.subPixelOptimize=q,t.setElementHoverStyle=Y,t.setHoverStyle=function(e,t){te(e,!0),$(e,Y,t)},t.setAsHighDownDispatcher=te,t.isHighDownDispatcher=function(e){return!(!e||!e.__highDownDispatcher)},t.getHighlightDigit=function(e){var t=R[e];return null==t&&E<=32&&(t=R[e]=E++),t},t.setLabelStyle=function(e,t,n,r,o,a,s){var u,l=(o=o||D).labelFetcher,c=o.labelDataIndex,p=o.labelDimIndex,d=o.labelProp,h=n.getShallow("show"),m=r.getShallow("show");(h||m)&&(l&&(u=l.getFormattedLabel(c,"normal",null,p,d)),null==u&&(u=i.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var f=h?u:null,g=m?i.retrieve2(l?l.getFormattedLabel(c,"emphasis",null,p,d):null,u):null;null==f&&null==g||(ne(e,n,a,o),ne(t,r,s,o,!0)),e.text=f,t.text=g},t.modifyLabelStyle=function(e,t,n){var r=e.style;t&&(se(r),e.setStyle(t),ae(r)),r=e.__hoverStl,n&&r&&(se(r),i.extend(r,n),ae(r))},t.setTextStyle=ne,t.setText=function(e,t,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,ie(e,t,r,i)},t.getFont=function(e,t){var n=t&&t.getModel("textStyle");return i.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},t.updateProps=le,t.initProps=function(e,t,n,i,r){ue(!1,e,t,n,i,r)},t.getTransform=function(e,t){for(var n=a.identity([]);e&&e!==t;)a.mul(n,e.getLocalTransform(),n),e=e.parent;return n},t.applyTransform=ce,t.transformDirection=function(e,t,n){var i=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-i:"right"===e?i:0,"top"===e?-r:"bottom"===e?r:0];return o=ce(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},t.groupTransition=function(e,t,n,r){if(e&&t){var o=function(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var i=a(e);e.attr(a(t)),le(e,i,n,e.dataIndex)}}}))}function a(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=i.extend({},e.shape)),t}},t.clipPointsByRect=function(e,t){return i.map(e,(function(e){var n=e[0];n=O(n,t.x),n=A(n,t.x+t.width);var i=e[1];return i=O(i,t.y),[n,i=A(i,t.y+t.height)]}))},t.clipRectByRect=function(e,t){var n=O(e.x,t.x),i=A(e.x+e.width,t.x+t.width),r=O(e.y,t.y),o=A(e.y+e.height,t.y+t.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},t.createIcon=function(e,t,n){var r=(t=i.extend({rectHover:!0},t)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),i.defaults(r,n),new c(t)):L(e.replace("path://",""),t,n,"center")},t.linePolygonIntersect=function(e,t,n,i,r){for(var o=0,a=r[r.length-1];o=0;i--){var r=t[i](e);if(r)return r}return function(t,i){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+i.wrappedComponentName+".")}}function z(e,t){return e===t}function G(e){var t=void 0===e?{}:e,n=t.connectHOC,i=void 0===n?I:n,r=t.mapStateToPropsFactories,o=void 0===r?E:r,a=t.mapDispatchToPropsFactories,s=void 0===a?N:a,u=t.mergePropsFactories,l=void 0===u?M:u,c=t.selectorFactory,p=void 0===c?F:c;return function(e,t,n,r){void 0===r&&(r={});var a=r,u=a.pure,c=void 0===u||u,m=a.areStatesEqual,f=void 0===m?z:m,g=a.areOwnPropsEqual,y=void 0===g?O:g,b=a.areStatePropsEqual,v=void 0===b?O:b,_=a.areMergedPropsEqual,S=void 0===_?O:_,x=Object(h.a)(a,V),C=q(e,o,"mapStateToProps"),w=q(t,s,"mapDispatchToProps"),k=q(n,l,"mergeProps");return i(p,Object(d.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:w,initMergeProps:k,pure:c,areStatesEqual:f,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:S},x))}}var H=G();function U(){return Object(i.useContext)(o)}function W(e){void 0===e&&(e=o);var t=e===o?U:function(){return Object(i.useContext)(e)};return function(){return t().store}}var K=W();function $(e){void 0===e&&(e=o);var t=e===o?K:W(e);return function(){return t().dispatch}}var Y=$(),Z=function(e,t){return e===t};function X(e){void 0===e&&(e=o);var t=e===o?U:function(){return Object(i.useContext)(e)};return function(e,n){void 0===n&&(n=Z);var r=t(),o=function(e,t,n,r){var o,a=Object(i.useReducer)((function(e){return e+1}),0)[1],s=Object(i.useMemo)((function(){return l(n,r)}),[n,r]),u=Object(i.useRef)(),p=Object(i.useRef)(),d=Object(i.useRef)(),h=Object(i.useRef)(),m=n.getState();try{if(e!==p.current||m!==d.current||u.current){var f=e(m);o=void 0!==h.current&&t(f,h.current)?h.current:f}else o=h.current}catch(g){throw u.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),g}return c((function(){p.current=e,d.current=m,h.current=o,u.current=void 0})),c((function(){function e(){try{var e=n.getState();if(e===d.current)return;var i=p.current(e);if(t(i,h.current))return;h.current=i,d.current=e}catch(g){u.current=g}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(e,n,r.store,r.subscription);return Object(i.useDebugValue)(o),o}}var Q,J=X(),ee=n(166);Q=ee.unstable_batchedUpdates,a=Q},function(e,t,n){"use strict";n.d(t,"o",(function(){return P})),n.d(t,"D",(function(){return N})),n.d(t,"p",(function(){return E})),n.d(t,"q",(function(){return M})),n.d(t,"g",(function(){return L})),n.d(t,"w",(function(){return B})),n.d(t,"k",(function(){return F})),n.d(t,"f",(function(){return V})),n.d(t,"l",(function(){return q})),n.d(t,"c",(function(){return z})),n.d(t,"B",(function(){return G})),n.d(t,"d",(function(){return H})),n.d(t,"a",(function(){return U})),n.d(t,"m",(function(){return W})),n.d(t,"z",(function(){return K})),n.d(t,"y",(function(){return $})),n.d(t,"b",(function(){return te})),n.d(t,"u",(function(){return ne})),n.d(t,"n",(function(){return re})),n.d(t,"v",(function(){return oe})),n.d(t,"i",(function(){return ae})),n.d(t,"j",(function(){return ce})),n.d(t,"r",(function(){return me})),n.d(t,"h",(function(){return ye})),n.d(t,"F",(function(){return be})),n.d(t,"x",(function(){return ve})),n.d(t,"t",(function(){return _e})),n.d(t,"A",(function(){return xe})),n.d(t,"E",(function(){return we})),n.d(t,"s",(function(){return ke})),n.d(t,"e",(function(){return Ie})),n.d(t,"C",(function(){return Te}));var i=n(1),r=n(12),o=n(83),a=n(0),s=n(41),u=n(50),l=n(227),c=n(107),p=n(3),d=n(75),h="dx-filterbuilder-range";function m(e,t){var n=Object(i.a)("
").addClass("dx-filterbuilder-range-start"),r=Object(i.a)("
").addClass("dx-filterbuilder-range-end"),o=e.value||[],a=function(e){return e&&e.length>0?e[0]:null},s=function(e){return e&&2===e.length?e[1]:null};t.append(n),t.append(Object(i.a)("").addClass("dx-filterbuilder-range-separator").text("\u2013")),t.append(r),t.addClass(h),this._editorFactory.createEditor.call(this,n,Object(p.a)({},e.field,e,{value:a(o),parentType:"filterBuilder",setValue:function(t){o=[t,s(o)],e.setValue(o)}})),this._editorFactory.createEditor.call(this,r,Object(p.a)({},e.field,e,{value:s(o),parentType:"filterBuilder",setValue:function(t){o=[a(o),t],e.setValue(o)}}))}function f(e,t){return{name:"between",caption:e,icon:"range",valueSeparator:"\u2013",dataTypes:["number","date","datetime"],editorTemplate:m.bind(t),notForLookup:!0}}var g=n(8),y=n(104),b={"=":"equal","<>":"notequal","<":"less","<=":"lessorequal",">":"greater",">=":"greaterorequal",notcontains:"doesnotcontain",contains:"contains",startswith:"startswith",endswith:"endswith",isblank:"isblank",isnotblank:"isnotblank"},v={"=":"equal","<>":"notEqual","<":"lessThan","<=":"lessThanOrEqual",">":"greaterThan",">=":"greaterThanOrEqual",startswith:"startsWith",contains:"contains",notcontains:"notContains",endswith:"endsWith",isblank:"isBlank",isnotblank:"isNotBlank",between:"between"},_=function(e){return b[e]},S=function(e){return v[e]},x="string",C="icon-none",w="and",k={number:["=","<>","<",">","<=",">=","isblank","isnotblank"],string:["contains","notcontains","startswith","endswith","=","<>","isblank","isnotblank"],date:["=","<>","<",">","<=",">=","isblank","isnotblank"],datetime:["=","<>","<",">","<=",">=","isblank","isnotblank"],boolean:["=","<>","isblank","isnotblank"],object:["isblank","isnotblank"]},I={date:"shortDate",datetime:"shortDateShortTime"},T=["=","<>","isblank","isnotblank"],O=["caption","customizeText","dataField","dataType","editorTemplate","falseText","editorOptions","filterOperations","format","lookup","trueText","calculateFilterExpression","name"],A="dx-filterbuilder-text-separator";function D(e){return e&&e.length>1&&"!"===e[0]&&!$(e)}function P(e){return D(e)?e[1]:e}function N(e,t){var n;return function(e,t){!function(e){return-1!==e.indexOf("!")}(t)?D(e)&&function(e){var t=P(e);e.length=0,[].push.apply(e,t)}(e):D(e)||function(e){var t=e.slice(0);e.length=0,e.push("!",t)}(e)}(e,t),function(e,t){for(n=0;n=0&&i.push(t.name)}})),i.map((function(e){var i=F(n,e);return i?{icon:i.icon||C,text:i.caption||Object(d.b)(i.name),value:i.name,isCustom:!0}:{icon:_(e)||C,text:L(e,t),value:e}}))}function q(e){return e.defaultFilterOperation||j(e)[0]}function z(e,t){var n=[e.dataField,"",""];return be(n,q(e),t),n}function G(e,t){var n=P(e),i=n.indexOf(t);return n.splice(i,1),1!==n.length&&n.splice(i,1),e}function H(e){var t=X(e),n=t?Q(e):e;return t?["!",[n]]:[n]}function U(e,t){var n=P(t),i=M(n);return 1===n.length?n.unshift(e):n.push(e,i),t}function W(e,t){for(var n=0;n0)return i[0];throw new u.a.Error("E1047",e)}function K(e){return!!Array.isArray(e)&&(e.length<2||Array.isArray(e[0])||Array.isArray(e[1]))}function $(e){return!!Array.isArray(e)&&(e.length>1&&!Array.isArray(e[0])&&!Array.isArray(e[1]))}function Y(e,t,n){n=n||w;for(var i=R(e).toLowerCase()||n,r=[],o=0;o-1&&(n[i]=t[i]);n.defaultCalculateFilterExpression=l.a.defaultCalculateFilterExpression,Object(a.d)(n.dataType)||(n.dataType=x),Object(a.d)(n.trueText)||(n.trueText=g.a.format("dxDataGrid-trueText")),Object(a.d)(n.falseText)||(n.falseText=g.a.format("dxDataGrid-falseText")),e.push(n)}return e}),[])}function ie(e,t,n,i){var r=W(e[0],t),o=Z(e,n),a=n.length&&F(n,o[1]);return a&&a.calculateFilterExpression?a.calculateFilterExpression.apply(a,[o[2],r,t]):r.createFilterExpression?r.createFilterExpression.apply(r,[o[2],o[1],i]):r.calculateFilterExpression?r.calculateFilterExpression.apply(r,[o[2],o[1],i]):r.defaultCalculateFilterExpression.apply(r,[o[2],o[1],i])}function re(e,t,n,i){if(!Object(a.d)(e))return null;if(D(e))return["!",re(e[1],t,n,i)];var r=P(e);if($(r))return ie(r,t,n,i)||null;for(var o,s=[],u=M(r),l=0;l3&&void 0!==arguments[3]?arguments[3]:"filterBuilder";if(le(t))return"";if(Array.isArray(t)){var o=new r.a;return r.c.apply(this,ue(e,t,n,i)).done((function(){for(var e=arguments.length,t=new Array(e),n=0;n",e[2]=null):(((i=F(n,e[1]))||2===e.length||null===e[2])&&(e[2]=""),e[1]=t),e)}function ve(e){return null===e[2]?"="===e[1]?"isblank":"isnotblank":e[1]}function _e(e,t,n){var i=Object(p.a)(!0,[],e),r=-1;return i.some((function(e,t){if("between"===e.name)return r=t,!0})),-1!==r?i[r]=Object(p.a)(f(t,n),i[r]):i.unshift(f(t,n)),i}function Se(e,t){return e[0]===t}function xe(e,t){return e&&0!==e.length?$(e)?Se(e,t)?null:e:Ce(e,[t],!1):null}function Ce(e,t,n){var i=[];return e.forEach((function(e){$(e)?Se(e,t[0])?n?(i.push(t),n=!1):i.splice(i.length-1,1):i.push(e):(i.length||K(e))&&i.push(e)})),0===i.length?null:(n&&(i.push(w),i.push(t)),1===i.length?i[0]:i)}function we(e,t){return null===e||0===e.length?t:$(e)?Se(e,t[0])?t:[e,w,t]:M(e)!==w?[t,"and",e]:Ce(e,t,!0)}function ke(e,t){return null===e||0===e.length?[]:$(e)?Se(e,t)?[e]:[]:M(e)!==w?[]:e.filter((function(e){return $(e)&&Se(e,t)}))}function Ie(e,t){return null!==e&&0!==e.length&&($(e)?e[0]===t:e.some((function(e){return($(e)||K(e))&&Ie(e,t)})))}var Te=function(e,t,n){if(Array.isArray(t)){var r=t.length-1;e.empty(),t.forEach((function(t,o){Object(i.a)("").addClass("dx-filterbuilder-text-part").text(t).appendTo(e),o!==r&&Object(i.a)("").addClass(A).text(n&&n.valueSeparator?n.valueSeparator:"|").addClass("dx-filterbuilder-text-separator-empty").appendTo(e)}))}else t?e.text(t):e.text(g.a.format("dxFilterBuilder-enterValueText"))}},function(e,t,n){"use strict";var i=n(55).a.inherit({ctor:function(e){e&&(e=String(e)),this._value=this._normalize(e||this._generate())},_normalize:function(e){for(e=e.replace(/[^a-f0-9]/gi,"").toLowerCase();e.length<32;)e+="0";return[e.substr(0,8),e.substr(8,4),e.substr(12,4),e.substr(16,4),e.substr(20,12)].join("-")},_generate:function(){for(var e="",t=0;t<32;t++)e+=Math.round(15*Math.random()).toString(16);return e},toString:function(){return this._value},valueOf:function(){return this._value},toJSON:function(){return this._value}});t.a=i},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(665),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props.children,t=r.Children.map(e,(function(e){return o.getElementInfo(e).type===o.ElementType.Option?e:null}));return r.createElement(r.Fragment,{},t)},t}(r.PureComponent);t.default=a},function(e,t,n){"use strict";var i=n(30),r=n(127),o=n(5),a=n(4),s=n(0),u=n(483),l=n(74),c=n(67),p=n(484),d=n(344),h=n(145),m={af:"\xa4#,##0.00;(\xa4#,##0.00)","af-NA":"\xa4#,##0.00;(\xa4#,##0.00)",agq:"#,##0.00\xa4",ak:"\xa4#,##0.00",am:"\xa4#,##0.00;(\xa4#,##0.00)",ar:"\xa4#,##0.00;(\xa4#,##0.00)","ar-AE":"\xa4#,##0.00;(\xa4#,##0.00)","ar-BH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DZ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EG":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-ER":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IL":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IQ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-JO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KW":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LB":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MR":"\xa4#,##0.00;(\xa4#,##0.00)","ar-OM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-PS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-QA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TN":"\xa4#,##0.00;(\xa4#,##0.00)","ar-YE":"\xa4#,##0.00;(\xa4#,##0.00)",as:"\xa4\xa0#,##,##0.00",asa:"#,##0.00\xa0\xa4",ast:"#,##0.00\xa0\xa4",az:"#,##0.00\xa0\xa4","az-Cyrl":"#,##0.00\xa0\xa4","az-Latn":"#,##0.00\xa0\xa4",bas:"#,##0.00\xa0\xa4",be:"#,##0.00\xa0\xa4","be-tarask":"#,##0.00\xa0\xa4",bem:"\xa4#,##0.00;(\xa4#,##0.00)",bez:"#,##0.00\xa4",bg:"0.00\xa0\xa4;(0.00\xa0\xa4)",bm:"\xa4#,##0.00;(\xa4#,##0.00)",bn:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","bn-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",bo:"\xa4\xa0#,##0.00","bo-IN":"\xa4\xa0#,##0.00",br:"#,##0.00\xa0\xa4",brx:"\xa4\xa0#,##,##0.00",bs:"#,##0.00\xa0\xa4","bs-Cyrl":"#,##0.00\xa0\xa4","bs-Latn":"#,##0.00\xa0\xa4",ca:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-AD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-ES-valencia":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-FR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-IT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ccp:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","ccp-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",ce:"#,##0.00\xa0\xa4",ceb:"\xa4#,##0.00;(\xa4#,##0.00)",cgg:"\xa4#,##0.00",chr:"\xa4#,##0.00;(\xa4#,##0.00)",ckb:"\xa4\xa0#,##0.00","ckb-IR":"\xa4\xa0#,##0.00",cs:"#,##0.00\xa0\xa4",cy:"\xa4#,##0.00;(\xa4#,##0.00)",da:"#,##0.00\xa0\xa4","da-GL":"#,##0.00\xa0\xa4",dav:"\xa4#,##0.00;(\xa4#,##0.00)",de:"#,##0.00\xa0\xa4","de-AT":"#,##0.00\xa0\xa4","de-BE":"#,##0.00\xa0\xa4","de-CH":"#,##0.00\xa0\xa4","de-IT":"#,##0.00\xa0\xa4","de-LI":"#,##0.00\xa0\xa4","de-LU":"#,##0.00\xa0\xa4",dje:"#,##0.00\xa4",doi:"\xa4#,##0.00",dsb:"#,##0.00\xa0\xa4",dua:"#,##0.00\xa0\xa4",dyo:"#,##0.00\xa0\xa4",dz:"\xa4#,##,##0.00",ebu:"\xa4#,##0.00;(\xa4#,##0.00)",ee:"\xa4#,##0.00;(\xa4#,##0.00)","ee-TG":"\xa4#,##0.00;(\xa4#,##0.00)",el:"#,##0.00\xa0\xa4","el-CY":"#,##0.00\xa0\xa4",en:"\xa4#,##0.00;(\xa4#,##0.00)","en-001":"\xa4#,##0.00;(\xa4#,##0.00)","en-150":"#,##0.00\xa0\xa4","en-AE":"\xa4#,##0.00;(\xa4#,##0.00)","en-AG":"\xa4#,##0.00;(\xa4#,##0.00)","en-AI":"\xa4#,##0.00;(\xa4#,##0.00)","en-AS":"\xa4#,##0.00;(\xa4#,##0.00)","en-AT":"\xa4\xa0#,##0.00","en-AU":"\xa4#,##0.00;(\xa4#,##0.00)","en-BB":"\xa4#,##0.00;(\xa4#,##0.00)","en-BE":"#,##0.00\xa0\xa4","en-BI":"\xa4#,##0.00;(\xa4#,##0.00)","en-BM":"\xa4#,##0.00;(\xa4#,##0.00)","en-BS":"\xa4#,##0.00;(\xa4#,##0.00)","en-BW":"\xa4#,##0.00;(\xa4#,##0.00)","en-BZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-CA":"\xa4#,##0.00;(\xa4#,##0.00)","en-CC":"\xa4#,##0.00;(\xa4#,##0.00)","en-CH":"\xa4\xa0#,##0.00;\xa4-#,##0.00","en-CK":"\xa4#,##0.00;(\xa4#,##0.00)","en-CM":"\xa4#,##0.00;(\xa4#,##0.00)","en-CX":"\xa4#,##0.00;(\xa4#,##0.00)","en-CY":"\xa4#,##0.00;(\xa4#,##0.00)","en-DE":"#,##0.00\xa0\xa4","en-DG":"\xa4#,##0.00;(\xa4#,##0.00)","en-DK":"#,##0.00\xa0\xa4","en-DM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ER":"\xa4#,##0.00;(\xa4#,##0.00)","en-FI":"#,##0.00\xa0\xa4","en-FJ":"\xa4#,##0.00;(\xa4#,##0.00)","en-FK":"\xa4#,##0.00;(\xa4#,##0.00)","en-FM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GB":"\xa4#,##0.00;(\xa4#,##0.00)","en-GD":"\xa4#,##0.00;(\xa4#,##0.00)","en-GG":"\xa4#,##0.00;(\xa4#,##0.00)","en-GH":"\xa4#,##0.00;(\xa4#,##0.00)","en-GI":"\xa4#,##0.00;(\xa4#,##0.00)","en-GM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GU":"\xa4#,##0.00;(\xa4#,##0.00)","en-GY":"\xa4#,##0.00;(\xa4#,##0.00)","en-HK":"\xa4#,##0.00;(\xa4#,##0.00)","en-IE":"\xa4#,##0.00;(\xa4#,##0.00)","en-IL":"\xa4#,##0.00;(\xa4#,##0.00)","en-IM":"\xa4#,##0.00;(\xa4#,##0.00)","en-IN":"\xa4#,##0.00;(\xa4#,##0.00)","en-IO":"\xa4#,##0.00;(\xa4#,##0.00)","en-JE":"\xa4#,##0.00;(\xa4#,##0.00)","en-JM":"\xa4#,##0.00;(\xa4#,##0.00)","en-KE":"\xa4#,##0.00;(\xa4#,##0.00)","en-KI":"\xa4#,##0.00;(\xa4#,##0.00)","en-KN":"\xa4#,##0.00;(\xa4#,##0.00)","en-KY":"\xa4#,##0.00;(\xa4#,##0.00)","en-LC":"\xa4#,##0.00;(\xa4#,##0.00)","en-LR":"\xa4#,##0.00;(\xa4#,##0.00)","en-LS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MG":"\xa4#,##0.00;(\xa4#,##0.00)","en-MH":"\xa4#,##0.00;(\xa4#,##0.00)","en-MO":"\xa4#,##0.00;(\xa4#,##0.00)","en-MP":"\xa4#,##0.00;(\xa4#,##0.00)","en-MS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MT":"\xa4#,##0.00;(\xa4#,##0.00)","en-MU":"\xa4#,##0.00;(\xa4#,##0.00)","en-MW":"\xa4#,##0.00;(\xa4#,##0.00)","en-MY":"\xa4#,##0.00;(\xa4#,##0.00)","en-NA":"\xa4#,##0.00;(\xa4#,##0.00)","en-NF":"\xa4#,##0.00;(\xa4#,##0.00)","en-NG":"\xa4#,##0.00;(\xa4#,##0.00)","en-NL":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","en-NR":"\xa4#,##0.00;(\xa4#,##0.00)","en-NU":"\xa4#,##0.00;(\xa4#,##0.00)","en-NZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-PG":"\xa4#,##0.00;(\xa4#,##0.00)","en-PH":"\xa4#,##0.00;(\xa4#,##0.00)","en-PK":"\xa4#,##0.00;(\xa4#,##0.00)","en-PN":"\xa4#,##0.00;(\xa4#,##0.00)","en-PR":"\xa4#,##0.00;(\xa4#,##0.00)","en-PW":"\xa4#,##0.00;(\xa4#,##0.00)","en-RW":"\xa4#,##0.00;(\xa4#,##0.00)","en-SB":"\xa4#,##0.00;(\xa4#,##0.00)","en-SC":"\xa4#,##0.00;(\xa4#,##0.00)","en-SD":"\xa4#,##0.00;(\xa4#,##0.00)","en-SE":"#,##0.00\xa0\xa4","en-SG":"\xa4#,##0.00;(\xa4#,##0.00)","en-SH":"\xa4#,##0.00;(\xa4#,##0.00)","en-SI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","en-SL":"\xa4#,##0.00;(\xa4#,##0.00)","en-SS":"\xa4#,##0.00;(\xa4#,##0.00)","en-SX":"\xa4#,##0.00;(\xa4#,##0.00)","en-SZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-TC":"\xa4#,##0.00;(\xa4#,##0.00)","en-TK":"\xa4#,##0.00;(\xa4#,##0.00)","en-TO":"\xa4#,##0.00;(\xa4#,##0.00)","en-TT":"\xa4#,##0.00;(\xa4#,##0.00)","en-TV":"\xa4#,##0.00;(\xa4#,##0.00)","en-TZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-UG":"\xa4#,##0.00;(\xa4#,##0.00)","en-UM":"\xa4#,##0.00;(\xa4#,##0.00)","en-VC":"\xa4#,##0.00;(\xa4#,##0.00)","en-VG":"\xa4#,##0.00;(\xa4#,##0.00)","en-VI":"\xa4#,##0.00;(\xa4#,##0.00)","en-VU":"\xa4#,##0.00;(\xa4#,##0.00)","en-WS":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZA":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZW":"\xa4#,##0.00;(\xa4#,##0.00)",eo:"\xa4\xa0#,##0.00",es:"#,##0.00\xa0\xa4","es-419":"\xa4#,##0.00","es-AR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-BO":"\xa4#,##0.00","es-BR":"\xa4#,##0.00","es-BZ":"\xa4#,##0.00","es-CL":"\xa4#,##0.00","es-CO":"\xa4#,##0.00","es-CR":"\xa4#,##0.00","es-CU":"\xa4#,##0.00","es-DO":"\xa4#,##0.00;(\xa4#,##0.00)","es-EA":"#,##0.00\xa0\xa4","es-EC":"\xa4#,##0.00","es-GQ":"#,##0.00\xa0\xa4","es-GT":"\xa4#,##0.00","es-HN":"\xa4#,##0.00","es-IC":"#,##0.00\xa0\xa4","es-MX":"\xa4#,##0.00","es-NI":"\xa4#,##0.00","es-PA":"\xa4#,##0.00","es-PE":"\xa4#,##0.00","es-PH":"#,##0.00\xa0\xa4","es-PR":"\xa4#,##0.00","es-PY":"\xa4#,##0.00","es-SV":"\xa4#,##0.00","es-US":"\xa4#,##0.00","es-UY":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-VE":"\xa4#,##0.00",et:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",eu:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ewo:"#,##0.00\xa0\xa4",fa:"\u200e\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)","fa-AF":"\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)",ff:"#,##0.00\xa0\xa4","ff-Adlm":"\xa4\xa0#,##0.00","ff-Adlm-BF":"\xa4\xa0#,##0.00","ff-Adlm-CM":"\xa4\xa0#,##0.00","ff-Adlm-GH":"\xa4\xa0#,##0.00","ff-Adlm-GM":"\xa4\xa0#,##0.00","ff-Adlm-GW":"\xa4\xa0#,##0.00","ff-Adlm-LR":"\xa4\xa0#,##0.00","ff-Adlm-MR":"\xa4\xa0#,##0.00","ff-Adlm-NE":"\xa4\xa0#,##0.00","ff-Adlm-NG":"\xa4\xa0#,##0.00","ff-Adlm-SL":"\xa4\xa0#,##0.00","ff-Adlm-SN":"\xa4\xa0#,##0.00","ff-Latn":"#,##0.00\xa0\xa4","ff-Latn-BF":"#,##0.00\xa0\xa4","ff-Latn-CM":"#,##0.00\xa0\xa4","ff-Latn-GH":"#,##0.00\xa0\xa4","ff-Latn-GM":"#,##0.00\xa0\xa4","ff-Latn-GN":"#,##0.00\xa0\xa4","ff-Latn-GW":"#,##0.00\xa0\xa4","ff-Latn-LR":"#,##0.00\xa0\xa4","ff-Latn-MR":"#,##0.00\xa0\xa4","ff-Latn-NE":"#,##0.00\xa0\xa4","ff-Latn-NG":"#,##0.00\xa0\xa4","ff-Latn-SL":"#,##0.00\xa0\xa4",fi:"#,##0.00\xa0\xa4",fil:"\xa4#,##0.00;(\xa4#,##0.00)",fo:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fo-DK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GP":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-HT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-KM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-ML":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SY":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-VU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-WF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-YT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fur:"\xa4\xa0#,##0.00",fy:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",ga:"\xa4#,##0.00;(\xa4#,##0.00)","ga-GB":"\xa4#,##0.00;(\xa4#,##0.00)",gd:"\xa4#,##0.00;(\xa4#,##0.00)",gl:"#,##0.00\xa0\xa4",gsw:"#,##0.00\xa0\xa4","gsw-FR":"#,##0.00\xa0\xa4","gsw-LI":"#,##0.00\xa0\xa4",gu:"\xa4#,##,##0.00;(\xa4#,##,##0.00)",guz:"\xa4#,##0.00;(\xa4#,##0.00)",gv:"\xa4#,##0.00",ha:"\xa4\xa0#,##0.00","ha-GH":"\xa4\xa0#,##0.00","ha-NE":"\xa4\xa0#,##0.00",haw:"\xa4#,##0.00;(\xa4#,##0.00)",he:"#,##0.00\xa0\xa4",hi:"\xa4#,##,##0.00",hr:"#,##0.00\xa0\xa4","hr-BA":"#,##0.00\xa0\xa4",hsb:"#,##0.00\xa0\xa4",hu:"#,##0.00\xa0\xa4",hy:"#,##0.00\xa0\xa4",ia:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",id:"\xa4#,##0.00",ig:"\xa4#,##0.00;(\xa4#,##0.00)",ii:"\xa4\xa0#,##0.00",is:"#,##0.00\xa0\xa4",it:"#,##0.00\xa0\xa4","it-CH":"#,##0.00\xa0\xa4","it-SM":"#,##0.00\xa0\xa4","it-VA":"#,##0.00\xa0\xa4",ja:"\xa4#,##0.00;(\xa4#,##0.00)",jgo:"\xa4\xa0#,##0.00",jmc:"\xa4#,##0.00",jv:"\xa4\xa0#,##0.00",ka:"#,##0.00\xa0\xa4",kab:"#,##0.00\xa4",kam:"\xa4#,##0.00;(\xa4#,##0.00)",kde:"\xa4#,##0.00;(\xa4#,##0.00)",kea:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kgp:"\xa4\xa0#,##0.00",khq:"#,##0.00\xa4",ki:"\xa4#,##0.00;(\xa4#,##0.00)",kk:"#,##0.00\xa0\xa4",kkj:"\xa4\xa0#,##0.00",kl:"\xa4#,##0.00;\xa4-#,##0.00",kln:"\xa4#,##0.00;(\xa4#,##0.00)",km:"#,##0.00\xa4;(#,##0.00\xa4)",kn:"\xa4#,##0.00;(\xa4#,##0.00)",ko:"\xa4#,##0.00;(\xa4#,##0.00)","ko-KP":"\xa4#,##0.00;(\xa4#,##0.00)",kok:"\xa4#,##0.00;(\xa4#,##0.00)",ks:"\xa4\xa0#,##,##0.00","ks-Arab":"\xa4\xa0#,##,##0.00",ksb:"#,##0.00\xa4",ksf:"#,##0.00\xa0\xa4",ksh:"#,##0.00\xa0\xa4",ku:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kw:"\xa4#,##0.00",ky:"#,##0.00\xa0\xa4",lag:"\xa4\xa0#,##0.00",lb:"#,##0.00\xa0\xa4",lg:"#,##0.00\xa4",lkt:"\xa4\xa0#,##0.00",ln:"#,##0.00\xa0\xa4","ln-AO":"#,##0.00\xa0\xa4","ln-CF":"#,##0.00\xa0\xa4","ln-CG":"#,##0.00\xa0\xa4",lo:"\xa4#,##0.00;\xa4-#,##0.00",lrc:"\xa4\xa0#,##0.00","lrc-IQ":"\xa4\xa0#,##0.00",lt:"#,##0.00\xa0\xa4",lu:"#,##0.00\xa4",luo:"#,##0.00\xa4",luy:"\xa4#,##0.00;\xa4-\xa0#,##0.00",lv:"#,##0.00\xa0\xa4",mai:"\xa4\xa0#,##0.00",mas:"\xa4#,##0.00;(\xa4#,##0.00)","mas-TZ":"\xa4#,##0.00;(\xa4#,##0.00)",mer:"\xa4#,##0.00;(\xa4#,##0.00)",mfe:"\xa4\xa0#,##0.00",mg:"\xa4#,##0.00",mgh:"\xa4\xa0#,##0.00",mgo:"\xa4\xa0#,##0.00",mi:"\xa4\xa0#,##0.00",mk:"#,##0.00\xa0\xa4",ml:"\xa4#,##0.00;(\xa4#,##0.00)",mn:"\xa4\xa0#,##0.00",mni:"\xa4\xa0#,##0.00","mni-Beng":"\xa4\xa0#,##0.00",mr:"\xa4#,##0.00;(\xa4#,##0.00)",ms:"\xa4#,##0.00;(\xa4#,##0.00)","ms-BN":"\xa4#,##0.00;(\xa4#,##0.00)","ms-ID":"\xa4#,##0.00","ms-SG":"\xa4#,##0.00;(\xa4#,##0.00)",mt:"\xa4#,##0.00",mua:"\xa4#,##0.00;(\xa4#,##0.00)",my:"\xa4\xa0#,##0.00",mzn:"\xa4\xa0#,##0.00",naq:"\xa4#,##0.00",nb:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nb-SJ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nd:"\xa4#,##0.00;(\xa4#,##0.00)",nds:"\xa4\xa0#,##0.00","nds-NL":"\xa4\xa0#,##0.00",ne:"\xa4\xa0#,##,##0.00","ne-IN":"\xa4\xa0#,##,##0.00",nl:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-AW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BE":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BQ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-CW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SX":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nmg:"#,##0.00\xa0\xa4",nn:"#,##0.00\xa0\xa4",nnh:"\xa4\xa0#,##0.00",no:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nus:"\xa4#,##0.00;(\xa4#,##0.00)",nyn:"\xa4#,##0.00",om:"\xa4#,##0.00","om-KE":"\xa4#,##0.00",or:"\xa4#,##0.00;(\xa4#,##0.00)",os:"\xa4\xa0#,##0.00","os-RU":"\xa4\xa0#,##0.00",pa:"\xa4\xa0#,##0.00","pa-Arab":"\xa4\xa0#,##0.00","pa-Guru":"\xa4\xa0#,##0.00",pcm:"\xa4#,##0.00",pl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ps:"\xa4#,##0.00;(\xa4#,##0.00)","ps-PK":"\xa4#,##0.00;(\xa4#,##0.00)",pt:"\xa4\xa0#,##0.00","pt-AO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CV":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-PT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-ST":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-TL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",qu:"\xa4\xa0#,##0.00","qu-BO":"\xa4\xa0#,##0.00","qu-EC":"\xa4\xa0#,##0.00",rm:"#,##0.00\xa0\xa4",rn:"#,##0.00\xa4",ro:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ro-MD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",rof:"\xa4#,##0.00",ru:"#,##0.00\xa0\xa4","ru-BY":"#,##0.00\xa0\xa4","ru-KG":"#,##0.00\xa0\xa4","ru-KZ":"#,##0.00\xa0\xa4","ru-MD":"#,##0.00\xa0\xa4","ru-UA":"#,##0.00\xa0\xa4",rw:"\xa4\xa0#,##0.00",rwk:"#,##0.00\xa4",sa:"\xa4\xa0#,##0.00",sah:"#,##0.00\xa0\xa4",saq:"\xa4#,##0.00;(\xa4#,##0.00)",sat:"\xa4\xa0#,##0.00","sat-Olck":"\xa4\xa0#,##0.00",sbp:"#,##0.00\xa4",sc:"#,##0.00\xa0\xa4",sd:"\xa4\xa0#,##0.00","sd-Arab":"\xa4\xa0#,##0.00","sd-Deva":"\xa4\xa0#,##0.00",se:"#,##0.00\xa0\xa4","se-FI":"#,##0.00\xa0\xa4","se-SE":"#,##0.00\xa0\xa4",seh:"#,##0.00\xa4",ses:"#,##0.00\xa4",sg:"\xa4#,##0.00;\xa4-#,##0.00",shi:"#,##0.00\xa4","shi-Latn":"#,##0.00\xa4","shi-Tfng":"#,##0.00\xa4",si:"\xa4#,##0.00;(\xa4#,##0.00)",sk:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",smn:"#,##0.00\xa0\xa4",sn:"\xa4#,##0.00;(\xa4#,##0.00)",so:"\xa4#,##0.00;(\xa4#,##0.00)","so-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","so-ET":"\xa4#,##0.00;(\xa4#,##0.00)","so-KE":"\xa4#,##0.00;(\xa4#,##0.00)",sq:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-MK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",su:"\xa4#,##0.00","su-Latn":"\xa4#,##0.00",sv:"#,##0.00\xa0\xa4","sv-AX":"#,##0.00\xa0\xa4","sv-FI":"#,##0.00\xa0\xa4",sw:"\xa4\xa0#,##0.00","sw-CD":"\xa4\xa0#,##0.00","sw-KE":"\xa4\xa0#,##0.00","sw-UG":"\xa4\xa0#,##0.00",ta:"\xa4#,##0.00;(\xa4#,##0.00)","ta-LK":"\xa4#,##0.00;(\xa4#,##0.00)","ta-MY":"\xa4#,##0.00;(\xa4#,##0.00)","ta-SG":"\xa4#,##0.00;(\xa4#,##0.00)",te:"\xa4#,##0.00;(\xa4#,##0.00)",teo:"\xa4#,##0.00;(\xa4#,##0.00)","teo-KE":"\xa4#,##0.00;(\xa4#,##0.00)",tg:"#,##0.00\xa0\xa4",th:"\xa4#,##0.00;(\xa4#,##0.00)",ti:"\xa4#,##0.00","ti-ER":"\xa4#,##0.00",tk:"#,##0.00\xa0\xa4",to:"\xa4\xa0#,##0.00",tr:"\xa4#,##0.00;(\xa4#,##0.00)","tr-CY":"\xa4#,##0.00;(\xa4#,##0.00)",tt:"#,##0.00\xa0\xa4",twq:"#,##0.00\xa4",tzm:"#,##0.00\xa0\xa4",ug:"\xa4#,##0.00;(\xa4#,##0.00)",uk:"#,##0.00\xa0\xa4",und:"\xa4\xa0#,##0.00",ur:"\xa4#,##0.00;(\xa4#,##0.00)","ur-IN":"\xa4#,##0.00;(\xa4#,##0.00)",uz:"#,##0.00\xa0\xa4","uz-Arab":"\xa4\xa0#,##0.00","uz-Cyrl":"#,##0.00\xa0\xa4","uz-Latn":"#,##0.00\xa0\xa4",vai:"\xa4#,##0.00;(\xa4#,##0.00)","vai-Latn":"\xa4#,##0.00;(\xa4#,##0.00)","vai-Vaii":"\xa4#,##0.00;(\xa4#,##0.00)",vi:"#,##0.00\xa0\xa4",vun:"\xa4#,##0.00",wae:"\xa4\xa0#,##0.00",wo:"\xa4\xa0#,##0.00",xh:"\xa4#,##0.00",xog:"#,##0.00\xa0\xa4",yav:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",yi:"\xa4\xa0#,##0.00",yo:"\xa4#,##0.00;(\xa4#,##0.00)","yo-BJ":"\xa4#,##0.00;(\xa4#,##0.00)",yrl:"\xa4\xa0#,##0.00","yrl-CO":"\xa4\xa0#,##0.00","yrl-VE":"\xa4\xa0#,##0.00",yue:"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hant":"\xa4#,##0.00;(\xa4#,##0.00)",zgh:"#,##0.00\xa4",zh:"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-MO":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-SG":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-MO":"\xa4#,##0.00;(\xa4#,##0.00)",zu:"\xa4#,##0.00;(\xa4#,##0.00)"},f=["standard","accounting"],g=/([^\s0]+)?(\s*)0*[.,]*0*(\s*)([^\s0]+)?/,y={},b=function(e){var t=h.a.locale()+"/"+JSON.stringify(e);return y[t]||(y[t]=new Intl.NumberFormat(h.a.locale(),e).format),y[t]},v={engine:function(){return"intl"},_formatNumberCore:function(e,t,n){return"exponential"===t?this.callBase.apply(this,arguments):b(this._normalizeFormatConfig(t,n,e))(e)},_normalizeFormatConfig:function(e,t,n){var i;if(i="decimal"===e?{minimumIntegerDigits:t.precision||void 0,useGrouping:!1,maximumFractionDigits:String(n).length,round:n<0?"ceil":"floor"}:this._getPrecisionConfig(t.precision),"percent"===e)i.style="percent";else if("currency"===e){var r,o=null!==(r=t.useCurrencyAccountingStyle)&&void 0!==r?r:Object(l.a)().defaultUseCurrencyAccountingStyle;i.style="currency",i.currency=t.currency||Object(l.a)().defaultCurrency,i.currencySign=f[+o]}return i},_getPrecisionConfig:function(e){return null===e?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:e||0,maximumFractionDigits:e||0}},format:function(e,t){return"number"!==typeof e?e:("default"===(t=this._normalizeFormat(t)).currency&&(t.currency=Object(l.a)().defaultCurrency),t&&("function"===typeof t||t.type||t.formatter)?this.callBase.apply(this,arguments):b(t)(e))},_getCurrencySymbolInfo:function(e){var t=function(e){return new Intl.NumberFormat(h.a.locale(),{style:"currency",currency:e})}(e);return this._extractCurrencySymbolInfo(t.format(0))},_extractCurrencySymbolInfo:function(e){var t=g.exec(e)||[];return{position:t[1]?"before":"after",symbol:t[1]||t[4]||"",delimiter:t[2]||t[3]||""}},getCurrencySymbol:function(e){return e||(e=Object(l.a)().defaultCurrency),{symbol:this._getCurrencySymbolInfo(e).symbol}},getOpenXmlCurrencyFormat:function(e){var t=e||Object(l.a)().defaultCurrency;return function(e,t){if(t){var n=e;if("string"===typeof e){n="";for(var i=0;i1)for(;r&&r>=t&&(void 0===i||o0&&r<1)for(;r<1&&(void 0===n||o>n);)o--,r*=t;return o},_getNumberByPower:function(e,t,n){for(var i=e;t>0;)i/=n,t--;for(;t<0;)i*=n,t++;return i},_formatNumber:function(e,t,n){"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,4)),t.power&&(e=this._getNumberByPower(e,t.power,1e3));var i=this.defaultLargeNumberFormatPostfixes[t.power]||"",r=this._formatNumberCore(e,t.formatType,n);return r=r.replace(/(\d|.$)(\D*)$/,"$1"+i+"$2")},_formatNumberExponential:function(e,t){var n=this._calculateNumberPower(e,10),i=this._getNumberByPower(e,n,10);void 0===t.precision&&(t.precision=1),i.toFixed(t.precision||0)>=10&&(n++,i/=10);var r=(n>=0?"+":"")+n.toString();return this._formatNumberCore(i,"fixedpoint",t)+"E"+r},_addZeroes:function(e,t){for(var n=Math.pow(10,t),i=e<0?"-":"",r=(e=(Math.abs(e)*n>>>0)/n).toString();r.length15)return NaN;var a=+r*this.getSign(e,t);t=this._normalizeFormat(t);var s=this._parseNumberFormatString(t.type),u=null===s||void 0===s?void 0:s.power;if(u){if("auto"===u){var l=e.match(/\d(K|M|B|T)/);l&&(u=Object.keys(x).find((function(e){return x[e]===l[1]})))}a*=Math.pow(10,3*u)}return"percent"===(null===s||void 0===s?void 0:s.formatType)&&(a/=100),a}},_calcSignificantDigits:function(e){var t=e.split("."),n=Object(i.a)(t,2),r=n[0],o=n[1],a=function(e){for(var t=-1,n=0;n-1?e.length-t:0},s=0;return r&&(s+=a(r.split(""))),o&&(s+=a(o.split("").reverse())),s}});w.inject(d.a),_&&w.inject(v);t.a=w},function(e,t,n){"use strict";var i=n(3),r=n(67),o={rtlEnabled:!1,defaultCurrency:"USD",defaultUseCurrencyAccountingStyle:!0,oDataFilterToLower:!0,serverDecimalSeparator:".",decimalSeparator:".",thousandsSeparator:",",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!0,useLegacyStoreResult:!1,useJQuery:void 0,editorStylingMode:void 0,useLegacyVisibleIndex:!1,floatingActionButtonConfig:{icon:"add",closeIcon:"close",label:"",position:{at:"right bottom",my:"right bottom",offset:{x:-16,y:-16}},maxSpeedDialActionCount:5,shading:!1,direction:"auto"},optionsParser:function(e){"{"!==e.trim().charAt(0)&&(e="{"+e+"}");try{return new Function("return "+e)()}catch(t){throw r.a.Error("E3018",t,e)}}},a=["decimalSeparator","thousandsSeparator"],s=function(){if(!arguments.length)return o;var e=arguments.length<=0?void 0:arguments[0];a.forEach((function(t){if(e[t]){var n="Now, the ".concat(t," is selected based on the specified locale.");r.a.log("W0003","config",t,"19.2",n)}})),Object(i.a)(o,e)};"undefined"!==typeof DevExpress&&DevExpress.config&&s(DevExpress.config),t.a=s},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(4),r=function(e){return void 0===e||null===e?"":String(e)},o=function(e){return r(e).charAt(0).toUpperCase()+e.substr(1)},a=function(e){return r(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},s=function(e){return Object(i.b)(a(e),(function(e){return e.toLowerCase()})).join("-")},u=function(e,t){return Object(i.b)(a(e),(function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=o(e)),e})).join("")},l=function(e){return o(s(e).replace(/-/g," "))},c=function(e){return Object(i.b)(a(e),(function(e){return o(e.toLowerCase())})).join(" ")},p=["0","1","2","3","4","5","6","7","8","9"],d=function(e){var t,n,i=[],r=!1,o=!1;for(t=0;t0&&i.push(" "),i.push(n),r=o;return i.join("")}},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"b",(function(){return m}));var i,r=n(25),o=n(9),a=n(347),s=new WeakMap,u=new a.a,l=function(){},c=function(){};function p(){return i.data.apply(this,arguments)}function d(e){l=e}function h(e,t){return i.removeData.call(this,e,t)}function m(e,t){if(r.a.isElementNode(e)){var n=e.getElementsByTagName("*");i.cleanData(n),t&&i.cleanData([e])}}!function(e){u.fire(e);var t=(i=e).cleanData;i.cleanData=function(e){l(e);var n=t.call(this,e);return c(e),n}}({data:function(){var e=arguments[0],t=arguments[1],n=arguments[2];if(e){var i=s.get(e);return i||(i={},s.set(e,i)),void 0===t?i:2===arguments.length?i[t]:(i[t]=n,n)}},removeData:function(e,t){if(e)if(void 0===t)s.delete(e);else{var n=s.get(e);n&&delete n[t]}},cleanData:function(e){for(var t=0;te?t:e}},avg:{seed:[0,0],step:function(e,t){return[e[0]+t,e[1]+1]},finalize:function(e){return e[1]?e[0]/e[1]:NaN}}},y=function(){var e,t=0;return{obtain:function(){0===t&&(e=new l.a),t++},release:function(){--t<1&&e.resolve()},promise:function(){return(0===t?(new l.a).resolve():e).promise()},reset:function(){t=0,e&&e.resolve()}}}();function b(e){return/^(and|&&|&)$/i.test(e)}var v=function(e,t,n){if(Array.isArray(e)){for(var i,r=Object(u.b)(t,(function(e,t){return t})),o=0;o=0?"yyyy/MM/dd HH:mm:ss":u)):e?null:void 0;var t};t.a={dateParser:h,deserializeDate:function(e){return"number"===typeof e?new Date(e):h(e,!Object(i.a)().forceIsoDateParsing)},serializeDate:function(e,t){return t?Object(a.b)(e)?t===s?e&&e.valueOf?e.valueOf():null:Object(r.a)(t,o.a)(e):null:e},getDateSerializationFormat:f}},function(e,t,n){"use strict";var i=n(1),r=n(9),o=n(55),a=n(63),s=n(5),u=n(0),l=n(4),c=n(50),p=n(8),d=n(21),h=o.a.inherit({_endUpdateCore:function(){},ctor:function(e){var t=this;t._updateLockCount=0,t.component=e,t._actions={},t._actionConfigs={},Object(l.a)(this.callbackNames()||[],(function(e,n){var i=t.callbackFlags(n)||{};i.unique=!0,i.syncStrategy=!0,t[this]=Object(a.a)(i)}))},init:function(){},callbackNames:function(){},callbackFlags:function(){},publicMethods:function(){},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){this._updateLockCount>0&&(this._updateLockCount--,this._updateLockCount||this._endUpdateCore())},option:function(e){var t=this.component,n=t._optionCache;return 1===arguments.length&&n?(e in n||(n[e]=t.option(e)),n[e]):t.option.apply(t,arguments)},_silentOption:function(e,t){var n=this.component,i=n._optionCache;return i&&(i[e]=t),n._setOptionWithoutOptionChange(e,t)},localize:function(e){var t=this.component._optionCache;return t?(e in t||(t[e]=p.a.format(e)),t[e]):p.a.format(e)},on:function(){return this.component.on.apply(this.component,arguments)},off:function(){return this.component.off.apply(this.component,arguments)},optionChanged:function(e){e.name in this._actions&&(this.createAction(e.name,this._actionConfigs[e.name]),e.handled=!0)},getAction:function(e){return this._actions[e]},setAria:function(e,t,n){var i=n.get(0),r="role"!==e&&"id"!==e?"aria-":"";i.setAttribute?i.setAttribute(r+e,t):n.attr(r+e,t)},_createComponent:function(){return this.component._createComponent.apply(this.component,arguments)},getController:function(e){return this.component._controllers[e]},createAction:function(e,t){if(Object(u.h)(e)){var n=this.component._createAction(e.bind(this),t);return function(e){n({event:e})}}this._actions[e]=this.component._createActionByOption(e,t),this._actionConfigs[e]=t},executeAction:function(e,t){var n=this._actions[e];return n&&n(t)},dispose:function(){var e=this;Object(l.a)(e.callbackNames()||[],(function(){e[this].empty()}))},addWidgetPrefix:function(e){return"dx-"+this.component.NAME.slice(2).toLowerCase()+(e?"-"+e:"")},getWidgetContainerClass:function(){var e="dxDataGrid"===this.component.NAME?null:"container";return this.addWidgetPrefix(e)},elementIsInsideGrid:function(e){return e.closest("."+this.getWidgetContainerClass()).parent().is(this.component.$element())}}),m=h,f=m.inherit({getView:function(e){return this.component._views[e]},getViews:function(){return this.component._views}}),g=h.inherit({_isReady:function(){return this.component.isReady()},_endUpdateCore:function(){this.callBase(),!this._isReady()&&this._requireReady&&(this._requireRender=!1,this.component._requireResize=!1),this._requireRender&&(this._requireRender=!1,this.render(this._$parent))},_invalidate:function(e,t){this._requireRender=!0,this.component._requireResize=Object(d.f)()&&(this.component._requireResize||e),this._requireReady=this._requireReady||t},_renderCore:function(){},_resizeCore:function(){},_parentElement:function(){return this._$parent},ctor:function(e){this.callBase(e),this.renderCompleted=Object(a.a)(),this.resizeCompleted=Object(a.a)()},element:function(){return this._$element},getElementHeight:function(){var e=this.element();if(!e)return 0;var t=parseFloat(e.css("marginTop"))||0,n=parseFloat(e.css("marginBottom"))||0;return e.get(0).offsetHeight+t+n},isVisible:function(){return!0},getTemplate:function(e){return this.component._getTemplate(e)},render:function(e,t){var n=this._$element,r=this.isVisible();(n||e)&&(this._requireReady=!1,n||(n=this._$element=Object(i.a)("
").appendTo(e),this._$parent=e),n.toggleClass("dx-hidden",!r),r&&(this.component._optionCache={},this._renderCore(t),this.component._optionCache=void 0,this.renderCompleted.fire(t)))},resize:function(){this.isResizing=!0,this._resizeCore(),this.resizeCompleted.fire(),this.isResizing=!1},focus:function(){r.a.trigger(this.element(),"focus")}}),y=1e6;t.a={modules:[],View:g,ViewController:f,Controller:m,registerModule:function(e,t){for(var n=this.modules,i=0;i=0||e.indexOf("crios")>=0?(i="chrome",r=(r=/(?:chrome|crios)\/(\d+\.\d+)/.exec(e))&&r[1]):e.indexOf("fxios")>=0?(i="mozilla",r=(r=/fxios\/(\d+\.\d+)/.exec(e))&&r[1]):e.indexOf("safari")>=0&&/version|phantomjs/.test(e)?(i="safari",r=(r=/(?:version|phantomjs)\/([0-9.]+)/.exec(e))&&r[1]):(i="unknown",r=(r=/applewebkit\/([0-9.]+)/.exec(e))&&r[1])),i&&(t[i]=!0,t.version=r),t};t.a=Object(i.a)({_fromUA:u},u(o.userAgent))},function(e,t,n){"use strict";n.d(t,"i",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return p})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return g})),n.d(t,"h",(function(){return y}));var i=n(25),r=n(1),o=n(4),a=n(0),s=n(21),u=Object(s.d)(),l=function(){var e,t=i.a.getActiveElement();t&&t!==i.a.getBody()&&(null===(e=t.blur)||void 0===e||e.call(t))},c=function(){var e=u.getSelection();if(e&&"Caret"!==e.type)if(e.empty)e.empty();else if(e.removeAllRanges)try{e.removeAllRanges()}catch(t){}},p=function(e,t){var n=Object(r.a)(e),i=Object(r.a)(t);if(n[0]===i[0])return n[0];for(var o=n.parents(),a=i.parents(),s=-Math.min(o.length,a.length);s<0;s++)if(o.get(s)===a.get(s))return o.get(s)},d=function(e){var t=(e=Object(r.a)(e)).length&&e.filter((function(){var e=Object(r.a)(this);return e.is("script[type]")&&e.attr("type").indexOf("script")<0}));return t.length?t.eq(0).html():(e=Object(r.a)("
").append(e)).html()},h=function e(t){var n=Object(a.d)(t)&&(t.nodeType||Object(a.n)(t))?Object(r.a)(t):Object(r.a)("
").html(t).contents();return 1===n.length&&(n.is("script")?n=e(n.html().trim()):n.is("table")&&(n=n.children("tbody").contents())),n},m=function(e,t){var n=e.originalEvent&&e.originalEvent.clipboardData||u.clipboardData;if(!t)return n&&n.getData("Text");n&&n.setData("Text",t)},f=function e(t,n){return!!n&&(i.a.isTextNode(n)&&(n=n.parentNode),i.a.isDocument(t)?t.documentElement.contains(n):Object(a.p)(t)?e(t.document,n):t.contains?t.contains(n):!!(n.compareDocumentPosition(t)&n.DOCUMENT_POSITION_CONTAINS))},g=function(e,t,n){var i=u.getComputedStyle(Object(r.a)(e).get(0)),o=n&&n.includePaddings;return Object(r.a)("
").text(t).css({fontStyle:i.fontStyle,fontVariant:i.fontVariant,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFamily:i.fontFamily,letterSpacing:i.letterSpacing,border:i.border,paddingTop:o?i.paddingTop:"",paddingRight:o?i.paddingRight:"",paddingBottom:o?i.paddingBottom:"",paddingLeft:o?i.paddingLeft:"",visibility:"hidden",whiteSpace:"pre",position:"absolute",float:"left"})},y=function(e,t){if(t&&t[0])return t.is(e)?e:(Object(o.a)(t,(function(t,n){!function(e,t){t&&i.a.insertElement(e.parentNode,t,e)}(e[0],n)})),e.remove(),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var i=n(278),r=n(67),o=Object(i.a)(r.a.ERROR_MESSAGES,{E4000:"[DevExpress.data]: {0}",E4001:"Unknown aggregating function is detected: '{0}'",E4002:"Unsupported OData protocol version is used",E4003:"Unknown filter operation is used: {0}",E4004:"The thenby() method is called before the sortby() method",E4005:"Store requires a key expression for this operation",E4006:"ArrayStore 'data' option must be an array",E4007:"Compound keys cannot be auto-generated",E4008:"Attempt to insert an item with a duplicated key",E4009:"Data item cannot be found",E4010:"CustomStore does not support creating queries",E4011:"Custom Store method is not implemented or is not a function: {0}",E4012:"Custom Store method returns an invalid value: {0}",E4013:"Local Store requires the 'name' configuration option is specified",E4014:"Unknown data type is specified for ODataStore: {0}",E4015:"Unknown entity name or alias is used: {0}",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",E4017:"Keys cannot be modified",E4018:"The server has returned a non-numeric value in a response to an item count request",E4019:"Mixing of group operators inside a single group of filter expression is not allowed",E4020:"Unknown store type is detected: {0}",E4021:"The server response does not provide the totalCount value",E4022:"The server response does not provide the groupCount value",E4023:"Could not parse the following XML: {0}",E4024:"String function {0} cannot be used with the data field {1} of type {2}.",W4000:"Data returned from the server has an incorrect structure",W4001:'The {0} field is listed in both "keyType" and "fieldTypes". The value of "fieldTypes" is used.',W4002:"Data loading has failed for some cells due to the following error: {0}"}),a=null,s=function(e){var t;null===(t=a)||void 0===t||t(e)}},function(e,t,n){"use strict";n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"a",(function(){return y}));var i=n(1),r=n(76),o=n(106),a=n(4),s=n(82),u=n(152),l=n(16),c=n(348),p=n(179),d="dxdragstart",h="dxdrag",m="dxdragend",f="dxdragenter",g="dxdragleave",y="dxdrop",b="dxDragEventsCount",v=[],_=[],S=[],x={setup:function(e,t){v.includes(e)||(v.push(e),_.push([]),S.push(t||{}))},add:function(e,t){var n=v.indexOf(e);this.updateEventsCounter(e,t.type,1);var i=t.selector;_[n].includes(i)||_[n].push(i)},updateEventsCounter:function(e,t,n){if([f,g,y].indexOf(t)>-1){var i=Object(r.c)(e,b)||0;Object(r.c)(e,b,Math.max(0,i+n))}},remove:function(e,t){this.updateEventsCounter(e,t.type,-1)},teardown:function(e){if(!Object(r.c)(e,b)){var t=v.indexOf(e);v.splice(t,1),_.splice(t,1),S.splice(t,1),Object(r.d)(e,b)}}};Object(u.a)(f,x),Object(u.a)(g,x),Object(u.a)(y,x);var C=c.a.inherit({ctor:function(e){this.callBase(e),this.direction="both"},_init:function(e){this._initEvent=e},_start:function(e){e=this._fireEvent(d,this._initEvent),this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset;var t=Object(o.e)(e.targetElements||(null===e.targetElements?[]:v));this._dropTargets=a.b(t,(function(e){return Object(i.a)(e).get(0)}))},_move:function(e){var t=Object(l.c)(e),n=this._calculateOffset(t);e=this._fireEvent(h,e,{offset:n}),this._processDropTargets(e),e._cancelPreventDefault||e.preventDefault()},_calculateOffset:function(e){return{x:this._calculateXOffset(e),y:this._calculateYOffset(e)}},_calculateXOffset:function(e){if("vertical"!==this.direction){var t=e.x-this._startEventData.x;return this._fitOffset(t,this._maxLeftOffset,this._maxRightOffset)}return 0},_calculateYOffset:function(e){if("horizontal"!==this.direction){var t=e.y-this._startEventData.y;return this._fitOffset(t,this._maxTopOffset,this._maxBottomOffset)}return 0},_fitOffset:function(e,t,n){return null!=t&&(e=Math.max(e,-t)),null!=n&&(e=Math.min(e,n)),e},_processDropTargets:function(e){var t=this._findDropTarget(e);t===this._currentDropTarget||(this._fireDropTargetEvent(e,g),this._currentDropTarget=t,this._fireDropTargetEvent(e,f))},_fireDropTargetEvent:function(e,t){if(this._currentDropTarget){var n={type:t,originalEvent:e,draggingElement:this._$element.get(0),target:this._currentDropTarget};Object(l.f)(n)}},_findDropTarget:function(e){var t,n=this;return a.a(v,(function(r,o){if(n._checkDropTargetActive(o)){var s=Object(i.a)(o);a.a(function(e){var t=v.indexOf(e.get(0)),n=_[t].filter((function(e){return e})),i=e.find(n.join(", "));return _[t].includes(void 0)&&(i=i.add(e)),i}(s),(function(r,o){var a=Object(i.a)(o);n._checkDropTarget(function(e){var t=v.indexOf(e.get(0));return S[t]}(s),a,Object(i.a)(t),e)&&(t=o)}))}})),t},_checkDropTargetActive:function(e){var t=!1;return a.a(this._dropTargets,(function(n,i){return!(t=t||i===e||Object(s.d)(i,e))})),t},_checkDropTarget:function(e,t,n,r){if(t.get(0)===Object(i.a)(r.target).get(0))return!1;var o,a,s=(a=t,(o=e).itemPositionFunc?o.itemPositionFunc(a):a.offset());if(r.pageXs.left+u.width)&&(!(r.pageY>s.top+u.height)&&((!n.length||!n.closest(t).length)&&(!(e.checkDropTarget&&!e.checkDropTarget(t,r))&&t)))},_end:function(e){var t=Object(l.c)(e);this._fireEvent(m,e,{offset:this._calculateOffset(t)}),this._fireDropTargetEvent(e,y),delete this._currentDropTarget}});Object(p.a)({emitter:C,events:[d,h,m]})},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return r}));var i=n(103),r=function(e){return null===e||void 0===e},o=function(e){return null!==e&&void 0!==e},a=function(e){return"function"===typeof e},s=function(e){return"string"===typeof e},u=Array.isArray,l=function(e){return e&&!u(e)&&"object"===typeof e},c=function(e){return e&&a(e.then)},p=function(e){return e&&a(e.next)&&a(e.throw)},d=function e(t){return t&&(s(t)||f(t)||a(t)||u(t)&&t.every(e))},h=function(e){return e&&a(e.take)&&a(e.close)},m=function(e){return a(e)&&e.hasOwnProperty("toString")},f=function(e){return Boolean(e)&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},g=function(e){return h(e)&&e[i.e]},y=function(e){return e&&e[i.c]}},function(e,t,n){var i=n(26),r=1e-4;var o=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}t.linearMap=function(e,t,n,i){var r=t[1]-t[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/r*o+n[0]},t.parsePercent=function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"===typeof e?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n},t.round=function(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e},t.asc=function(e){return e.sort((function(e,t){return e-t})),e},t.getPrecision=function(e){if(e=+e,isNaN(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n},t.getPrecisionSafe=function(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var i=+t.slice(n+1);return i<0?-i:0}var r=t.indexOf(".");return r<0?0:t.length-1-r},t.getPixelPrecision=function(e,t){var n=Math.log,i=Math.LN10,r=Math.floor(n(e[1]-e[0])/i),o=Math.round(n(Math.abs(t[1]-t[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20},t.getPercentWithPrecision=function(e,t,n){if(!e[t])return 0;var r=i.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===r)return 0;for(var o=Math.pow(10,n),a=i.map(e,(function(e){return(isNaN(e)?0:e)/r*o*100})),s=100*o,u=i.map(a,(function(e){return Math.floor(e)})),l=i.reduce(u,(function(e,t){return e+t}),0),c=i.map(a,(function(e,t){return e-u[t]}));lp&&(p=c[h],d=h);++u[d],c[d]=0,++l}return u[t]/o},t.MAX_SAFE_INTEGER=9007199254740991,t.remRadian=function(e){var t=2*Math.PI;return(e%t+t)%t},t.isRadianAroundZero=function(e){return e>-1e-4&&e=-20?+e.toFixed(n<0?-n:0):e},t.quantile=function(e,t){var n=(e.length-1)*t+1,i=Math.floor(n),r=+e[i-1],o=n-i;return o?r+o*(e[i]-r):r},t.reformIntervals=function(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,i=0;i=0}},function(e,t,n){var i;i=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=172)}([function(e,t,n){"use strict";n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return I})),n.d(t,"d",(function(){return O})),n.d(t,"a",(function(){return k}));var i=n(1),r=n.n(i),o=n(18),a=n.n(o),s=n(34),u=n.n(s),l=n(2),c=n(4),p=n(3),d=n(14),h=n(7),m=n(41),f=n(23),g=n(53);function y(e){return y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"===typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e,t)||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 _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};if(S(this,e),this.options=I(t,i),this.container=this.options.container,null==this.container)return C.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",m.a.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new p.a;var o=this.options.registry.query(l.ScrollBlot.blotName);this.scroll=new o(this.options.registry,this.root,{emitter:this.emitter,toggleBlankClass:this.toggleBlankClass.bind(this)}),this.editor=new c.a(this.scroll),this.selection=new h.b(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.init(),this.emitter.on(p.a.events.EDITOR_CHANGE,(function(e){e===p.a.events.TEXT_CHANGE&&n.toggleBlankClass()})),this.emitter.on(p.a.events.SCROLL_UPDATE,(function(e,t){var i=n.selection.lastRange,r=v(n.selection.getRange(),1)[0],o=i&&r?{oldRange:i,newRange:r}:void 0;T.call(n,(function(){return n.editor.update(null,t,o)}),e)})),this.setContents(this.getInitialContent(r)),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}var t,n,i;return t=e,n=[{key:"getInitialContent",value:function(e){return this.clipboard.convert({html:"".concat(e,"


"),text:"\n"})}},{key:"toggleBlankClass",value:function(){var e=this.selection.composing;this.root.classList.toggle("ql-blank",this.editor.isBlank(e))}},{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var i=this,r=v(O(e,t,n),4);return e=r[0],t=r[1],n=r[3],T.call(this,(function(){return i.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"editReadOnly",value:function(e){this.allowReadOnlyEdits=!0;var t=e();return this.allowReadOnlyEdits=!1,t}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.a.sources.API;return T.call(this,(function(){var i=n.getSelection(!0),o=new r.a;if(null==i)return o;if(n.scroll.query(e,l.Scope.BLOCK))o=n.editor.formatLine(i.index,i.length,b({},e,t));else{if(0===i.length)return n.selection.format(e,t),o;o=n.editor.formatText(i.index,i.length,b({},e,t))}return n.setSelection(i,p.a.sources.SILENT),o}),i)}},{key:"formatLine",value:function(e,t,n,i,r){var o,a=this,s=v(O(e,t,n,i,r),4);return e=s[0],t=s[1],o=s[2],r=s[3],T.call(this,(function(){return a.editor.formatLine(e,t,o)}),r,e,0)}},{key:"formatText",value:function(e,t,n,i,r){var o,a=this,s=v(O(e,t,n,i,r),4);return e=s[0],t=s[1],o=s[2],r=s[3],T.call(this,(function(){return a.editor.formatText(e,t,o)}),r,e,0)}},{key:"getBounds",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t="number"===typeof e?this.selection.getBounds(e,n):this.selection.getBounds(e.index,e.length);var i=this.container.getBoundingClientRect();return{bottom:t.bottom-i.top,height:t.height,left:t.left-i.left,right:t.right-i.left,top:t.top-i.top,width:t.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=O(e,t),i=v(n,2);return e=i[0],t=i[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getSemanticHTML",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=O(e,t),i=v(n,2);return e=i[0],t=i[1],this.editor.getHTML(e,t)}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=O(e,t),i=v(n,2);return e=i[0],t=i[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return T.call(this,(function(){return r.editor.insertEmbed(t,n,i)}),o,t)}},{key:"insertText",value:function(e,t,n,i,r){var o,a=this,s=v(O(e,0,n,i,r),4);return e=s[0],o=s[2],r=s[3],T.call(this,(function(){return a.editor.insertText(e,t,o)}),r,e,t.length)}},{key:"isEnabled",value:function(){return this.scroll.isEnabled()}},{key:"off",value:function(){var e;return(e=this.emitter).off.apply(e,arguments)}},{key:"on",value:function(){var e;return(e=this.emitter).on.apply(e,arguments)}},{key:"once",value:function(){var e;return(e=this.emitter).once.apply(e,arguments)}},{key:"removeFormat",value:function(e,t,n){var i=this,r=v(O(e,t,n),4);return e=r[0],t=r[1],n=r[3],T.call(this,(function(){return i.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.a.sources.API;return T.call(this,(function(){t=new r.a(t);var i=n.getLength(),o=n.editor.deleteText(0,i),a=n.editor.applyDelta(t),s=n.editor.deleteText(n.getLength()-1,1);return n.emitter.emit(e.events.CONTENT_SETTED),o.compose(a).compose(s)}),i)}},{key:"setSelection",value:function(t,n,i){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var r=v(O(t,n,i),4);t=r[0],n=r[1],i=r[3],this.selection.setRange(new h.a(Math.max(0,t),n),i),i!==p.a.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.a.sources.API,n=(new r.a).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.a.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.a.sources.API;return T.call(this,(function(){return e=new r.a(e),t.editor.applyDelta(e,n)}),n,!0)}}],i=[{key:"debug",value:function(e){!0===e&&(e="log"),f.a.level(e)}},{key:"find",value:function(e){return m.a.get(e)||w.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&C.error("Cannot import ".concat(e,". Are you sure it was registered?")),this.imports[e]}},{key:"register",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var r=e.attrName||e.blotName;"string"===typeof r?this.register("formats/".concat(r),e,t):Object.keys(e).forEach((function(i){n.register(i,e[i],t)}))}else null==this.imports[e]||i||C.warn("Overwriting ".concat(e," with"),t),this.imports[e]=t,0!==e.indexOf("blots/")&&0!==e.indexOf("formats/")||"abstract"===t.blotName||w.register(t),"function"===typeof t.register&&t.register(w)}}],n&&x(t.prototype,n),i&&x(t,i),e}();function I(e,t){if((t=u()({container:e,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0}},t)).theme&&t.theme!==k.DEFAULTS.theme){if(t.theme=k.import("themes/".concat(t.theme)),null==t.theme)throw new Error("Invalid theme ".concat(t.theme,". Did you register it?"))}else t.theme=g.a;var n=a()(t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var i=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=k.import("modules/".concat(t));return null==n?C.error("Cannot load ".concat(t," module. Are you sure you registered it?")):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=u()({},k.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function T(e,t,n,i){if(!this.isEnabled()&&t===p.a.sources.USER&&!this.allowReadOnlyEdits)return new r.a;var o=null==n?null:this.getSelection(),a=this.editor.delta,s=e();if(null!=o&&(!0===n&&(n=o.index),null==i?o=A(o,s,t):0!==i&&(o=A(o,n,i,t)),this.setSelection(o,p.a.sources.SILENT)),s.length()>0){var u,l,c=[p.a.events.TEXT_CHANGE,s,a,t];(u=this.emitter).emit.apply(u,[p.a.events.EDITOR_CHANGE].concat(c)),t!==p.a.sources.SILENT&&(l=this.emitter).emit.apply(l,c)}return s}function O(e,t,n,i,r){var o={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(r=i,i=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(r=i,i=n,n=t,t=0),"object"===y(n)?(o=n,r=i):"string"===typeof n&&(null!=i?o[n]=i:r=n),[e,t,o,r=r||p.a.sources.API]}function A(e,t,n,i){if(null==e)return null;var o,a;if(t instanceof r.a){var s=v([e.index,e.index+e.length].map((function(e){return t.transformPosition(e,i!==p.a.sources.USER)})),2);o=s[0],a=s[1]}else{var u=v([e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),2);o=u[0],a=u[1]}return new h.a(o,a-o)}k.DEFAULTS={bounds:null,modules:{},placeholder:"",readOnly:!1,registry:w,scrollingContainer:null,theme:"default"},k.events=p.a.events,k.sources=p.a.sources,k.version="1.5.16",k.imports={delta:r.a,parchment:l,"core/module":d.a,"core/theme":g.a}},function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},r=i(n(114)),o=i(n(18)),a=i(n(29)),s=i(n(115)),u=i(n(90)),l=String.fromCharCode(0),c=function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}return e.prototype.insert=function(e,t){var n={};return"string"===typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o.default(e),"object"===typeof n){if("number"===typeof e.delete&&"number"===typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"===typeof n.delete&&null!=e.insert&&(t-=1,"object"!==typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(a.default(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(i){(e(i)?t:n).push(i)})),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+u.default.length(t):t.delete?e-t.delete:e}),0)},e.prototype.length=function(){return this.reduce((function(e,t){return e+u.default.length(t)}),0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var i=[],r=u.default.iterator(this.ops),o=0;o0&&i.next(o.retain-l)}for(var c=new e(r);n.hasNext()||i.hasNext();)if("insert"===i.peekType())c.push(i.next());else if("delete"===n.peekType())c.push(n.next());else{var p=Math.min(n.peekLength(),i.peekLength()),d=n.next(p),h=i.next(p);if("number"===typeof h.retain){var m={};"number"===typeof d.retain?m.retain=p:m.insert=d.insert;var f=s.default.compose(d.attributes,h.attributes,"number"===typeof d.retain);if(f&&(m.attributes=f),c.push(m),!i.hasNext()&&a.default(c.ops[c.ops.length-1],m)){var g=new e(n.rest());return c.concat(g).chop()}}else"number"===typeof h.delete&&"number"===typeof d.retain&&c.push(h)}return c.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var i=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:l;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new e,c=r.default(i[0],i[1],n),p=u.default.iterator(this.ops),d=u.default.iterator(t.ops);return c.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.default.INSERT:n=Math.min(d.peekLength(),t),o.push(d.next(n));break;case r.default.DELETE:n=Math.min(t,p.peekLength()),p.next(n),o.delete(n);break;case r.default.EQUAL:n=Math.min(p.peekLength(),d.peekLength(),t);var i=p.next(n),u=d.next(n);a.default(i.insert,u.insert)?o.retain(n,s.default.diff(i.attributes,u.attributes)):o.push(u).delete(n)}t-=n}})),o.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var i=u.default.iterator(this.ops),r=new e,o=0;i.hasNext();){if("insert"!==i.peekType())return;var a=i.peek(),s=u.default.length(a)-i.peekLength(),l="string"===typeof a.insert?a.insert.indexOf(n,s)-s:-1;if(l<0)r.push(i.next());else if(l>0)r.push(i.next(l));else{if(!1===t(r,i.next(1).attributes||{},o))return;o+=1,r=new e}}r.length()>0&&t(r,{},o)},e.prototype.invert=function(t){var n=new e;return this.reduce((function(e,i){if(i.insert)n.delete(u.default.length(i));else{if(i.retain&&null==i.attributes)return n.retain(i.retain),e+i.retain;if(i.delete||i.retain&&i.attributes){var r=i.delete||i.retain;return t.slice(e,e+r).forEach((function(e){i.delete?n.push(e):i.retain&&i.attributes&&n.retain(u.default.length(e),s.default.invert(i.attributes,e.attributes))})),e+r}}return e}),0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"===typeof t)return this.transformPosition(t,n);for(var i=t,r=u.default.iterator(this.ops),o=u.default.iterator(i.ops),a=new e;r.hasNext()||o.hasNext();)if("insert"!==r.peekType()||!n&&"insert"===o.peekType())if("insert"===o.peekType())a.push(o.next());else{var l=Math.min(r.peekLength(),o.peekLength()),c=r.next(l),p=o.next(l);if(c.delete)continue;p.delete?a.push(p):a.retain(l,s.default.transform(c.attributes,p.attributes,n))}else a.retain(u.default.length(r.next()));return a.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=u.default.iterator(this.ops),i=0;n.hasNext()&&i<=e;){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(i1){var n=e.slice(1);this.append.apply(this,n)}},e.prototype.at=function(e){for(var t=this.iterator(),n=t();n&&e>0;)e-=1,n=t();return n},e.prototype.contains=function(e){for(var t=this.iterator(),n=t();n;){if(n===e)return!0;n=t()}return!1},e.prototype.indexOf=function(e){for(var t=this.iterator(),n=t(),i=0;n;){if(n===e)return i;i+=1,n=t()}return-1},e.prototype.insertBefore=function(e,t){null!=e&&(this.remove(e),e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n=this.iterator(),i=n();i;){var r=i.length();if(eo?n(s,e-o,Math.min(t,o+u-e)):n(s,0,Math.min(u,e+t-o)),o+=u,s=a()}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n=this.iterator(),i=n();i;)t=e(t,i),i=n();return t},e}(),a=o,s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return s(t,e),t}(Error),l=function(){function e(){this.attributes={},this.classes={},this.tags={},this.types={}}return e.find=function(e,t){return void 0===t&&(t=!1),null==e?null:this.blots.has(e)?this.blots.get(e)||null:t?this.find(e.parentNode,t):null},e.prototype.create=function(t,n,i){var r=this.query(n);if(null==r)throw new u("Unable to create "+n+" blot");var o=r,a=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:o.create(i),s=new o(t,a,i);return e.blots.set(s.domNode,s),s},e.prototype.find=function(t,n){return void 0===n&&(n=!1),e.find(t,n)},e.prototype.query=function(e,t){var n,i=this;return void 0===t&&(t=r.ANY),"string"===typeof e?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:"number"===typeof e?e&r.LEVEL&r.BLOCK?n=this.types.block:e&r.LEVEL&r.INLINE&&(n=this.types.inline):e instanceof HTMLElement&&((e.getAttribute("class")||"").split(/\s+/).some((function(e){return!!(n=i.classes[e])})),n=n||this.tags[e.tagName]),null==n?null:t&r.LEVEL&n.scope&&t&r.TYPE&n.scope?n:null},e.prototype.register=function(){for(var e=this,t=[],n=0;n1)return t.map((function(t){return e.register(t)}));var i=t[0];if("string"!==typeof i.blotName&&"string"!==typeof i.attrName)throw new u("Invalid definition");if("abstract"===i.blotName)throw new u("Cannot register abstract class");if(this.types[i.blotName||i.attrName]=i,"string"===typeof i.keyName)this.attributes[i.keyName]=i;else if(null!=i.className&&(this.classes[i.className]=i),null!=i.tagName){Array.isArray(i.tagName)?i.tagName=i.tagName.map((function(e){return e.toUpperCase()})):i.tagName=i.tagName.toUpperCase();var r=Array.isArray(i.tagName)?i.tagName:[i.tagName];r.forEach((function(t){null!=e.tags[t]&&null!=i.className||(e.tags[t]=i)}))}return i},e.blots=new WeakMap,e}(),c=l,p=function(){function e(e,t){this.scroll=e,this.domNode=t,c.blots.set(t,this),this.prev=null,this.next=null}return e.create=function(e){if(null==this.tagName)throw new u("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e,10).toString()===e&&(e=parseInt(e,10))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!1,configurable:!0}),e.prototype.attach=function(){},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return this.scroll.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),c.blots.delete(this.domNode)},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,i){var o=this.isolate(e,t);if(null!=this.scroll.query(n,r.BLOT)&&i)o.wrap(n,i);else if(null!=this.scroll.query(n,r.ATTRIBUTE)){var a=this.scroll.create(this.statics.scope);o.wrap(a),a.format(n,i)}},e.prototype.insertAt=function(e,t,n){var i=null==n?this.scroll.create("text",t):this.scroll.create(t,n),r=this.split(e);this.parent.insertBefore(i,r||void 0)},e.prototype.isolate=function(e,t){var n=this.split(e);if(null==n)throw new Error("Attempt to isolate at end");return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName)},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?this.scroll.create(e,t):e;return null!=this.parent&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?this.scroll.create(e,t):e;if(null!=this.parent&&this.parent.insertBefore(n,this.next||void 0),"function"!==typeof n.appendChild)throw new u("Cannot wrap "+e);return n.appendChild(this),n},e.blotName="abstract",e}(),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function h(e,t){var n=t.find(e);if(null==n)try{n=t.create(e)}catch(i){n=t.create(r.INLINE),Array.from(e.childNodes).forEach((function(e){n.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(n.domNode,e),n.attach()}return n}var m=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.uiNode=null,i.build(),i}return d(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.attachUI=function(e){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=e,t.uiClass&&this.uiNode.classList.add(t.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)},t.prototype.build=function(){var e=this;this.children=new a,Array.from(this.domNode.childNodes).filter((function(t){return t!==e.uiNode})).reverse().forEach((function(t){try{var n=h(t,e.scroll);e.insertBefore(n,e.children.head||void 0)}catch(i){if(i instanceof u)return;throw i}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){void 0===n&&(n=0);var i=this.children.find(n),r=i[0],o=i[1];return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,o]:r instanceof t?r.descendant(e,o):[null,-1]},t.prototype.descendants=function(e,n,i){void 0===n&&(n=0),void 0===i&&(i=Number.MAX_VALUE);var r=[],o=i;return this.children.forEachAt(n,i,(function(n,i,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&r.push(n),n instanceof t&&(r=r.concat(n.descendants(e,i,o))),o-=a})),r},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.enforceAllowedChildren=function(){var e=this,n=!1;this.children.forEach((function(i){n||e.statics.allowedChildren.some((function(e){return i instanceof e}))||(i.statics.scope===r.BLOCK_BLOT?(null!=i.next&&e.splitAfter(i),null!=i.prev&&e.splitAfter(i.prev),i.parent.unwrap(),n=!0):i instanceof t?i.unwrap():i.remove())}))},t.prototype.formatAt=function(e,t,n,i){this.children.forEachAt(e,t,(function(e,t,r){e.formatAt(t,r,n,i)}))},t.prototype.insertAt=function(e,t,n){var i=this.children.find(e),r=i[0],o=i[1];if(r)r.insertAt(o,t,n);else{var a=null==n?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){null!=e.parent&&e.parent.children.remove(e);var n=null;this.children.insertBefore(e,t||null),e.parent=this,null!=t&&(n=t.domNode),this.domNode.parentNode===e.domNode&&this.domNode.nextSibling===n||this.domNode.insertBefore(e.domNode,n),e.attach()},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length)if(null!=this.statics.defaultChild){var n=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(n)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var i=this.children.find(e,n),r=i[0],o=i[1],a=[[this,e]];return r instanceof t?a.concat(r.path(o,n)):(null!=r&&a.push([r,o]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replaceWith=function(n,i){var r="string"===typeof n?this.scroll.create(n,i):n;return r instanceof t&&this.moveChildren(r),e.prototype.replaceWith.call(this,r)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(function(e,i,r){var o=e.split(i,t);null!=o&&n.appendChild(o)})),n},t.prototype.splitAfter=function(e){for(var t=this.clone();null!=e.next;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t},t.prototype.unwrap=function(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()},t.prototype.update=function(e,t){var n=this,i=[],r=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(i.push.apply(i,e.addedNodes),r.push.apply(r,e.removedNodes))})),r.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=n.scroll.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),i.filter((function(e){return e.parentNode===n.domNode||e===n.uiNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=n.scroll.find(e.nextSibling));var i=h(e,n.scroll);i.next===t&&null!=i.next||(null!=i.parent&&i.parent.removeChild(n),n.insertBefore(i,t||void 0))})),this.enforceAllowedChildren()},t.uiClass="",t}(p),f=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.checkMerge=function(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName},t.prototype.deleteAt=function(t,n){e.prototype.deleteAt.call(this,t,n),this.enforceAllowedChildren()},t.prototype.formatAt=function(t,n,i,r){e.prototype.formatAt.call(this,t,n,i,r),this.enforceAllowedChildren()},t.prototype.insertAt=function(t,n,i){e.prototype.insertAt.call(this,t,n,i),this.enforceAllowedChildren()},t.prototype.optimize=function(t){e.prototype.optimize.call(this,t),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())},t.blotName="container",t.scope=r.BLOCK_BLOT,t}(m),y=g,b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=r.INLINE_BLOT,t}(p),_=v,S=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var i=r.TYPE&r.ATTRIBUTE;this.scope=null!=n.scope?n.scope&r.LEVEL|i:r.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return Array.from(e.attributes).map((function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1)},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}(),x=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function C(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return x(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){C(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(C(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(S),k=w,I=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function T(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return I(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[T(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[T(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[T(this.keyName)];return this.canAdd(e,t)?t:""},t}(S),A=O,D=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=c.find(this.domNode);if(null!=t){var n=S.keys(this.domNode),i=k.keys(this.domNode),o=A.keys(this.domNode);n.concat(i).concat(o).forEach((function(n){var i=t.scroll.query(n,r.ATTRIBUTE);i instanceof S&&(e.attributes[i.attrName]=i)}))}},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var i=t.attributes[n].value(t.domNode);e.format(n,i)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}(),P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),N=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.attributes=new D(i.domNode),i}return P(t,e),t.formats=function(e,n){var i=n.query(t.blotName);if(null==i||e.tagName!==i.tagName)return"string"===typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,n){var i=this;if(e!==this.statics.blotName||n){var o=this.scroll.query(e,r.INLINE);if(null==o)return;o instanceof S?this.attributes.attribute(o,n):!n||e===this.statics.blotName&&this.formats()[e]===n||this.replaceWith(e,n)}else this.children.forEach((function(e){e instanceof t||(e=e.wrap(t.blotName,!0)),i.attributes.copy(e)})),this.unwrap()},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.formatAt=function(t,n,i,o){null!=this.formats()[i]||this.scroll.query(i,r.ATTRIBUTE)?this.isolate(t,n).format(i,o):e.prototype.formatAt.call(this,t,n,i,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var i=this.formats();if(0===Object.keys(i).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(i,r.formats())&&(r.moveChildren(this),r.remove())},t.prototype.replaceWith=function(t,n){var i=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(i),i},t.prototype.update=function(t,n){var i=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===i.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,i){var r=e.prototype.wrap.call(this,n,i);return r instanceof t&&this.attributes.move(r),r},t.allowedChildren=[t,_],t.blotName="inline",t.scope=r.INLINE_BLOT,t.tagName="SPAN",t}(m),E=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),R=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.attributes=new D(i.domNode),i}return E(t,e),t.formats=function(e,n){var i=n.query(t.blotName);if(null==i||e.tagName!==i.tagName)return"string"===typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,n){var i=this.scroll.query(e,r.BLOCK);null!=i&&(i instanceof S?this.attributes.attribute(i,n):e!==this.statics.blotName||n?!n||e===this.statics.blotName&&this.formats()[e]===n||this.replaceWith(e,n):this.replaceWith(t.blotName))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.formatAt=function(t,n,i,o){null!=this.scroll.query(i,r.BLOCK)?this.format(i,o):e.prototype.formatAt.call(this,t,n,i,o)},t.prototype.insertAt=function(t,n,i){if(null==i||null!=this.scroll.query(n,r.INLINE))e.prototype.insertAt.call(this,t,n,i);else{var o=this.split(t);if(null==o)throw new Error("Attempt to insertAt after block boundaries");var a=this.scroll.create(n,i);o.parent.insertBefore(a,o)}},t.prototype.replaceWith=function(t,n){var i=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(i),i},t.prototype.update=function(t,n){var i=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===i.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.blotName="block",t.scope=r.BLOCK_BLOT,t.tagName="P",t.allowedChildren=[N,t,_],t}(m),M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.formats=function(e,t){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,i,r){0===t&&n===this.length()?this.format(i,r):e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode,this.scroll)},t}(_),L=j,B=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),F={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},V=function(e){function t(t,n){var i=e.call(this,null,n)||this;return i.registry=t,i.scroll=i,i.build(),i.observer=new MutationObserver((function(e){i.update(e)})),i.observer.observe(i.domNode,F),i.attach(),i}return B(t,e),t.prototype.create=function(e,t){return this.registry.create(this,e,t)},t.prototype.find=function(e,t){return void 0===t&&(t=!1),this.registry.find(e,t)},t.prototype.query=function(e,t){return void 0===t&&(t=r.ANY),this.registry.query(e,t)},t.prototype.register=function(){for(var e,t=[],n=0;n0;)t.push(o.pop());for(var a=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==i&&null!=t.domNode.parentNode&&(r.has(t.domNode)||r.set(t.domNode,[]),n&&e(t.parent))},s=function e(t){r.has(t.domNode)&&(t instanceof m&&t.children.forEach(e),r.delete(t.domNode),t.optimize(n))},u=t,l=0;u.length>0;l+=1){if(l>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach((function(e){var t=i.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(a(i.find(e.previousSibling,!1)),Array.from(e.addedNodes).forEach((function(e){var t=i.find(e,!1);a(t,!1),t instanceof m&&t.children.forEach((function(e){a(e,!1)}))}))):"attributes"===e.type&&a(t.prev)),a(t))})),this.children.forEach(s),o=(u=Array.from(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var i=this;void 0===n&&(n={}),t=t||this.observer.takeRecords();var r=new WeakMap;t.map((function(e){var t=c.find(e.target,!0);return null==t?null:r.has(t.domNode)?(r.get(t.domNode).push(e),null):(r.set(t.domNode,[e]),t)})).forEach((function(e){null!=e&&e!==i&&r.has(e.domNode)&&e.update(r.get(e.domNode)||[],n)})),n.mutationsMap=r,r.has(this.domNode)&&e.prototype.update.call(this,r.get(this.domNode),n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild=R,t.allowedChildren=[R,y],t.scope=r.BLOCK_BLOT,t.tagName="DIV",t}(m),q=V,z=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),G=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.text=i.statics.value(i.domNode),i}return z(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){return e.data},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,i){null==i?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,i)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=r.INLINE_BLOT,t}(_)},function(e,t,n){"use strict";var i=n(91),r=n.n(i),o=n(17),a=n(41),s=n(23);function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(e,t){for(var n=0;n1?t-1:0),i=1;ie.length)&&(t=e.length);for(var n=0,i=new Array(t);n-1&&(t.scroll.formatAt(e,o,n,a[n]),delete a[n])})),Object.keys(a).forEach((function(n){t.scroll.formatAt(e,o,n,a[n])}));var _=s?1:0;return n+=_,r.delete(_),e+o+_}),0),r.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+l.Op.length(n)}),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(i)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new c.a).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(i).forEach((function(r){n.scroll.lines(e,Math.max(t,1)).forEach((function(e){e.format(r,i[r])}))})),this.scroll.optimize();var o=(new c.a).retain(e).retain(t,r()(i));return this.update(o)}},{key:"formatText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(i).forEach((function(r){n.scroll.formatAt(e,t,r,i[r])}));var o=(new c.a).retain(e).retain(t,r()(i));return this.update(o)}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new c.a)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===t?this.scroll.path(e).forEach((function(e){var t=x(e,1)[0];t instanceof m.d?n.push(t):t instanceof p.LeafBlot&&i.push(t)})):(n=this.scroll.lines(e,t),i=this.scroll.descendants(p.LeafBlot,e,t));var r=[n,i].map((function(e){if(0===e.length)return{};for(var t=Object(m.c)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=R(Object(m.c)(n),t)}return t})),o=x(r,2);return n=o[0],i=o[1],v(v({},n),i)}},{key:"getHTML",value:function(e,t){var n=x(this.scroll.line(e),2),i=n[0],r=n[1];return i.length()>=r+t?P(i,r,t,!0):P(this.scroll,e,t,!0)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new c.a).retain(e).insert(_({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(i).forEach((function(r){n.scroll.formatAt(e,t.length,r,i[r])})),this.update((new c.a).retain(e).insert(t,r()(i)))}},{key:"isBlank",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0===this.scroll.children.length)return!0;if(e)return!1;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===m.d.blotName&&!(t.children.length>1)&&t.children.head instanceof f.a}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),i=x(this.scroll.line(e+t),2),r=i[0],o=i[1],a=0,s=new c.a;null!=r&&(a=r.length()-o,s=r.delta().slice(o,o+a-1).insert("\n"));var u=this.getContents(e,t+a).diff((new c.a).insert(n).concat(s)),l=(new c.a).retain(e).concat(u);return this.applyDelta(l)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(O)&&this.scroll.find(t[0].target)){var r=this.scroll.find(t[0].target),o=Object(m.c)(r),s=r.offset(this.scroll),u=t[0].oldValue.replace(h.a.CONTENTS,""),l=(new c.a).insert(u),p=(new c.a).insert(r.value()),d=n&&{oldRange:L(n.oldRange,-s),newRange:L(n.newRange,-s)},f=(new c.a).retain(s).concat(l.diff(p,d));e=f.reduce((function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)}),new c.a),this.delta=i.compose(e)}else this.delta=this.getDelta(),e&&a()(i.compose(e),this.delta)||(e=i.diff(this.delta,n));return e}}],n&&T(t.prototype,n),i&&T(t,i),e}();function D(e,t,n){if(0===e.length){var i=x(M(n.pop()),1)[0];return t<=0?""):"").concat(D([],t-1,n))}var r=y(e),o=r[0],a=o.child,s=o.offset,u=o.length,l=o.indent,c=o.type,p=r.slice(1),d=x(M(c,a),2),h=d[0],m=d[1];if(l>t)return n.push(c),l===t+1?"<".concat(h,">").concat(P(a,s,u)).concat(D(p,l,n)):"<".concat(h,">
  • ").concat(D(e,t+1,n));var f=n[n.length-1];if(l===t&&c===f)return"
  • ").concat(P(a,s,u)).concat(D(p,l,n));var g=x(M(n.pop()),1)[0];return"").concat(D(e,t-1,n))}function P(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("function"===typeof e.html)return e.html(t,n);if(e instanceof g.a)return Object(g.b)(e.value().slice(t,t+n));if(e.children){if("list-container"===e.statics.blotName){var r=[];return e.children.forEachAt(t,n,(function(e,t,n){var i=e.formats();r.push({child:e,offset:t,length:n,indent:i.indent||0,type:i.list})})),D(r,-1,[])}var o=[];if(e.children.forEachAt(t,n,(function(e,t,n){o.push(P(e,t,n))})),N(e.children,o),i||"list"===e.statics.blotName)return o.join("");var a=E(e),s=a.outerHTML,u=a.innerHTML,l=s.split(">".concat(u,"<")),c=x(l,2),p=c[0],d=c[1];return 0===p.indexOf("").concat(o.join("").replace(/(\sdata-.+?=["'].*?["'])/g,""),"<").concat(d):"".concat(p,">").concat(o.join(""),"<").concat(d)}return e.domNode.outerHTML}function N(e,t){1===e.length&&e.head instanceof f.a&&t.push("
    ")}function E(e){var t=e.domNode.cloneNode(!0);return function(e,t){var n,i;return["tableCellLine","tableHeaderCellLine","tableCell","tableHeaderCell"].includes(e.statics.blotName)&&(n=t,i=e.statics.className,n.classList.remove(i),0===n.classList.length&&n.removeAttribute("class")),t}(e,t)}function R(e,t){return Object.keys(t).reduce((function(n,i){return null==e[i]||(t[i]===e[i]?n[i]=t[i]:Array.isArray(t[i])?t[i].indexOf(e[i])<0&&(n[i]=t[i].concat([e[i]])):n[i]=[t[i],e[i]]),n}),{})}function M(e,t){var n="ordered"===e?"ol":"ul",i=t?"".concat(function(e){var t=e.domNode;if(!t.hasAttributes())return"";for(var n=t.attributes,i=" ",r=0;r1?i:""}(t)):"";switch(e){case"checked":return[n,"".concat(i,' data-list="checked"')];case"unchecked":return[n,"".concat(i,' data-list="unchecked"')];default:return[n,i]}}function j(e){return e.replace(/ql-indent-\d/g,"").trim()}function L(e,t){var n=e.index,i=e.length;return new d.a(n+t,i)}t.a=A},function(e,t,n){"use strict";function i(e){return null!==e&&void 0!==e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return k})),n.d(t,"a",(function(){return C})),n.d(t,"d",(function(){return x}));var i=n(1),r=n.n(i),o=n(2),a=n(12),s=n(16),u=n(11);function l(e){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t0&&(e1&&void 0!==arguments[1]&&arguments[1];if(t&&(0===e||e>=this.length()-1)){var i=this.clone();return 0===e?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var r=g(S(n.prototype),"split",this).call(this,e,t);return this.cache={},r}}]),n}(o.BlockBlot);x.blotName="block",x.tagName="P",x.defaultChild=a.a,x.allowedChildren=[a.a,s.a,o.EmbedBlot,u.a];var C=function(e){y(n,e);var t=v(n);function n(){return h(this,n),t.apply(this,arguments)}return f(n,[{key:"attach",value:function(){g(S(n.prototype),"attach",this).call(this),this.attributes=new o.AttributorStore(this.domNode)}},{key:"delta",value:function(){return(new r.a).insert(this.value(),p(p({},this.formats()),this.attributes.values()))}},{key:"format",value:function(e,t){var n=this.scroll.query(e,o.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,i){this.format(n,i)}},{key:"insertAt",value:function(e,t,i){if("string"===typeof t&&t.endsWith("\n")){var r=this.scroll.create(x.blotName);this.parent.insertBefore(r,0===e?this:this.next),r.insertAt(0,t.slice(0,-1))}else g(S(n.prototype),"insertAt",this).call(this,e,t,i)}}]),n}(o.EmbedBlot);function w(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.descendants(o.LeafBlot).reduce((function(e,n){return 0===n.length()?e:e.insert(n.value(),k(n,{},t))}),new r.a).insert("\n",k(e))}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return null==e?t:("function"===typeof e.formats&&(t=p(p({},t),e.formats()),n&&delete t["code-token"]),null==e.parent||"scroll"===e.parent.statics.blotName||e.parent.statics.scope!==e.statics.scope?t:k(e.parent,t,n))}C.scope=o.Scope.BLOCK_BLOT},function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b}));var i=n(2),r=n(18),o=n.n(r),a=n(29),s=n.n(a),u=n(3),l=n(23);function c(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(e,t)||d(e,t)||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 d(e,t){if(e){if("string"===typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:0;f(this,e),this.index=t,this.length=n},b=function(){function e(t,n){var i=this;f(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new y(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){i.mouseDown||i.composing||setTimeout(i.update.bind(i,u.a.sources.USER),1)})),this.emitter.on(u.a.events.SCROLL_BEFORE_UPDATE,(function(){if(i.hasFocus()){var e=i.getNativeRange();null!=e&&e.start.node!==i.cursor.textNode&&i.emitter.once(u.a.events.SCROLL_UPDATE,(function(){try{i.root.contains(e.start.node)&&i.root.contains(e.end.node)&&i.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset),i.update(u.a.sources.SILENT)}catch(t){}}))}})),this.emitter.on(u.a.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;i.setNativeRange(r,o,a,s),i.update(u.a.sources.SILENT)}})),this.update(u.a.sources.SILENT)}var t,n,r;return t=e,n=[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0,e.scroll.batchStart()})),this.root.addEventListener("compositionend",(function(){if(e.scroll.batchEnd(),e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(u.a.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!this.scroll.query(e,i.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=this.scroll.find(n.start.node,!1);if(null==r)return;if(r instanceof i.LeafBlot){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}},{key:"getBounds",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=this.scroll.length();e=Math.min(e,i-1),n=Math.min(e+n,i-1)-e;var r=this.scroll.leaf(e),o=p(r,2),a=o[0],s=o[1];if(null==a)return null;var u=a.position(s,!0),l=p(u,2);t=l[0],s=l[1];var c=document.createRange();if(n>0){c.setStart(t,s);var d=this.scroll.leaf(e+n),h=p(d,2);if(a=h[0],s=h[1],null==a)return null;var m=a.position(s,!0),f=p(m,2);return t=f[0],s=f[1],c.setEnd(t,s),c.getBoundingClientRect()}var g,y="left";return t instanceof Text?(s0&&(y="right")),{bottom:g.top+g.height,height:g.height,left:g[y],right:g[y],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return g.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root||v(this.root,document.activeElement)}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=p(e,2),r=n[0],o=n[1],a=t.scroll.find(r,!0),s=a.offset(t.scroll);return 0===o?s:a instanceof i.LeafBlot?s+a.index(r,o):s+a.length()})),o=Math.min(Math.max.apply(Math,c(r)),this.scroll.length()-1),a=Math.min.apply(Math,[o].concat(c(r)));return new y(a,o-a)}},{key:"normalizeNative",value:function(e){if(!v(this.root,e.startContainer)||!e.collapsed&&!v(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length>0?t.childNodes.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],i=[],r=this.scroll.length();return n.forEach((function(e,n){e=Math.min(r-1,e);var o=p(t.scroll.leaf(e),2),a=o[0],s=o[1],u=p(a.position(s,0!==n),2),l=u[0],c=u[1];i.push(l,c)})),i.length<2?i.concat(i):i}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var i=this.scroll.length()-1,r=p(this.scroll.line(Math.min(t.index,i)),1)[0],o=r;if(t.length>0&&(o=p(this.scroll.line(Math.min(t.index+t.length,i)),1)[0]),null!=r&&null!=o){var a=e.getBoundingClientRect();n.topa.bottom&&(e.scrollTop+=n.bottom-a.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(g.info("setNativeRange",e,t,n,i),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var a=this.getNativeRange()||{},s=a.native;if(null==s||r||e!==s.startContainer||t!==s.startOffset||n!==s.endContainer||i!==s.endOffset){"BR"===e.tagName&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),"BR"===n.tagName&&(i=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);var u=document.createRange();u.setStart(e,t),u.setEnd(n,i),o.removeAllRanges(),o.addRange(u)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.a.sources.API;if("string"===typeof t&&(n=t,t=!1),g.info("setRange",e),null!=e){var i=this.rangeToNative(e);this.setNativeRange.apply(this,c(i).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.a.sources.USER,t=this.lastRange,n=this.getRange(),i=p(n,2),r=i[0],a=i[1];if(this.lastRange=r,this.lastNative=a,null!=this.lastRange&&(this.savedRange=this.lastRange),!s()(t,this.lastRange)){var l;if(!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode){var c=this.cursor.restore();c&&this.setNativeRange(c.startNode,c.startOffset,c.endNode,c.endOffset)}var d,h=[u.a.events.SELECTION_CHANGE,o()(this.lastRange),o()(t),e];(l=this.emitter).emit.apply(l,[u.a.events.EDITOR_CHANGE].concat(h)),e!==u.a.sources.SILENT&&(d=this.emitter).emit.apply(d,h)}}}],n&&m(t.prototype,n),r&&m(t,r),e}();function v(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}},function(e,t,n){"use strict";n.d(t,"j",(function(){return c})),n.d(t,"c",(function(){return p})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"d",(function(){return f})),n.d(t,"i",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"k",(function(){return s})),n.d(t,"h",(function(){return a})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return y}));var i=n(50),r=n(13),o={name:"table",allowedTags:["TABLE"]},a=Object(i.a)(o,"height"),s=Object(i.a)(o,"width"),u=Object(r.a)(o,"height"),l=Object(r.a)(o,"width"),c=Object(r.a)(o,"text","align"),p=Object(r.a)(o,"background","color"),d=Object(r.a)(o,"border"),h=Object(r.a)(o,"border","style"),m=Object(r.a)(o,"border","width"),f=Object(r.a)(o,"border","color"),g={tableTextAlign:c,tableBackgroundColor:p,tableBorder:d,tableBorderStyle:h,tableBorderWidth:m,tableBorderColor:f,tableWidth:l,tableHeight:u},y=[c,p,d,h,f,m,u,l,s,a].reduce((function(e,t){return e[t.keyName]=t,e}),{})},function(e,t,n){"use strict";n.d(t,"p",(function(){return c})),n.d(t,"o",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"m",(function(){return y})),n.d(t,"n",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return _})),n.d(t,"l",(function(){return S})),n.d(t,"i",(function(){return u})),n.d(t,"r",(function(){return l})),n.d(t,"h",(function(){return a})),n.d(t,"q",(function(){return s})),n.d(t,"b",(function(){return x})),n.d(t,"a",(function(){return C}));var i=n(50),r=n(13),o={name:"cell",allowedTags:["TH","TD"]},a=Object(i.a)(o,"height"),s=Object(i.a)(o,"width"),u=Object(r.a)(o,"height"),l=Object(r.a)(o,"width"),c=Object(r.a)(o,"vertical","align"),p=Object(r.a)(o,"text","align"),d=Object(r.a)(o,"background","color"),h=Object(r.a)(o,"border"),m=Object(r.a)(o,"border","style"),f=Object(r.a)(o,"border","width"),g=Object(r.a)(o,"border","color"),y=Object(r.a)(o,"padding"),b=Object(r.a)(o,"padding","top"),v=Object(r.a)(o,"padding","bottom"),_=Object(r.a)(o,"padding","left"),S=Object(r.a)(o,"padding","right"),x={cellBorder:h,cellBorderStyle:m,cellBorderWidth:f,cellBorderColor:g,cellBackgroundColor:d,cellPadding:y,cellPaddingTop:b,cellPaddingBottom:v,cellPaddingLeft:_,cellPaddingRight:S,cellVerticalAlign:c,cellTextAlign:p,cellWidth:l,cellHeight:u},C=[d,g,h,m,f,v,_,S,y,b,c,p,u,l,s,a].reduce((function(e,t){return e[t.keyName]=t,e}),{})},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(54))},function(e,t,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=u(e);if(t){var r=u(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var l=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(n,e);var t=a(n);function n(){return r(this,n),t.apply(this,arguments)}return n}(n(2).TextBlot);function c(e){return e.replace(/[&<>"']/g,(function(e){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[e]}))}},function(e,t,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function s(e,t){var n=e.name,s=e.formatName,u=a(e,o),l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",c="".concat(t).concat(l?"-".concat(l):"");return new i.a("".concat(n).concat(Object(r.a)(null!==s&&void 0!==s?s:t)).concat(Object(r.a)(l)),c,u)}},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.a=r},function(e,t,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=u(e);if(t){var r=u(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(n,e);var t=a(n);function n(){return r(this,n),t.apply(this,arguments)}return n}(n(2).ContainerBlot);t.a=l},function(e,t,n){"use strict";var i=n(2),r=n(12),o=n(11);function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n=0||i>=0?n-i:e===t?0:e0){var t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}}])&&u(t.prototype,n),r&&u(t,r),a}(i.InlineBlot);m.allowedChildren=[m,r.a,i.EmbedBlot,o.a],m.order=["cursor","inline","link","underline","strike","italic","bold","script","code"],t.a=m},function(e,t,n){"use strict";t.a=function(){return"undefined"!==typeof window}},function(e,t,n){(function(e,n){var i="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",u="[object Function]",l="[object GeneratorFunction]",c="[object Map]",p="[object Number]",d="[object Object]",h="[object Promise]",m="[object RegExp]",f="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",v="[object ArrayBuffer]",_="[object DataView]",S="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",k="[object Int32Array]",I="[object Uint8Array]",T="[object Uint8ClampedArray]",O="[object Uint16Array]",A="[object Uint32Array]",D=/\w*$/,P=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,E={};E[o]=E["[object Array]"]=E[v]=E[_]=E[a]=E[s]=E[S]=E[x]=E[C]=E[w]=E[k]=E[c]=E[p]=E[d]=E[m]=E[f]=E[g]=E[y]=E[I]=E[T]=E[O]=E[A]=!0,E["[object Error]"]=E[u]=E[b]=!1;var R="object"==typeof e&&e&&e.Object===Object&&e,M="object"==typeof self&&self&&self.Object===Object&&self,j=R||M||Function("return this")(),L=t&&!t.nodeType&&t,B=L&&"object"==typeof n&&n&&!n.nodeType&&n,F=B&&B.exports===L;function V(e,t){return e.set(t[0],t[1]),e}function q(e,t){return e.add(t),e}function z(e,t,n,i){var r=-1,o=e?e.length:0;for(i&&o&&(n=e[++r]);++r-1},Ie.prototype.set=function(e,t){var n=this.__data__,i=Pe(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new ke,map:new(he||Ie),string:new ke}},Te.prototype.delete=function(e){return je(this,e).delete(e)},Te.prototype.get=function(e){return je(this,e).get(e)},Te.prototype.has=function(e){return je(this,e).has(e)},Te.prototype.set=function(e,t){return je(this,e).set(e,t),this},Oe.prototype.clear=function(){this.__data__=new Ie},Oe.prototype.delete=function(e){return this.__data__.delete(e)},Oe.prototype.get=function(e){return this.__data__.get(e)},Oe.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ie){var i=n.__data__;if(!he||i.length<199)return i.push([e,t]),this;n=this.__data__=new Te(i)}return n.set(e,t),this};var Be=le?U(le,Object):function(){return[]},Fe=function(e){return ee.call(e)};function Ve(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=r}(e.length)&&!Ke(e)}var We=ce||function(){return!1};function Ke(e){var t=$e(e)?ee.call(e):"";return t==u||t==l}function $e(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return Ue(e)?Ae(e):function(e){if(!qe(e))return pe(e);var t=[];for(var n in Object(e))J.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}n.exports=function(e){return Ne(e,!0,!0)}}).call(this,n(54),n(61)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return S}));var i=n(6),r=n(12),o=n(24),a=n(16),s=n(11),u=n(15),l=n(0);function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n\n".concat(this.code(e,t),"\n")}}],[{key:"create",value:function(e){var t=m(v(n),"create",this).call(this,e);return t.setAttribute("spellcheck",!1),t}}]),n}(u.a),S=function(e){f(n,e);var t=y(n);function n(){return p(this,n),t.apply(this,arguments)}return h(n,null,[{key:"register",value:function(){l.a.register(_)}}]),n}(i.d),x=function(e){f(n,e);var t=y(n);function n(){return p(this,n),t.apply(this,arguments)}return n}(a.a);x.blotName="code",x.tagName="CODE",S.blotName="code-block",S.className="ql-code-block",S.tagName="DIV",_.blotName="code-block-container",_.className="ql-code-block-container",_.tagName="DIV",_.allowedChildren=[S],S.allowedChildren=[s.a,r.a,o.a],S.requiredContainer=_,S.TAB=" "},function(e,t,n){"use strict";var i=n(2),r=n(3),o=n(6),a=n(12),s=n(15);function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0){if(i instanceof o.a||s instanceof o.a)return void this.optimize();var u=s.children.head instanceof a.a?null:s.children.head;i.moveChildren(s,u),i.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,t,n,i){d(g(c.prototype),"formatAt",this).call(this,e,t,n,i),this.optimize()}},{key:"handleDragStart",value:function(e){e.preventDefault()}},{key:"insertAt",value:function(e,t,n){if(e>=this.length())if(null==n||null==this.scroll.query(t,i.Scope.BLOCK)){var r=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(r),null==n&&t.endsWith("\n")?r.insertAt(0,t.slice(0,-1),n):r.insertAt(0,t,n)}else{var o=this.scroll.create(t,n);this.appendChild(o)}else d(g(c.prototype),"insertAt",this).call(this,e,t,n);this.optimize()}},{key:"insertBefore",value:function(e,t){if(e.statics.scope===i.Scope.INLINE_BLOT){var n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(e),d(g(c.prototype),"insertBefore",this).call(this,n,t)}else d(g(c.prototype),"insertBefore",this).call(this,e,t)}},{key:"isEnabled",value:function(){return"true"===this.domNode.getAttribute("contenteditable")}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(y,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var o=[],a=r;return t.children.forEachAt(n,r,(function(t,n,r){y(t)?o.push(t):t instanceof i.ContainerBlot&&(o=o.concat(e(t,n,a))),a-=r})),o};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.batch||(d(g(c.prototype),"optimize",this).call(this,e,t),e.length>0&&this.emitter.emit(r.a.events.SCROLL_OPTIMIZE,e,t))}},{key:"path",value:function(e){return d(g(c.prototype),"path",this).call(this,e).slice(1)}},{key:"remove",value:function(){}},{key:"update",value:function(e){var t=this;if(this.batch)Array.isArray(e)&&(this.batch=this.batch.concat(e),this.toggleBlankClass());else{var n=r.a.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),(e=e.filter((function(e){var n=e.target,i=t.find(n,!0);return i&&i.scroll===t}))).length>0&&this.emitter.emit(r.a.events.SCROLL_BEFORE_UPDATE,n,e),d(g(c.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(r.a.events.SCROLL_UPDATE,n,e)}}}],n&&p(t.prototype,n),s&&p(t,s),c}(i.ScrollBlot);b.blotName="scroll",b.className="ql-editor",b.tagName="DIV",b.defaultChild=o.d,b.allowedChildren=[o.d,o.a,s.a],t.a=b},function(e,t){var n=Function.prototype,i=n.bind,r=n.call,o=i&&i.bind(r);e.exports=i?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},function(e,t){e.exports=function(e){return"function"==typeof e}},function(e,t,n){"use strict";var i=["error","warn","log","info"],r="warn";function o(e){if(i.indexOf(e)<=i.indexOf(r)){for(var t,n=arguments.length,o=new Array(n>1?n-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=E(e);if(null!=r){"function"===typeof n&&(n={handler:n}),"function"===typeof i&&(i={handler:i});var o=r.which?"which":"key",a=Array.isArray(r[o])?r[o]:[r[o]];a.forEach((function(e){var o=b(b(b({},r),{},{key:e},n),i);t.bindings[o.key]=t.bindings[o.key]||[],t.bindings[o.key].push(o)}))}else k.warn("Attempted to add invalid keyboard binding",r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(t){if(!t.defaultPrevented&&!t.isComposing){e.raiseOnKeydownCallback(t);var n=o.normalizeKeyName(t),i=(e.bindings[n]||[]).concat(e.bindings[t.which]||[]).filter((function(e){return o.match(t,e)}));if(0!==i.length){var r=e.quill.getSelection();if(null!=r&&e.quill.hasFocus()){var s=f(e.quill.getLine(r.index),2),u=s[0],c=s[1],p=f(e.quill.getLeaf(r.index),2),d=p[0],h=p[1],g=f(0===r.length?[d,h]:e.quill.getLeaf(r.index+r.length),2),y=g[0],b=g[1],v=d instanceof l.TextBlot?d.value().slice(0,h):"",_=y instanceof l.TextBlot?y.value().slice(b):"",S={collapsed:0===r.length,empty:0===r.length&&u.length()<=1,format:e.quill.getFormat(r),line:u,offset:c,prefix:v,suffix:_,event:t},x=!1;i.some((function(t){if(null!=t.collapsed&&t.collapsed!==S.collapsed)return!1;if(null!=t.empty&&t.empty!==S.empty)return!1;if(null!=t.offset&&t.offset!==S.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==S.format[e]})))return!1}else if("object"===m(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=S.format[e]:!1===t.format[e]?null==S.format[e]:a()(t.format[e],S.format[e])})))return!1;if(null!=t.prefix&&!t.prefix.test(S.prefix))return!1;if(null!=t.suffix&&!t.suffix.test(S.suffix))return!1;var n=t.handler.call(e,r,S,t),i=null===n||void 0===n?void 0:n.preventAfterAllMatches;return(x=!0!==n||i)&&!i})),x&&t.preventDefault()}}}}))}},{key:"raiseOnKeydownCallback",value:function(e){var t=this.options.onKeydown;t&&"function"===typeof t&&t(e)}},{key:"handleBackspace",value:function(e,t){var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;if(!(0===e.index||this.quill.getLength()<=1)){var i={},r=f(this.quill.getLine(e.index),1)[0],o=(new u.a).retain(e.index-n).delete(n);if(0===t.offset){var a=f(this.quill.getLine(e.index-1),1)[0];if(a&&!("block"===a.statics.blotName&&a.length()<=1)){var l=r.formats(),p=this.quill.getFormat(e.index-1,1);if(i=s.AttributeMap.diff(l,p)||{},Object.keys(i).length>0){var d=(new u.a).retain(e.index+r.length()-2).retain(1,i);o=o.compose(d)}}}this.quill.updateContents(o,c.a.sources.USER),this.quill.focus()}}},{key:"handleDelete",value:function(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var i={},r=f(this.quill.getLine(e.index),1)[0],o=(new u.a).retain(e.index).delete(n);if(t.offset>=r.length()-1){var a=f(this.quill.getLine(e.index+1),1)[0];if(a){var l=r.formats(),p=this.quill.getFormat(e.index,1);i=s.AttributeMap.diff(l,p)||{},Object.keys(i).length>0&&(o=o.retain(a.length()-1).retain(1,i))}}this.quill.updateContents(o,c.a.sources.USER),this.quill.focus()}}},{key:"handleDeleteRange",value:function(e,t){this.raiseOnKeydownCallback(t.event),R({range:e,quill:this.quill}),this.quill.focus()}},{key:"handleEnter",value:function(e,t){var n=this,i=Object.keys(t.format).reduce((function(e,i){return n.quill.scroll.query(i,l.Scope.BLOCK)&&!Array.isArray(t.format[i])&&(e[i]=t.format[i]),e}),{}),r=(new u.a).retain(e.index).delete(e.length).insert("\n",i);this.quill.updateContents(r,c.a.sources.USER),this.quill.setSelection(e.index+1,c.a.sources.SILENT),this.quill.focus();var o=f(this.quill.getLine(e.index+1),1)[0],a=function(e){var t=window.innerHeight,n=e.getBoundingClientRect(),i=n.y,r=n.bottom;return i<0||!(r>=t)&&null}(o.domNode);null!==a&&o.domNode.scrollIntoView(a),Object.keys(t.format).forEach((function(e){null==i[e]&&(Array.isArray(t.format[e])||"code"!==e&&"link"!==e&&(n.raiseOnKeydownCallback(t.event),n.quill.format(e,t.format[e],c.a.sources.USER)))}))}}],i=[{key:"match",value:function(e,t){return!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&(t.key===o.normalizeKeyName(e)||t.key===e.which)}},{key:"normalizeKeyName",value:function(e){var t=e.key,n=e.which,i=!!t,r=i?t:n;return r&&(r=i?I[r.toLowerCase()]||r:T[r]||String.fromCharCode(r)),r}}],n&&_(t.prototype,n),i&&_(t,i),o}(d.a);function D(e){return{key:"tab",shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=this.quill.scroll.query("code-block"),i=0===t.length?this.quill.getLines(t.index,1):this.quill.getLines(t),r=t.index,o=t.length;i.forEach((function(t,i){e?(t.insertAt(0,n.TAB),0===i?r+=n.TAB.length:o+=n.TAB.length):0===t.domNode.textContent.indexOf(n.TAB)&&(t.deleteAt(0,n.TAB.length),0===i?r-=n.TAB.length:o-=n.TAB.length)})),this.quill.update(c.a.sources.USER),this.quill.setSelection(r,o,c.a.sources.SILENT)}}}function P(e,t){var n;return v(n={key:e,shiftKey:t,altKey:null},"leftArrow"===e?"prefix":"suffix",/^$/),v(n,"handler",(function(n){var i=n.index;return"rightArrow"===e&&(i+=n.length+1),!(f(this.quill.getLeaf(i),1)[0]instanceof l.EmbedBlot)||("leftArrow"===e?t?this.quill.setSelection(n.index-1,n.length+1,c.a.sources.USER):this.quill.setSelection(n.index-1,c.a.sources.USER):t?this.quill.setSelection(n.index,n.length+1,c.a.sources.USER):this.quill.setSelection(n.index+n.length+1,c.a.sources.USER),!1)})),n}function N(e,t){return{key:e[0],which:t,shortKey:!0,handler:function(t,n){return this.quill.format(e,!n.format[e],c.a.sources.USER),{preventAfterAllMatches:!0}}}}function E(e){if("string"===typeof e||"number"===typeof e)e={key:e};else{if("object"!==m(e))return null;e=r()(e)}return e.shortKey&&(e[O]=e.shortKey,delete e.shortKey),e}function R(e){var t=e.quill,n=e.range,i=t.getLines(n),r={};if(i.length>1){var o=i[0].formats(),a=i[i.length-1].formats();r=s.AttributeMap.diff(a,o)||{}}t.deleteText(n,c.a.sources.USER),Object.keys(r).length>0&&t.formatLine(n.index,1,r,c.a.sources.USER),t.setSelection(n.index,c.a.sources.SILENT)}A.DEFAULTS={bindings:{bold:N("bold",66),italic:N("italic",73),underline:N("underline",85),indent:{key:"tab",format:["blockquote","indent","list"],handler:function(e,t){return!(!t.collapsed||0===t.offset)||(this.quill.format("indent","+1",c.a.sources.USER),!1)}},outdent:{key:"tab",shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){return!(!t.collapsed||0===t.offset)||(this.quill.format("indent","-1",c.a.sources.USER),!1)}},"outdent backspace":{key:"backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",c.a.sources.USER):null!=t.format.list&&this.quill.format("list",!1,c.a.sources.USER)}},"indent code-block":D(!0),"outdent code-block":D(!1),"remove tab":{key:"tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,c.a.sources.USER)}},tab:{key:"tab",handler:function(e,t){if(t.format.table)return!0;this.quill.history.cutoff();var n=(new u.a).retain(e.index).delete(e.length).insert("\t");return this.quill.updateContents(n,c.a.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,c.a.sources.SILENT),!1}},"blockquote empty enter":{key:"enter",collapsed:!0,format:["blockquote"],empty:!0,handler:function(){this.quill.format("blockquote",!1,c.a.sources.USER)}},"list empty enter":{key:"enter",collapsed:!0,format:["list"],empty:!0,handler:function(e,t){var n={list:!1};t.format.indent&&(n.indent=!1),this.quill.formatLine(e.index,e.length,n,c.a.sources.USER)}},"checklist enter":{key:"enter",collapsed:!0,format:{list:"checked"},handler:function(e){var t=f(this.quill.getLine(e.index),2),n=t[0],i=t[1],r=b(b({},n.formats()),{},{list:"checked"}),o=(new u.a).retain(e.index).insert("\n",r).retain(n.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(o,c.a.sources.USER),this.quill.setSelection(e.index+1,c.a.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:"enter",collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=f(this.quill.getLine(e.index),2),i=n[0],r=n[1],o=(new u.a).retain(e.index).insert("\n",t.format).retain(i.length()-r-1).retain(1,{header:null});this.quill.updateContents(o,c.a.sources.USER),this.quill.setSelection(e.index+1,c.a.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:"space",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){if(null==this.quill.scroll.query("list"))return!0;var n,i=t.prefix.length,r=f(this.quill.getLine(e.index),2),o=r[0],a=r[1];if(a>i)return!0;switch(t.prefix.trim()){case"[]":case"[ ]":n="unchecked";break;case"[x]":n="checked";break;case"-":case"*":n="bullet";break;default:n="ordered"}this.quill.insertText(e.index," ",c.a.sources.USER),this.quill.history.cutoff();var s=(new u.a).retain(e.index-a).delete(i+1).retain(o.length()-2-a).retain(1,{list:n});return this.raiseOnKeydownCallback(t.event),this.quill.updateContents(s,c.a.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-i,c.a.sources.SILENT),!1}},"code exit":{key:"enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler:function(e){for(var t=f(this.quill.getLine(e.index),2),n=t[0],i=t[1],r=2,o=n;null!=o&&o.length()<=1&&o.formats()["code-block"];)if(o=o.prev,(r-=1)<=0){var a=(new u.a).retain(e.index+n.length()-i-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(a,c.a.sources.USER),this.quill.setSelection(e.index-1,c.a.sources.SILENT),!1}return!0}},"embed left":P("leftArrow",!1),"embed left shift":P("leftArrow",!0),"embed right":P("rightArrow",!1),"embed right shift":P("rightArrow",!0)}}},function(e,t,n){var i=n(10),r=n(92),o=n(33),a=n(93),s=n(94),u=n(95),l=r("wks"),c=i.Symbol,p=c&&c.for,d=u?c:c&&c.withoutSetter||a;e.exports=function(e){if(!o(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&o(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):d(t)}return l[e]}},function(e,t,n){"use strict";n.d(t,"b",(function(){return j})),n.d(t,"d",(function(){return z})),n.d(t,"a",(function(){return L})),n.d(t,"c",(function(){return B}));var i=n(1),r=n.n(i),o=n(2),a=n(6),s=n(0),u=n(23),l=n(14),c=n(35),p=n(42),d=n(19),h=n(31),m=n(32),f=n(43),g=n(44),y=n(26),b=n(30);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,i=new Array(t);n0)return L(t,s)}return t}],[1,function(e,t){var n={},i=e.style||{};return["height","width"].forEach((function(t){var r=-1!==["TD","TH"].indexOf(e.tagName),o="TABLE"===e.tagName;if((r||o)&&i[t]){var a="".concat(o?"table":"cell").concat(Object(b.a)(t));n[a]=i[t]}})),"italic"===i.fontStyle&&(n.italic=!0),-1!==i.textDecoration.indexOf("underline")&&(n.underline=!0),-1!==i.textDecoration.indexOf("line-through")&&(n.strike=!0),(0===i.fontWeight.indexOf("bold")||parseInt(i.fontWeight,10)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=L(t,n)),parseFloat(i.textIndent||0)>0?(new r.a).insert("\t").concat(t):t}],["li",function(e,t,n){var i=n.query(e);if(null==i||"list"!==i.blotName||!B(t,"\n"))return t;for(var o=-1,a=e.parentNode;null!=a;)-1!==["OL","UL"].indexOf(a.tagName)&&(o+=1),a=a.parentNode;return o<=0?t:t.reduce((function(e,t){return t.attributes&&"number"===typeof t.attributes.indent?e.push(t):e.insert(t.insert,_({indent:o},t.attributes||{}))}),new r.a)}],["ol, ul",function(e,t){var n="OL"===e.tagName?"ordered":"bullet";return L(t,"list",n)}],["pre",function(e,t,n){var i=n.query("code-block"),r=!i||i.formats(e,n);return L(t,"code-block",r)}],["b",G.bind(G,"bold")],["i",G.bind(G,"italic")],["strike",G.bind(G,"strike")],["style",function(){return new r.a}]],E=[W,H],R=[c.a,m.a].reduce((function(e,t){return e[t.keyName]=t,e}),{}),M=[c.c,p.b,h.c,m.c,f.b,g.b].reduce((function(e,t){return e[t.keyName]=t,e}),{}),j=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(a,e);var t,n,i,o=T(a);function a(e,t){var n,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(i=o.call(this,e,t)).quill.root.addEventListener("copy",(function(e){return i.onCaptureCopy(e,!1)})),i.quill.root.addEventListener("cut",(function(e){return i.onCaptureCopy(e,!0)})),i.quill.root.addEventListener("paste",i.onCapturePaste.bind(A(i))),i.matchers=[],i.tableBlots=null!==(n=t.tableBlots)&&void 0!==n?n:[],N.concat(i.options.matchers).forEach((function(e){var t=C(e,2),n=t[0],r=t[1];i.addMatcher(n,r)})),i}return t=a,n=[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"addTableBlot",value:function(e){this.tableBlots.push(e)}},{key:"convert",value:function(e){var t=e.html,n=e.text,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i[d.c.blotName]?(new r.a).insert(n,x({},d.c.blotName,i[d.c.blotName])):t?this.applyMatchers(t,i):this.applyTextMatchers(n)}},{key:"applyTextMatchers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(0===t.length)return new r.a;var n=this.prepareTextMatching(),i=this.quill.root.ownerDocument.createElement("div");i.textContent=t;var o=i.childNodes[0];return n.reduce((function(t,n){return n(o,t,e.quill.scroll)}),new r.a)}},{key:"applyMatchers",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(new DOMParser).parseFromString(e,"text/html"),o=i.body,a=new WeakMap,s=this.prepareMatching(o,a),u=C(s,2),l=u[0],c=u[1],p=z(this.quill.scroll,o,l,c,a);return B(p,"\n")&&(null==p.ops[p.ops.length-1].attributes||Object.values(n).some((function(e){return t.tableBlots.includes(e)})))?p.compose((new r.a).retain(p.length()-1).delete(1)):p}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.a.sources.API;if("string"===typeof e){var i=this.convert({html:e,text:""});this.quill.setContents(i,t),this.quill.setSelection(0,s.a.sources.SILENT)}else{var o=this.convert({html:t,text:""});this.quill.updateContents((new r.a).retain(e).concat(o),n),this.quill.setSelection(e+o.length(),s.a.sources.SILENT)}}},{key:"onCaptureCopy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.defaultPrevented&&e.clipboardData){e.preventDefault();var n=this.quill.selection.getRange(),i=C(n,1),r=i[0];if(null!=r){var o=this.onCopy(r,t),a=o.html,s=o.text;e.clipboardData.setData("text/plain",s),e.clipboardData.setData("text/html",a),t&&(this.raiseCallback("onCut",e),Object(y.c)({range:r,quill:this.quill}))}}}},{key:"onCapturePaste",value:function(e){if(!e.defaultPrevented&&this.quill.isEnabled()&&(this.raiseCallback("onPaste",e),e.clipboardData)){e.preventDefault();var t=this.quill.getSelection(!0);if(null!=t){var n=e.clipboardData.getData("text/html"),i=Array.from(e.clipboardData.files||[]);if(!n&&i.length>0)this.quill.uploader.upload(t,i);else{if(n&&i.length>0){var r=(new DOMParser).parseFromString(n,"text/html").body;if(1===r.childElementCount&&"IMG"===r.firstElementChild.tagName)return void this.quill.uploader.upload(t,i)}var o=e.clipboardData.getData("text/plain");this.onPaste(t,{html:n,text:o})}}}}},{key:"raiseCallback",value:function(e,t){var n=this.options[e];n&&"function"===typeof n&&n(t)}},{key:"onCopy",value:function(e){var t=this.quill.getText(e);return{html:this.quill.getSemanticHTML(e),text:t}}},{key:"onPaste",value:function(e,t){var n=t.text,i=t.html,o=this.quill.getFormat(e.index),a=this.convert({text:n,html:i},o);P.log("onPaste",a,{text:n,html:i});var u=(new r.a).retain(e.index).delete(e.length).concat(a);this.quill.updateContents(u,s.a.sources.USER),this.quill.setSelection(u.length()-e.length,s.a.sources.SILENT),this.quill.scrollIntoView()}},{key:"prepareMatching",value:function(e,t){var n=[],i=[];return this.matchers.forEach((function(r){var o=C(r,2),a=o[0],s=o[1];switch(a){case 3:i.push(s);break;case 1:n.push(s);break;default:Array.from(e.querySelectorAll(a)).forEach((function(e){t.has(e)?t.get(e).push(s):t.set(e,[s])}))}})),[n,i]}},{key:"prepareTextMatching",value:function(){var e=[U];return this.matchers.forEach((function(t){var n=C(t,2),i=n[0],r=n[1];-1===E.indexOf(r)&&3===i&&e.push(r)})),e}}],n&&k(t.prototype,n),i&&k(t,i),a}(l.a);function L(e,t,n){return"object"===S(t)?Object.keys(t).reduce((function(e,n){return L(e,n,t[n])}),e):e.reduce((function(e,i){if(i.attributes&&i.attributes[t])return e.push(i);var r=n?x({},t,n):{};return e.insert(i.insert,_(_({},r),i.attributes))}),new r.a)}function B(e,t){for(var n="",i=e.ops.length-1;i>=0&&n.length0&&e.nextSibling)for(var i=e.nextSibling;null!=i;){if(F(i))return t.insert("\n");var r=n.query(i);if((null===r||void 0===r?void 0:r.prototype)instanceof a.a)return t.insert("\n");i=i.firstChild}}return t}function U(e,t){var n=e.data||"";return n=n.replace(/\r\n/g,"\n"),t.insert(n)}function W(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&-1!==n.indexOf("\n"))return t;if(!q(e)){var i=function(e,t){var n=t.replace(/[^\u00a0]/g,"");return n.length<1&&e?" ":n};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,i.bind(i,!0)),(null==e.previousSibling&&F(e.parentNode)||null!=e.previousSibling&&F(e.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==e.nextSibling&&F(e.parentNode)||null!=e.nextSibling&&F(e.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))}return t.insert(n)}},function(e,t,n){(function(e,n){var i="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",u="[object Date]",l="[object Error]",c="[object Function]",p="[object Map]",d="[object Number]",h="[object Object]",m="[object Promise]",f="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",v="[object WeakMap]",_="[object ArrayBuffer]",S="[object DataView]",x=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[o]=w[a]=w[_]=w[s]=w[S]=w[u]=w[l]=w[c]=w[p]=w[d]=w[h]=w[f]=w[g]=w[y]=w[v]=!1;var k="object"==typeof e&&e&&e.Object===Object&&e,I="object"==typeof self&&self&&self.Object===Object&&self,T=k||I||Function("return this")(),O=t&&!t.nodeType&&t,A=O&&"object"==typeof n&&n&&!n.nodeType&&n,D=A&&A.exports===O,P=D&&k.process,N=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),E=N&&N.isTypedArray;function R(e,t){for(var n=-1,i=null==e?0:e.length;++ns))return!1;var l=o.get(e);if(l&&o.get(t))return l==t;var c=-1,p=!0,d=2&n?new ve:void 0;for(o.set(e,t),o.set(t,e);++c-1},ye.prototype.set=function(e,t){var n=this.__data__,i=xe(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(re||ye),string:new ge}},be.prototype.delete=function(e){var t=De(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return De(this,e).get(e)},be.prototype.has=function(e){return De(this,e).has(e)},be.prototype.set=function(e,t){var n=De(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},ve.prototype.add=ve.prototype.push=function(e){return this.__data__.set(e,i),this},ve.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.clear=function(){this.__data__=new ye,this.size=0},_e.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},_e.prototype.get=function(e){return this.__data__.get(e)},_e.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var i=n.__data__;if(!re||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(i)}return n.set(e,t),this.size=n.size,this};var Ne=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=r}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ge(e){return null!=e&&"object"==typeof e}var He=E?function(e){return function(t){return e(t)}}(E):function(e){return Ge(e)&&qe(e.length)&&!!w[Ce(e)]};function Ue(e){return null!=(t=e)&&qe(t.length)&&!Ve(t)?Se(e):Te(e);var t}n.exports=function(e,t){return ke(e,t)}}).call(this,n(54),n(61)(e))},function(e,t,n){"use strict";function i(e){return e?e.substring(0,1).toUpperCase()+e.substring(1):""}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return m}));var i=n(2);function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n-1},Z.prototype.set=function(e,t){var n=this.__data__,i=ne(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(W||Z),string:new Y}},X.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},X.prototype.get=function(e){return he(this,e).get(e)},X.prototype.has=function(e){return he(this,e).has(e)},X.prototype.set=function(e,t){var n=he(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Q.prototype.clear=function(){this.__data__=new Z,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var i=n.__data__;if(!W||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new X(i)}return n.set(e,t),this.size=n.size,this};var re,oe=function(e,t,n){for(var i=-1,r=Object(e),o=n(e),a=o.length;a--;){var s=o[re?a:++i];if(!1===t(r[s],s,r))break}return e};function ae(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":q&&q in Object(e)?function(e){var t=O.call(e,q),n=e[q];try{e[q]=void 0;var i=!0}catch(o){}var r=D.call(e);return i&&(t?e[q]=n:delete e[q]),r}(e):function(e){return D.call(e)}(e)}function se(e){return Te(e)&&ae(e)==o}function ue(e){return!(!Ie(e)||function(e){return!!A&&A in e}(e))&&(we(e)?N:u).test(function(e){if(null!=e){try{return T.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function le(e){if(!Ie(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var i in e)("constructor"!=i||!t&&O.call(e,i))&&n.push(i);return n}function ce(e,t,n,i,r){e!==t&&oe(t,(function(o,a){if(r||(r=new Q),Ie(o))!function(e,t,n,i,r,o,a){var u=ye(e,n),l=ye(t,n),c=a.get(l);if(c)ee(e,n,c);else{var p,d=o?o(u,l,n+"",e,t,a):void 0,h=void 0===d;if(h){var m=Se(l),f=!m&&Ce(l),g=!m&&!f&&Oe(l);d=l,m||f||g?Se(u)?d=u:Te(p=u)&&xe(p)?d=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(de);function ve(e,t){return e===t||e!==e&&t!==t}var _e=se(function(){return arguments}())?se:function(e){return Te(e)&&O.call(e,"callee")&&!F.call(e,"callee")},Se=Array.isArray;function xe(e){return null!=e&&ke(e.length)&&!we(e)}var Ce=G||function(){return!1};function we(e){if(!Ie(e))return!1;var t=ae(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var Oe=v?function(e){return function(t){return e(t)}}(v):function(e){return Te(e)&&ke(e.length)&&!!c[ae(e)]};function Ae(e){return xe(e)?J(e,!0):le(e)}var De,Pe=(De=function(e,t,n){ce(e,t,n)},pe((function(e,t){var n=-1,i=t.length,r=i>1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=De.length>3&&"function"==typeof r?(i--,r):void 0,o&&function(e,t,n){if(!Ie(n))return!1;var i=typeof t;return!!("number"==i?xe(n)&&fe(t,n.length):"string"==i&&t in n)&&ve(n[t],e)}(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++n-1}p.blotName="link",p.tagName="A",p.SANITIZED_URL="about:blank",p.PROTOCOL_WHITELIST=["http","https","mailto","tel"]},function(e,t,n){"use strict";t.a=new WeakMap},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var i=n(2),r=n(31),o=new i.ClassAttributor("background","ql-bg",{scope:i.Scope.INLINE}),a=new r.a("background","background-color",{scope:i.Scope.INLINE})},function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return h}));var i=n(2);function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;ni&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r)}else this.lastRecorded=i;0!==n.length()&&(this.stack.undo.push(n),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){f(this.stack.undo,e),f(this.stack.redo,e)}},{key:"undo",value:function(){this.change("undo","redo")}}])&&u(t.prototype,n),i&&u(t,i),s}(o.a);function f(e,t){for(var n=t,i=e.length-1;i>=0;i-=1){var r=e[i];e[i]=n.transform(r,!0),n=r.transform(n),0===e[i].length()&&e.splice(i,1)}}function g(e,t){var n=t.reduce((function(e,t){return e+(t.delete||0)}),0),r=t.length()-n;return function(e,t){var n=t.ops[t.ops.length-1];return null!=n&&(null!=n.insert?"string"===typeof n.insert&&n.insert.endsWith("\n"):null!=n.attributes&&Object.keys(n.attributes).some((function(t){return null!=e.query(t,i.Scope.BLOCK)})))}(e,t)&&(r-=1),r}m.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1}},function(e,t,n){var i=n(22);e.exports=function(e){return"object"==typeof e?null!==e:i(e)}},function(e,t,n){var i=n(10),r=n(38),o=n(97),a=n(37),s=n(80),u=i.TypeError,l=Object.defineProperty;t.f=r?l:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return l(e,t,n)}catch(i){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(69),r=n(30),o=["name"];function a(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function s(e,t){var n=e.name,s=a(e,o);return new i.a("".concat(n).concat(Object(r.a)(t)),t,s)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(0);function r(e,t){return{key:e?"upArrow":"downArrow",collapsed:!0,format:t,handler:function(t,n){var r=e?"prev":"next",o=n.line,a=o.statics.blotName.indexOf("Line")>-1?o.parent:o,s=a.parent.parent[r],u=a.parent[r]||(null===s||void 0===s?void 0:s.children.head);if(null!=u){if("tableRow"===u.statics.blotName||"tableHeaderRow"===u.statics.blotName){for(var l=u.children.head,c=a;null!=c.prev;)c=c.prev,l=l.next;var p=l.offset(this.quill.scroll)+Math.min(n.offset,l.length()-1);this.quill.setSelection(p,0,i.a.sources.USER)}}else{var d=a.table()[r];null!=d&&(e?this.quill.setSelection(d.offset(this.quill.scroll)+d.length()-1,0,i.a.sources.USER):this.quill.setSelection(d.offset(this.quill.scroll),0,i.a.sources.USER))}return!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(2),r=n(69),o=n(70),a=n(9),s=n(8),u=n(28),l={table:s.a,cell:a.a};function c(e){var t=l[e];return function(e,n,a){var s=r.a.keys(e),l=o.a.keys(e),c={};return s.concat(l).forEach((function(n){var r=a.query(n,i.Scope.ATTRIBUTE);null!=r&&(c[r.attrName]=r.value(e),c[r.attrName])||null==(r=t[n])||r.attrName!==n&&r.keyName!==n||(r=t[n],c[r.attrName]=r.value(e)||void 0)})),Object.keys(c).length>0?Object(u.a)(n,c):n}}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n0&&this.options.handler.call(this,e,r,this.options.imageBlot)}}}])&&l(t.prototype,n),i&&l(t,i),o}(a.a);m.DEFAULTS={mimetypes:["image/png","image/jpeg","image/pjpeg","image/gif","image/webp","image/bmp","image/svg+xml","image/vnd.microsoft.icon"],imageBlot:"image",handler:function(e,t,n){var i=this,a=t.map((function(e){return new Promise((function(t){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.readAsDataURL(e)}))}));Promise.all(a).then((function(t){var a=t.reduce((function(e,t){return e.insert((o=t,(r=n)in(i={})?Object.defineProperty(i,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[r]=o,i));var i,r,o}),(new r.a).retain(e.index).delete(e.length));i.quill.updateContents(a,o.a.sources.USER),i.quill.setSelection(e.index+t.length,o.a.sources.SILENT)}))}},t.a=m},function(e,t,n){var i=n(10),r=n(22),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e]):i[e]&&i[e][t]}},function(e,t,n){var i=n(10),r=n(85).f,o=n(66),a=n(86),s=n(77),u=n(131),l=n(136);e.exports=function(e,t){var n,c,p,d,h,m=e.target,f=e.global,g=e.stat;if(n=f?i:g?i[m]||s(m,{}):(i[m]||{}).prototype)for(c in t){if(d=t[c],p=e.noTargetGet?(h=r(n,c))&&h.value:n[c],!l(f?c:m+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;u(d,p)}(e.sham||p&&p.sham)&&o(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){var i=n(130),r=n(65);e.exports=function(e){return i(r(e))}},function(e,t,n){"use strict";var i=n(2),r=n(11);function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n-1;if(i||h.b[e]||d.b[e]){var r,o,a,s="data-".concat(i?"table-":"").concat(e.toLowerCase());Object(f.a)(this.domNode,s,t),d.b[e]&&(null===(r=this.cell())||void 0===r||r.format(e,t)),h.b[e]&&(null===(o=this.cell())||void 0===o||null===(a=o.table())||void 0===a||a.format(e,t))}else w(A(n.prototype),"format",this).call(this,e,t)}},{key:"cell",value:function(){return"row"in this.parent?this.parent:null}}],[{key:"create",value:function(e){var t=w(A(n),"create",this).call(this,e);return D.forEach((function(n){var i,r="row"===n?H:U;t.setAttribute("".concat(P).concat(n),null!==(i=e[n])&&void 0!==i?i:r())})),t}},{key:"formats",value:function(e){return D.reduce((function(t,n){var i="".concat(P).concat(n);return e.hasAttribute(i)&&(t[n]=e.getAttribute(i)||void 0),t}),{})}}]),n}(u.d);N.blotName="tableCellLine",N.className="ql-table-cell-line",N.tagName="P";var E=function(e){k(n,e);var t=T(n);function n(){return S(this,n),t.apply(this,arguments)}return n}(N);E.blotName="tableHeaderCellLine",E.className="ql-table-header-cell-line";var R=function(e){k(n,e);var t=T(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"format",value:function(e,t){var n;null===(n=d.b[e])||void 0===n||n.add(this.domNode,t)}},{key:"checkMerge",value:function(){if(w(A(n.prototype),"checkMerge",this).call(this)&&null!=this.next.children.head){var e=this.children.head.formats()[this.children.head.statics.blotName],t=this.children.tail.formats()[this.children.tail.statics.blotName],i=this.next.children.head.formats()[this.next.children.head.statics.blotName],r=this.next.children.tail.formats()[this.next.children.tail.statics.blotName];return e.cell===t.cell&&e.cell===i.cell&&e.cell===r.cell}return!1}},{key:"formats",value:function(){return n.cellFormats(this.domNode)}},{key:"cellOffset",value:function(){return this.parent?this.parent.children.indexOf(this):-1}},{key:"row",value:function(){return"table"in this.parent?this.parent:null}},{key:"rowOffset",value:function(){return this.row()?this.row().rowOffset():-1}},{key:"table",value:function(){var e;return null===(e=this.row())||void 0===e?void 0:e.table()}},{key:"optimize",value:function(){var e,t,i=null!==(e=this.domNode.getAttribute("".concat(P,"row")))&&void 0!==e?e:this.domNode.getAttribute("".concat(P,"header-row"));!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName,{row:i});for(var r=arguments.length,o=new Array(r),a=0;ae.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(!Object(p.a)(e))return oe;var t=this.quill.getLine(e.index),n=X(t,2),i=n[0],r=n[1];if(!Object(p.a)(i)||-1===this.tableBlots.indexOf(i.statics.blotName))return oe;var o=i.parent,a=o.parent,s=a.parent.parent;return[s,a,o,r]}},{key:"insertColumn",value:function(e){var t=this.quill.getSelection(),n=X(this.getTable(t),3),i=n[0],r=n[1],o=n[2];if(Object(p.a)(o)){var s=o.cellOffset();i.insertColumn(s+e),this.quill.update(a.a.sources.USER);var u=r.rowOffset();0===e&&(u+=1),this.quill.setSelection(t.index+u,t.length,a.a.sources.SILENT)}}},{key:"insertColumnLeft",value:function(){this.insertColumn(0)}},{key:"insertColumnRight",value:function(){this.insertColumn(1)}},{key:"insertRow",value:function(e){var t=this.quill.getSelection(),n=X(this.getTable(t),3),i=n[0],r=n[1],o=n[2];if(Object(p.a)(o)){var s=r.rowOffset();i.insertRow(s+e),this.quill.update(a.a.sources.USER),e>0?this.quill.setSelection(t,a.a.sources.SILENT):this.quill.setSelection(t.index+r.children.length,t.length,a.a.sources.SILENT)}}},{key:"insertRowAbove",value:function(){this.insertRow(0)}},{key:"insertRowBelow",value:function(){this.insertRow(1)}},{key:"insertHeaderRow",value:function(){var e=this.quill.getSelection(),t=X(this.getTable(e),3),n=t[0],i=t[2];Object(p.a)(i)&&(n.insertHeaderRow(),this.quill.update(a.a.sources.USER))}},{key:"insertTable",value:function(e,t){var n=this.quill.getSelection();if(Object(p.a)(n)){var i=new Array(e).fill(0).reduce((function(e){var n=H();return new Array(t).fill("\n").forEach((function(t){e.insert(t,{tableCellLine:{row:n,cell:H()}})})),e}),(new r.a).retain(n.index));this.quill.updateContents(i,a.a.sources.USER),this.quill.setSelection(n.index,a.a.sources.SILENT),this.balanceTables()}}},{key:"tableFormats",value:function(){return this.tableBlots}},{key:"listenBalanceCells",value:function(){var e=this;this.quill.on(a.a.events.SCROLL_OPTIMIZE,(function(t){t.some((function(t){return-1!==["TD","TH","TR","TBODY","THEAD","TABLE"].indexOf(t.target.tagName)&&(e.quill.once(a.a.events.TEXT_CHANGE,(function(t,n,i){i===a.a.sources.USER&&e.balanceTables()})),!0)}))})),this.quill.on(a.a.events.CONTENT_SETTED,(function(){e.quill.once(a.a.events.TEXT_CHANGE,(function(){e.balanceTables()}))}))}}],i=[{key:"register",value:function(){a.a.register(N,!0),a.a.register(E,!0),a.a.register(j,!0),a.a.register(M,!0),a.a.register(F,!0),a.a.register(B,!0),a.a.register(q,!0),a.a.register(z,!0),a.a.register(G,!0),[h.b,d.b].forEach((function(e){Object.keys(e).forEach((function(t){a.a.register(Z({},"formats/".concat(t),e[t]),!0)}))}))}}],n&&ee(t.prototype,n),i&&ee(t,i),s}(s.a);function se(e,t){var n=e.parentNode,i="TABLE"===n.parentNode.tagName?n.parentNode:n.parentNode.parentNode,o="THEAD"===n.parentNode.tagName||null,a=Array.from(i.querySelectorAll("tr")),s=Array.from(n.querySelectorAll("th,td")),u=a.indexOf(n)+1,l=s.indexOf(e)+1,c=o?"tableHeaderCellLine":"tableCellLine";return 0===t.length()?t=(new r.a).insert("\n",Z({},c,{row:u,cell:l})):(Object(W.c)(t,"\n")||t.insert("\n"),Object(W.a)(t,c,{row:u,cell:l}))}ae.keyboardBindings={"table backspace":{key:"backspace",format:["tableCellLine","tableHeaderCellLine"],collapsed:!0,offset:0,handler:function(e){var t=X(this.quill.getLine(e.index),1)[0];return!(!t.prev||-1===["tableCellLine","tableHeaderCellLine"].indexOf(t.prev.statics.blotName))}},"table delete":{key:"del",format:["tableCellLine","tableHeaderCellLine"],collapsed:!0,suffix:/^$/,handler:function(){}},"table cell enter":{key:"enter",shiftKey:null,format:["tableCellLine","tableHeaderCellLine"],handler:function(e,t){var n,i=this;if(null===(n=this.quill.selection)||void 0===n||!n.composing){e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return i.quill.scroll.query(n,o.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r.tableCellLine,a.a.sources.USER),this.quill.setSelection(e.index+1,a.a.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&i.quill.format(e,t.format[e],a.a.sources.USER))}))}}},"table tab":{key:"tab",shiftKey:null,format:["tableCellLine","tableHeaderCellLine"],handler:function(e,t){var n=t.event,i=t.line,r=i.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(r-1,a.a.sources.USER):this.quill.setSelection(r+i.length(),a.a.sources.USER)}},"table down":Object(K.a)(!1,["tableCellLine","tableHeaderCellLine"]),"table up":Object(K.a)(!0,["tableCellLine","tableHeaderCellLine"])},t.a=ae},function(e,t){e.exports=!1},function(e,t,n){var i=n(10),r=n(65),o=i.Object;e.exports=function(e){return o(r(e))}},function(e,t,n){var i=n(10).TypeError;e.exports=function(e){if(void 0==e)throw i("Can't call method on "+e);return e}},function(e,t,n){var i=n(38),r=n(49),o=n(67);e.exports=i?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{allowedTags:[]};return r(this,p),(i=l.call(this,e,t,o)).allowedTags=null!==(n=o.allowedTags)&&void 0!==n?n:[],i}return t=p,(n=[{key:"canAdd",value:function(e,t){return this.allowedTags.indexOf(e.tagName)>-1&&a(c(p.prototype),"canAdd",this).call(this,e,t)}}])&&o(t.prototype,n),i&&o(t,i),p}(n(2).Attributor);t.a=p},function(e,t,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{allowedTags:[]};return r(this,p),(i=l.call(this,e,t,o)).allowedTags=null!==(n=o.allowedTags)&&void 0!==n?n:[],i}return t=p,(n=[{key:"canAdd",value:function(e,t){return this.allowedTags.indexOf(e.tagName)>-1&&a(c(p.prototype),"canAdd",this).call(this,e,t)}}])&&o(t.prototype,n),i&&o(t,i),p}(n(2).StyleAttributor);t.a=p},function(e,t,n){"use strict";var i=n(1),r=n.n(i),o=n(0),a=n(14),s=n(6),u=n(15),l=n(5),c=n(8),p=n(60),d=n(45);function h(e){return h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(e,t)||g(e,t)||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 f(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(!Object(l.a)(e))return te;var t=this.quill.getLine(e.index),n=K(t,2),i=n[0],r=n[1];if(!Object(l.a)(i)||-1===this.tableBlots.indexOf(i.statics.blotName))return te;var o=i.parent,a=o.parent.parent;return[a,o,i,r]}},{key:"insertColumn",value:function(e){var t=this.quill.getSelection(),n=K(this.getTable(t),3),i=n[0],r=n[1],a=n[2];if(Object(l.a)(a)){var s=a.cellOffset();i.insertColumn(s+e),this.quill.update(o.a.sources.USER);var u=r.rowOffset();0===e&&(u+=1),this.quill.setSelection(t.index+u,t.length,o.a.sources.SILENT)}}},{key:"insertColumnLeft",value:function(){this.insertColumn(0)}},{key:"insertColumnRight",value:function(){this.insertColumn(1)}},{key:"insertRow",value:function(e){var t=this.quill.getSelection(),n=K(this.getTable(t),3),i=n[0],r=n[1],a=n[2];if(Object(l.a)(a)){var s=r.rowOffset();i.insertRow(s+e),this.quill.update(o.a.sources.USER),e>0?this.quill.setSelection(t,o.a.sources.SILENT):this.quill.setSelection(t.index+r.children.length,t.length,o.a.sources.SILENT)}}},{key:"insertRowAbove",value:function(){this.insertRow(0)}},{key:"insertRowBelow",value:function(){this.insertRow(1)}},{key:"insertHeaderRow",value:function(){var e=this.quill.getSelection(),t=K(this.getTable(e),3),n=t[0],i=t[2];Object(l.a)(i)&&(n.insertHeaderRow(),this.quill.update(o.a.sources.USER))}},{key:"insertTable",value:function(e,t){var n=this.quill.getSelection();if(Object(l.a)(n)){var i=new Array(e).fill(0).reduce((function(e){var n=new Array(t).fill("\n").join("");return e.insert(n,{table:B()})}),(new r.a).retain(n.index));this.quill.updateContents(i,o.a.sources.USER),this.quill.setSelection(n.index,o.a.sources.SILENT),this.balanceTables()}}},{key:"tableFormats",value:function(){return this.tableBlots}},{key:"listenBalanceCells",value:function(){var e=this;this.quill.on(o.a.events.SCROLL_OPTIMIZE,(function(t){t.some((function(t){return-1!==["TD","TH","TR","TBODY","THEAD","TABLE"].indexOf(t.target.tagName)&&(e.quill.once(o.a.events.TEXT_CHANGE,(function(t,n,i){i===o.a.sources.USER&&e.balanceTables()})),!0)}))})),this.quill.on(o.a.events.CONTENT_SETTED,(function(){e.quill.once(o.a.events.TEXT_CHANGE,(function(){e.balanceTables()}))}))}}],i=[{key:"register",value:function(){o.a.register(D,!0),o.a.register(A,!0),o.a.register(E,!0),o.a.register(N,!0),o.a.register(M,!0),o.a.register(j,!0),o.a.register(L,!0),[c.b,U.b].forEach((function(e){Object.keys(e).forEach((function(t){var n,i,r;o.a.register((n={},i="formats/".concat(t),r=e[t],i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),!0)}))}))}}],n&&Z(t.prototype,n),i&&Z(t,i),s}(a.a);function ie(e,t){var n="TABLE"===e.parentNode.tagName?e.parentNode:e.parentNode.parentNode,i="THEAD"===e.parentNode.tagName||null,r=Array.from(n.querySelectorAll("tr")).indexOf(e)+1;return Object(F.a)(t,i?"tableHeaderCell":"table",r)}ne.keyboardBindings={"table backspace":{key:"backspace",format:["table","tableHeaderCell"],collapsed:!0,offset:0,handler:function(){}},"table delete":{key:"del",format:["table","tableHeaderCell"],collapsed:!0,suffix:/^$/,handler:function(){}},"table enter":{key:"enter",shiftKey:null,format:["table"],handler:function(e){var t=this.quill.getModule("table");if(t){var n=this.quill,i=K(t.getTable(e),4),r=i[0],o=G(i[1],i[2],i[3]),a=r.children.length>1&&r.children.head;if(null==o||o<0&&a)return;var s=r.offset();o<0?q({quill:n,index:s,range:e}):z({quill:n,index:s,table:r})}}},"table header enter":{key:"enter",shiftKey:null,format:["tableHeaderCell"],handler:function(e){var t=this.quill.getModule("table");if(t){var n=this.quill,i=K(t.getTable(e),4),r=i[0],o=G(i[1],i[2],i[3]);if(null==o)return;var a=r.offset(),s=r.children.length>1&&r.children.tail;o<0||o>0&&s?q({quill:n,index:a,range:e}):z({quill:n,index:a,table:r})}}},"table tab":{key:"tab",shiftKey:null,format:["table","tableHeaderCell"],handler:function(e,t){var n=t.event,i=t.line,r=i.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(r-1,o.a.sources.USER):this.quill.setSelection(r+i.length(),o.a.sources.USER)}},"table down":Object(V.a)(!1,["table","tableHeaderCell"]),"table up":Object(V.a)(!0,["table","tableHeaderCell"])},t.a=ne},function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return R}));var i=n(1),r=n.n(i),o=n(2),a=n(16),s=n(0),u=n(14),l=n(6),c=n(12),p=n(24),d=n(11),h=n(19),m=n(28),f=n(17);function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e,t)||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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]&&arguments[1];if(null!=this.children.head){var i=Array.from(this.domNode.childNodes).filter((function(e){return e!==t.uiNode})),o="".concat(i.map((function(e){return e.textContent})).join("\n"),"\n"),a=N.formats(this.children.head.domNode);if(n||this.forceNext||this.cachedText!==o){if(o.trim().length>0||null==this.cachedText){var s=this.children.reduce((function(e,t){return e.concat(Object(l.b)(t,!1))}),new r.a),u=e(o,a);s.diff(u).reduce((function(e,n){var i=n.retain,r=n.attributes;return i?(r&&Object.keys(r).forEach((function(n){-1!==[N.blotName,P.blotName].indexOf(n)&&t.formatAt(e,i,n,r[n])})),e+i):e}),0)}this.cachedText=o,this.forceNext=!1}}}},{key:"html",value:function(e,t){var n=b(this.children.find(e),1)[0],i=n?N.formats(n.domNode):"plain";return'
    \n').concat(this.code(e,t),"\n
    ")}},{key:"optimize",value:function(e){if(O(A(n.prototype),"optimize",this).call(this,e),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){var t=N.formats(this.children.head.domNode);t!==this.uiNode.value&&(this.uiNode.value=t)}}}]),n}(h.b);E.allowedChildren=[N],N.requiredContainer=E,N.allowedChildren=[P,p.a,d.a,c.a];var R=function(e){C(n,e);var t=k(n);function n(e,i){var r;if(_(this,n),null==(r=t.call(this,e,i)).options.hljs)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");return r.languages=r.options.languages.reduce((function(e,t){return e[t.key]=!0,e}),{}),r.highlightBlot=r.highlightBlot.bind(T(r)),r.initListener(),r.initTimer(),r}return x(n,[{key:"initListener",value:function(){var e=this;this.quill.on(s.a.events.SCROLL_BLOT_MOUNT,(function(t){if(t instanceof E){var n=e.quill.root.ownerDocument.createElement("select");e.options.languages.forEach((function(e){var t=e.key,i=e.label,r=n.ownerDocument.createElement("option");r.textContent=i,r.setAttribute("value",t),n.appendChild(r)})),n.addEventListener("change",(function(){t.format(N.blotName,n.value),e.quill.root.focus(),e.highlight(t,!0)})),null==t.uiNode&&(t.attachUI(n),t.children.head&&(n.value=N.formats(t.children.head.domNode)))}}))}},{key:"initTimer",value:function(){var e=this,t=null;this.quill.on(s.a.events.SCROLL_OPTIMIZE,(function(){clearTimeout(t),t=setTimeout((function(){e.highlight(),t=null}),e.options.interval)}))}},{key:"highlight",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.quill.selection.composing){this.quill.update(s.a.sources.USER);var i=this.quill.getSelection(),r=null==t?this.quill.scroll.descendants(E):[t];r.forEach((function(t){t.highlight(e.highlightBlot,n)})),this.quill.update(s.a.sources.SILENT),null!=i&&this.quill.setSelection(i,s.a.sources.SILENT)}}},{key:"highlightBlot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if("plain"===(t=this.languages[t]?t:"plain"))return Object(d.b)(e).split("\n").reduce((function(e,n,i){return 0!==i&&e.insert("\n",y({},h.c.blotName,t)),e.insert(n)}),new r.a);var n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(h.c.className),n.innerHTML=this.options.hljs.highlight(t,e).value,Object(m.d)(this.quill.scroll,n,[function(e,t){var n=D.value(e);return n?t.compose((new r.a).retain(t.length(),y({},P.blotName,n))):t}],[function(e,n){return e.data.split("\n").reduce((function(e,n,i){return 0!==i&&e.insert("\n",y({},h.c.blotName,t)),e.insert(n)}),n)}],new WeakMap)}}],[{key:"register",value:function(){s.a.register(P,!0),s.a.register(N,!0),s.a.register(E,!0)}}]),n}(u.a);R.DEFAULTS={hljs:Object(f.a)()?window.hljs:null,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"Javascript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?i:n)(t)}},function(e,t,n){var i=n(10),r=n(75),o=i.String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){var i=n(10),r=n(122),o=n(22),a=n(78),s=n(27)("toStringTag"),u=i.Object,l="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=u(e),s))?n:l?a(t):"Object"==(i=a(t))&&o(t.callee)?"Arguments":i}},function(e,t,n){var i=n(10),r=n(77),o="__core-js_shared__",a=i[o]||r(o,{});e.exports=a},function(e,t,n){var i=n(10),r=Object.defineProperty;e.exports=function(e,t){try{r(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},function(e,t,n){var i=n(21),r=i({}.toString),o=i("".slice);e.exports=function(e){return o(r(e),8,-1)}},function(e,t,n){var i=n(21),r=n(22),o=n(76),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},function(e,t,n){var i=n(126),r=n(99);e.exports=function(e){var t=i(e,"string");return r(t)?t:t+""}},function(e,t,n){var i=n(82);e.exports=function(e,t){var n=e[t];return null==n?void 0:i(n)}},function(e,t,n){var i=n(10),r=n(22),o=n(100),a=i.TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},function(e,t,n){var i=n(92),r=n(93),o=i("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t){e.exports={}},function(e,t,n){var i=n(38),r=n(39),o=n(101),a=n(67),s=n(58),u=n(80),l=n(33),c=n(97),p=Object.getOwnPropertyDescriptor;t.f=i?p:function(e,t){if(e=s(e),t=u(t),c)try{return p(e,t)}catch(n){}if(l(e,t))return a(!r(o.f,e,t),e[t])}},function(e,t,n){var i=n(10),r=n(22),o=n(33),a=n(66),s=n(77),u=n(79),l=n(96),c=n(102).CONFIGURABLE,p=l.get,d=l.enforce,h=String(String).split("String");(e.exports=function(e,t,n,u){var l,p=!!u&&!!u.unsafe,m=!!u&&!!u.enumerable,f=!!u&&!!u.noTargetGet,g=u&&void 0!==u.name?u.name:t;r(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||c&&n.name!==g)&&a(n,"name",g),(l=d(n)).source||(l.source=h.join("string"==typeof g?g:""))),e!==i?(p?!f&&e[t]&&(m=!0):delete e[t],m?e[t]=n:a(e,t,n)):m?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return r(this)&&p(this).source||u(this)}))},function(e,t,n){var i=n(105);e.exports=function(e){return i(e.length)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var i,r=n(37),o=n(138),a=n(88),s=n(84),u=n(139),l=n(98),c=n(83),p=c("IE_PROTO"),d=function(){},h=function(e){return"