@konfuzio/document-validation-ui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +11 -0
- package/.prettierrc.json +1 -0
- package/LICENSE +21 -0
- package/README.md +13 -0
- package/dist/css/app.0c8973f8.css +1 -0
- package/dist/css/chunk-vendors.053b6b6e.css +5 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +1 -0
- package/dist/js/app.17fe48c4.js +2 -0
- package/dist/js/app.17fe48c4.js.map +1 -0
- package/dist/js/chunk-vendors.a48fca3f.js +47 -0
- package/dist/js/chunk-vendors.a48fca3f.js.map +1 -0
- package/jest.config.js +4 -0
- package/package.json +60 -0
- package/src/.DS_Store +0 -0
- package/src/api.js +49 -0
- package/src/assets/images/AcceptedCheckMark.vue +8 -0
- package/src/assets/images/AcceptedUser.vue +8 -0
- package/src/assets/images/ActionIcon.vue +60 -0
- package/src/assets/images/ArrowDownKey.vue +11 -0
- package/src/assets/images/ArrowUpKey.vue +11 -0
- package/src/assets/images/CategoryIconImg.vue +13 -0
- package/src/assets/images/CheckMark.vue +8 -0
- package/src/assets/images/EditDocIcon.vue +12 -0
- package/src/assets/images/EmptyStateImg.vue +129 -0
- package/src/assets/images/ErrorIcon.vue +28 -0
- package/src/assets/images/EyeIcon.vue +11 -0
- package/src/assets/images/FileNameNotSavedImage.vue +26 -0
- package/src/assets/images/FileNameSavedImage.vue +14 -0
- package/src/assets/images/FitZoomIcon.vue +16 -0
- package/src/assets/images/KeyboardIcon.vue +16 -0
- package/src/assets/images/MinusIcon.vue +13 -0
- package/src/assets/images/NotOptimizedIllustration.vue +651 -0
- package/src/assets/images/PlusIcon.vue +13 -0
- package/src/assets/images/QuestionMark.vue +12 -0
- package/src/assets/images/ServerImage.vue +63 -0
- package/src/assets/images/SplitLines.vue +18 -0
- package/src/assets/images/SplitZigZag.vue +16 -0
- package/src/assets/images/StatusImg.vue +14 -0
- package/src/assets/images/UserIcon.vue +8 -0
- package/src/assets/scss/annotation_details.scss +126 -0
- package/src/assets/scss/categorize_modal.scss +42 -0
- package/src/assets/scss/choose_label_set_modal.scss +62 -0
- package/src/assets/scss/document_action_bar.scss +37 -0
- package/src/assets/scss/document_annotations.scss +472 -0
- package/src/assets/scss/document_category.scss +80 -0
- package/src/assets/scss/document_dashboard.scss +47 -0
- package/src/assets/scss/document_dataset_status.scss +46 -0
- package/src/assets/scss/document_edit.scss +431 -0
- package/src/assets/scss/document_error.scss +81 -0
- package/src/assets/scss/document_handover.scss +200 -0
- package/src/assets/scss/document_name.scss +62 -0
- package/src/assets/scss/document_page.scss +8 -0
- package/src/assets/scss/document_thumbnails.scss +41 -0
- package/src/assets/scss/document_toolbar.scss +89 -0
- package/src/assets/scss/document_top_bar.scss +139 -0
- package/src/assets/scss/document_viewport_modal.scss +25 -0
- package/src/assets/scss/documents_list.scss +130 -0
- package/src/assets/scss/empty_state.scss +34 -0
- package/src/assets/scss/extracting_data.scss +35 -0
- package/src/assets/scss/imports.scss +1 -0
- package/src/assets/scss/main.scss +24 -0
- package/src/assets/scss/multi_ann_table_popup.scss +12 -0
- package/src/assets/scss/new_annotation.scss +86 -0
- package/src/assets/scss/scrolling_document.scss +19 -0
- package/src/assets/scss/variables.scss +696 -0
- package/src/components/App.vue +112 -0
- package/src/components/DocumentAnnotations/ActionButtons.vue +237 -0
- package/src/components/DocumentAnnotations/AnnotationContent.vue +249 -0
- package/src/components/DocumentAnnotations/AnnotationDetails.vue +292 -0
- package/src/components/DocumentAnnotations/AnnotationRow.vue +616 -0
- package/src/components/DocumentAnnotations/CategorizeModal.vue +159 -0
- package/src/components/DocumentAnnotations/ChooseLabelSetModal.vue +155 -0
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +502 -0
- package/src/components/DocumentAnnotations/DocumentLabel.vue +148 -0
- package/src/components/DocumentAnnotations/EmptyAnnotation.vue +222 -0
- package/src/components/DocumentAnnotations/EmptyState.vue +21 -0
- package/src/components/DocumentAnnotations/ExtractingData.vue +29 -0
- package/src/components/DocumentAnnotations/LoadingAnnotations.vue +43 -0
- package/src/components/DocumentAnnotations/LoadingLabels.vue +43 -0
- package/src/components/DocumentAnnotations/RejectedLabels.vue +96 -0
- package/src/components/DocumentAnnotations/index.js +8 -0
- package/src/components/DocumentCategory.vue +156 -0
- package/src/components/DocumentDashboard.vue +159 -0
- package/src/components/DocumentEdit/DocumentEdit.vue +279 -0
- package/src/components/DocumentEdit/EditPages.vue +213 -0
- package/src/components/DocumentEdit/EditSidebar.vue +118 -0
- package/src/components/DocumentEdit/SplitOverview.vue +182 -0
- package/src/components/DocumentEdit/index.js +4 -0
- package/src/components/DocumentError.vue +53 -0
- package/src/components/DocumentPage/ActionBar.vue +48 -0
- package/src/components/DocumentPage/BoxSelection.vue +149 -0
- package/src/components/DocumentPage/DocumentPage.vue +517 -0
- package/src/components/DocumentPage/DocumentToolbar.vue +145 -0
- package/src/components/DocumentPage/DummyPage.vue +53 -0
- package/src/components/DocumentPage/MultiAnnSelection.vue +302 -0
- package/src/components/DocumentPage/MultiAnnotationTablePopup.vue +253 -0
- package/src/components/DocumentPage/NewAnnotation.vue +283 -0
- package/src/components/DocumentPage/ScrollingDocument.vue +108 -0
- package/src/components/DocumentPage/ScrollingPage.vue +184 -0
- package/src/components/DocumentPage/index.js +5 -0
- package/src/components/DocumentThumbnails/DocumentThumbnails.vue +92 -0
- package/src/components/DocumentThumbnails/LoadingThumbnail.vue +25 -0
- package/src/components/DocumentThumbnails/index.js +1 -0
- package/src/components/DocumentTopBar/DocumentDatasetStatus.vue +103 -0
- package/src/components/DocumentTopBar/DocumentHandover.vue +202 -0
- package/src/components/DocumentTopBar/DocumentName.vue +224 -0
- package/src/components/DocumentTopBar/DocumentTopBar.vue +144 -0
- package/src/components/DocumentTopBar/DocumentTopBarButtons.vue +148 -0
- package/src/components/DocumentTopBar/KeyboardActionsDescription.vue +71 -0
- package/src/components/DocumentTopBar/index.js +5 -0
- package/src/components/DocumentsList/DocumentsList.vue +126 -0
- package/src/components/DocumentsList/index.js +1 -0
- package/src/components/ErrorMessage.vue +40 -0
- package/src/components/NotOptimizedViewportModal.vue +54 -0
- package/src/constants.js +4 -0
- package/src/directives/scroll.js +28 -0
- package/src/i18n.js +23 -0
- package/src/locales/de.json +114 -0
- package/src/locales/en.json +114 -0
- package/src/locales/es.json +113 -0
- package/src/main.js +87 -0
- package/src/store/category.js +193 -0
- package/src/store/display.js +238 -0
- package/src/store/document.js +1057 -0
- package/src/store/edit.js +210 -0
- package/src/store/index.js +22 -0
- package/src/store/project.js +95 -0
- package/src/store/selection.js +179 -0
- package/src/utils/utils.js +3 -0
- package/vue.config.js +13 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
(self["webpackChunk_konfuzio_document_validation_ui"]=self["webpackChunk_konfuzio_document_validation_ui"]||[]).push([[998],{7810:(t,e,n)=>{"use strict";n.d(e,{GN:()=>E});var i=n(3636);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){if(null==t)return{};var n,i,r={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}function l(t,e){if(null==t)return{};var n,i,r=c(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function u(t){return h(t)||d(t)||f(t)||v()}function h(t){if(Array.isArray(t))return p(t)}function d(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function f(t,e){if(t){if("string"===typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{},g={exports:{}};(function(t){(function(e){var n=function(t,e,i){if(!l(e)||h(e)||d(e)||f(e)||c(e))return e;var r,a=0,o=0;if(u(e))for(r=[],o=e.length;a<o;a++)r.push(n(t,e[a],i));else for(var s in r={},e)Object.prototype.hasOwnProperty.call(e,s)&&(r[t(s,i)]=n(t,e[s],i));return r},i=function(t,e){e=e||{};var n=e.separator||"_",i=e.split||/(?=[A-Z])/;return t.split(i).join(n)},r=function(t){return p(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""})),t.substr(0,1).toLowerCase()+t.substr(1))},a=function(t){var e=r(t);return e.substr(0,1).toUpperCase()+e.substr(1)},o=function(t,e){return i(t,e).toLowerCase()},s=Object.prototype.toString,c=function(t){return"function"===typeof t},l=function(t){return t===Object(t)},u=function(t){return"[object Array]"==s.call(t)},h=function(t){return"[object Date]"==s.call(t)},d=function(t){return"[object RegExp]"==s.call(t)},f=function(t){return"[object Boolean]"==s.call(t)},p=function(t){return t-=0,t===t},v=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!==typeof n?t:function(e,i){return n(e,t,i)}},m={camelize:r,decamelize:o,pascalize:a,depascalize:o,camelizeKeys:function(t,e){return n(v(r,e),t)},decamelizeKeys:function(t,e){return n(v(o,e),t,e)},pascalizeKeys:function(t,e){return n(v(a,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=m:e.humps=m})(m)})(g);var y=g.exports,b=["class","style","attrs"];function _(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.indexOf(":"),i=y.camelize(e.slice(0,n)),r=e.slice(n+1).trim();return t[i]=r,t}),{})}function w(t){return t.split(/\s+/).reduce((function(t,e){return t[e]=!0,t}),{})}function k(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return Array.isArray(e)?t=t.concat(e):t.push(e),t}),[])}function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=(e.children||[]).map(x.bind(null,t)),o=Object.keys(e.attributes||{}).reduce((function(t,n){var i=e.attributes[n];switch(n){case"class":t["class"]=w(i);break;case"style":t["style"]=_(i);break;default:t.attrs[n]=i}return t}),{class:{},style:{},attrs:{}}),s=i.class,c=void 0===s?{}:s,u=i.style,h=void 0===u?{}:u,d=i.attrs,f=void 0===d?{}:d,p=l(i,b);return"string"===typeof e?e:t(e.tag,a(a({class:k(o.class,c),style:a(a({},o.style),h),attrs:a(a({},o.attrs),f)},p),{},{props:n}),r)}var S=!1;try{S=!0}catch(P){}function C(){var t;!S&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}function D(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?s({},t,e):{}}function T(t){var e,n=(e={"fa-spin":t.spin,"fa-spin-pulse":t.spinPulse,"fa-spin-reverse":t.spinReverse,"fa-pulse":t.pulse,"fa-beat":t.beat,"fa-fade":t.fade,"fa-flash":t.flash,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-flip":!0===t.flip,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},s(e,"fa-".concat(t.size),null!==t.size),s(e,"fa-rotate-".concat(t.rotation),null!==t.rotation),s(e,"fa-pull-".concat(t.pull),null!==t.pull),s(e,"fa-swap-opacity",t.swapOpacity),s(e,"fa-bounce",t.bounce),s(e,"fa-shake",t.shake),s(e,"fa-beat-fade",t.beatFade),e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))}function O(t,e){var n=0===(t||"").length?[]:[t];return n.concat(e).join(" ")}function A(t){return t&&"object"===o(t)&&t.prefix&&t.iconName&&t.icon?t:i.Qc.icon?i.Qc.icon(t):null===t?null:"object"===o(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"===typeof t?{prefix:"fas",iconName:t}:void 0}var E={name:"FontAwesomeIcon",functional:!0,props:{beat:{type:Boolean,default:!1},border:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,r=n.icon,o=n.mask,s=n.symbol,c=n.title,l=A(r),u=D("classes",T(n)),h=D("transform","string"===typeof n.transform?i.Qc.transform(n.transform):n.transform),d=D("mask",A(o)),f=(0,i.qv)(l,a(a(a(a({},u),h),d),{},{symbol:s,title:c}));if(!f)return C("Could not find one or more icon(s)",l,d);var p=f.abstract,v=x.bind(null,t);return v(p[0],{},e.data)}};Boolean,Boolean},6242:(t,e,n)=>{"use strict";n.d(e,{Xb:()=>v,Gd:()=>y,cu:()=>m});var i=n(655),r=n(2844),a=n(1170),o=n(2343),s=n(2991),c=n(2448),l="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,u=n(6769),h=n(535),d=function(){function t(t){this.errors=0,this.sid=(0,r.DM)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=(0,a.ph)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,a.ph)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:(0,r.DM)()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"===typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"===typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"===typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return(0,h.Jr)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"===typeof this.did||"string"===typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),f=4,p=100,v=function(){function t(t,e,n){void 0===e&&(e=new u.s),void 0===n&&(n=f),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){var e=this.getStackTop();e.client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=u.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:(0,r.DM)(),a=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}a={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,(0,i.pi)((0,i.pi)({},a),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var a=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),o=n;if(!n){var s=void 0;try{throw new Error(t)}catch(c){s=c}o={originalException:t,syntheticException:s}}return this._invokeClient("captureMessage",t,e,(0,i.pi)((0,i.pi)({},o),{event_id:a})),a},t.prototype.captureEvent=function(t,e){var n=e&&e.event_id?e.event_id:(0,r.DM)();return"transaction"!==t.type&&(this._lastEventId=n),this._invokeClient("captureEvent",t,(0,i.pi)((0,i.pi)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),r=n.scope,s=n.client;if(r&&s){var c=s.getOptions&&s.getOptions()||{},l=c.beforeBreadcrumb,u=void 0===l?null:l,h=c.maxBreadcrumbs,d=void 0===h?p:h;if(!(d<=0)){var f=(0,a.yW)(),v=(0,i.pi)({timestamp:f},t),m=u?(0,o.Cf)((function(){return u(v,e)})):v;null!==m&&r.addBreadcrumb(m,d)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,i=e.client;n&&i&&t(n)},t.prototype.run=function(t){var e=g(this);try{t(this)}finally{g(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return l&&o.kg.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&n.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,r=e.client,a=r&&r.getOptions()||{},o=a.release,c=a.environment,l=(0,s.R)(),u=(l.navigator||{}).userAgent,h=new d((0,i.pi)((0,i.pi)((0,i.pi)({release:o,environment:c},n&&{user:n.getUser()}),u&&{userAgent:u}),t));if(n){var f=n.getSession&&n.getSession();f&&"ok"===f.status&&f.update({status:"exited"}),this.endSession(),n.setSession(h)}return h},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var i=e.getSession&&e.getSession();i&&n&&n.captureSession&&n.captureSession(i)}},t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var a=this.getStackTop(),o=a.scope,s=a.client;s&&s[t]&&(e=s)[t].apply(e,(0,i.fl)(n,[o]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=m(),r=i.__SENTRY__;if(r&&r.extensions&&"function"===typeof r.extensions[t])return r.extensions[t].apply(this,e);l&&o.kg.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function m(){var t=(0,s.R)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function g(t){var e=m(),n=w(e);return k(e,t),n}function y(){var t=m();return _(t)&&!w(t).isOlderThan(f)||k(t,new v),(0,c.KV)()?b(t):w(t)}function b(t){try{var e=m().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return w(t);if(!_(n)||w(n).isOlderThan(f)){var i=w(t).getStackTop();k(n,new v(i.client,u.s.clone(i.scope)))}return w(n)}catch(r){return w(t)}}function _(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function w(t){return(0,s.Y)("hub",(function(){return new v}),t)}function k(t,e){if(!t)return!1;var n=t.__SENTRY__=t.__SENTRY__||{};return n.hub=e,!0}},6769:(t,e,n)=>{"use strict";n.d(e,{c:()=>h,s:()=>l});var i=n(655),r=n(7597),a=n(1170),o=n(6893),s=n(2991),c=100,l=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=(0,i.fl)(e._breadcrumbs),n._tags=(0,i.pi)({},e._tags),n._extra=(0,i.pi)({},e._extra),n._contexts=(0,i.pi)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=(0,i.fl)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=(0,i.pi)((0,i.pi)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=(0,i.pi)((0,i.pi)({},this._tags),(n={},n[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=(0,i.pi)((0,i.pi)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=(0,i.pi)((0,i.pi)({},this._extra),(n={},n[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=(0,i.pi)((0,i.pi)({},this._contexts),(n={},n[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"===typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=(0,i.pi)((0,i.pi)({},this._tags),e._tags),this._extra=(0,i.pi)((0,i.pi)({},this._extra),e._extra),this._contexts=(0,i.pi)((0,i.pi)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):(0,r.PO)(e)&&(this._tags=(0,i.pi)((0,i.pi)({},this._tags),e.tags),this._extra=(0,i.pi)((0,i.pi)({},this._extra),e.extra),this._contexts=(0,i.pi)((0,i.pi)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"===typeof e?Math.min(e,c):c;if(n<=0)return this;var r=(0,i.pi)({timestamp:(0,a.yW)()},t);return this._breadcrumbs=(0,i.fl)(this._breadcrumbs,[r]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=(0,i.pi)((0,i.pi)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=(0,i.pi)((0,i.pi)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=(0,i.pi)((0,i.pi)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=(0,i.pi)((0,i.pi)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=(0,i.pi)({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=(0,i.pi)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=(0,i.fl)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors((0,i.fl)(u(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=(0,i.pi)((0,i.pi)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,a){var s=this;return void 0===a&&(a=0),new o.cW((function(o,c){var l=t[a];if(null===e||"function"!==typeof l)o(e);else{var u=l((0,i.pi)({},e),n);(0,r.J8)(u)?u.then((function(e){return s._notifyEventProcessors(t,e,n,a+1).then(o)})).then(null,c):s._notifyEventProcessors(t,u,n,a+1).then(o).then(null,c)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function u(){return(0,s.Y)("globalEventProcessors",(function(){return[]}))}function h(t){u().push(t)}},6257:(t,e,n)=>{"use strict";n.d(e,{d:()=>i,x:()=>r});var i="finishReason",r=["heartbeatFailed","idleTimeout","documentHidden"]},8955:(t,e,n)=>{"use strict";n.d(e,{h:()=>i});var i="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},2758:(t,e,n)=>{"use strict";n.d(e,{ro:()=>k,lb:()=>b});var i=n(655),r=n(6242),a=n(2343),o=n(7597),s=n(2448),c=n(9732),l=n(8955),u=n(3233);function h(){(0,c.o)("error",d),(0,c.o)("unhandledrejection",d)}function d(){var t=(0,u.x1)();if(t){var e="internal_error";l.h&&a.kg.log("[Tracing] Transaction: "+e+" -> Global error occured"),t.setStatus(e)}}var f=n(6458),p=n(3391);function v(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function m(t,e,n){return(0,u.zu)(e)?void 0!==t.sampled?(t.setMetadata({transactionSampling:{method:"explicitly_set"}}),t):("function"===typeof e.tracesSampler?(i=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(i)}})):void 0!==n.parentSampled?(i=n.parentSampled,t.setMetadata({transactionSampling:{method:"inheritance"}})):(i=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:"client_rate",rate:Number(i)}})),g(i)?i?(t.sampled=Math.random()<i,t.sampled?(l.h&&a.kg.log("[Tracing] starting "+t.op+" transaction - "+t.name),t):(l.h&&a.kg.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(i)+")"),t)):(l.h&&a.kg.log("[Tracing] Discarding transaction because "+("function"===typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(l.h&&a.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)):(t.sampled=!1,t);var i}function g(t){return(0,o.i2)(t)||"number"!==typeof t&&"boolean"!==typeof t?(l.h&&a.kg.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(t)+" of type "+JSON.stringify(typeof t)+"."),!1):!(t<0||t>1)||(l.h&&a.kg.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+t+"."),!1)}function y(t,e){var n=this.getClient(),r=n&&n.getOptions()||{},a=new p.Y(t,this);return a=m(a,r,(0,i.pi)({parentSampled:t.parentSampled,transactionContext:t},e)),a.sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),a}function b(t,e,n,r,a){var o=t.getClient(),s=o&&o.getOptions()||{},c=new f.io(e,t,n,r);return c=m(c,s,(0,i.pi)({parentSampled:e.parentSampled,transactionContext:e},a)),c.sampled&&c.initSpanRecorder(s._experiments&&s._experiments.maxSpans),c}function _(){var t=(0,r.cu)();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=y),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=v))}function w(){var e=(0,r.cu)();if(e.__SENTRY__){var n={mongodb:function(){var e=(0,s.l$)(t,"./integrations/node/mongo");return new e.Mongo},mongoose:function(){var e=(0,s.l$)(t,"./integrations/node/mongo");return new e.Mongo({mongoose:!0})},mysql:function(){var e=(0,s.l$)(t,"./integrations/node/mysql");return new e.Mysql},pg:function(){var e=(0,s.l$)(t,"./integrations/node/postgres");return new e.Postgres}},a=Object.keys(n).filter((function(t){return!!(0,s.$y)(t)})).map((function(t){try{return n[t]()}catch(e){return}})).filter((function(t){return t}));a.length>0&&(e.__SENTRY__.integrations=(0,i.fl)(e.__SENTRY__.integrations||[],a))}}function k(){_(),(0,s.KV)()&&w(),h()}t=n.hmd(t)},6458:(t,e,n)=>{"use strict";n.d(e,{io:()=>f,nT:()=>u});var i=n(655),r=n(1170),a=n(2343),o=n(6257),s=n(8955),c=n(5334),l=n(3391),u=1e3,h=5e3,d=function(t){function e(e,n,i,r){void 0===i&&(i="");var a=t.call(this,r)||this;return a._pushActivity=e,a._popActivity=n,a.transactionSpanId=i,a}return(0,i.ZT)(e,t),e.prototype.add=function(e){var n=this;e.spanId!==this.transactionSpanId&&(e.finish=function(t){e.endTimestamp="number"===typeof t?t:(0,r._I)(),n._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),t.prototype.add.call(this,e)},e}(c.gB),f=function(t){function e(e,n,i,r){void 0===i&&(i=u),void 0===r&&(r=!1);var o=t.call(this,e,n)||this;return o._idleHub=n,o._idleTimeout=i,o._onScope=r,o.activities={},o._heartbeatCounter=0,o._finished=!1,o._beforeFinishCallbacks=[],n&&r&&(p(n),s.h&&a.kg.log("Setting idle transaction on scope. Span ID: "+o.spanId),n.configureScope((function(t){return t.setSpan(o)}))),o._initTimeout=setTimeout((function(){o._finished||o.finish()}),o._idleTimeout),o}return(0,i.ZT)(e,t),e.prototype.finish=function(e){var n,o,c=this;if(void 0===e&&(e=(0,r._I)()),this._finished=!0,this.activities={},this.spanRecorder){s.h&&a.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op);try{for(var l=(0,i.XA)(this._beforeFinishCallbacks),u=l.next();!u.done;u=l.next()){var h=u.value;h(this,e)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(t){if(t.spanId===c.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"),s.h&&a.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));var n=t.startTimestamp<e;return n||s.h&&a.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),n})),s.h&&a.kg.log("[Tracing] flushing IdleTransaction")}else s.h&&a.kg.log("[Tracing] No active IdleTransaction");return this._onScope&&p(this._idleHub),t.prototype.finish.call(this,e)},e.prototype.registerBeforeFinishCallback=function(t){this._beforeFinishCallbacks.push(t)},e.prototype.initSpanRecorder=function(t){var e=this;if(!this.spanRecorder){var n=function(t){e._finished||e._pushActivity(t)},i=function(t){e._finished||e._popActivity(t)};this.spanRecorder=new d(n,i,this.spanId,t),s.h&&a.kg.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)},e.prototype._pushActivity=function(t){this._initTimeout&&(clearTimeout(this._initTimeout),this._initTimeout=void 0),s.h&&a.kg.log("[Tracing] pushActivity: "+t),this.activities[t]=!0,s.h&&a.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)},e.prototype._popActivity=function(t){var e=this;if(this.activities[t]&&(s.h&&a.kg.log("[Tracing] popActivity "+t),delete this.activities[t],s.h&&a.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var n=this._idleTimeout,i=(0,r._I)()+n/1e3;setTimeout((function(){e._finished||(e.setTag(o.d,o.x[1]),e.finish(i))}),n)}},e.prototype._beat=function(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(s.h&&a.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.setTag(o.d,o.x[0]),this.finish()):this._pingHeartbeat()}},e.prototype._pingHeartbeat=function(){var t=this;s.h&&a.kg.log("pinging Heartbeat -> current counter: "+this._heartbeatCounter),setTimeout((function(){t._beat()}),h)},e}(l.Y);function p(t){if(t){var e=t.getScope();if(e){var n=e.getTransaction();n&&e.setSpan(void 0)}}}},2435:(t,e,n)=>{"use strict";n.d(e,{jK:()=>i});var i={};n.r(i),n.d(i,{gE:()=>tt});var r=n(2758),a=n(655),o=n(2343),s=n(2991),c=n(8955),l=n(6458),u=n(3233),h=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function d(t){var e=t.match(h);if(e){var n=void 0;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}}var f=n(6257),p=(0,s.R)();function v(){p&&p.document?p.document.addEventListener("visibilitychange",(function(){var t=(0,u.x1)();if(p.document.hidden&&t){var e="cancelled";c.h&&o.kg.log("[Tracing] Transaction: "+e+" -> since tab moved to the background, op: "+t.op),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.setTag(f.d,f.x[2]),t.finish()}})):c.h&&o.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var m=n(2448),g=n(1170),y=n(8464),b=function(t,e,n){var i;return function(r){e.value>=0&&(r||n)&&(e.delta=e.value-(i||0),(e.delta||void 0===i)&&(i=e.value,t(e)))}},_=function(){return"v2-"+Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12)},w=function(t,e){return{name:t,value:null!==e&&void 0!==e?e:-1,delta:0,entries:[],id:_()}},k=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(i){}},x=function(t,e){var n=function(i){"pagehide"!==i.type&&"hidden"!==(0,s.R)().document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},S=function(t,e){var n,i=w("CLS",0),r=0,a=[],o=function(t){if(t&&!t.hadRecentInput){var e=a[0],o=a[a.length-1];r&&0!==a.length&&t.startTime-o.startTime<1e3&&t.startTime-e.startTime<5e3?(r+=t.value,a.push(t)):(r=t.value,a=[t]),r>i.value&&(i.value=r,i.entries=a,n&&n())}},s=k("layout-shift",o);s&&(n=b(t,i,e),x((function(){s.takeRecords().map(o),n(!0)})))},C=-1,D=function(){return"hidden"===(0,s.R)().document.visibilityState?0:1/0},T=function(){x((function(t){var e=t.timeStamp;C=e}),!0)},O=function(){return C<0&&(C=D(),T()),{get firstHiddenTime(){return C}}},A=function(t,e){var n,i=O(),r=w("FID"),a=function(t){n&&t.startTime<i.firstHiddenTime&&(r.value=t.processingStart-t.startTime,r.entries.push(t),n(!0))},o=k("first-input",a);o&&(n=b(t,r,e),x((function(){o.takeRecords().map(a),o.disconnect()}),!0))},E={},P=function(t,e){var n,i=O(),r=w("LCP"),a=function(t){var e=t.startTime;e<i.firstHiddenTime&&(r.value=e,r.entries.push(t)),n&&n()},o=k("largest-contentful-paint",a);if(o){n=b(t,r,e);var s=function(){E[r.id]||(o.takeRecords().map(a),o.disconnect(),E[r.id]=!0,n(!0))};["keydown","click"].forEach((function(t){addEventListener(t,s,{once:!0,capture:!0})})),x(s,!0)}},M=(0,s.R)(),I=function(){function t(t){void 0===t&&(t=!1),this._reportAllChanges=t,this._measurements={},this._performanceCursor=0,!(0,m.KV)()&&M&&M.performance&&M.document&&(M.performance.mark&&M.performance.mark("sentry-tracing-init"),this._trackCLS(),this._trackLCP(),this._trackFID())}return t.prototype.addPerformanceEntries=function(t){var e=this;if(M&&M.performance&&M.performance.getEntries&&g.Z1){c.h&&o.kg.log("[Tracing] Adding & adjusting spans using Performance API");var n,i,r=(0,u.XL)(g.Z1);if(M.performance.getEntries().slice(this._performanceCursor).forEach((function(a){var s=(0,u.XL)(a.startTime),l=(0,u.XL)(a.duration);if(!("navigation"===t.op&&r+s<t.startTimestamp))switch(a.entryType){case"navigation":R(t,a,r),n=r+(0,u.XL)(a.responseStart),i=r+(0,u.XL)(a.requestStart);break;case"mark":case"paint":case"measure":var h=N(t,a,s,l,r),d=O(),f=a.startTime<d.firstHiddenTime;"first-paint"===a.name&&f&&(c.h&&o.kg.log("[Measurements] Adding FP"),e._measurements["fp"]={value:a.startTime},e._measurements["mark.fp"]={value:h}),"first-contentful-paint"===a.name&&f&&(c.h&&o.kg.log("[Measurements] Adding FCP"),e._measurements["fcp"]={value:a.startTime},e._measurements["mark.fcp"]={value:h});break;case"resource":var p=a.name.replace(M.location.origin,"");$(t,a,p,s,l,r);break;default:}})),this._performanceCursor=Math.max(performance.getEntries().length-1,0),this._trackNavigator(t),"pageload"===t.op){var a=(0,u.XL)(g.Z1);"number"===typeof n&&(c.h&&o.kg.log("[Measurements] Adding TTFB"),this._measurements["ttfb"]={value:1e3*(n-t.startTimestamp)},"number"===typeof i&&i<=n&&(this._measurements["ttfb.requestTime"]={value:1e3*(n-i)})),["fcp","fp","lcp"].forEach((function(n){if(e._measurements[n]&&!(a>=t.startTimestamp)){var i=e._measurements[n].value,r=a+(0,u.XL)(i),s=Math.abs(1e3*(r-t.startTimestamp)),l=s-i;c.h&&o.kg.log("[Measurements] Normalized "+n+" from "+i+" to "+s+" ("+l+")"),e._measurements[n].value=s}})),this._measurements["mark.fid"]&&this._measurements["fid"]&&B(t,{description:"first input delay",endTimestamp:this._measurements["mark.fid"].value+(0,u.XL)(this._measurements["fid"].value),op:"web.vitals",startTimestamp:this._measurements["mark.fid"].value}),"fcp"in this._measurements||delete this._measurements.cls,t.setMeasurements(this._measurements),z(t,this._lcpEntry,this._clsEntry),t.setTag("sentry_reportAllChanges",this._reportAllChanges)}}},t.prototype._trackNavigator=function(t){var e=M.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),j(n.rtt)&&(this._measurements["connection.rtt"]={value:n.rtt}),j(n.downlink)&&(this._measurements["connection.downlink"]={value:n.downlink})),j(e.deviceMemory)&&t.setTag("deviceMemory",String(e.deviceMemory)),j(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}},t.prototype._trackCLS=function(){var t=this;S((function(e){var n=e.entries.pop();n&&(c.h&&o.kg.log("[Measurements] Adding CLS"),t._measurements["cls"]={value:e.value},t._clsEntry=n)}))},t.prototype._trackLCP=function(){var t=this;P((function(e){var n=e.entries.pop();if(n){var i=(0,u.XL)(g.Z1),r=(0,u.XL)(n.startTime);c.h&&o.kg.log("[Measurements] Adding LCP"),t._measurements["lcp"]={value:e.value},t._measurements["mark.lcp"]={value:i+r},t._lcpEntry=n}}),this._reportAllChanges)},t.prototype._trackFID=function(){var t=this;A((function(e){var n=e.entries.pop();if(n){var i=(0,u.XL)(g.Z1),r=(0,u.XL)(n.startTime);c.h&&o.kg.log("[Measurements] Adding FID"),t._measurements["fid"]={value:e.value},t._measurements["mark.fid"]={value:i+r}}}))},t}();function R(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((function(i){L(t,e,i,n)})),L(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),L(t,e,"fetch",n,"cache","domainLookupStart"),L(t,e,"domainLookup",n,"DNS"),F(t,e,n)}function N(t,e,n,i,r){var a=r+n,o=a+i;return B(t,{description:e.name,endTimestamp:o,op:e.entryType,startTimestamp:a}),a}function $(t,e,n,i,r,a){if("xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType){var o={};"transferSize"in e&&(o["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(o["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(o["Decoded Body Size"]=e.decodedBodySize);var s=a+i,c=s+r;B(t,{description:n,endTimestamp:c,op:e.initiatorType?"resource."+e.initiatorType:"resource",startTimestamp:s,data:o})}}function L(t,e,n,i,r,a){var o=a?e[a]:e[n+"End"],s=e[n+"Start"];s&&o&&B(t,{op:"browser",description:null!==r&&void 0!==r?r:n,startTimestamp:i+(0,u.XL)(s),endTimestamp:i+(0,u.XL)(o)})}function F(t,e,n){B(t,{op:"browser",description:"request",startTimestamp:n+(0,u.XL)(e.requestStart),endTimestamp:n+(0,u.XL)(e.responseEnd)}),B(t,{op:"browser",description:"response",startTimestamp:n+(0,u.XL)(e.responseStart),endTimestamp:n+(0,u.XL)(e.responseEnd)})}function B(t,e){var n=e.startTimestamp,i=(0,a._T)(e,["startTimestamp"]);return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild((0,a.pi)({startTimestamp:n},i))}function j(t){return"number"===typeof t&&isFinite(t)}function z(t,e,n){e&&(c.h&&o.kg.log("[Measurements] Adding LCP Data"),e.element&&t.setTag("lcp.element",(0,y.R)(e.element)),e.id&&t.setTag("lcp.id",e.id),e.url&&t.setTag("lcp.url",e.url.trim().slice(0,200)),t.setTag("lcp.size",e.size)),n&&n.sources&&(c.h&&o.kg.log("[Measurements] Adding CLS Data"),n.sources.forEach((function(e,n){return t.setTag("cls.source."+(n+1),(0,y.R)(e.node))})))}var H=n(7321),V=n(9732),G=n(7597),W=["localhost",/^\//],U={traceFetch:!0,traceXHR:!0,tracingOrigins:W};function Y(t){var e=(0,a.pi)((0,a.pi)({},U),t),n=e.traceFetch,i=e.traceXHR,r=e.tracingOrigins,o=e.shouldCreateSpanForRequest,s={},c=function(t){if(s[t])return s[t];var e=r;return s[t]=e.some((function(e){return(0,H.zC)(t,e)}))&&!(0,H.zC)(t,"sentry_key"),s[t]},l=c;"function"===typeof o&&(l=function(t){return c(t)&&o(t)});var u={};n&&(0,V.o)("fetch",(function(t){q(t,l,u)})),i&&(0,V.o)("xhr",(function(t){X(t,l,u)}))}function q(t,e,n){if((0,u.zu)()&&t.fetchData&&e(t.fetchData.url))if(t.endTimestamp){var i=t.fetchData.__span;if(!i)return;var r=n[i];r&&(t.response?r.setHttpStatus(t.response.status):t.error&&r.setStatus("internal_error"),r.finish(),delete n[i])}else{var o=(0,u.x1)();if(o){r=o.startChild({data:(0,a.pi)((0,a.pi)({},t.fetchData),{type:"fetch"}),description:t.fetchData.method+" "+t.fetchData.url,op:"http.client"});t.fetchData.__span=r.spanId,n[r.spanId]=r;var s=t.args[0]=t.args[0],c=t.args[1]=t.args[1]||{},l=c.headers;(0,G.V9)(s,Request)&&(l=s.headers),l?"function"===typeof l.append?l.append("sentry-trace",r.toTraceparent()):l=Array.isArray(l)?(0,a.fl)(l,[["sentry-trace",r.toTraceparent()]]):(0,a.pi)((0,a.pi)({},l),{"sentry-trace":r.toTraceparent()}):l={"sentry-trace":r.toTraceparent()},c.headers=l}}}function X(t,e,n){if(!(!(0,u.zu)()||t.xhr&&t.xhr.__sentry_own_request__)&&t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)){var i=t.xhr.__sentry_xhr__;if(t.endTimestamp){var r=t.xhr.__sentry_xhr_span_id__;if(!r)return;var o=n[r];o&&(o.setHttpStatus(i.status_code),o.finish(),delete n[r])}else{var s=(0,u.x1)();if(s){o=s.startChild({data:(0,a.pi)((0,a.pi)({},i.data),{type:"xhr",method:i.method,url:i.url}),description:i.method+" "+i.url,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=o.spanId,n[t.xhr.__sentry_xhr_span_id__]=o,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",o.toTraceparent())}catch(c){}}}}}var K=(0,s.R)();function J(t,e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),K&&K.location){var i,r=K.location.href;e&&(i=t({name:K.location.pathname,op:"pageload"})),n&&(0,V.o)("history",(function(e){var n=e.to,a=e.from;void 0===a&&r&&-1!==r.indexOf(n)?r=void 0:a!==n&&(r=void 0,i&&(c.h&&o.kg.log("[Tracing] Finishing current transaction with op: "+i.op),i.finish()),i=t({name:K.location.pathname,op:"navigation"}))}))}else c.h&&o.kg.warn("Could not initialize routing instrumentation due to invalid location")}var Z=600,Q=(0,a.pi)({idleTimeout:l.nT,markBackgroundTransactions:!0,maxTransactionDuration:Z,routingInstrumentation:J,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},U),tt=function(){function t(e){this.name=t.id,this._configuredIdleTimeout=void 0;var n=U.tracingOrigins;e&&(this._configuredIdleTimeout=e.idleTimeout,e.tracingOrigins&&Array.isArray(e.tracingOrigins)&&0!==e.tracingOrigins.length?n=e.tracingOrigins:c.h&&(this._emitOptionsWarning=!0)),this.options=(0,a.pi)((0,a.pi)((0,a.pi)({},Q),e),{tracingOrigins:n});var i=this.options._metricOptions;this._metrics=new I(i&&i._reportAllChanges)}return t.prototype.setupOnce=function(t,e){var n=this;this._getCurrentHub=e,this._emitOptionsWarning&&(c.h&&o.kg.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),c.h&&o.kg.warn("[Tracing] We added a reasonable default for you: "+U.tracingOrigins));var i=this.options,r=i.routingInstrumentation,a=i.startTransactionOnLocationChange,s=i.startTransactionOnPageLoad,l=i.markBackgroundTransactions,u=i.traceFetch,h=i.traceXHR,d=i.tracingOrigins,f=i.shouldCreateSpanForRequest;r((function(t){return n._createRouteTransaction(t)}),s,a),l&&v(),Y({traceFetch:u,traceXHR:h,tracingOrigins:d,shouldCreateSpanForRequest:f})},t.prototype._createRouteTransaction=function(t){var e=this;if(this._getCurrentHub){var n=this.options,i=n.beforeNavigate,l=n.idleTimeout,h=n.maxTransactionDuration,d="pageload"===t.op?et():void 0,f=(0,a.pi)((0,a.pi)((0,a.pi)({},t),d),{trimEnd:!0}),p="function"===typeof i?i(f):f,v=void 0===p?(0,a.pi)((0,a.pi)({},f),{sampled:!1}):p;!1===v.sampled&&c.h&&o.kg.log("[Tracing] Will not send "+v.op+" transaction because of beforeNavigate."),c.h&&o.kg.log("[Tracing] Starting "+v.op+" transaction on scope");var m=this._getCurrentHub(),g=(0,s.R)().location,y=(0,r.lb)(m,v,l,!0,{location:g});return y.registerBeforeFinishCallback((function(t,n){e._metrics.addPerformanceEntries(t),it((0,u.WB)(h),t,n)})),y.setTag("idleTimeout",this._configuredIdleTimeout),y}c.h&&o.kg.warn("[Tracing] Did not create "+t.op+" transaction because _getCurrentHub is invalid.")},t.id="BrowserTracing",t}();function et(){var t=nt("sentry-trace");if(t)return d(t)}function nt(t){var e=(0,s.R)().document.querySelector("meta[name="+t+"]");return e?e.getAttribute("content"):null}function it(t,e,n){var i=n-e.startTimestamp,r=n&&(i>t||i<0);r&&(e.setStatus("deadline_exceeded"),e.setTag("maxTransactionDurationExceeded","true"))}(0,r.ro)()},5334:(t,e,n)=>{"use strict";n.d(e,{Dr:()=>c,gB:()=>s});var i=n(655),r=n(2844),a=n(1170),o=n(535),s=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this._maxlen=t}return t.prototype.add=function(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)},t}(),c=function(){function t(t){if(this.traceId=(0,r.DM)(),this.spanId=(0,r.DM)().substring(16),this.startTimestamp=(0,a._I)(),this.tags={},this.data={},!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(e){var n=new t((0,i.pi)((0,i.pi)({},e),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n},t.prototype.setTag=function(t,e){var n;return this.tags=(0,i.pi)((0,i.pi)({},this.tags),(n={},n[t]=e,n)),this},t.prototype.setData=function(t,e){var n;return this.data=(0,i.pi)((0,i.pi)({},this.data),(n={},n[t]=e,n)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t));var e=l(t);return"unknown_error"!==e&&this.setStatus(e),this},t.prototype.isSuccess=function(){return"ok"===this.status},t.prototype.finish=function(t){this.endTimestamp="number"===typeof t?t:(0,a._I)()},t.prototype.toTraceparent=function(){var t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),this.traceId+"-"+this.spanId+t},t.prototype.toContext=function(){return(0,o.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},t.prototype.updateWithContext=function(t){var e,n,i,r,a;return this.data=(e=t.data,null!==e&&void 0!==e?e:{}),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=(n=t.spanId,null!==n&&void 0!==n?n:this.spanId),this.startTimestamp=(i=t.startTimestamp,null!==i&&void 0!==i?i:this.startTimestamp),this.status=t.status,this.tags=(r=t.tags,null!==r&&void 0!==r?r:{}),this.traceId=(a=t.traceId,null!==a&&void 0!==a?a:this.traceId),this},t.prototype.getTraceContext=function(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}();function l(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}},3391:(t,e,n)=>{"use strict";n.d(e,{Y:()=>u});var i=n(655),r=n(6242),a=n(7597),o=n(2343),s=n(535),c=n(8955),l=n(5334),u=function(t){function e(e,n){var i=t.call(this,e)||this;return i._measurements={},i._hub=(0,r.Gd)(),(0,a.V9)(n,r.Xb)&&(i._hub=n),i.name=e.name||"",i.metadata=e.metadata||{},i._trimEnd=e.trimEnd,i.transaction=i,i}return(0,i.ZT)(e,t),e.prototype.setName=function(t){this.name=t},e.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new l.gB(t)),this.spanRecorder.add(this)},e.prototype.setMeasurements=function(t){this._measurements=(0,i.pi)({},t)},e.prototype.setMetadata=function(t){this.metadata=(0,i.pi)((0,i.pi)({},this.metadata),t)},e.prototype.finish=function(e){var n=this;if(void 0===this.endTimestamp){if(this.name||(c.h&&o.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),t.prototype.finish.call(this,e),!0===this.sampled){var i=this.spanRecorder?this.spanRecorder.spans.filter((function(t){return t!==n&&t.endTimestamp})):[];this._trimEnd&&i.length>0&&(this.endTimestamp=i.reduce((function(t,e){return t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t})).endTimestamp);var r={contexts:{trace:this.getTraceContext()},spans:i,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata},a=Object.keys(this._measurements).length>0;return a&&(c.h&&o.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),r.measurements=this._measurements),c.h&&o.kg.log("[Tracing] Finishing "+this.op+" transaction: "+this.name+"."),this._hub.captureEvent(r)}c.h&&o.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var s=this._hub.getClient(),l=s&&s.getTransport&&s.getTransport();l&&l.recordLostEvent&&l.recordLostEvent("sample_rate","transaction")}},e.prototype.toContext=function(){var e=t.prototype.toContext.call(this);return(0,s.Jr)((0,i.pi)((0,i.pi)({},e),{name:this.name,trimEnd:this._trimEnd}))},e.prototype.updateWithContext=function(e){var n;return t.prototype.updateWithContext.call(this,e),this.name=(n=e.name,null!==n&&void 0!==n?n:""),this._trimEnd=e.trimEnd,this},e}(l.Dr)},3233:(t,e,n)=>{"use strict";n.d(e,{WB:()=>s,XL:()=>o,x1:()=>a,zu:()=>r});var i=n(6242);function r(t){var e=(0,i.Gd)().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function a(t){var e=t||(0,i.Gd)(),n=e.getScope();return n&&n.getTransaction()}function o(t){return t/1e3}function s(t){return 1e3*t}},8464:(t,e,n)=>{"use strict";n.d(e,{R:()=>a,l:()=>s});var i=n(2991),r=n(7597);function a(t,e){try{var n=t,i=5,r=80,a=[],s=0,c=0,l=" > ",u=l.length,h=void 0;while(n&&s++<i){if(h=o(n,e),"html"===h||s>1&&c+a.length*u+h.length>=r)break;a.push(h),c+=h.length,n=n.parentNode}return a.reverse().join(l)}catch(d){return"<unknown>"}}function o(t,e){var n,i,a,o,s,c=t,l=[];if(!c||!c.tagName)return"";l.push(c.tagName.toLowerCase());var u=e&&e.length?e.filter((function(t){return c.getAttribute(t)})).map((function(t){return[t,c.getAttribute(t)]})):null;if(u&&u.length)u.forEach((function(t){l.push("["+t[0]+'="'+t[1]+'"]')}));else if(c.id&&l.push("#"+c.id),n=c.className,n&&(0,r.HD)(n))for(i=n.split(/\s+/),s=0;s<i.length;s++)l.push("."+i[s]);var h=["type","name","title","alt"];for(s=0;s<h.length;s++)a=h[s],o=c.getAttribute(a),o&&l.push("["+a+'="'+o+'"]');return l.join("")}function s(){var t=(0,i.R)();try{return t.document.location.href}catch(e){return""}}},8795:(t,e,n)=>{"use strict";n.d(e,{h:()=>i});var i="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},2991:(t,e,n)=>{"use strict";n.d(e,{R:()=>a,Y:()=>o});var i=n(2448),r={};function a(){return(0,i.KV)()?n.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:r}function o(t,e,n){var i=n||a(),r=i.__SENTRY__=i.__SENTRY__||{},o=r[t]||(r[t]=e());return o}},9732:(t,e,n)=>{"use strict";n.d(e,{o:()=>m});var i,r=n(655),a=n(8795),o=n(2991),s=n(7597),c=n(2343),l=n(535),u=n(360),h=n(8823),d=(0,o.R)(),f={},p={};function v(t){if(!p[t])switch(p[t]=!0,t){case"console":y();break;case"dom":E();break;case"xhr":k();break;case"fetch":b();break;case"history":x();break;case"error":M();break;case"unhandledrejection":R();break;default:return void(a.h&&c.kg.warn("unknown instrumentation type:",t))}}function m(t,e){f[t]=f[t]||[],f[t].push(e),v(t)}function g(t,e){var n,i;if(t&&f[t])try{for(var o=(0,r.XA)(f[t]||[]),s=o.next();!s.done;s=o.next()){var l=s.value;try{l(e)}catch(h){a.h&&c.kg.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+(0,u.$P)(l)+"\nError:",h)}}}catch(d){n={error:d}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function y(){"console"in d&&c.RU.forEach((function(t){t in d.console&&(0,l.hl)(d.console,t,(function(e){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];g("console",{args:n,level:t}),e&&e.apply(d.console,n)}}))}))}function b(){(0,h.t$)()&&(0,l.hl)(d,"fetch",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i={args:e,fetchData:{method:_(e),url:w(e)},startTimestamp:Date.now()};return g("fetch",(0,r.pi)({},i)),t.apply(d,e).then((function(t){return g("fetch",(0,r.pi)((0,r.pi)({},i),{endTimestamp:Date.now(),response:t})),t}),(function(t){throw g("fetch",(0,r.pi)((0,r.pi)({},i),{endTimestamp:Date.now(),error:t})),t}))}}))}function _(t){return void 0===t&&(t=[]),"Request"in d&&(0,s.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function w(t){return void 0===t&&(t=[]),"string"===typeof t[0]?t[0]:"Request"in d&&(0,s.V9)(t[0],Request)?t[0].url:String(t[0])}function k(){if("XMLHttpRequest"in d){var t=XMLHttpRequest.prototype;(0,l.hl)(t,"open",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=this,r=e[1],a=i.__sentry_xhr__={method:(0,s.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1]};(0,s.HD)(r)&&"POST"===a.method&&r.match(/sentry_key/)&&(i.__sentry_own_request__=!0);var o=function(){if(4===i.readyState){try{a.status_code=i.status}catch(t){}g("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:i})}};return"onreadystatechange"in i&&"function"===typeof i.onreadystatechange?(0,l.hl)(i,"onreadystatechange",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return o(),t.apply(i,e)}})):i.addEventListener("readystatechange",o),t.apply(i,e)}})),(0,l.hl)(t,"send",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),g("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}}function x(){if((0,h.Bf)()){var t=d.onpopstate;d.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=d.location.href,a=i;if(i=r,g("history",{from:a,to:r}),t)try{return t.apply(this,e)}catch(o){}},(0,l.hl)(d.history,"pushState",e),(0,l.hl)(d.history,"replaceState",e)}function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length>2?e[2]:void 0;if(r){var a=i,o=String(r);i=o,g("history",{from:a,to:o})}return t.apply(this,e)}}}var S,C,D=1e3;function T(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}function O(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(n){}return!0}function A(t,e){return void 0===e&&(e=!1),function(n){if(n&&C!==n&&!O(n)){var i="keypress"===n.type?"input":n.type;(void 0===S||T(C,n))&&(t({event:n,name:i,global:e}),C=n),clearTimeout(S),S=d.setTimeout((function(){S=void 0}),D)}}}function E(){if("document"in d){var t=g.bind(null,"dom"),e=A(t,!0);d.document.addEventListener("click",e,!1),d.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var n=d[e]&&d[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,l.hl)(n,"addEventListener",(function(e){return function(n,i,r){if("click"===n||"keypress"==n)try{var a=this,o=a.__sentry_instrumentation_handlers__=a.__sentry_instrumentation_handlers__||{},s=o[n]=o[n]||{refCount:0};if(!s.handler){var c=A(t);s.handler=c,e.call(this,n,c,r)}s.refCount+=1}catch(l){}return e.call(this,n,i,r)}})),(0,l.hl)(n,"removeEventListener",(function(t){return function(e,n,i){if("click"===e||"keypress"==e)try{var r=this,a=r.__sentry_instrumentation_handlers__||{},o=a[e];o&&(o.refCount-=1,o.refCount<=0&&(t.call(this,e,o.handler,i),o.handler=void 0,delete a[e]),0===Object.keys(a).length&&delete r.__sentry_instrumentation_handlers__)}catch(s){}return t.call(this,e,n,i)}})))}))}}var P=null;function M(){P=d.onerror,d.onerror=function(t,e,n,i,r){return g("error",{column:i,error:r,line:n,msg:t,url:e}),!!P&&P.apply(this,arguments)}}var I=null;function R(){I=d.onunhandledrejection,d.onunhandledrejection=function(t){return g("unhandledrejection",t),!I||I.apply(this,arguments)}}},7597:(t,e,n)=>{"use strict";n.d(e,{Cy:()=>m,HD:()=>l,J8:()=>v,Kj:()=>p,PO:()=>h,TX:()=>s,V9:()=>y,VW:()=>o,VZ:()=>r,cO:()=>d,fm:()=>c,i2:()=>g,kK:()=>f,pt:()=>u});var i=Object.prototype.toString;function r(t){switch(i.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function a(t,e){return i.call(t)==="[object "+e+"]"}function o(t){return a(t,"ErrorEvent")}function s(t){return a(t,"DOMError")}function c(t){return a(t,"DOMException")}function l(t){return a(t,"String")}function u(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function h(t){return a(t,"Object")}function d(t){return"undefined"!==typeof Event&&y(t,Event)}function f(t){return"undefined"!==typeof Element&&y(t,Element)}function p(t){return a(t,"RegExp")}function v(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function m(t){return h(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function g(t){return"number"===typeof t&&t!==t}function y(t,e){try{return t instanceof e}catch(n){return!1}}},2343:(t,e,n)=>{"use strict";n.d(e,{Cf:()=>u,RU:()=>l,kg:()=>i});var i,r=n(655),a=n(8795),o=n(2991),s=(0,o.R)(),c="Sentry Logger ",l=["debug","info","warn","error","log","assert"];function u(t){var e=(0,o.R)();if(!("console"in e))return t();var n=e.console,i={};l.forEach((function(t){var r=n[t]&&n[t].__sentry_original__;t in e.console&&r&&(i[t]=n[t],n[t]=r)}));try{return t()}finally{Object.keys(i).forEach((function(t){n[t]=i[t]}))}}function h(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return a.h?l.forEach((function(n){e[n]=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];t&&u((function(){var t;(t=s.console)[n].apply(t,(0,r.fl)([c+"["+n+"]:"],e))}))}})):l.forEach((function(t){e[t]=function(){}})),e}i=a.h?(0,o.Y)("logger",h):h()},2844:(t,e,n)=>{"use strict";n.d(e,{DM:()=>o,Db:()=>u,EG:()=>h,YO:()=>d,en:()=>s,jH:()=>l});var i=n(655),r=n(2991),a=n(535);function o(){var t=(0,r.R)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var i=function(t){var e=t.toString(16);while(e.length<4)e="0"+e;return e};return i(n[0])+i(n[1])+i(n[2])+i(n[3])+i(n[4])+i(n[5])+i(n[6])+i(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0,n="x"===t?e:3&e|8;return n.toString(16)}))}function s(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",i=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+i}}function c(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function l(t){var e=t.message,n=t.event_id;if(e)return e;var i=c(t);return i?i.type&&i.value?i.type+": "+i.value:i.type||i.value||n||"<unknown>":n||"<unknown>"}function u(t,e,n){var i=t.exception=t.exception||{},r=i.values=i.values||[],a=r[0]=r[0]||{};a.value||(a.value=e||""),a.type||(a.type=n||"Error")}function h(t,e){var n=c(t);if(n){var r={type:"generic",handled:!0},a=n.mechanism;if(n.mechanism=(0,i.pi)((0,i.pi)((0,i.pi)({},r),a),e),e&&"data"in e){var o=(0,i.pi)((0,i.pi)({},a&&a.data),e.data);n.mechanism.data=o}}}function d(t){if(t&&t.__sentry_captured__)return!0;try{(0,a.xp)(t,"__sentry_captured__",!0)}catch(e){}return!1}},2448:(t,e,n)=>{"use strict";function i(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function r(){return!i()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function a(t,e){return t.require(e)}function o(e){var n;try{n=a(t,e)}catch(r){}try{var i=a(t,"process").cwd;n=a(t,i()+"/node_modules/"+e)}catch(r){}return n}n.d(e,{l$:()=>a,KV:()=>r,$y:()=>o}),t=n.hmd(t)},535:(t,e,n)=>{"use strict";n.d(e,{$Q:()=>l,HK:()=>u,Jr:()=>m,Sh:()=>d,_j:()=>h,hl:()=>s,xp:()=>c,zf:()=>v});var i=n(655),r=n(8464),a=n(7597),o=n(7321);function s(t,e,n){if(e in t){var i=t[e],r=n(i);if("function"===typeof r)try{l(r,i)}catch(a){}t[e]=r}}function c(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function l(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}function u(t){return t.__sentry_original__}function h(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function d(t){var e=t;if((0,a.VZ)(t))e=(0,i.pi)({message:t.message,name:t.name,stack:t.stack},p(t));else if((0,a.cO)(t)){var n=t;e=(0,i.pi)({type:n.type,target:f(n.target),currentTarget:f(n.currentTarget)},p(n)),"undefined"!==typeof CustomEvent&&(0,a.V9)(t,CustomEvent)&&(e.detail=n.detail)}return e}function f(t){try{return(0,a.kK)(t)?(0,r.R)(t):Object.prototype.toString.call(t)}catch(e){return"<unknown>"}}function p(t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(t,e){void 0===e&&(e=40);var n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,o.$G)(n[0],e);for(var i=n.length;i>0;i--){var r=n.slice(0,i).join(", ");if(!(r.length>e))return i===n.length?r:(0,o.$G)(r,e)}return""}function m(t){var e,n;if((0,a.PO)(t)){var r={};try{for(var o=(0,i.XA)(Object.keys(t)),s=o.next();!s.done;s=o.next()){var c=s.value;"undefined"!==typeof t[c]&&(r[c]=m(t[c]))}}catch(l){e={error:l}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}return Array.isArray(t)?t.map(m):t}},360:(t,e,n)=>{"use strict";n.d(e,{$P:()=>c,pE:()=>a});var i=n(655),r=50;function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.sort((function(t,e){return t[0]-e[0]})).map((function(t){return t[1]}));return function(t,e){var r,a,s,c;void 0===e&&(e=0);var l=[];try{for(var u=(0,i.XA)(t.split("\n").slice(e)),h=u.next();!h.done;h=u.next()){var d=h.value;try{for(var f=(s=void 0,(0,i.XA)(n)),p=f.next();!p.done;p=f.next()){var v=p.value,m=v(d);if(m){l.push(m);break}}}catch(g){s={error:g}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}}}catch(y){r={error:y}}finally{try{h&&!h.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}return o(l)}}function o(t){if(!t.length)return[];var e=t,n=e[0].function||"",a=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==a.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,r).map((function(t){return(0,i.pi)((0,i.pi)({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})})).reverse()}var s="<anonymous>";function c(t){try{return t&&"function"===typeof t&&t.name||s}catch(e){return s}}},7321:(t,e,n)=>{"use strict";n.d(e,{$G:()=>r,nK:()=>a,zC:()=>o});var i=n(7597);function r(t,e){return void 0===e&&(e=0),"string"!==typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function a(t,e){if(!Array.isArray(t))return"";for(var n=[],i=0;i<t.length;i++){var r=t[i];try{n.push(String(r))}catch(a){n.push("[value cannot be serialized]")}}return n.join(e)}function o(t,e){return!!(0,i.HD)(t)&&((0,i.Kj)(e)?e.test(t):"string"===typeof e&&-1!==t.indexOf(e))}},8823:(t,e,n)=>{"use strict";n.d(e,{Ak:()=>o,Bf:()=>u,Du:()=>s,hv:()=>l,t$:()=>c});var i=n(8795),r=n(2991),a=n(2343);function o(){if(!("fetch"in(0,r.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function s(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function c(){if(!o())return!1;var t=(0,r.R)();if(s(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"===typeof n.createElement)try{var c=n.createElement("iframe");c.hidden=!0,n.head.appendChild(c),c.contentWindow&&c.contentWindow.fetch&&(e=s(c.contentWindow.fetch)),n.head.removeChild(c)}catch(l){i.h&&a.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",l)}return e}function l(){if(!o())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}function u(){var t=(0,r.R)(),e=t.chrome,n=e&&e.app&&e.app.runtime,i="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&i}},6893:(t,e,n)=>{"use strict";n.d(e,{$2:()=>a,WD:()=>r,cW:()=>o});var i=n(7597);function r(t){return new o((function(e){e(t)}))}function a(t){return new o((function(e,n){n(t)}))}var o=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,n){0===e._state&&((0,i.J8)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)}))}};try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.prototype.then=function(e,n){var i=this;return new t((function(t,r){i._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(i){r(i)}else t(n)},function(e){if(n)try{t(n(e))}catch(i){r(i)}else r(e)}]),i._executeHandlers()}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,i){var r,a;return n.then((function(t){a=!1,r=t,e&&e()}),(function(t){a=!0,r=t,e&&e()})).then((function(){a?i(r):t(r)}))}))},t}()},1170:(t,e,n)=>{"use strict";n.d(e,{Z1:()=>f,_I:()=>d,ph:()=>h,yW:()=>u});var i=n(2991),r=n(2448);t=n.hmd(t);var a={nowSeconds:function(){return Date.now()/1e3}};function o(){var t=(0,i.R)().performance;if(t&&t.now){var e=Date.now()-t.now();return{now:function(){return t.now()},timeOrigin:e}}}function s(){try{var e=(0,r.l$)(t,"perf_hooks");return e.performance}catch(n){return}}var c=(0,r.KV)()?s():o(),l=void 0===c?a:{nowSeconds:function(){return(c.timeOrigin+c.now())/1e3}},u=a.nowSeconds.bind(a),h=l.nowSeconds.bind(l),d=h,f=function(){var t=(0,i.R)().performance;if(t&&t.now){var e=36e5,n=t.now(),r=Date.now(),a=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,o=a<e,s=t.timing&&t.timing.navigationStart,c="number"===typeof s,l=c?Math.abs(s+n-r):e,u=l<e;return o||u?a<=l?("timeOrigin",t.timeOrigin):("navigationStart",s):("dateNow",r)}"none"}()},3019:(t,e,n)=>{"use strict";n.d(e,{S:()=>Qn});var i=n(655),r="6.19.7",a=n(2343),o=n(2844),s=n(7321),c="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],u=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var i=n();if(i){var r=i.getIntegration(t);if(r){var a=i.getClient(),o=a?a.getOptions():{},s=h(r._options,o);return d(e,s)?null:e}}return e}))},t.id="InboundFilters",t}();function h(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:(0,i.fl)(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:(0,i.fl)(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:(0,i.fl)(t.ignoreErrors||[],e.ignoreErrors||[],l),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}function d(t,e){return e.ignoreInternal&&g(t)?(c&&a.kg.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,o.jH)(t)),!0):f(t,e.ignoreErrors)?(c&&a.kg.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,o.jH)(t)),!0):p(t,e.denyUrls)?(c&&a.kg.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,o.jH)(t)+".\nUrl: "+b(t)),!0):!v(t,e.allowUrls)&&(c&&a.kg.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,o.jH)(t)+".\nUrl: "+b(t)),!0)}function f(t,e){return!(!e||!e.length)&&m(t).some((function(t){return e.some((function(e){return(0,s.zC)(t,e)}))}))}function p(t,e){if(!e||!e.length)return!1;var n=b(t);return!!n&&e.some((function(t){return(0,s.zC)(n,t)}))}function v(t,e){if(!e||!e.length)return!0;var n=b(t);return!n||e.some((function(t){return(0,s.zC)(n,t)}))}function m(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,i=void 0===n?"":n,r=e.value,s=void 0===r?"":r;return[""+s,i+": "+s]}catch(l){return c&&a.kg.error("Cannot extract message for event "+(0,o.jH)(t)),[]}return[]}function g(t){try{return"SentryError"===t.exception.values[0].type}catch(e){}return!1}function y(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function b(t){try{if(t.stacktrace)return y(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(n){}return e?y(e):null}catch(i){return c&&a.kg.error("Cannot extract url for event "+(0,o.jH)(t)),null}}var _,w=n(535),k=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){_=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,w.HK)(this)||this;return _.apply(n,t)}},t.id="FunctionToString",t}(),x=n(6242);function S(t,e){!0===e.debug&&(c?a.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=(0,x.Gd)(),i=n.getScope();i&&i.update(e.initialScope);var r=new t(e);n.bindClient(r)}var C=n(2991),D=n(9732),T=n(6769),O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?A:E);function A(t,e){return t.__proto__=e,t}function E(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n]);return t}var P=function(t){function e(e){var n=this.constructor,i=t.call(this,e)||this;return i.message=e,i.name=n.prototype.constructor.name,O(i,n.prototype),i}return(0,i.ZT)(e,t),e}(Error),M=n(8795),I=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function R(t){return"http"===t||"https"===t}function N(t,e){void 0===e&&(e=!1);var n=t.host,i=t.path,r=t.pass,a=t.port,o=t.projectId,s=t.protocol,c=t.publicKey;return s+"://"+c+(e&&r?":"+r:"")+"@"+n+(a?":"+a:"")+"/"+(i?i+"/":i)+o}function $(t){var e=I.exec(t);if(!e)throw new P("Invalid Sentry Dsn: "+t);var n=(0,i.CR)(e.slice(1),6),r=n[0],a=n[1],o=n[2],s=void 0===o?"":o,c=n[3],l=n[4],u=void 0===l?"":l,h=n[5],d="",f=h,p=f.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),f=p.pop()),f){var v=f.match(/^\d+/);v&&(f=v[0])}return L({host:c,pass:s,path:d,projectId:f,port:u,protocol:r,publicKey:a})}function L(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function F(t){if(M.h){var e=t.port,n=t.projectId,i=t.protocol,r=["protocol","publicKey","host","projectId"];if(r.forEach((function(e){if(!t[e])throw new P("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))throw new P("Invalid Sentry Dsn: Invalid projectId "+n);if(!R(i))throw new P("Invalid Sentry Dsn: Invalid protocol "+i);if(e&&isNaN(parseInt(e,10)))throw new P("Invalid Sentry Dsn: Invalid port "+e);return!0}}function B(t){var e="string"===typeof t?$(t):L(t);return F(e),e}var j=n(7597),z=n(6893),H=n(1170);function V(){var t="function"===typeof WeakSet,e=t?new WeakSet:[];function n(n){if(t)return!!e.has(n)||(e.add(n),!1);for(var i=0;i<e.length;i++){var r=e[i];if(r===n)return!0}return e.push(n),!1}function i(n){if(t)e.delete(n);else for(var i=0;i<e.length;i++)if(e[i]===n){e.splice(i,1);break}}return[n,i]}var G=n(360);function W(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return Y("",t,e,n)}catch(i){return{ERROR:"**non-serializable** ("+i+")"}}}function U(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var i=W(t,e);return K(i)>n?U(t,e-1,n):i}function Y(t,e,n,r,a){void 0===n&&(n=1/0),void 0===r&&(r=1/0),void 0===a&&(a=V());var o=(0,i.CR)(a,2),s=o[0],c=o[1],l=e;if(l&&"function"===typeof l.toJSON)try{return l.toJSON()}catch(m){}if(null===e||["number","boolean","string"].includes(typeof e)&&!(0,j.i2)(e))return e;var u=q(t,e);if(!u.startsWith("[object "))return u;if(0===n)return u.replace("object ","");if(s(e))return"[Circular ~]";var h=Array.isArray(e)?[]:{},d=0,f=(0,j.VZ)(e)||(0,j.cO)(e)?(0,w.Sh)(e):e;for(var p in f)if(Object.prototype.hasOwnProperty.call(f,p)){if(d>=r){h[p]="[MaxProperties ~]";break}var v=f[p];h[p]=Y(p,v,n-1,r,a),d+=1}return c(e),h}function q(t,e){try{return"domain"===t&&e&&"object"===typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!==typeof n.g&&e===n.g?"[Global]":"undefined"!==typeof window&&e===window?"[Window]":"undefined"!==typeof document&&e===document?"[Document]":(0,j.Cy)(e)?"[SyntheticEvent]":"number"===typeof e&&e!==e?"[NaN]":void 0===e?"[undefined]":"function"===typeof e?"[Function: "+(0,G.$P)(e)+"]":"symbol"===typeof e?"["+String(e)+"]":"bigint"===typeof e?"[BigInt: "+String(e)+"]":"[object "+Object.getPrototypeOf(e).constructor.name+"]"}catch(i){return"**non-serializable** ("+i+")"}}function X(t){return~-encodeURI(t).split(/%..|./).length}function K(t){return X(JSON.stringify(t))}var J=[];function Z(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function Q(t){var e=t.defaultIntegrations&&(0,i.fl)(t.defaultIntegrations)||[],n=t.integrations,r=(0,i.fl)(Z(e));Array.isArray(n)?r=(0,i.fl)(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),Z(n)):"function"===typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var a=r.map((function(t){return t.name})),o="Debug";return-1!==a.indexOf(o)&&r.push.apply(r,(0,i.fl)(r.splice(a.indexOf(o),1))),r}function tt(t){-1===J.indexOf(t.name)&&(t.setupOnce(T.c,x.Gd),J.push(t.name),c&&a.kg.log("Integration installed: "+t.name))}function et(t){var e={};return Q(t).forEach((function(t){e[t.name]=t,tt(t)})),(0,w.xp)(e,"initialized",!0),e}var nt="Not capturing exception because it's already been captured.",it=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=B(e.dsn))}return t.prototype.captureException=function(t,e,n){var i=this;if(!(0,o.YO)(t)){var r=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return i._captureEvent(t,e,n)})).then((function(t){r=t}))),r}c&&a.kg.log(nt)},t.prototype.captureMessage=function(t,e,n,i){var r=this,a=n&&n.event_id,o=(0,j.pt)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(o.then((function(t){return r._captureEvent(t,n,i)})).then((function(t){a=t}))),a},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&(0,o.YO)(e.originalException))){var i=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){i=t}))),i}c&&a.kg.log(nt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!==typeof t.release?c&&a.kg.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):c&&a.kg.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then((function(n){return e.getTransport().close(t).then((function(t){return n&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=et(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return c&&a.kg.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,a=!1,o=!1,s=e.exception&&e.exception.values;if(s){o=!0;try{for(var c=(0,i.XA)(s),l=c.next();!l.done;l=c.next()){var u=l.value,h=u.mechanism;if(h&&!1===h.handled){a=!0;break}}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}var d="ok"===t.status,f=d&&0===t.errors||d&&a;f&&(t.update((0,i.pi)((0,i.pi)({},a&&{status:"crashed"}),{errors:t.errors||Number(o||a)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new z.cW((function(n){var i=0,r=1,a=setInterval((function(){0==e._numProcessing?(clearInterval(a),n(!0)):(i+=r,t&&i>=t&&(clearInterval(a),n(!1)))}),r)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,a=this.getOptions(),s=a.normalizeDepth,c=void 0===s?3:s,l=a.normalizeMaxBreadth,u=void 0===l?1e3:l,h=(0,i.pi)((0,i.pi)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:(0,o.DM)()),timestamp:t.timestamp||(0,H.yW)()});this._applyClientOptions(h),this._applyIntegrationsMetadata(h);var d=e;n&&n.captureContext&&(d=T.s.clone(d).update(n.captureContext));var f=(0,z.WD)(h);return d&&(f=d.applyToEvent(h,n)),f.then((function(t){return t&&(t.sdkProcessingMetadata=(0,i.pi)((0,i.pi)({},t.sdkProcessingMetadata),{normalizeDepth:W(c)+" ("+typeof c+")"})),"number"===typeof c&&c>0?r._normalizeEvent(t,c,u):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=(0,i.pi)((0,i.pi)((0,i.pi)((0,i.pi)((0,i.pi)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return(0,i.pi)((0,i.pi)({},t),t.data&&{data:W(t.data,e,n)})}))}),t.user&&{user:W(t.user,e,n)}),t.contexts&&{contexts:W(t.contexts,e,n)}),t.extra&&{extra:W(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=(0,i.pi)((0,i.pi)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,i=e.release,r=e.dist,a=e.maxValueLength,o=void 0===a?250:a;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==i&&(t.release=i),void 0===t.dist&&void 0!==r&&(t.dist=r),t.message&&(t.message=(0,s.$G)(t.message,o));var c=t.exception&&t.exception.values&&t.exception.values[0];c&&c.value&&(c.value=(0,s.$G)(c.value,o));var l=t.request;l&&l.url&&(l.url=(0,s.$G)(l.url,o))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=(0,i.fl)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){c&&a.kg.error(t)}))},t.prototype._processEvent=function(t,e,n){var i=this,r=this.getOptions(),a=r.beforeSend,o=r.sampleRate,s=this.getTransport();function c(t,e){s.recordLostEvent&&s.recordLostEvent(t,e)}if(!this._isEnabled())return(0,z.$2)(new P("SDK not enabled, will not capture event."));var l="transaction"===t.type;return!l&&"number"===typeof o&&Math.random()>o?(c("sample_rate","event"),(0,z.$2)(new P("Discarding event because it's not included in the random sample (sampling rate = "+o+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw c("event_processor",t.type||"event"),new P("An event processor returned null, will not send event.");var i=e&&e.data&&!0===e.data.__sentry__;if(i||l||!a)return n;var r=a(n,e);return rt(r)})).then((function(e){if(null===e)throw c("before_send",t.type||"event"),new P("`beforeSend` returned `null`, will not send event.");var r=n&&n.getSession&&n.getSession();return!l&&r&&i._updateSessionFromEvent(r,e),i._sendEvent(e),e})).then(null,(function(t){if(t instanceof P)throw t;throw i.captureException(t,{data:{__sentry__:!0},originalException:t}),new P("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then((function(t){return e._numProcessing-=1,t}),(function(t){return e._numProcessing-=1,t}))},t}();function rt(t){var e="`beforeSend` method has to return `null` or a valid event.";if((0,j.J8)(t))return t.then((function(t){if(!(0,j.PO)(t)&&null!==t)throw new P(e);return t}),(function(t){throw new P("beforeSend rejected with "+t)}));if(!(0,j.PO)(t)&&null!==t)throw new P(e);return t}var at="7";(function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=B(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return st(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return ut(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return ht(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return ft(this._dsnObject,this._tunnel)}})();function ot(t,e,n){return{initDsn:t,metadata:e||{},dsn:B(t),tunnel:n}}function st(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function ct(t,e){return""+st(t)+t.projectId+"/"+e+"/"}function lt(t){return(0,w._j)({sentry_key:t.publicKey,sentry_version:at})}function ut(t){return ct(t,"store")}function ht(t){return ut(t)+"?"+lt(t)}function dt(t){return ct(t,"envelope")}function ft(t,e){return e||dt(t)+"?"+lt(t)}function pt(t,e){var n=B(t),i=st(n)+"embed/error-page/",r="dsn="+N(n);for(var a in e)if("dsn"!==a)if("user"===a){if(!e.user)continue;e.user.name&&(r+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(r+="&email="+encodeURIComponent(e.user.email))}else r+="&"+encodeURIComponent(a)+"="+encodeURIComponent(e[a]);return i+"?"+r}function vt(t,e){return void 0===e&&(e=[]),[t,e]}function mt(t){var e=(0,i.CR)(t,2),n=(0,i.CR)(e[1],1),r=(0,i.CR)(n[0],1),a=r[0];return a.type}function gt(t){var e=(0,i.CR)(t,2),n=e[0],r=e[1],a=JSON.stringify(n);return r.reduce((function(t,e){var n=(0,i.CR)(e,2),r=n[0],a=n[1],o=(0,j.pt)(a)?String(a):JSON.stringify(a);return t+"\n"+JSON.stringify(r)+"\n"+o}),a)}function yt(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk,n=e.name,i=e.version;return{name:n,version:i}}}function bt(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=(0,i.fl)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=(0,i.fl)(t.sdk.packages||[],e.packages||[]),t):t}function _t(t,e){var n=yt(e),r=(0,i.pi)((0,i.pi)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:N(e.dsn)}),a="aggregates"in t?"sessions":"session",o=[{type:a},t],s=vt(r,[o]);return[s,a]}function wt(t,e){var n=(0,i.CR)(_t(t,e),2),r=n[0],a=n[1];return{body:gt(r),type:a,url:ft(e.dsn,e.tunnel)}}function kt(t,e){var n=yt(e),r=t.type||"event",a=(t.sdkProcessingMetadata||{}).transactionSampling,o=a||{},s=o.method,c=o.rate;bt(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;var l=(0,i.pi)((0,i.pi)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:N(e.dsn)}),u=[{type:r,sample_rates:[{id:s,rate:c}]},t];return vt(l,[u])}function xt(t,e){var n,r=yt(e),a=t.type||"event",o="transaction"===a||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling,c=s||{},l=c.method,u=c.rate;bt(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(m){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=m;try{n=JSON.stringify(W(t))}catch(g){var h=g;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:h.message,stack:h.stack}})}}var d={body:n,type:a,url:o?ft(e.dsn,e.tunnel):ht(e.dsn)};if(o){var f=(0,i.pi)((0,i.pi)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:N(e.dsn)}),p=[{type:a,sample_rates:[{id:l,rate:u}]},d.body],v=vt(f,[p]);d.body=gt(v)}return d}var St,Ct=function(){function t(){}return t.prototype.sendEvent=function(t){return(0,z.WD)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return(0,z.WD)(!0)},t}(),Dt=function(){function t(t){this._options=t,this._options.dsn||c&&a.kg.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new P("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new P("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=ot(this._options.dsn,this._options._metadata,this._options.tunnel),n=kt(t,e);this._newTransport.send(n).then(null,(function(t){c&&a.kg.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){c&&a.kg.error("Error while sending event:",t)}))},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=ot(this._options.dsn,this._options._metadata,this._options.tunnel),n=(0,i.CR)(_t(t,e),1),r=n[0];this._newTransport.send(r).then(null,(function(t){c&&a.kg.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){c&&a.kg.error("Error while sending session:",t)}));else c&&a.kg.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new Ct},t}();(function(t){t["Fatal"]="fatal",t["Error"]="error",t["Warning"]="warning",t["Log"]="log",t["Info"]="info",t["Debug"]="debug",t["Critical"]="critical"})(St||(St={}));var Tt=n(8823),Ot="?",At=10,Et=20,Pt=30,Mt=40,It=50;function Rt(t,e,n,i){var r={filename:t,function:e,in_app:!0};return void 0!==n&&(r.lineno=n),void 0!==i&&(r.colno=i),r}var Nt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,$t=/\((\S*)(?::(\d+))(?::(\d+))\)/,Lt=function(t){var e=Nt.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("eval");if(n){var r=$t.exec(e[2]);r&&(e[2]=r[1],e[3]=r[2],e[4]=r[3])}var a=(0,i.CR)(Zt(e[1]||Ot,e[2]),2),o=a[0],s=a[1];return Rt(s,o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},Ft=[Pt,Lt],Bt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,zt=function(t){var e,n=Bt.exec(t);if(n){var r=n[3]&&n[3].indexOf(" > eval")>-1;if(r){var a=jt.exec(n[3]);a&&(n[1]=n[1]||"eval",n[3]=a[1],n[4]=a[2],n[5]="")}var o=n[3],s=n[1]||Ot;return e=(0,i.CR)(Zt(s,o),2),s=e[0],o=e[1],Rt(o,s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}},Ht=[It,zt],Vt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Gt=function(t){var e=Vt.exec(t);return e?Rt(e[2],e[1]||Ot,+e[3],e[4]?+e[4]:void 0):void 0},Wt=[Mt,Gt],Ut=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Yt=function(t){var e=Ut.exec(t);return e?Rt(e[2],e[3]||Ot,+e[1]):void 0},qt=[At,Yt],Xt=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Kt=function(t){var e=Xt.exec(t);return e?Rt(e[5],e[3]||e[4]||Ot,+e[1],+e[2]):void 0},Jt=[Et,Kt],Zt=function(t,e){var n=-1!==t.indexOf("safari-extension"),i=-1!==t.indexOf("safari-web-extension");return n||i?[-1!==t.indexOf("@")?t.split("@")[0]:Ot,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Qt(t){var e=ne(t),n={type:t&&t.name,value:ae(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function te(t,e,n){var i={exception:{values:[{type:(0,j.cO)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,w.zf)(t)}]},extra:{__serialized__:U(t)}};if(e){var r=ne(e);r.length&&(i.stacktrace={frames:r})}return i}function ee(t){return{exception:{values:[Qt(t)]}}}function ne(t){var e=t.stacktrace||t.stack||"",n=re(t);try{return(0,G.pE)(qt,Jt,Ft,Wt,Ht)(e,n)}catch(i){}return[]}var ie=/Minified React error #\d+;/i;function re(t){if(t){if("number"===typeof t.framesToPop)return t.framesToPop;if(ie.test(t.message))return 1}return 0}function ae(t){var e=t&&t.message;return e?e.error&&"string"===typeof e.error.message?e.error.message:e:"No error message"}function oe(t,e,n){var i=e&&e.syntheticException||void 0,r=ce(t,i,n);return(0,o.EG)(r),r.level=St.Error,e&&e.event_id&&(r.event_id=e.event_id),(0,z.WD)(r)}function se(t,e,n,i){void 0===e&&(e=St.Info);var r=n&&n.syntheticException||void 0,a=le(t,r,i);return a.level=e,n&&n.event_id&&(a.event_id=n.event_id),(0,z.WD)(a)}function ce(t,e,n,r){var a;if((0,j.VW)(t)&&t.error){var s=t;return ee(s.error)}if((0,j.TX)(t)||(0,j.fm)(t)){var c=t;if("stack"in t)a=ee(t);else{var l=c.name||((0,j.TX)(c)?"DOMError":"DOMException"),u=c.message?l+": "+c.message:l;a=le(u,e,n),(0,o.Db)(a,u)}return"code"in c&&(a.tags=(0,i.pi)((0,i.pi)({},a.tags),{"DOMException.code":""+c.code})),a}if((0,j.VZ)(t))return ee(t);if((0,j.PO)(t)||(0,j.cO)(t)){var h=t;return a=te(h,e,r),(0,o.EG)(a,{synthetic:!0}),a}return a=le(t,e,n),(0,o.Db)(a,""+t,void 0),(0,o.EG)(a,{synthetic:!0}),a}function le(t,e,n){var i={message:t};if(n&&e){var r=ne(e);r.length&&(i.stacktrace={frames:r})}return i}function ue(t){var e=[];function n(){return void 0===t||e.length<t}function i(t){return e.splice(e.indexOf(t),1)[0]}function r(t){if(!n())return(0,z.$2)(new P("Not adding Promise due to buffer limit reached."));var r=t();return-1===e.indexOf(r)&&e.push(r),r.then((function(){return i(r)})).then(null,(function(){return i(r).then(null,(function(){}))})),r}function a(t){return new z.cW((function(n,i){var r=e.length;if(!r)return n(!0);var a=setTimeout((function(){t&&t>0&&n(!1)}),t);e.forEach((function(t){(0,z.WD)(t).then((function(){--r||(clearTimeout(a),n(!0))}),i)}))}))}return{$:e,add:r,drain:a}}var he=6e4;function de(t,e){void 0===e&&(e=Date.now());var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var i=Date.parse(""+t);return isNaN(i)?he:i-e}function fe(t,e){return t[e]||t.all||0}function pe(t,e,n){return void 0===n&&(n=Date.now()),fe(t,e)>n}function ve(t,e,n){var r,a,o,s;void 0===n&&(n=Date.now());var c=(0,i.pi)({},t),l=e["x-sentry-rate-limits"],u=e["retry-after"];if(l)try{for(var h=(0,i.XA)(l.trim().split(",")),d=h.next();!d.done;d=h.next()){var f=d.value,p=f.split(":",2),v=parseInt(p[0],10),m=1e3*(isNaN(v)?60:v);if(p[1])try{for(var g=(o=void 0,(0,i.XA)(p[1].split(";"))),y=g.next();!y.done;y=g.next()){var b=y.value;c[b]=n+m}}catch(_){o={error:_}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}else c.all=n+m}}catch(w){r={error:w}}finally{try{d&&!d.done&&(a=h.return)&&a.call(h)}finally{if(r)throw r.error}}else u&&(c.all=n+de(u,n));return c}function me(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}var ge=30;function ye(t,e,n){void 0===n&&(n=ue(t.bufferSize||ge));var i={},r=function(t){return n.drain(t)};function a(t){var r=mt(t),a="event"===r?"error":r,o={category:a,body:gt(t)};if(pe(i,a))return(0,z.$2)({status:"rate_limit",reason:be(i,a)});var s=function(){return e(o).then((function(t){var e=t.body,n=t.headers,r=t.reason,o=t.statusCode,s=me(o);return n&&(i=ve(i,n)),"success"===s?(0,z.WD)({status:s,reason:r}):(0,z.$2)({status:s,reason:r||e||("rate_limit"===s?be(i,a):"Unknown transport error")})}))};return n.add(s)}return{send:a,flush:r}}function be(t,e){return"Too many "+e+" requests, backing off until: "+new Date(fe(t,e)).toISOString()}function _e(t){t.then(null,(function(t){console.error(t)}))}var we,ke="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,xe=(0,C.R)();function Se(){if(we)return we;if((0,Tt.Du)(xe.fetch))return we=xe.fetch.bind(xe);var t=xe.document,e=xe.fetch;if(t&&"function"===typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var i=n.contentWindow;i&&i.fetch&&(e=i.fetch),t.head.removeChild(n)}catch(r){ke&&a.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return we=e.bind(xe)}function Ce(t,e){var n="[object Navigator]"===Object.prototype.toString.call(xe&&xe.navigator),i=n&&"function"===typeof xe.navigator.sendBeacon;if(i){var r=xe.navigator.sendBeacon.bind(xe.navigator);return r(t,e)}if((0,Tt.Ak)()){var a=Se();return _e(a(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}))}}function De(t,e){function n(n){var r=(0,i.pi)({body:n.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return e(t.url,r).then((function(t){return t.text().then((function(e){return{body:e,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}}))}))}return void 0===e&&(e=Se()),ye({bufferSize:t.bufferSize},n)}function Te(t,e,n){var i=[{type:"client_report"},{timestamp:n||(0,H.yW)(),discarded_events:t}];return vt(e?{dsn:e}:{},[i])}function Oe(t){var e=t;return"event"===e?"error":e}var Ae=(0,C.R)(),Ee=function(){function t(t){var e=this;this.options=t,this._buffer=ue(30),this._rateLimits={},this._outcomes={},this._api=ot(t.dsn,t._metadata,t.tunnel),this.url=ht(this._api.dsn),this.options.sendClientReports&&Ae.document&&Ae.document.addEventListener("visibilitychange",(function(){"hidden"===Ae.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(xt(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(wt(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var i=Oe(e)+":"+t;ke&&a.kg.log("Adding outcome: "+i),this._outcomes[i]=(n=this._outcomes[i],(null!==n&&void 0!==n?n:0)+1)}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){ke&&a.kg.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e=ft(this._api.dsn,this._api.tunnel),n=Object.keys(t).map((function(e){var n=(0,i.CR)(e.split(":"),2),r=n[0],a=n[1];return{reason:a,category:r,quantity:t[e]}})),r=Te(n,this._api.tunnel&&N(this._api.dsn));try{Ce(e,gt(r))}catch(o){ke&&a.kg.error(o)}}else ke&&a.kg.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,i=t.headers,r=t.resolve,o=t.reject,s=me(n.status);this._rateLimits=ve(this._rateLimits,i),this._isRateLimited(e)&&ke&&a.kg.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?o(n):r({status:s})},t.prototype._disabledUntil=function(t){var e=Oe(t);return new Date(fe(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Oe(t);return pe(this._rateLimits,e)},t}(),Pe=function(t){function e(e,n){void 0===n&&(n=Se());var i=t.call(this,e)||this;return i._fetch=n,i}return(0,i.ZT)(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var i={body:t.body,method:"POST",referrerPolicy:(0,Tt.hv)()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(i,this.options.fetchParameters),void 0!==this.options.headers&&(i.headers=this.options.headers),this._buffer.add((function(){return new z.cW((function(e,r){n._fetch(t.url,i).then((function(i){var a={"x-sentry-rate-limits":i.headers.get("X-Sentry-Rate-Limits"),"retry-after":i.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:i,headers:a,resolve:e,reject:r})})).catch(r)}))})).then(void 0,(function(e){throw e instanceof P?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Ee),Me=4;function Ie(t){function e(e){return new z.cW((function(n,i){var r=new XMLHttpRequest;for(var a in r.onreadystatechange=function(){if(r.readyState===Me){var t={body:r.response,headers:{"x-sentry-rate-limits":r.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":r.getResponseHeader("Retry-After")},reason:r.statusText,statusCode:r.status};n(t)}},r.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,a)&&r.setRequestHeader(a,t.headers[a]);r.send(e.body)}))}return ye({bufferSize:t.bufferSize},e)}var Re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new z.cW((function(e,i){var r=new XMLHttpRequest;for(var a in r.onreadystatechange=function(){if(4===r.readyState){var a={"x-sentry-rate-limits":r.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":r.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:a,resolve:e,reject:i})}},r.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,a)&&r.setRequestHeader(a,n.options.headers[a]);r.send(t.body)}))})).then(void 0,(function(e){throw e instanceof P?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Ee),Ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.eventFromException=function(t,e){return oe(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=St.Info),se(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=(0,i.pi)((0,i.pi)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),n=ot(e.dsn,e._metadata,e.tunnel),r=ft(n.dsn,n.tunnel);if(this._options.transport)return new this._options.transport(e);if((0,Tt.Ak)()){var a=(0,i.pi)({},e.fetchParameters);return this._newTransport=De({requestOptions:a,url:r}),new Pe(e)}return this._newTransport=Ie({url:r,headers:e.headers}),new Re(e)},e}(Dt);function $e(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=(0,x.Gd)();if(r&&r[t])return r[t].apply(r,(0,i.fl)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function Le(t,e){var n=new Error("Sentry syntheticException");return $e("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function Fe(t){$e("withScope",t)}var Be=(0,C.R)(),je=0;function ze(){return je>0}function He(){je+=1,setTimeout((function(){je-=1}))}function Ve(t,e,n){if(void 0===e&&(e={}),"function"!==typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if((0,w.HK)(t))return t}catch(l){return t}var a=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);var a=r.map((function(t){return Ve(t,e)}));return t.apply(this,a)}catch(s){throw He(),Fe((function(t){t.addEventProcessor((function(t){return e.mechanism&&((0,o.Db)(t,void 0,void 0),(0,o.EG)(t,e.mechanism)),t.extra=(0,i.pi)((0,i.pi)({},t.extra),{arguments:r}),t})),Le(s)})),s}};try{for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=t[s])}catch(u){}(0,w.$Q)(a,t),(0,w.xp)(t,"__sentry_wrapped__",a);try{var c=Object.getOwnPropertyDescriptor(a,"name");c.configurable&&Object.defineProperty(a,"name",{get:function(){return t.name}})}catch(u){}return a}function Ge(t){if(void 0===t&&(t={}),Be.document)if(t.eventId)if(t.dsn){var e=Be.document.createElement("script");e.async=!0,e.src=pt(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=Be.document.head||Be.document.body;n&&n.appendChild(e)}else ke&&a.kg.error("Missing dsn option in showReportDialog call");else ke&&a.kg.error("Missing eventId option in showReportDialog call")}var We=n(8464),Ue=["fatal","error","warning","log","info","debug","critical"];function Ye(t){return-1!==Ue.indexOf(t)}function qe(t){return"warn"===t?St.Warning:Ye(t)?t:St.Log}var Xe=function(){function t(e){this.name=t.id,this._options=(0,i.pi)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&(0,x.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,o.jH)(t)},{event:t})},t.prototype.setupOnce=function(){this._options.console&&(0,D.o)("console",Je),this._options.dom&&(0,D.o)("dom",Ke(this._options.dom)),this._options.xhr&&(0,D.o)("xhr",Ze),this._options.fetch&&(0,D.o)("fetch",Qe),this._options.history&&(0,D.o)("history",tn)},t.id="Breadcrumbs",t}();function Ke(t){function e(e){var n,i="object"===typeof t?t.serializeAttribute:void 0;"string"===typeof i&&(i=[i]);try{n=e.event.target?(0,We.R)(e.event.target,i):(0,We.R)(e.event,i)}catch(r){n="<unknown>"}0!==n.length&&(0,x.Gd)().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})}return e}function Je(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:qe(t.level),message:(0,s.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+((0,s.nK)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}(0,x.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function Ze(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,i=e.url,r=e.status_code,a=e.body;(0,x.Gd)().addBreadcrumb({category:"xhr",data:{method:n,url:i,status_code:r},type:"http"},{xhr:t.xhr,input:a})}else;}function Qe(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,x.Gd)().addBreadcrumb({category:"fetch",data:t.fetchData,level:St.Error,type:"http"},{data:t.error,input:t.args}):(0,x.Gd)().addBreadcrumb({category:"fetch",data:(0,i.pi)((0,i.pi)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function tn(t){var e=(0,C.R)(),n=t.from,i=t.to,r=(0,o.en)(e.location.href),a=(0,o.en)(n),s=(0,o.en)(i);a.path||(a=r),r.protocol===s.protocol&&r.host===s.host&&(i=s.relative),r.protocol===a.protocol&&r.host===a.host&&(n=a.relative),(0,x.Gd)().addBreadcrumb({category:"navigation",data:{from:n,to:i}})}var en=function(t){function e(e){void 0===e&&(e={});var n=this;return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:r}],version:r},n=t.call(this,Ne,e)||this,n}return(0,i.ZT)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={});var e=(0,C.R)().document;e&&(this._isEnabled()?Ge((0,i.pi)((0,i.pi)({},t),{dsn:t.dsn||this.getDsn()})):ke&&a.kg.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,i){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,i)},e.prototype._sendEvent=function(e){var n=this.getIntegration(Xe);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(it),nn=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],rn=function(){function t(e){this.name=t.id,this._options=(0,i.pi)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,C.R)();this._options.setTimeout&&(0,w.hl)(t,"setTimeout",an),this._options.setInterval&&(0,w.hl)(t,"setInterval",an),this._options.requestAnimationFrame&&(0,w.hl)(t,"requestAnimationFrame",on),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&(0,w.hl)(XMLHttpRequest.prototype,"send",sn);var e=this._options.eventTarget;if(e){var n=Array.isArray(e)?e:nn;n.forEach(cn)}},t.id="TryCatch",t}();function an(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=e[0];return e[0]=Ve(i,{mechanism:{data:{function:(0,G.$P)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function on(t){return function(e){return t.apply(this,[Ve(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,G.$P)(t)},handled:!0,type:"instrument"}})])}}function sn(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach((function(t){t in i&&"function"===typeof i[t]&&(0,w.hl)(i,t,(function(e){var n={mechanism:{data:{function:t,handler:(0,G.$P)(e)},handled:!0,type:"instrument"}},i=(0,w.HK)(e);return i&&(n.mechanism.data.handler=(0,G.$P)(i)),Ve(e,n)}))})),t.apply(this,e)}}function cn(t){var e=(0,C.R)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,w.hl)(n,"addEventListener",(function(e){return function(n,i,r){try{"function"===typeof i.handleEvent&&(i.handleEvent=Ve(i.handleEvent.bind(i),{mechanism:{data:{function:"handleEvent",handler:(0,G.$P)(i),target:t},handled:!0,type:"instrument"}}))}catch(a){}return e.apply(this,[n,Ve(i,{mechanism:{data:{function:"addEventListener",handler:(0,G.$P)(i),target:t},handled:!0,type:"instrument"}}),r])}})),(0,w.hl)(n,"removeEventListener",(function(t){return function(e,n,i){var r=n;try{var a=r&&r.__sentry_wrapped__;a&&t.call(this,e,a,i)}catch(o){}return t.call(this,e,r,i)}})))}var ln=function(){function t(e){this.name=t.id,this._installFunc={onerror:un,onunhandledrejection:hn},this._options=(0,i.pi)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this._options;for(var e in t){var n=this._installFunc[e];n&&t[e]&&(vn(e),n(),this._installFunc[e]=void 0)}},t.id="GlobalHandlers",t}();function un(){(0,D.o)("error",(function(t){var e=(0,i.CR)(gn(),2),n=e[0],r=e[1];if(n.getIntegration(ln)){var a=t.msg,o=t.url,s=t.line,c=t.column,l=t.error;if(!(ze()||l&&l.__sentry_own_request__)){var u=void 0===l&&(0,j.HD)(a)?fn(a,o,s,c):pn(ce(l||a,void 0,r,!1),o,s,c);u.level=St.Error,mn(n,l,u,"onerror")}}}))}function hn(){(0,D.o)("unhandledrejection",(function(t){var e=(0,i.CR)(gn(),2),n=e[0],r=e[1];if(n.getIntegration(ln)){var a=t;try{"reason"in t?a=t.reason:"detail"in t&&"reason"in t.detail&&(a=t.detail.reason)}catch(s){}if(ze()||a&&a.__sentry_own_request__)return!0;var o=(0,j.pt)(a)?dn(a):ce(a,void 0,r,!0);o.level=St.Error,mn(n,a,o,"onunhandledrejection")}}))}function dn(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}}function fn(t,e,n,i){var r=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,a=(0,j.VW)(t)?t.message:t,o="Error",s=a.match(r);s&&(o=s[1],a=s[2]);var c={exception:{values:[{type:o,value:a}]}};return pn(c,e,n,i)}function pn(t,e,n,i){var r=t.exception=t.exception||{},a=r.values=r.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],l=isNaN(parseInt(i,10))?void 0:i,u=isNaN(parseInt(n,10))?void 0:n,h=(0,j.HD)(e)&&e.length>0?e:(0,We.l)();return 0===c.length&&c.push({colno:l,filename:h,function:"?",in_app:!0,lineno:u}),t}function vn(t){ke&&a.kg.log("Global Handler attached: "+t)}function mn(t,e,n,i){(0,o.EG)(n,{handled:!1,type:i}),t.captureEvent(n,{originalException:e})}function gn(){var t=(0,x.Gd)(),e=t.getClient(),n=e&&e.getOptions().attachStacktrace;return[t,n]}var yn="cause",bn=5,_n=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||yn,this._limit=e.limit||bn}return t.prototype.setupOnce=function(){(0,T.c)((function(e,n){var i=(0,x.Gd)().getIntegration(t);return i?wn(i._key,i._limit,e,n):e}))},t.id="LinkedErrors",t}();function wn(t,e,n,r){if(!n.exception||!n.exception.values||!r||!(0,j.V9)(r.originalException,Error))return n;var a=kn(e,r.originalException,t);return n.exception.values=(0,i.fl)(a,n.exception.values),n}function kn(t,e,n,r){if(void 0===r&&(r=[]),!(0,j.V9)(e[n],Error)||r.length+1>=t)return r;var a=Qt(e[n]);return kn(t,e[n],n,(0,i.fl)([a],r))}var xn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var i=n().getIntegration(t);if(i){try{if(Sn(e,i._previousEvent))return ke&&a.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(r){return i._previousEvent=e}return i._previousEvent=e}return e}))},t.id="Dedupe",t}();function Sn(t,e){return!!e&&(!!Cn(t,e)||!!Dn(t,e))}function Cn(t,e){var n=t.message,i=e.message;return!(!n&&!i)&&(!(n&&!i||!n&&i)&&(n===i&&(!!On(t,e)&&!!Tn(t,e))))}function Dn(t,e){var n=An(e),i=An(t);return!(!n||!i)&&(n.type===i.type&&n.value===i.value&&(!!On(t,e)&&!!Tn(t,e)))}function Tn(t,e){var n=En(t),i=En(e);if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;if(i.length!==n.length)return!1;for(var r=0;r<i.length;r++){var a=i[r],o=n[r];if(a.filename!==o.filename||a.lineno!==o.lineno||a.colno!==o.colno||a.function!==o.function)return!1}return!0}function On(t,e){var n=t.fingerprint,i=e.fingerprint;if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;try{return!(n.join("")!==i.join(""))}catch(r){return!1}}function An(t){return t.exception&&t.exception.values&&t.exception.values[0]}function En(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}else if(t.stacktrace)return t.stacktrace.frames}var Pn=(0,C.R)(),Mn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){(0,T.c)((function(e){if((0,x.Gd)().getIntegration(t)){if(!Pn.navigator&&!Pn.location&&!Pn.document)return e;var n=e.request&&e.request.url||Pn.location&&Pn.location.href,r=(Pn.document||{}).referrer,a=(Pn.navigator||{}).userAgent,o=(0,i.pi)((0,i.pi)((0,i.pi)({},e.request&&e.request.headers),r&&{Referer:r}),a&&{"User-Agent":a}),s=(0,i.pi)((0,i.pi)({},n&&{url:n}),{headers:o});return(0,i.pi)((0,i.pi)({},e),{request:s})}return e}))},t.id="UserAgent",t}(),In=[new u,new k,new rn,new Xe,new ln,new _n,new xn,new Mn];function Rn(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=In),void 0===t.release){var e=(0,C.R)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),S(en,t),t.autoSessionTracking&&$n()}function Nn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function $n(){var t=(0,C.R)(),e=t.document;if("undefined"!==typeof e){var n=(0,x.Gd)();n.captureSession&&(Nn(n),(0,D.o)("history",(function(t){var e=t.from,n=t.to;void 0!==e&&e!==n&&Nn((0,x.Gd)())})))}else ke&&a.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}var Ln=["activate","mount","update"],Fn=/(?:^|[-_])(\w)/g,Bn=function(t){return t.replace(Fn,(function(t){return t.toUpperCase()})).replace(/[-_]/g,"")},jn="<Root>",zn="<Anonymous>",Hn=function(t,e){var n="";while(e)e%2===1&&(n+=t),e>1&&(t+=t),e>>=1;return n},Vn=function(t,e){if(!t)return zn;if(t.$root===t)return jn;var n=t.$options,i=n.name||n._componentTag,r=n.__file;if(!i&&r){var a=r.match(/([^/\\]+)\.vue$/);a&&(i=a[1])}return(i?"<"+Bn(i)+">":zn)+(r&&!1!==e?" at "+r:"")},Gn=function(t){var e,n,i;if(((null===(e=t)||void 0===e?void 0:e._isVue)||(null===(n=t)||void 0===n?void 0:n.__isVue))&&(null===(i=t)||void 0===i?void 0:i.$parent)){var r=[],a=0;while(t){if(r.length>0){var o=r[r.length-1];if(o.constructor===t.constructor){a+=1,t=t.$parent;continue}a>0&&(r[r.length-1]=[o,a],a=0)}r.push(t),t=t.$parent}var s=r.map((function(t,e){return""+((0===e?"---\x3e ":Hn(" ",5+2*e))+(Array.isArray(t)?Vn(t[0])+"... ("+t[1]+" recursive calls)":Vn(t)))})).join("\n");return"\n\nfound in\n\n"+s}return"\n\n(found in "+Vn(t)+")"},Wn=function(t,e){var n=t.config,i=n.errorHandler,r=n.warnHandler,a=n.silent;t.config.errorHandler=function(n,o,s){var c=Vn(o,!1),l=o?Gn(o):"",u={componentName:c,lifecycleHook:s,trace:l};if(o&&e.attachProps&&(u.propsData=o.$options.propsData||o.$props),setTimeout((function(){(0,x.Gd)().withScope((function(t){t.setContext("vue",u),(0,x.Gd)().captureException(n)}))})),"function"===typeof i&&i.call(t,n,o,s),e.logErrors){var h="undefined"!==typeof console,d="Error in "+s+': "'+(n&&n.toString())+'"';r?r.call(null,d,o,l):h&&!a&&console.error("[Vue warn]: "+d+l)}}},Un="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Yn="ui.vue",qn={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function Xn(){var t;return null===(t=(0,x.Gd)().getScope())||void 0===t?void 0:t.getTransaction()}function Kn(t,e,n){t.$_sentryRootSpanTimer&&clearTimeout(t.$_sentryRootSpanTimer),t.$_sentryRootSpanTimer=setTimeout((function(){var n;(null===(n=t.$root)||void 0===n?void 0:n.$_sentryRootSpan)&&(t.$root.$_sentryRootSpan.finish(e),t.$root.$_sentryRootSpan=void 0)}),n)}var Jn=function(t){var e,n,r=(t.hooks||[]).concat(Ln).filter((function(t,e,n){return n.indexOf(t)===e})),o={},s=function(e){var n,r,s=qn[e];if(!s)return Un&&a.kg.warn("Unknown hook: "+e),"continue";var c=function(n){o[n]=function(){var i,r=this.$root===this;if(r){var a=Xn();a&&(this.$_sentryRootSpan=this.$_sentryRootSpan||a.startChild({description:"Application Render",op:Yn}))}var o=Vn(this,!1),c=Array.isArray(t.trackComponents)?t.trackComponents.includes(o):t.trackComponents;if(r||c)if(this.$_sentrySpans=this.$_sentrySpans||{},n==s[0]){a=(null===(i=this.$root)||void 0===i?void 0:i.$_sentryRootSpan)||Xn();a&&(this.$_sentrySpans[e]=a.startChild({description:"Vue <"+o+">",op:Yn+"."+e}))}else{var l=this.$_sentrySpans[e];if(!l)return;l.finish(),Kn(this,(0,H.ph)(),t.timeout)}}};try{for(var l=(n=void 0,(0,i.XA)(s)),u=l.next();!u.done;u=l.next()){var h=u.value;c(h)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}};try{for(var c=(0,i.XA)(r),l=c.next();!l.done;l=c.next()){var u=l.value;s(u)}}catch(h){e={error:h}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return o},Zn={Vue:(0,C.R)().Vue,attachProps:!0,logErrors:!1,hooks:Ln,timeout:2e3,trackComponents:!1,_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:r}],version:r}}};function Qn(t){void 0===t&&(t={});var e=(0,i.pi)((0,i.pi)({},Zn),t);if(Rn(e),e.Vue||e.app)if(e.app){var n=Array.isArray(e.app)?e.app:[e.app];n.forEach((function(t){return ti(t,e)}))}else e.Vue&&ti(e.Vue,e);else Un&&a.kg.warn("Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")}var ti=function(t,e){Wn(t,e),("tracesSampleRate"in e||"tracesSampler"in e)&&t.mixin(Jn((0,i.pi)((0,i.pi)({},e),e.tracingOptions)))}},1001:(t,e,n)=>{"use strict";function i(t,e,n,i,r,a,o,s){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}n.d(e,{Z:()=>i})},6305:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});function i(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(i.next(t))}catch(e){a(e)}}function s(t){try{c(i["throw"](t))}catch(e){a(e)}}function c(t){t.done?n(t.value):r(t.value).then(o,s)}c((i=i.apply(t,e||[])).next())}))}function r(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(o=0)),o)try{if(n=1,i&&(r=2&s[0]?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(r=o.trys,!(r=r.length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(c){s=[6,c],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;Object.create;var a=n(7013),o=n.n(a),s=n(5327),c=n.n(s);function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=c().apply(void 0,t),i=n.split("?"),r=i[0],a=i[1];if(a){var o=a.split("&");return"".concat(r,"?").concat(o.sort().join("&"))}return n}function u(t){return"function"===typeof t.get&&"function"===typeof t.set&&("function"===typeof t.delete||"function"===typeof t.del)}var h=3e5,d=100;function f(t,e){var n=this;void 0===e&&(e={});var a=e.enabledByDefault,s=void 0===a||a,c=e.cacheFlag,f=void 0===c?"cache":c,p=e.defaultCache,v=void 0===p?new(o())({ttl:h,max:d}):p;return function(e){var a=e.url,o=e.method,c=e.params,h=e.paramsSerializer,d=e.forceUpdate,p=void 0!==e[f]&&null!==e[f]?e[f]:s;if("get"===o&&p){var m=u(p)?p:v,g=l(a,c,h),y=m.get(g);return!y||d?(y=function(){return i(n,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,t(e)];case 1:return[2,i.sent()];case 2:throw n=i.sent(),"delete"in m?m.delete(g):m.del(g),n;case 3:return[2]}}))}))}(),m.set(g,y),y):("info"==={NODE_ENV:"production",BASE_URL:"/"}.LOGGER_LEVEL&&console.info("[axios-extensions] request cached by cache adapter --\x3e url: ".concat(g)),y)}return t(e)}}},7013:t=>{const e="object"===typeof performance&&performance&&"function"===typeof performance.now?performance:Date,n="function"===typeof AbortController,i=n?AbortController:class{constructor(){this.signal=new o}abort(){this.signal.dispatchEvent("abort")}},r="function"===typeof AbortSignal,a="function"===typeof i.AbortSignal,o=r?AbortSignal:a?i.AbortController:class{constructor(){this.aborted=!1,this._listeners=[]}dispatchEvent(t){if("abort"===t){this.aborted=!0;const e={type:t,target:this};this.onabort(e),this._listeners.forEach((t=>t(e)),this)}}onabort(){}addEventListener(t,e){"abort"===t&&this._listeners.push(e)}removeEventListener(t,e){"abort"===t&&(this._listeners=this._listeners.filter((t=>t!==e)))}},s=new Set,c=(t,e)=>{const n=`LRU_CACHE_OPTION_${t}`;d(n)&&f(n,`${t} option`,`options.${e}`,y)},l=(t,e)=>{const n=`LRU_CACHE_METHOD_${t}`;if(d(n)){const{prototype:i}=y,{get:r}=Object.getOwnPropertyDescriptor(i,t);f(n,`${t} method`,`cache.${e}()`,r)}},u=(t,e)=>{const n=`LRU_CACHE_PROPERTY_${t}`;if(d(n)){const{prototype:i}=y,{get:r}=Object.getOwnPropertyDescriptor(i,t);f(n,`${t} property`,`cache.${e}`,r)}},h=(...t)=>{"object"===typeof process&&process&&"function"===typeof process.emitWarning?process.emitWarning(...t):console.error(...t)},d=t=>!s.has(t),f=(t,e,n,i)=>{s.add(t);const r=`The ${e} is deprecated. Please use ${n} instead.`;h(r,"DeprecationWarning",t,i)},p=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),v=t=>p(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?m:null:null;class m extends Array{constructor(t){super(t),this.fill(0)}}class g{constructor(t){if(0===t)return[];const e=v(t);this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class y{constructor(t={}){const{max:e=0,ttl:n,ttlResolution:i=1,ttlAutopurge:r,updateAgeOnGet:a,updateAgeOnHas:o,allowStale:l,dispose:u,disposeAfter:f,noDisposeOnSet:m,noUpdateTTL:b,maxSize:_=0,maxEntrySize:w=0,sizeCalculation:k,fetchMethod:x,fetchContext:S,noDeleteOnFetchRejection:C,noDeleteOnStaleGet:D}=t,{length:T,maxAge:O,stale:A}=t instanceof y?{}:t;if(0!==e&&!p(e))throw new TypeError("max option must be a nonnegative integer");const E=e?v(e):Array;if(!E)throw new Error("invalid max value: "+e);if(this.max=e,this.maxSize=_,this.maxEntrySize=w||this.maxSize,this.sizeCalculation=k||T,this.sizeCalculation){if(!this.maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!==typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=x||null,this.fetchMethod&&"function"!==typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=S,!this.fetchMethod&&void 0!==S)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(e).fill(null),this.valList=new Array(e).fill(null),this.next=new E(e),this.prev=new E(e),this.head=0,this.tail=0,this.free=new g(e),this.initialFill=1,this.size=0,"function"===typeof u&&(this.dispose=u),"function"===typeof f?(this.disposeAfter=f,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!m,this.noUpdateTTL=!!b,this.noDeleteOnFetchRejection=!!C,0!==this.maxEntrySize){if(0!==this.maxSize&&!p(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!p(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!l||!!A,this.noDeleteOnStaleGet=!!D,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!o,this.ttlResolution=p(i)||0===i?i:1,this.ttlAutopurge=!!r,this.ttl=n||O||0,this.ttl){if(!p(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const t="LRU_CACHE_UNBOUNDED";if(d(t)){s.add(t);const e="TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.";h(e,"UnboundedCacheWarning",t,y)}}A&&c("stale","allowStale"),O&&c("maxAge","ttl"),T&&c("length","sizeCalculation")}getRemainingTTL(t){return this.has(t,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new m(this.max),this.starts=new m(this.max),this.setItemTTL=(t,n,i=e.now())=>{if(this.starts[t]=0!==n?i:0,this.ttls[t]=n,0!==n&&this.ttlAutopurge){const e=setTimeout((()=>{this.isStale(t)&&this.delete(this.keyList[t])}),n+1);e.unref&&e.unref()}},this.updateItemAge=t=>{this.starts[t]=0!==this.ttls[t]?e.now():0};let t=0;const n=()=>{const n=e.now();if(this.ttlResolution>0){t=n;const e=setTimeout((()=>t=0),this.ttlResolution);e.unref&&e.unref()}return n};this.getRemainingTTL=e=>{const i=this.keyMap.get(e);return void 0===i?0:0===this.ttls[i]||0===this.starts[i]?1/0:this.starts[i]+this.ttls[i]-(t||n())},this.isStale=e=>0!==this.ttls[e]&&0!==this.starts[e]&&(t||n())-this.starts[e]>this.ttls[e]}updateItemAge(t){}setItemTTL(t,e,n){}isStale(t){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new m(this.max),this.removeItemSize=t=>{this.calculatedSize-=this.sizes[t],this.sizes[t]=0},this.requireSize=(t,e,n,i)=>{if(this.isBackgroundFetch(e))return 0;if(!p(n)){if(!i)throw new TypeError("invalid size value (must be positive integer)");if("function"!==typeof i)throw new TypeError("sizeCalculation must be a function");if(n=i(e,t),!p(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return n},this.addItemSize=(t,e)=>{if(this.sizes[t]=e,this.maxSize){const e=this.maxSize-this.sizes[t];while(this.calculatedSize>e)this.evict(!0)}this.calculatedSize+=this.sizes[t]}}removeItemSize(t){}addItemSize(t,e){}requireSize(t,e,n,i){if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}*indexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.tail;1;){if(!this.isValidIndex(e))break;if(!t&&this.isStale(e)||(yield e),e===this.head)break;e=this.prev[e]}}*rindexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.head;1;){if(!this.isValidIndex(e))break;if(!t&&this.isStale(e)||(yield e),e===this.tail)break;e=this.next[e]}}isValidIndex(t){return this.keyMap.get(this.keyList[t])===t}*entries(){for(const t of this.indexes())yield[this.keyList[t],this.valList[t]]}*rentries(){for(const t of this.rindexes())yield[this.keyList[t],this.valList[t]]}*keys(){for(const t of this.indexes())yield this.keyList[t]}*rkeys(){for(const t of this.rindexes())yield this.keyList[t]}*values(){for(const t of this.indexes())yield this.valList[t]}*rvalues(){for(const t of this.rindexes())yield this.valList[t]}[Symbol.iterator](){return this.entries()}find(t,e={}){for(const n of this.indexes())if(t(this.valList[n],this.keyList[n],this))return this.get(this.keyList[n],e)}forEach(t,e=this){for(const n of this.indexes())t.call(e,this.valList[n],this.keyList[n],this)}rforEach(t,e=this){for(const n of this.rindexes())t.call(e,this.valList[n],this.keyList[n],this)}get prune(){return l("prune","purgeStale"),this.purgeStale}purgeStale(){let t=!1;for(const e of this.rindexes({allowStale:!0}))this.isStale(e)&&(this.delete(this.keyList[e]),t=!0);return t}dump(){const t=[];for(const n of this.indexes({allowStale:!0})){const i=this.keyList[n],r=this.valList[n],a=this.isBackgroundFetch(r)?r.__staleWhileFetching:r,o={value:a};if(this.ttls){o.ttl=this.ttls[n];const t=e.now()-this.starts[n];o.start=Math.floor(Date.now()-t)}this.sizes&&(o.size=this.sizes[n]),t.unshift([i,o])}return t}load(t){this.clear();for(const[n,i]of t){if(i.start){const t=Date.now()-i.start;i.start=e.now()-t}this.set(n,i.value,i)}}dispose(t,e,n){}set(t,e,{ttl:n=this.ttl,start:i,noDisposeOnSet:r=this.noDisposeOnSet,size:a=0,sizeCalculation:o=this.sizeCalculation,noUpdateTTL:s=this.noUpdateTTL}={}){if(a=this.requireSize(t,e,a,o),this.maxEntrySize&&a>this.maxEntrySize)return this.delete(t),this;let c=0===this.size?void 0:this.keyMap.get(t);if(void 0===c)c=this.newIndex(),this.keyList[c]=t,this.valList[c]=e,this.keyMap.set(t,c),this.next[this.tail]=c,this.prev[c]=this.tail,this.tail=c,this.size++,this.addItemSize(c,a),s=!1;else{const n=this.valList[c];e!==n&&(this.isBackgroundFetch(n)?n.__abortController.abort():r||(this.dispose(n,t,"set"),this.disposeAfter&&this.disposed.push([n,t,"set"])),this.removeItemSize(c),this.valList[c]=e,this.addItemSize(c,a)),this.moveToTail(c)}if(0===n||0!==this.ttl||this.ttls||this.initializeTTLTracking(),s||this.setItemTTL(c,n,i),this.disposeAfter)while(this.disposed.length)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const t=this.valList[this.head];return this.evict(!0),t}}evict(t){const e=this.head,n=this.keyList[e],i=this.valList[e];return this.isBackgroundFetch(i)?i.__abortController.abort():(this.dispose(i,n,"evict"),this.disposeAfter&&this.disposed.push([i,n,"evict"])),this.removeItemSize(e),t&&(this.keyList[e]=null,this.valList[e]=null,this.free.push(e)),this.head=this.next[e],this.keyMap.delete(n),this.size--,e}has(t,{updateAgeOnHas:e=this.updateAgeOnHas}={}){const n=this.keyMap.get(t);return void 0!==n&&!this.isStale(n)&&(e&&this.updateItemAge(n),!0)}peek(t,{allowStale:e=this.allowStale}={}){const n=this.keyMap.get(t);if(void 0!==n&&(e||!this.isStale(n))){const t=this.valList[n];return this.isBackgroundFetch(t)?t.__staleWhileFetching:t}}backgroundFetch(t,e,n,r){const a=void 0===e?void 0:this.valList[e];if(this.isBackgroundFetch(a))return a;const o=new i,s={signal:o.signal,options:n,context:r},c=e=>(o.signal.aborted||this.set(t,e,s.options),e),l=i=>{if(this.valList[e]===h){const i=!n.noDeleteOnFetchRejection||void 0===h.__staleWhileFetching;i?this.delete(t):this.valList[e]=h.__staleWhileFetching}if(h.__returned===h)throw i},u=e=>e(this.fetchMethod(t,a,s)),h=new Promise(u).then(c,l);return h.__abortController=o,h.__staleWhileFetching=a,h.__returned=null,void 0===e?(this.set(t,h,s.options),e=this.keyMap.get(t)):this.valList[e]=h,h}isBackgroundFetch(t){return t&&"object"===typeof t&&"function"===typeof t.then&&Object.prototype.hasOwnProperty.call(t,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(t,"__returned")&&(t.__returned===t||null===t.__returned)}async fetch(t,{allowStale:e=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:o=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,fetchContext:u=this.fetchContext,forceRefresh:h=!1}={}){if(!this.fetchMethod)return this.get(t,{allowStale:e,updateAgeOnGet:n,noDeleteOnStaleGet:i});const d={allowStale:e,updateAgeOnGet:n,noDeleteOnStaleGet:i,ttl:r,noDisposeOnSet:a,size:o,sizeCalculation:s,noUpdateTTL:c,noDeleteOnFetchRejection:l};let f=this.keyMap.get(t);if(void 0===f){const e=this.backgroundFetch(t,f,d,u);return e.__returned=e}{const i=this.valList[f];if(this.isBackgroundFetch(i))return e&&void 0!==i.__staleWhileFetching?i.__staleWhileFetching:i.__returned=i;if(!h&&!this.isStale(f))return this.moveToTail(f),n&&this.updateItemAge(f),i;const r=this.backgroundFetch(t,f,d,u);return e&&void 0!==r.__staleWhileFetching?r.__staleWhileFetching:r.__returned=r}}get(t,{allowStale:e=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet}={}){const r=this.keyMap.get(t);if(void 0!==r){const a=this.valList[r],o=this.isBackgroundFetch(a);if(this.isStale(r))return o?e?a.__staleWhileFetching:void 0:(i||this.delete(t),e?a:void 0);if(o)return;return this.moveToTail(r),n&&this.updateItemAge(r),a}}connect(t,e){this.prev[e]=t,this.next[t]=e}moveToTail(t){t!==this.tail&&(t===this.head?this.head=this.next[t]:this.connect(this.prev[t],this.next[t]),this.connect(this.tail,t),this.tail=t)}get del(){return l("del","delete"),this.delete}delete(t){let e=!1;if(0!==this.size){const n=this.keyMap.get(t);if(void 0!==n)if(e=!0,1===this.size)this.clear();else{this.removeItemSize(n);const e=this.valList[n];this.isBackgroundFetch(e)?e.__abortController.abort():(this.dispose(e,t,"delete"),this.disposeAfter&&this.disposed.push([e,t,"delete"])),this.keyMap.delete(t),this.keyList[n]=null,this.valList[n]=null,n===this.tail?this.tail=this.prev[n]:n===this.head?this.head=this.next[n]:(this.next[this.prev[n]]=this.next[n],this.prev[this.next[n]]=this.prev[n]),this.size--,this.free.push(n)}}if(this.disposed)while(this.disposed.length)this.disposeAfter(...this.disposed.shift());return e}clear(){for(const t of this.rindexes({allowStale:!0})){const e=this.valList[t];if(this.isBackgroundFetch(e))e.__abortController.abort();else{const n=this.keyList[t];this.dispose(e,n,"delete"),this.disposeAfter&&this.disposed.push([e,n,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)while(this.disposed.length)this.disposeAfter(...this.disposed.shift())}get reset(){return l("reset","clear"),this.clear}get length(){return u("length","size"),this.size}static get AbortController(){return i}static get AbortSignal(){return o}}t.exports=y},9669:(t,e,n)=>{t.exports=n(1609)},5448:(t,e,n)=>{"use strict";var i=n(4867),r=n(6026),a=n(4372),o=n(5327),s=n(4097),c=n(4109),l=n(7985),u=n(5061);t.exports=function(t){return new Promise((function(e,n){var h=t.data,d=t.headers,f=t.responseType;i.isFormData(h)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var v=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(v+":"+m)}var g=s(t.baseURL,t.url);function y(){if(p){var i="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,a=f&&"text"!==f&&"json"!==f?p.response:p.responseText,o={data:a,status:p.status,statusText:p.statusText,headers:i,config:t,request:p};r(e,n,o),p=null}}if(p.open(t.method.toUpperCase(),o(g,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(y)},p.onabort=function(){p&&(n(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var b=(t.withCredentials||l(g))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}"setRequestHeader"in p&&i.forEach(d,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),f&&"json"!==f&&(p.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),h||(h=null),p.send(h)}))}},1609:(t,e,n)=>{"use strict";var i=n(4867),r=n(1849),a=n(321),o=n(7185),s=n(5655);function c(t){var e=new a(t),n=r(a.prototype.request,e);return i.extend(n,a.prototype,e),i.extend(n,e),n}var l=c(s);l.Axios=a,l.create=function(t){return c(o(l.defaults,t))},l.Cancel=n(5263),l.CancelToken=n(4972),l.isCancel=n(6502),l.all=function(t){return Promise.all(t)},l.spread=n(8713),l.isAxiosError=n(6268),t.exports=l,t.exports["default"]=l},5263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:(t,e,n)=>{"use strict";var i=n(5263);function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,n)=>{"use strict";var i=n(4867),r=n(5327),a=n(782),o=n(3572),s=n(7185),c=n(4875),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new a,response:new a}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!i){var u=[o,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(a),r=Promise.resolve(t);while(u.length)r=r.then(u.shift(),u.shift());return r}var h=t;while(n.length){var d=n.shift(),f=n.shift();try{h=d(h)}catch(p){f(p);break}}try{r=o(h)}catch(p){return Promise.reject(p)}while(a.length)r=r.then(a.shift(),a.shift());return r},u.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}})),t.exports=u},782:(t,e,n)=>{"use strict";var i=n(4867);function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},4097:(t,e,n)=>{"use strict";var i=n(1793),r=n(7303);t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},5061:(t,e,n)=>{"use strict";var i=n(481);t.exports=function(t,e,n,r,a){var o=new Error(t);return i(o,e,n,r,a)}},3572:(t,e,n)=>{"use strict";var i=n(4867),r=n(8527),a=n(6502),o=n(5655);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||o.adapter;return e(t).then((function(e){return s(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:(t,e,n)=>{"use strict";var i=n(4867);t.exports=function(t,e){e=e||{};var n={},r=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function l(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(t[r],e[r])}i.forEach(r,(function(t){i.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),i.forEach(a,l),i.forEach(o,(function(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(void 0,e[r])})),i.forEach(s,(function(i){i in e?n[i]=c(t[i],e[i]):i in t&&(n[i]=c(void 0,t[i]))}));var u=r.concat(a).concat(o).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return i.forEach(h,l),n}},6026:(t,e,n)=>{"use strict";var i=n(5061);t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:(t,e,n)=>{"use strict";var i=n(4867),r=n(5655);t.exports=function(t,e,n){var a=this||r;return i.forEach(n,(function(n){t=n.call(a,t,e)})),t}},5655:(t,e,n)=>{"use strict";var i=n(4867),r=n(6016),a=n(481),o={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=n(5448)),t}function l(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),l(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(o){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(o)})),t.exports=u},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},5327:(t,e,n)=>{"use strict";var i=n(4867);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(i.isURLSearchParams(e))a=e.toString();else{var o=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),o.push(r(e)+"="+r(t))})))})),a=o.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,n)=>{"use strict";var i=n(4867);t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,a,o){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:t=>{"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},7985:(t,e,n)=>{"use strict";var i=n(4867);t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},6016:(t,e,n)=>{"use strict";var i=n(4867);t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},4109:(t,e,n)=>{"use strict";var i=n(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,o={};return t?(i.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=i.trim(t.substr(0,a)).toLowerCase(),n=i.trim(t.substr(a+1)),e){if(o[e]&&r.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:(t,e,n)=>{"use strict";var i=n(8593),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var a={},o=i.version.split(".");function s(t,e){for(var n=e?e.split("."):o,i=t.split("."),r=0;r<3;r++){if(n[r]>i[r])return!0;if(n[r]<i[r])return!1}return!1}function c(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var i=Object.keys(t),r=i.length;while(r-- >0){var a=i[r],o=e[a];if(o){var s=t[a],c=void 0===s||o(s,a,t);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}r.transitional=function(t,e,n){var r=e&&s(e);function o(t,e){return"[Axios v"+i.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,s){if(!1===t)throw new Error(o(i," has been removed in "+e));return r&&!a[i]&&(a[i]=!0,console.warn(o(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,s)}},t.exports={isOlderVersion:s,assertOptions:c,validators:r}},4867:(t,e,n)=>{"use strict";var i=n(1849),r=Object.prototype.toString;function a(t){return"[object Array]"===r.call(t)}function o(t){return"undefined"===typeof t}function s(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===r.call(t)}function l(t){return"undefined"!==typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function d(t){return"number"===typeof t}function f(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===r.call(t)}function m(t){return"[object File]"===r.call(t)}function g(t){return"[object Blob]"===r.call(t)}function y(t){return"[object Function]"===r.call(t)}function b(t){return f(t)&&y(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function k(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function S(){var t={};function e(e,n){p(t[n])&&p(e)?t[n]=S(t[n],e):p(e)?t[n]=S({},e):a(e)?t[n]=e.slice():t[n]=e}for(var n=0,i=arguments.length;n<i;n++)x(arguments[n],e);return t}function C(t,e,n){return x(e,(function(e,r){t[r]=n&&"function"===typeof e?i(e,n):e})),t}function D(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:a,isArrayBuffer:c,isBuffer:s,isFormData:l,isArrayBufferView:u,isString:h,isNumber:d,isObject:f,isPlainObject:p,isUndefined:o,isDate:v,isFile:m,isBlob:g,isFunction:y,isStream:b,isURLSearchParams:_,isStandardBrowserEnv:k,forEach:x,merge:S,extend:C,trim:w,stripBOM:D}},7500:(t,e,n)=>{"use strict";function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){return d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},d(t,e)}function f(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function p(t,e,n){return p=f()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=Function.bind.apply(t,i),a=new r;return n&&d(a,n.prototype),a},p.apply(null,arguments)}function v(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function m(t){var e="function"===typeof Map?new Map:void 0;return m=function(t){if(null===t||!v(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return p(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,t)},m(t)}function g(t,e){if(null==t)return{};var n,i,r={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}function y(t,e){if(null==t)return{};var n,i,r=g(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?b(t):e}function w(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function k(t,e){return D(t)||O(t,e)||E()}function x(t){return D(t)||T(t)||E()}function S(t){return C(t)||T(t)||A()}function C(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function D(t){if(Array.isArray(t))return t}function T(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function O(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),e&&n.length===e)break}catch(c){r=!0,a=c}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw a}}return n}}function A(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function E(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function P(t){return t<0?-1:t>0?1:0}n.d(e,{ZP:()=>Sv});var M=Math.sign||P;function I(t,e){return(t&e)===e}function R(t,e){return(t%e+e)%e}function N(t,e,n){return Math.max(e,Math.min(n,t))}function $(t,e){return e.split(".").reduce((function(t,e){return t?t[e]:null}),t)}function L(t,e,n){if(!t)return-1;if(!n||"function"!==typeof n)return t.indexOf(e);for(var i=0;i<t.length;i++)if(n(t[i],e))return i;return-1}var F=function(t){return"object"===i(t)&&!Array.isArray(t)},B=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(i||!Object.assign){var r=function(t){return F(n[t])&&null!==e&&e.hasOwnProperty(t)&&F(e[t])},a=Object.getOwnPropertyNames(n).map((function(a){return s({},a,r(a)?t(e[a],n[a],i):n[a])})).reduce((function(t,e){return l({},t,{},e)}),{});return l({},e,{},a)}return Object.assign(e,n)},j=B,z={Android:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/Android/i)},BlackBerry:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return"undefined"!==typeof window&&(window.navigator.userAgent.match(/iPhone|iPad|iPod/i)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)},Opera:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return"undefined"!==typeof window&&window.navigator.userAgent.match(/IEMobile/i)},any:function(){return z.Android()||z.BlackBerry()||z.iOS()||z.Opera()||z.Windows()}};function H(t){"undefined"!==typeof t.remove?t.remove():"undefined"!==typeof t.parentNode&&null!==t.parentNode&&t.parentNode.removeChild(t)}function V(t){var e=document.createElement("div");e.style.position="absolute",e.style.left="0px",e.style.top="0px",e.style.width="100%";var n=document.createElement("div");return e.appendChild(n),n.appendChild(t),document.body.appendChild(e),e}function G(t){return t&&t._isVue}function W(t){return t?t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):t}function U(t){return t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function Y(t,e){var n=JSON.parse(JSON.stringify(t)),i=function(t){return function(e,n){return t.map((function(t){var i=1;"-"===t[0]&&(i=-1,t=t.substring(1));var r=$(e,t),a=$(n,t);return r>a?i:r<a?-i:0})).reduce((function(t,e){return t||e}),0)}};return n.sort(i(e))}function q(t){return void 0===t?null:isNaN(t)?t:t+"px"}function X(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"long",n=[],i=0;i<12;i++)n.push(new Date(2e3,i,15));var r=new Intl.DateTimeFormat(t,{month:e});return n.map((function(t){return r.format(t)}))}function K(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"narrow",n=[],i=0;i<7;i++){var r=new Date(2e3,0,i+1);n[r.getDay()]=r}var a=new Intl.DateTimeFormat(t,{weekday:e});return n.map((function(t){return a.format(t)}))}function J(t,e){var n=e.match(t);return t.toString().match(/<(.+?)>/g).map((function(t){var e=t.match(/<(.+)>/);return!e||e.length<=0?null:t.match(/<(.+)>/)[1]})).reduce((function(t,e,i,r){return n&&n.length>i?t[e]=n[i+1]:t[e]=null,t}),{})}function Z(){return new Promise((function(t){var e=new Image;e.onerror=function(){return t(!1)},e.onload=function(){return t(1===e.width)},e.src="data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA="})).catch((function(){return!1}))}function Q(t){return"shadowRoot"in t.$root.$options}var tt,et=function(t){return void 0!==t},nt=function(t){return null===t||void 0===t},it={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultIconPrev:"chevron-left",defaultIconNext:"chevron-right",defaultLocale:void 0,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipDelay:null,defaultTooltipCloseDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null},rt=function(t){it=t},at=function(t){tt=t};function ot(t,e,n,i,r,a,o,s,c,l){"boolean"!==typeof o&&(c=s,s=o,o=!1);var u,h="function"===typeof n?n.options:n;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,r&&(h.functional=!0)),i&&(h._scopeId=i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},h._ssrRegister=u):e&&(u=o?function(){e.call(this,l(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(h.functional){var d=h.render;h.render=function(t,e){return u.call(e),d(t,e)}}else{var f=h.beforeCreate;h.beforeCreate=f?[].concat(f,u):[u]}return n}var st=ot,ct=function(t){"undefined"!==typeof window&&window.Vue&&window.Vue.use(t)},lt=function(t,e){t.component(e.name,e)},ut=function(t,e,n){t.prototype.$buefy||(t.prototype.$buefy={}),t.prototype.$buefy[e]=n},ht={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return it.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return it.defaultLocale}},statusIcon:{type:Boolean,default:function(){return it.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||it.defaultIconPack}},computed:{parentField:function(){for(var t=this.$parent,e=0;e<3;e++)t&&!t.$data._isField&&(t=t.$parent);return t},statusType:function(){var t=this.parentField||{},e=t.newType;if(e){if("string"===typeof e)return e;for(var n in e)if(e[n])return n}},statusMessage:function(){if(this.parentField)return this.parentField.newMessage||this.parentField.$slots.message},iconSize:function(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return"mdi"===this.newIconPack?"is-medium":""}}},methods:{focus:function(){var t=this.getElement();void 0!==t&&this.$nextTick((function(){t&&t.focus()}))},onBlur:function(t){this.isFocused=!1,this.$emit("blur",t),this.checkHtml5Validity()},onFocus:function(t){this.isFocused=!0,this.$emit("focus",t)},getElement:function(){var t=this.$refs[this.$data._elementRef];while(G(t))t=t.$refs[t.$data._elementRef];return t},setInvalid:function(){var t="is-danger",e=this.validationMessage||this.getElement().validationMessage;this.setValidity(t,e)},setValidity:function(t,e){var n=this;this.$nextTick((function(){n.parentField&&(n.parentField.type||(n.parentField.newType=t),n.parentField.message||(n.parentField.newMessage=e))}))},checkHtml5Validity:function(){if(this.useHtml5Validation){var t=this.getElement();if(void 0!==t)return t.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}},dt={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},ft=function(){var t=it&&it.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":t+"lg","is-large":t+"2x"},iconPrefix:t,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}},pt=function(){var t={mdi:dt,fa:ft(),fas:ft(),far:ft(),fad:ft(),fab:ft(),fal:ft(),"fa-solid":ft(),"fa-regular":ft(),"fa-light":ft(),"fa-thin":ft(),"fa-duotone":ft(),"fa-brands":ft()};return it&&it.customIconPacks&&(t=j(t,it.customIconPacks,!0)),t},vt={name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){var t=pt();return t[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||it.defaultIconPack},newType:function(){if(this.type){var t=[];if("string"===typeof this.type)t=this.type.split("-");else for(var e in this.type)if(this.type[e]){t=e.split("-");break}if(!(t.length<=1)){var n=t,i=x(n),r=i.slice(1);return"has-text-".concat(r.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||it.defaultIconComponent}},methods:{getEquivalentIconOf:function(t){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[t]?this.iconConfig.internalIcons[t]:t}}};const mt=vt;var gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"icon",class:[t.newType,t.size]},[t.useIconComponent?n(t.useIconComponent,{tag:"component",class:[t.customClass],attrs:{icon:[t.newPack,t.newIcon],size:t.newCustomSize}}):n("i",{class:[t.newPack,t.newIcon,t.newCustomSize,t.customClass]})],1)},yt=[];const bt=void 0,_t=void 0,wt=void 0,kt=!1;var xt=st({render:gt,staticRenderFns:yt},bt,mt,_t,kt,wt,void 0,void 0),St={name:"BInput",components:s({},xt.name,xt),mixins:[ht],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},lazy:{type:Boolean,default:!1},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:function(){return it.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||it.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}},rootClasses:function(){return[this.iconPosition,this.size,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses:function(){return[this.statusType,this.size,{"is-rounded":this.rounded}]},hasIconRight:function(){return this.passwordReveal||this.loading||this.statusIcon&&this.statusTypeIcon||this.iconRight},rightIcon:function(){return this.passwordReveal?this.passwordVisibleIcon:this.iconRight?this.iconRight:this.statusTypeIcon},rightIconType:function(){return this.passwordReveal?"is-primary":this.iconRight?this.iconRightType||null:this.statusType},iconPosition:function(){var t="";return this.icon&&(t+="has-icons-left "),this.hasIconRight&&(t+="has-icons-right"),t},statusTypeIcon:function(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-circle";case"is-info":return"information";case"is-warning":return"alert"}},hasMessage:function(){return!!this.statusMessage},passwordVisibleIcon:function(){return this.isPasswordVisible?"eye-off":"eye"},valueLength:function(){return"string"===typeof this.computedValue?Array.from(this.computedValue).length:"number"===typeof this.computedValue?this.computedValue.toString().length:0}},watch:{value:function(t){this.newValue=t},type:function(t){this.newType=t}},methods:{togglePasswordVisibility:function(){var t=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick((function(){t.focus()}))},iconClick:function(t,e){var n=this;this.$emit(t,e),this.$nextTick((function(){n.focus()}))},rightIconClick:function(t){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",t)},onInput:function(t){if(!this.lazy){var e=t.target.value;this.updateValue(e)}},onChange:function(t){if(this.lazy){var e=t.target.value;this.updateValue(e)}},updateValue:function(t){this.computedValue=t,!this.isValid&&this.checkHtml5Validity()}}};const Ct=St;var Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:t.rootClasses},["textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"input",class:[t.inputClasses,t.customClass],attrs:{type:t.newType,autocomplete:t.newAutocomplete,maxlength:t.maxlength},domProps:{value:t.computedValue},on:{input:t.onInput,change:t.onChange,blur:t.onBlur,focus:t.onFocus}},"input",t.$attrs,!1)):n("textarea",t._b({ref:"textarea",staticClass:"textarea",class:[t.inputClasses,t.customClass],attrs:{maxlength:t.maxlength},domProps:{value:t.computedValue},on:{input:t.onInput,change:t.onChange,blur:t.onBlur,focus:t.onFocus}},"textarea",t.$attrs,!1)),t.icon?n("b-icon",{staticClass:"is-left",class:{"is-clickable":t.iconClickable},attrs:{icon:t.icon,pack:t.iconPack,size:t.iconSize},nativeOn:{click:function(e){return t.iconClick("icon-click",e)}}}):t._e(),!t.loading&&t.hasIconRight?n("b-icon",{staticClass:"is-right",class:{"is-clickable":t.passwordReveal||t.iconRightClickable},attrs:{icon:t.rightIcon,pack:t.iconPack,size:t.iconSize,type:t.rightIconType,both:""},nativeOn:{click:function(e){return t.rightIconClick(e)}}}):t._e(),t.maxlength&&t.hasCounter&&"number"!==t.type?n("small",{staticClass:"help counter",class:{"is-invisible":!t.isFocused}},[t._v(" "+t._s(t.valueLength)+" / "+t._s(t.maxlength)+" ")]):t._e()],1)},Tt=[];const Ot=void 0,At=void 0,Et=void 0,Pt=!1;var Mt=st({render:Dt,staticRenderFns:Tt},Ot,Ct,At,Pt,Et,void 0,void 0),It={name:"BAutocomplete",components:s({},Mt.name,Mt),mixins:[ht],inheritAttrs:!1,props:{value:[Number,String],data:{type:Array,default:function(){return[]}},field:{type:String,default:"value"},keepFirst:Boolean,clearOnSelect:Boolean,openOnFocus:Boolean,customFormatter:Function,checkInfiniteScroll:Boolean,keepOpen:Boolean,selectOnClickOutside:Boolean,clearable:Boolean,maxHeight:[String,Number],dropdownPosition:{type:String,default:"auto"},groupField:String,groupOptions:String,iconRight:String,iconRightClickable:Boolean,appendToBody:Boolean,type:{type:String,default:"text"},confirmKeys:{type:Array,default:function(){return["Tab","Enter"]}},selectableHeader:Boolean,selectableFooter:Boolean},data:function(){return{selected:null,hovered:null,headerHovered:null,footerHovered:null,isActive:!1,newValue:this.value,newAutocomplete:this.autocomplete||"off",ariaAutocomplete:this.keepFirst?"both":"list",isListInViewportVertically:!0,hasFocus:!1,style:{},_isAutocomplete:!0,_elementRef:"input",_bodyEl:void 0}},computed:{computedData:function(){var t=this;if(this.groupField){if(this.groupOptions){var e=[];return this.data.forEach((function(n){var i=$(n,t.groupField),r=$(n,t.groupOptions);e.push({group:i,items:r})})),e}var n={};this.data.forEach((function(e){var i=$(e,t.groupField);n[i]||(n[i]=[]),n[i].push(e)}));var i=[];return Object.keys(n).forEach((function(t){i.push({group:t,items:n[t]})})),i}return[{items:this.data}]},isEmpty:function(){return!this.computedData||!this.computedData.some((function(t){return t.items&&t.items.length}))},whiteList:function(){var t=[];if(t.push(this.$refs.input.$el.querySelector("input")),t.push(this.$refs.dropdown),void 0!==this.$refs.dropdown){var e=this.$refs.dropdown.querySelectorAll("*"),n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;t.push(s)}}catch(v){i=!0,r=v}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}if(this.$parent.$data._isTaginput){t.push(this.$parent.$el);var c=this.$parent.$el.querySelectorAll("*"),l=!0,u=!1,h=void 0;try{for(var d,f=c[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var p=d.value;t.push(p)}}catch(v){u=!0,h=v}finally{try{l||null==f.return||f.return()}finally{if(u)throw h}}}return t},hasDefaultSlot:function(){return!!this.$scopedSlots.default},hasGroupSlot:function(){return!!this.$scopedSlots.group},hasEmptySlot:function(){return!!this.$slots.empty},hasHeaderSlot:function(){return!!this.$slots.header},hasFooterSlot:function(){return!!this.$slots.footer},isOpenedTop:function(){return"top"===this.dropdownPosition||"auto"===this.dropdownPosition&&!this.isListInViewportVertically},newIconRight:function(){return this.clearable&&this.newValue?"close-circle":this.iconRight},newIconRightClickable:function(){return!!this.clearable||this.iconRightClickable},contentStyle:function(){return{maxHeight:q(this.maxHeight)}}},watch:{isActive:function(t){var e=this;"auto"===this.dropdownPosition&&(t?this.calcDropdownInViewportVertical():setTimeout((function(){e.calcDropdownInViewportVertical()}),100))},newValue:function(t){this.$emit("input",t);var e=this.getValue(this.selected);e&&e!==t&&this.setSelected(null,!1),!this.hasFocus||this.openOnFocus&&!t||(this.isActive=!!t)},value:function(t){this.newValue=t},data:function(){var t=this;if(this.keepFirst)this.$nextTick((function(){t.isActive?t.selectFirstOption(t.computedData):t.setHovered(null)}));else if(this.hovered){var e=this.getValue(this.hovered),n=this.computedData.map((function(t){return t.items})).reduce((function(t,e){return[].concat(S(t),S(e))}),[]);n.some((function(n){return t.getValue(n)===e}))||this.setHovered(null)}}},methods:{setHovered:function(t){void 0!==t&&(this.hovered=t)},setSelected:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(void 0!==t){if(this.selected=t,this.$emit("select",this.selected,i),null!==this.selected){if(this.clearOnSelect){var r=this.$refs.input;r.newValue="",r.$refs.input.value=""}else this.newValue=this.getValue(this.selected);this.setHovered(null)}n&&this.$nextTick((function(){e.isActive=!1})),this.checkValidity()}},selectFirstOption:function(t){var e=this;this.$nextTick((function(){var n=t.filter((function(t){return t.items&&t.items.length}));if(n.length){var i=n[0].items[0];e.setHovered(i)}else e.setHovered(null)}))},keydown:function(t){var e=t.key;if("Enter"===e&&t.preventDefault(),"Escape"!==e&&"Tab"!==e||(this.isActive=!1),this.confirmKeys.indexOf(e)>=0){","===e&&t.preventDefault();var n=!this.keepOpen||"Tab"===e;if(null===this.hovered)return void this.checkIfHeaderOrFooterSelected(t,null,n);this.setSelected(this.hovered,n,t)}},selectHeaderOrFoterByClick:function(t,e){this.checkIfHeaderOrFooterSelected(t,{origin:e})},checkIfHeaderOrFooterSelected:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.selectableHeader&&(this.headerHovered||e&&"header"===e.origin)&&(this.$emit("select-header",t),this.headerHovered=!1,e&&this.setHovered(null),n&&(this.isActive=!1)),this.selectableFooter&&(this.footerHovered||e&&"footer"===e.origin)&&(this.$emit("select-footer",t),this.footerHovered=!1,e&&this.setHovered(null),n&&(this.isActive=!1))},clickedOutside:function(t){var e=Q(this)?t.composedPath()[0]:t.target;!this.hasFocus&&this.whiteList.indexOf(e)<0&&(this.keepFirst&&this.hovered&&this.selectOnClickOutside?this.setSelected(this.hovered,!0):this.isActive=!1)},getValue:function(t){if(null!==t)return"undefined"!==typeof this.customFormatter?this.customFormatter(t):"object"===i(t)?$(t,this.field):t},checkIfReachedTheEndOfScroll:function(t){t.clientHeight!==t.scrollHeight&&t.scrollTop+t.clientHeight>=t.scrollHeight&&this.$emit("infinite-scroll")},calcDropdownInViewportVertical:function(){var t=this;this.$nextTick((function(){if(void 0!==t.$refs.dropdown){var e=t.$refs.dropdown.getBoundingClientRect();t.isListInViewportVertically=e.top>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight),t.appendToBody&&t.updateAppendToBody()}}))},keyArrows:function(t){var e="down"===t?1:-1;if(this.isActive){var n,i=this.computedData.map((function(t){return t.items})).reduce((function(t,e){return[].concat(S(t),S(e))}),[]);this.hasHeaderSlot&&this.selectableHeader&&i.unshift(void 0),this.hasFooterSlot&&this.selectableFooter&&i.push(void 0),n=this.headerHovered?0+e:this.footerHovered?i.length-1+e:i.indexOf(this.hovered)+e,n=n>i.length-1?i.length-1:n,n=n<0?0:n,this.footerHovered=!1,this.headerHovered=!1,this.setHovered(void 0!==i[n]?i[n]:null),this.hasFooterSlot&&this.selectableFooter&&n===i.length-1&&(this.footerHovered=!0),this.hasHeaderSlot&&this.selectableHeader&&0===n&&(this.headerHovered=!0);var r=this.$refs.dropdown.querySelector(".dropdown-content"),a="a.dropdown-item:not(.is-disabled)";this.hasHeaderSlot&&this.selectableHeader&&(a+=",div.dropdown-header"),this.hasFooterSlot&&this.selectableFooter&&(a+=",div.dropdown-footer");var o=r.querySelectorAll(a)[n];if(!o)return;var s=r.scrollTop,c=r.scrollTop+r.clientHeight-o.clientHeight;o.offsetTop<s?r.scrollTop=o.offsetTop:o.offsetTop>=c&&(r.scrollTop=o.offsetTop-r.clientHeight+o.clientHeight)}else this.isActive=!0},focused:function(t){this.getValue(this.selected)===this.newValue&&this.$el.querySelector("input").select(),this.openOnFocus&&(this.isActive=!0,this.keepFirst&&this.selectFirstOption(this.computedData)),this.hasFocus=!0,this.$emit("focus",t)},onBlur:function(t){this.hasFocus=!1,this.$emit("blur",t)},onInput:function(){var t=this.getValue(this.selected);t&&t===this.newValue||(this.$emit("typing",this.newValue),this.checkValidity())},rightIconClick:function(t){this.clearable?(this.newValue="",this.setSelected(null,!1),this.openOnFocus&&this.$refs.input.$el.focus()):this.$emit("icon-right-click",t)},checkValidity:function(){var t=this;this.useHtml5Validation&&this.$nextTick((function(){t.checkHtml5Validity()}))},updateAppendToBody:function(){var t=this.$refs.dropdown,e=this.$refs.input.$el;if(t&&e){var n=this.$data._bodyEl;n.classList.forEach((function(t){return n.classList.remove(t)})),n.classList.add("autocomplete"),n.classList.add("control"),this.expandend&&n.classList.add("is-expandend");var i=e.getBoundingClientRect(),r=i.top+window.scrollY,a=i.left+window.scrollX;this.isOpenedTop?r-=t.clientHeight:r+=e.clientHeight,this.style={position:"absolute",top:"".concat(r,"px"),left:"".concat(a,"px"),width:"".concat(e.clientWidth,"px"),maxWidth:"".concat(e.clientWidth,"px"),zIndex:"99"}}}},created:function(){"undefined"!==typeof window&&(document.addEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.addEventListener("resize",this.calcDropdownInViewportVertical))},mounted:function(){var t=this;if(this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content")){var e=this.$refs.dropdown.querySelector(".dropdown-content");e.addEventListener("scroll",(function(){return t.checkIfReachedTheEndOfScroll(e)}))}this.appendToBody&&(this.$data._bodyEl=V(this.$refs.dropdown),this.updateAppendToBody())},beforeDestroy:function(){if("undefined"!==typeof window&&(document.removeEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.removeEventListener("resize",this.calcDropdownInViewportVertical)),this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content")){var t=this.$refs.dropdown.querySelector(".dropdown-content");t.removeEventListener("scroll",this.checkIfReachedTheEndOfScroll)}this.appendToBody&&H(this.$data._bodyEl)}};const Rt=It;var Nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"autocomplete control",class:{"is-expanded":t.expanded}},[n("b-input",t._b({ref:"input",attrs:{type:t.type,size:t.size,loading:t.loading,rounded:t.rounded,icon:t.icon,"icon-right":t.newIconRight,"icon-right-clickable":t.newIconRightClickable,"icon-pack":t.iconPack,maxlength:t.maxlength,autocomplete:t.newAutocomplete,"use-html5-validation":!1,"aria-autocomplete":t.ariaAutocomplete},on:{input:t.onInput,focus:t.focused,blur:t.onBlur,"icon-right-click":t.rightIconClick,"icon-click":function(e){return t.$emit("icon-click",e)}},nativeOn:{keydown:[function(e){return t.keydown(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.keyArrows("up"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.keyArrows("down"))}]},model:{value:t.newValue,callback:function(e){t.newValue=e},expression:"newValue"}},"b-input",t.$attrs,!1)),n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive&&(!t.isEmpty||t.hasEmptySlot||t.hasHeaderSlot),expression:"isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot)"}],ref:"dropdown",staticClass:"dropdown-menu",class:{"is-opened-top":t.isOpenedTop&&!t.appendToBody},style:t.style},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"dropdown-content",style:t.contentStyle},[t.hasHeaderSlot?n("div",{staticClass:"dropdown-item dropdown-header",class:{"is-hovered":t.headerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(e){return t.selectHeaderOrFoterByClick(e,"header")}}},[t._t("header")],2):t._e(),t._l(t.computedData,(function(e,i){return[e.group?n("div",{key:i+"group",staticClass:"dropdown-item"},[t.hasGroupSlot?t._t("group",null,{group:e.group,index:i}):n("span",{staticClass:"has-text-weight-bold"},[t._v(" "+t._s(e.group)+" ")])],2):t._e(),t._l(e.items,(function(e,r){return n("a",{key:i+":"+r,staticClass:"dropdown-item",class:{"is-hovered":e===t.hovered},attrs:{role:"button",tabindex:"0"},on:{click:function(n){return n.stopPropagation(),t.setSelected(e,!t.keepOpen,n)}}},[t.hasDefaultSlot?t._t("default",null,{option:e,index:r}):n("span",[t._v(" "+t._s(t.getValue(e,!0))+" ")])],2)}))]})),t.isEmpty&&t.hasEmptySlot?n("div",{staticClass:"dropdown-item is-disabled"},[t._t("empty")],2):t._e(),t.hasFooterSlot?n("div",{staticClass:"dropdown-item dropdown-footer",class:{"is-hovered":t.footerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(e){return t.selectHeaderOrFoterByClick(e,"footer")}}},[t._t("footer")],2):t._e()],2)])])],1)},$t=[];const Lt=void 0,Ft=void 0,Bt=void 0,jt=!1;var zt=st({render:Nt,staticRenderFns:$t},Lt,Rt,Ft,jt,Bt,void 0,void 0),Ht={install:function(t){lt(t,zt)}};ct(Ht);const Vt=Ht;var Gt={name:"BBreadcrumb",props:{align:{type:String,default:function(){return it.defaultBreadcrumbAlign}},separator:{type:String,default:function(){return it.defaultBreadcrumbSeparator}},size:{type:String,default:function(){return it.defaultBreadcrumbSize}}},computed:{breadcrumbClasses:function(){return["breadcrumb",this.align,this.separator,this.size]}}};const Wt=Gt;var Ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{class:t.breadcrumbClasses},[n("ul",[t._t("default")],2)])},Yt=[];const qt=void 0,Xt=void 0,Kt=void 0,Jt=!1;var Zt=st({render:Ut,staticRenderFns:Yt},qt,Wt,Xt,Jt,Kt,void 0,void 0),Qt={name:"BBreadcrumbItem",inheritAttrs:!1,props:{tag:{type:String,default:function(){return it.defaultBreadcrumbTag}},active:Boolean}};const te=Qt;var ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{class:{"is-active":t.active}},[n(t.tag,t._g(t._b({tag:"component"},"component",t.$attrs,!1),t.$listeners),[t._t("default")],2)],1)},ne=[];const ie=void 0,re=void 0,ae=void 0,oe=!1;var se=st({render:ee,staticRenderFns:ne},ie,te,re,oe,ae,void 0,void 0),ce={install:function(t){lt(t,Zt),lt(t,se)}};ct(ce);const le=ce;var ue={name:"BButton",components:s({},xt.name,xt),inheritAttrs:!1,props:{type:[String,Object],size:String,label:String,iconPack:String,iconLeft:String,iconRight:String,rounded:{type:Boolean,default:function(){return it.defaultButtonRounded}},loading:Boolean,outlined:Boolean,expanded:Boolean,inverted:Boolean,focused:Boolean,active:Boolean,hovered:Boolean,selected:Boolean,nativeType:{type:String,default:"button",validator:function(t){return["button","submit","reset"].indexOf(t)>=0}},tag:{type:String,default:"button",validator:function(t){return it.defaultLinkTags.indexOf(t)>=0}}},computed:{computedTag:function(){return void 0!==this.$attrs.disabled&&!1!==this.$attrs.disabled?"button":this.tag},iconSize:function(){return this.size&&"is-medium"!==this.size?"is-large"===this.size?"is-medium":this.size:"is-small"}}};const he=ue;var de=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.computedTag,t._g(t._b({tag:"component",staticClass:"button",class:[t.size,t.type,{"is-rounded":t.rounded,"is-loading":t.loading,"is-outlined":t.outlined,"is-fullwidth":t.expanded,"is-inverted":t.inverted,"is-focused":t.focused,"is-active":t.active,"is-hovered":t.hovered,"is-selected":t.selected}],attrs:{type:"button"===t.computedTag?t.nativeType:void 0}},"component",t.$attrs,!1),t.$listeners),[t.iconLeft?n("b-icon",{attrs:{pack:t.iconPack,icon:t.iconLeft,size:t.iconSize}}):t._e(),t.label?n("span",[t._v(t._s(t.label))]):t.$slots.default?n("span",[t._t("default")],2):t._e(),t.iconRight?n("b-icon",{attrs:{pack:t.iconPack,icon:t.iconRight,size:t.iconSize}}):t._e()],1)},fe=[];const pe=void 0,ve=void 0,me=void 0,ge=!1;var ye=st({render:de,staticRenderFns:fe},pe,he,ve,ge,me,void 0,void 0),be={install:function(t){lt(t,ye)}};ct(be);const _e=be;var we=1,ke=3,xe=ke,Se=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={provide:function(){return s({},"b"+t,this)}};return I(e,we)&&(n.data=function(){return{childItems:[]}},n.methods={_registerItem:function(t){this.childItems.push(t)},_unregisterItem:function(t){this.childItems=this.childItems.filter((function(e){return e!==t}))}},I(e,ke)&&(n.watch={childItems:function(t){if(t.length>0&&this.$scopedSlots.default){var e=t[0].$vnode.tag,n=0,i=function i(r){var a=!0,o=!1,s=void 0;try{for(var c,l=function(){var r=c.value;if(r.tag===e){var a=t.find((function(t){return t.$vnode===r}));a&&(a.index=n++)}else if(r.tag){var o=r.componentInstance?r.componentInstance.$scopedSlots.default?r.componentInstance.$scopedSlots.default():r.componentInstance.$children:r.children;Array.isArray(o)&&o.length>0&&i(o.map((function(t){return t.$vnode})))}},u=r[Symbol.iterator]();!(a=(c=u.next()).done);a=!0)l()}catch(h){o=!0,s=h}finally{try{a||null==u.return||u.return()}finally{if(o)throw s}}return!1};i(this.$scopedSlots.default())}}},n.computed={sortedItems:function(){return this.childItems.slice().sort((function(t,e){return t.index-e.index}))}})),n},Ce=1,De=2,Te=Ce,Oe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={inject:{parent:{from:"b"+t,default:!1}},created:function(){if(this.parent)this.parent._registerItem&&this.parent._registerItem(this);else if(!I(e,De))throw this.$destroy(),new Error("You should wrap "+this.$options.name+" in a "+t)},beforeDestroy:function(){this.parent&&this.parent._unregisterItem&&this.parent._unregisterItem(this)}};return I(e,Ce)&&(n.data=function(){return{index:null}}),n},Ae={name:"BImage",props:{src:String,alt:String,srcFallback:String,webpFallback:{type:String,default:function(){return it.defaultImageWebpFallback}},lazy:{type:Boolean,default:function(){return it.defaultImageLazy}},responsive:{type:Boolean,default:function(){return it.defaultImageResponsive}},ratio:{type:String,default:function(){return it.defaultImageRatio}},placeholder:String,srcset:String,srcsetSizes:Array,srcsetFormatter:{type:Function,default:function(t,e,n){return"function"===typeof it.defaultImageSrcsetFormatter?it.defaultImageSrcsetFormatter(t,e):n.formatSrcset(t,e)}},rounded:{type:Boolean,default:!1},captionFirst:{type:Boolean,default:!1},customClass:String},data:function(){return{clientWidth:0,webpSupportVerified:!1,webpSupported:!1,useNativeLazy:!1,observer:null,inViewPort:!1,bulmaKnownRatio:["square","1by1","5by4","4by3","3by2","5by3","16by9","b2y1","3by1","4by5","3by4","2by3","3by5","9by16","1by2","1by3"],loaded:!1,failed:!1}},computed:{ratioPattern:function(){return new RegExp(/([0-9]+)by([0-9]+)/)},hasRatio:function(){return this.ratio&&this.ratioPattern.test(this.ratio)},figureClasses:function(){var t={image:this.responsive};return this.hasRatio&&this.bulmaKnownRatio.indexOf(this.ratio)>=0&&(t["is-".concat(this.ratio)]=!0),t},figureStyles:function(){if(this.hasRatio&&this.bulmaKnownRatio.indexOf(this.ratio)<0){var t=this.ratioPattern.exec(this.ratio);return{paddingTop:"".concat(t[2]/t[1]*100,"%")}}},imgClasses:function(){return s({"is-rounded":this.rounded,"has-ratio":this.hasRatio},this.customClass,!!this.customClass)},srcExt:function(){return this.getExt(this.src)},isWepb:function(){return"webp"===this.srcExt},computedSrc:function(){var t=this.src;return this.failed&&this.srcFallback&&(t=this.srcFallback),!this.webpSupported&&this.isWepb&&this.webpFallback?this.webpFallback.startsWith(".")?t.replace(/\.webp/gi,"".concat(this.webpFallback)):this.webpFallback:t},computedWidth:function(){if(this.responsive&&this.clientWidth>0)return this.clientWidth},computedNativeLazy:function(){if(this.lazy&&this.useNativeLazy)return"lazy"},isDisplayed:function(){return(this.webpSupportVerified||!this.isWepb)&&(!this.lazy||this.useNativeLazy||this.inViewPort)},placeholderExt:function(){if(this.placeholder)return this.getExt(this.placeholder)},isPlaceholderWepb:function(){if(this.placeholder)return"webp"===this.placeholderExt},computedPlaceholder:function(){return!this.webpSupported&&this.isPlaceholderWepb&&this.webpFallback&&this.webpFallback.startsWith(".")?this.placeholder.replace(/\.webp/gi,"".concat(this.webpFallback)):this.placeholder},isPlaceholderDisplayed:function(){return!this.loaded&&(this.$slots.placeholder||this.placeholder&&(this.webpSupportVerified||!this.isPlaceholderWepb))},computedSrcset:function(){var t=this;return this.srcset?!this.webpSupported&&this.isWepb&&this.webpFallback&&this.webpFallback.startsWith(".")?this.srcset.replace(/\.webp/gi,"".concat(this.webpFallback)):this.srcset:this.srcsetSizes&&Array.isArray(this.srcsetSizes)&&this.srcsetSizes.length>0?this.srcsetSizes.map((function(e){return"".concat(t.srcsetFormatter(t.computedSrc,e,t)," ").concat(e,"w")})).join(","):void 0},computedSizes:function(){if(this.computedSrcset&&this.computedWidth)return"".concat(this.computedWidth,"px")},isCaptionFirst:function(){return this.$slots.caption&&this.captionFirst},isCaptionLast:function(){return this.$slots.caption&&!this.captionFirst}},methods:{getExt:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t){var n=e?t.split("?")[0]:t;return n.split(".").pop()}return""},setWidth:function(){this.clientWidth=this.$el.clientWidth},formatSrcset:function(t,e){var n=this.getExt(t,!1),i=t.split(".").slice(0,-1).join(".");return"".concat(i,"-").concat(e,".").concat(n)},onLoad:function(t){this.loaded=!0,this.emit("load",t)},onError:function(t){this.emit("error",t),this.failed||(this.failed=!0)},emit:function(t,e){var n=e.target;this.$emit(t,e,n.currentSrc||n.src||this.computedSrc)}},created:function(){var t=this;if(this.isWepb&&Z().then((function(e){t.webpSupportVerified=!0,t.webpSupported=e})),this.lazy){var e="undefined"!==typeof window&&"HTMLImageElement"in window&&"loading"in HTMLImageElement.prototype,n="undefined"!==typeof window&&"IntersectionObserver"in window;!e&&n?this.observer=new IntersectionObserver((function(e){var n=e[0],i=n.target,r=n.isIntersecting;r&&!t.inViewPort&&(t.inViewPort=!0,t.observer.unobserve(i))})):this.useNativeLazy=!0}},mounted:function(){this.lazy&&this.observer&&this.observer.observe(this.$el),this.setWidth(),"undefined"!==typeof window&&window.addEventListener("resize",this.setWidth)},beforeDestroy:function(){this.observer&&this.observer.disconnect(),"undefined"!==typeof window&&window.removeEventListener("resize",this.setWidth)}};const Ee=Ae;var Pe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("figure",{staticClass:"b-image-wrapper",class:t.figureClasses,style:t.figureStyles},[t.isCaptionFirst?n("figcaption",[t._t("caption")],2):t._e(),n("transition",{attrs:{name:"fade"}},[t.isDisplayed?n("img",{class:t.imgClasses,attrs:{srcset:t.computedSrcset,src:t.computedSrc,alt:t.alt,width:t.computedWidth,sizes:t.computedSizes,loading:t.computedNativeLazy},on:{load:t.onLoad,error:t.onError}}):t._e()]),n("transition",{attrs:{name:"fade"}},[t.isPlaceholderDisplayed?t._t("placeholder",[n("img",{staticClass:"placeholder",class:t.imgClasses,attrs:{src:t.computedPlaceholder,alt:t.alt}})]):t._e()],2),t.isCaptionLast?n("figcaption",[t._t("caption")],2):t._e()],1)},Me=[];const Ie=void 0,Re=void 0,Ne=void 0,$e=!1;var Le=st({render:Pe,staticRenderFns:Me},Ie,Ee,Re,$e,Ne,void 0,void 0),Fe={name:"BCarousel",components:s({},xt.name,xt),mixins:[Se("carousel",xe)],props:{value:{type:Number,default:0},animated:{type:String,default:"slide"},interval:Number,hasDrag:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},pauseHover:{type:Boolean,default:!0},pauseInfo:{type:Boolean,default:!0},pauseInfoType:{type:String,default:"is-white"},pauseText:{type:String,default:"Pause"},arrow:{type:Boolean,default:!0},arrowHover:{type:Boolean,default:!0},repeat:{type:Boolean,default:!0},iconPack:String,iconSize:String,iconPrev:{type:String,default:function(){return it.defaultIconPrev}},iconNext:{type:String,default:function(){return it.defaultIconNext}},indicator:{type:Boolean,default:!0},indicatorBackground:Boolean,indicatorCustom:Boolean,indicatorCustomSize:{type:String,default:"is-small"},indicatorInside:{type:Boolean,default:!0},indicatorMode:{type:String,default:"click"},indicatorPosition:{type:String,default:"is-bottom"},indicatorStyle:{type:String,default:"is-dots"},overlay:Boolean,progress:Boolean,progressType:{type:String,default:"is-primary"},withCarouselList:Boolean},data:function(){return{transition:"next",activeChild:this.value||0,isPause:!1,dragX:!1,timer:null}},computed:{indicatorClasses:function(){return[{"has-background":this.indicatorBackground,"has-custom":this.indicatorCustom,"is-inside":this.indicatorInside},this.indicatorCustom&&this.indicatorCustomSize,this.indicatorInside&&this.indicatorPosition]},hasPrev:function(){return this.repeat||0!==this.activeChild},hasNext:function(){return this.repeat||this.activeChild<this.childItems.length-1}},watch:{value:function(t){this.changeActive(t)},sortedItems:function(t){this.activeChild>=t.length&&this.activeChild>0&&this.changeActive(this.activeChild-1)},autoplay:function(t){t?this.startTimer():this.pauseTimer()},repeat:function(t){t&&this.startTimer()}},methods:{startTimer:function(){var t=this;this.autoplay&&!this.timer&&(this.isPause=!1,this.timer=setInterval((function(){!t.repeat&&t.activeChild>=t.childItems.length-1?t.pauseTimer():t.next()}),this.interval||it.defaultCarouselInterval))},pauseTimer:function(){this.isPause=!0,this.timer&&(clearInterval(this.timer),this.timer=null)},restartTimer:function(){this.pauseTimer(),this.startTimer()},checkPause:function(){this.pauseHover&&this.autoplay&&this.pauseTimer()},changeActive:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.activeChild===t||isNaN(t)||(e=e||t-this.activeChild,t=this.repeat?R(t,this.childItems.length):N(t,0,this.childItems.length-1),this.transition=e>0?"prev":"next",this.activeChild=t,t!==this.value&&this.$emit("input",t),this.restartTimer(),this.$emit("change",t))},modeChange:function(t,e){if(this.indicatorMode===t)return this.changeActive(e)},prev:function(){this.changeActive(this.activeChild-1,-1)},next:function(){this.changeActive(this.activeChild+1,1)},dragStart:function(t){this.hasDrag&&t.target.draggable&&(this.dragX=t.touches?t.changedTouches[0].pageX:t.pageX,t.touches?this.pauseTimer():t.preventDefault())},dragEnd:function(t){if(!1!==this.dragX){var e=t.touches?t.changedTouches[0].pageX:t.pageX,n=e-this.dragX;Math.abs(n)>30?n<0?this.next():this.prev():(t.target.click(),this.sortedItems[this.activeChild].$emit("click"),this.$emit("click")),t.touches&&this.startTimer(),this.dragX=!1}}},mounted:function(){this.startTimer()},beforeDestroy:function(){this.pauseTimer()}};const Be=Fe;var je=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"carousel",class:{"is-overlay":t.overlay},on:{mouseenter:t.checkPause,mouseleave:t.startTimer}},[t.progress?n("progress",{staticClass:"progress",class:t.progressType,attrs:{max:t.childItems.length-1},domProps:{value:t.activeChild}},[t._v(" "+t._s(t.childItems.length-1)+" ")]):t._e(),n("div",{staticClass:"carousel-items",on:{mousedown:t.dragStart,mouseup:t.dragEnd,touchstart:function(e){return e.stopPropagation(),t.dragStart(e)},touchend:function(e){return e.stopPropagation(),t.dragEnd(e)}}},[t._t("default"),t.arrow?n("div",{staticClass:"carousel-arrow",class:{"is-hovered":t.arrowHover}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.hasPrev,expression:"hasPrev"}],staticClass:"has-icons-left",attrs:{pack:t.iconPack,icon:t.iconPrev,size:t.iconSize,both:""},nativeOn:{click:function(e){return t.prev(e)}}}),n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.hasNext,expression:"hasNext"}],staticClass:"has-icons-right",attrs:{pack:t.iconPack,icon:t.iconNext,size:t.iconSize,both:""},nativeOn:{click:function(e){return t.next(e)}}})],1):t._e()],2),t.autoplay&&t.pauseHover&&t.pauseInfo&&t.isPause?n("div",{staticClass:"carousel-pause"},[n("span",{staticClass:"tag",class:t.pauseInfoType},[t._v(" "+t._s(t.pauseText)+" ")])]):t._e(),t.withCarouselList&&!t.indicator?[t._t("list",null,{active:t.activeChild,switch:t.changeActive})]:t._e(),t.indicator?n("div",{staticClass:"carousel-indicator",class:t.indicatorClasses},t._l(t.sortedItems,(function(e,i){return n("a",{key:e._uid,staticClass:"indicator-item",class:{"is-active":e.isActive},on:{mouseover:function(e){return t.modeChange("hover",i)},click:function(e){return t.modeChange("click",i)}}},[t._t("indicators",[n("span",{staticClass:"indicator-style",class:t.indicatorStyle})],{i})],2)})),0):t._e(),t.overlay?[t._t("overlay")]:t._e()],2)},ze=[];const He=void 0,Ve=void 0,Ge=void 0,We=!1;var Ue=st({render:je,staticRenderFns:ze},He,Be,Ve,We,Ge,void 0,void 0),Ye={name:"BCarouselItem",mixins:[Oe("carousel",Te)],data:function(){return{transitionName:null}},computed:{transition:function(){return"fade"===this.parent.animated?"fade":this.parent.transition?"slide-"+this.parent.transition:void 0},isActive:function(){return this.parent.activeChild===this.index}}};const qe=Ye;var Xe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"carousel-item"},[t._t("default")],2)])},Ke=[];const Je=void 0,Ze=void 0,Qe=void 0,tn=!1;var en,nn=st({render:Xe,staticRenderFns:Ke},Je,qe,Ze,tn,Qe,void 0,void 0),rn={name:"BCarouselList",components:(en={},s(en,xt.name,xt),s(en,Le.name,Le),en),props:{data:{type:Array,default:function(){return[]}},value:{type:Number,default:0},scrollValue:{type:Number,default:0},hasDrag:{type:Boolean,default:!0},hasGrayscale:Boolean,hasOpacity:Boolean,repeat:Boolean,itemsToShow:{type:Number,default:4},itemsToList:{type:Number,default:1},asIndicator:Boolean,arrow:{type:Boolean,default:!0},arrowHover:{type:Boolean,default:!0},iconPack:String,iconSize:String,iconPrev:{type:String,default:function(){return it.defaultIconPrev}},iconNext:{type:String,default:function(){return it.defaultIconNext}},breakpoints:{type:Object,default:function(){return{}}}},data:function(){return{activeItem:this.value,scrollIndex:this.asIndicator?this.scrollValue:this.value,delta:0,dragX:!1,hold:0,windowWidth:0,touch:!1,observer:null,refresh_:0}},computed:{dragging:function(){return!1!==this.dragX},listClass:function(){return[{"has-grayscale":this.settings.hasGrayscale,"has-opacity":this.settings.hasOpacity,"is-dragging":this.dragging}]},itemStyle:function(){return"width: ".concat(this.itemWidth,"px;")},translation:function(){return-N(this.delta+this.scrollIndex*this.itemWidth,0,(this.data.length-this.settings.itemsToShow)*this.itemWidth)},total:function(){return this.data.length-this.settings.itemsToShow},hasPrev:function(){return this.settings.repeat||this.scrollIndex>0},hasNext:function(){return this.settings.repeat||this.scrollIndex<this.total},breakpointKeys:function(){return Object.keys(this.breakpoints).sort((function(t,e){return e-t}))},settings:function(){var t=this,e=this.breakpointKeys.filter((function(e){if(t.windowWidth>=e)return!0}))[0];return e?l({},this.$props,{},this.breakpoints[e]):this.$props},itemWidth:function(){if(this.windowWidth){this.refresh_;var t=this.$el.getBoundingClientRect();return t.width/this.settings.itemsToShow}return 0}},watch:{value:function(t){this.switchTo(this.asIndicator?t-(this.itemsToShow-3)/2:t),this.activeItem!==t&&(this.activeItem=N(t,0,this.data.length-1))},scrollValue:function(t){this.switchTo(t)}},methods:{resized:function(){this.windowWidth=window.innerWidth},switchTo:function(t){t===this.scrollIndex||isNaN(t)||(this.settings.repeat&&(t=R(t,this.total+1)),t=N(t,0,this.total),this.scrollIndex=t,this.asIndicator||this.value===t?this.scrollIndex!==t&&this.$emit("updated:scroll",t):this.$emit("input",t))},next:function(){this.switchTo(this.scrollIndex+this.settings.itemsToList)},prev:function(){this.switchTo(this.scrollIndex-this.settings.itemsToList)},checkAsIndicator:function(t,e){if(this.asIndicator){var n=e.changedTouches?e.changedTouches[0].clientX:e.clientX;this.hold-Date.now()>2e3||Math.abs(this.dragX-n)>10||(this.dragX=!1,this.hold=0,e.preventDefault(),this.activeItem=t,this.$emit("switch",t))}},dragStart:function(t){this.dragging||!this.settings.hasDrag||0!==t.button&&"touchstart"!==t.type||(this.hold=Date.now(),this.touch=!!t.touches,this.dragX=this.touch?t.touches[0].clientX:t.clientX,window.addEventListener(this.touch?"touchmove":"mousemove",this.dragMove),window.addEventListener(this.touch?"touchend":"mouseup",this.dragEnd))},dragMove:function(t){if(this.dragging){var e=t.touches?(t.changedTouches[0]||t.touches[0]).clientX:t.clientX;this.delta=this.dragX-e,t.touches||t.preventDefault()}},dragEnd:function(){if(this.dragging||this.hold){if(this.hold){var t=M(this.delta),e=Math.round(Math.abs(this.delta/this.itemWidth)+.15);this.switchTo(this.scrollIndex+t*e)}this.delta=0,this.dragX=!1,window.removeEventListener(this.touch?"touchmove":"mousemove",this.dragMove),window.removeEventListener(this.touch?"touchend":"mouseup",this.dragEnd)}},refresh:function(){var t=this;this.$nextTick((function(){t.refresh_++}))}},mounted:function(){if("undefined"!==typeof window&&(window.ResizeObserver&&(this.observer=new ResizeObserver(this.refresh),this.observer.observe(this.$el)),window.addEventListener("resize",this.resized),document.addEventListener("animationend",this.refresh),document.addEventListener("transitionend",this.refresh),document.addEventListener("transitionstart",this.refresh),this.resized()),this.$attrs.config)throw new Error("The config prop was removed, you need to use v-bind instead")},beforeDestroy:function(){"undefined"!==typeof window&&(window.ResizeObserver&&this.observer.disconnect(),window.removeEventListener("resize",this.resized),document.removeEventListener("animationend",this.refresh),document.removeEventListener("transitionend",this.refresh),document.removeEventListener("transitionstart",this.refresh),this.dragEnd())}};const an=rn;var on=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"carousel-list",class:{"has-shadow":t.scrollIndex>0},on:{mousedown:function(e){return e.preventDefault(),t.dragStart(e)},touchstart:t.dragStart}},[n("div",{staticClass:"carousel-slides",class:t.listClass,style:"transform:translateX("+t.translation+"px)"},t._l(t.data,(function(e,i){return n("div",{key:i,staticClass:"carousel-slide",class:{"is-active":t.asIndicator?t.activeItem===i:t.scrollIndex===i},style:t.itemStyle,on:{mouseup:function(e){return t.checkAsIndicator(i,e)},touchend:function(e){return t.checkAsIndicator(i,e)}}},[t._t("item",[n("b-image",t._b({attrs:{src:e.image}},"b-image",e,!1))],{index:i,active:t.activeItem,scroll:t.scrollIndex,list:e},e)],2)})),0),t.arrow?n("div",{staticClass:"carousel-arrow",class:{"is-hovered":t.settings.arrowHover}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.hasPrev,expression:"hasPrev"}],staticClass:"has-icons-left",attrs:{pack:t.settings.iconPack,icon:t.settings.iconPrev,size:t.settings.iconSize,both:""},nativeOn:{click:function(e){return e.preventDefault(),t.prev(e)}}}),n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.hasNext,expression:"hasNext"}],staticClass:"has-icons-right",attrs:{pack:t.settings.iconPack,icon:t.settings.iconNext,size:t.settings.iconSize,both:""},nativeOn:{click:function(e){return e.preventDefault(),t.next(e)}}})],1):t._e()])},sn=[];const cn=void 0,ln=void 0,un=void 0,hn=!1;var dn=st({render:on,staticRenderFns:sn},cn,an,ln,hn,un,void 0,void 0),fn={install:function(t){lt(t,Ue),lt(t,nn),lt(t,dn)}};ct(fn);const pn=fn;var vn={props:{value:[String,Number,Boolean,Function,Object,Array],nativeValue:[String,Number,Boolean,Function,Object,Array],type:String,disabled:Boolean,required:Boolean,name:String,size:String},data:function(){return{newValue:this.value}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}}},watch:{value:function(t){this.newValue=t}},methods:{focus:function(){this.$refs.input.focus()}}},mn={name:"BCheckbox",mixins:[vn],props:{indeterminate:Boolean,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array],default:!1},autocomplete:{type:String,default:"on"}}};const gn=mn;var yn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{ref:"label",staticClass:"b-checkbox checkbox",class:[t.size,{"is-disabled":t.disabled}],attrs:{disabled:t.disabled},on:{click:t.focus,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.$refs.label.click())}]}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",autocomplete:t.autocomplete,disabled:t.disabled,required:t.required,name:t.name,"true-value":t.trueValue,"false-value":t.falseValue,"aria-labelledby":t.ariaLabelledby},domProps:{indeterminate:t.indeterminate,value:t.nativeValue,checked:Array.isArray(t.computedValue)?t._i(t.computedValue,t.nativeValue)>-1:t._q(t.computedValue,t.trueValue)},on:{click:function(t){t.stopPropagation()},change:function(e){var n=t.computedValue,i=e.target,r=i.checked?t.trueValue:t.falseValue;if(Array.isArray(n)){var a=t.nativeValue,o=t._i(n,a);i.checked?o<0&&(t.computedValue=n.concat([a])):o>-1&&(t.computedValue=n.slice(0,o).concat(n.slice(o+1)))}else t.computedValue=r}}}),n("span",{staticClass:"check",class:t.type}),n("span",{staticClass:"control-label",attrs:{id:t.ariaLabelledby}},[t._t("default")],2)])},bn=[];const _n=void 0,wn=void 0,kn=void 0,xn=!1;var Sn=st({render:yn,staticRenderFns:bn},_n,gn,wn,xn,kn,void 0,void 0),Cn={name:"BCheckboxButton",mixins:[vn],props:{type:{type:String,default:"is-primary"},expanded:Boolean},data:function(){return{isFocused:!1}},computed:{checked:function(){return Array.isArray(this.newValue)?this.newValue.indexOf(this.nativeValue)>=0:this.newValue===this.nativeValue}}};const Dn=Cn;var Tn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:{"is-expanded":t.expanded}},[n("label",{ref:"label",staticClass:"b-checkbox checkbox button",class:[t.checked?t.type:null,t.size,{"is-disabled":t.disabled,"is-focused":t.isFocused}],attrs:{disabled:t.disabled},on:{click:t.focus,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())}}},[t._t("default"),n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",disabled:t.disabled,required:t.required,name:t.name},domProps:{value:t.nativeValue,checked:Array.isArray(t.computedValue)?t._i(t.computedValue,t.nativeValue)>-1:t.computedValue},on:{click:function(t){t.stopPropagation()},focus:function(e){t.isFocused=!0},blur:function(e){t.isFocused=!1},change:function(e){var n=t.computedValue,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t.nativeValue,o=t._i(n,a);i.checked?o<0&&(t.computedValue=n.concat([a])):o>-1&&(t.computedValue=n.slice(0,o).concat(n.slice(o+1)))}else t.computedValue=r}}})],2)])},On=[];const An=void 0,En=void 0,Pn=void 0,Mn=!1;var In=st({render:Tn,staticRenderFns:On},An,Dn,En,Mn,Pn,void 0,void 0),Rn={install:function(t){lt(t,Sn),lt(t,In)}};ct(Rn);const Nn=Rn;var $n={name:"BCollapse",model:{prop:"open",event:"update:open"},props:{open:{type:Boolean,default:!0},animation:{type:String,default:"fade"},ariaId:{type:String,default:""},position:{type:String,default:"is-top",validator:function(t){return["is-top","is-bottom"].indexOf(t)>-1}}},data:function(){return{isOpen:this.open}},watch:{open:function(t){this.isOpen=t}},methods:{toggle:function(){this.isOpen=!this.isOpen,this.$emit("update:open",this.isOpen),this.$emit(this.isOpen?"open":"close")}},render:function(t){var e=t("div",{staticClass:"collapse-trigger",on:{click:this.toggle}},this.$scopedSlots.trigger?[this.$scopedSlots.trigger({open:this.isOpen})]:[this.$slots.trigger]),n=t("transition",{props:{name:this.animation}},[t("div",{staticClass:"collapse-content",attrs:{id:this.ariaId},directives:[{name:"show",value:this.isOpen}]},this.$slots.default)]);return t("div",{staticClass:"collapse"},"is-top"===this.position?[e,n]:[n,e])}};const Ln=$n,Fn=void 0,Bn=void 0,jn=void 0,zn=void 0;var Hn=st({},Fn,Ln,Bn,zn,jn,void 0,void 0),Vn={install:function(t){lt(t,Hn)}};ct(Vn);const Gn=Vn;var Wn,Un="AM",Yn="PM",qn="24",Xn="12",Kn=function(t,e){return e.dtf.format(t)},Jn=function(t,e){if(t){var n=null;if(e.computedValue&&!isNaN(e.computedValue)?n=new Date(e.computedValue):(n=e.timeCreator(),n.setMilliseconds(0)),e.dtf.formatToParts&&"function"===typeof e.dtf.formatToParts){var i=e.dtf.formatToParts(n).map((function(t){return"literal"===t.type?t.value.replace(/ /g,"\\s?"):"dayPeriod"===t.type?"((?!=<".concat(t.type,">)(").concat(e.amString,"|").concat(e.pmString,"|").concat(Un,"|").concat(Yn,"|").concat(Un.toLowerCase(),"|").concat(Yn.toLowerCase(),")?)"):"((?!=<".concat(t.type,">)\\d+)")})).join(""),r=J(i,t);if(r.hour=r.hour?parseInt(r.hour,10):null,r.minute=r.minute?parseInt(r.minute,10):null,r.second=r.second?parseInt(r.second,10):null,r.hour&&r.hour>=0&&r.hour<24&&r.minute&&r.minute>=0&&r.minute<59)return r.dayPeriod&&(r.dayPeriod.toLowerCase()===e.pmString.toLowerCase()||r.dayPeriod.toLowerCase()===Yn.toLowerCase())&&r.hour<12&&(r.hour+=12),n.setHours(r.hour),n.setMinutes(r.minute),n.setSeconds(r.second||0),n}var a=!1;if(e.hourFormat===Xn){var o=t.split(" ");t=o[0],a=o[1]===e.amString||o[1]===Un}var s=t.split(":"),c=parseInt(s[0],10),l=parseInt(s[1],10),u=e.enableSeconds?parseInt(s[2],10):0;return isNaN(c)||c<0||c>23||e.hourFormat===Xn&&(c<1||c>12)||isNaN(l)||l<0||l>59?null:(n.setSeconds(u),n.setMinutes(l),e.hourFormat===Xn&&(a&&12===c?c=0:a||12===c||(c+=12)),n.setHours(c),new Date(n.getTime()))}return null},Zn={mixins:[ht],inheritAttrs:!1,props:{value:Date,inline:Boolean,minTime:Date,maxTime:Date,placeholder:String,editable:Boolean,disabled:Boolean,hourFormat:{type:String,validator:function(t){return t===qn||t===Xn}},incrementHours:{type:Number,default:1},incrementMinutes:{type:Number,default:1},incrementSeconds:{type:Number,default:1},timeFormatter:{type:Function,default:function(t,e){return"function"===typeof it.defaultTimeFormatter?it.defaultTimeFormatter(t):Kn(t,e)}},timeParser:{type:Function,default:function(t,e){return"function"===typeof it.defaultTimeParser?it.defaultTimeParser(t):Jn(t,e)}},mobileNative:{type:Boolean,default:function(){return it.defaultTimepickerMobileNative}},timeCreator:{type:Function,default:function(){return"function"===typeof it.defaultTimeCreator?it.defaultTimeCreator():new Date}},position:String,unselectableTimes:Array,openOnFocus:Boolean,enableSeconds:Boolean,defaultMinutes:Number,defaultSeconds:Number,focusable:{type:Boolean,default:!0},tzOffset:{type:Number,default:0},appendToBody:Boolean,resetOnMeridianChange:{type:Boolean,default:!1}},data:function(){return{dateSelected:this.value,hoursSelected:null,minutesSelected:null,secondsSelected:null,meridienSelected:null,_elementRef:"input",AM:Un,PM:Yn,HOUR_FORMAT_24:qn,HOUR_FORMAT_12:Xn}},computed:{computedValue:{get:function(){return this.dateSelected},set:function(t){this.dateSelected=t,this.$emit("input",this.dateSelected)}},localeOptions:function(){return new Intl.DateTimeFormat(this.locale,{hour:"numeric",minute:"numeric",second:this.enableSeconds?"numeric":void 0}).resolvedOptions()},dtf:function(){return new Intl.DateTimeFormat(this.locale,{hour:this.localeOptions.hour||"numeric",minute:this.localeOptions.minute||"numeric",second:this.enableSeconds?this.localeOptions.second||"numeric":void 0,hourCycle:this.isHourFormat24?"h23":"h12"})},newHourFormat:function(){return this.hourFormat||(this.localeOptions.hour12?Xn:qn)},sampleTime:function(){var t=this.timeCreator();return t.setHours(10),t.setSeconds(0),t.setMinutes(0),t.setMilliseconds(0),t},hourLiteral:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var t=this.sampleTime,e=this.dtf.formatToParts(t),n=e.find((function(t,n){return n>0&&"hour"===e[n-1].type}));if(n)return n.value}return":"},minuteLiteral:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var t=this.sampleTime,e=this.dtf.formatToParts(t),n=e.find((function(t,n){return n>0&&"minute"===e[n-1].type}));if(n)return n.value}return":"},secondLiteral:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var t=this.sampleTime,e=this.dtf.formatToParts(t),n=e.find((function(t,n){return n>0&&"second"===e[n-1].type}));if(n)return n.value}},amString:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var t=this.sampleTime;t.setHours(10);var e=this.dtf.formatToParts(t).find((function(t){return"dayPeriod"===t.type}));if(e)return e.value}return Un},pmString:function(){if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var t=this.sampleTime;t.setHours(20);var e=this.dtf.formatToParts(t).find((function(t){return"dayPeriod"===t.type}));if(e)return e.value}return Yn},hours:function(){if(!this.incrementHours||this.incrementHours<1)throw new Error("Hour increment cannot be null or less than 1.");for(var t=[],e=this.isHourFormat24?24:12,n=0;n<e;n+=this.incrementHours){var i=n,r=i;this.isHourFormat24||(i=n+1,r=i,this.meridienSelected===this.amString?12===i&&(i=0):this.meridienSelected===this.pmString&&12!==i&&(i+=12)),t.push({label:this.formatNumber(r),value:i})}return t},minutes:function(){if(!this.incrementMinutes||this.incrementMinutes<1)throw new Error("Minute increment cannot be null or less than 1.");for(var t=[],e=0;e<60;e+=this.incrementMinutes)t.push({label:this.formatNumber(e,!0),value:e});return t},seconds:function(){if(!this.incrementSeconds||this.incrementSeconds<1)throw new Error("Second increment cannot be null or less than 1.");for(var t=[],e=0;e<60;e+=this.incrementSeconds)t.push({label:this.formatNumber(e,!0),value:e});return t},meridiens:function(){return[this.amString,this.pmString]},isMobile:function(){return this.mobileNative&&z.any()},isHourFormat24:function(){return this.newHourFormat===qn}},watch:{hourFormat:function(){null!==this.hoursSelected&&(this.meridienSelected=this.hoursSelected>=12?this.pmString:this.amString)},locale:function(){this.value||(this.meridienSelected=this.amString)},value:{handler:function(t){this.updateInternalState(t),!this.isValid&&this.$refs.input.checkHtml5Validity()},immediate:!0}},methods:{onMeridienChange:function(t){null!==this.hoursSelected&&this.resetOnMeridianChange?(this.hoursSelected=null,this.minutesSelected=null,this.secondsSelected=null,this.computedValue=null):null!==this.hoursSelected&&(t===this.pmString?this.hoursSelected+=12:t===this.amString&&(this.hoursSelected-=12)),this.updateDateSelected(this.hoursSelected,this.minutesSelected,this.enableSeconds?this.secondsSelected:0,t)},onHoursChange:function(t){this.minutesSelected||"undefined"===typeof this.defaultMinutes||(this.minutesSelected=this.defaultMinutes),this.secondsSelected||"undefined"===typeof this.defaultSeconds||(this.secondsSelected=this.defaultSeconds),this.updateDateSelected(parseInt(t,10),this.minutesSelected,this.enableSeconds?this.secondsSelected:0,this.meridienSelected)},onMinutesChange:function(t){!this.secondsSelected&&this.defaultSeconds&&(this.secondsSelected=this.defaultSeconds),this.updateDateSelected(this.hoursSelected,parseInt(t,10),this.enableSeconds?this.secondsSelected:0,this.meridienSelected)},onSecondsChange:function(t){this.updateDateSelected(this.hoursSelected,this.minutesSelected,parseInt(t,10),this.meridienSelected)},updateDateSelected:function(t,e,n,i){if(null!=t&&null!=e&&(!this.isHourFormat24&&null!==i||this.isHourFormat24)){var r=null;this.computedValue&&!isNaN(this.computedValue)?r=new Date(this.computedValue):(r=this.timeCreator(),r.setMilliseconds(0)),r.setHours(t),r.setMinutes(e),r.setSeconds(n),isNaN(r.getTime())||(this.computedValue=new Date(r.getTime()))}},updateInternalState:function(t){t?(this.hoursSelected=t.getHours(),this.minutesSelected=t.getMinutes(),this.secondsSelected=t.getSeconds(),this.meridienSelected=t.getHours()>=12?this.pmString:this.amString):(this.hoursSelected=null,this.minutesSelected=null,this.secondsSelected=null,this.meridienSelected=this.amString),this.dateSelected=t},isHourDisabled:function(t){var e=this,n=!1;if(this.minTime){var i=this.minTime.getHours(),r=this.minutes.every((function(n){return e.isMinuteDisabledForHour(t,n.value)}));n=t<i||r}if(this.maxTime&&!n){var a=this.maxTime.getHours();n=t>a}if(this.unselectableTimes&&!n){var o=this.unselectableTimes.filter((function(n){return e.enableSeconds&&null!==e.secondsSelected?n.getHours()===t&&n.getMinutes()===e.minutesSelected&&n.getSeconds()===e.secondsSelected:null!==e.minutesSelected&&(n.getHours()===t&&n.getMinutes()===e.minutesSelected)}));n=o.length>0||this.minutes.every((function(n){return e.unselectableTimes.filter((function(e){return e.getHours()===t&&e.getMinutes()===n.value})).length>0}))}return n},isMinuteDisabledForHour:function(t,e){var n=!1;if(this.minTime){var i=this.minTime.getHours(),r=this.minTime.getMinutes();n=t===i&&e<r}if(this.maxTime&&!n){var a=this.maxTime.getHours(),o=this.maxTime.getMinutes();n=t===a&&e>o}return n},isMinuteDisabled:function(t){var e=this,n=!1;if(null!==this.hoursSelected&&(n=!!this.isHourDisabled(this.hoursSelected)||this.isMinuteDisabledForHour(this.hoursSelected,t),this.unselectableTimes&&!n)){var i=this.unselectableTimes.filter((function(n){return e.enableSeconds&&null!==e.secondsSelected?n.getHours()===e.hoursSelected&&n.getMinutes()===t&&n.getSeconds()===e.secondsSelected:n.getHours()===e.hoursSelected&&n.getMinutes()===t}));n=i.length>0}return n},isSecondDisabled:function(t){var e=this,n=!1;if(null!==this.minutesSelected){if(this.isMinuteDisabled(this.minutesSelected))n=!0;else{if(this.minTime){var i=this.minTime.getHours(),r=this.minTime.getMinutes(),a=this.minTime.getSeconds();n=this.hoursSelected===i&&this.minutesSelected===r&&t<a}if(this.maxTime&&!n){var o=this.maxTime.getHours(),s=this.maxTime.getMinutes(),c=this.maxTime.getSeconds();n=this.hoursSelected===o&&this.minutesSelected===s&&t>c}}if(this.unselectableTimes&&!n){var l=this.unselectableTimes.filter((function(n){return n.getHours()===e.hoursSelected&&n.getMinutes()===e.minutesSelected&&n.getSeconds()===t}));n=l.length>0}}return n},onChange:function(t){var e=this.timeParser(t,this);this.updateInternalState(e),e&&!isNaN(e)?this.computedValue=e:(this.computedValue=null,this.$refs.input.newValue=this.computedValue)},toggle:function(t){this.$refs.dropdown&&(this.$refs.dropdown.isActive="boolean"===typeof t?t:!this.$refs.dropdown.isActive)},close:function(){this.toggle(!1)},handleOnFocus:function(){this.onFocus(),this.openOnFocus&&this.toggle(!0)},formatHHMMSS:function(t){var e=new Date(t);if(t&&!isNaN(e)){var n=e.getHours(),i=e.getMinutes(),r=e.getSeconds();return this.formatNumber(n,!0)+":"+this.formatNumber(i,!0)+":"+this.formatNumber(r,!0)}return""},onChangeNativePicker:function(t){var e=t.target.value;if(e){var n=null;this.computedValue&&!isNaN(this.computedValue)?n=new Date(this.computedValue):(n=new Date,n.setMilliseconds(0));var i=e.split(":");n.setHours(parseInt(i[0],10)),n.setMinutes(parseInt(i[1],10)),n.setSeconds(i[2]?parseInt(i[2],10):0),this.computedValue=new Date(n.getTime())}else this.computedValue=null},formatNumber:function(t,e){return this.isHourFormat24||e?this.pad(t):t},pad:function(t){return(t<10?"0":"")+t},formatValue:function(t){return t&&!isNaN(t)?this.timeFormatter(t,this):null},keyPress:function(t){var e=t.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===e||"Esc"===e)&&this.toggle(!1)},onActiveChange:function(t){t||this.onBlur()}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeDestroy:function(){"undefined"!==typeof window&&document.removeEventListener("keyup",this.keyPress)}},Qn=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e?t.querySelectorAll('*[tabindex="-1"]'):t.querySelectorAll('a[href]:not([tabindex="-1"]),\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n *[tabindex]:not([tabindex="-1"]),\n *[contenteditable]'):null},ti=function(t,e){var n=e.value,i=void 0===n||n;if(i){var r=Qn(t),a=Qn(t,!0);r&&r.length>0&&(Wn=function(e){r=Qn(t),a=Qn(t,!0);var n=r[0],i=r[r.length-1];e.target===n&&e.shiftKey&&"Tab"===e.key?(e.preventDefault(),i.focus()):(e.target===i||Array.from(a).indexOf(e.target)>=0)&&!e.shiftKey&&"Tab"===e.key&&(e.preventDefault(),n.focus())},t.addEventListener("keydown",Wn))}},ei=function(t){t.removeEventListener("keydown",Wn)},ni={bind:ti,unbind:ei},ii=["escape","outside"],ri={name:"BDropdown",directives:{trapFocus:ni},mixins:[Se("dropdown")],props:{value:{type:[String,Number,Boolean,Object,Array,Function],default:null},disabled:Boolean,inline:Boolean,scrollable:Boolean,maxHeight:{type:[String,Number],default:200},position:{type:String,validator:function(t){return["is-top-right","is-top-left","is-bottom-left","is-bottom-right"].indexOf(t)>-1}},triggers:{type:Array,default:function(){return["click"]}},mobileModal:{type:Boolean,default:function(){return it.defaultDropdownMobileModal}},ariaRole:{type:String,validator:function(t){return["menu","list","dialog"].indexOf(t)>-1},default:null},animation:{type:String,default:"fade"},multiple:Boolean,trapFocus:{type:Boolean,default:function(){return it.defaultTrapFocus}},closeOnClick:{type:Boolean,default:!0},canClose:{type:[Array,Boolean],default:!0},expanded:Boolean,appendToBody:Boolean,appendToBodyCopyParent:Boolean},data:function(){return{selected:this.value,style:{},isActive:!1,isHoverable:!1,_bodyEl:void 0}},computed:{rootClasses:function(){return[this.position,{"is-disabled":this.disabled,"is-hoverable":this.hoverable,"is-inline":this.inline,"is-active":this.isActive||this.inline,"is-mobile-modal":this.isMobileModal,"is-expanded":this.expanded}]},isMobileModal:function(){return this.mobileModal&&!this.inline},cancelOptions:function(){return"boolean"===typeof this.canClose?this.canClose?ii:[]:this.canClose},contentStyle:function(){return{maxHeight:this.scrollable?q(this.maxHeight):null,overflow:this.scrollable?"auto":null}},hoverable:function(){return this.triggers.indexOf("hover")>=0}},watch:{value:function(t){this.selected=t},isActive:function(t){var e=this;this.$emit("active-change",t),this.handleScroll(),this.appendToBody&&this.$nextTick((function(){e.updateAppendToBody()}))},isHoverable:function(t){this.hoverable&&this.$emit("active-change",t)}},methods:{handleScroll:function(){"undefined"!==typeof window&&this.isMobileModal&&(this.isActive?document.documentElement.classList.add("is-clipped-touch"):document.documentElement.classList.remove("is-clipped-touch"))},selectItem:function(t){this.multiple?(this.selected?-1===this.selected.indexOf(t)?this.selected=[].concat(S(this.selected),[t]):this.selected=this.selected.filter((function(e){return e!==t})):this.selected=[t],this.$emit("change",this.selected)):this.selected!==t&&(this.selected=t,this.$emit("change",this.selected)),this.$emit("input",this.selected),this.multiple||(this.isActive=!this.closeOnClick,this.hoverable&&this.closeOnClick&&(this.isHoverable=!1))},isInWhiteList:function(t){if(t===this.$refs.dropdownMenu)return!0;if(t===this.$refs.trigger)return!0;if(void 0!==this.$refs.dropdownMenu){var e=this.$refs.dropdownMenu.querySelectorAll("*"),n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(t===s)return!0}}catch(v){i=!0,r=v}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}if(void 0!==this.$refs.trigger){var c=this.$refs.trigger.querySelectorAll("*"),l=!0,u=!1,h=void 0;try{for(var d,f=c[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var p=d.value;if(t===p)return!0}}catch(v){u=!0,h=v}finally{try{l||null==f.return||f.return()}finally{if(u)throw h}}}return!1},clickedOutside:function(t){if(!(this.cancelOptions.indexOf("outside")<0)&&!this.inline){var e=Q(this)?t.composedPath()[0]:t.target;this.isInWhiteList(e)||(this.isActive=!1)}},keyPress:function(t){var e=t.key;if(this.isActive&&("Escape"===e||"Esc"===e)){if(this.cancelOptions.indexOf("escape")<0)return;this.isActive=!1}},onClick:function(){this.triggers.indexOf("click")<0||this.toggle()},onContextMenu:function(){this.triggers.indexOf("contextmenu")<0||this.toggle()},onHover:function(){this.triggers.indexOf("hover")<0||(this.isHoverable=!0)},onFocus:function(){this.triggers.indexOf("focus")<0||this.toggle()},toggle:function(){var t=this;this.disabled||(this.isActive?this.isActive=!this.isActive:this.$nextTick((function(){var e=!t.isActive;t.isActive=e,setTimeout((function(){return t.isActive=e}))})))},updateAppendToBody:function(){var t=this.$refs.dropdown,e=this.$refs.dropdownMenu,n=this.$refs.trigger;if(e&&n){var r=this.$data._bodyEl.children[0];if(r.classList.forEach((function(t){return r.classList.remove(t)})),r.classList.add("dropdown"),r.classList.add("dropdown-menu-animation"),this.$vnode&&this.$vnode.data&&this.$vnode.data.staticClass&&r.classList.add(this.$vnode.data.staticClass),this.rootClasses.forEach((function(t){if(t&&"object"===i(t))for(var e in t)t[e]&&r.classList.add(e)})),this.appendToBodyCopyParent){var a=this.$refs.dropdown.parentNode,o=this.$data._bodyEl;o.classList.forEach((function(t){return o.classList.remove(t)})),a.classList.forEach((function(t){o.classList.add(t)}))}var s=n.getBoundingClientRect(),c=s.top+window.scrollY,l=s.left+window.scrollX;!this.position||this.position.indexOf("bottom")>=0?c+=n.clientHeight:c-=e.clientHeight,this.position&&this.position.indexOf("left")>=0&&(l-=e.clientWidth-n.clientWidth),this.style={position:"absolute",top:"".concat(c,"px"),left:"".concat(l,"px"),zIndex:"99",width:this.expanded?"".concat(t.offsetWidth,"px"):void 0}}}},mounted:function(){this.appendToBody&&(this.$data._bodyEl=V(this.$refs.dropdownMenu),this.updateAppendToBody())},created:function(){"undefined"!==typeof window&&(document.addEventListener("click",this.clickedOutside),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!==typeof window&&(document.removeEventListener("click",this.clickedOutside),document.removeEventListener("keyup",this.keyPress)),this.appendToBody&&H(this.$data._bodyEl)}};const ai=ri;var oi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"dropdown",staticClass:"dropdown dropdown-menu-animation",class:t.rootClasses,on:{mouseleave:function(e){t.isHoverable=!1}}},[t.inline?t._e():n("div",{ref:"trigger",staticClass:"dropdown-trigger",attrs:{tabindex:!t.disabled&&0,"aria-haspopup":"true"},on:{click:t.onClick,contextmenu:function(e){return e.preventDefault(),t.onContextMenu(e)},mouseenter:t.onHover,"!focus":function(e){return t.onFocus(e)}}},[t._t("trigger",null,{active:t.isActive})],2),n("transition",{attrs:{name:t.animation}},[t.isMobileModal?n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"background",attrs:{"aria-hidden":!t.isActive}}):t._e()]),n("transition",{attrs:{name:t.animation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.disabled&&(t.isActive||t.isHoverable)||t.inline,expression:"(!disabled && (isActive || isHoverable)) || inline"},{name:"trap-focus",rawName:"v-trap-focus",value:t.trapFocus,expression:"trapFocus"}],ref:"dropdownMenu",staticClass:"dropdown-menu",style:t.style,attrs:{"aria-hidden":!t.isActive}},[n("div",{staticClass:"dropdown-content",style:t.contentStyle,attrs:{role:t.ariaRole,"aria-modal":!t.inline}},[t._t("default")],2)])])],1)},si=[];const ci=void 0,li=void 0,ui=void 0,hi=!1;var di=st({render:oi,staticRenderFns:si},ci,ai,li,hi,ui,void 0,void 0),fi={name:"BDropdownItem",mixins:[Oe("dropdown")],props:{value:{type:[String,Number,Boolean,Object,Array,Function],default:null},separator:Boolean,disabled:Boolean,custom:Boolean,focusable:{type:Boolean,default:!0},paddingless:Boolean,hasLink:Boolean,ariaRole:{type:String,default:""}},computed:{anchorClasses:function(){return{"is-disabled":this.parent.disabled||this.disabled,"is-paddingless":this.paddingless,"is-active":this.isActive}},itemClasses:function(){return{"dropdown-item":!this.hasLink,"is-disabled":this.disabled,"is-paddingless":this.paddingless,"is-active":this.isActive,"has-link":this.hasLink}},ariaRoleItem:function(){return"menuitem"===this.ariaRole||"listitem"===this.ariaRole?this.ariaRole:null},isClickable:function(){return!this.parent.disabled&&!this.separator&&!this.disabled&&!this.custom},isActive:function(){return null!==this.parent.selected&&(this.parent.multiple?this.parent.selected.indexOf(this.value)>=0:this.value===this.parent.selected)},isFocusable:function(){return!this.hasLink&&this.focusable}},methods:{selectItem:function(){this.isClickable&&(this.parent.selectItem(this.value),this.$emit("click"))}}};const pi=fi;var vi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.separator?n("hr",{staticClass:"dropdown-divider"}):t.custom||t.hasLink?n("div",{class:t.itemClasses,attrs:{role:t.ariaRoleItem,tabindex:t.isFocusable?0:null},on:{click:t.selectItem}},[t._t("default")],2):n("a",{staticClass:"dropdown-item",class:t.anchorClasses,attrs:{role:t.ariaRoleItem,tabindex:t.isFocusable?0:null},on:{click:t.selectItem}},[t._t("default")],2)},mi=[];const gi=void 0,yi=void 0,bi=void 0,_i=!1;var wi=st({render:vi,staticRenderFns:mi},gi,pi,yi,_i,bi,void 0,void 0),ki={name:"BFieldBody",props:{message:{type:[String,Array]},type:{type:[String,Object]}},render:function(t){var e=this,n=!0;return t("div",{attrs:{class:"field-body"}},this.$slots.default.map((function(i){return i.tag?(n&&(r=e.message,n=!1),t("b-field",{attrs:{type:e.type,message:r}},[i])):i;var r})))}};const xi=ki,Si=void 0,Ci=void 0,Di=void 0,Ti=void 0;var Oi=st({},Si,xi,Ci,Ti,Di,void 0,void 0),Ai={name:"BField",components:s({},Oi.name,Oi),provide:function(){return{BField:this}},inject:{parent:{from:"BField",default:!1}},props:{type:[String,Object],label:String,labelFor:String,message:[String,Array,Object],grouped:Boolean,groupMultiline:Boolean,position:String,expanded:Boolean,horizontal:Boolean,addons:{type:Boolean,default:!0},customClass:String,labelPosition:{type:String,default:function(){return it.defaultFieldLabelPosition}}},data:function(){return{newType:this.type,newMessage:this.message,fieldLabelSize:null,_isField:!0}},computed:{rootClasses:function(){return[{"is-expanded":this.expanded,"is-horizontal":this.horizontal,"is-floating-in-label":this.hasLabel&&!this.horizontal&&"inside"===this.labelPosition,"is-floating-label":this.hasLabel&&!this.horizontal&&"on-border"===this.labelPosition},this.numberInputClasses]},innerFieldClasses:function(){return[this.fieldType(),this.newPosition,{"is-grouped-multiline":this.groupMultiline}]},hasInnerField:function(){return this.grouped||this.groupMultiline||this.hasAddons()},newPosition:function(){if(void 0!==this.position){var t=this.position.split("-");if(!(t.length<1)){var e=this.grouped?"is-grouped-":"has-addons-";return this.position?e+t[1]:void 0}}},formattedMessage:function(){if(this.parent&&this.parent.hasInnerField)return"";if("string"===typeof this.newMessage)return[this.newMessage];var t=[];if(Array.isArray(this.newMessage))this.newMessage.forEach((function(e){if("string"===typeof e)t.push(e);else for(var n in e)e[n]&&t.push(n)}));else for(var e in this.newMessage)this.newMessage[e]&&t.push(e);return t.filter((function(t){if(t)return t}))},hasLabel:function(){return this.label||this.$slots.label},hasMessage:function(){return(!this.parent||!this.parent.hasInnerField)&&this.newMessage||this.$slots.message},numberInputClasses:function(){if(this.$slots.default){var t=this.$slots.default.filter((function(t){return t.tag&&t.tag.toLowerCase().indexOf("numberinput")>=0}))[0];if(t){var e=["has-numberinput"],n=t.componentOptions.propsData.controlsPosition,i=t.componentOptions.propsData.size;return n&&e.push("has-numberinput-".concat(n)),i&&e.push("has-numberinput-".concat(i)),e}}return null}},watch:{type:function(t){this.newType=t},message:function(t){this.newMessage=t},newMessage:function(t){this.parent&&this.parent.hasInnerField&&(this.parent.type||(this.parent.newType=this.newType),this.parent.message||(this.parent.newMessage=t))}},methods:{fieldType:function(){return this.grouped?"is-grouped":this.hasAddons()?"has-addons":void 0},hasAddons:function(){var t=0;return this.$slots.default&&(t=this.$slots.default.reduce((function(t,e){return e.tag?t+1:t}),0)),t>1&&this.addons&&!this.horizontal}},mounted:function(){if(this.horizontal){var t=this.$el.querySelectorAll(".input, .select, .button, .textarea, .b-slider");t.length>0&&(this.fieldLabelSize="is-normal")}}};const Ei=Ai;var Pi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field",class:t.rootClasses},[t.horizontal?n("div",{staticClass:"field-label",class:[t.customClass,t.fieldLabelSize]},[t.hasLabel?n("label",{staticClass:"label",class:t.customClass,attrs:{for:t.labelFor}},[t.$slots.label?t._t("label"):[t._v(t._s(t.label))]],2):t._e()]):[t.hasLabel?n("label",{staticClass:"label",class:t.customClass,attrs:{for:t.labelFor}},[t.$slots.label?t._t("label"):[t._v(t._s(t.label))]],2):t._e()],t.horizontal?n("b-field-body",{attrs:{message:t.newMessage?t.formattedMessage:"",type:t.newType}},[t._t("default")],2):t.hasInnerField?n("div",{staticClass:"field-body"},[n("b-field",{class:t.innerFieldClasses,attrs:{addons:!1,type:t.newType}},[t._t("default")],2)],1):[t._t("default")],t.hasMessage&&!t.horizontal?n("p",{staticClass:"help",class:t.newType},[t.$slots.message?t._t("message",null,{messages:t.formattedMessage}):[t._l(t.formattedMessage,(function(e,i){return[t._v(" "+t._s(e)+" "),i+1<t.formattedMessage.length?n("br",{key:i}):t._e()]}))]],2):t._e()],2)},Mi=[];const Ii=void 0,Ri=void 0,Ni=void 0,$i=!1;var Li=st({render:Pi,staticRenderFns:Mi},Ii,Ei,Ri,$i,Ni,void 0,void 0),Fi=40,Bi=5,ji={name:"BClockpickerFace",props:{pickerSize:Number,min:Number,max:Number,double:Boolean,value:Number,faceNumbers:Array,disabledValues:Function},data:function(){return{isDragging:!1,inputValue:this.value,prevAngle:720}},computed:{count:function(){return this.max-this.min+1},countPerRing:function(){return this.double?this.count/2:this.count},radius:function(){return this.pickerSize/2},outerRadius:function(){return this.radius-Bi-Fi/2},innerRadius:function(){return Math.max(.6*this.outerRadius,this.outerRadius-Bi-Fi)},degreesPerUnit:function(){return 360/this.countPerRing},degrees:function(){return this.degreesPerUnit*Math.PI/180},handRotateAngle:function(){var t=this.prevAngle;while(t<0)t+=360;var e=this.calcHandAngle(this.displayedValue),n=this.shortestDistanceDegrees(t,e),i=this.prevAngle+n;return i},handScale:function(){return this.calcHandScale(this.displayedValue)},handStyle:function(){return{transform:"rotate(".concat(this.handRotateAngle,"deg) scaleY(").concat(this.handScale,")"),transition:".3s cubic-bezier(.25,.8,.50,1)"}},displayedValue:function(){return null==this.inputValue?this.min:this.inputValue}},watch:{value:function(t){t!==this.inputValue&&(this.prevAngle=this.handRotateAngle),this.inputValue=t}},methods:{isDisabled:function(t){return this.disabledValues&&this.disabledValues(t)},euclidean:function(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.sqrt(n*n+i*i)},shortestDistanceDegrees:function(t,e){var n=(e-t)%360,i=180-Math.abs(Math.abs(n)-180);return(n+360)%360<180?1*i:-1*i},coordToAngle:function(t,e){var n=2*Math.atan2(e.y-t.y-this.euclidean(t,e),e.x-t.x);return Math.abs(180*n/Math.PI)},getNumberTranslate:function(t){var e=this.getNumberCoords(t),n=e.x,i=e.y;return"translate(".concat(n,"px, ").concat(i,"px)")},getNumberCoords:function(t){var e=this.isInnerRing(t)?this.innerRadius:this.outerRadius;return{x:Math.round(e*Math.sin((t-this.min)*this.degrees)),y:Math.round(-e*Math.cos((t-this.min)*this.degrees))}},getFaceNumberClasses:function(t){return{active:t.value===this.displayedValue,disabled:this.isDisabled(t.value)}},isInnerRing:function(t){return this.double&&t-this.min>=this.countPerRing},calcHandAngle:function(t){var e=this.degreesPerUnit*(t-this.min);return this.isInnerRing(t)&&(e-=360),e},calcHandScale:function(t){return this.isInnerRing(t)?this.innerRadius/this.outerRadius:1},onMouseDown:function(t){t.preventDefault(),this.isDragging=!0,this.onDragMove(t)},onMouseUp:function(){this.isDragging=!1,this.isDisabled(this.inputValue)||this.$emit("change",this.inputValue)},onDragMove:function(t){if(t.preventDefault(),this.isDragging||"click"===t.type){var e=this.$refs.clock.getBoundingClientRect(),n=e.width,i=e.top,r=e.left,a="touches"in t?t.touches[0]:t,o=a.clientX,s=a.clientY,c={x:n/2,y:-n/2},l={x:o-r,y:i-s},u=Math.round(this.coordToAngle(c,l)+360)%360,h=this.double&&this.euclidean(c,l)<(this.outerRadius+this.innerRadius)/2-16,d=Math.round(u/this.degreesPerUnit)+this.min+(h?this.countPerRing:0);u>=360-this.degreesPerUnit/2&&(d=h?this.max:this.min),this.update(d)}},update:function(t){this.inputValue===t||this.isDisabled(t)||(this.prevAngle=this.handRotateAngle,this.inputValue=t,this.$emit("input",t))}}};const zi=ji;var Hi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-clockpicker-face",on:{mousedown:t.onMouseDown,mouseup:t.onMouseUp,mousemove:t.onDragMove,touchstart:t.onMouseDown,touchend:t.onMouseUp,touchmove:t.onDragMove}},[n("div",{ref:"clock",staticClass:"b-clockpicker-face-outer-ring"},[n("div",{staticClass:"b-clockpicker-face-hand",style:t.handStyle}),t._l(t.faceNumbers,(function(e,i){return n("span",{key:i,staticClass:"b-clockpicker-face-number",class:t.getFaceNumberClasses(e),style:{transform:t.getNumberTranslate(e.value)}},[n("span",[t._v(t._s(e.label))])])}))],2)])},Vi=[];const Gi=void 0,Wi=void 0,Ui=void 0,Yi=!1;var qi,Xi=st({render:Hi,staticRenderFns:Vi},Gi,zi,Wi,Yi,Ui,void 0,void 0),Ki=12,Ji={name:"BClockpicker",components:(qi={},s(qi,Xi.name,Xi),s(qi,Mt.name,Mt),s(qi,Li.name,Li),s(qi,xt.name,xt),s(qi,di.name,di),s(qi,wi.name,wi),qi),mixins:[Zn],props:{pickerSize:{type:Number,default:290},incrementMinutes:{type:Number,default:5},autoSwitch:{type:Boolean,default:!0},type:{type:String,default:"is-primary"},hoursLabel:{type:String,default:function(){return it.defaultClockpickerHoursLabel||"Hours"}},minutesLabel:{type:String,default:function(){return it.defaultClockpickerMinutesLabel||"Min"}}},data:function(){return{isSelectingHour:!0,isDragging:!1,_isClockpicker:!0}},computed:{hoursDisplay:function(){if(null==this.hoursSelected)return"--";if(this.isHourFormat24)return this.pad(this.hoursSelected);var t=this.hoursSelected;return this.meridienSelected===this.pmString&&(t-=12),0===t&&(t=12),t},minutesDisplay:function(){return null==this.minutesSelected?"--":this.pad(this.minutesSelected)},minFaceValue:function(){return this.isSelectingHour&&!this.isHourFormat24&&this.meridienSelected===this.pmString?12:0},maxFaceValue:function(){return this.isSelectingHour?this.isHourFormat24||this.meridienSelected!==this.amString?23:11:59},faceSize:function(){return this.pickerSize-2*Ki},faceDisabledValues:function(){return this.isSelectingHour?this.isHourDisabled:this.isMinuteDisabled}},methods:{onClockInput:function(t){this.isSelectingHour?(this.hoursSelected=t,this.onHoursChange(t)):(this.minutesSelected=t,this.onMinutesChange(t))},onClockChange:function(t){this.autoSwitch&&this.isSelectingHour&&(this.isSelectingHour=!this.isSelectingHour)},onMeridienClick:function(t){this.meridienSelected!==t&&(this.meridienSelected=t,this.onMeridienChange(t))},onInputClick:function(t){this.$refs.dropdown.isActive&&t.stopPropagation()}}};const Zi=Ji;var Qi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-clockpicker control",class:[t.size,t.type,{"is-expanded":t.expanded}]},[!t.isMobile||t.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:t.position,disabled:t.disabled,inline:t.inline,"append-to-body":t.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":t.onActiveChange},scopedSlots:t._u([t.inline?null:{key:"trigger",fn:function(){return[t._t("trigger",[n("b-input",t._b({ref:"input",attrs:{slot:"trigger",autocomplete:"off",value:t.formatValue(t.computedValue),placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-pack":t.iconPack,loading:t.loading,disabled:t.disabled,readonly:!t.editable,rounded:t.rounded,"use-html5-validation":t.useHtml5Validation},on:{focus:t.handleOnFocus,blur:function(e){return t.checkHtml5Validity()}},nativeOn:{click:function(e){return t.onInputClick(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toggle(!0)},change:function(e){return t.onChange(e.target.value)}},slot:"trigger"},"b-input",t.$attrs,!1))])]},proxy:!0}],null,!0)},[n("div",{staticClass:"card",attrs:{disabled:t.disabled,custom:""}},[t.inline?n("header",{staticClass:"card-header"},[n("div",{staticClass:"b-clockpicker-header card-header-title"},[n("div",{staticClass:"b-clockpicker-time"},[n("span",{staticClass:"b-clockpicker-btn",class:{active:t.isSelectingHour},on:{click:function(e){t.isSelectingHour=!0}}},[t._v(t._s(t.hoursDisplay))]),n("span",[t._v(t._s(t.hourLiteral))]),n("span",{staticClass:"b-clockpicker-btn",class:{active:!t.isSelectingHour},on:{click:function(e){t.isSelectingHour=!1}}},[t._v(t._s(t.minutesDisplay))])]),t.isHourFormat24?t._e():n("div",{staticClass:"b-clockpicker-period"},[n("div",{staticClass:"b-clockpicker-btn",class:{active:t.meridienSelected===t.amString||t.meridienSelected===t.AM},on:{click:function(e){return t.onMeridienClick(t.amString)}}},[t._v(t._s(t.amString))]),n("div",{staticClass:"b-clockpicker-btn",class:{active:t.meridienSelected===t.pmString||t.meridienSelected===t.PM},on:{click:function(e){return t.onMeridienClick(t.pmString)}}},[t._v(t._s(t.pmString))])])])]):t._e(),n("div",{staticClass:"card-content"},[n("div",{staticClass:"b-clockpicker-body",style:{width:t.faceSize+"px",height:t.faceSize+"px"}},[t.inline?t._e():n("div",{staticClass:"b-clockpicker-time"},[n("div",{staticClass:"b-clockpicker-btn",class:{active:t.isSelectingHour},on:{click:function(e){t.isSelectingHour=!0}}},[t._v(t._s(t.hoursLabel))]),n("span",{staticClass:"b-clockpicker-btn",class:{active:!t.isSelectingHour},on:{click:function(e){t.isSelectingHour=!1}}},[t._v(t._s(t.minutesLabel))])]),t.isHourFormat24||t.inline?t._e():n("div",{staticClass:"b-clockpicker-period"},[n("div",{staticClass:"b-clockpicker-btn",class:{active:t.meridienSelected===t.amString||t.meridienSelected===t.AM},on:{click:function(e){return t.onMeridienClick(t.amString)}}},[t._v(t._s(t.amString))]),n("div",{staticClass:"b-clockpicker-btn",class:{active:t.meridienSelected===t.pmString||t.meridienSelected===t.PM},on:{click:function(e){return t.onMeridienClick(t.pmString)}}},[t._v(t._s(t.pmString))])]),n("b-clockpicker-face",{attrs:{"picker-size":t.faceSize,min:t.minFaceValue,max:t.maxFaceValue,"face-numbers":t.isSelectingHour?t.hours:t.minutes,"disabled-values":t.faceDisabledValues,double:t.isSelectingHour&&t.isHourFormat24,value:t.isSelectingHour?t.hoursSelected:t.minutesSelected},on:{input:t.onClockInput,change:t.onClockChange}})],1)]),void 0!==t.$slots.default&&t.$slots.default.length?n("footer",{staticClass:"b-clockpicker-footer card-footer"},[t._t("default")],2):t._e()])]):n("b-input",t._b({ref:"input",attrs:{type:"time",autocomplete:"off",value:t.formatHHMMSS(t.computedValue),placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-pack":t.iconPack,loading:t.loading,max:t.formatHHMMSS(t.maxTime),min:t.formatHHMMSS(t.minTime),disabled:t.disabled,readonly:!1,"use-html5-validation":t.useHtml5Validation},on:{focus:t.handleOnFocus,blur:function(e){t.onBlur()&&t.checkHtml5Validity()}},nativeOn:{click:function(e){return e.stopPropagation(),t.toggle(!0)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toggle(!0)},change:function(e){return t.onChangeNativePicker(e)}}},"b-input",t.$attrs,!1))],1)},tr=[];const er=void 0,nr=void 0,ir=void 0,rr=!1;var ar=st({render:Qi,staticRenderFns:tr},er,Zi,nr,rr,ir,void 0,void 0),or={install:function(t){lt(t,ar)}};ct(or);const sr=or;var cr={name:"BSelect",components:s({},xt.name,xt),mixins:[ht],inheritAttrs:!1,props:{value:{type:[String,Number,Boolean,Object,Array,Function,Date],default:null},placeholder:String,multiple:Boolean,nativeSize:[String,Number]},data:function(){return{selected:this.value,_elementRef:"select"}},computed:{computedValue:{get:function(){return this.selected},set:function(t){this.selected=t,this.$emit("input",t),!this.isValid&&this.checkHtml5Validity()}},spanClasses:function(){return[this.size,this.statusType,{"is-fullwidth":this.expanded,"is-loading":this.loading,"is-multiple":this.multiple,"is-rounded":this.rounded,"is-empty":null===this.selected}]}},watch:{value:function(t){this.selected=t,!this.isValid&&this.checkHtml5Validity()}}};const lr=cr;var ur=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:{"is-expanded":t.expanded,"has-icons-left":t.icon}},[n("span",{staticClass:"select",class:t.spanClasses},[n("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"select",attrs:{multiple:t.multiple,size:t.nativeSize},on:{blur:function(e){t.$emit("blur",e)&&t.checkHtml5Validity()},focus:function(e){return t.$emit("focus",e)},change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.computedValue=e.target.multiple?n:n[0]}}},"select",t.$attrs,!1),[t.placeholder?[null==t.computedValue?n("option",{attrs:{disabled:"",hidden:""},domProps:{value:null}},[t._v(" "+t._s(t.placeholder)+" ")]):t._e()]:t._e(),t._t("default")],2)]),t.icon?n("b-icon",{staticClass:"is-left",attrs:{icon:t.icon,pack:t.iconPack,size:t.iconSize}}):t._e()],1)},hr=[];const dr=void 0,fr=void 0,pr=void 0,vr=!1;var mr=st({render:ur,staticRenderFns:hr},dr,lr,fr,vr,pr,void 0,void 0),gr={name:"BTooltip",props:{active:{type:Boolean,default:!0},type:{type:String,default:function(){return it.defaultTooltipType}},label:String,delay:{type:Number,default:function(){return it.defaultTooltipDelay}},closeDelay:{type:Number,default:function(){return it.defaultTooltipCloseDelay}},position:{type:String,default:"is-top",validator:function(t){return["is-top","is-bottom","is-left","is-right"].indexOf(t)>-1}},triggers:{type:Array,default:function(){return["hover"]}},always:Boolean,square:Boolean,dashed:Boolean,multilined:Boolean,size:{type:String,default:"is-medium"},appendToBody:Boolean,animated:{type:Boolean,default:!0},animation:{type:String,default:"fade"},contentClass:String,autoClose:{type:[Array,Boolean],default:!0}},data:function(){return{isActive:!1,triggerStyle:{},timer:null,_bodyEl:void 0}},computed:{rootClasses:function(){return["b-tooltip",this.type,this.position,this.size,{"is-square":this.square,"is-always":this.always,"is-multiline":this.multilined,"is-dashed":this.dashed}]},newAnimation:function(){return this.animated?this.animation:void 0}},watch:{isActive:function(){this.$emit(this.isActive?"open":"close"),this.appendToBody&&this.updateAppendToBody()}},methods:{updateAppendToBody:function(){var t=this.$refs.tooltip,e=this.$refs.trigger;if(t&&e){var n=this.$data._bodyEl.children[0];n.classList.forEach((function(t){return n.classList.remove(t)})),this.$vnode&&this.$vnode.data&&this.$vnode.data.staticClass&&n.classList.add(this.$vnode.data.staticClass),this.rootClasses.forEach((function(t){if("object"===i(t))for(var e in t)t[e]&&n.classList.add(e);else n.classList.add(t)}));var r=e.getBoundingClientRect(),a=r.top+window.scrollY,o=r.left+window.scrollX,s=e.clientHeight/2/2;switch(this.position){case"is-top":n.style.width="".concat(e.clientWidth,"px"),n.style.height="0px",a-=e.clientHeight-s;break;case"is-bottom":n.style.width="".concat(e.clientWidth,"px"),n.style.height="0px",a+=s;break;case"is-left":n.style.width="0px",n.style.height="".concat(e.clientHeight,"px");break;case"is-right":n.style.width="0px",n.style.height="".concat(e.clientHeight,"px"),o+=e.clientWidth;break}var c=this.$data._bodyEl;c.style.position="absolute",c.style.top="".concat(a,"px"),c.style.left="".concat(o,"px"),c.style.width="0px",c.style.zIndex=this.isActive||this.always?"99":"-1",this.triggerStyle={zIndex:this.isActive||this.always?"100":void 0}}},onClick:function(){var t=this;this.triggers.indexOf("click")<0||this.$nextTick((function(){setTimeout((function(){return t.open()}))}))},onHover:function(){this.triggers.indexOf("hover")<0||this.open()},onContextMenu:function(t){this.triggers.indexOf("contextmenu")<0||(t.preventDefault(),this.open())},onFocus:function(){this.triggers.indexOf("focus")<0||this.open()},open:function(){var t=this;this.delay?this.timer=setTimeout((function(){t.isActive=!0,t.timer=null}),this.delay):this.isActive=!0},close:function(){var t=this;"boolean"===typeof this.autoClose&&(this.autoClose&&this.timer&&clearTimeout(this.timer),this.closeDelay?this.timer=setTimeout((function(){t.isActive=!t.autoClose,t.timer=null}),this.closeDelay):this.isActive=!this.autoClose)},clickedOutside:function(t){if(this.isActive&&Array.isArray(this.autoClose)){if(this.autoClose.includes("outside")&&!this.isInWhiteList(t.target))return void(this.isActive=!1);this.autoClose.includes("inside")&&this.isInWhiteList(t.target)&&(this.isActive=!1)}},keyPress:function(t){var e=t.key;!this.isActive||"Escape"!==e&&"Esc"!==e||Array.isArray(this.autoClose)&&this.autoClose.indexOf("escape")>=0&&(this.isActive=!1)},isInWhiteList:function(t){if(t===this.$refs.content)return!0;if(void 0!==this.$refs.content){var e=this.$refs.content.querySelectorAll("*"),n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(t===s)return!0}}catch(c){i=!0,r=c}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}return!1}},mounted:function(){this.appendToBody&&"undefined"!==typeof window&&(this.$data._bodyEl=V(this.$refs.content),this.updateAppendToBody())},created:function(){"undefined"!==typeof window&&(document.addEventListener("click",this.clickedOutside),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!==typeof window&&(document.removeEventListener("click",this.clickedOutside),document.removeEventListener("keyup",this.keyPress)),this.appendToBody&&H(this.$data._bodyEl)}};const yr=gr;var br=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tooltip",class:t.rootClasses},[n("transition",{attrs:{name:t.newAnimation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.active&&(t.isActive||t.always),expression:"active && (isActive || always)"}],ref:"content",class:["tooltip-content",t.contentClass]},[t.label?[t._v(t._s(t.label))]:t.$slots.content?[t._t("content")]:t._e()],2)]),n("div",{ref:"trigger",staticClass:"tooltip-trigger",style:t.triggerStyle,on:{click:t.onClick,contextmenu:t.onContextMenu,mouseenter:t.onHover,"!focus":function(e){return t.onFocus(e)},"!blur":function(e){return t.close(e)},mouseleave:t.close}},[t._t("default")],2)],1)},_r=[];const wr=void 0,kr=void 0,xr=void 0,Sr=!1;var Cr=st({render:br,staticRenderFns:_r},wr,yr,kr,Sr,xr,void 0,void 0),Dr=["red","green","blue","alpha"],Tr={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"},Or=function(t){function e(){return r(this,e),_(this,h(e).call(this,"ColorTypeError: type must be hex(a), rgb(a) or hsl(a)"))}return u(e,t),e}(m(Error)),Ar=function(){function t(){var e=this;if(r(this,t),arguments.length>0)return t.parse.apply(t,arguments);this.$channels=new Uint8Array(Dr.length),Dr.forEach((function(t,n){Object.defineProperty(e,t,{get:function(){return e.$channels[n]},set:function(t){Number.isNaN(t/1)||(e.$channels[n]=Math.min(255,Math.max(0,t)))},enumerable:!0,configurable:!0})})),["hue","saturation","lightness"].forEach((function(t){var n=t.replace(/^./,(function(t){return t.toUpperCase()}));Object.defineProperty(e,t,{get:function(){return e["get".concat(n)]()},set:function(t){Number.isNaN(t/1)||e["set".concat(n)](t)},enumerable:!0,configurable:!0})}))}return o(t,[{key:"getHue",value:function(){var t=Array.from(this.$channels).map((function(t){return t/255})),e=k(t,3),n=e[0],i=e[1],r=e[2],a=[Math.min(n,i,r),Math.max(n,i,r)],o=a[0],s=a[1],c=s-o,l=0;if(0===c)return l;l=n===s?(i-r)/c%6:i===s?(r-n)/c+2:(n-i)/c+4,l*=60;while(l!==-1/0&&l<0)l+=360;return Math.round(l%360)}},{key:"setHue",value:function(e){for(var n=t.fromHSL(e,this.saturation,this.lightness,this.alpha/255),i=0;i<this.$channels.length;i++)this.$channels[i]=Number(n.$channels[i])}},{key:"getSaturation",value:function(){var t=Array.from(this.$channels).map((function(t){return t/255})),e=k(t,3),n=e[0],i=e[1],r=e[2],a=[Math.min(n,i,r),Math.max(n,i,r)],o=a[0],s=a[1],c=s-o;return 0!==c?Math.round(c/(1-Math.abs(2*this.lightness-1))*100)/100:0}},{key:"setSaturation",value:function(e){var n=this,i=t.fromHSL(this.hue,e,this.lightness,this.alpha/255);Dr.forEach((function(t,e){return n.$channels[e]=i.$channels[e]}))}},{key:"getLightness",value:function(){var t=Array.from(this.$channels).map((function(t){return t/255})),e=k(t,3),n=e[0],i=e[1],r=e[2],a=[Math.min(n,i,r),Math.max(n,i,r)],o=a[0],s=a[1];return Math.round((s+o)/2*100)/100}},{key:"setLightness",value:function(e){var n=this,i=t.fromHSL(this.hue,this.lightness,e,this.alpha/255);Dr.forEach((function(t,e){return n.$channels[e]=i.$channels[e]}))}},{key:"clone",value:function(){var e=this,n=new t;return Dr.forEach((function(t,i){return n.$channels[i]=e.$channels[i]})),n}},{key:"toString",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hex";switch(String(e).toLowerCase()){case"hex":return"#"+Dr.slice(0,3).map((function(e){return t[e].toString(16).padStart(2,"0")})).join("");case"hexa":return"#"+Dr.map((function(e){return t[e].toString(16).padStart(2,"0")})).join("");case"rgb":return"rgb(".concat(this.red,", ").concat(this.green,", ").concat(this.blue,")");case"rgba":return"rgba(".concat(this.red,", ").concat(this.green,", ").concat(this.blue,", ").concat(Math.round(this.alpha/2.55)/100,")");case"hsl":return"hsl(".concat(Math.round(this.hue),"deg, ").concat(Math.round(100*this.saturation),"%, ").concat(Math.round(100*this.lightness),"%)");case"hsla":return"hsla(".concat(Math.round(this.hue),"deg, ").concat(Math.round(100*this.saturation),"%, ").concat(Math.round(100*this.lightness),"%, ").concat(Math.round(this.alpha/2.55)/100,")");default:throw new Or}}},{key:Symbol.toString,get:function(){return this.toString("hex")}}],[{key:"parse",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("object"===i(n[0]))return t.parseObject(n[0]);if(n.every((function(t){return!Number.isNaN(t/1)}))){var a=new t;if(n.length>3)a.red=n[0],a.green=n[1],a.blue=n[2],n[3]&&(a.alpha=n[3]);else if(1===n.length){var o=Number(n[0]);return t.parseIndex(o,o>Math.pow(2,24)?3:4)}}else if("string"===typeof n[0]){var s=null;if("string"===typeof Tr[n[0].toLowerCase()])return t.parseHex(Tr[n[0].toLowerCase()]);if(null!==(s=n[0].match(/^(#|&h|0x)?(([a-f0-9]{3,4}){1,2})$/i)))return t.parseHex(s[2]);if(null!==(s=n[0].match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(\s*,\s*(\d*\.?\d+))?\s*\)$/i))){var c=[s[1],s[2],s[3],"undefined"!==typeof s[5]?s[5]:1];return t.fromRGB.apply(t,S(c.map((function(t){return Number(t)}))))}if(s=n[0].match(/^(h(sl|wb)a?|lab|color|cmyk)\(/i))throw new Error("Color expression not implemented yet")}return new t}},{key:"parseObject",value:function(e){var n=new t;return null===e||"object"!==i(e)?n:t.isColor(e)?e.clone():(Dr.forEach((function(t){Number.isNaN(e[t])||(n[t]=e[t])})),n)}},{key:"parseHex",value:function(e){if("string"!==typeof e)throw new Error("Hex expression must be a string");if(e=e.trim().replace(/^(0x|&h|#)/i,""),3!==e.length&&4!==e.length||(e=e.split("").map((function(t){return t.repeat(2)})).join("")),6!==e.length&&8!==e.length)throw new Error("Incorrect Hex expression length");var n=e.split(/(..)/).filter((function(t){return t})).map((function(t){return Number.parseInt(t,16)}));return"number"===typeof n[3]&&(n[3]/=255),t.fromRGB.apply(t,S(n))}},{key:"parseIndex",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,i=new t,r=0;r<4;r++)i[Dr[r]]=e>>8*(n-r)&&255;return i}},{key:"fromRGB",value:function(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if([e,n,i,r].some((function(t){return Number.isNaN(t/1)})))throw new Error("Invalid arguments");r*=255;var a=new t;return[e,n,i,r].forEach((function(t,e){a[Dr[e]]=t})),a}},{key:"fromHSL",value:function(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if([e,n,i,r].some((function(t){return Number.isNaN(t)})))throw new Error("Invalid arguments");while(e<0&&e!==-1/0)e+=360;e%=360,n=Math.max(0,Math.min(1,n)),i=Math.max(0,Math.min(1,i)),r=Math.max(0,Math.min(1,r));var a=(1-Math.abs(2*i-1))*n,o=a*(1-Math.abs(e/60%2-1)),s=i-a/2,c=e<60?[a,o,0]:e<120?[o,a,0]:e<180?[0,a,o]:e<240?[0,o,a]:e<300?[o,0,a]:[a,0,o],l=k(c,3),u=l[0],h=l[1],d=l[2];return t.fromRGB(255*(u+s),255*(h+s),255*(d+s),r)}},{key:"isColor",value:function(e){return e instanceof t}}]),t}(),Er=.86602540378,Pr=.5,Mr=0,Ir={name:"BColorpickerHSLRepresentationTriangle",props:{value:{type:Object,required:!0,validator:function(t){return"number"===typeof t.hue&&"number"===typeof t.saturation&&"number"===typeof t.lightness}},size:{type:Number,default:200},thickness:{type:Number,default:20}},data:function(){return{id:Mr++,hue:this.value.hue,saturation:this.value.saturation,lightness:this.value.lightness,captureMouse:!1,captureType:"hue",clientOffset:{cx:-1,cy:-1,width:0,height:0},cos30:Er,sin30:Pr,debounce:0}},computed:{viewBox:function(){var t=this.size;return"0 0 ".concat(t," ").concat(t)},internalRadius:function(){return this.size/2-this.thickness},haloPath:function(){var t=this.size,e=this.thickness,n=t/2-2,i=n-e,r=t/2;return"M".concat(r-n," ").concat(r,"a").concat(n," ").concat(n," 0 1 1 ").concat(2*n," 0")+"h".concat(-e)+"a".concat(-i," ").concat(i," 0 1 0 ").concat(-2*i," 0")+"a".concat(i," ").concat(i," 0 1 0 ").concat(2*i," 0")+"h".concat(e)+"a".concat(n," ").concat(n," 0 1 1 ").concat(-2*n," 0z")},trianglePath:function(){var t=this.size,e=this.thickness,n=t-4,i=(n-2*e)/2;return"M0 ".concat(-i)+"L".concat(Er*i," ").concat(Pr*i)+"H".concat(-Er*i,"z")}},watch:{captureMouse:function(t,e){if(!1===e&&!1!==t){var n=this.$el.getBoundingClientRect();this.clientOffset.cx=n.x+n.width/2,this.clientOffset.cy=n.y+n.height/2,this.clientOffset.width=n.width,this.clientOffset.height=n.height}},value:{deep:!0,handler:function(t){var e=this,n=t.hue,i=t.saturation,r=t.lightness;window.clearTimeout(this.debounce),this.debounce=window.setTimeout((function(){r>=.03&&r<=.97&&i>0&&(e.hue=n),e.saturation=i,e.lightness=r}),200)}}},methods:{increaseHue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(this.hue+t)%360},decreaseHue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(360+this.hue-t)%360},increaseSaturation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation+t)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},decreaseSaturation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation-t)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},increaseLightness:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness+t))},decreaseLightness:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness-t))},hueKeyPress:function(t){var e=!1;switch(t.key){case"ArrowRight":case"ArrowUp":this.increaseHue(),e=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseHue(),e=!0;break;case"Home":this.increaseHue(360-this.hue),e=!0;break;case"End":this.decreaseHue(this.hue),e=!0;break;case"PageUp":this.increaseHue(60-this.hue%60),e=!0;break;case"PageDown":this.decreaseHue(60+this.hue%60),e=!0;break}e&&(t.preventDefault(),t.stopPropagation(),this.emitColor())},slKeyPress:function(t){var e=!1;switch(t.key){case"ArrowRight":this.decreaseLightness(),e=!0;break;case"ArrowUp":this.increaseSaturation(),e=!0;break;case"ArrowLeft":this.increaseLightness(),e=!0;break;case"ArrowDown":this.decreaseSaturation(),e=!0;break;case"Home":this.increaseLightness(1-this.lightness),e=!0;break;case"End":this.decreaseLightness(this.lightness),e=!0;break;case"PageUp":this.increaseSaturation(1-this.saturation),e=!0;break;case"PageDown":this.decreaseSaturation(this.saturation),e=!0;break}e&&(t.preventDefault(),t.stopPropagation(),this.emitColor())},clickHue:function(t){this.startMouseCapture(t),this.trackMouse(t),this.stopMouseCapture(t),this.$refs.hueCursor.focus()},clickSL:function(t){this.startMouseCapture(t),this.trackMouse(t),this.stopMouseCapture(t),this.$refs.slCursor.focus()},trackMouse:function(t){if(!1!==this.captureMouse){t.preventDefault(),t.stopPropagation();var e=0,n=0;if("undefined"!==typeof t.touches&&t.touches.length){var i=[t.touches[0].clientX,t.touches[0].clientY];e=i[0],n=i[1]}else{var r=[t.clientX,t.clientY];e=r[0],n=r[1]}var a=Math.atan2(n-this.clientOffset.cy,e-this.clientOffset.cx);if("sl"===this.captureType){var o=Math.sqrt(Math.pow(e-this.clientOffset.cx,2)+Math.pow(n-this.clientOffset.cy,2)),s=this.size/this.clientOffset.width,c=o*Math.cos(a-this.hue/180*Math.PI)*s,l=o*Math.sin(a-this.hue/180*Math.PI)*s,u=this.internalRadius,h=1-(Math.min(u*Pr,Math.max(-u,l))+u)/(u+u*Pr),d=(Math.min(u*Er*(1-h),Math.max(-u*Er*(1-h),c))+u*Er)/(2*u*Er);this.saturation=Math.round(1e3*h)/1e3,this.lightness=1-Math.round(1e3*d)/1e3}else this.hue=Math.round(a/Math.PI*180+90)%360;this.emitColor()}},startMouseCapture:function(t){t.stopPropagation(),this.captureMouse=!0,null!==t.target.closest(".colorpicker-triangle-slider-sl")?this.captureType="sl":this.captureType="hue"},stopMouseCapture:function(t){!1!==this.captureMouse&&(t.preventDefault(),t.stopPropagation(),this.$refs["sl"===this.captureType?"slCursor":"hueCursor"].focus()),this.captureMouse=!1},emitColor:function(){var t=this.hue,e=this.saturation,n=this.lightness;this.$emit("input",Ar.fromHSL(t,e,n)),window.clearTimeout(this.debounce)}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}};const Rr=Ir;var Nr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"b-colorpicker-triangle",attrs:{viewBox:t.viewBox}},[n("defs",[n("linearGradient",{attrs:{id:"cp-triangle-gradient-ligthness-"+t.id,x1:"0",y1:"0",x2:"1",y2:"0"}},[n("stop",{attrs:{offset:"0%","stop-color":"#fff"}}),n("stop",{attrs:{offset:"100%","stop-color":"#000"}})],1),n("linearGradient",{attrs:{id:"cp-triangle-gradient-saturation-"+t.id,x1:"0",y1:"0",x2:"0",y2:"1"}},[n("stop",{attrs:{offset:"0%","stop-color":"hsl("+t.hue+"deg, 100%, 50%)","stop-opacity":"1"}}),n("stop",{attrs:{offset:"100%","stop-color":"hsl("+t.hue+"deg, 100%, 50%)","stop-opacity":"0"}})],1),n("clipPath",{attrs:{id:"cp-triangle-clip-"+t.id}},[n("path",{attrs:{d:t.haloPath}})])],1),n("g",{staticClass:"colorpicker-triangle-slider-hue"},[n("foreignObject",{attrs:{x:0,y:0,width:t.size,height:t.size,"clip-path":"url(#cp-triangle-clip-"+t.id+")"}},[n("div",{staticClass:"colorpicker-triangle-hue",on:{click:t.clickHue,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}})]),n("g",{style:"transform: rotate("+t.hue+"deg)"},[n("foreignObject",{attrs:{x:t.size/2-4,y:0,width:"8",height:t.thickness+4}},[n("div",{ref:"hueCursor",staticClass:"hue-range-thumb",style:"background-color: hsl("+t.hue+"deg, 100%, 50%)",attrs:{role:"slider",tabindex:"0","aria-label":"Hue","aria-valuemin":"0","aria-valuenow":t.hue,"aria-valuemax":"360"},on:{click:t.clickHue,keydown:t.hueKeyPress,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}})])],1)],1),n("g",{staticClass:"colorpicker-triangle-slider-sl",style:"transform: rotate("+t.hue+"deg) translate(50%, 50%)",attrs:{role:"graphics-datagroup","aria-datascales":"lightness, saturation"}},[n("path",{attrs:{d:t.trianglePath,fill:"url(#cp-triangle-gradient-ligthness-"+t.id+")"}}),n("path",{staticStyle:{"mix-blend-mode":"overlay"},attrs:{d:t.trianglePath,fill:"url(#cp-triangle-gradient-saturation-"+t.id+")"},on:{click:t.clickSL,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}}),n("foreignObject",{attrs:{x:(t.internalRadius-3)*t.cos30*(.5-t.lightness)*2-6,y:-t.internalRadius+(1-t.saturation)*(t.internalRadius-3)*1.5-3,width:"12",height:"12"}},[n("div",{ref:"slCursor",staticClass:"sl-range-thumb",style:{backgroundColor:"hsl("+t.hue+"deg, "+100*t.saturation+"%, "+100*t.lightness+"%)"},attrs:{tabindex:"0","aria-datavalues":100*t.saturation+"%, "+100*t.lightness+"%"},on:{click:t.clickSL,keydown:t.slKeyPress,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}})])],1)])},$r=[];const Lr=void 0,Fr=void 0,Br=void 0,jr=!1;var zr=st({render:Nr,staticRenderFns:$r},Lr,Rr,Fr,jr,Br,void 0,void 0);function Hr(){var t=w(["","px"]);return Hr=function(){return t},t}function Vr(){var t=w(["","px"]);return Vr=function(){return t},t}function Gr(){var t=w(["","px"]);return Gr=function(){return t},t}var Wr=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=[];return t.forEach((function(t,e){r.push(t),n[e]&&r.push(Number.isNaN(n[e]/1)?n[e]:Math.round(10*n)/10)})),r.join("")},Ur={name:"BColorpickerHSLRepresentationSquare",props:{value:{type:Object,required:!0,validator:function(t){return"number"===typeof t.hue&&"number"===typeof t.saturation&&"number"===typeof t.lightness}},size:{type:Number,default:200},thickness:{type:Number,default:20}},data:function(){return{hue:this.value.hue,saturation:this.value.saturation,lightness:this.value.lightness,captureMouse:!1,captureType:"hue",clientOffset:{cx:-1,cy:-1,width:0,height:0},debounce:0}},computed:{hueThumbStyle:function(){var t=this.hue,e=this.size,n=this.thickness,i=e-n,r=e/2,a=(t+720+90)%360/180*Math.PI,o=1/Math.cos(Math.PI/4),s={x:-Math.min(1,Math.max(-1,o*Math.cos(a)))/2*i+r,y:-Math.min(1,Math.max(-1,o*Math.sin(a)))/2*i+r},c=s.x,l=s.y;return{background:"hsl(".concat(t,"deg, 100%, 50%)"),left:Wr(Gr(),c),top:Wr(Vr(),l),width:Wr(Hr(),n-2)}},slThumbStyle:function(){var t=this.hue,e=this.saturation,n=this.lightness;return e=Math.max(0,Math.min(1,e)),n=Math.max(0,Math.min(1,n)),{background:"hsl(".concat(t,"deg, ").concat(100*e,"%, ").concat(100*n,"%)"),left:"".concat(100*e,"%"),top:"".concat(100*(1-n),"%")}},SLBackground:function(){var t=this.hue;return"linear-gradient(90deg, hsl(".concat(t,"deg, 0%, 50%), hsl(").concat(t,"deg, 100%, 50%))")}},watch:{captureMouse:function(t,e){if(!1===e&&!1!==t){var n=this.$el.getBoundingClientRect();this.clientOffset.cx=n.x+n.width/2,this.clientOffset.cy=n.y+n.height/2,this.clientOffset.width=n.width,this.clientOffset.height=n.height}},value:{deep:!0,handler:function(t){var e=this,n=t.hue,i=t.saturation,r=t.lightness;window.clearTimeout(this.debounce),this.debounce=window.setTimeout((function(){e.hue=n,e.saturation=i,e.lightness=r}),200)}}},methods:{increaseHue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(this.hue+t)%360},decreaseHue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.hue=(360+this.hue-t)%360},increaseSaturation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation+t)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},decreaseSaturation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.saturation=Math.min(1,Math.max(0,this.saturation-t)),this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness))},increaseLightness:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness+t))},decreaseLightness:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.lightness=Math.min(.5+.5*(1-this.saturation),Math.max(.5-.5*(1-this.saturation),this.lightness-t))},hueKeyPress:function(t){var e=!1;switch(t.key){case"ArrowRight":case"ArrowUp":this.increaseHue(),e=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseHue(),e=!0;break;case"Home":this.increaseHue(360-this.hue),e=!0;break;case"End":this.decreaseHue(this.hue),e=!0;break;case"PageUp":this.increaseHue(60-this.hue%60),e=!0;break;case"PageDown":this.decreaseHue(60+this.hue%60),e=!0;break}e&&(t.preventDefault(),t.stopPropagation(),this.emitColor())},slKeyPress:function(t){var e=!1;switch(t.key){case"ArrowRight":this.increaseSaturation(),e=!0;break;case"ArrowUp":this.increaseLightness(),e=!0;break;case"ArrowLeft":this.decreaseSaturation(),e=!0;break;case"ArrowDown":this.decreaseLightness(),e=!0;break;case"Home":this.increaseLightness(1-this.lightness),e=!0;break;case"End":this.decreaseLightness(this.lightness),e=!0;break;case"PageUp":this.increaseSaturation(1-this.saturation),e=!0;break;case"PageDown":this.decreaseSaturation(this.saturation),e=!0;break}e&&(t.preventDefault(),t.stopPropagation(),this.emitColor())},startMouseCapture:function(t){t.stopPropagation(),this.captureMouse=!0,null!==t.target.closest(".colorpicker-square-slider-sl")?this.captureType="sl":this.captureType="hue"},stopMouseCapture:function(t){!1!==this.captureMouse&&(t.preventDefault(),t.stopPropagation(),this.$refs["sl"===this.captureType?"slCursor":"hueCursor"].focus()),this.captureMouse=!1},clickHue:function(t){this.startMouseCapture(t),this.trackMouse(t),this.stopMouseCapture(t),this.$refs.hueCursor.focus()},clickSL:function(t){this.startMouseCapture(t),this.trackMouse(t),this.stopMouseCapture(t),this.$refs.slCursor.focus()},trackMouse:function(t){if(!1!==this.captureMouse){t.preventDefault(),t.stopPropagation();var e=0,n=0;if("undefined"!==typeof t.touches&&t.touches.length){var i=[t.touches[0].clientX,t.touches[0].clientY];e=i[0],n=i[1]}else{var r=[t.clientX,t.clientY];e=r[0],n=r[1]}var a=Math.atan2(n-this.clientOffset.cy,e-this.clientOffset.cx);if("sl"===this.captureType){var o=(e-this.clientOffset.cx)/(this.clientOffset.width-2*this.thickness)+.5,s=(n-this.clientOffset.cy)/(this.clientOffset.height-2*this.thickness)+.5;this.saturation=Math.round(1e3*Math.min(1,Math.max(0,o)))/1e3,this.lightness=1-Math.round(1e3*Math.min(1,Math.max(0,s)))/1e3}else this.hue=Math.round(a/Math.PI*180+90)%360;this.emitColor()}},emitColor:function(){var t=this.hue,e=this.saturation,n=this.lightness;this.$emit("input",Ar.fromHSL(t,e,n)),window.clearTimeout(this.debounce)}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}};const Yr=Ur;var qr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-colorpicker-square",style:{width:t.size+"px"}},[n("div",{staticClass:"colorpicker-square-slider-hue",on:{click:t.clickHue,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}},[n("div",{ref:"hueCursor",staticClass:"hue-range-thumb",style:t.hueThumbStyle,attrs:{role:"slider",tabindex:"0","aria-label":"Hue","aria-valuemin":"0","aria-valuemax":"359"}})]),n("div",{staticClass:"colorpicker-square-slider-sl",style:{background:t.SLBackground,margin:t.thickness+"px"},attrs:{"aria-datascales":"lightness, saturation"},on:{click:t.clickSL,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}},[n("div",{ref:"slCursor",staticClass:"sl-range-thumb",style:t.slThumbStyle,attrs:{role:"slider",tabindex:"0","aria-datavalues":100*t.saturation+"%, "+100*t.lightness+"%"},on:{click:t.clickSL,keydown:t.slKeyPress,mousedown:function(e){return e.preventDefault(),t.startMouseCapture(e)},touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}})])])},Xr=[];const Kr=void 0,Jr=void 0,Zr=void 0,Qr=!1;var ta=st({render:qr,staticRenderFns:Xr},Kr,Yr,Jr,Qr,Zr,void 0,void 0),ea={name:"BColorpickerAlphaSlider",components:s({},Cr.name,Cr),props:{value:{type:Number,validator:function(t){return t>=0&&t<256}},color:[String,Object]},data:function(){var t=Ar.parse(this.color);return t.alpha=0,{startColor:t.toString("hex"),endColor:t.toString("hexa"),percent:Math.round(100*(1-this.value/255)),captureMouse:!1,clientOffset:{cx:-1,cy:-1,width:0,height:0}}},computed:{style:function(){return{backgroundImage:"linear-gradient(90deg, ".concat(this.startColor," 0%, ").concat(this.endColor," 100%),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)"),backgroundSize:"100% 100%, 1em 1em, 1em 1em",backgroundPosition:"0 0, .5em .5em, 0 0"}}},watch:{value:function(t,e){t!==e&&(this.percent=Math.round(100*(1-t/255)))},color:function(t){var e=Ar.parse(t);e.alpha=0,this.startColor=e.toString("hex"),this.endColor=e.toString("hexa")},captureMouse:function(t,e){if(!1===e&&!1!==t){var n=this.$el.getBoundingClientRect();this.clientOffset.cx=n.x+n.width/2,this.clientOffset.cy=n.y+n.height/2,this.clientOffset.width=n.width,this.clientOffset.height=n.height}}},methods:{increaseAlpha:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.percent=Math.max(0,Math.min(100,this.percent+t))},decreaseAlpha:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01;this.increaseAlpha(-t)},alphaKeyPress:function(t){var e=!1;switch(t.key){case"ArrowRight":case"ArrowUp":this.increaseAlpha(),e=!0;break;case"ArrowLeft":case"ArrowDown":this.decreaseAlpha(),e=!0;break;case"Home":this.decreaseAlpha(this.percent),e=!0;break;case"End":this.increaseAlpha(100-this.percent),e=!0;break;case"PageUp":this.increaseAlpha(10-this.percent%10),e=!0;break;case"PageDown":this.decreaseAlpha(this.percent%10),e=!0;break}e&&(t.preventDefault(),t.stopPropagation(),this.emitAlpha())},clickAlpha:function(t){this.startMouseCapture(t),this.trackMouse(t),this.stopMouseCapture(t),this.$refs.alphaCursor.focus()},startMouseCapture:function(t){t.stopPropagation(),this.captureMouse=!0},trackMouse:function(t){if(!1!==this.captureMouse){t.preventDefault(),t.stopPropagation();var e=[0,0],n=e[0];if("undefined"!==typeof t.touches&&t.touches.length){var i=[t.touches[0].clientX];n=i[0]}else{var r=[t.clientX];n=r[0]}var a=.5+(this.clientOffset.cx-n)/this.clientOffset.width;this.percent=Math.round(100-100*Math.max(0,Math.min(1,a))),this.emitAlpha()}},stopMouseCapture:function(t){!1!==this.captureMouse&&(t.preventDefault(),t.stopPropagation(),this.$refs.alphaCursor.focus()),this.captureMouse=!1},emitAlpha:function(){this.$emit("input",255*(1-this.percent/100))}},mounted:function(){window.addEventListener("mousemove",this.trackMouse),window.addEventListener("touchmove",this.trackMouse,{passive:!1}),window.addEventListener("mouseup",this.stopMouseCapture),window.addEventListener("touchend",this.stopMouseCapture)},beforeDestroy:function(){window.removeEventListener("mousemove",this.trackMouse),window.removeEventListener("touchmove",this.trackMouse),window.removeEventListener("mouseup",this.stopMouseCapture),window.removeEventListener("touchend",this.stopMouseCapture)}};const na=ea;var ia=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-colorpicker-alpha-slider",style:t.style,on:{click:t.clickAlpha,keydown:t.alphaKeyPress,mousedown:t.startMouseCapture,touchstart:function(e){return e.preventDefault(),t.startMouseCapture(e)}}},[n("div",{ref:"alphaCursor",staticClass:"alpha-range-thumb",style:{left:t.percent+"%"},attrs:{role:"slider",tabindex:"0","aria-label":"Tranparency","aria-valuemin":"0","aria-valuenow":t.percent,"aria-valuemax":"100"}},[n("b-tooltip",{attrs:{label:t.percent+"%",always:t.captureMouse}})],1)])},ra=[];const aa=void 0,oa=void 0,sa=void 0,ca=!1;var la,ua=st({render:ia,staticRenderFns:ra},aa,na,oa,ca,sa,void 0,void 0),ha=function(t,e){return t.alpha<1?t.toString("hexa"):t.toString("hex")},da=function(t,e){return Ar.parse(t)},fa={name:"BColorpicker",components:(la={},s(la,zr.name,zr),s(la,ta.name,ta),s(la,ua.name,ua),s(la,Mt.name,Mt),s(la,Li.name,Li),s(la,mr.name,mr),s(la,xt.name,xt),s(la,di.name,di),s(la,wi.name,wi),la),mixins:[ht],inheritAttrs:!1,provide:function(){return{$colorpicker:this}},props:{value:{type:[String,Object],validator:function(t){return"string"===typeof t||"object"===i(t)&&"number"===typeof t.red&&"number"===typeof t.green&&"number"===typeof t.blue}},representation:{type:String,default:"triangle",value:function(t){return["triangle","square"].some((function(e){return e===t}))}},inline:Boolean,disabled:Boolean,horizontalColorPicker:{type:Boolean,default:!1},colorFormatter:{type:Function,default:function(t,e){return"function"===typeof it.defaultColorFormatter?it.defaultColorFormatter(t):ha(t)}},colorParser:{type:Function,default:function(t,e){return"function"===typeof it.defaultColorParser?it.defaultColorParser(t):da(t)}},alpha:{type:Boolean,default:!1},expanded:Boolean,position:String,mobileModal:{type:Boolean,default:function(){return it.defaultDatepickerMobileModal}},focusable:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:function(){return it.defaultTrapFocus}},appendToBody:Boolean},data:function(){var t=this.colorParser(this.value);return{colorSelected:t}},computed:{background:function(){if(this.alpha)return"linear-gradient(\n 45deg,\n ".concat(this.colorSelected.toString("hex")," 50%,\n ").concat(this.colorSelected.toString("hexa")," 50%\n )");var t=this.colorSelected.toString("hex");return"linear-gradient(\n 45deg,\n ".concat(t," 50%,\n ").concat(t," 50%\n )")},triggerStyle:function(){var t=this.colorSelected,e=t.red,n=t.green,i=t.blue,r=.299*e+.587*n+.114*i>186;return{backgroundColor:"#ffffff",backgroundImage:"\n ".concat(this.background,",\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7),\n linear-gradient(45deg, #c7c7c7 25%, transparent 25%, transparent 75%, #c7c7c7 75%, #c7c7c7)\n "),backgroundSize:"100% 100%, 16px 16px, 16px 16px",backgroundPosition:"0 0, 8px 8px, 0 0",color:r?"#000000":"#FFFFFF",textShadow:"0 0 2px ".concat(r?"#FFFFFFAA":"#000000AA")}},isMobile:function(){return this.mobileNative&&z.any()},ariaRole:function(){if(!this.inline)return"dialog"}},watch:{value:function(t){this.colorSelected=new Ar(t)}},methods:{updateColor:function(t){t.alpha=this.colorSelected.alpha,this.colorSelected=t,this.$emit("input",t)},updateAlpha:function(t){this.colorSelected.alpha=t,this.$emit("input",this.colorSelected)},formatValue:function(t){return t?this.colorFormatter(t,this):null},togglePicker:function(t){if(this.$refs.dropdown){var e="boolean"===typeof t?t:!this.$refs.dropdown.isActive;(e||this.closeOnClick)&&(this.$refs.dropdown.isActive=e)}},handleOnFocus:function(t){this.onFocus(t),this.openOnFocus&&this.togglePicker(!0)},toggle:function(){if(this.mobileNative&&this.isMobile){var t=this.$refs.input.$refs.input;return t.focus(),void t.click()}this.$refs.dropdown.toggle()},onInputClick:function(t){this.$refs.dropdown.isActive&&t.stopPropagation()},keyPress:function(t){var e=t.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===e||"Esc"===e)&&this.togglePicker(!1)},onActiveChange:function(t){t||this.onBlur(),this.$emit("active-change",t)}}};const pa=fa;var va=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"colorpicker control",class:[t.size,{"is-expanded":t.expanded}]},[!t.isMobile||t.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:t.position,expanded:t.expanded,disabled:t.disabled,inline:t.inline,"mobile-modal":t.mobileModal,"trap-focus":t.trapFocus,"aria-role":t.ariaRole,"append-to-body":t.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":t.onActiveChange},scopedSlots:t._u([t.inline?null:{key:"trigger",fn:function(){return[t._t("trigger",[n("b-button",{style:t.triggerStyle,attrs:{expanded:t.expanded,disabled:t.disabled}},[n("span",{staticClass:"color-name"},[t._v(t._s(t.colorFormatter(t.colorSelected)))])])])]},proxy:!0}],null,!0)},[n("b-dropdown-item",{class:{"dropdown-horizontal-colorpicker":t.horizontalColorPicker},attrs:{disabled:t.disabled,focusable:t.focusable,custom:""}},[n("div",[n("header",{staticClass:"colorpicker-header"},[void 0!==t.$slots.header&&t.$slots.header.length?[t._t("header")]:t._e()],2),n("div",{staticClass:"colorpicker-content"},["square"===t.representation?n("b-colorpicker-h-s-l-representation-square",{attrs:{value:t.colorSelected},on:{input:t.updateColor}}):n("b-colorpicker-h-s-l-representation-triangle",{attrs:{value:t.colorSelected},on:{input:t.updateColor}})],1)]),n("footer",{staticClass:"colorpicker-footer"},[t.alpha?n("b-colorpicker-alpha-slider",{attrs:{value:t.colorSelected.alpha,color:t.colorSelected},on:{input:t.updateAlpha}}):t._e(),t._t("footer",[n("b-field",{staticClass:"colorpicker-fields",attrs:{grouped:""}},[n("b-field",{attrs:{horizontal:"",label:"R"}},[n("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Red"},model:{value:t.colorSelected.red,callback:function(e){t.$set(t.colorSelected,"red",t._n(e))},expression:"colorSelected.red"}})],1),n("b-field",{attrs:{horizontal:"",label:"G"}},[n("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Green"},model:{value:t.colorSelected.green,callback:function(e){t.$set(t.colorSelected,"green",t._n(e))},expression:"colorSelected.green"}})],1),n("b-field",{attrs:{horizontal:"",label:"B"}},[n("b-input",{attrs:{type:"number",size:"is-small","aria-label":"Blue"},model:{value:t.colorSelected.blue,callback:function(e){t.$set(t.colorSelected,"blue",t._n(e))},expression:"colorSelected.blue"}})],1)],1)],{color:t.colorSelected})],2)])],1):t._e()],1)},ma=[];const ga=void 0,ya=void 0,ba=void 0,_a=!1;var wa=st({render:va,staticRenderFns:ma},ga,pa,ya,_a,ba,void 0,void 0),ka={install:function(t){lt(t,wa)}};ct(ka);const xa=ka;var Sa={name:"BDatepickerTableRow",inject:{$datepicker:{name:"$datepicker",default:!1}},props:{selectedDate:{type:[Date,Array]},hoveredDateRange:Array,day:{type:Number},week:{type:Array,required:!0},month:{type:Number,required:!0},minDate:Date,maxDate:Date,disabled:Boolean,unselectableDates:[Array,Function],unselectableDaysOfWeek:Array,selectableDates:[Array,Function],events:Array,indicators:String,dateCreator:Function,nearbyMonthDays:Boolean,nearbySelectableMonthDays:Boolean,showWeekNumber:Boolean,weekNumberClickable:Boolean,range:Boolean,multiple:Boolean,rulesForFirstWeek:Number,firstDayOfWeek:Number},watch:{day:function(t){var e=this,n="day-".concat(this.month,"-").concat(t);this.$nextTick((function(){e.$refs[n]&&e.$refs[n].length>0&&e.$refs[n][0]&&e.$refs[n][0].focus()}))}},methods:{firstWeekOffset:function(t,e,n){var i=7+e-n,r=new Date(t,0,i),a=(7+r.getDay()-e)%7;return-a+i-1},daysInYear:function(t){return this.isLeapYear(t)?366:365},isLeapYear:function(t){return t%4===0&&t%100!==0||t%400===0},getSetDayOfYear:function(t){return Math.round((t-new Date(t.getFullYear(),0,1))/864e5)+1},weeksInYear:function(t,e,n){var i=this.firstWeekOffset(t,e,n),r=this.firstWeekOffset(t+1,e,n);return(this.daysInYear(t)-i+r)/7},getWeekNumber:function(t){var e,n,i=this.firstDayOfWeek,r=this.rulesForFirstWeek,a=this.firstWeekOffset(t.getFullYear(),i,r),o=Math.floor((this.getSetDayOfYear(t)-a-1)/7)+1;return o<1?(n=t.getFullYear()-1,e=o+this.weeksInYear(n,i,r)):o>this.weeksInYear(t.getFullYear(),i,r)?(e=o-this.weeksInYear(t.getFullYear(),i,r),n=t.getFullYear()+1):(n=t.getFullYear(),e=o),{week:e,year:n}},clickWeekNumber:function(t){this.weekNumberClickable&&this.$datepicker.$emit("week-number-click",t.week,t.year)},selectableDate:function(t){var e=[];if(this.minDate&&e.push(t>=this.minDate),this.maxDate&&e.push(t<=this.maxDate),this.nearbyMonthDays&&!this.nearbySelectableMonthDays&&e.push(t.getMonth()===this.month),this.selectableDates)if("function"===typeof this.selectableDates){if(this.selectableDates(t))return!0;e.push(!1)}else for(var n=0;n<this.selectableDates.length;n++){var i=this.selectableDates[n];if(t.getDate()===i.getDate()&&t.getFullYear()===i.getFullYear()&&t.getMonth()===i.getMonth())return!0;e.push(!1)}if(this.unselectableDates)if("function"===typeof this.unselectableDates)e.push(!this.unselectableDates(t));else for(var r=0;r<this.unselectableDates.length;r++){var a=this.unselectableDates[r];e.push(t.getDate()!==a.getDate()||t.getFullYear()!==a.getFullYear()||t.getMonth()!==a.getMonth())}if(this.unselectableDaysOfWeek)for(var o=0;o<this.unselectableDaysOfWeek.length;o++){var s=this.unselectableDaysOfWeek[o];e.push(t.getDay()!==s)}return e.indexOf(!1)<0},emitChosenDate:function(t){this.disabled||this.selectableDate(t)&&this.$emit("select",t)},eventsDateMatch:function(t){if(!this.events||!this.events.length)return!1;for(var e=[],n=0;n<this.events.length;n++)this.events[n].date.getDay()===t.getDay()&&e.push(this.events[n]);return!!e.length&&e},classObject:function(t){function e(t,e,n){return!(!t||!e||n)&&(Array.isArray(e)?e.some((function(e){return t.getDate()===e.getDate()&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()})):t.getDate()===e.getDate()&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth())}function n(t,e,n){return!(!Array.isArray(e)||n)&&(t>e[0]&&t<e[1])}return s({"is-selected":e(t,this.selectedDate)||n(t,this.selectedDate,this.multiple),"is-first-selected":e(t,Array.isArray(this.selectedDate)&&this.selectedDate[0],this.multiple),"is-within-selected":n(t,this.selectedDate,this.multiple),"is-last-selected":e(t,Array.isArray(this.selectedDate)&&this.selectedDate[1],this.multiple),"is-within-hovered-range":this.hoveredDateRange&&2===this.hoveredDateRange.length&&(e(t,this.hoveredDateRange)||n(t,this.hoveredDateRange)),"is-first-hovered":e(t,Array.isArray(this.hoveredDateRange)&&this.hoveredDateRange[0]),"is-within-hovered":n(t,this.hoveredDateRange),"is-last-hovered":e(t,Array.isArray(this.hoveredDateRange)&&this.hoveredDateRange[1]),"is-today":e(t,this.dateCreator()),"is-selectable":this.selectableDate(t)&&!this.disabled,"is-unselectable":!this.selectableDate(t)||this.disabled,"is-invisible":!this.nearbyMonthDays&&t.getMonth()!==this.month,"is-nearby":this.nearbySelectableMonthDays&&t.getMonth()!==this.month,"has-event":this.eventsDateMatch(t)},this.indicators,this.eventsDateMatch(t))},setRangeHoverEndDate:function(t){this.range&&this.$emit("rangeHoverEndDate",t)},manageKeydown:function(t,e){var n=t.key,i=!0;switch(n){case"Tab":i=!1;break;case" ":case"Space":case"Spacebar":case"Enter":this.emitChosenDate(e);break;case"ArrowLeft":case"Left":this.changeFocus(e,-1);break;case"ArrowRight":case"Right":this.changeFocus(e,1);break;case"ArrowUp":case"Up":this.changeFocus(e,-7);break;case"ArrowDown":case"Down":this.changeFocus(e,7);break}i&&t.preventDefault()},changeFocus:function(t,e){var n=new Date(t.getTime());n.setDate(t.getDate()+e);while((!this.minDate||n>this.minDate)&&(!this.maxDate||n<this.maxDate)&&!this.selectableDate(n))n.setDate(t.getDate()+Math.sign(e));this.setRangeHoverEndDate(n),this.$emit("change-focus",n)}}};const Ca=Sa;var Da=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"datepicker-row"},[t.showWeekNumber?n("a",{staticClass:"datepicker-cell is-week-number",class:{"is-clickable":t.weekNumberClickable},on:{click:function(e){e.preventDefault(),t.clickWeekNumber(t.getWeekNumber(t.week[6]))}}},[n("span",[t._v(t._s(t.getWeekNumber(t.week[6]).week))])]):t._e(),t._l(t.week,(function(e,i){return[t.selectableDate(e)&&!t.disabled?n("a",{key:i,ref:"day-"+e.getMonth()+"-"+e.getDate(),refInFor:!0,staticClass:"datepicker-cell",class:t.classObject(e),attrs:{role:"button",href:"#",disabled:t.disabled,tabindex:t.day===e.getDate()&&t.month===e.getMonth()?null:-1},on:{click:function(n){return n.preventDefault(),t.emitChosenDate(e)},mouseenter:function(n){return t.setRangeHoverEndDate(e)},keydown:function(n){return t.manageKeydown(n,e)}}},[n("span",[t._v(t._s(e.getDate()))]),t.eventsDateMatch(e)?n("div",{staticClass:"events"},t._l(t.eventsDateMatch(e),(function(t,e){return n("div",{key:e,staticClass:"event",class:t.type})})),0):t._e()]):n("div",{key:i,staticClass:"datepicker-cell",class:t.classObject(e)},[n("span",[t._v(t._s(e.getDate()))]),t.eventsDateMatch(e)?n("div",{staticClass:"events"},t._l(t.eventsDateMatch(e),(function(t,e){return n("div",{key:e,staticClass:"event",class:t.type})})),0):t._e()])]}))],2)},Ta=[];const Oa=void 0,Aa=void 0,Ea=void 0,Pa=!1;var Ma=st({render:Da,staticRenderFns:Ta},Oa,Ca,Aa,Pa,Ea,void 0,void 0),Ia={name:"BDatepickerTable",components:s({},Ma.name,Ma),props:{value:{type:[Date,Array]},dayNames:Array,monthNames:Array,firstDayOfWeek:Number,events:Array,indicators:String,minDate:Date,maxDate:Date,focused:Object,disabled:Boolean,dateCreator:Function,unselectableDates:[Array,Function],unselectableDaysOfWeek:Array,selectableDates:[Array,Function],nearbyMonthDays:Boolean,nearbySelectableMonthDays:Boolean,showWeekNumber:Boolean,weekNumberClickable:Boolean,rulesForFirstWeek:Number,range:Boolean,multiple:Boolean},data:function(){return{selectedBeginDate:void 0,selectedEndDate:void 0,hoveredEndDate:void 0}},computed:{multipleSelectedDates:{get:function(){return this.multiple&&this.value?this.value:[]},set:function(t){this.$emit("input",t)}},visibleDayNames:function(){var t=[],e=this.firstDayOfWeek;while(t.length<this.dayNames.length){var n=this.dayNames[e%this.dayNames.length];t.push(n),e++}return this.showWeekNumber&&t.unshift(""),t},hasEvents:function(){return this.events&&this.events.length},eventsInThisMonth:function(){if(!this.events)return[];for(var t=[],e=0;e<this.events.length;e++){var n=this.events[e];n.hasOwnProperty("date")||(n={date:n}),n.hasOwnProperty("type")||(n.type="is-primary"),n.date.getMonth()===this.focused.month&&n.date.getFullYear()===this.focused.year&&t.push(n)}return t},weeksInThisMonth:function(){this.validateFocusedDay();var t=this.focused.month,e=this.focused.year,n=[],i=1;while(n.length<6){var r=this.weekBuilder(i,t,e);n.push(r),i+=7}return n},hoveredDateRange:function(){return this.range&&isNaN(this.selectedEndDate)?this.hoveredEndDate<this.selectedBeginDate?[this.hoveredEndDate,this.selectedBeginDate].filter(et):[this.selectedBeginDate,this.hoveredEndDate].filter(et):[]}},methods:{updateSelectedDate:function(t){this.range||this.multiple?this.range?this.handleSelectRangeDate(t):this.multiple&&this.handleSelectMultipleDates(t):this.$emit("input",t)},handleSelectRangeDate:function(t){this.selectedBeginDate&&this.selectedEndDate?(this.selectedBeginDate=t,this.selectedEndDate=void 0,this.$emit("range-start",t)):this.selectedBeginDate&&!this.selectedEndDate?(this.selectedBeginDate>t?(this.selectedEndDate=this.selectedBeginDate,this.selectedBeginDate=t):this.selectedEndDate=t,this.$emit("range-end",t),this.$emit("input",[this.selectedBeginDate,this.selectedEndDate])):(this.selectedBeginDate=t,this.$emit("range-start",t))},handleSelectMultipleDates:function(t){var e=this.multipleSelectedDates.filter((function(e){return e.getDate()===t.getDate()&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}));e.length?this.multipleSelectedDates=this.multipleSelectedDates.filter((function(e){return e.getDate()!==t.getDate()||e.getFullYear()!==t.getFullYear()||e.getMonth()!==t.getMonth()})):this.multipleSelectedDates=[].concat(S(this.multipleSelectedDates),[t])},weekBuilder:function(t,e,n){for(var i=new Date(n,e),r=[],a=new Date(n,e,t).getDay(),o=a>=this.firstDayOfWeek?a-this.firstDayOfWeek:7-this.firstDayOfWeek+a,s=1,c=0;c<o;c++)r.unshift(new Date(i.getFullYear(),i.getMonth(),t-s)),s++;r.push(new Date(n,e,t));var l=1;while(r.length<7)r.push(new Date(n,e,t+l)),l++;return r},validateFocusedDay:function(){var t=new Date(this.focused.year,this.focused.month,this.focused.day);if(!this.selectableDate(t)){var e=0,n=new Date(this.focused.year,this.focused.month+1,0).getDate(),i=null;while(!i&&++e<n){var r=new Date(this.focused.year,this.focused.month,e);if(this.selectableDate(r)){i=t;var a={day:r.getDate(),month:r.getMonth(),year:r.getFullYear()};this.$emit("update:focused",a)}}}},selectableDate:function(t){var e=[];if(this.minDate&&e.push(t>=this.minDate),this.maxDate&&e.push(t<=this.maxDate),this.nearbyMonthDays&&!this.nearbySelectableMonthDays&&e.push(t.getMonth()===this.focused.month),this.selectableDates)if("function"===typeof this.selectableDates){if(this.selectableDates(t))return!0;e.push(!1)}else for(var n=0;n<this.selectableDates.length;n++){var i=this.selectableDates[n];if(t.getDate()===i.getDate()&&t.getFullYear()===i.getFullYear()&&t.getMonth()===i.getMonth())return!0;e.push(!1)}if(this.unselectableDates)if("function"===typeof this.unselectableDates)e.push(!this.unselectableDates(t));else for(var r=0;r<this.unselectableDates.length;r++){var a=this.unselectableDates[r];e.push(t.getDate()!==a.getDate()||t.getFullYear()!==a.getFullYear()||t.getMonth()!==a.getMonth())}if(this.unselectableDaysOfWeek)for(var o=0;o<this.unselectableDaysOfWeek.length;o++){var s=this.unselectableDaysOfWeek[o];e.push(t.getDay()!==s)}return e.indexOf(!1)<0},eventsInThisWeek:function(t){return this.eventsInThisMonth.filter((function(e){var n=new Date(Date.parse(e.date));n.setHours(0,0,0,0);var i=n.getTime();return t.some((function(t){return t.getTime()===i}))}))},setRangeHoverEndDate:function(t){this.hoveredEndDate=t},changeFocus:function(t){var e={day:t.getDate(),month:t.getMonth(),year:t.getFullYear()};this.$emit("update:focused",e)}}};const Ra=Ia;var Na=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"datepicker-table"},[n("header",{staticClass:"datepicker-header"},t._l(t.visibleDayNames,(function(e,i){return n("div",{key:i,staticClass:"datepicker-cell"},[n("span",[t._v(t._s(e))])])})),0),n("div",{staticClass:"datepicker-body",class:{"has-events":t.hasEvents}},t._l(t.weeksInThisMonth,(function(e,i){return n("b-datepicker-table-row",{key:i,attrs:{"selected-date":t.value,day:t.focused.day,week:e,month:t.focused.month,"min-date":t.minDate,"max-date":t.maxDate,disabled:t.disabled,"unselectable-dates":t.unselectableDates,"unselectable-days-of-week":t.unselectableDaysOfWeek,"selectable-dates":t.selectableDates,events:t.eventsInThisWeek(e),indicators:t.indicators,"date-creator":t.dateCreator,"nearby-month-days":t.nearbyMonthDays,"nearby-selectable-month-days":t.nearbySelectableMonthDays,"show-week-number":t.showWeekNumber,"week-number-clickable":t.weekNumberClickable,"first-day-of-week":t.firstDayOfWeek,"rules-for-first-week":t.rulesForFirstWeek,range:t.range,"hovered-date-range":t.hoveredDateRange,multiple:t.multiple},on:{select:t.updateSelectedDate,rangeHoverEndDate:t.setRangeHoverEndDate,"change-focus":t.changeFocus}})})),1)])},$a=[];const La=void 0,Fa=void 0,Ba=void 0,ja=!1;var za=st({render:Na,staticRenderFns:$a},La,Ra,Fa,ja,Ba,void 0,void 0),Ha={name:"BDatepickerMonth",props:{value:{type:[Date,Array]},monthNames:Array,events:Array,indicators:String,minDate:Date,maxDate:Date,focused:Object,disabled:Boolean,dateCreator:Function,unselectableDates:[Array,Function],unselectableDaysOfWeek:Array,selectableDates:[Array,Function],range:Boolean,multiple:Boolean},data:function(){return{selectedBeginDate:void 0,selectedEndDate:void 0,hoveredEndDate:void 0,multipleSelectedDates:this.multiple&&this.value?this.value:[]}},computed:{hasEvents:function(){return this.events&&this.events.length},eventsInThisYear:function(){if(!this.events)return[];for(var t=[],e=0;e<this.events.length;e++){var n=this.events[e];n.hasOwnProperty("date")||(n={date:n}),n.hasOwnProperty("type")||(n.type="is-primary"),n.date.getFullYear()===this.focused.year&&t.push(n)}return t},monthDates:function(){for(var t=this.focused.year,e=[],n=0;n<12;n++){var i=new Date(t,n,1);i.setHours(0,0,0,0),e.push(i)}return e},focusedMonth:function(){return this.focused.month},hoveredDateRange:function(){return this.range&&isNaN(this.selectedEndDate)?this.hoveredEndDate<this.selectedBeginDate?[this.hoveredEndDate,this.selectedBeginDate].filter(et):[this.selectedBeginDate,this.hoveredEndDate].filter(et):[]}},watch:{focusedMonth:function(t){var e=this,n="month-".concat(t);this.$refs[n]&&this.$refs[n].length>0&&this.$nextTick((function(){e.$refs[n][0]&&e.$refs[n][0].focus()}))}},methods:{selectMultipleDates:function(t){var e=this.multipleSelectedDates.filter((function(e){return e.getDate()===t.getDate()&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}));e.length?this.multipleSelectedDates=this.multipleSelectedDates.filter((function(e){return e.getDate()!==t.getDate()||e.getFullYear()!==t.getFullYear()||e.getMonth()!==t.getMonth()})):this.multipleSelectedDates.push(t),this.$emit("input",this.multipleSelectedDates)},selectableDate:function(t){var e=[];if(this.minDate&&e.push(t>=this.minDate),this.maxDate&&e.push(t<=this.maxDate),e.push(t.getFullYear()===this.focused.year),this.selectableDates)if("function"===typeof this.selectableDates){if(this.selectableDates(t))return!0;e.push(!1)}else for(var n=0;n<this.selectableDates.length;n++){var i=this.selectableDates[n];if(t.getFullYear()===i.getFullYear()&&t.getMonth()===i.getMonth())return!0;e.push(!1)}if(this.unselectableDates)if("function"===typeof this.unselectableDates)e.push(!this.unselectableDates(t));else for(var r=0;r<this.unselectableDates.length;r++){var a=this.unselectableDates[r];e.push(t.getFullYear()!==a.getFullYear()||t.getMonth()!==a.getMonth())}if(this.unselectableDaysOfWeek)for(var o=0;o<this.unselectableDaysOfWeek.length;o++){var s=this.unselectableDaysOfWeek[o];e.push(t.getDay()!==s)}return e.indexOf(!1)<0},eventsDateMatch:function(t){if(!this.eventsInThisYear.length)return!1;for(var e=[],n=0;n<this.eventsInThisYear.length;n++)this.eventsInThisYear[n].date.getMonth()===t.getMonth()&&e.push(this.events[n]);return!!e.length&&e},classObject:function(t){function e(t,e,n){return!(!t||!e||n)&&(Array.isArray(e)?e.some((function(e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()})):t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth())}function n(t,e,n){return!(!Array.isArray(e)||n)&&(t>e[0]&&t<e[1])}function i(t,e,n){return!(!Array.isArray(e)||!n)&&e.some((function(e){return t.getDate()===e.getDate()&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}))}return{"is-selected":e(t,this.value,this.multiple)||n(t,this.value,this.multiple)||i(t,this.multipleSelectedDates,this.multiple),"is-first-selected":e(t,Array.isArray(this.value)&&this.value[0],this.multiple),"is-within-selected":n(t,this.value,this.multiple),"is-last-selected":e(t,Array.isArray(this.value)&&this.value[1],this.multiple),"is-within-hovered-range":this.hoveredDateRange&&2===this.hoveredDateRange.length&&(e(t,this.hoveredDateRange)||n(t,this.hoveredDateRange)),"is-first-hovered":e(t,Array.isArray(this.hoveredDateRange)&&this.hoveredDateRange[0]),"is-within-hovered":n(t,this.hoveredDateRange),"is-last-hovered":e(t,Array.isArray(this.hoveredDateRange)&&this.hoveredDateRange[1]),"is-today":e(t,this.dateCreator()),"is-selectable":this.selectableDate(t)&&!this.disabled,"is-unselectable":!this.selectableDate(t)||this.disabled}},manageKeydown:function(t,e){var n=t.key;switch(n){case" ":case"Space":case"Spacebar":case"Enter":this.updateSelectedDate(e);break;case"ArrowLeft":case"Left":this.changeFocus(e,-1);break;case"ArrowRight":case"Right":this.changeFocus(e,1);break;case"ArrowUp":case"Up":this.changeFocus(e,-3);break;case"ArrowDown":case"Down":this.changeFocus(e,3);break}},updateSelectedDate:function(t){this.range||this.multiple?this.range?this.handleSelectRangeDate(t):this.multiple&&this.selectMultipleDates(t):this.emitChosenDate(t)},emitChosenDate:function(t){this.disabled||(this.multiple?this.selectMultipleDates(t):this.selectableDate(t)&&this.$emit("input",t))},handleSelectRangeDate:function(t){this.disabled||(this.selectedBeginDate&&this.selectedEndDate?(this.selectedBeginDate=t,this.selectedEndDate=void 0,this.$emit("range-start",t)):this.selectedBeginDate&&!this.selectedEndDate?(this.selectedBeginDate>t?(this.selectedEndDate=this.selectedBeginDate,this.selectedBeginDate=t):this.selectedEndDate=t,this.$emit("range-end",t),this.$emit("input",[this.selectedBeginDate,this.selectedEndDate])):(this.selectedBeginDate=t,this.$emit("range-start",t)))},setRangeHoverEndDate:function(t){this.range&&(this.hoveredEndDate=t)},changeFocus:function(t,e){var n=t;n.setMonth(t.getMonth()+e),this.$emit("change-focus",n)}}};const Va=Ha;var Ga=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"datepicker-table"},[n("div",{staticClass:"datepicker-body",class:{"has-events":t.hasEvents}},[n("div",{staticClass:"datepicker-months"},[t._l(t.monthDates,(function(e,i){return[t.selectableDate(e)&&!t.disabled?n("a",{key:i,ref:"month-"+e.getMonth(),refInFor:!0,staticClass:"datepicker-cell",class:[t.classObject(e),{"has-event":t.eventsDateMatch(e)},t.indicators],attrs:{role:"button",href:"#",disabled:t.disabled,tabindex:t.focused.month===e.getMonth()?null:-1},on:{click:function(n){return n.preventDefault(),t.updateSelectedDate(e)},mouseenter:function(n){return t.setRangeHoverEndDate(e)},keydown:function(n){return n.preventDefault(),t.manageKeydown(n,e)}}},[t._v(" "+t._s(t.monthNames[e.getMonth()])+" "),t.eventsDateMatch(e)?n("div",{staticClass:"events"},t._l(t.eventsDateMatch(e),(function(t,e){return n("div",{key:e,staticClass:"event",class:t.type})})),0):t._e()]):n("div",{key:i,staticClass:"datepicker-cell",class:t.classObject(e)},[t._v(" "+t._s(t.monthNames[e.getMonth()])+" ")])]}))],2)])])},Wa=[];const Ua=void 0,Ya=void 0,qa=void 0,Xa=!1;var Ka,Ja=st({render:Ga,staticRenderFns:Wa},Ua,Va,Ya,Xa,qa,void 0,void 0),Za=function(t,e){var n=Array.isArray(t)?t:[t],i=n.map((function(t){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate(),12);return e.isTypeMonth?e.dtfMonth.format(n):e.dtf.format(n)}));return e.multiple?i.join(", "):i.join(" - ")},Qa=function(t,e){if(e.dtf.formatToParts&&"function"===typeof e.dtf.formatToParts){var n=(e.isTypeMonth?e.dtfMonth:e.dtf).formatToParts(new Date(2e3,11,25)).map((function(t){return"literal"===t.type?t.value:"((?!=<".concat(t.type,">)\\d+)")})).join(""),i=J(n,t);if(i.year&&4===i.year.length&&i.month&&i.month<=12){if(e.isTypeMonth)return new Date(i.year,i.month-1);if(i.day&&i.day<=31)return new Date(i.year,i.month-1,i.day,12)}}if(!e.isTypeMonth)return new Date(Date.parse(t));if(t){var r=t.split("/"),a=4===r[0].length?r[0]:r[1],o=2===r[0].length?r[0]:r[1];if(a&&o)return new Date(parseInt(a,10),parseInt(o-1,10),1,0,0,0,0)}return null},to={name:"BDatepicker",components:(Ka={},s(Ka,za.name,za),s(Ka,Ja.name,Ja),s(Ka,Mt.name,Mt),s(Ka,Li.name,Li),s(Ka,mr.name,mr),s(Ka,xt.name,xt),s(Ka,di.name,di),s(Ka,wi.name,wi),Ka),mixins:[ht],inheritAttrs:!1,provide:function(){return{$datepicker:this}},props:{value:{type:[Date,Array]},dayNames:{type:Array,default:function(){if(Array.isArray(it.defaultDayNames))return it.defaultDayNames}},monthNames:{type:Array,default:function(){if(Array.isArray(it.defaultMonthNames))return it.defaultMonthNames}},firstDayOfWeek:{type:Number,default:function(){return"number"===typeof it.defaultFirstDayOfWeek?it.defaultFirstDayOfWeek:0}},inline:Boolean,minDate:Date,maxDate:Date,focusedDate:Date,placeholder:String,editable:Boolean,disabled:Boolean,horizontalTimePicker:Boolean,unselectableDates:[Array,Function],unselectableDaysOfWeek:{type:Array,default:function(){return it.defaultUnselectableDaysOfWeek}},selectableDates:[Array,Function],dateFormatter:{type:Function,default:function(t,e){return"function"===typeof it.defaultDateFormatter?it.defaultDateFormatter(t):Za(t,e)}},dateParser:{type:Function,default:function(t,e){return"function"===typeof it.defaultDateParser?it.defaultDateParser(t):Qa(t,e)}},dateCreator:{type:Function,default:function(){return"function"===typeof it.defaultDateCreator?it.defaultDateCreator():new Date}},mobileNative:{type:Boolean,default:function(){return it.defaultDatepickerMobileNative}},position:String,iconRight:String,iconRightClickable:Boolean,events:Array,indicators:{type:String,default:"dots"},openOnFocus:Boolean,iconPrev:{type:String,default:function(){return it.defaultIconPrev}},iconNext:{type:String,default:function(){return it.defaultIconNext}},yearsRange:{type:Array,default:function(){return it.defaultDatepickerYearsRange}},type:{type:String,validator:function(t){return["month"].indexOf(t)>=0}},nearbyMonthDays:{type:Boolean,default:function(){return it.defaultDatepickerNearbyMonthDays}},nearbySelectableMonthDays:{type:Boolean,default:function(){return it.defaultDatepickerNearbySelectableMonthDays}},showWeekNumber:{type:Boolean,default:function(){return it.defaultDatepickerShowWeekNumber}},weekNumberClickable:{type:Boolean,default:function(){return it.defaultDatepickerWeekNumberClickable}},rulesForFirstWeek:{type:Number,default:function(){return 4}},range:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},mobileModal:{type:Boolean,default:function(){return it.defaultDatepickerMobileModal}},focusable:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:function(){return it.defaultTrapFocus}},appendToBody:Boolean,ariaNextLabel:String,ariaPreviousLabel:String},data:function(){var t=(Array.isArray(this.value)?this.value[0]:this.value)||this.focusedDate||this.dateCreator();return!this.value&&this.maxDate&&this.maxDate.getFullYear()<t.getFullYear()&&t.setFullYear(this.maxDate.getFullYear()),{dateSelected:this.value,focusedDateData:{day:t.getDate(),month:t.getMonth(),year:t.getFullYear()},_elementRef:"input",_isDatepicker:!0}},computed:{computedValue:{get:function(){return this.dateSelected},set:function(t){var e=this;this.updateInternalState(t),this.multiple||this.togglePicker(!1),this.$emit("input",t),this.useHtml5Validation&&this.$nextTick((function(){e.checkHtml5Validity()}))}},formattedValue:function(){return this.formatValue(this.computedValue)},localeOptions:function(){return new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"numeric"}).resolvedOptions()},dtf:function(){return new Intl.DateTimeFormat(this.locale)},dtfMonth:function(){return new Intl.DateTimeFormat(this.locale,{year:this.localeOptions.year||"numeric",month:this.localeOptions.month||"2-digit"})},newMonthNames:function(){return Array.isArray(this.monthNames)?this.monthNames:X(this.locale)},newDayNames:function(){return Array.isArray(this.dayNames)?this.dayNames:K(this.locale)},listOfMonths:function(){var t=0,e=12;return this.minDate&&this.focusedDateData.year===this.minDate.getFullYear()&&(t=this.minDate.getMonth()),this.maxDate&&this.focusedDateData.year===this.maxDate.getFullYear()&&(e=this.maxDate.getMonth()),this.newMonthNames.map((function(n,i){return{name:n,index:i,disabled:i<t||i>e}}))},listOfYears:function(){var t=this.focusedDateData.year+this.yearsRange[1];this.maxDate&&this.maxDate.getFullYear()<t&&(t=Math.max(this.maxDate.getFullYear(),this.focusedDateData.year));var e=this.focusedDateData.year+this.yearsRange[0];this.minDate&&this.minDate.getFullYear()>e&&(e=Math.min(this.minDate.getFullYear(),this.focusedDateData.year));for(var n=[],i=e;i<=t;i++)n.push(i);return n.reverse()},showPrev:function(){if(!this.minDate)return!1;if(this.isTypeMonth)return this.focusedDateData.year<=this.minDate.getFullYear();var t=new Date(this.focusedDateData.year,this.focusedDateData.month),e=new Date(this.minDate.getFullYear(),this.minDate.getMonth());return t<=e},showNext:function(){if(!this.maxDate)return!1;if(this.isTypeMonth)return this.focusedDateData.year>=this.maxDate.getFullYear();var t=new Date(this.focusedDateData.year,this.focusedDateData.month),e=new Date(this.maxDate.getFullYear(),this.maxDate.getMonth());return t>=e},isMobile:function(){return this.mobileNative&&z.any()},isTypeMonth:function(){return"month"===this.type},ariaRole:function(){if(!this.inline)return"dialog"}},watch:{value:function(t){this.updateInternalState(t),this.multiple||this.togglePicker(!1)},focusedDate:function(t){t&&(this.focusedDateData={day:t.getDate(),month:t.getMonth(),year:t.getFullYear()})},"focusedDateData.month":function(t){this.$emit("change-month",t)},"focusedDateData.year":function(t){this.$emit("change-year",t)}},methods:{onChange:function(t){var e=this.dateParser(t,this);!e||isNaN(e)&&(!Array.isArray(e)||2!==e.length||isNaN(e[0])||isNaN(e[1]))?(this.computedValue=null,this.$refs.input&&(this.$refs.input.newValue=this.computedValue)):this.computedValue=e},formatValue:function(t){if(Array.isArray(t)){var e=Array.isArray(t)&&t.every((function(t){return!isNaN(t)}));return e?this.dateFormatter(S(t),this):null}return t&&!isNaN(t)?this.dateFormatter(t,this):null},prev:function(){this.disabled||(this.isTypeMonth?this.focusedDateData.year-=1:this.focusedDateData.month>0?this.focusedDateData.month-=1:(this.focusedDateData.month=11,this.focusedDateData.year-=1))},next:function(){this.disabled||(this.isTypeMonth?this.focusedDateData.year+=1:this.focusedDateData.month<11?this.focusedDateData.month+=1:(this.focusedDateData.month=0,this.focusedDateData.year+=1))},formatNative:function(t){return this.isTypeMonth?this.formatYYYYMM(t):this.formatYYYYMMDD(t)},formatYYYYMMDD:function(t){var e=new Date(t);if(t&&!isNaN(e)){var n=e.getFullYear(),i=e.getMonth()+1,r=e.getDate();return n+"-"+(i<10?"0":"")+i+"-"+(r<10?"0":"")+r}return""},formatYYYYMM:function(t){var e=new Date(t);if(t&&!isNaN(e)){var n=e.getFullYear(),i=e.getMonth()+1;return n+"-"+(i<10?"0":"")+i}return""},onChangeNativePicker:function(t){var e=t.target.value,n=e?e.split("-"):[];if(3===n.length){var i=parseInt(n[0],10),r=parseInt(n[1])-1,a=parseInt(n[2]);this.computedValue=new Date(i,r,a)}else this.computedValue=null},updateInternalState:function(t){if(this.dateSelected!==t){var e=Array.isArray(t),n=e?t.length?t[t.length-1]:this.dateCreator():t||this.dateCreator();(!e||e&&this.dateSelected&&t.length>this.dateSelected.length)&&(this.focusedDateData={day:n.getDate(),month:n.getMonth(),year:n.getFullYear()}),this.dateSelected=t}},togglePicker:function(t){if(this.$refs.dropdown){var e="boolean"===typeof t?t:!this.$refs.dropdown.isActive;(e||this.closeOnClick)&&(this.$refs.dropdown.isActive=e)}},handleOnFocus:function(t){this.onFocus(t),this.openOnFocus&&this.togglePicker(!0)},toggle:function(){if(this.mobileNative&&this.isMobile){var t=this.$refs.input.$refs.input;return t.focus(),void t.click()}this.$refs.dropdown.toggle()},onInputClick:function(t){this.$refs.dropdown.isActive&&t.stopPropagation()},keyPress:function(t){var e=t.key;this.$refs.dropdown&&this.$refs.dropdown.isActive&&("Escape"===e||"Esc"===e)&&this.togglePicker(!1)},onActiveChange:function(t){t||this.onBlur(),this.$emit("active-change",t)},changeFocus:function(t){this.focusedDateData={day:t.getDate(),month:t.getMonth(),year:t.getFullYear()}}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeDestroy:function(){"undefined"!==typeof window&&document.removeEventListener("keyup",this.keyPress)}};const eo=to;var no=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"datepicker control",class:[t.size,{"is-expanded":t.expanded}]},[!t.isMobile||t.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:t.position,disabled:t.disabled,inline:t.inline,"mobile-modal":t.mobileModal,"trap-focus":t.trapFocus,"aria-role":t.ariaRole,"append-to-body":t.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":t.onActiveChange},scopedSlots:t._u([t.inline?null:{key:"trigger",fn:function(){return[t._t("trigger",[n("b-input",t._b({ref:"input",attrs:{autocomplete:"off",value:t.formattedValue,placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-right":t.iconRight,"icon-right-clickable":t.iconRightClickable,"icon-pack":t.iconPack,rounded:t.rounded,loading:t.loading,disabled:t.disabled,readonly:!t.editable,"use-html5-validation":!1},on:{"icon-right-click":function(e){return t.$emit("icon-right-click",e)},focus:t.handleOnFocus},nativeOn:{click:function(e){return t.onInputClick(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.togglePicker(!0)},change:function(e){return t.onChange(e.target.value)}}},"b-input",t.$attrs,!1))])]},proxy:!0}],null,!0)},[n("b-dropdown-item",{class:{"dropdown-horizontal-timepicker":t.horizontalTimePicker},attrs:{disabled:t.disabled,focusable:t.focusable,custom:""}},[n("div",[n("header",{staticClass:"datepicker-header"},[void 0!==t.$slots.header&&t.$slots.header.length?[t._t("header")]:n("div",{staticClass:"pagination field is-centered",class:t.size},[n("a",{directives:[{name:"show",rawName:"v-show",value:!t.showPrev&&!t.disabled,expression:"!showPrev && !disabled"}],staticClass:"pagination-previous",attrs:{role:"button",href:"#",disabled:t.disabled,"aria-label":t.ariaPreviousLabel},on:{click:function(e){return e.preventDefault(),t.prev(e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.prev(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.prev(e))}]}},[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"",type:"is-primary is-clickable"}})],1),n("a",{directives:[{name:"show",rawName:"v-show",value:!t.showNext&&!t.disabled,expression:"!showNext && !disabled"}],staticClass:"pagination-next",attrs:{role:"button",href:"#",disabled:t.disabled,"aria-label":t.ariaNextLabel},on:{click:function(e){return e.preventDefault(),t.next(e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.next(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.next(e))}]}},[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"",type:"is-primary is-clickable"}})],1),n("div",{staticClass:"pagination-list"},[n("b-field",[t.isTypeMonth?t._e():n("b-select",{attrs:{disabled:t.disabled,size:t.size},model:{value:t.focusedDateData.month,callback:function(e){t.$set(t.focusedDateData,"month",e)},expression:"focusedDateData.month"}},t._l(t.listOfMonths,(function(e){return n("option",{key:e.name,attrs:{disabled:e.disabled},domProps:{value:e.index}},[t._v(" "+t._s(e.name)+" ")])})),0),n("b-select",{attrs:{disabled:t.disabled,size:t.size},model:{value:t.focusedDateData.year,callback:function(e){t.$set(t.focusedDateData,"year",e)},expression:"focusedDateData.year"}},t._l(t.listOfYears,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(" "+t._s(e)+" ")])})),0)],1)],1)])],2),t.isTypeMonth?n("div",[n("b-datepicker-month",{attrs:{"month-names":t.newMonthNames,"min-date":t.minDate,"max-date":t.maxDate,focused:t.focusedDateData,disabled:t.disabled,"unselectable-dates":t.unselectableDates,"unselectable-days-of-week":t.unselectableDaysOfWeek,"selectable-dates":t.selectableDates,events:t.events,indicators:t.indicators,"date-creator":t.dateCreator,range:t.range,multiple:t.multiple},on:{"range-start":function(e){return t.$emit("range-start",e)},"range-end":function(e){return t.$emit("range-end",e)},close:function(e){return t.togglePicker(!1)},"change-focus":t.changeFocus,"update:focused":function(e){t.focusedDateData=e}},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}})],1):n("div",{staticClass:"datepicker-content",class:{"content-horizontal-timepicker":t.horizontalTimePicker}},[n("b-datepicker-table",{attrs:{"day-names":t.newDayNames,"month-names":t.newMonthNames,"first-day-of-week":t.firstDayOfWeek,"rules-for-first-week":t.rulesForFirstWeek,"min-date":t.minDate,"max-date":t.maxDate,focused:t.focusedDateData,disabled:t.disabled,"unselectable-dates":t.unselectableDates,"unselectable-days-of-week":t.unselectableDaysOfWeek,"selectable-dates":t.selectableDates,events:t.events,indicators:t.indicators,"date-creator":t.dateCreator,"type-month":t.isTypeMonth,"nearby-month-days":t.nearbyMonthDays,"nearby-selectable-month-days":t.nearbySelectableMonthDays,"show-week-number":t.showWeekNumber,"week-number-clickable":t.weekNumberClickable,range:t.range,multiple:t.multiple},on:{"range-start":function(e){return t.$emit("range-start",e)},"range-end":function(e){return t.$emit("range-end",e)},close:function(e){return t.togglePicker(!1)},"update:focused":function(e){t.focusedDateData=e}},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}})],1)]),void 0!==t.$slots.default&&t.$slots.default.length?n("footer",{staticClass:"datepicker-footer",class:{"footer-horizontal-timepicker":t.horizontalTimePicker}},[t._t("default")],2):t._e()])],1):n("b-input",t._b({ref:"input",attrs:{type:t.isTypeMonth?"month":"date",autocomplete:"off",value:t.formatNative(t.computedValue),placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-pack":t.iconPack,rounded:t.rounded,loading:t.loading,max:t.formatNative(t.maxDate),min:t.formatNative(t.minDate),disabled:t.disabled,readonly:!1,"use-html5-validation":!1},on:{focus:t.onFocus,blur:t.onBlur},nativeOn:{change:function(e){return t.onChangeNativePicker(e)}}},"b-input",t.$attrs,!1))],1)},io=[];const ro=void 0,ao=void 0,oo=void 0,so=!1;var co=st({render:no,staticRenderFns:io},ro,eo,ao,so,oo,void 0,void 0),lo={install:function(t){lt(t,co)}};ct(lo);const uo=lo;var ho,fo={name:"BTimepicker",components:(ho={},s(ho,Mt.name,Mt),s(ho,Li.name,Li),s(ho,mr.name,mr),s(ho,xt.name,xt),s(ho,di.name,di),s(ho,wi.name,wi),ho),mixins:[Zn],inheritAttrs:!1,data:function(){return{_isTimepicker:!0}},computed:{nativeStep:function(){if(this.enableSeconds)return"1"}}};const po=fo;var vo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"timepicker control",class:[t.size,{"is-expanded":t.expanded}]},[!t.isMobile||t.inline?n("b-dropdown",{ref:"dropdown",attrs:{position:t.position,disabled:t.disabled,inline:t.inline,"append-to-body":t.appendToBody,"append-to-body-copy-parent":""},on:{"active-change":t.onActiveChange},scopedSlots:t._u([t.inline?null:{key:"trigger",fn:function(){return[t._t("trigger",[n("b-input",t._b({ref:"input",attrs:{autocomplete:"off",value:t.formatValue(t.computedValue),placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-pack":t.iconPack,loading:t.loading,disabled:t.disabled,readonly:!t.editable,rounded:t.rounded,"use-html5-validation":t.useHtml5Validation},on:{focus:t.handleOnFocus},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toggle(!0)},change:function(e){return t.onChange(e.target.value)}}},"b-input",t.$attrs,!1))])]},proxy:!0}],null,!0)},[n("b-dropdown-item",{attrs:{disabled:t.disabled,focusable:t.focusable,custom:""}},[n("b-field",{attrs:{grouped:"",position:"is-centered"}},[n("b-select",{attrs:{disabled:t.disabled,placeholder:"00"},nativeOn:{change:function(e){return t.onHoursChange(e.target.value)}},model:{value:t.hoursSelected,callback:function(e){t.hoursSelected=e},expression:"hoursSelected"}},t._l(t.hours,(function(e){return n("option",{key:e.value,attrs:{disabled:t.isHourDisabled(e.value)},domProps:{value:e.value}},[t._v(" "+t._s(e.label)+" ")])})),0),n("span",{staticClass:"control is-colon"},[t._v(t._s(t.hourLiteral))]),n("b-select",{attrs:{disabled:t.disabled,placeholder:"00"},nativeOn:{change:function(e){return t.onMinutesChange(e.target.value)}},model:{value:t.minutesSelected,callback:function(e){t.minutesSelected=e},expression:"minutesSelected"}},t._l(t.minutes,(function(e){return n("option",{key:e.value,attrs:{disabled:t.isMinuteDisabled(e.value)},domProps:{value:e.value}},[t._v(" "+t._s(e.label)+" ")])})),0),t.enableSeconds?[n("span",{staticClass:"control is-colon"},[t._v(t._s(t.minuteLiteral))]),n("b-select",{attrs:{disabled:t.disabled,placeholder:"00"},nativeOn:{change:function(e){return t.onSecondsChange(e.target.value)}},model:{value:t.secondsSelected,callback:function(e){t.secondsSelected=e},expression:"secondsSelected"}},t._l(t.seconds,(function(e){return n("option",{key:e.value,attrs:{disabled:t.isSecondDisabled(e.value)},domProps:{value:e.value}},[t._v(" "+t._s(e.label)+" ")])})),0),n("span",{staticClass:"control is-colon"},[t._v(t._s(t.secondLiteral))])]:t._e(),t.isHourFormat24?t._e():n("b-select",{attrs:{disabled:t.disabled},nativeOn:{change:function(e){return t.onMeridienChange(e.target.value)}},model:{value:t.meridienSelected,callback:function(e){t.meridienSelected=e},expression:"meridienSelected"}},t._l(t.meridiens,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v(" "+t._s(e)+" ")])})),0)],2),void 0!==t.$slots.default&&t.$slots.default.length?n("footer",{staticClass:"timepicker-footer"},[t._t("default")],2):t._e()],1)],1):n("b-input",t._b({ref:"input",attrs:{type:"time",step:t.nativeStep,autocomplete:"off",value:t.formatHHMMSS(t.computedValue),placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-pack":t.iconPack,rounded:t.rounded,loading:t.loading,max:t.formatHHMMSS(t.maxTime),min:t.formatHHMMSS(t.minTime),disabled:t.disabled,readonly:!1,"use-html5-validation":t.useHtml5Validation},on:{focus:t.handleOnFocus,blur:function(e){t.onBlur()&&t.checkHtml5Validity()}},nativeOn:{change:function(e){return t.onChange(e.target.value)}}},"b-input",t.$attrs,!1))],1)},mo=[];const go=void 0,yo=void 0,bo=void 0,_o=!1;var wo,ko=st({render:vo,staticRenderFns:mo},go,po,yo,_o,bo,void 0,void 0),xo="AM",So="PM",Co={name:"BDatetimepicker",components:(wo={},s(wo,co.name,co),s(wo,ko.name,ko),wo),mixins:[ht],inheritAttrs:!1,props:{value:{type:Date},editable:{type:Boolean,default:!1},placeholder:String,horizontalTimePicker:Boolean,disabled:Boolean,firstDayOfWeek:{type:Number,default:function(){return"number"===typeof it.defaultFirstDayOfWeek?it.defaultFirstDayOfWeek:0}},rulesForFirstWeek:{type:Number,default:function(){return 4}},icon:String,iconRight:String,iconRightClickable:Boolean,iconPack:String,inline:Boolean,openOnFocus:Boolean,position:String,mobileNative:{type:Boolean,default:!0},minDatetime:Date,maxDatetime:Date,datetimeFormatter:{type:Function},datetimeParser:{type:Function},datetimeCreator:{type:Function,default:function(t){return"function"===typeof it.defaultDatetimeCreator?it.defaultDatetimeCreator(t):t}},datepicker:Object,timepicker:Object,tzOffset:{type:Number,default:0},focusable:{type:Boolean,default:!0},appendToBody:Boolean},data:function(){return{newValue:this.adjustValue(this.value)}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){if(t){var e=new Date(t.getTime());this.newValue?t.getDate()===this.newValue.getDate()&&t.getMonth()===this.newValue.getMonth()&&t.getFullYear()===this.newValue.getFullYear()||0!==t.getHours()||0!==t.getMinutes()||0!==t.getSeconds()||e.setHours(this.newValue.getHours(),this.newValue.getMinutes(),this.newValue.getSeconds(),0):e=this.datetimeCreator(t),this.minDatetime&&e<this.adjustValue(this.minDatetime)?e=this.adjustValue(this.minDatetime):this.maxDatetime&&e>this.adjustValue(this.maxDatetime)&&(e=this.adjustValue(this.maxDatetime)),this.newValue=new Date(e.getTime())}else this.newValue=this.adjustValue(t);var n=this.adjustValue(this.newValue,!0);this.$emit("input",n)}},localeOptions:function(){return new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:this.enableSeconds()?"numeric":void 0}).resolvedOptions()},dtf:function(){return new Intl.DateTimeFormat(this.locale,{year:this.localeOptions.year||"numeric",month:this.localeOptions.month||"numeric",day:this.localeOptions.day||"numeric",hour:this.localeOptions.hour||"numeric",minute:this.localeOptions.minute||"numeric",second:this.enableSeconds()?this.localeOptions.second||"numeric":void 0,hourCycle:this.isHourFormat24()?"h23":"h12"})},isMobileNative:function(){return this.mobileNative&&0===this.tzOffset},isMobile:function(){return this.isMobileNative&&z.any()},minDate:function(){if(!this.minDatetime)return this.datepicker?this.adjustValue(this.datepicker.minDate):null;var t=this.adjustValue(this.minDatetime);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)},maxDate:function(){if(!this.maxDatetime)return this.datepicker?this.adjustValue(this.datepicker.maxDate):null;var t=this.adjustValue(this.maxDatetime);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)},minTime:function(){if(!this.minDatetime||null===this.newValue||"undefined"===typeof this.newValue)return this.timepicker?this.adjustValue(this.timepicker.minTime):null;var t=this.adjustValue(this.minDatetime);return t.getFullYear()===this.newValue.getFullYear()&&t.getMonth()===this.newValue.getMonth()&&t.getDate()===this.newValue.getDate()?t:void 0},maxTime:function(){if(!this.maxDatetime||null===this.newValue||"undefined"===typeof this.newValue)return this.timepicker?this.adjustValue(this.timepicker.maxTime):null;var t=this.adjustValue(this.maxDatetime);return t.getFullYear()===this.newValue.getFullYear()&&t.getMonth()===this.newValue.getMonth()&&t.getDate()===this.newValue.getDate()?t:void 0},datepickerSize:function(){return this.datepicker&&this.datepicker.size?this.datepicker.size:this.size},timepickerSize:function(){return this.timepicker&&this.timepicker.size?this.timepicker.size:this.size},timepickerDisabled:function(){return this.timepicker&&this.timepicker.disabled?this.timepicker.disabled:this.disabled}},watch:{value:function(){this.newValue=this.adjustValue(this.value)},tzOffset:function(){this.newValue=this.adjustValue(this.value)}},methods:{enableSeconds:function(){return!!this.$refs.timepicker&&this.$refs.timepicker.enableSeconds},isHourFormat24:function(){return this.$refs.timepicker?this.$refs.timepicker.isHourFormat24:!this.localeOptions.hour12},adjustValue:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e?new Date(t.getTime()-6e4*this.tzOffset):new Date(t.getTime()+6e4*this.tzOffset):t},defaultDatetimeParser:function(t){if("function"===typeof this.datetimeParser)return this.datetimeParser(t);if("function"===typeof it.defaultDatetimeParser)return it.defaultDatetimeParser(t);if(this.dtf.formatToParts&&"function"===typeof this.dtf.formatToParts){var e=[xo,So,xo.toLowerCase(),So.toLowerCase()];this.$refs.timepicker&&(e.push(this.$refs.timepicker.amString),e.push(this.$refs.timepicker.pmString));var n=this.dtf.formatToParts(new Date),i=n.map((function(t,i){return"literal"===t.type?i+1<n.length&&"hour"===n[i+1].type?"[^\\d]+":t.value.replace(/ /g,"\\s?"):"dayPeriod"===t.type?"((?!=<".concat(t.type,">)(").concat(e.join("|"),")?)"):"((?!=<".concat(t.type,">)\\d+)")})).join(""),r=J(i,t);if(r.year&&4===r.year.length&&r.month&&r.month<=12&&r.day&&r.day<=31&&r.hour&&r.hour>=0&&r.hour<24&&r.minute&&r.minute>=0&&r.minute<=59){var a=new Date(r.year,r.month-1,r.day,r.hour,r.minute,r.second||0);return a}}return new Date(Date.parse(t))},defaultDatetimeFormatter:function(t){return"function"===typeof this.datetimeFormatter?this.datetimeFormatter(t):"function"===typeof it.defaultDatetimeFormatter?it.defaultDatetimeFormatter(t):this.dtf.format(t)},onChangeNativePicker:function(t){var e=t.target.value,n=e?e.split(/\D/):[];if(n.length>=5){var i=parseInt(n[0],10),r=parseInt(n[1],10)-1,a=parseInt(n[2],10),o=parseInt(n[3],10),s=parseInt(n[4],10);this.computedValue=new Date(i,r,a,o,s)}else this.computedValue=null},onActiveChange:function(t){this.$emit("active-change",t)},formatNative:function(t){var e=new Date(t);if(t&&!isNaN(e)){var n=e.getFullYear(),i=e.getMonth()+1,r=e.getDate(),a=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return n+"-"+(i<10?"0":"")+i+"-"+(r<10?"0":"")+r+"T"+(a<10?"0":"")+a+":"+(o<10?"0":"")+o+":"+(s<10?"0":"")+s}return""},toggle:function(){this.$refs.datepicker.toggle()}},mounted:function(){this.isMobile&&!this.inline||this.newValue&&this.$refs.datepicker.$forceUpdate()}};const Do=Co;var To=function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.isMobile||t.inline?n("b-datepicker",t._b({ref:"datepicker",attrs:{rounded:t.rounded,"open-on-focus":t.openOnFocus,position:t.position,loading:t.loading,inline:t.inline,editable:t.editable,expanded:t.expanded,"close-on-click":!1,"first-day-of-week":t.firstDayOfWeek,"rules-for-first-week":t.rulesForFirstWeek,"date-formatter":t.defaultDatetimeFormatter,"date-parser":t.defaultDatetimeParser,"min-date":t.minDate,"max-date":t.maxDate,icon:t.icon,"icon-right":t.iconRight,"icon-right-clickable":t.iconRightClickable,"icon-pack":t.iconPack,size:t.datepickerSize,placeholder:t.placeholder,"horizontal-time-picker":t.horizontalTimePicker,range:!1,disabled:t.disabled,"mobile-native":t.isMobileNative,locale:t.locale,focusable:t.focusable,"append-to-body":t.appendToBody},on:{focus:t.onFocus,blur:t.onBlur,"active-change":t.onActiveChange,"icon-right-click":function(e){return t.$emit("icon-right-click")},"change-month":function(e){return t.$emit("change-month",e)},"change-year":function(e){return t.$emit("change-year",e)}},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}},"b-datepicker",t.datepicker,!1),[n("nav",{staticClass:"level is-mobile"},[void 0!==t.$slots.left?n("div",{staticClass:"level-item has-text-centered"},[t._t("left")],2):t._e(),n("div",{staticClass:"level-item has-text-centered"},[n("b-timepicker",t._b({ref:"timepicker",attrs:{inline:"",editable:t.editable,"min-time":t.minTime,"max-time":t.maxTime,size:t.timepickerSize,disabled:t.timepickerDisabled,focusable:t.focusable,"mobile-native":t.isMobileNative,locale:t.locale},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}},"b-timepicker",t.timepicker,!1))],1),void 0!==t.$slots.right?n("div",{staticClass:"level-item has-text-centered"},[t._t("right")],2):t._e()])]):n("b-input",t._b({ref:"input",attrs:{type:"datetime-local",autocomplete:"off",value:t.formatNative(t.computedValue),placeholder:t.placeholder,size:t.size,icon:t.icon,"icon-pack":t.iconPack,rounded:t.rounded,loading:t.loading,max:t.formatNative(t.maxDate),min:t.formatNative(t.minDate),disabled:t.disabled,readonly:!1,"use-html5-validation":t.useHtml5Validation},on:{focus:t.onFocus,blur:t.onBlur},nativeOn:{change:function(e){return t.onChangeNativePicker(e)}}},"b-input",t.$attrs,!1))},Oo=[];const Ao=void 0,Eo=void 0,Po=void 0,Mo=!1;var Io=st({render:To,staticRenderFns:Oo},Ao,Do,Eo,Mo,Po,void 0,void 0),Ro={install:function(t){lt(t,Io)}};ct(Ro);const No=Ro;var $o={name:"BModal",directives:{trapFocus:ni},model:{prop:"active",event:"update:active"},props:{active:Boolean,component:[Object,Function,String],content:[String,Array],programmatic:Boolean,props:Object,events:Object,width:{type:[String,Number],default:960},hasModalCard:Boolean,animation:{type:String,default:"zoom-out"},canCancel:{type:[Array,Boolean],default:function(){return it.defaultModalCanCancel}},onCancel:{type:Function,default:function(){}},scroll:{type:String,default:function(){return it.defaultModalScroll?it.defaultModalScroll:"clip"},validator:function(t){return["clip","keep"].indexOf(t)>=0}},fullScreen:Boolean,trapFocus:{type:Boolean,default:function(){return it.defaultTrapFocus}},autoFocus:{type:Boolean,default:function(){return it.defaultAutoFocus}},customClass:String,ariaRole:{type:String,validator:function(t){return["dialog","alertdialog"].indexOf(t)>=0}},ariaModal:Boolean,ariaLabel:{type:String,validator:function(t){return Boolean(t)}},closeButtonAriaLabel:String,destroyOnHide:{type:Boolean,default:!0}},data:function(){return{isActive:this.active||!1,savedScrollTop:null,newWidth:"number"===typeof this.width?this.width+"px":this.width,animating:!this.active,destroyed:!this.active}},computed:{cancelOptions:function(){return"boolean"===typeof this.canCancel?this.canCancel?it.defaultModalCanCancel:[]:this.canCancel},showX:function(){return this.cancelOptions.indexOf("x")>=0},customStyle:function(){return this.fullScreen?null:{maxWidth:this.newWidth}}},watch:{active:function(t){this.isActive=t},isActive:function(t){var e=this;t&&(this.destroyed=!1),this.handleScroll(),this.$nextTick((function(){t&&e.$el&&e.$el.focus&&e.autoFocus&&e.$el.focus()}))}},methods:{handleScroll:function(){"undefined"!==typeof window&&("clip"!==this.scroll?(this.savedScrollTop=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop,this.isActive?document.body.classList.add("is-noscroll"):document.body.classList.remove("is-noscroll"),this.isActive?document.body.style.top="-".concat(this.savedScrollTop,"px"):(document.documentElement.scrollTop=this.savedScrollTop,document.body.style.top=null,this.savedScrollTop=null)):this.isActive?document.documentElement.classList.add("is-clipped"):document.documentElement.classList.remove("is-clipped"))},cancel:function(t){this.cancelOptions.indexOf(t)<0||(this.$emit("cancel",arguments),this.onCancel.apply(null,arguments),this.close())},close:function(){var t=this;this.$emit("close"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((function(){t.$destroy(),H(t.$el)}),150))},keyPress:function(t){var e=t.key;!this.isActive||"Escape"!==e&&"Esc"!==e||this.cancel("escape")},afterEnter:function(){this.animating=!1,this.$emit("after-enter")},beforeLeave:function(){this.animating=!0},afterLeave:function(){this.destroyOnHide&&(this.destroyed=!0),this.$emit("after-leave")}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeMount:function(){this.programmatic&&document.body.appendChild(this.$el)},mounted:function(){this.programmatic?this.isActive=!0:this.isActive&&this.handleScroll()},beforeDestroy:function(){if("undefined"!==typeof window){document.removeEventListener("keyup",this.keyPress),document.documentElement.classList.remove("is-clipped");var t=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop;document.body.classList.remove("is-noscroll"),document.documentElement.scrollTop=t,document.body.style.top=null}}};const Lo=$o;var Fo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animation},on:{"after-enter":t.afterEnter,"before-leave":t.beforeLeave,"after-leave":t.afterLeave}},[t.destroyed?t._e():n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"},{name:"trap-focus",rawName:"v-trap-focus",value:t.trapFocus,expression:"trapFocus"}],staticClass:"modal is-active",class:[{"is-full-screen":t.fullScreen},t.customClass],attrs:{tabindex:"-1",role:t.ariaRole,"aria-label":t.ariaLabel,"aria-modal":t.ariaModal}},[n("div",{staticClass:"modal-background",on:{click:function(e){return t.cancel("outside")}}}),n("div",{staticClass:"animation-content",class:{"modal-content":!t.hasModalCard},style:t.customStyle},[t.component?n(t.component,t._g(t._b({tag:"component",attrs:{"can-cancel":t.canCancel},on:{close:t.close}},"component",t.props,!1),t.events)):t.content?[n("div",{domProps:{innerHTML:t._s(t.content)}})]:t._t("default",null,{canCancel:t.canCancel,close:t.close}),t.showX?n("button",{directives:[{name:"show",rawName:"v-show",value:!t.animating,expression:"!animating"}],staticClass:"modal-close is-large",attrs:{type:"button","aria-label":t.closeButtonAriaLabel},on:{click:function(e){return t.cancel("x")}}}):t._e()],2)])])},Bo=[];const jo=void 0,zo=void 0,Ho=void 0,Vo=!1;var Go,Wo=st({render:Fo,staticRenderFns:Bo},jo,Lo,zo,Vo,Ho,void 0,void 0),Uo={name:"BDialog",components:(Go={},s(Go,xt.name,xt),s(Go,ye.name,ye),Go),directives:{trapFocus:ni},extends:Wo,props:{title:String,message:[String,Array],icon:String,iconPack:String,hasIcon:Boolean,type:{type:String,default:"is-primary"},size:String,confirmText:{type:String,default:function(){return it.defaultDialogConfirmText?it.defaultDialogConfirmText:"OK"}},cancelText:{type:String,default:function(){return it.defaultDialogCancelText?it.defaultDialogCancelText:"Cancel"}},hasInput:Boolean,inputAttrs:{type:Object,default:function(){return{}}},onConfirm:{type:Function,default:function(){}},closeOnConfirm:{type:Boolean,default:!0},container:{type:String,default:function(){return it.defaultContainerElement}},focusOn:{type:String,default:"confirm"},trapFocus:{type:Boolean,default:function(){return it.defaultTrapFocus}},ariaRole:{type:String,validator:function(t){return["dialog","alertdialog"].indexOf(t)>=0}},ariaModal:Boolean},data:function(){var t=this.hasInput&&this.inputAttrs.value||"";return{prompt:t,isActive:!1,validationMessage:"",isCompositing:!1}},computed:{dialogClass:function(){return[this.size,{"has-custom-container":null!==this.container}]},iconByType:function(){switch(this.type){case"is-info":return"information";case"is-success":return"check-circle";case"is-warning":return"alert";case"is-danger":return"alert-circle";default:return null}},showCancel:function(){return this.cancelOptions.indexOf("button")>=0}},methods:{confirm:function(){var t=this;if(void 0!==this.$refs.input){if(this.isCompositing)return;if(!this.$refs.input.checkValidity())return this.validationMessage=this.$refs.input.validationMessage,void this.$nextTick((function(){return t.$refs.input.select()}))}this.$emit("confirm",this.prompt),this.onConfirm(this.prompt,this),this.closeOnConfirm&&this.close()},close:function(){var t=this;this.isActive=!1,setTimeout((function(){t.$destroy(),H(t.$el)}),150)}},beforeMount:function(){var t=this;"undefined"!==typeof window&&this.$nextTick((function(){var e=document.querySelector(t.container)||document.body;e.appendChild(t.$el)}))},mounted:function(){var t=this;this.isActive=!0,"undefined"===typeof this.inputAttrs.required&&this.$set(this.inputAttrs,"required",!0),this.$nextTick((function(){t.hasInput?t.$refs.input.focus():"cancel"===t.focusOn&&t.showCancel?t.$refs.cancelButton.$el.focus():t.$refs.confirmButton.$el.focus()}))}};const Yo=Uo;var qo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animation}},[t.isActive?n("div",{directives:[{name:"trap-focus",rawName:"v-trap-focus",value:t.trapFocus,expression:"trapFocus"}],staticClass:"dialog modal is-active",class:t.dialogClass,attrs:{role:t.ariaRole,"aria-modal":t.ariaModal}},[n("div",{staticClass:"modal-background",on:{click:function(e){return t.cancel("outside")}}}),n("div",{staticClass:"modal-card animation-content"},[t.title?n("header",{staticClass:"modal-card-head"},[n("p",{staticClass:"modal-card-title"},[t._v(t._s(t.title))])]):t._e(),n("section",{staticClass:"modal-card-body",class:{"is-titleless":!t.title,"is-flex":t.hasIcon}},[n("div",{staticClass:"media"},[t.hasIcon&&(t.icon||t.iconByType)?n("div",{staticClass:"media-left"},[n("b-icon",{attrs:{icon:t.icon?t.icon:t.iconByType,pack:t.iconPack,type:t.type,both:!t.icon,size:"is-large"}})],1):t._e(),n("div",{staticClass:"media-content"},[n("p",[t.$slots.default?[t._t("default")]:[n("div",{domProps:{innerHTML:t._s(t.message)}})]],2),t.hasInput?n("div",{staticClass:"field"},[n("div",{staticClass:"control"},["checkbox"===t.inputAttrs.type?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.prompt,expression:"prompt"}],ref:"input",staticClass:"input",class:{"is-danger":t.validationMessage},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.prompt)?t._i(t.prompt,null)>-1:t.prompt},on:{compositionstart:function(e){t.isCompositing=!0},compositionend:function(e){t.isCompositing=!1},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.confirm(e)},change:function(e){var n=t.prompt,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=null,o=t._i(n,a);i.checked?o<0&&(t.prompt=n.concat([a])):o>-1&&(t.prompt=n.slice(0,o).concat(n.slice(o+1)))}else t.prompt=r}}},"input",t.inputAttrs,!1)):"radio"===t.inputAttrs.type?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.prompt,expression:"prompt"}],ref:"input",staticClass:"input",class:{"is-danger":t.validationMessage},attrs:{type:"radio"},domProps:{checked:t._q(t.prompt,null)},on:{compositionstart:function(e){t.isCompositing=!0},compositionend:function(e){t.isCompositing=!1},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.confirm(e)},change:function(e){t.prompt=null}}},"input",t.inputAttrs,!1)):n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.prompt,expression:"prompt"}],ref:"input",staticClass:"input",class:{"is-danger":t.validationMessage},attrs:{type:t.inputAttrs.type},domProps:{value:t.prompt},on:{compositionstart:function(e){t.isCompositing=!0},compositionend:function(e){t.isCompositing=!1},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.confirm(e)},input:function(e){e.target.composing||(t.prompt=e.target.value)}}},"input",t.inputAttrs,!1))]),n("p",{staticClass:"help is-danger"},[t._v(t._s(t.validationMessage))])]):t._e()])])]),n("footer",{staticClass:"modal-card-foot"},[t.showCancel?n("b-button",{ref:"cancelButton",on:{click:function(e){return t.cancel("button")}}},[t._v(t._s(t.cancelText))]):t._e(),n("b-button",{ref:"confirmButton",attrs:{type:t.type},on:{click:t.confirm}},[t._v(t._s(t.confirmText))])],1)])]):t._e()])},Xo=[];const Ko=void 0,Jo=void 0,Zo=void 0,Qo=!1;var ts,es=st({render:qo,staticRenderFns:Xo},Ko,Yo,Jo,Qo,Zo,void 0,void 0);function ns(t){var e;Array.isArray(t.message)&&(e=t.message,delete t.message);var n="undefined"!==typeof window&&window.Vue?window.Vue:ts||tt,i=n.extend(es),r=new i({el:document.createElement("div"),propsData:t});return e&&(r.$slots.default=e,r.$forceUpdate()),it.defaultProgrammaticPromise?new Promise((function(t){r.$on("confirm",(function(e){return t({result:e||!0,dialog:r})})),r.$on("cancel",(function(){return t({result:!1,dialog:r})}))})):r}var is={alert:function(t){"string"===typeof t&&(t={message:t});var e={canCancel:!1},n=j(e,t);return ns(n)},confirm:function(t){var e={},n=j(e,t);return ns(n)},prompt:function(t){var e={hasInput:!0},n=j(e,t);return ns(n)}},rs={install:function(t){ts=t,lt(t,es),ut(t,"dialog",is)}};ct(rs);const as=rs;var os={install:function(t){lt(t,di),lt(t,wi)}};ct(os);const ss=os;var cs={install:function(t){lt(t,Li)}};ct(cs);const ls=cs;var us={install:function(t){lt(t,xt)}};ct(us);const hs=us;var ds={install:function(t){lt(t,Le)}};ct(ds);const fs=ds;var ps={install:function(t){lt(t,Mt)}};ct(ps);const vs=ps;var ms="undefined"===typeof window,gs=ms?Object:window.HTMLElement,ys=ms?Object:window.File,bs={name:"BLoading",model:{prop:"active",event:"update:active"},props:{active:Boolean,programmatic:Boolean,container:[Object,Function,gs],isFullPage:{type:Boolean,default:!0},animation:{type:String,default:"fade"},canCancel:{type:Boolean,default:!1},onCancel:{type:Function,default:function(){}}},data:function(){return{isActive:this.active||!1,displayInFullPage:this.isFullPage}},watch:{active:function(t){this.isActive=t},isFullPage:function(t){this.displayInFullPage=t}},methods:{cancel:function(){this.canCancel&&this.isActive&&this.close()},close:function(){var t=this;this.onCancel.apply(null,arguments),this.$emit("close"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((function(){t.$destroy(),H(t.$el)}),150))},keyPress:function(t){var e=t.key;"Escape"!==e&&"Esc"!==e||this.cancel()}},created:function(){"undefined"!==typeof window&&document.addEventListener("keyup",this.keyPress)},beforeMount:function(){this.programmatic&&(this.container?(this.displayInFullPage=!1,this.$emit("update:is-full-page",!1),this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted:function(){this.programmatic&&(this.isActive=!0)},beforeDestroy:function(){"undefined"!==typeof window&&document.removeEventListener("keyup",this.keyPress)}};const _s=bs;var ws=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"loading-overlay is-active",class:{"is-full-page":t.displayInFullPage}},[n("div",{staticClass:"loading-background",on:{click:t.cancel}}),t._t("default",[n("div",{staticClass:"loading-icon"})])],2)])},ks=[];const xs=void 0,Ss=void 0,Cs=void 0,Ds=!1;var Ts,Os=st({render:ws,staticRenderFns:ks},xs,_s,Ss,Ds,Cs,void 0,void 0),As={open:function(t){var e={programmatic:!0},n=j(e,t),i="undefined"!==typeof window&&window.Vue?window.Vue:Ts||tt,r=i.extend(Os);return new r({el:document.createElement("div"),propsData:n})}},Es={install:function(t){Ts=t,lt(t,Os),ut(t,"loading",As)}};ct(Es);const Ps=Es;var Ms={name:"BMenu",props:{accordion:{type:Boolean,default:!0},activable:{type:Boolean,default:!0}},data:function(){return{_isMenu:!0}}};const Is=Ms;var Rs=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"menu"},[t._t("default")],2)},Ns=[];const $s=void 0,Ls=void 0,Fs=void 0,Bs=!1;var js=st({render:Rs,staticRenderFns:Ns},$s,Is,Ls,Bs,Fs,void 0,void 0),zs={name:"BMenuList",functional:!0,props:{label:String,icon:String,iconPack:String,ariaRole:{type:String,default:""},size:{type:String,default:"is-small"}},render:function(t,e){var n=null,i=e.slots();(e.props.label||i.label)&&(n=t("p",{attrs:{class:"menu-label"}},e.props.label?e.props.icon?[t("b-icon",{props:{icon:e.props.icon,pack:e.props.iconPack,size:e.props.size}}),t("span",{},e.props.label)]:e.props.label:i.label));var r=t("ul",{attrs:{class:"menu-list",role:"menu"===e.props.ariaRole?e.props.ariaRole:null}},i.default);return n?[n,r]:r}};const Hs=zs,Vs=void 0,Gs=void 0,Ws=void 0,Us=void 0;var Ys=st({},Vs,Hs,Gs,Us,Ws,void 0,void 0),qs={name:"BMenuItem",components:s({},xt.name,xt),inheritAttrs:!1,model:{prop:"active",event:"update:active"},props:{label:String,active:Boolean,expanded:Boolean,disabled:Boolean,iconPack:String,icon:String,animation:{type:String,default:"slide"},tag:{type:String,default:"a",validator:function(t){return it.defaultLinkTags.indexOf(t)>=0}},ariaRole:{type:String,default:""},size:{type:String,default:"is-small"}},data:function(){return{newActive:this.active,newExpanded:this.expanded}},computed:{ariaRoleMenu:function(){return"menuitem"===this.ariaRole?this.ariaRole:null}},watch:{active:function(t){this.newActive=t},expanded:function(t){this.newExpanded=t}},methods:{onClick:function(t){if(!this.disabled){var e=this.getMenu();this.reset(this.$parent,e),this.newExpanded=this.$props.expanded||!this.newExpanded,this.$emit("update:expanded",this.newExpanded),e&&e.activable&&(this.newActive=!0,this.$emit("update:active",this.newActive))}},reset:function(t,e){var n=this,i=t.$children.filter((function(t){return t.name===n.name}));i.forEach((function(i){i!==n&&(n.reset(i,e),(!t.$data._isMenu||t.$data._isMenu&&t.accordion)&&(i.newExpanded=!1,i.$emit("update:expanded",i.newActive)),e&&e.activable&&(i.newActive=!1,i.$emit("update:active",i.newActive)))}))},getMenu:function(){var t=this.$parent;while(t&&!t.$data._isMenu)t=t.$parent;return t}}};const Xs=qs;var Ks=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{attrs:{role:t.ariaRoleMenu}},[n(t.tag,t._g(t._b({tag:"component",class:{"is-active":t.newActive,"is-expanded":t.newExpanded,"is-disabled":t.disabled,"icon-text":t.icon},on:{click:function(e){return t.onClick(e)}}},"component",t.$attrs,!1),t.$listeners),[t.icon?n("b-icon",{attrs:{icon:t.icon,pack:t.iconPack,size:t.size}}):t._e(),t.label?n("span",[t._v(" "+t._s(t.label)+" ")]):t._t("label",null,{expanded:t.newExpanded,active:t.newActive})],2),t.$slots.default?[n("transition",{attrs:{name:t.animation}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.newExpanded,expression:"newExpanded"}]},[t._t("default")],2)])]:t._e()],2)},Js=[];const Zs=void 0,Qs=void 0,tc=void 0,ec=!1;var nc=st({render:Ks,staticRenderFns:Js},Zs,Xs,Qs,ec,tc,void 0,void 0),ic={install:function(t){lt(t,js),lt(t,Ys),lt(t,nc)}};ct(ic);const rc=ic;var ac={components:s({},xt.name,xt),model:{prop:"active",event:"update:active"},props:{active:{type:Boolean,default:!0},title:String,closable:{type:Boolean,default:!0},message:String,type:String,hasIcon:Boolean,size:String,icon:String,iconPack:String,iconSize:String,autoClose:{type:Boolean,default:!1},duration:{type:Number,default:2e3},progressBar:{type:Boolean,default:!1}},data:function(){return{isActive:this.active,remainingTime:this.duration/1e3,newIconSize:this.iconSize||this.size||"is-large"}},watch:{active:function(t){this.isActive=t},isActive:function(t){t?(this.setAutoClose(),this.setDurationProgress()):this.timer&&clearTimeout(this.timer)}},computed:{computedIcon:function(){if(this.icon)return this.icon;switch(this.type){case"is-info":return"information";case"is-success":return"check-circle";case"is-warning":return"alert";case"is-danger":return"alert-circle";default:return null}}},methods:{close:function(){this.isActive=!1,this.resetDurationProgress(),this.$emit("close"),this.$emit("update:active",!1)},click:function(){this.$emit("click")},setAutoClose:function(){var t=this;this.autoClose&&(this.timer=setTimeout((function(){t.isActive&&t.close()}),this.duration))},setDurationProgress:function(){var t=this;this.progressBar&&(this.$buefy.globalNoticeInterval=setInterval((function(){0!==t.remainingTime?t.remainingTime-=1:t.resetDurationProgress()}),1e3))},resetDurationProgress:function(){var t=this;setTimeout((function(){t.remainingTime=t.duration/1e3,clearInterval(t.$buefy.globalNoticeInterval)}),100)}},mounted:function(){this.setAutoClose()}},oc={name:"BMessage",mixins:[ac],props:{ariaCloseLabel:String}};const sc=oc;var cc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[n("article",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"message",class:[t.type,t.size]},[t.$slots.header||t.title?n("header",{staticClass:"message-header"},[t.$slots.header?n("div",[t._t("header")],2):t.title?n("p",[t._v(t._s(t.title))]):t._e(),t.closable?n("button",{staticClass:"delete",attrs:{type:"button","aria-label":t.ariaCloseLabel},on:{click:t.close}}):t._e()]):t._e(),t.$slots.default?n("section",{staticClass:"message-body"},[n("div",{staticClass:"media"},[t.computedIcon&&t.hasIcon?n("div",{staticClass:"media-left"},[n("b-icon",{class:t.type,attrs:{icon:t.computedIcon,pack:t.iconPack,both:"",size:t.newIconSize}})],1):t._e(),n("div",{staticClass:"media-content"},[t._t("default")],2)])]):t._e(),t.autoClose&&t.progressBar?n("b-progress",{attrs:{value:t.remainingTime-1,max:t.duration/1e3-1,type:t.type,rounded:!1}}):t._e()],1)])},lc=[];const uc=void 0,hc=void 0,dc=void 0,fc=!1;var pc=st({render:cc,staticRenderFns:lc},uc,sc,hc,fc,dc,void 0,void 0),vc={install:function(t){lt(t,pc)}};ct(vc);const mc=vc;var gc,yc={open:function(t){var e;"string"===typeof t&&(t={content:t});var n,i={programmatic:!0};t.parent&&(e=t.parent,delete t.parent),Array.isArray(t.content)&&(n=t.content,delete t.content);var r=j(i,t),a="undefined"!==typeof window&&window.Vue?window.Vue:gc||tt,o=a.extend(Wo),s=new o({parent:e,el:document.createElement("div"),propsData:r});return n&&(s.$slots.default=n,s.$forceUpdate()),s}},bc={install:function(t){gc=t,lt(t,Wo),ut(t,"modal",yc)}};ct(bc);const _c=bc;var wc={props:{type:{type:String,default:"is-dark"},message:[String,Array],duration:Number,queue:{type:Boolean,default:void 0},indefinite:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!1},position:{type:String,default:"is-top",validator:function(t){return["is-top-right","is-top","is-top-left","is-bottom-right","is-bottom","is-bottom-left"].indexOf(t)>-1}},container:String},data:function(){return{isActive:!1,isPaused:!1,parentTop:null,parentBottom:null,newContainer:this.container||it.defaultContainerElement}},computed:{correctParent:function(){switch(this.position){case"is-top-right":case"is-top":case"is-top-left":return this.parentTop;case"is-bottom-right":case"is-bottom":case"is-bottom-left":return this.parentBottom}},transition:function(){switch(this.position){case"is-top-right":case"is-top":case"is-top-left":return{enter:"fadeInDown",leave:"fadeOut"};case"is-bottom-right":case"is-bottom":case"is-bottom-left":return{enter:"fadeInUp",leave:"fadeOut"}}}},methods:{pause:function(){this.pauseOnHover&&!this.indefinite&&(this.isPaused=!0,clearInterval(this.$buefy.globalNoticeInterval))},removePause:function(){this.pauseOnHover&&!this.indefinite&&(this.isPaused=!1,this.close())},shouldQueue:function(){var t=void 0!==this.queue?this.queue:it.defaultNoticeQueue;return!!t&&(this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0)},click:function(){this.$emit("click")},close:function(){var t=this;this.isPaused||(clearTimeout(this.timer),this.isActive=!1,this.$emit("close"),setTimeout((function(){t.$destroy(),H(t.$el)}),150))},timeoutCallback:function(){return this.close()},showNotice:function(){var t=this;this.shouldQueue()&&(this.correctParent.innerHTML=""),this.correctParent.insertAdjacentElement("afterbegin",this.$el),this.isActive=!0,this.indefinite||(this.timer=setTimeout((function(){return t.timeoutCallback()}),this.newDuration))},setupContainer:function(){if(this.parentTop=document.querySelector((this.newContainer?this.newContainer:"body")+">.notices.is-top"),this.parentBottom=document.querySelector((this.newContainer?this.newContainer:"body")+">.notices.is-bottom"),!this.parentTop||!this.parentBottom){this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="notices is-top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="notices is-bottom");var t=document.querySelector(this.newContainer)||document.body;t.appendChild(this.parentTop),t.appendChild(this.parentBottom),this.newContainer&&(this.parentTop.classList.add("has-custom-container"),this.parentBottom.classList.add("has-custom-container"))}}},beforeMount:function(){this.setupContainer()},mounted:function(){this.showNotice()}},kc={name:"BNotification",mixins:[ac],props:{position:String,ariaCloseLabel:String,animation:{type:String,default:"fade"}}};const xc=kc;var Sc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animation}},[n("article",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"notification",class:[t.type,t.position],on:{click:t.click}},[t.closable?n("button",{staticClass:"delete",attrs:{type:"button","aria-label":t.ariaCloseLabel},on:{click:t.close}}):t._e(),t.$slots.default||t.message?n("div",{staticClass:"media"},[t.computedIcon&&t.hasIcon?n("div",{staticClass:"media-left"},[n("b-icon",{attrs:{icon:t.computedIcon,pack:t.iconPack,size:t.newIconSize,both:"","aria-hidden":""}})],1):t._e(),n("div",{staticClass:"media-content"},[t.$slots.default?[t._t("default")]:[n("p",{staticClass:"text",domProps:{innerHTML:t._s(t.message)}})]],2)]):t._e(),t.progressBar?n("b-progress",{attrs:{value:t.remainingTime-1,max:t.duration/1e3-1,type:t.type,rounded:!1}}):t._e()],1)])},Cc=[];const Dc=void 0,Tc=void 0,Oc=void 0,Ac=!1;var Ec=st({render:Sc,staticRenderFns:Cc},Dc,xc,Tc,Ac,Oc,void 0,void 0),Pc={name:"BNotificationNotice",mixins:[wc],data:function(){return{newDuration:this.duration||it.defaultNotificationDuration}},methods:{close:function(){var t=this;this.isPaused||(clearTimeout(this.timer),this.$refs.notification.isActive=!1,this.$emit("close"),setTimeout((function(){t.$destroy(),H(t.$el)}),150))}}};const Mc=Pc;var Ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-notification",t._b({ref:"notification",on:{click:t.click,close:t.close},nativeOn:{mouseenter:function(e){return t.pause(e)},mouseleave:function(e){return t.removePause(e)}}},"b-notification",t.$options.propsData,!1),[t._t("default")],2)},Rc=[];const Nc=void 0,$c=void 0,Lc=void 0,Fc=!1;var Bc,jc=st({render:Ic,staticRenderFns:Rc},Nc,Mc,$c,Fc,Lc,void 0,void 0),zc={open:function(t){var e;"string"===typeof t&&(t={message:t});var n,i={position:it.defaultNotificationPosition||"is-top-right"};t.parent&&(e=t.parent,delete t.parent),Array.isArray(t.message)&&(n=t.message,delete t.message),t.active=!1;var r=j(i,t),a="undefined"!==typeof window&&window.Vue?window.Vue:Bc||tt,o=a.extend(jc),s=new o({parent:e,el:document.createElement("div"),propsData:r});return n&&(s.$slots.default=n,s.$forceUpdate()),s.$children[0].isActive=!0,s}},Hc={install:function(t){Bc=t,lt(t,Ec),ut(t,"notification",zc)}};ct(Hc);const Vc=Hc;var Gc={name:"NavbarBurger",props:{isOpened:{type:Boolean,default:!1}}};const Wc=Gc;var Uc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._g({staticClass:"navbar-burger burger",class:{"is-active":t.isOpened},attrs:{role:"button","aria-label":"menu","aria-expanded":t.isOpened,tabindex:"0"}},t.$listeners),[n("span",{attrs:{"aria-hidden":"true"}}),n("span",{attrs:{"aria-hidden":"true"}}),n("span",{attrs:{"aria-hidden":"true"}})])},Yc=[];const qc=void 0,Xc=void 0,Kc=void 0,Jc=!1;var Zc=st({render:Uc,staticRenderFns:Yc},qc,Wc,Xc,Jc,Kc,void 0,void 0),Qc="undefined"!==typeof window&&("ontouchstart"in window||navigator.msMaxTouchPoints>0),tl=Qc?["touchstart","click"]:["click"],el=[];function nl(t){var e="function"===typeof t;if(!e&&"object"!==i(t))throw new Error("v-click-outside: Binding value should be a function or an object, ".concat(i(t)," given"));return{handler:e?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||tl}}function il(t){var e=t.el,n=t.event,i=t.handler,r=t.middleware,a=n.target!==e&&!e.contains(n.target);a&&r(n,e)&&i(n,e)}function rl(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.eventHandlers,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"add";e.forEach((function(t){var e=t.event,i=t.handler;document["".concat(n,"EventListener")](e,i)}))}function al(t,e){var n=e.value,i=nl(n),r=i.handler,a=i.middleware,o=i.events,s={el:t,eventHandlers:o.map((function(e){return{event:e,handler:function(e){return il({event:e,el:t,handler:r,middleware:a})}}}))};rl(s,"add"),el.push(s)}function ol(t,e){var n=e.value,i=nl(n),r=i.handler,a=i.middleware,o=i.events,s=el.filter((function(e){return e.el===t}))[0];rl(s,"remove"),s.eventHandlers=o.map((function(e){return{event:e,handler:function(e){return il({event:e,el:t,handler:r,middleware:a})}}})),rl(s,"add")}function sl(t){var e=el.filter((function(e){return e.el===t}))[0];rl(e,"remove")}var cl={bind:al,update:ol,unbind:sl,instances:el},ll="is-fixed-top",ul="has-navbar-fixed-top",hl="has-spaced-navbar-fixed-top",dl="is-fixed-bottom",fl="has-navbar-fixed-bottom",pl="has-spaced-navbar-fixed-bottom",vl="has-navbar-centered",ml=function(t){return!!t},gl={name:"BNavbar",components:{NavbarBurger:Zc},directives:{clickOutside:cl},model:{prop:"active",event:"update:active"},props:{type:[String,Object],transparent:{type:Boolean,default:!1},fixedTop:{type:Boolean,default:!1},fixedBottom:{type:Boolean,default:!1},active:{type:Boolean,default:!1},centered:{type:Boolean,default:!1},wrapperClass:{type:[String,Array,Object]},closeOnClick:{type:Boolean,default:!0},mobileBurger:{type:Boolean,default:!0},spaced:Boolean,shadow:Boolean},data:function(){return{internalIsActive:this.active,_isNavBar:!0}},computed:{isOpened:function(){return this.internalIsActive},computedClasses:function(){var t;return[this.type,(t={},s(t,ll,this.fixedTop),s(t,dl,this.fixedBottom),s(t,vl,this.centered),s(t,"is-spaced",this.spaced),s(t,"has-shadow",this.shadow),s(t,"is-transparent",this.transparent),t)]}},watch:{active:{handler:function(t){this.internalIsActive=t},immediate:!0},fixedTop:function(t){this.setBodyFixedTopClass(t)},bottomTop:function(t){this.setBodyFixedBottomClass(t)}},methods:{toggleActive:function(){this.internalIsActive=!this.internalIsActive,this.emitUpdateParentEvent()},closeMenu:function(){this.closeOnClick&&this.internalIsActive&&(this.internalIsActive=!1,this.emitUpdateParentEvent())},emitUpdateParentEvent:function(){this.$emit("update:active",this.internalIsActive)},setBodyClass:function(t){"undefined"!==typeof window&&document.body.classList.add(t)},removeBodyClass:function(t){"undefined"!==typeof window&&document.body.classList.remove(t)},checkIfFixedPropertiesAreColliding:function(){var t=this.fixedTop&&this.fixedBottom;if(t)throw new Error("You should choose if the BNavbar is fixed bottom or fixed top, but not both")},genNavbar:function(t){var e=[this.genNavbarBrandNode(t),this.genNavbarSlotsNode(t)];if(!ml(this.wrapperClass))return this.genNavbarSlots(t,e);var n=t("div",{class:this.wrapperClass},e);return this.genNavbarSlots(t,[n])},genNavbarSlots:function(t,e){return t("nav",{staticClass:"navbar",class:this.computedClasses,attrs:{role:"navigation","aria-label":"main navigation"},directives:[{name:"click-outside",value:this.closeMenu}]},e)},genNavbarBrandNode:function(t){return t("div",{class:"navbar-brand"},[this.$slots.brand,this.genBurgerNode(t)])},genBurgerNode:function(t){var e=this;if(this.mobileBurger){var n=t("navbar-burger",{props:{isOpened:this.isOpened},on:{click:this.toggleActive,keyup:function(t){13===t.keyCode&&e.toggleActive()}}}),i=!!this.$scopedSlots.burger;return i?this.$scopedSlots.burger({isOpened:this.isOpened,toggleActive:this.toggleActive}):n}},genNavbarSlotsNode:function(t){return t("div",{staticClass:"navbar-menu",class:{"is-active":this.isOpened}},[this.genMenuPosition(t,"start"),this.genMenuPosition(t,"end")])},genMenuPosition:function(t,e){return t("div",{staticClass:"navbar-".concat(e)},this.$slots[e])},setBodyFixedTopClass:function(t){this.checkIfFixedPropertiesAreColliding(),t?(this.setBodyClass(ul),this.spaced&&this.setBodyClass(hl)):(this.removeBodyClass(ul),this.removeBodyClass(hl))},setBodyFixedBottomClass:function(t){this.checkIfFixedPropertiesAreColliding(),t?(this.setBodyClass(fl),this.spaced&&this.setBodyClass(pl)):(this.removeBodyClass(fl),this.removeBodyClass(pl))}},beforeMount:function(){this.fixedTop&&this.setBodyFixedTopClass(!0),this.fixedBottom&&this.setBodyFixedBottomClass(!0)},beforeDestroy:function(){if(this.fixedTop){var t=this.spaced?hl:ul;this.removeBodyClass(t)}else if(this.fixedBottom){var e=this.spaced?pl:fl;this.removeBodyClass(e)}},render:function(t,e){return this.genNavbar(t)}};const yl=gl,bl=void 0,_l=void 0,wl=void 0,kl=void 0;var xl=st({},bl,yl,_l,kl,wl,void 0,void 0),Sl=["div","span","input"],Cl={name:"BNavbarItem",inheritAttrs:!1,props:{tag:{type:String,default:"a"},active:Boolean},methods:{keyPress:function(t){var e=t.key;"Escape"!==e&&"Esc"!==e||this.closeMenuRecursive(this,["NavBar"])},handleClickEvent:function(t){var e=Sl.some((function(e){return e===t.target.localName}));if(!e){var n=this.closeMenuRecursive(this,["NavbarDropdown","NavBar"]);n&&n.$data._isNavbarDropdown&&this.closeMenuRecursive(n,["NavBar"])}},closeMenuRecursive:function(t,e){if(!t.$parent)return null;var n=e.reduce((function(e,n){return t.$parent.$data["_is".concat(n)]?(t.$parent.closeMenu(),t.$parent):e}),null);return n||this.closeMenuRecursive(t.$parent,e)}},mounted:function(){"undefined"!==typeof window&&(this.$el.addEventListener("click",this.handleClickEvent),document.addEventListener("keyup",this.keyPress))},beforeDestroy:function(){"undefined"!==typeof window&&(this.$el.removeEventListener("click",this.handleClickEvent),document.removeEventListener("keyup",this.keyPress))}};const Dl=Cl;var Tl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.tag,t._g(t._b({tag:"component",staticClass:"navbar-item",class:{"is-active":t.active}},"component",t.$attrs,!1),t.$listeners),[t._t("default")],2)},Ol=[];const Al=void 0,El=void 0,Pl=void 0,Ml=!1;var Il=st({render:Tl,staticRenderFns:Ol},Al,Dl,El,Ml,Pl,void 0,void 0),Rl={name:"BNavbarDropdown",directives:{clickOutside:cl},inheritAttrs:!1,props:{label:String,hoverable:Boolean,active:Boolean,right:Boolean,arrowless:Boolean,boxed:Boolean,closeOnClick:{type:Boolean,default:!0},collapsible:Boolean,tag:{type:String,default:"a"}},data:function(){return{newActive:this.active,isHoverable:this.hoverable,_isNavbarDropdown:!0}},watch:{active:function(t){this.newActive=t},newActive:function(t){this.$emit("active-change",t)}},methods:{toggleMenu:function(){this.newActive=!this.newActive},showMenu:function(){this.newActive=!0},closeMenu:function(){this.newActive=!this.closeOnClick,this.hoverable&&this.closeOnClick&&(this.isHoverable=!1)},checkHoverable:function(){this.hoverable&&(this.isHoverable=!0)}}};const Nl=Rl;var $l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeMenu,expression:"closeMenu"}],staticClass:"navbar-item has-dropdown",class:{"is-hoverable":t.isHoverable,"is-active":t.newActive},on:{mouseenter:t.checkHoverable}},[n(t.tag,t._g(t._b({tag:"component",staticClass:"navbar-link",class:{"is-arrowless":t.arrowless,"is-active":t.newActive&&t.collapsible},attrs:{"aria-haspopup":"true",tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.toggleMenu(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toggleMenu(e)}}},"component",t.$attrs,!1),t.$listeners),[t.label?[t._v(t._s(t.label))]:t._t("label")],2),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapsible||t.collapsible&&t.newActive,expression:"!collapsible || (collapsible && newActive)"}],staticClass:"navbar-dropdown",class:{"is-right":t.right,"is-boxed":t.boxed}},[t._t("default")],2)],1)},Ll=[];const Fl=void 0,Bl=void 0,jl=void 0,zl=!1;var Hl=st({render:$l,staticRenderFns:Ll},Fl,Nl,Bl,zl,jl,void 0,void 0),Vl={install:function(t){lt(t,xl),lt(t,Il),lt(t,Hl)}};ct(Vl);const Gl=Vl;var Wl,Ul={name:"BNumberinput",components:(Wl={},s(Wl,xt.name,xt),s(Wl,Mt.name,Mt),Wl),mixins:[ht],inheritAttrs:!1,props:{value:Number,min:{type:[Number,String]},max:[Number,String],step:[Number,String],minStep:[Number,String],exponential:[Boolean,Number],disabled:Boolean,type:{type:String,default:"is-primary"},editable:{type:Boolean,default:!0},controls:{type:Boolean,default:!0},controlsAlignment:{type:String,default:"center",validator:function(t){return["left","right","center"].indexOf(t)>=0}},controlsRounded:{type:Boolean,default:!1},controlsPosition:String,placeholder:[Number,String],ariaMinusLabel:String,ariaPlusLabel:String,longPress:{type:Boolean,default:!0}},data:function(){return{newValue:this.value,newStep:this.step||1,newMinStep:this.minStep,timesPressed:1,_elementRef:"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){var e=this,n=0===Number(t)?0:Number(t)||null;""!==t&&void 0!==t&&null!==t||(n=void 0!==this.minNumber?this.minNumber:null),this.newValue=n,null===n?this.$emit("input",n):isNaN(n)||"-0"===n||this.$emit("input",Number(n)),this.$nextTick((function(){e.$refs.input&&e.$refs.input.checkHtml5Validity()}))}},controlsLeft:function(){return this.controls&&"right"!==this.controlsAlignment?"left"===this.controlsAlignment?["minus","plus"]:["minus"]:[]},controlsRight:function(){return this.controls&&"left"!==this.controlsAlignment?"right"===this.controlsAlignment?["minus","plus"]:["plus"]:[]},fieldClasses:function(){return[{"has-addons":"compact"===this.controlsPosition},{"is-grouped":"compact"!==this.controlsPosition},{"is-expanded":this.expanded}]},buttonClasses:function(){return[this.type,this.size,{"is-rounded":this.controlsRounded}]},minNumber:function(){return"string"===typeof this.min?parseFloat(this.min):this.min},maxNumber:function(){return"string"===typeof this.max?parseFloat(this.max):this.max},stepNumber:function(){return"any"===this.newStep?1:"string"===typeof this.newStep?parseFloat(this.newStep):this.newStep},minStepNumber:function(){if("any"===this.newStep&&"undefined"===typeof this.newMinStep)return"any";var t="undefined"!==typeof this.newMinStep?this.newMinStep:this.newStep;return"string"===typeof t?parseFloat(t):t},disabledMin:function(){return this.computedValue-this.stepNumber<this.minNumber},disabledMax:function(){return this.computedValue+this.stepNumber>this.maxNumber},stepDecimals:function(){var t=this.minStepNumber.toString(),e=t.indexOf(".");return e>=0?t.substring(e+1).length:0}},watch:{value:{immediate:!0,handler:function(t){this.newValue=t}},step:function(t){this.newStep=t},minStep:function(t){this.newMinStep=t}},methods:{isDisabled:function(t){return this.disabled||("plus"===t?this.disabledMax:this.disabledMin)},decrement:function(){if(null===this.computedValue||"undefined"===typeof this.computedValue){if(null!==this.maxNumber&&"undefined"!==typeof this.maxNumber)return void(this.computedValue=this.maxNumber);this.computedValue=0}if("undefined"===typeof this.minNumber||this.computedValue-this.stepNumber>=this.minNumber){var t=this.computedValue-this.stepNumber;this.computedValue=parseFloat(t.toFixed(this.stepDecimals))}},increment:function(){if(null===this.computedValue||"undefined"===typeof this.computedValue){if(null!==this.minNumber&&"undefined"!==typeof this.minNumber)return void(this.computedValue=this.minNumber);this.computedValue=0}if("undefined"===typeof this.maxNumber||this.computedValue+this.stepNumber<=this.maxNumber){var t=this.computedValue+this.stepNumber;this.computedValue=parseFloat(t.toFixed(this.stepDecimals))}},onControlClick:function(t,e){0===t.detail&&"click"===t.type&&(e?this.increment():this.decrement())},longPressTick:function(t){var e=this;t?this.increment():this.decrement(),this._$intervalRef=setTimeout((function(){e.longPressTick(t)}),this.exponential?250/(this.exponential*this.timesPressed++):250)},onStartLongPress:function(t,e){this.longPress&&(0!==t.button&&"touchstart"!==t.type||(clearTimeout(this._$intervalRef),this.longPressTick(e)))},onStopLongPress:function(){this._$intervalRef&&(this.timesPressed=1,clearTimeout(this._$intervalRef),this._$intervalRef=null)}}};const Yl=Ul;var ql=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-numberinput field",class:t.fieldClasses},[t._l(t.controlsLeft,(function(e){return n("p",{key:e,class:["control",e],on:{mouseup:t.onStopLongPress,mouseleave:t.onStopLongPress,touchend:t.onStopLongPress,touchcancel:t.onStopLongPress}},[n("button",{staticClass:"button",class:t.buttonClasses,attrs:{type:"button",disabled:t.isDisabled(e),"aria-label":"plus"===e?t.ariaPlusLabel:t.ariaMinusLabel},on:{mousedown:function(n){!t.isDisabled(e)&&t.onStartLongPress(n,"plus"===e)},touchstart:function(n){n.preventDefault(),!t.isDisabled(e)&&t.onStartLongPress(n,"plus"===e)},click:function(n){!t.isDisabled(e)&&t.onControlClick(n,"plus"===e)}}},[n("b-icon",{attrs:{both:"",icon:e,pack:t.iconPack,size:t.iconSize}})],1)])})),n("b-input",t._b({ref:"input",attrs:{type:"number",step:t.minStepNumber,max:t.max,min:t.min,size:t.size,disabled:t.disabled,readonly:!t.editable,loading:t.loading,rounded:t.rounded,icon:t.icon,"icon-pack":t.iconPack,autocomplete:t.autocomplete,expanded:t.expanded,placeholder:t.placeholder,"use-html5-validation":t.useHtml5Validation},on:{focus:function(e){return t.$emit("focus",e)},blur:function(e){return t.$emit("blur",e)}},model:{value:t.computedValue,callback:function(e){t.computedValue=e},expression:"computedValue"}},"b-input",t.$attrs,!1)),t._l(t.controlsRight,(function(e){return n("p",{key:e,class:["control",e],on:{mouseup:t.onStopLongPress,mouseleave:t.onStopLongPress,touchend:t.onStopLongPress,touchcancel:t.onStopLongPress}},[n("button",{staticClass:"button",class:t.buttonClasses,attrs:{type:"button",disabled:t.isDisabled(e),"aria-label":"plus"===e?t.ariaPlusLabel:t.ariaMinusLabel},on:{mousedown:function(n){!t.isDisabled(e)&&t.onStartLongPress(n,"plus"===e)},touchstart:function(n){n.preventDefault(),!t.isDisabled(e)&&t.onStartLongPress(n,"plus"===e)},click:function(n){!t.isDisabled(e)&&t.onControlClick(n,"plus"===e)}}},[n("b-icon",{attrs:{both:"",icon:e,pack:t.iconPack,size:t.iconSize}})],1)])}))],2)},Xl=[];const Kl=void 0,Jl=void 0,Zl=void 0,Ql=!1;var tu=st({render:ql,staticRenderFns:Xl},Kl,Yl,Jl,Ql,Zl,void 0,void 0),eu={install:function(t){lt(t,tu)}};ct(eu);const nu=eu;var iu={name:"BPaginationButton",props:{page:{type:Object,required:!0},tag:{type:String,default:"a",validator:function(t){return it.defaultLinkTags.indexOf(t)>=0}},disabled:{type:Boolean,default:!1}},computed:{href:function(){if("a"===this.tag)return"#"},isDisabled:function(){return this.disabled||this.page.disabled}}};const ru=iu;var au=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i(e.tag,e._b({tag:"component",staticClass:"pagination-link",class:(t={"is-current":e.page.isCurrent},t[e.page.class]=!0,t),attrs:{role:"button",href:e.href,disabled:e.isDisabled,"aria-label":e.page["aria-label"],"aria-current":e.page.isCurrent},on:{click:function(t){return t.preventDefault(),e.page.click(t)}}},"component",e.$attrs,!1),[e._t("default",[e._v(e._s(e.page.number))])],2)},ou=[];const su=void 0,cu=void 0,lu=void 0,uu=!1;var hu,du=st({render:au,staticRenderFns:ou},su,ru,cu,uu,lu,void 0,void 0);function fu(t,e,n){var i;return function(){var r=this,a=arguments,o=function(){i=null,n||t.apply(r,a)},s=n&&!i;clearTimeout(i),i=setTimeout(o,e),s&&t.apply(r,a)}}var pu={name:"BPagination",components:(hu={},s(hu,xt.name,xt),s(hu,du.name,du),hu),model:{prop:"current",event:"update:current"},props:{total:[Number,String],perPage:{type:[Number,String],default:20},current:{type:[Number,String],default:1},rangeBefore:{type:[Number,String],default:1},rangeAfter:{type:[Number,String],default:1},size:String,simple:Boolean,rounded:Boolean,order:String,iconPack:String,iconPrev:{type:String,default:function(){return it.defaultIconPrev}},iconNext:{type:String,default:function(){return it.defaultIconNext}},ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:{type:Boolean,default:!1},pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{inputValue:this.current}},computed:{rootClasses:function(){return[this.order,this.size,this.pageInputPosition,{"is-simple":this.simple,"is-rounded":this.rounded,"has-input":this.pageInput}]},beforeCurrent:function(){return parseInt(this.rangeBefore)},afterCurrent:function(){return parseInt(this.rangeAfter)},pageCount:function(){return Math.ceil(this.total/this.perPage)},firstItem:function(){var t=this.current*this.perPage-this.perPage+1;return t>=0?t:0},hasPrev:function(){return this.current>1},hasFirst:function(){return this.current>=2+this.beforeCurrent},hasFirstEllipsis:function(){return this.current>=this.beforeCurrent+4},hasLast:function(){return this.current<=this.pageCount-(1+this.afterCurrent)},hasLastEllipsis:function(){return this.current<this.pageCount-(2+this.afterCurrent)},hasNext:function(){return this.current<this.pageCount},pagesInRange:function(){if(!this.simple){var t=Math.max(1,this.current-this.beforeCurrent);t-1===2&&t--;var e=Math.min(this.current+this.afterCurrent,this.pageCount);this.pageCount-e===2&&e++;for(var n=[],i=t;i<=e;i++)n.push(this.getPage(i));return n}}},watch:{pageCount:function(t){this.current>t&&this.last()},current:function(t){this.inputValue=t},debouncePageInput:{handler:function(t){this.debounceHandlePageInput=fu(this.handleOnInputPageChange,t)},immediate:!0}},methods:{prev:function(t){this.changePage(this.current-1,t)},next:function(t){this.changePage(this.current+1,t)},first:function(t){this.changePage(1,t)},last:function(t){this.changePage(this.pageCount,t)},changePage:function(t,e){this.current===t||t<1||t>this.pageCount||(this.$emit("update:current",t),this.$emit("change",t),e&&e.target&&this.$nextTick((function(){return e.target.focus()})))},getPage:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{number:t,isCurrent:this.current===t,click:function(n){return e.changePage(t,n)},input:function(t,n){return e.changePage(+n,t)},disabled:n.disabled||!1,class:n.class||"","aria-label":n["aria-label"]||this.getAriaPageLabel(t,this.current===t)}},getAriaPageLabel:function(t,e){return!this.ariaPageLabel||e&&this.ariaCurrentLabel?this.ariaPageLabel&&e&&this.ariaCurrentLabel?this.ariaCurrentLabel+", "+this.ariaPageLabel+" "+t+".":null:this.ariaPageLabel+" "+t+"."},handleOnInputPageChange:function(t){this.getPage(this.inputValue).input(t,this.inputValue)},handleOnInputDebounce:function(t){this.debouncePageInput?this.debounceHandlePageInput(t):this.handleOnInputPageChange(t)},handleOnKeyPress:function(t){var e=t.which||t.keyCode;return e>=48&&e<=57||t.preventDefault()},handleAllowableInputPageRange:function(t){+t.target.value>0&&+t.target.value<=this.pageCount?this.handleOnInputValue(t):(this.inputValue=1,this.inputValue="")},handleOnInputValue:function(t){var e=+t.target.value;this.inputValue=e,Number.isInteger(this.inputValue)?this.handleOnInputDebounce(t):this.inputValue=this.current}}};const vu=pu;var mu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"pagination",class:t.rootClasses},[t.$scopedSlots.previous?t._t("previous",[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],{page:t.getPage(t.current-1,{disabled:!t.hasPrev,class:"pagination-previous","aria-label":t.ariaPreviousLabel})}):n("BPaginationButton",{staticClass:"pagination-previous",attrs:{disabled:!t.hasPrev,page:t.getPage(t.current-1),"aria-label":t.ariaPreviousLabel}},[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),t.$scopedSlots.next?t._t("next",[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],{page:t.getPage(t.current+1,{disabled:!t.hasNext,class:"pagination-next","aria-label":t.ariaNextLabel})}):n("BPaginationButton",{staticClass:"pagination-next",attrs:{disabled:!t.hasNext,page:t.getPage(t.current+1),"aria-label":t.ariaNextLabel}},[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),n("div",{staticClass:"control pagination-input"},[t.pageInput?n("input",{staticClass:"input",attrs:{size:t.pageCount.toString().length,maxlength:t.pageCount.toString().length},domProps:{value:t.inputValue},on:{input:t.handleAllowableInputPageRange,keypress:t.handleOnKeyPress}}):t._e()]),t.simple?n("small",{staticClass:"info"},[1==t.perPage?[t._v(" "+t._s(t.firstItem)+" / "+t._s(t.total)+" ")]:[t._v(" "+t._s(t.firstItem)+"-"+t._s(Math.min(t.current*t.perPage,t.total))+" / "+t._s(t.total)+" ")]],2):n("ul",{staticClass:"pagination-list"},[t.hasFirst?n("li",[t.$scopedSlots.default?t._t("default",null,{page:t.getPage(1)}):n("BPaginationButton",{attrs:{page:t.getPage(1)}})],2):t._e(),t.hasFirstEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[t._v("…")])]):t._e(),t._l(t.pagesInRange,(function(e){return n("li",{key:e.number},[t.$scopedSlots.default?t._t("default",null,{page:e}):n("BPaginationButton",{attrs:{page:e}})],2)})),t.hasLastEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[t._v("…")])]):t._e(),t.hasLast?n("li",[t.$scopedSlots.default?t._t("default",null,{page:t.getPage(t.pageCount)}):n("BPaginationButton",{attrs:{page:t.getPage(t.pageCount)}})],2):t._e()],2)],2)},gu=[];const yu=void 0,bu=void 0,_u=void 0,wu=!1;var ku=st({render:mu,staticRenderFns:gu},yu,vu,bu,wu,_u,void 0,void 0),xu={install:function(t){lt(t,ku),lt(t,du)}};ct(xu);const Su=xu;var Cu={name:"BProgress",mixins:[Se("progress")],props:{type:{type:[String,Object],default:"is-darkgrey"},size:String,rounded:{type:Boolean,default:!0},value:{type:Number,default:void 0},max:{type:Number,default:100},showValue:{type:Boolean,default:!1},format:{type:String,default:"raw",validator:function(t){return["raw","percent"].indexOf(t)>=0}},precision:{type:Number,default:2},keepTrailingZeroes:{type:Boolean,default:!1},locale:{type:[String,Array],default:function(){return it.defaultLocale}}},computed:{isIndeterminate:function(){return void 0===this.value||null===this.value},newType:function(){return[this.size,this.type,{"is-more-than-half":this.value&&this.value>this.max/2}]},newValue:function(){return this.calculateValue(this.value)},isNative:function(){return void 0===this.$slots.bar},wrapperClasses:function(){return s({"is-not-native":!this.isNative},this.size,"string"===typeof this.size&&!this.isNative)}},watch:{isIndeterminate:function(t){var e=this;this.$nextTick((function(){e.$refs.progress&&(t?e.$refs.progress.removeAttribute("value"):e.$refs.progress.setAttribute("value",e.value))}))}},methods:{calculateValue:function(t){if(void 0!==t&&null!==t&&!isNaN(t)){var e=this.keepTrailingZeroes?this.precision:0,n=this.precision;return"percent"===this.format?new Intl.NumberFormat(this.locale,{style:"percent",minimumFractionDigits:e,maximumFractionDigits:n}).format(t/this.max):new Intl.NumberFormat(this.locale,{minimumFractionDigits:e,maximumFractionDigits:n}).format(t)}}}};const Du=Cu;var Tu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-wrapper",class:[t.wrapperClasses,{"is-squared":!t.rounded}]},[t.isNative?n("progress",{ref:"progress",staticClass:"progress",class:[t.newType,{"is-squared":!t.rounded}],attrs:{max:t.max},domProps:{value:t.value}},[t._v(t._s(t.newValue))]):t._t("bar"),t.isNative&&t.showValue?n("p",{staticClass:"progress-value"},[t._t("default",[t._v(t._s(t.newValue))])],2):t._e()],2)},Ou=[];const Au=void 0,Eu=void 0,Pu=void 0,Mu=!1;var Iu=st({render:Tu,staticRenderFns:Ou},Au,Du,Eu,Mu,Pu,void 0,void 0),Ru={name:"BProgressBar",mixins:[Oe("progress")],props:{type:{type:[String,Object],default:void 0},value:{type:Number,default:void 0},showValue:{type:Boolean,default:!1}},computed:{newType:function(){return[this.parent.size,this.type||this.parent.type]},newShowValue:function(){return this.showValue||this.parent.showValue},newValue:function(){return this.parent.calculateValue(this.value)},barWidth:function(){return"".concat(100*this.value/this.parent.max,"%")}}};const Nu=Ru;var $u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-bar",class:t.newType,style:{width:t.barWidth},attrs:{role:"progressbar","aria-valuenow":t.value,"aria-valuemax":t.parent.max,"aria-valuemin":"0"}},[t.newShowValue?n("p",{staticClass:"progress-value"},[t._t("default",[t._v(t._s(t.newValue))])],2):t._e()])},Lu=[];const Fu=void 0,Bu=void 0,ju=void 0,zu=!1;var Hu=st({render:$u,staticRenderFns:Lu},Fu,Nu,Bu,zu,ju,void 0,void 0),Vu={install:function(t){lt(t,Iu),lt(t,Hu)}};ct(Vu);const Gu=Vu;var Wu={name:"BRadio",mixins:[vn]};const Uu=Wu;var Yu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{ref:"label",staticClass:"b-radio radio",class:[t.size,{"is-disabled":t.disabled}],attrs:{disabled:t.disabled},on:{click:t.focus,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"radio",disabled:t.disabled,required:t.required,name:t.name},domProps:{value:t.nativeValue,checked:t._q(t.computedValue,t.nativeValue)},on:{click:function(t){t.stopPropagation()},change:function(e){t.computedValue=t.nativeValue}}}),n("span",{staticClass:"check",class:t.type}),n("span",{staticClass:"control-label"},[t._t("default")],2)])},qu=[];const Xu=void 0,Ku=void 0,Ju=void 0,Zu=!1;var Qu=st({render:Yu,staticRenderFns:qu},Xu,Uu,Ku,Zu,Ju,void 0,void 0),th={name:"BRadioButton",mixins:[vn],props:{type:{type:String,default:"is-primary"},expanded:Boolean},data:function(){return{isFocused:!1}},computed:{isSelected:function(){return this.newValue===this.nativeValue},labelClass:function(){return[this.isSelected?this.type:null,this.size,{"is-selected":this.isSelected,"is-disabled":this.disabled,"is-focused":this.isFocused}]}}};const eh=th;var nh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:{"is-expanded":t.expanded}},[n("label",{ref:"label",staticClass:"b-radio radio button",class:t.labelClass,attrs:{disabled:t.disabled},on:{click:t.focus,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())}}},[t._t("default"),n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"radio",disabled:t.disabled,required:t.required,name:t.name},domProps:{value:t.nativeValue,checked:t._q(t.computedValue,t.nativeValue)},on:{click:function(t){t.stopPropagation()},focus:function(e){t.isFocused=!0},blur:function(e){t.isFocused=!1},change:function(e){t.computedValue=t.nativeValue}}})],2)])},ih=[];const rh=void 0,ah=void 0,oh=void 0,sh=!1;var ch=st({render:nh,staticRenderFns:ih},rh,eh,ah,sh,oh,void 0,void 0),lh={install:function(t){lt(t,Qu),lt(t,ch)}};ct(lh);const uh=lh;var hh={name:"BRate",components:s({},xt.name,xt),props:{value:{type:Number,default:0},max:{type:Number,default:5},icon:{type:String,default:"star"},iconPack:String,size:String,spaced:Boolean,rtl:Boolean,disabled:Boolean,showScore:Boolean,showText:Boolean,customText:String,texts:Array,locale:{type:[String,Array],default:function(){return it.defaultLocale}}},data:function(){return{newValue:this.value,hoverValue:0}},computed:{halfStyle:function(){return"width:".concat(this.valueDecimal,"%")},showMe:function(){var t="";return this.showScore?(t=this.disabled?this.value:this.newValue,t=0===t?"":new Intl.NumberFormat(this.locale).format(this.value)):this.showText&&(t=this.texts[Math.ceil(this.newValue)-1]),t},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)}},watch:{value:function(t){this.newValue=t}},methods:{resetNewValue:function(){this.disabled||(this.hoverValue=0)},previewRate:function(t,e){this.disabled||(this.hoverValue=t,e.stopPropagation())},confirmValue:function(t){this.disabled||(this.newValue=t,this.$emit("change",this.newValue),this.$emit("input",this.newValue))},checkHalf:function(t){var e=this.disabled&&this.valueDecimal>0&&t-1<this.value&&t>this.value;return e},rateClass:function(t){var e="",n=0!==this.hoverValue?this.hoverValue:this.newValue;return t<=n?e="set-on":this.disabled&&Math.ceil(this.value)===t&&(e="set-half"),e}}};const dh=hh;var fh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"rate",class:{"is-disabled":t.disabled,"is-spaced":t.spaced,"is-rtl":t.rtl}},[t._l(t.max,(function(e,i){return n("div",{key:i,staticClass:"rate-item",class:t.rateClass(e),on:{mousemove:function(n){return t.previewRate(e,n)},mouseleave:t.resetNewValue,click:function(n){return n.preventDefault(),t.confirmValue(e)}}},[n("b-icon",{attrs:{pack:t.iconPack,icon:t.icon,size:t.size}}),t.checkHalf(e)?n("b-icon",{staticClass:"is-half",style:t.halfStyle,attrs:{pack:t.iconPack,icon:t.icon,size:t.size}}):t._e()],1)})),t.showText||t.showScore||t.customText?n("div",{staticClass:"rate-text",class:t.size},[n("span",[t._v(t._s(t.showMe))]),t.customText&&!t.showText?n("span",[t._v(t._s(t.customText))]):t._e()]):t._e()],2)},ph=[];const vh=void 0,mh=void 0,gh=void 0,yh=!1;var bh=st({render:fh,staticRenderFns:ph},vh,dh,mh,yh,gh,void 0,void 0),_h={install:function(t){lt(t,bh)}};ct(_h);const wh=_h;var kh={install:function(t){lt(t,mr)}};ct(kh);const xh=kh;var Sh={name:"BSkeleton",functional:!0,props:{active:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:[Number,String],height:[Number,String],circle:Boolean,rounded:{type:Boolean,default:!0},count:{type:Number,default:1},position:{type:String,default:"",validator:function(t){return["","is-centered","is-right"].indexOf(t)>-1}},size:String},render:function(t,e){if(e.props.active){for(var n=[],i=e.props.width,r=e.props.height,a=0;a<e.props.count;a++)n.push(t("div",{staticClass:"b-skeleton-item",class:{"is-rounded":e.props.rounded},key:a,style:{height:void 0===r?null:isNaN(r)?r:r+"px",width:void 0===i?null:isNaN(i)?i:i+"px",borderRadius:e.props.circle?"50%":null}}));return t("div",{staticClass:"b-skeleton",class:[e.props.size,e.props.position,{"is-animated":e.props.animated}]},n)}}};const Ch=Sh,Dh=void 0,Th=void 0,Oh=void 0,Ah=void 0;var Eh=st({},Dh,Ch,Th,Ah,Oh,void 0,void 0),Ph={install:function(t){lt(t,Eh)}};ct(Ph);const Mh=Ph;var Ih={name:"BSidebar",model:{prop:"open",event:"update:open"},props:{open:Boolean,type:[String,Object],overlay:Boolean,position:{type:String,default:"fixed",validator:function(t){return["fixed","absolute","static"].indexOf(t)>=0}},fullheight:Boolean,fullwidth:Boolean,right:Boolean,mobile:{type:String},reduce:Boolean,expandOnHover:Boolean,expandOnHoverFixed:Boolean,delay:{type:Number,default:function(){return it.defaultSidebarDelay}},canCancel:{type:[Array,Boolean],default:function(){return["escape","outside"]}},onCancel:{type:Function,default:function(){}},scroll:{type:String,default:function(){return it.defaultModalScroll?it.defaultModalScroll:"clip"},validator:function(t){return["clip","keep"].indexOf(t)>=0}}},data:function(){return{isOpen:this.open,isDelayOver:!1,transitionName:null,animating:!0,savedScrollTop:null,hasLeaved:!1,whiteList:[]}},computed:{rootClasses:function(){return[this.type,{"is-fixed":this.isFixed,"is-static":this.isStatic,"is-absolute":this.isAbsolute,"is-fullheight":this.fullheight,"is-fullwidth":this.fullwidth,"is-right":this.right,"is-mini":this.reduce&&!this.isDelayOver,"is-mini-expand":this.expandOnHover||this.isDelayOver,"is-mini-expand-fixed":this.expandOnHover&&this.expandOnHoverFixed||this.isDelayOver,"is-mini-delayed":null!==this.delay,"is-mini-mobile":"reduce"===this.mobile,"is-hidden-mobile":"hide"===this.mobile,"is-fullwidth-mobile":"fullwidth"===this.mobile}]},cancelOptions:function(){return"boolean"===typeof this.canCancel?this.canCancel?["escape","outside"]:[]:this.canCancel},isStatic:function(){return"static"===this.position},isFixed:function(){return"fixed"===this.position},isAbsolute:function(){return"absolute"===this.position}},watch:{open:{handler:function(t){this.isOpen=t,this.overlay&&this.handleScroll();var e=this.right?!t:t;this.transitionName=e?"slide-next":"slide-prev"},immediate:!0}},methods:{keyPress:function(t){var e=t.key;this.isFixed&&(!this.isOpen||"Escape"!==e&&"Esc"!==e||this.cancel("escape"))},cancel:function(t){this.cancelOptions.indexOf(t)<0||this.isStatic||(this.onCancel.apply(null,arguments),this.close())},close:function(){this.isOpen=!1,this.$emit("close"),this.$emit("update:open",!1)},clickedOutside:function(t){if(this.isFixed&&this.isOpen&&!this.animating){var e=Q(this)?t.composedPath()[0]:t.target;this.whiteList.indexOf(e)<0&&this.cancel("outside")}},beforeEnter:function(){this.animating=!0},afterEnter:function(){this.animating=!1},handleScroll:function(){"undefined"!==typeof window&&("clip"!==this.scroll?(this.savedScrollTop=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop,this.open?document.body.classList.add("is-noscroll"):document.body.classList.remove("is-noscroll"),this.open?document.body.style.top="-".concat(this.savedScrollTop,"px"):(document.documentElement.scrollTop=this.savedScrollTop,document.body.style.top=null,this.savedScrollTop=null)):this.open?document.documentElement.classList.add("is-clipped"):document.documentElement.classList.remove("is-clipped"))},onHover:function(){var t=this;this.delay?(this.hasLeaved=!1,this.timer=setTimeout((function(){t.hasLeaved||(t.isDelayOver=!0),t.timer=null}),this.delay)):this.isDelayOver=!1},onHoverLeave:function(){this.hasLeaved=!0,this.timer=null,this.isDelayOver=!1}},created:function(){"undefined"!==typeof window&&(document.addEventListener("keyup",this.keyPress),document.addEventListener("click",this.clickedOutside))},mounted:function(){"undefined"!==typeof window&&this.isFixed&&document.body.appendChild(this.$el),this.overlay&&this.open&&this.handleScroll()},beforeDestroy:function(){if("undefined"!==typeof window&&(document.removeEventListener("keyup",this.keyPress),document.removeEventListener("click",this.clickedOutside),this.overlay)){document.documentElement.classList.remove("is-clipped");var t=this.savedScrollTop?this.savedScrollTop:document.documentElement.scrollTop;document.body.classList.remove("is-noscroll"),document.documentElement.scrollTop=t,document.body.style.top=null}this.isFixed&&H(this.$el)},beforeUpdate:function(){if(this.whiteList=[],this.whiteList.push(this.$refs.sidebarContent),void 0!==this.$refs.sidebarContent){var t=this.$refs.sidebarContent.querySelectorAll("*"),e=!0,n=!1,i=void 0;try{for(var r,a=t[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;this.whiteList.push(o)}}catch(s){n=!0,i=s}finally{try{e||null==a.return||a.return()}finally{if(n)throw i}}}}};const Rh=Ih;var Nh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-sidebar"},[t.overlay&&t.isOpen?n("div",{staticClass:"sidebar-background"}):t._e(),n("transition",{attrs:{name:t.transitionName},on:{"before-enter":t.beforeEnter,"after-enter":t.afterEnter}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"sidebarContent",staticClass:"sidebar-content",class:t.rootClasses,on:{mouseenter:t.onHover,mouseleave:t.onHoverLeave}},[t._t("default")],2)])],1)},$h=[];const Lh=void 0,Fh=void 0,Bh=void 0,jh=!1;var zh=st({render:Nh,staticRenderFns:$h},Lh,Rh,Fh,jh,Bh,void 0,void 0),Hh={install:function(t){lt(t,zh)}};ct(Hh);const Vh=Hh;var Gh={name:"BSliderThumb",components:s({},Cr.name,Cr),inheritAttrs:!1,props:{value:{type:Number,default:0},type:{type:String,default:""},tooltip:{type:Boolean,default:!0},indicator:{type:Boolean,default:!1},customFormatter:Function,format:{type:String,default:"raw",validator:function(t){return["raw","percent"].indexOf(t)>=0}},locale:{type:[String,Array],default:function(){return it.defaultLocale}},tooltipAlways:{type:Boolean,default:!1}},data:function(){return{isFocused:!1,dragging:!1,startX:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.disabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},precision:function(){return this.$parent.precision},currentPosition:function(){return"".concat((this.value-this.min)/(this.max-this.min)*100,"%")},wrapperStyle:function(){return{left:this.currentPosition}},formattedValue:function(){return"undefined"!==typeof this.customFormatter?this.customFormatter(this.value):"percent"===this.format?new Intl.NumberFormat(this.locale,{style:"percent"}).format((this.value-this.min)/(this.max-this.min)):new Intl.NumberFormat(this.locale).format(this.value)}},methods:{onFocus:function(){this.isFocused=!0},onBlur:function(){this.isFocused=!1},onButtonDown:function(t){this.disabled||(t.preventDefault(),this.onDragStart(t),"undefined"!==typeof window&&(document.addEventListener("mousemove",this.onDragging),document.addEventListener("touchmove",this.onDragging),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchend",this.onDragEnd),document.addEventListener("contextmenu",this.onDragEnd)))},onLeftKeyDown:function(){this.disabled||this.value===this.min||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onRightKeyDown:function(){this.disabled||this.value===this.max||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onHomeKeyDown:function(){this.disabled||this.value===this.min||(this.newPosition=0,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onEndKeyDown:function(){this.disabled||this.value===this.max||(this.newPosition=100,this.setPosition(this.newPosition),this.$parent.emitValue("change"))},onDragStart:function(t){this.dragging=!0,this.$emit("dragstart"),"touchstart"===t.type&&(t.clientX=t.touches[0].clientX),this.startX=t.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(t){if(this.dragging){"touchmove"===t.type&&(t.clientX=t.touches[0].clientX);var e=(t.clientX-this.startX)/this.$parent.sliderSize()*100;this.newPosition=this.startPosition+e,this.setPosition(this.newPosition)}},onDragEnd:function(){this.dragging=!1,this.$emit("dragend"),this.value!==this.oldValue&&this.$parent.emitValue("change"),this.setPosition(this.newPosition),"undefined"!==typeof window&&(document.removeEventListener("mousemove",this.onDragging),document.removeEventListener("touchmove",this.onDragging),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchend",this.onDragEnd),document.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(t){if(null!==t&&!isNaN(t)){t<0?t=0:t>100&&(t=100);var e=100/((this.max-this.min)/this.step),n=Math.round(t/e),i=n*e/100*(this.max-this.min)+this.min;i=parseFloat(i.toFixed(this.precision)),this.$emit("input",i),this.dragging||i===this.oldValue||(this.oldValue=i)}}}};const Wh=Gh;var Uh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-slider-thumb-wrapper",class:{"is-dragging":t.dragging,"has-indicator":t.indicator},style:t.wrapperStyle},[n("b-tooltip",{attrs:{label:t.formattedValue,type:t.type,always:t.dragging||t.isFocused||t.tooltipAlways,active:!t.disabled&&t.tooltip}},[n("div",t._b({staticClass:"b-slider-thumb",attrs:{tabindex:!t.disabled&&0},on:{mousedown:t.onButtonDown,touchstart:t.onButtonDown,focus:t.onFocus,blur:t.onBlur,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:(e.preventDefault(),t.onLeftKeyDown(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:(e.preventDefault(),t.onRightKeyDown(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.onLeftKeyDown(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.onRightKeyDown(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"home",void 0,e.key,void 0)?null:(e.preventDefault(),t.onHomeKeyDown(e))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"end",void 0,e.key,void 0)?null:(e.preventDefault(),t.onEndKeyDown(e))}]}},"div",t.$attrs,!1),[t.indicator?n("span",[t._v(t._s(t.formattedValue))]):t._e()])])],1)},Yh=[];const qh=void 0,Xh=void 0,Kh=void 0,Jh=!1;var Zh=st({render:Uh,staticRenderFns:Yh},qh,Wh,Xh,Jh,Kh,void 0,void 0),Qh={name:"BSliderTick",props:{value:{type:Number,default:0}},computed:{position:function(){var t=(this.value-this.$parent.min)/(this.$parent.max-this.$parent.min)*100;return t>=0&&t<=100?t:0},hidden:function(){return this.value===this.$parent.min||this.value===this.$parent.max}},methods:{getTickStyle:function(t){return{left:t+"%"}}},created:function(){if(!this.$parent.$data._isSlider)throw this.$destroy(),new Error("You should wrap bSliderTick on a bSlider")}};const td=Qh;var ed=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-slider-tick",class:{"is-tick-hidden":t.hidden},style:t.getTickStyle(t.position)},[t.$slots.default?n("span",{staticClass:"b-slider-tick-label"},[t._t("default")],2):t._e()])},nd=[];const id=void 0,rd=void 0,ad=void 0,od=!1;var sd,cd=st({render:ed,staticRenderFns:nd},id,td,rd,od,ad,void 0,void 0),ld={name:"BSlider",components:(sd={},s(sd,Zh.name,Zh),s(sd,cd.name,cd),sd),props:{value:{type:[Number,Array],default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},type:{type:String,default:"is-primary"},size:String,ticks:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!0},tooltipType:String,rounded:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},customFormatter:Function,ariaLabel:[String,Array],biggerSliderFocus:{type:Boolean,default:!1},indicator:{type:Boolean,default:!1},format:{type:String,default:"raw",validator:function(t){return["raw","percent"].indexOf(t)>=0}},locale:{type:[String,Array],default:function(){return it.defaultLocale}},tooltipAlways:{type:Boolean,default:!1}},data:function(){return{value1:null,value2:null,dragging:!1,isRange:!1,_isSlider:!0}},computed:{newTooltipType:function(){return this.tooltipType?this.tooltipType:this.type},tickValues:function(){if(!this.ticks||this.min>this.max||0===this.step)return[];for(var t=[],e=this.min+this.step;e<this.max;e+=this.step)t.push(e);return t},minValue:function(){return Math.min(this.value1,this.value2)},maxValue:function(){return Math.max(this.value1,this.value2)},barSize:function(){return this.isRange?"".concat(100*(this.maxValue-this.minValue)/(this.max-this.min),"%"):"".concat(100*(this.value1-this.min)/(this.max-this.min),"%")},barStart:function(){return this.isRange?"".concat(100*(this.minValue-this.min)/(this.max-this.min),"%"):"0%"},precision:function(){var t=[this.min,this.max,this.step].map((function(t){var e=(""+t).split(".")[1];return e?e.length:0}));return Math.max.apply(Math,S(t))},barStyle:function(){return{width:this.barSize,left:this.barStart}},rootClasses:function(){return{"is-rounded":this.rounded,"is-dragging":this.dragging,"is-disabled":this.disabled,"slider-focus":this.biggerSliderFocus}}},watch:{value:function(t){this.setValues(t)},value1:function(){this.onInternalValueUpdate()},value2:function(){this.onInternalValueUpdate()},min:function(){this.setValues(this.value)},max:function(){this.setValues(this.value)}},methods:{setValues:function(t){if(!(this.min>this.max))if(Array.isArray(t)){this.isRange=!0;var e="number"!==typeof t[0]||isNaN(t[0])?this.min:N(t[0],this.min,this.max),n="number"!==typeof t[1]||isNaN(t[1])?this.max:N(t[1],this.min,this.max);this.value1=this.isThumbReversed?n:e,this.value2=this.isThumbReversed?e:n}else this.isRange=!1,this.value1=isNaN(t)?this.min:N(t,this.min,this.max),this.value2=null},onInternalValueUpdate:function(){this.isRange&&(this.isThumbReversed=this.value1>this.value2),this.lazy&&this.dragging||this.emitValue("input"),this.dragging&&this.emitValue("dragging")},sliderSize:function(){return this.$refs.slider.getBoundingClientRect().width},onSliderClick:function(t){if(!this.disabled&&!this.isTrackClickDisabled){var e=this.$refs.slider.getBoundingClientRect().left,n=(t.clientX-e)/this.sliderSize()*100,i=this.min+n*(this.max-this.min)/100,r=Math.abs(i-this.value1);if(this.isRange){var a=Math.abs(i-this.value2);if(r<=a){if(r<this.step/2)return;this.$refs["button1"].setPosition(n)}else{if(a<this.step/2)return;this.$refs["button2"].setPosition(n)}}else{if(r<this.step/2)return;this.$refs.button1.setPosition(n)}this.emitValue("change")}},onDragStart:function(){this.dragging=!0,this.$emit("dragstart")},onDragEnd:function(){var t=this;this.isTrackClickDisabled=!0,setTimeout((function(){t.isTrackClickDisabled=!1}),0),this.dragging=!1,this.$emit("dragend"),this.lazy&&this.emitValue("input")},emitValue:function(t){this.$emit(t,this.isRange?[this.minValue,this.maxValue]:this.value1)}},created:function(){this.isThumbReversed=!1,this.isTrackClickDisabled=!1,this.setValues(this.value)}};const ud=ld;var hd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-slider",class:[t.size,t.type,t.rootClasses],on:{click:t.onSliderClick}},[n("div",{ref:"slider",staticClass:"b-slider-track"},[n("div",{staticClass:"b-slider-fill",style:t.barStyle}),t.ticks?t._l(t.tickValues,(function(t,e){return n("b-slider-tick",{key:e,attrs:{value:t}})})):t._e(),t._t("default"),n("b-slider-thumb",{ref:"button1",attrs:{"tooltip-always":t.tooltipAlways,type:t.newTooltipType,tooltip:t.tooltip,"custom-formatter":t.customFormatter,indicator:t.indicator,format:t.format,locale:t.locale,role:"slider","aria-valuenow":t.value1,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":"horizontal","aria-label":Array.isArray(t.ariaLabel)?t.ariaLabel[0]:t.ariaLabel,"aria-disabled":t.disabled},on:{dragstart:t.onDragStart,dragend:t.onDragEnd},model:{value:t.value1,callback:function(e){t.value1=e},expression:"value1"}}),t.isRange?n("b-slider-thumb",{ref:"button2",attrs:{"tooltip-always":t.tooltipAlways,type:t.newTooltipType,tooltip:t.tooltip,"custom-formatter":t.customFormatter,indicator:t.indicator,format:t.format,locale:t.locale,role:"slider","aria-valuenow":t.value2,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":"horizontal","aria-label":Array.isArray(t.ariaLabel)?t.ariaLabel[1]:"","aria-disabled":t.disabled},on:{dragstart:t.onDragStart,dragend:t.onDragEnd},model:{value:t.value2,callback:function(e){t.value2=e},expression:"value2"}}):t._e()],2)])},dd=[];const fd=void 0,pd=void 0,vd=void 0,md=!1;var gd=st({render:hd,staticRenderFns:dd},fd,ud,pd,md,vd,void 0,void 0),yd={install:function(t){lt(t,gd),lt(t,cd)}};ct(yd);const bd=yd;var _d={name:"BSnackbar",mixins:[wc],props:{actionText:{type:String,default:"OK"},onAction:{type:Function,default:function(){}},cancelText:{type:null|String,default:null}},data:function(){return{newDuration:this.duration||it.defaultSnackbarDuration}},methods:{action:function(){this.onAction(),this.close()}}};const wd=_d;var kd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{"enter-active-class":t.transition.enter,"leave-active-class":t.transition.leave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"snackbar",class:[t.type,t.position],attrs:{role:t.actionText?"alertdialog":"alert"},on:{mouseenter:t.pause,mouseleave:t.removePause}},[t.$slots.default?[t._t("default")]:[n("div",{staticClass:"text",domProps:{innerHTML:t._s(t.message)}})],t.cancelText?n("div",{staticClass:"action is-light is-cancel",on:{click:t.close}},[n("button",{staticClass:"button"},[t._v(t._s(t.cancelText))])]):t._e(),t.actionText?n("div",{staticClass:"action",class:t.type,on:{click:t.action}},[n("button",{staticClass:"button"},[t._v(t._s(t.actionText))])]):t._e()],2)])},xd=[];const Sd=void 0,Cd=void 0,Dd=void 0,Td=!1;var Od,Ad=st({render:kd,staticRenderFns:xd},Sd,wd,Cd,Td,Dd,void 0,void 0),Ed={open:function(t){var e;"string"===typeof t&&(t={message:t});var n,i={type:"is-success",position:it.defaultSnackbarPosition||"is-bottom-right",queue:!0};t.parent&&(e=t.parent,delete t.parent),Array.isArray(t.message)&&(n=t.message,delete t.message);var r=j(i,t),a="undefined"!==typeof window&&window.Vue?window.Vue:Od||tt,o=a.extend(Ad),s=new o({parent:e,el:document.createElement("div"),propsData:r});return n&&(s.$slots.default=n,s.$forceUpdate()),s}},Pd={install:function(t){Od=t,ut(t,"snackbar",Ed)}};ct(Pd);const Md=Pd;var Id={name:"BSlotComponent",props:{component:{type:Object,required:!0},name:{type:String,default:"default"},scoped:{type:Boolean},props:{type:Object},tag:{type:String,default:"div"},event:{type:String,default:"hook:updated"}},methods:{refresh:function(){this.$forceUpdate()}},created:function(){G(this.component)&&this.component.$on(this.event,this.refresh)},beforeDestroy:function(){G(this.component)&&this.component.$off(this.event,this.refresh)},render:function(t){if(G(this.component))return t(this.tag,{},this.scoped?this.component.$scopedSlots[this.name](this.props):this.component.$slots[this.name])}},Rd=function(t){var e;return{mixins:[Se(t,xe)],components:(e={},s(e,xt.name,xt),s(e,Id.name,Id),e),props:{value:{type:[String,Number],default:void 0},size:String,animated:{type:Boolean,default:!0},animation:String,animateInitially:Boolean,vertical:{type:Boolean,default:!1},position:String,destroyOnHide:{type:Boolean,default:!1}},data:function(){return{activeId:this.value,defaultSlots:[],contentHeight:0,isTransitioning:!1}},mounted:function(){if("number"===typeof this.value){var t=N(this.value,0,this.items.length-1);this.activeId=this.items[t].value}else this.activeId=this.value},computed:{activeItem:function(){var t=this;return void 0===this.activeId?this.items[0]:null===this.activeId?null:this.childItems.find((function(e){return e.value===t.activeId}))},items:function(){return this.sortedItems}},watch:{value:function(t){"number"===typeof t?(t=N(t,0,this.items.length-1),this.activeId=this.items[t].value):this.activeId=t},activeId:function(t,e){var n=void 0!==e&&null!==e?this.childItems.find((function(t){return t.value===e})):null;n&&this.activeItem&&(n.deactivate(this.activeItem.index),this.activeItem.activate(n.index)),t=this.activeItem?"number"===typeof this.value?this.items.indexOf(this.activeItem):this.activeItem.value:void 0,t!==this.value&&this.$emit("input",t)}},methods:{childClick:function(t){this.activeId=t.value},getNextItemIdx:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null,i=t+1;i<this.items.length;i++){var r=this.items[i];if(r.visible&&(!e||e&&!r.disabled)){n=i;break}}return n},getPrevItemIdx:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null,i=t-1;i>=0;i--){var r=this.items[i];if(r.visible&&(!e||e&&!r.disabled)){n=i;break}}return n}}}},Nd=function(t){return{mixins:[Oe(t,Te)],props:{label:String,icon:String,iconPack:String,visible:{type:Boolean,default:!0},value:{type:String,default:function(){return this._uid.toString()}},headerClass:{type:[String,Array,Object],default:null}},data:function(){return{transitionName:null,elementClass:"item",elementRole:null}},computed:{isActive:function(){return this.parent.activeItem===this}},methods:{activate:function(t){this.transitionName=this.index<t?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"},deactivate:function(t){this.transitionName=t<this.index?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"}},render:function(t){var e=this;if(!this.parent.destroyOnHide||this.isActive&&this.visible){var n=t("div",{directives:[{name:"show",value:this.isActive&&this.visible}],attrs:{class:this.elementClass,role:this.elementRole,id:"".concat(this.value,"-content"),"aria-labelledby":this.elementRole?"".concat(this.value,"-label"):null,tabindex:this.isActive?0:-1}},this.$slots.default);return this.parent.animated?t("transition",{props:{name:this.parent.animation||this.transitionName,appear:!0===this.parent.animateInitially||void 0},on:{"before-enter":function(){e.parent.isTransitioning=!0},"after-enter":function(){e.parent.isTransitioning=!1}}},[n]):n}}}},$d={name:"BSteps",components:s({},xt.name,xt),mixins:[Rd("step")],props:{type:[String,Object],iconPack:String,iconPrev:{type:String,default:function(){return it.defaultIconPrev}},iconNext:{type:String,default:function(){return it.defaultIconNext}},hasNavigation:{type:Boolean,default:!0},labelPosition:{type:String,validator:function(t){return["bottom","right","left"].indexOf(t)>-1},default:"bottom"},rounded:{type:Boolean,default:!0},mobileMode:{type:String,validator:function(t){return["minimalist","compact"].indexOf(t)>-1},default:"minimalist"},ariaNextLabel:String,ariaPreviousLabel:String},computed:{activeItem:function(){var t=this;return this.childItems.filter((function(e){return e.value===t.activeId}))[0]||this.items[0]},wrapperClasses:function(){return[this.size,s({"is-vertical":this.vertical},this.position,this.position&&this.vertical)]},mainClasses:function(){return[this.type,s({"has-label-right":"right"===this.labelPosition,"has-label-left":"left"===this.labelPosition,"is-animated":this.animated,"is-rounded":this.rounded},"mobile-".concat(this.mobileMode),null!==this.mobileMode)]},hasPrev:function(){return null!==this.prevItemIdx},nextItemIdx:function(){var t=this.activeItem?this.items.indexOf(this.activeItem):0;return this.getNextItemIdx(t)},nextItem:function(){var t=null;return null!==this.nextItemIdx&&(t=this.items[this.nextItemIdx]),t},prevItemIdx:function(){if(!this.activeItem)return null;var t=this.items.indexOf(this.activeItem);return this.getPrevItemIdx(t)},prevItem:function(){if(!this.activeItem)return null;var t=null;return null!==this.prevItemIdx&&(t=this.items[this.prevItemIdx]),t},hasNext:function(){return null!==this.nextItemIdx},navigationProps:function(){return{previous:{disabled:!this.hasPrev,action:this.prev},next:{disabled:!this.hasNext,action:this.next}}}},methods:{isItemClickable:function(t){return void 0===t.clickable?t.index<this.activeItem.index:t.clickable},prev:function(){this.hasPrev&&(this.activeId=this.prevItem.value)},next:function(){this.hasNext&&(this.activeId=this.nextItem.value)}}};const Ld=$d;var Fd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-steps",class:t.wrapperClasses},[n("nav",{staticClass:"steps",class:t.mainClasses},[n("ul",{staticClass:"step-items"},t._l(t.items,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"childItem.visible"}],key:e.value,staticClass:"step-item",class:[e.type||t.type,e.headerClass,{"is-active":e.isActive,"is-previous":t.activeItem.index>e.index}]},[n("a",{staticClass:"step-link",class:{"is-clickable":t.isItemClickable(e)},on:{click:function(n){t.isItemClickable(e)&&t.childClick(e)}}},[n("div",{staticClass:"step-marker"},[e.icon?n("b-icon",{attrs:{icon:e.icon,pack:e.iconPack,size:t.size}}):e.step?n("span",[t._v(t._s(e.step))]):t._e()],1),n("div",{staticClass:"step-details"},[n("span",{staticClass:"step-title"},[t._v(t._s(e.label))])])])])})),0)]),n("section",{staticClass:"step-content",class:{"is-transitioning":t.isTransitioning}},[t._t("default")],2),t._t("navigation",[t.hasNavigation?n("nav",{staticClass:"step-navigation"},[n("a",{staticClass:"pagination-previous",attrs:{role:"button",disabled:t.navigationProps.previous.disabled,"aria-label":t.ariaPreviousLabel},on:{click:function(e){return e.preventDefault(),t.navigationProps.previous.action(e)}}},[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),n("a",{staticClass:"pagination-next",attrs:{role:"button",disabled:t.navigationProps.next.disabled,"aria-label":t.ariaNextLabel},on:{click:function(e){return e.preventDefault(),t.navigationProps.next.action(e)}}},[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],1)]):t._e()],{previous:t.navigationProps.previous,next:t.navigationProps.next})],2)},Bd=[];const jd=void 0,zd=void 0,Hd=void 0,Vd=!1;var Gd=st({render:Fd,staticRenderFns:Bd},jd,Ld,zd,Vd,Hd,void 0,void 0),Wd={name:"BStepItem",mixins:[Nd("step")],props:{step:[String,Number],type:[String,Object],clickable:{type:Boolean,default:void 0}},data:function(){return{elementClass:"step-item"}}};const Ud=Wd,Yd=void 0,qd=void 0,Xd=void 0,Kd=void 0;var Jd=st({},Yd,Ud,qd,Kd,Xd,void 0,void 0),Zd={install:function(t){lt(t,Gd),lt(t,Jd)}};ct(Zd);const Qd=Zd;var tf={name:"BSwitch",props:{value:[String,Number,Boolean,Function,Object,Array,Date],nativeValue:[String,Number,Boolean,Function,Object,Array,Date],disabled:Boolean,type:String,passiveType:String,name:String,required:Boolean,size:String,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array,Date],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array,Date],default:!1},rounded:{type:Boolean,default:function(){return it.defaultSwitchRounded}},outlined:{type:Boolean,default:!1},leftLabel:{type:Boolean,default:!1}},data:function(){return{newValue:this.value,isMouseDown:!1}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}},newClass:function(){return[this.size,{"is-disabled":this.disabled,"is-rounded":this.rounded,"is-outlined":this.outlined,"has-left-label":this.leftLabel}]},checkClasses:function(){return[{"is-elastic":this.isMouseDown&&!this.disabled},this.passiveType&&"".concat(this.passiveType,"-passive"),this.type]},showControlLabel:function(){return!!this.$slots.default}},watch:{value:function(t){this.newValue=t}},methods:{focus:function(){this.$refs.input.focus()}}};const ef=tf;var nf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{ref:"label",staticClass:"switch",class:t.newClass,attrs:{disabled:t.disabled},on:{click:t.focus,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())},mousedown:function(e){t.isMouseDown=!0},mouseup:function(e){t.isMouseDown=!1},mouseout:function(e){t.isMouseDown=!1},blur:function(e){t.isMouseDown=!1}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",disabled:t.disabled,name:t.name,required:t.required,"true-value":t.trueValue,"false-value":t.falseValue,"aria-labelledby":t.ariaLabelledby},domProps:{value:t.nativeValue,checked:Array.isArray(t.computedValue)?t._i(t.computedValue,t.nativeValue)>-1:t._q(t.computedValue,t.trueValue)},on:{click:function(t){t.stopPropagation()},change:function(e){var n=t.computedValue,i=e.target,r=i.checked?t.trueValue:t.falseValue;if(Array.isArray(n)){var a=t.nativeValue,o=t._i(n,a);i.checked?o<0&&(t.computedValue=n.concat([a])):o>-1&&(t.computedValue=n.slice(0,o).concat(n.slice(o+1)))}else t.computedValue=r}}}),n("span",{staticClass:"check",class:t.checkClasses}),t.showControlLabel?n("span",{staticClass:"control-label",attrs:{id:t.ariaLabelledby}},[t._t("default")],2):t._e()])},rf=[];const af=void 0,of=void 0,sf=void 0,cf=!1;var lf=st({render:nf,staticRenderFns:rf},af,ef,of,cf,sf,void 0,void 0),uf={install:function(t){lt(t,lf)}};ct(uf);const hf=uf;var df,ff={name:"BTableMobileSort",components:(df={},s(df,mr.name,mr),s(df,xt.name,xt),df),props:{currentSortColumn:Object,sortMultipleData:Array,isAsc:Boolean,columns:Array,placeholder:String,iconPack:String,sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1}},data:function(){return{sortMultipleSelect:"",mobileSort:this.currentSortColumn,defaultEvent:{shiftKey:!0,altKey:!0,ctrlKey:!0},ignoreSort:!1}},computed:{showPlaceholder:function(){var t=this;return!this.columns||!this.columns.some((function(e){return e===t.mobileSort}))}},watch:{sortMultipleSelect:function(t){this.ignoreSort?this.ignoreSort=!1:this.$emit("sort",t,this.defaultEvent)},mobileSort:function(t){this.currentSortColumn!==t&&this.$emit("sort",t,this.defaultEvent)},currentSortColumn:function(t){this.mobileSort=t}},methods:{removePriority:function(){var t=this;this.$emit("removePriority",this.sortMultipleSelect),this.ignoreSort=!0;var e=this.sortMultipleData.filter((function(e){return e.field!==t.sortMultipleSelect.field})).map((function(t){return t.field}));this.sortMultipleSelect=this.columns.filter((function(t){return e.includes(t.field)}))[0]},getSortingObjectOfColumn:function(t){return this.sortMultipleData.filter((function(e){return e.field===t.field}))[0]},columnIsDesc:function(t){var e=this.getSortingObjectOfColumn(t);return!e||!(!e.order||"desc"!==e.order)},getLabel:function(t){var e=this.getSortingObjectOfColumn(t);return e?t.label+"("+(this.sortMultipleData.indexOf(e)+1)+")":t.label},sort:function(){this.$emit("sort",this.sortMultiple?this.sortMultipleSelect:this.mobileSort,this.defaultEvent)}}};const pf=ff;var vf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field table-mobile-sort"},[n("div",{staticClass:"field has-addons"},[t.sortMultiple?n("b-select",{attrs:{expanded:""},model:{value:t.sortMultipleSelect,callback:function(e){t.sortMultipleSelect=e},expression:"sortMultipleSelect"}},t._l(t.columns,(function(e,i){return e.sortable?n("option",{key:i,domProps:{value:e}},[t._v(" "+t._s(t.getLabel(e))+" "),t.getSortingObjectOfColumn(e)?[t.columnIsDesc(e)?[t._v(" ↓ ")]:[t._v(" ↑ ")]]:t._e()],2):t._e()})),0):n("b-select",{attrs:{expanded:""},model:{value:t.mobileSort,callback:function(e){t.mobileSort=e},expression:"mobileSort"}},[t.placeholder?[n("option",{directives:[{name:"show",rawName:"v-show",value:t.showPlaceholder,expression:"showPlaceholder"}],attrs:{selected:"",disabled:"",hidden:""},domProps:{value:{}}},[t._v(" "+t._s(t.placeholder)+" ")])]:t._e(),t._l(t.columns,(function(e,i){return e.sortable?n("option",{key:i,domProps:{value:e}},[t._v(" "+t._s(e.label)+" ")]):t._e()}))],2),n("div",{staticClass:"control"},[t.sortMultiple&&t.sortMultipleData.length>0?[n("button",{staticClass:"button is-primary",on:{click:t.sort}},[n("b-icon",{class:{"is-desc":t.columnIsDesc(t.sortMultipleSelect)},attrs:{icon:t.sortIcon,pack:t.iconPack,size:t.sortIconSize,both:""}})],1),n("button",{staticClass:"button is-primary",on:{click:t.removePriority}},[n("b-icon",{attrs:{icon:"delete",size:t.sortIconSize,both:""}})],1)]:t.sortMultiple?t._e():n("button",{staticClass:"button is-primary",on:{click:t.sort}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.currentSortColumn===t.mobileSort,expression:"currentSortColumn === mobileSort"}],class:{"is-desc":!t.isAsc},attrs:{icon:t.sortIcon,pack:t.iconPack,size:t.sortIconSize,both:""}})],1)],2)],1)])},mf=[];const gf=void 0,yf=void 0,bf=void 0,_f=!1;var wf=st({render:vf,staticRenderFns:mf},gf,pf,yf,_f,bf,void 0,void 0),kf={name:"BTableColumn",inject:{$table:{name:"$table",default:!1}},props:{label:String,customKey:[String,Number],field:String,meta:[String,Number,Boolean,Function,Object,Array],width:[Number,String],numeric:Boolean,centered:Boolean,searchable:Boolean,sortable:Boolean,visible:{type:Boolean,default:!0},subheading:[String,Number],customSort:Function,customSearch:Function,sticky:Boolean,headerSelectable:Boolean,headerClass:String,cellClass:String,thAttrs:{type:Function,default:function(){return{}}},tdAttrs:{type:Function,default:function(){return{}}}},data:function(){return{newKey:this.customKey||this.label,_isTableColumn:!0}},computed:{thClasses:function(){var t=this.thAttrs(this),e=[this.headerClass,{"is-sortable":this.sortable,"is-sticky":this.sticky,"is-unselectable":this.isHeaderUnSelectable}];return t&&t.class&&e.push(t.class),e},thStyle:function(){var t=this.thAttrs(this),e=[this.style];return t&&t.style&&e.push(t.style),e},rootClasses:function(){return[this.cellClass,{"has-text-right":this.numeric&&!this.centered,"has-text-centered":this.centered,"is-sticky":this.sticky}]},style:function(){return{width:q(this.width)}},hasDefaultSlot:function(){return!!this.$scopedSlots.default},isHeaderUnSelectable:function(){return!this.headerSelectable&&this.sortable}},methods:{getRootClasses:function(t){var e=this.tdAttrs(t,this),n=[this.rootClasses];return e&&e.class&&n.push(e.class),n},getRootStyle:function(t){var e=this.tdAttrs(t,this),n=[];return e&&e.style&&n.push(e.style),n}},created:function(){if(!this.$table)throw this.$destroy(),new Error("You should wrap bTableColumn on a bTable");this.$table.refreshSlots()},beforeDestroy:function(){this.$table.refreshSlots()},render:function(t){return null}};const xf=kf,Sf=void 0,Cf=void 0,Df=void 0,Tf=void 0;var Of=st({},Sf,xf,Cf,Tf,Df,void 0,void 0),Af={name:"BTablePagination",components:s({},ku.name,ku),props:{paginated:Boolean,total:[Number,String],perPage:[Number,String],currentPage:[Number,String],paginationSimple:Boolean,paginationSize:String,rounded:Boolean,iconPack:String,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:Boolean,paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{newCurrentPage:this.currentPage}},watch:{currentPage:function(t){this.newCurrentPage=t}},methods:{pageChanged:function(t){this.newCurrentPage=t>0?t:1,this.$emit("update:currentPage",this.newCurrentPage),this.$emit("page-change",this.newCurrentPage)}}};const Ef=Af;var Pf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top level"},[n("div",{staticClass:"level-left"},[t._t("default")],2),n("div",{staticClass:"level-right"},[t.paginated?n("div",{staticClass:"level-item"},[n("b-pagination",{attrs:{"icon-pack":t.iconPack,total:t.total,"per-page":t.perPage,simple:t.paginationSimple,size:t.paginationSize,current:t.newCurrentPage,rounded:t.rounded,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,order:t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{change:t.pageChanged}})],1):t._e()])])},Mf=[];const If=void 0,Rf=void 0,Nf=void 0,$f=!1;var Lf,Ff=st({render:Pf,staticRenderFns:Mf},If,Ef,Rf,$f,Nf,void 0,void 0),Bf={name:"BTable",components:(Lf={},s(Lf,Sn.name,Sn),s(Lf,xt.name,xt),s(Lf,Mt.name,Mt),s(Lf,Os.name,Os),s(Lf,Id.name,Id),s(Lf,wf.name,wf),s(Lf,Of.name,Of),s(Lf,Ff.name,Ff),Lf),inheritAttrs:!1,provide:function(){return{$table:this}},props:{data:{type:Array,default:function(){return[]}},columns:{type:Array,default:function(){return[]}},bordered:Boolean,striped:Boolean,narrowed:Boolean,hoverable:Boolean,loading:Boolean,detailed:Boolean,checkable:Boolean,headerCheckable:{type:Boolean,default:!0},checkboxType:{type:String,default:"is-primary"},checkboxPosition:{type:String,default:"left",validator:function(t){return["left","right"].indexOf(t)>=0}},stickyCheckbox:{type:Boolean,default:!1},selected:Object,isRowSelectable:{type:Function,default:function(){return!0}},focusable:Boolean,customIsChecked:Function,isRowCheckable:{type:Function,default:function(){return!0}},checkedRows:{type:Array,default:function(){return[]}},mobileCards:{type:Boolean,default:!0},defaultSort:[String,Array],defaultSortDirection:{type:String,default:"asc"},sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1},sortMultipleData:{type:Array,default:function(){return[]}},sortMultipleKey:{type:String,default:null},paginated:Boolean,currentPage:{type:Number,default:1},perPage:{type:[Number,String],default:20},showDetailIcon:{type:Boolean,default:!0},detailIcon:{type:String,default:"chevron-right"},paginationPosition:{type:String,default:"bottom",validator:function(t){return["bottom","top","both"].indexOf(t)>=0}},paginationRounded:Boolean,backendSorting:Boolean,backendFiltering:Boolean,rowClass:{type:Function,default:function(){return""}},openedDetailed:{type:Array,default:function(){return[]}},hasDetailedVisible:{type:Function,default:function(){return!0}},detailKey:{type:String,default:""},detailTransition:{type:String,default:""},customDetailRow:{type:Boolean,default:!1},backendPagination:Boolean,total:{type:[Number,String],default:0},iconPack:String,mobileSortPlaceholder:String,customRowKey:String,draggable:{type:Boolean,default:!1},draggableColumn:{type:Boolean,default:!1},scrollable:Boolean,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,stickyHeader:Boolean,height:[Number,String],filtersEvent:{type:String,default:""},cardLayout:Boolean,showHeader:{type:Boolean,default:!0},debounceSearch:Number,caption:String,showCaption:{type:Boolean,default:!0},pageInput:{type:Boolean,default:!1},paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{sortMultipleDataLocal:[],getValueByPath:$,visibleDetailRows:this.openedDetailed,newData:this.data,newDataTotal:this.backendPagination?this.total:this.data.length,newCheckedRows:S(this.checkedRows),lastCheckedRowIndex:null,newCurrentPage:this.currentPage,currentSortColumn:{},isAsc:!0,filters:{},defaultSlots:[],firstTimeSort:!0,_isTable:!0,isDraggingRow:!1,isDraggingColumn:!1}},computed:{sortMultipleDataComputed:function(){return this.backendSorting?this.sortMultipleData:this.sortMultipleDataLocal},tableClasses:function(){return{"is-bordered":this.bordered,"is-striped":this.striped,"is-narrow":this.narrowed,"is-hoverable":(this.hoverable||this.focusable)&&this.visibleData.length}},tableWrapperClasses:function(){return{"has-mobile-cards":this.mobileCards,"has-sticky-header":this.stickyHeader,"is-card-list":this.cardLayout,"table-container":this.isScrollable}},tableStyle:function(){return{height:q(this.height)}},visibleData:function(){if(!this.paginated)return this.newData;var t=this.newCurrentPage,e=this.perPage;if(this.newData.length<=e)return this.newData;var n=(t-1)*e,i=parseInt(n,10)+parseInt(e,10);return this.newData.slice(n,i)},visibleColumns:function(){return this.newColumns?this.newColumns.filter((function(t){return t.visible||void 0===t.visible})):this.newColumns},isAllChecked:function(){var t=this,e=this.visibleData.filter((function(e){return t.isRowCheckable(e)}));if(0===e.length)return!1;var n=e.some((function(e){return L(t.newCheckedRows,e,t.customIsChecked)<0}));return!n},isAllUncheckable:function(){var t=this,e=this.visibleData.filter((function(e){return t.isRowCheckable(e)}));return 0===e.length},hasSortablenewColumns:function(){return this.newColumns.some((function(t){return t.sortable}))},hasSearchablenewColumns:function(){return this.newColumns.some((function(t){return t.searchable}))},hasCustomSubheadings:function(){return!(!this.$scopedSlots||!this.$scopedSlots.subheading)||this.newColumns.some((function(t){return t.subheading||t.$scopedSlots&&t.$scopedSlots.subheading}))},columnCount:function(){var t=this.visibleColumns.length;return t+=this.checkable?1:0,t+=this.detailed&&this.showDetailIcon?1:0,t},showDetailRowIcon:function(){return this.detailed&&this.showDetailIcon},isScrollable:function(){return!!this.scrollable||!!this.newColumns&&this.newColumns.some((function(t){return t.sticky}))},newColumns:function(){var t=this;return this.columns&&this.columns.length?this.columns.map((function(e){var n=tt.extend(Of),i=new n({parent:t,propsData:e});return i.$scopedSlots={default:function(t){var n=i.$createElement("span",{domProps:{innerHTML:$(t.row,e.field)}});return[n]}},i})):this.defaultSlots.filter((function(t){return t.componentInstance&&t.componentInstance.$data&&t.componentInstance.$data._isTableColumn})).map((function(t){return t.componentInstance}))},canDragRow:function(){return this.draggable&&!this.isDraggingColumn},canDragColumn:function(){return this.draggableColumn&&!this.isDraggingRow}},watch:{data:function(t){var e=this;this.newData=t,this.backendFiltering||(this.newData=t.filter((function(t){return e.isRowFiltered(t)}))),this.backendSorting||this.sort(this.currentSortColumn,!0),this.backendPagination||(this.newDataTotal=this.newData.length)},total:function(t){this.backendPagination&&(this.newDataTotal=t)},currentPage:function(t){this.newCurrentPage=t},newCurrentPage:function(t){this.$emit("update:currentPage",t)},checkedRows:function(t){this.newCheckedRows=S(t)},debounceSearch:{handler:function(t){this.debouncedHandleFiltersChange=fu(this.handleFiltersChange,t)},immediate:!0},filters:{handler:function(t){this.debounceSearch?this.debouncedHandleFiltersChange(t):this.handleFiltersChange(t)},deep:!0},openedDetailed:function(t){this.visibleDetailRows=t}},methods:{onFiltersEvent:function(t){this.$emit("filters-event-".concat(this.filtersEvent),{event:t,filters:this.filters})},handleFiltersChange:function(t){var e=this;this.backendFiltering?this.$emit("filters-change",t):(this.newData=this.data.filter((function(t){return e.isRowFiltered(t)})),this.backendPagination||(this.newDataTotal=this.newData.length),this.backendSorting||(this.sortMultiple&&this.sortMultipleDataLocal&&this.sortMultipleDataLocal.length>0?this.doSortMultiColumn():Object.keys(this.currentSortColumn).length>0&&this.doSortSingleColumn(this.currentSortColumn)))},findIndexOfSortData:function(t){var e=this.sortMultipleDataComputed.filter((function(e){return e.field===t.field}))[0];return this.sortMultipleDataComputed.indexOf(e)+1},removeSortingPriority:function(t){if(this.backendSorting)this.$emit("sorting-priority-removed",t.field);else{this.sortMultipleDataLocal=this.sortMultipleDataLocal.filter((function(e){return e.field!==t.field}));var e=this.sortMultipleDataLocal.map((function(t){return(t.order&&"desc"===t.order?"-":"")+t.field}));0===e.length?this.resetMultiSorting():this.newData=Y(this.newData,e)}},resetMultiSorting:function(){this.sortMultipleDataLocal=[],this.currentSortColumn={},this.newData=this.data},sortBy:function(t,e,n,i){var r=[];return r=n&&"function"===typeof n?S(t).sort((function(t,e){return n(t,e,i)})):S(t).sort((function(t,n){var r=$(t,e),a=$(n,e);return"boolean"===typeof r&&"boolean"===typeof a?i?r-a:a-r:!nt(a)&&nt(r)?i?1:-1:!nt(r)&&nt(a)?i?-1:1:r===a?0:(r="string"===typeof r?r.toUpperCase():r,a="string"===typeof a?a.toUpperCase():a,i?r>a?1:-1:r>a?-1:1)})),r},sortMultiColumn:function(t){if(this.currentSortColumn={},!this.backendSorting){var e=this.sortMultipleDataLocal.filter((function(e){return e.field===t.field}))[0];e?e.order="desc"===e.order?"asc":"desc":this.sortMultipleDataLocal.push({field:t.field,order:t.isAsc}),this.doSortMultiColumn()}},doSortMultiColumn:function(){var t=this.sortMultipleDataLocal.map((function(t){return(t.order&&"desc"===t.order?"-":"")+t.field}));this.newData=Y(this.newData,t)},sort:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t&&t.sortable&&(!this.backendSorting&&this.sortMultiple&&(this.sortMultipleKey&&n[this.sortMultipleKey]||!this.sortMultipleKey)?e?this.doSortMultiColumn():this.sortMultiColumn(t):(this.sortMultiple&&(this.sortMultipleDataLocal=[]),e||(this.isAsc=t===this.currentSortColumn?!this.isAsc:"desc"!==this.defaultSortDirection.toLowerCase()),this.firstTimeSort||this.$emit("sort",t.field,this.isAsc?"asc":"desc",n),this.backendSorting||this.doSortSingleColumn(t),this.currentSortColumn=t))},doSortSingleColumn:function(t){this.newData=this.sortBy(this.newData,t.field,t.customSort,this.isAsc)},isRowSelected:function(t,e){return!!e&&(this.customRowKey?t[this.customRowKey]===e[this.customRowKey]:t===e)},isRowChecked:function(t){return L(this.newCheckedRows,t,this.customIsChecked)>=0},removeCheckedRow:function(t){var e=L(this.newCheckedRows,t,this.customIsChecked);e>=0&&this.newCheckedRows.splice(e,1)},checkAll:function(){var t=this,e=this.isAllChecked;this.visibleData.forEach((function(n){t.isRowCheckable(n)&&t.removeCheckedRow(n),e||t.isRowCheckable(n)&&t.newCheckedRows.push(n)})),this.$emit("check",this.newCheckedRows),this.$emit("check-all",this.newCheckedRows),this.$emit("update:checkedRows",this.newCheckedRows)},checkRow:function(t,e,n){if(this.isRowCheckable(t)){var i=this.lastCheckedRowIndex;this.lastCheckedRowIndex=e,n.shiftKey&&null!==i&&e!==i?this.shiftCheckRow(t,e,i):this.isRowChecked(t)?this.removeCheckedRow(t):this.newCheckedRows.push(t),this.$emit("check",this.newCheckedRows,t),this.$emit("update:checkedRows",this.newCheckedRows)}},shiftCheckRow:function(t,e,n){var i=this,r=this.visibleData.slice(Math.min(e,n),Math.max(e,n)+1),a=!this.isRowChecked(t);r.forEach((function(t){i.removeCheckedRow(t),a&&i.isRowCheckable(t)&&i.newCheckedRows.push(t)}))},selectRow:function(t,e){this.$emit("click",t),this.selected!==t&&this.isRowSelectable(t)&&(this.$emit("select",t,this.selected),this.$emit("update:selected",t))},toggleDetails:function(t){var e=this.isVisibleDetailRow(t);e?(this.closeDetailRow(t),this.$emit("details-close",t)):(this.openDetailRow(t),this.$emit("details-open",t)),this.$emit("update:openedDetailed",this.visibleDetailRows)},openDetailRow:function(t){var e=this.handleDetailKey(t);this.visibleDetailRows.push(e)},closeDetailRow:function(t){var e=this.handleDetailKey(t),n=this.visibleDetailRows.indexOf(e);n>=0&&this.visibleDetailRows.splice(n,1)},isVisibleDetailRow:function(t){var e=this.handleDetailKey(t);return this.visibleDetailRows.indexOf(e)>=0},isActiveDetailRow:function(t){return this.detailed&&!this.customDetailRow&&this.isVisibleDetailRow(t)},isActiveCustomDetailRow:function(t){return this.detailed&&this.customDetailRow&&this.isVisibleDetailRow(t)},isRowFiltered:function(t){var e=this,n=function(n){if(!e.filters[n])return"continue";var i=e.filters[n],r=e.newColumns.filter((function(t){return t.field===n}))[0];if(r&&r.customSearch&&"function"===typeof r.customSearch){if(!r.customSearch(t,i))return{v:!1}}else{var a=e.getValueByPath(t,n);if(null==a)return{v:!1};if(Number.isInteger(a)){if(a!==Number(i))return{v:!1}}else{var o=new RegExp(W(i),"i");if(Array.isArray(a)){var s=a.some((function(t){return o.test(U(t))||o.test(t)}));if(!s)return{v:!1}}else if(!o.test(U(a))&&!o.test(a))return{v:!1}}}};for(var r in this.filters){var a=n(r);switch(a){case"continue":continue;default:if("object"===i(a))return a.v}}return!0},handleDetailKey:function(t){var e=this.detailKey;return e.length&&t?t[e]:t},checkPredefinedDetailedRows:function(){var t=this.openedDetailed.length>0;if(t&&!this.detailKey.length)throw new Error('If you set a predefined opened-detailed, you must provide a unique key using the prop "detail-key"')},checkSort:function(){if(this.newColumns.length&&this.firstTimeSort)this.initSort(),this.firstTimeSort=!1;else if(this.newColumns.length&&Object.keys(this.currentSortColumn).length>0)for(var t=0;t<this.newColumns.length;t++)if(this.newColumns[t].field===this.currentSortColumn.field){this.currentSortColumn=this.newColumns[t];break}},hasCustomFooterSlot:function(){if(this.$slots.footer.length>1)return!0;var t=this.$slots.footer[0].tag;return"th"===t||"td"===t},hasBottomLeftSlot:function(){return"undefined"!==typeof this.$slots["bottom-left"]},pressedArrow:function(t){if(this.visibleData.length){var e=this.visibleData.indexOf(this.selected)+t;e=e<0?0:e>this.visibleData.length-1?this.visibleData.length-1:e;var n=this.visibleData[e];if(this.isRowSelectable(n))this.selectRow(n);else{var i=null;if(t>0)for(var r=e;r<this.visibleData.length&&null===i;r++)this.isRowSelectable(this.visibleData[r])&&(i=r);else for(var a=e;a>=0&&null===i;a--)this.isRowSelectable(this.visibleData[a])&&(i=a);i>=0&&this.selectRow(this.visibleData[i])}}},focus:function(){this.focusable&&this.$el.querySelector("table").focus()},initSort:function(){var t=this;if(this.sortMultiple&&this.sortMultipleData)this.sortMultipleData.forEach((function(e){t.sortMultiColumn(e)}));else{if(!this.defaultSort)return;var e="",n=this.defaultSortDirection;Array.isArray(this.defaultSort)?(e=this.defaultSort[0],this.defaultSort[1]&&(n=this.defaultSort[1])):e=this.defaultSort;var i=this.newColumns.filter((function(t){return t.field===e}))[0];i&&(this.isAsc="desc"!==n.toLowerCase(),this.sort(i,!0))}},handleDragStart:function(t,e,n){this.canDragRow&&(this.isDraggingRow=!0,this.$emit("dragstart",{event:t,row:e,index:n}))},handleDragEnd:function(t,e,n){this.canDragRow&&(this.isDraggingRow=!1,this.$emit("dragend",{event:t,row:e,index:n}))},handleDrop:function(t,e,n){this.canDragRow&&this.$emit("drop",{event:t,row:e,index:n})},handleDragOver:function(t,e,n){this.canDragRow&&this.$emit("dragover",{event:t,row:e,index:n})},handleDragLeave:function(t,e,n){this.canDragRow&&this.$emit("dragleave",{event:t,row:e,index:n})},emitEventForRow:function(t,e,n){return this.$listeners[t]?this.$emit(t,n,e):null},handleColumnDragStart:function(t,e,n){this.canDragColumn&&(this.isDraggingColumn=!0,this.$emit("columndragstart",{event:t,column:e,index:n}))},handleColumnDragEnd:function(t,e,n){this.canDragColumn&&(this.isDraggingColumn=!1,this.$emit("columndragend",{event:t,column:e,index:n}))},handleColumnDrop:function(t,e,n){this.canDragColumn&&this.$emit("columndrop",{event:t,column:e,index:n})},handleColumnDragOver:function(t,e,n){this.canDragColumn&&this.$emit("columndragover",{event:t,column:e,index:n})},handleColumnDragLeave:function(t,e,n){this.canDragColumn&&this.$emit("columndragleave",{event:t,column:e,index:n})},refreshSlots:function(){this.defaultSlots=this.$slots.default||[]}},mounted:function(){this.refreshSlots(),this.checkPredefinedDetailedRows(),this.checkSort()}};const jf=Bf;var zf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-table"},[t._t("default"),t.mobileCards&&t.hasSortablenewColumns?n("b-table-mobile-sort",{attrs:{"current-sort-column":t.currentSortColumn,"sort-multiple":t.sortMultiple,"sort-multiple-data":t.sortMultipleDataComputed,"is-asc":t.isAsc,columns:t.newColumns,placeholder:t.mobileSortPlaceholder,"icon-pack":t.iconPack,"sort-icon":t.sortIcon,"sort-icon-size":t.sortIconSize},on:{sort:function(e,n){return t.sort(e,null,n)},removePriority:function(e){return t.removeSortingPriority(e)}}}):t._e(),!t.paginated||"top"!==t.paginationPosition&&"both"!==t.paginationPosition?t._e():[t._t("pagination",[n("b-table-pagination",t._b({attrs:{"per-page":t.perPage,paginated:t.paginated,rounded:t.paginationRounded,"icon-pack":t.iconPack,total:t.newDataTotal,"current-page":t.newCurrentPage,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,"pagination-order":t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{"update:currentPage":function(e){t.newCurrentPage=e},"update:current-page":function(e){t.newCurrentPage=e},"page-change":function(e){return t.$emit("page-change",e)}}},"b-table-pagination",t.$attrs,!1),[t._t("top-left")],2)])],n("div",{staticClass:"table-wrapper",class:t.tableWrapperClasses,style:t.tableStyle},[n("table",{staticClass:"table",class:t.tableClasses,attrs:{tabindex:!!t.focusable&&0},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])||e.target!==e.currentTarget?null:(e.preventDefault(),t.pressedArrow(-1))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])||e.target!==e.currentTarget?null:(e.preventDefault(),t.pressedArrow(1))}]}},[t.caption?n("caption",{directives:[{name:"show",rawName:"v-show",value:t.showCaption,expression:"showCaption"}]},[t._v(t._s(t.caption))]):t._e(),t.newColumns.length&&t.showHeader?n("thead",[n("tr",[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[t.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isAllChecked,type:t.checkboxType,disabled:t.isAllUncheckable},nativeOn:{change:function(e){return t.checkAll(e)}}})]:t._e()],2):t._e(),t._l(t.visibleColumns,(function(e,i){return n("th",t._b({key:e.newKey+":"+i+"header",class:[e.thClasses,{"is-current-sort":!t.sortMultiple&&t.currentSortColumn===e}],style:e.thStyle,attrs:{draggable:t.canDragColumn},on:{click:function(n){return n.stopPropagation(),t.sort(e,null,n)},dragstart:function(n){return t.handleColumnDragStart(n,e,i)},dragend:function(n){return t.handleColumnDragEnd(n,e,i)},drop:function(n){return t.handleColumnDrop(n,e,i)},dragover:function(n){return t.handleColumnDragOver(n,e,i)},dragleave:function(n){return t.handleColumnDragLeave(n,e,i)}}},"th",e.thAttrs(e),!1),[n("div",{staticClass:"th-wrap",class:{"is-numeric":e.numeric,"is-centered":e.centered}},[e.$scopedSlots&&e.$scopedSlots.header?[n("b-slot-component",{attrs:{component:e,scoped:"",name:"header",tag:"span",props:{column:e,index:i}}})]:[n("span",{staticClass:"is-relative"},[t._v(" "+t._s(e.label)+" "),t.sortMultiple&&t.sortMultipleDataComputed&&t.sortMultipleDataComputed.length>0&&t.sortMultipleDataComputed.filter((function(t){return t.field===e.field})).length>0?[n("b-icon",{class:{"is-desc":"desc"===t.sortMultipleDataComputed.filter((function(t){return t.field===e.field}))[0].order},attrs:{icon:t.sortIcon,pack:t.iconPack,both:"",size:t.sortIconSize}}),t._v(" "+t._s(t.findIndexOfSortData(e))+" "),n("button",{staticClass:"delete is-small multi-sort-cancel-icon",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),t.removeSortingPriority(e)}}})]:n("b-icon",{staticClass:"sort-icon",class:{"is-desc":!t.isAsc,"is-invisible":t.currentSortColumn!==e},attrs:{icon:t.sortIcon,pack:t.iconPack,both:"",size:t.sortIconSize}})],2)]],2)])})),t.checkable&&"right"===t.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[t.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isAllChecked,type:t.checkboxType,disabled:t.isAllUncheckable},nativeOn:{change:function(e){return t.checkAll(e)}}})]:t._e()],2):t._e()],2),t.hasCustomSubheadings?n("tr",{staticClass:"is-subheading"},[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th"):t._e(),t._l(t.visibleColumns,(function(e,i){return n("th",{key:e.newKey+":"+i+"subheading",style:e.style},[n("div",{staticClass:"th-wrap",class:{"is-numeric":e.numeric,"is-centered":e.centered}},[e.$scopedSlots&&e.$scopedSlots.subheading?[n("b-slot-component",{attrs:{component:e,scoped:"",name:"subheading",tag:"span",props:{column:e,index:i}}})]:[t._v(t._s(e.subheading))]],2)])})),t.checkable&&"right"===t.checkboxPosition?n("th"):t._e()],2):t._e(),t.hasSearchablenewColumns?n("tr",[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th"):t._e(),t._l(t.visibleColumns,(function(e,i){return n("th",t._b({key:e.newKey+":"+i+"searchable",class:{"is-sticky":e.sticky},style:e.thStyle},"th",e.thAttrs(e),!1),[n("div",{staticClass:"th-wrap"},[e.searchable?[e.$scopedSlots&&e.$scopedSlots.searchable?[n("b-slot-component",{attrs:{component:e,scoped:!0,name:"searchable",tag:"span",props:{column:e,filters:t.filters}}})]:n("b-input",{attrs:{type:e.numeric?"number":"text"},nativeOn:t._d({},[t.filtersEvent,function(e){return t.onFiltersEvent(e)}]),model:{value:t.filters[e.field],callback:function(n){t.$set(t.filters,e.field,n)},expression:"filters[column.field]"}})]:t._e()],2)])})),t.checkable&&"right"===t.checkboxPosition?n("th"):t._e()],2):t._e()]):t._e(),n("tbody",[t._l(t.visibleData,(function(e,i){return[n("tr",{key:t.customRowKey?e[t.customRowKey]:i,class:[t.rowClass(e,i),{"is-selected":t.isRowSelected(e,t.selected),"is-checked":t.isRowChecked(e)}],attrs:{draggable:t.canDragRow},on:{click:function(n){return t.selectRow(e)},dblclick:function(n){return t.$emit("dblclick",e)},mouseenter:function(n){return t.emitEventForRow("mouseenter",n,e)},mouseleave:function(n){return t.emitEventForRow("mouseleave",n,e)},contextmenu:function(n){return t.$emit("contextmenu",e,n)},dragstart:function(n){return t.handleDragStart(n,e,i)},dragend:function(n){return t.handleDragEnd(n,e,i)},drop:function(n){return t.handleDrop(n,e,i)},dragover:function(n){return t.handleDragOver(n,e,i)},dragleave:function(n){return t.handleDragLeave(n,e,i)}}},[t.showDetailRowIcon?n("td",{staticClass:"chevron-cell"},[t.hasDetailedVisible(e)?n("a",{attrs:{role:"button"},on:{click:function(n){return n.stopPropagation(),t.toggleDetails(e)}}},[n("b-icon",{class:{"is-expanded":t.isVisibleDetailRow(e)},attrs:{icon:t.detailIcon,pack:t.iconPack,both:""}})],1):t._e()]):t._e(),t.checkable&&"left"===t.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isRowChecked(e),type:t.checkboxType,disabled:!t.isRowCheckable(e)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.checkRow(e,i,n)}}})],1):t._e(),t._l(t.visibleColumns,(function(r,a){return[r.$scopedSlots&&r.$scopedSlots.default?[n("b-slot-component",t._b({key:r.newKey+":"+i+":"+a,class:r.getRootClasses(e),style:r.getRootStyle(e),attrs:{component:r,scoped:"",name:"default",tag:"td","data-label":r.label,props:{row:e,column:r,index:i,colindex:a,toggleDetails:t.toggleDetails}},nativeOn:{click:function(n){return t.$emit("cellclick",e,r,i,a)}}},"b-slot-component",r.tdAttrs(e,r),!1))]:t._e()]})),t.checkable&&"right"===t.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isRowChecked(e),type:t.checkboxType,disabled:!t.isRowCheckable(e)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.checkRow(e,i,n)}}})],1):t._e()],2),n("transition",{key:(t.customRowKey?e[t.customRowKey]:i)+"detail",attrs:{name:t.detailTransition}},[t.isActiveDetailRow(e)?n("tr",{staticClass:"detail"},[n("td",{attrs:{colspan:t.columnCount}},[n("div",{staticClass:"detail-container"},[t._t("detail",null,{row:e,index:i})],2)])]):t._e()]),t.isActiveCustomDetailRow(e)?t._t("detail",null,{row:e,index:i}):t._e()]})),t.visibleData.length?t._e():n("tr",{staticClass:"is-empty"},[n("td",{attrs:{colspan:t.columnCount}},[t._t("empty")],2)])],2),void 0!==t.$slots.footer?n("tfoot",[n("tr",{staticClass:"table-footer"},[t.hasCustomFooterSlot()?t._t("footer"):n("th",{attrs:{colspan:t.columnCount}},[t._t("footer")],2)],2)]):t._e()]),t.loading?[t._t("loading",[n("b-loading",{attrs:{"is-full-page":!1,active:t.loading},on:{"update:active":function(e){t.loading=e}}})])]:t._e()],2),t.checkable&&t.hasBottomLeftSlot()||t.paginated&&("bottom"===t.paginationPosition||"both"===t.paginationPosition)?[t._t("pagination",[n("b-table-pagination",t._b({attrs:{"per-page":t.perPage,paginated:t.paginated,rounded:t.paginationRounded,"icon-pack":t.iconPack,total:t.newDataTotal,"current-page":t.newCurrentPage,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,"pagination-order":t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{"update:currentPage":function(e){t.newCurrentPage=e},"update:current-page":function(e){t.newCurrentPage=e},"page-change":function(e){return t.$emit("page-change",e)}}},"b-table-pagination",t.$attrs,!1),[t._t("bottom-left")],2)])]:t._e()],2)},Hf=[];const Vf=void 0,Gf=void 0,Wf=void 0,Uf=!1;var Yf=st({render:zf,staticRenderFns:Hf},Vf,jf,Gf,Uf,Wf,void 0,void 0),qf={install:function(t){"undefined"===typeof tt&&at(t),lt(t,Yf),lt(t,Of)}};ct(qf);const Xf=qf;var Kf={name:"BTabs",mixins:[Rd("tab")],props:{expanded:{type:Boolean,default:function(){return it.defaultTabsExpanded}},type:{type:[String,Object],default:function(){return it.defaultTabsType}},animated:{type:Boolean,default:function(){return it.defaultTabsAnimated}},multiline:Boolean},data:function(){return{currentFocus:this.value}},computed:{mainClasses:function(){return s({"is-fullwidth":this.expanded,"is-vertical":this.vertical,"is-multiline":this.multiline},this.position,this.position&&this.vertical)},navClasses:function(){var t;return[this.type,this.size,(t={},s(t,this.position,this.position&&!this.vertical),s(t,"is-fullwidth",this.expanded),s(t,"is-toggle","is-toggle-rounded"===this.type),t)]}},methods:{giveFocusToTab:function(t){t.$el&&t.$el.focus?t.$el.focus():t.focus&&t.focus()},manageTablistKeydown:function(t){var e=t.key;switch(e){case this.vertical?"ArrowUp":"ArrowLeft":case this.vertical?"Up":"Left":var n=this.getPrevItemIdx(this.currentFocus,!0);null===n&&(n=this.getPrevItemIdx(this.items.length,!0)),null!==n&&this.$refs.tabLink&&n<this.$refs.tabLink.length&&!this.items[n].disabled&&this.giveFocusToTab(this.$refs.tabLink[n]),t.preventDefault();break;case this.vertical?"ArrowDown":"ArrowRight":case this.vertical?"Down":"Right":var i=this.getNextItemIdx(this.currentFocus,!0);null===i&&(i=this.getNextItemIdx(-1,!0)),null!==i&&this.$refs.tabLink&&i<this.$refs.tabLink.length&&!this.items[i].disabled&&this.giveFocusToTab(this.$refs.tabLink[i]),t.preventDefault();break}},manageTabKeydown:function(t,e){var n=t.key;switch(n){case" ":case"Space":case"Spacebar":case"Enter":this.childClick(e),t.preventDefault();break}}}};const Jf=Kf;var Zf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-tabs",class:t.mainClasses},[n("nav",{staticClass:"tabs",class:t.navClasses,on:{keydown:t.manageTablistKeydown}},[t._t("start"),n("ul",{attrs:{"aria-orientation":t.vertical?"vertical":"horizontal",role:"tablist"}},t._l(t.items,(function(e,i){return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"childItem.visible"}],key:e.value,class:[e.headerClass,{"is-active":e.isActive,"is-disabled":e.disabled}],attrs:{role:"tab","aria-controls":e.value+"-content","aria-selected":""+e.isActive}},[e.$scopedSlots.header?n("b-slot-component",{ref:"tabLink",refInFor:!0,attrs:{component:e,name:"header",tag:"a",id:e.value+"-label",tabindex:e.isActive?0:-1},on:{keydown:function(n){return t.manageTabKeydown(n,e)}},nativeOn:{focus:function(e){t.currentFocus=i},click:function(n){return t.childClick(e)}}}):n("a",{ref:"tabLink",refInFor:!0,attrs:{id:e.value+"-label",tabindex:e.isActive?0:-1},on:{focus:function(e){t.currentFocus=i},click:function(n){return t.childClick(e)},keydown:function(n){return t.manageTabKeydown(n,e)}}},[e.icon?n("b-icon",{attrs:{icon:e.icon,pack:e.iconPack,size:t.size}}):t._e(),n("span",[t._v(t._s(e.label))])],1)],1)})),0),t._t("end")],2),n("section",{staticClass:"tab-content",class:{"is-transitioning":t.isTransitioning}},[t._t("default")],2)])},Qf=[];const tp=void 0,ep=void 0,np=void 0,ip=!1;var rp=st({render:Zf,staticRenderFns:Qf},tp,Jf,ep,ip,np,void 0,void 0),ap={name:"BTabItem",mixins:[Nd("tab")],props:{disabled:Boolean},data:function(){return{elementClass:"tab-item",elementRole:"tabpanel"}}};const op=ap,sp=void 0,cp=void 0,lp=void 0,up=void 0;var hp=st({},sp,op,cp,up,lp,void 0,void 0),dp={install:function(t){lt(t,rp),lt(t,hp)}};ct(dp);const fp=dp;var pp={name:"BTag",props:{attached:Boolean,closable:Boolean,type:String,size:String,rounded:Boolean,disabled:Boolean,ellipsis:Boolean,tabstop:{type:Boolean,default:!0},ariaCloseLabel:String,icon:String,iconType:String,iconPack:String,closeType:String,closeIcon:String,closeIconPack:String,closeIconType:String},methods:{close:function(t){this.disabled||this.$emit("close",t)},click:function(t){this.disabled||this.$emit("click",t)}}};const vp=pp;var mp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.attached&&t.closable?n("div",{staticClass:"tags has-addons"},[n("span",{staticClass:"tag",class:[t.type,t.size,{"is-rounded":t.rounded}]},[t.icon?n("b-icon",{attrs:{icon:t.icon,size:t.size,type:t.iconType,pack:t.iconPack}}):t._e(),n("span",{class:{"has-ellipsis":t.ellipsis},on:{click:t.click}},[t._t("default")],2)],1),n("a",{staticClass:"tag",class:[t.size,t.closeType,{"is-rounded":t.rounded},t.closeIcon?"has-delete-icon":"is-delete"],attrs:{role:"button","aria-label":t.ariaCloseLabel,tabindex:!!t.tabstop&&0,disabled:t.disabled},on:{click:t.close,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:(e.preventDefault(),t.close(e))}}},[t.closeIcon?n("b-icon",{attrs:{"custom-class":"",icon:t.closeIcon,size:t.size,type:t.closeIconType,pack:t.closeIconPack}}):t._e()],1)]):n("span",{staticClass:"tag",class:[t.type,t.size,{"is-rounded":t.rounded}]},[t.icon?n("b-icon",{attrs:{icon:t.icon,size:t.size,type:t.iconType,pack:t.iconPack}}):t._e(),n("span",{class:{"has-ellipsis":t.ellipsis},on:{click:t.click}},[t._t("default")],2),t.closable?n("a",{staticClass:"delete is-small",class:t.closeType,attrs:{role:"button","aria-label":t.ariaCloseLabel,disabled:t.disabled,tabindex:!!t.tabstop&&0},on:{click:t.close,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:(e.preventDefault(),t.close(e))}}}):t._e()],1)},gp=[];const yp=void 0,bp=void 0,_p=void 0,wp=!1;var kp=st({render:mp,staticRenderFns:gp},yp,vp,bp,wp,_p,void 0,void 0),xp={name:"BTaglist",props:{attached:Boolean}};const Sp=xp;var Cp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tags",class:{"has-addons":t.attached}},[t._t("default")],2)},Dp=[];const Tp=void 0,Op=void 0,Ap=void 0,Ep=!1;var Pp=st({render:Cp,staticRenderFns:Dp},Tp,Sp,Op,Ep,Ap,void 0,void 0),Mp={install:function(t){lt(t,kp),lt(t,Pp)}};ct(Mp);const Ip=Mp;var Rp,Np={name:"BTaginput",components:(Rp={},s(Rp,zt.name,zt),s(Rp,kp.name,kp),Rp),mixins:[ht],inheritAttrs:!1,props:{value:{type:Array,default:function(){return[]}},data:{type:Array,default:function(){return[]}},type:String,closeType:String,rounded:{type:Boolean,default:!1},attached:{type:Boolean,default:!1},maxtags:{type:[Number,String],required:!1},hasCounter:{type:Boolean,default:function(){return it.defaultTaginputHasCounter}},field:{type:String,default:"value"},autocomplete:Boolean,groupField:String,groupOptions:String,nativeAutocomplete:String,openOnFocus:Boolean,keepFirst:Boolean,disabled:Boolean,ellipsis:Boolean,closable:{type:Boolean,default:!0},ariaCloseLabel:String,confirmKeys:{type:Array,default:function(){return[",","Tab","Enter"]}},removeOnKeys:{type:Array,default:function(){return["Backspace"]}},allowNew:Boolean,onPasteSeparators:{type:Array,default:function(){return[","]}},beforeAdding:{type:Function,default:function(){return!0}},allowDuplicates:{type:Boolean,default:!1},checkInfiniteScroll:{type:Boolean,default:!1},createTag:{type:Function,default:function(t){return t}},appendToBody:Boolean},data:function(){return{tags:Array.isArray(this.value)?this.value.slice(0):this.value||[],newTag:"",isComposing:!1,_elementRef:"autocomplete",_isTaginput:!0}},computed:{listeners:function(){var t=this.$listeners,e=(t.input,y(t,["input"]));return e},rootClasses:function(){return{"is-expanded":this.expanded}},containerClasses:function(){return{"is-focused":this.isFocused,"is-focusable":this.hasInput}},valueLength:function(){return this.newTag.trim().length},hasDefaultSlot:function(){return!!this.$scopedSlots.default},hasEmptySlot:function(){return!!this.$slots.empty},hasHeaderSlot:function(){return!!this.$slots.header},hasFooterSlot:function(){return!!this.$slots.footer},hasInput:function(){return null==this.maxtags||1===this.maxtags||this.tagsLength<this.maxtags},tagsLength:function(){return this.tags.length},separatorsAsRegExp:function(){var t=this.onPasteSeparators;return t.length?new RegExp(t.map((function(t){return t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):null})).join("|"),"g"):null}},watch:{value:function(t){this.tags=Array.isArray(t)?t.slice(0):t||[]},hasInput:function(){this.hasInput||this.onBlur()}},methods:{addTag:function(t){var e=this,n=t||this.newTag.trim();if(n){if(!this.autocomplete){var i=this.separatorsAsRegExp;if(i&&n.match(i))return void n.split(i).map((function(t){return t.trim()})).filter((function(t){return 0!==t.length})).map(this.addTag)}var r=!!this.allowDuplicates||-1===this.tags.indexOf(n);r&&this.beforeAdding(n)&&(1===this.maxtags&&(this.tags=[]),this.tags.push(this.createTag(n)),this.$emit("input",this.tags),this.$emit("add",n)),requestAnimationFrame((function(){e.newTag="",e.$emit("typing","")}))}},getNormalizedTagText:function(t){return"object"===i(t)&&(t=$(t,this.field)),"".concat(t)},customOnBlur:function(t){this.autocomplete||this.addTag(),this.onBlur(t)},onSelect:function(t){var e=this;t&&(this.addTag(t),this.$nextTick((function(){e.newTag=""})))},removeTag:function(t,e){var n=this.tags.splice(t,1)[0];return this.$emit("input",this.tags),this.$emit("remove",n),e&&e.stopPropagation(),this.openOnFocus&&this.$refs.autocomplete&&this.$refs.autocomplete.focus(),n},removeLastTag:function(){this.tagsLength>0&&this.removeTag(this.tagsLength-1)},keydown:function(t){var e=t.key;if(-1===this.removeOnKeys.indexOf(e)||this.newTag.length||this.removeLastTag(),(!this.autocomplete||this.allowNew)&&this.confirmKeys.indexOf(e)>=0){if("Tab"!==e&&t.preventDefault(),"Enter"===e&&this.isComposing)return;this.addTag()}},onTyping:function(t){this.$emit("typing",t.trim())},emitInfiniteScroll:function(){this.$emit("infinite-scroll")}}};const $p=Np;var Lp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"taginput control",class:t.rootClasses},[n("div",{staticClass:"taginput-container",class:[t.statusType,t.size,t.containerClasses],attrs:{disabled:t.disabled},on:{click:function(e){t.hasInput&&t.focus(e)}}},[t._t("selected",t._l(t.tags,(function(e,i){return n("b-tag",{key:t.getNormalizedTagText(e)+i,attrs:{type:t.type,"close-type":t.closeType,size:t.size,rounded:t.rounded,attached:t.attached,tabstop:!1,disabled:t.disabled,ellipsis:t.ellipsis,closable:t.closable,"aria-close-label":t.ariaCloseLabel,title:t.ellipsis&&t.getNormalizedTagText(e)},on:{close:function(e){return t.removeTag(i,e)}}},[t._t("tag",[t._v(" "+t._s(t.getNormalizedTagText(e))+" ")],{tag:e})],2)})),{tags:t.tags}),t.hasInput?n("b-autocomplete",t._g(t._b({ref:"autocomplete",attrs:{data:t.data,field:t.field,icon:t.icon,"icon-pack":t.iconPack,maxlength:t.maxlength,"has-counter":!1,size:t.size,disabled:t.disabled,loading:t.loading,autocomplete:t.nativeAutocomplete,"open-on-focus":t.openOnFocus,"keep-open":t.openOnFocus,"keep-first":t.keepFirst,"group-field":t.groupField,"group-options":t.groupOptions,"use-html5-validation":t.useHtml5Validation,"check-infinite-scroll":t.checkInfiniteScroll,"append-to-body":t.appendToBody,"confirm-keys":t.confirmKeys},on:{typing:t.onTyping,focus:t.onFocus,blur:t.customOnBlur,select:t.onSelect,"infinite-scroll":t.emitInfiniteScroll},nativeOn:{keydown:function(e){return t.keydown(e)},compositionstart:function(e){t.isComposing=!0},compositionend:function(e){t.isComposing=!1}},scopedSlots:t._u([t.hasHeaderSlot?{key:"header",fn:function(){return[t._t("header")]},proxy:!0}:null,t.hasDefaultSlot?{key:"default",fn:function(e){return[t._t("default",null,{option:e.option,index:e.index})]}}:null,t.hasEmptySlot?{key:"empty",fn:function(){return[t._t("empty")]},proxy:!0}:null,t.hasFooterSlot?{key:"footer",fn:function(){return[t._t("footer")]},proxy:!0}:null],null,!0),model:{value:t.newTag,callback:function(e){t.newTag=e},expression:"newTag"}},"b-autocomplete",t.$attrs,!1),t.listeners)):t._e()],2),t.hasCounter&&(t.maxtags||t.maxlength)?n("small",{staticClass:"help counter"},[t.maxlength&&t.valueLength>0?[t._v(" "+t._s(t.valueLength)+" / "+t._s(t.maxlength)+" ")]:t.maxtags?[t._v(" "+t._s(t.tagsLength)+" / "+t._s(t.maxtags)+" ")]:t._e()],2):t._e()])},Fp=[];const Bp=void 0,jp=void 0,zp=void 0,Hp=!1;var Vp=st({render:Lp,staticRenderFns:Fp},Bp,$p,jp,Hp,zp,void 0,void 0),Gp={install:function(t){lt(t,Vp)}};ct(Gp);const Wp=Gp;var Up={install:function(t){lt(t,ko)}};ct(Up);const Yp=Up;var qp={name:"BToast",mixins:[wc],data:function(){return{newDuration:this.duration||it.defaultToastDuration}}};const Xp=qp;var Kp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{"enter-active-class":t.transition.enter,"leave-active-class":t.transition.leave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"toast",class:[t.type,t.position],attrs:{"aria-hidden":!t.isActive,role:"alert"},on:{mouseenter:t.pause,mouseleave:t.removePause}},[t.$slots.default?[t._t("default")]:[n("div",{domProps:{innerHTML:t._s(t.message)}})]],2)])},Jp=[];const Zp=void 0,Qp=void 0,tv=void 0,ev=!1;var nv,iv=st({render:Kp,staticRenderFns:Jp},Zp,Xp,Qp,ev,tv,void 0,void 0),rv={open:function(t){var e;"string"===typeof t&&(t={message:t});var n,i={position:it.defaultToastPosition||"is-top"};t.parent&&(e=t.parent,delete t.parent),Array.isArray(t.message)&&(n=t.message,delete t.message);var r=j(i,t),a="undefined"!==typeof window&&window.Vue?window.Vue:nv||tt,o=a.extend(iv),s=new o({parent:e,el:document.createElement("div"),propsData:r});return n&&(s.$slots.default=n,s.$forceUpdate()),s}},av={install:function(t){nv=t,ut(t,"toast",rv)}};ct(av);const ov=av;var sv={install:function(t){lt(t,Cr)}};ct(sv);const cv=sv;var lv={name:"BUpload",mixins:[ht],inheritAttrs:!1,props:{value:{type:[Object,Function,ys,Array]},multiple:Boolean,disabled:Boolean,accept:String,dragDrop:Boolean,type:{type:String,default:"is-primary"},native:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},data:function(){return{newValue:this.value,dragDropFocus:!1,_elementRef:"input"}},watch:{value:function(t){this.newValue=t,(!t||Array.isArray(t)&&0===t.length)&&(this.$refs.input.value=null),!this.isValid&&!this.dragDrop&&this.checkHtml5Validity()}},methods:{onFileChange:function(t){if(!this.disabled&&!this.loading){this.dragDrop&&this.updateDragDropFocus(!1);var e=t.target.files||t.dataTransfer.files;if(0===e.length){if(!this.newValue)return;this.native&&(this.newValue=null)}else if(this.multiple){var n=!1;!this.native&&this.newValue||(this.newValue=[],n=!0);for(var i=0;i<e.length;i++){var r=e[i];this.checkType(r)&&(this.newValue.push(r),n=!0)}if(!n)return}else{if(this.dragDrop&&1!==e.length)return;var a=e[0];if(this.checkType(a))this.newValue=a;else{if(!this.newValue)return this.clearInput(),void this.checkHtml5Validity();this.newValue=null,this.clearInput()}}this.$emit("input",this.newValue),!this.dragDrop&&this.checkHtml5Validity()}},clearInput:function(){this.$refs.input.value=null},updateDragDropFocus:function(t){this.disabled||this.loading||(this.dragDropFocus=t)},checkType:function(t){if(!this.accept)return!0;var e=this.accept.split(",");if(0===e.length)return!0;for(var n=!1,i=0;i<e.length&&!n;i++){var r=e[i].trim();if(r)if("."===r.substring(0,1)){var a=t.name.toLowerCase().slice(-r.length);a===r.toLowerCase()&&(n=!0)}else t.type.match(r)&&(n=!0)}return n||this.$emit("invalid"),n}}};const uv=lv;var hv=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"upload control",class:{"is-expanded":t.expanded,"is-rounded":t.rounded}},[t.dragDrop?n("div",{staticClass:"upload-draggable",class:[t.type,{"is-loading":t.loading,"is-disabled":t.disabled,"is-hovered":t.dragDropFocus,"is-expanded":t.expanded}],on:{dragover:function(e){return e.preventDefault(),t.updateDragDropFocus(!0)},dragleave:function(e){return e.preventDefault(),t.updateDragDropFocus(!1)},dragenter:function(e){return e.preventDefault(),t.updateDragDropFocus(!0)},drop:function(e){return e.preventDefault(),t.onFileChange(e)}}},[t._t("default")],2):[t._t("default")],n("input",t._b({ref:"input",attrs:{type:"file",multiple:t.multiple,accept:t.accept,disabled:t.disabled},on:{change:t.onFileChange}},"input",t.$attrs,!1))],2)},dv=[];const fv=void 0,pv=void 0,vv=void 0,mv=!1;var gv=st({render:hv,staticRenderFns:dv},fv,uv,pv,mv,vv,void 0,void 0),yv={install:function(t){lt(t,gv)}};ct(yv);const bv=yv;var _v={getOptions:function(){return it},setOptions:function(t){rt(j(it,t,!0))}};const wv=_v;var kv=Object.freeze({Autocomplete:Vt,Breadcrumb:le,Button:_e,Carousel:pn,Checkbox:Nn,Clockpicker:sr,Collapse:Gn,Colorpicker:xa,Datepicker:uo,Datetimepicker:No,Dialog:as,Dropdown:ss,Field:ls,Icon:hs,Image:fs,Input:vs,Loading:Ps,Menu:rc,Message:mc,Modal:_c,Navbar:Gl,Notification:Vc,Numberinput:nu,Pagination:Su,Progress:Gu,Radio:uh,Rate:wh,Select:xh,Skeleton:Mh,Sidebar:Vh,Slider:bd,Snackbar:Md,Steps:Qd,Switch:hf,Table:Xf,Tabs:fp,Tag:Ip,Taginput:Wp,Timepicker:Yp,Toast:ov,Tooltip:cv,Upload:bv}),xv={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in at(t),rt(j(it,e,!0)),kv)t.use(kv[n]);ut(t,"config",wv),t.prototype.$buefy.globalNoticeInterval=null}};ct(xv);const Sv=xv},387:()=>{},1474:(t,e,n)=>{"use strict";
|
|
2
|
+
/**!
|
|
3
|
+
* Sortable 1.10.2
|
|
4
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
5
|
+
* @author owenm <owen23355@gmail.com>
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function s(t,e){if(null==t)return{};var n,i,r={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}function c(t,e){if(null==t)return{};var n,i,r=s(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function l(t){return u(t)||h(t)||d()}function u(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance")}n.r(e),n.d(e,{MultiDrag:()=>Fe,Sortable:()=>Zt,Swap:()=>De,default:()=>He});var f="1.10.2";function p(t){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var v=p(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=p(/Edge/i),g=p(/firefox/i),y=p(/safari/i)&&!p(/chrome/i)&&!p(/android/i),b=p(/iP(ad|od|hone)/i),_=p(/chrome/i)&&p(/android/i),w={capture:!1,passive:!1};function k(t,e,n){t.addEventListener(e,n,!v&&w)}function x(t,e,n){t.removeEventListener(e,n,!v&&w)}function S(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function C(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function D(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&S(t,e):S(t,e))||i&&t===n)return t;if(t===n)break}while(t=C(t))}return null}var T,O=/\s+/g;function A(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(O," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(O," ")}}function E(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"===typeof n?"":"px")}}function P(t,e){var n="";if("string"===typeof t)n=t;else do{var i=E(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function M(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,a=i.length;if(n)for(;r<a;r++)n(i[r],r);return i}return[]}function I(){var t=document.scrollingElement;return t||document.documentElement}function R(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var a,o,s,c,l,u,h;if(t!==window&&t!==I()?(a=t.getBoundingClientRect(),o=a.top,s=a.left,c=a.bottom,l=a.right,u=a.height,h=a.width):(o=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!v))do{if(r&&r.getBoundingClientRect&&("none"!==E(r,"transform")||n&&"static"!==E(r,"position"))){var d=r.getBoundingClientRect();o-=d.top+parseInt(E(r,"border-top-width")),s-=d.left+parseInt(E(r,"border-left-width")),c=o+a.height,l=s+a.width;break}}while(r=r.parentNode);if(i&&t!==window){var f=P(r||t),p=f&&f.a,m=f&&f.d;f&&(o/=m,s/=p,h/=p,u/=m,c=o+u,l=s+h)}return{top:o,left:s,bottom:c,right:l,width:h,height:u}}}function N(t,e,n){var i=z(t,!0),r=R(t)[e];while(i){var a=R(i)[n],o=void 0;if(o="top"===n||"left"===n?r>=a:r<=a,!o)return i;if(i===I())break;i=z(i,!1)}return!1}function $(t,e,n){var i=0,r=0,a=t.children;while(r<a.length){if("none"!==a[r].style.display&&a[r]!==Zt.ghost&&a[r]!==Zt.dragged&&D(a[r],n.draggable,t,!1)){if(i===e)return a[r];i++}r++}return null}function L(t,e){var n=t.lastElementChild;while(n&&(n===Zt.ghost||"none"===E(n,"display")||e&&!S(n,e)))n=n.previousElementSibling;return n||null}function F(t,e){var n=0;if(!t||!t.parentNode)return-1;while(t=t.previousElementSibling)"TEMPLATE"===t.nodeName.toUpperCase()||t===Zt.clone||e&&!S(t,e)||n++;return n}function B(t){var e=0,n=0,i=I();if(t)do{var r=P(t),a=r.a,o=r.d;e+=t.scrollLeft*a,n+=t.scrollTop*o}while(t!==i&&(t=t.parentNode));return[e,n]}function j(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}function z(t,e){if(!t||!t.getBoundingClientRect)return I();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=E(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return I();if(i||e)return n;i=!0}}}while(n=n.parentNode);return I()}function H(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function V(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function G(t,e){return function(){if(!T){var n=arguments,i=this;1===n.length?t.call(i,n[0]):t.apply(i,n),T=setTimeout((function(){T=void 0}),e)}}}function W(){clearTimeout(T),T=void 0}function U(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function Y(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function q(t,e){E(t,"position","absolute"),E(t,"top",e.top),E(t,"left",e.left),E(t,"width",e.width),E(t,"height",e.height)}function X(t){E(t,"position",""),E(t,"top",""),E(t,"left",""),E(t,"width",""),E(t,"height","")}var K="Sortable"+(new Date).getTime();function J(){var t,e=[];return{captureAnimationState:function(){if(e=[],this.options.animation){var t=[].slice.call(this.el.children);t.forEach((function(t){if("none"!==E(t,"display")&&t!==Zt.ghost){e.push({target:t,rect:R(t)});var n=o({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=P(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))}},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(j(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"===typeof n&&n());var r=!1,a=0;e.forEach((function(t){var e=0,n=t.target,o=n.fromRect,s=R(n),c=n.prevFromRect,l=n.prevToRect,u=t.rect,h=P(n,!0);h&&(s.top-=h.f,s.left-=h.e),n.toRect=s,n.thisAnimationDuration&&V(c,s)&&!V(o,s)&&(u.top-s.top)/(u.left-s.left)===(o.top-s.top)/(o.left-s.left)&&(e=Q(u,c,l,i.options)),V(s,o)||(n.prevFromRect=o,n.prevToRect=s,e||(e=i.options.animation),i.animate(n,u,s,e)),e&&(r=!0,a=Math.max(a,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"===typeof n&&n()}),a):"function"===typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){E(t,"transition",""),E(t,"transform","");var r=P(this.el),a=r&&r.a,o=r&&r.d,s=(e.left-n.left)/(a||1),c=(e.top-n.top)/(o||1);t.animatingX=!!s,t.animatingY=!!c,E(t,"transform","translate3d("+s+"px,"+c+"px,0)"),Z(t),E(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),E(t,"transform","translate3d(0,0,0)"),"number"===typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){E(t,"transition",""),E(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}function Z(t){return t.offsetWidth}function Q(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}var tt=[],et={initializeByDefault:!0},nt={mount:function(t){for(var e in et)et.hasOwnProperty(e)&&!(e in t)&&(t[e]=et[e]);tt.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";tt.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](o({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](o({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in tt.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,a(n,o.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var o=this.modifyOption(t,r,t.options[r]);"undefined"!==typeof o&&(t.options[r]=o)}},getEventProperties:function(t,e){var n={};return tt.forEach((function(i){"function"===typeof i.eventProperties&&a(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return tt.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"===typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}};function it(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,a=t.cloneEl,s=t.toEl,c=t.fromEl,l=t.oldIndex,u=t.newIndex,h=t.oldDraggableIndex,d=t.newDraggableIndex,f=t.originalEvent,p=t.putSortable,g=t.extraEventProperties;if(e=e||n&&n[K],e){var y,b=e.options,_="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||v||m?(y=document.createEvent("Event"),y.initEvent(i,!0,!0)):y=new CustomEvent(i,{bubbles:!0,cancelable:!0}),y.to=s||n,y.from=c||n,y.item=r||n,y.clone=a,y.oldIndex=l,y.newIndex=u,y.oldDraggableIndex=h,y.newDraggableIndex=d,y.originalEvent=f,y.pullMode=p?p.lastPutMode:void 0;var w=o({},g,nt.getEventProperties(i,e));for(var k in w)y[k]=w[k];n&&n.dispatchEvent(y),b[_]&&b[_].call(e,y)}}var rt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=c(n,["evt"]);nt.pluginEvent.bind(Zt)(t,e,o({dragEl:ot,parentEl:st,ghostEl:ct,rootEl:lt,nextEl:ut,lastDownEl:ht,cloneEl:dt,cloneHidden:ft,dragStarted:Dt,putSortable:bt,activeSortable:Zt.active,originalEvent:i,oldIndex:pt,oldDraggableIndex:mt,newIndex:vt,newDraggableIndex:gt,hideGhostForTarget:qt,unhideGhostForTarget:Xt,cloneNowHidden:function(){ft=!0},cloneNowShown:function(){ft=!1},dispatchSortableEvent:function(t){at({sortable:e,name:t,originalEvent:i})}},r))};function at(t){it(o({putSortable:bt,cloneEl:dt,targetEl:ot,rootEl:lt,oldIndex:pt,oldDraggableIndex:mt,newIndex:vt,newDraggableIndex:gt},t))}var ot,st,ct,lt,ut,ht,dt,ft,pt,vt,mt,gt,yt,bt,_t,wt,kt,xt,St,Ct,Dt,Tt,Ot,At,Et,Pt=!1,Mt=!1,It=[],Rt=!1,Nt=!1,$t=[],Lt=!1,Ft=[],Bt="undefined"!==typeof document,jt=b,zt=m||v?"cssFloat":"float",Ht=Bt&&!_&&!b&&"draggable"in document.createElement("div"),Vt=function(){if(Bt){if(v)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Gt=function(t,e){var n=E(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=$(t,0,e),a=$(t,1,e),o=r&&E(r),s=a&&E(a),c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+R(r).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+R(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&o["float"]&&"none"!==o["float"]){var u="left"===o["float"]?"left":"right";return!a||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return r&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||c>=i&&"none"===n[zt]||a&&"none"===n[zt]&&c+l>i)?"vertical":"horizontal"},Wt=function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,a=n?t.width:t.height,o=n?e.left:e.top,s=n?e.right:e.bottom,c=n?e.width:e.height;return i===o||r===s||i+a/2===o+c/2},Ut=function(t,e){var n;return It.some((function(i){if(!L(i)){var r=R(i),a=i[K].options.emptyInsertThreshold,o=t>=r.left-a&&t<=r.right+a,s=e>=r.top-a&&e<=r.bottom+a;return a&&o&&s?n=i:void 0}})),n},Yt=function(t){function e(t,n){return function(i,r,a,o){var s=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(i,r,a,o),n)(i,r,a,o);var c=(n?i:r).options.group.name;return!0===t||"string"===typeof t&&t===c||t.join&&t.indexOf(c)>-1}}var n={},r=t.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},qt=function(){!Vt&&ct&&E(ct,"display","none")},Xt=function(){!Vt&&ct&&E(ct,"display","")};Bt&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Kt=function(t){if(ot){t=t.touches?t.touches[0]:t;var e=Ut(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[K]._onDragOver(n)}}},Jt=function(t){ot&&ot.parentNode[K]._isOutsideThisEl(t.target)};function Zt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=a({},e),t[K]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Gt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in nt.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Yt(e),this)"_"===r.charAt(0)&&"function"===typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&Ht,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?k(t,"pointerdown",this._onTapStart):(k(t,"mousedown",this._onTapStart),k(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(k(t,"dragover",this),k(t,"dragenter",this)),It.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),a(this,J())}function Qt(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function te(t,e,n,i,r,a,o,s){var c,l,u=t[K],h=u.options.onMove;return!window.CustomEvent||v||m?(c=document.createEvent("Event"),c.initEvent("move",!0,!0)):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=e,c.from=t,c.dragged=n,c.draggedRect=i,c.related=r||e,c.relatedRect=a||R(e),c.willInsertAfter=s,c.originalEvent=o,t.dispatchEvent(c),h&&(l=h.call(u,c,o)),l}function ee(t){t.draggable=!1}function ne(){Lt=!1}function ie(t,e,n){var i=R(L(n.el,n.options.draggable)),r=10;return e?t.clientX>i.right+r||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+r}function re(t,e,n,i,r,a,o,s){var c=i?t.clientY:t.clientX,l=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!o)if(s&&At<l*r){if(!Rt&&(1===Ot?c>u+l*a/2:c<h-l*a/2)&&(Rt=!0),Rt)d=!0;else if(1===Ot?c<u+At:c>h-At)return-Ot}else if(c>u+l*(1-r)/2&&c<h-l*(1-r)/2)return ae(e);return d=d||o,d&&(c<u+l*a/2||c>h-l*a/2)?c>u+l/2?1:-1:0}function ae(t){return F(ot)<F(t)?1:-1}function oe(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;while(n--)i+=e.charCodeAt(n);return i.toString(36)}function se(t){Ft.length=0;var e=t.getElementsByTagName("input"),n=e.length;while(n--){var i=e[n];i.checked&&Ft.push(i)}}function ce(t){return setTimeout(t,0)}function le(t){return clearTimeout(t)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Tt=null)},_getDirection:function(t,e){return"function"===typeof this.options.direction?this.options.direction.call(this,t,e,ot):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,a=t.type,o=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(o||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,l=i.filter;if(se(n),!ot&&!(/mousedown|pointerdown/.test(a)&&0!==t.button||i.disabled)&&!c.isContentEditable&&(s=D(s,i.draggable,n,!1),(!s||!s.animated)&&ht!==s)){if(pt=F(s),mt=F(s,i.draggable),"function"===typeof l){if(l.call(this,t,s,this))return at({sortable:e,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n}),rt("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(i){if(i=D(c,i.trim(),n,!1),i)return at({sortable:e,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),rt("filter",e,{evt:t}),!0})),l))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!D(c,i.handle,n,!1)||this._prepareDragStart(t,o,s)}}},_prepareDragStart:function(t,e,n){var i,r=this,a=r.el,o=r.options,s=a.ownerDocument;if(n&&!ot&&n.parentNode===a){var c=R(n);if(lt=a,ot=n,st=ot.parentNode,ut=ot.nextSibling,ht=n,yt=o.group,Zt.dragged=ot,_t={target:ot,clientX:(e||t).clientX,clientY:(e||t).clientY},St=_t.clientX-c.left,Ct=_t.clientY-c.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,ot.style["will-change"]="all",i=function(){rt("delayEnded",r,{evt:t}),Zt.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!g&&r.nativeDraggable&&(ot.draggable=!0),r._triggerDragStart(t,e),at({sortable:r,name:"choose",originalEvent:t}),A(ot,o.chosenClass,!0))},o.ignore.split(",").forEach((function(t){M(ot,t.trim(),ee)})),k(s,"dragover",Kt),k(s,"mousemove",Kt),k(s,"touchmove",Kt),k(s,"mouseup",r._onDrop),k(s,"touchend",r._onDrop),k(s,"touchcancel",r._onDrop),g&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ot.draggable=!0),rt("delayStart",this,{evt:t}),!o.delay||o.delayOnTouchOnly&&!e||this.nativeDraggable&&(m||v))i();else{if(Zt.eventCanceled)return void this._onDrop();k(s,"mouseup",r._disableDelayedDrag),k(s,"touchend",r._disableDelayedDrag),k(s,"touchcancel",r._disableDelayedDrag),k(s,"mousemove",r._delayedDragTouchMoveHandler),k(s,"touchmove",r._delayedDragTouchMoveHandler),o.supportPointer&&k(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,o.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ot&&ee(ot),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;x(t,"mouseup",this._disableDelayedDrag),x(t,"touchend",this._disableDelayedDrag),x(t,"touchcancel",this._disableDelayedDrag),x(t,"mousemove",this._delayedDragTouchMoveHandler),x(t,"touchmove",this._delayedDragTouchMoveHandler),x(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?k(document,"pointermove",this._onTouchMove):k(document,e?"touchmove":"mousemove",this._onTouchMove):(k(ot,"dragend",this),k(lt,"dragstart",this._onDragStart));try{document.selection?ce((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(Pt=!1,lt&&ot){rt("dragStarted",this,{evt:e}),this.nativeDraggable&&k(document,"dragover",Jt);var n=this.options;!t&&A(ot,n.dragClass,!1),A(ot,n.ghostClass,!0),Zt.active=this,t&&this._appendGhost(),at({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(wt){this._lastX=wt.clientX,this._lastY=wt.clientY,qt();var t=document.elementFromPoint(wt.clientX,wt.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(wt.clientX,wt.clientY),t===e)break;e=t}if(ot.parentNode[K]._isOutsideThisEl(t),e)do{if(e[K]){var n=void 0;if(n=e[K]._onDragOver({clientX:wt.clientX,clientY:wt.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Xt()}},_onTouchMove:function(t){if(_t){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,a=ct&&P(ct,!0),o=ct&&a&&a.a,s=ct&&a&&a.d,c=jt&&Et&&B(Et),l=(r.clientX-_t.clientX+i.x)/(o||1)+(c?c[0]-$t[0]:0)/(o||1),u=(r.clientY-_t.clientY+i.y)/(s||1)+(c?c[1]-$t[1]:0)/(s||1);if(!Zt.active&&!Pt){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(ct){a?(a.e+=l-(kt||0),a.f+=u-(xt||0)):a={a:1,b:0,c:0,d:1,e:l,f:u};var h="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");E(ct,"webkitTransform",h),E(ct,"mozTransform",h),E(ct,"msTransform",h),E(ct,"transform",h),kt=l,xt=u,wt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!ct){var t=this.options.fallbackOnBody?document.body:lt,e=R(ot,!0,jt,!0,t),n=this.options;if(jt){Et=t;while("static"===E(Et,"position")&&"none"===E(Et,"transform")&&Et!==document)Et=Et.parentNode;Et!==document.body&&Et!==document.documentElement?(Et===document&&(Et=I()),e.top+=Et.scrollTop,e.left+=Et.scrollLeft):Et=I(),$t=B(Et)}ct=ot.cloneNode(!0),A(ct,n.ghostClass,!1),A(ct,n.fallbackClass,!0),A(ct,n.dragClass,!0),E(ct,"transition",""),E(ct,"transform",""),E(ct,"box-sizing","border-box"),E(ct,"margin",0),E(ct,"top",e.top),E(ct,"left",e.left),E(ct,"width",e.width),E(ct,"height",e.height),E(ct,"opacity","0.8"),E(ct,"position",jt?"absolute":"fixed"),E(ct,"zIndex","100000"),E(ct,"pointerEvents","none"),Zt.ghost=ct,t.appendChild(ct),E(ct,"transform-origin",St/parseInt(ct.style.width)*100+"% "+Ct/parseInt(ct.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;rt("dragStart",this,{evt:t}),Zt.eventCanceled?this._onDrop():(rt("setupClone",this),Zt.eventCanceled||(dt=Y(ot),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),A(dt,this.options.chosenClass,!1),Zt.clone=dt),n.cloneId=ce((function(){rt("clone",n),Zt.eventCanceled||(n.options.removeCloneOnHide||lt.insertBefore(dt,ot),n._hideClone(),at({sortable:n,name:"clone"}))})),!e&&A(ot,r.dragClass,!0),e?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(x(document,"mouseup",n._onDrop),x(document,"touchend",n._onDrop),x(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,ot)),k(document,"drop",n),E(ot,"transform","translateZ(0)")),Pt=!0,n._dragStartId=ce(n._dragStarted.bind(n,e,t)),k(document,"selectstart",n),Dt=!0,y&&E(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,a=this.el,s=t.target,c=this.options,l=c.group,u=Zt.active,h=yt===l,d=c.sort,f=bt||u,p=this,v=!1;if(!Lt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=D(s,c.draggable,a,!0),M("dragOver"),Zt.eventCanceled)return v;if(ot.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return $(!1);if(Mt=!1,u&&!c.disabled&&(h?d||(i=!lt.contains(ot)):bt===this||(this.lastPutMode=yt.checkPull(this,u,ot,t))&&l.checkPut(this,u,ot,t))){if(r="vertical"===this._getDirection(t,s),e=R(ot),M("dragOverValid"),Zt.eventCanceled)return v;if(i)return st=lt,I(),this._hideClone(),M("revert"),Zt.eventCanceled||(ut?lt.insertBefore(ot,ut):lt.appendChild(ot)),$(!0);var m=L(a,c.draggable);if(!m||ie(t,r,this)&&!m.animated){if(m===ot)return $(!1);if(m&&a===t.target&&(s=m),s&&(n=R(s)),!1!==te(lt,a,ot,e,s,n,t,!!s))return I(),a.appendChild(ot),st=a,B(),$(!0)}else if(s.parentNode===a){n=R(s);var g,y,b=0,_=ot.parentNode!==a,w=!Wt(ot.animated&&ot.toRect||e,s.animated&&s.toRect||n,r),k=r?"top":"left",x=N(s,"top","top")||N(ot,"top","top"),S=x?x.scrollTop:void 0;if(Tt!==s&&(g=n[k],Rt=!1,Nt=!w&&c.invertSwap||_),b=re(t,s,n,r,w?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,Nt,Tt===s),0!==b){var C=F(ot);do{C-=b,y=st.children[C]}while(y&&("none"===E(y,"display")||y===ct))}if(0===b||y===s)return $(!1);Tt=s,Ot=b;var T=s.nextElementSibling,O=!1;O=1===b;var P=te(lt,a,ot,e,s,n,t,O);if(!1!==P)return 1!==P&&-1!==P||(O=1===P),Lt=!0,setTimeout(ne,30),I(),O&&!T?a.appendChild(ot):s.parentNode.insertBefore(ot,O?T:s),x&&U(x,0,S-x.scrollTop),st=ot.parentNode,void 0===g||Nt||(At=Math.abs(g-R(s)[k])),B(),$(!0)}if(a.contains(ot))return $(!1)}return!1}function M(c,l){rt(c,p,o({evt:t,isOwner:h,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:d,fromSortable:f,target:s,completed:$,onMove:function(n,i){return te(lt,a,ot,e,n,R(n),t,i)},changed:B},l))}function I(){M("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function $(e){return M("dragOverCompleted",{insertion:e}),e&&(h?u._hideClone():u._showClone(p),p!==f&&(A(ot,bt?bt.options.ghostClass:u.options.ghostClass,!1),A(ot,c.ghostClass,!0)),bt!==p&&p!==Zt.active?bt=p:p===Zt.active&&bt&&(bt=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){M("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===ot&&!ot.animated||s===a&&!s.animated)&&(Tt=null),c.dragoverBubble||t.rootEl||s===document||(ot.parentNode[K]._isOutsideThisEl(t.target),!e&&Kt(t)),!c.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){vt=F(ot),gt=F(ot,c.draggable),at({sortable:p,name:"change",toEl:a,newIndex:vt,newDraggableIndex:gt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){x(document,"mousemove",this._onTouchMove),x(document,"touchmove",this._onTouchMove),x(document,"pointermove",this._onTouchMove),x(document,"dragover",Kt),x(document,"mousemove",Kt),x(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;x(t,"mouseup",this._onDrop),x(t,"touchend",this._onDrop),x(t,"pointerup",this._onDrop),x(t,"touchcancel",this._onDrop),x(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;vt=F(ot),gt=F(ot,n.draggable),rt("drop",this,{evt:t}),st=ot&&ot.parentNode,vt=F(ot),gt=F(ot,n.draggable),Zt.eventCanceled||(Pt=!1,Nt=!1,Rt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),le(this.cloneId),le(this._dragStartId),this.nativeDraggable&&(x(document,"drop",this),x(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),y&&E(document.body,"user-select",""),E(ot,"transform",""),t&&(Dt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),ct&&ct.parentNode&&ct.parentNode.removeChild(ct),(lt===st||bt&&"clone"!==bt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),ot&&(this.nativeDraggable&&x(ot,"dragend",this),ee(ot),ot.style["will-change"]="",Dt&&!Pt&&A(ot,bt?bt.options.ghostClass:this.options.ghostClass,!1),A(ot,this.options.chosenClass,!1),at({sortable:this,name:"unchoose",toEl:st,newIndex:null,newDraggableIndex:null,originalEvent:t}),lt!==st?(vt>=0&&(at({rootEl:st,name:"add",toEl:st,fromEl:lt,originalEvent:t}),at({sortable:this,name:"remove",toEl:st,originalEvent:t}),at({rootEl:st,name:"sort",toEl:st,fromEl:lt,originalEvent:t}),at({sortable:this,name:"sort",toEl:st,originalEvent:t})),bt&&bt.save()):vt!==pt&&vt>=0&&(at({sortable:this,name:"update",toEl:st,originalEvent:t}),at({sortable:this,name:"sort",toEl:st,originalEvent:t})),Zt.active&&(null!=vt&&-1!==vt||(vt=pt,gt=mt),at({sortable:this,name:"end",toEl:st,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),lt=ot=st=ct=ut=dt=ht=ft=_t=wt=Dt=vt=gt=pt=mt=Tt=Ot=bt=yt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Ft.forEach((function(t){t.checked=!0})),Ft.length=kt=xt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ot&&(this._onDragOver(t),Qt(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,a=this.options;i<r;i++)t=n[i],D(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||oe(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var r=n.children[i];D(r,this.options.draggable,n,!1)&&(e[t]=r)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return D(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=nt.modifyOption(this,t,e);n[t]="undefined"!==typeof i?i:e,"group"===t&&Yt(n)},destroy:function(){rt("destroy",this);var t=this.el;t[K]=null,x(t,"mousedown",this._onTapStart),x(t,"touchstart",this._onTapStart),x(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(x(t,"dragover",this),x(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ft){if(rt("hideClone",this),Zt.eventCanceled)return;E(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),ft=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ft){if(rt("showClone",this),Zt.eventCanceled)return;lt.contains(ot)&&!this.options.group.revertClone?lt.insertBefore(dt,ot):ut?lt.insertBefore(dt,ut):lt.appendChild(dt),this.options.group.revertClone&&this.animate(ot,dt),E(dt,"display",""),ft=!1}}else this._hideClone()}},Bt&&k(document,"touchmove",(function(t){(Zt.active||Pt)&&t.cancelable&&t.preventDefault()})),Zt.utils={on:k,off:x,css:E,find:M,is:function(t,e){return!!D(t,e,t,!1)},extend:H,throttle:G,closest:D,toggleClass:A,clone:Y,index:F,nextTick:ce,cancelNextTick:le,detectDirection:Gt,getChild:$},Zt.get=function(t){return t[K]},Zt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Zt.utils=o({},Zt.utils,t.utils)),nt.mount(t)}))},Zt.create=function(t,e){return new Zt(t,e)},Zt.version=f;var ue,he,de,fe,pe,ve,me=[],ge=!1;function ye(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"===typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?k(document,"dragover",this._handleAutoScroll):this.options.supportPointer?k(document,"pointermove",this._handleFallbackAutoScroll):e.touches?k(document,"touchmove",this._handleFallbackAutoScroll):k(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?x(document,"dragover",this._handleAutoScroll):(x(document,"pointermove",this._handleFallbackAutoScroll),x(document,"touchmove",this._handleFallbackAutoScroll),x(document,"mousemove",this._handleFallbackAutoScroll)),_e(),be(),W()},nulling:function(){pe=he=ue=ge=ve=de=fe=null,me.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(i,r);if(pe=t,e||m||v||y){ke(t,this.options,a,e);var o=z(a,!0);!ge||ve&&i===de&&r===fe||(ve&&_e(),ve=setInterval((function(){var a=z(document.elementFromPoint(i,r),!0);a!==o&&(o=a,be()),ke(t,n.options,a,e)}),10),de=i,fe=r)}else{if(!this.options.bubbleScroll||z(a,!0)===I())return void be();ke(t,this.options,z(a,!1),!1)}}},a(t,{pluginName:"scroll",initializeByDefault:!0})}function be(){me.forEach((function(t){clearInterval(t.pid)})),me=[]}function _e(){clearInterval(ve)}var we,ke=G((function(t,e,n,i){if(e.scroll){var r,a=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,c=e.scrollSpeed,l=I(),u=!1;he!==n&&(he=n,be(),ue=e.scroll,r=e.scrollFn,!0===ue&&(ue=z(n,!0)));var h=0,d=ue;do{var f=d,p=R(f),v=p.top,m=p.bottom,g=p.left,y=p.right,b=p.width,_=p.height,w=void 0,k=void 0,x=f.scrollWidth,S=f.scrollHeight,C=E(f),D=f.scrollLeft,T=f.scrollTop;f===l?(w=b<x&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),k=_<S&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(w=b<x&&("auto"===C.overflowX||"scroll"===C.overflowX),k=_<S&&("auto"===C.overflowY||"scroll"===C.overflowY));var O=w&&(Math.abs(y-a)<=s&&D+b<x)-(Math.abs(g-a)<=s&&!!D),A=k&&(Math.abs(m-o)<=s&&T+_<S)-(Math.abs(v-o)<=s&&!!T);if(!me[h])for(var P=0;P<=h;P++)me[P]||(me[P]={});me[h].vx==O&&me[h].vy==A&&me[h].el===f||(me[h].el=f,me[h].vx=O,me[h].vy=A,clearInterval(me[h].pid),0==O&&0==A||(u=!0,me[h].pid=setInterval(function(){i&&0===this.layer&&Zt.active._onTouchMove(pe);var e=me[this.layer].vy?me[this.layer].vy*c:0,n=me[this.layer].vx?me[this.layer].vx*c:0;"function"===typeof r&&"continue"!==r.call(Zt.dragged.parentNode[K],n,e,t,pe,me[this.layer].el)||U(me[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==l&&(d=z(d,!1)));ge=u}}),30),xe=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,o=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var c=n||r;o();var l=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(l.clientX,l.clientY);s(),c&&!c.el.contains(u)&&(a("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function Se(){}function Ce(){}function De(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;we=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,r=t.activeSortable,a=t.changed,o=t.cancel;if(r.options.swap){var s=this.sortable.el,c=this.options;if(n&&n!==s){var l=we;!1!==i(n)?(A(n,c.swapClass,!0),we=n):we=null,l&&l!==we&&A(l,c.swapClass,!1)}a(),e(!0),o()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,i=t.dragEl,r=n||this.sortable,a=this.options;we&&A(we,a.swapClass,!1),we&&(a.swap||n&&n.options.swap)&&i!==we&&(r.captureAnimationState(),r!==e&&e.captureAnimationState(),Te(i,we),r.animateAll(),r!==e&&e.animateAll())},nulling:function(){we=null}},a(t,{pluginName:"swap",eventProperties:function(){return{swapItem:we}}})}function Te(t,e){var n,i,r=t.parentNode,a=e.parentNode;r&&a&&!r.isEqualNode(e)&&!a.isEqualNode(t)&&(n=F(t),i=F(e),r.isEqualNode(a)&&n<i&&i++,r.insertBefore(e,r.children[n]),a.insertBefore(t,a.children[i]))}Se.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=$(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:xe},a(Se,{pluginName:"revertOnSpill"}),Ce.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,i=n||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:xe},a(Ce,{pluginName:"removeOnSpill"});var Oe,Ae,Ee,Pe,Me,Ie=[],Re=[],Ne=!1,$e=!1,Le=!1;function Fe(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?k(document,"pointerup",this._deselectMultiDrag):(k(document,"mouseup",this._deselectMultiDrag),k(document,"touchend",this._deselectMultiDrag)),k(document,"keydown",this._checkKeyDown),k(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";Ie.length&&Ae===t?Ie.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;Ee=e},delayEnded:function(){this.isMultiDrag=~Ie.indexOf(Ee)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<Ie.length;i++)Re.push(Y(Ie[i])),Re[i].sortableIndex=Ie[i].sortableIndex,Re[i].draggable=!1,Re[i].style["will-change"]="",A(Re[i],this.options.selectedClass,!1),Ie[i]===Ee&&A(Re[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,r=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Ie.length&&Ae===e&&(je(!0,n),i("clone"),r()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(je(!1,n),Re.forEach((function(t){E(t,"display","")})),e(),Me=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(Re.forEach((function(t){E(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),Me=!0,i())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&Ae&&Ae.multiDrag._deselectMultiDrag(),Ie.forEach((function(t){t.sortableIndex=F(t)})),Ie=Ie.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Le=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){Ie.forEach((function(t){t!==Ee&&E(t,"position","absolute")}));var i=R(Ee,!1,!0,!0);Ie.forEach((function(t){t!==Ee&&q(t,i)})),$e=!0,Ne=!0}n.animateAll((function(){$e=!1,Ne=!1,e.options.animation&&Ie.forEach((function(t){X(t)})),e.options.sort&&ze()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;$e&&~Ie.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,r=t.dragRect;Ie.length>1&&(Ie.forEach((function(t){i.addAnimationState({target:t,rect:$e?R(t):r}),X(t),t.fromRect=r,e.removeAnimationState(t)})),$e=!1,Be(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,r=t.activeSortable,a=t.parentEl,o=t.putSortable,s=this.options;if(i){if(n&&r._hideClone(),Ne=!1,s.animation&&Ie.length>1&&($e||!n&&!r.options.sort&&!o)){var c=R(Ee,!1,!0,!0);Ie.forEach((function(t){t!==Ee&&(q(t,c),a.appendChild(t))})),$e=!0}if(!n)if($e||ze(),Ie.length>1){var l=Me;r._showClone(e),r.options.animation&&!Me&&l&&Re.forEach((function(t){r.addAnimationState({target:t,rect:Pe}),t.fromRect=Pe,t.thisAnimationDuration=null}))}else r._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(Ie.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){Pe=a({},e);var r=P(Ee,!0);Pe.top-=r.f,Pe.left-=r.e}},dragOverAnimationComplete:function(){$e&&($e=!1,ze())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,r=t.sortable,a=t.dispatchSortableEvent,o=t.oldIndex,s=t.putSortable,c=s||this.sortable;if(e){var l=this.options,u=i.children;if(!Le)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),A(Ee,l.selectedClass,!~Ie.indexOf(Ee)),~Ie.indexOf(Ee))Ie.splice(Ie.indexOf(Ee),1),Oe=null,it({sortable:r,rootEl:n,name:"deselect",targetEl:Ee,originalEvt:e});else{if(Ie.push(Ee),it({sortable:r,rootEl:n,name:"select",targetEl:Ee,originalEvt:e}),e.shiftKey&&Oe&&r.el.contains(Oe)){var h,d,f=F(Oe),p=F(Ee);if(~f&&~p&&f!==p)for(p>f?(d=f,h=p):(d=p,h=f+1);d<h;d++)~Ie.indexOf(u[d])||(A(u[d],l.selectedClass,!0),Ie.push(u[d]),it({sortable:r,rootEl:n,name:"select",targetEl:u[d],originalEvt:e}))}else Oe=Ee;Ae=c}if(Le&&this.isMultiDrag){if((i[K].options.sort||i!==n)&&Ie.length>1){var v=R(Ee),m=F(Ee,":not(."+this.options.selectedClass+")");if(!Ne&&l.animation&&(Ee.thisAnimationDuration=null),c.captureAnimationState(),!Ne&&(l.animation&&(Ee.fromRect=v,Ie.forEach((function(t){if(t.thisAnimationDuration=null,t!==Ee){var e=$e?R(t):v;t.fromRect=e,c.addAnimationState({target:t,rect:e})}}))),ze(),Ie.forEach((function(t){u[m]?i.insertBefore(t,u[m]):i.appendChild(t),m++})),o===F(Ee))){var g=!1;Ie.forEach((function(t){t.sortableIndex===F(t)||(g=!0)})),g&&a("update")}Ie.forEach((function(t){X(t)})),c.animateAll()}Ae=c}(n===i||s&&"clone"!==s.lastPutMode)&&Re.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Le=!1,Re.length=0},destroyGlobal:function(){this._deselectMultiDrag(),x(document,"pointerup",this._deselectMultiDrag),x(document,"mouseup",this._deselectMultiDrag),x(document,"touchend",this._deselectMultiDrag),x(document,"keydown",this._checkKeyDown),x(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(("undefined"===typeof Le||!Le)&&Ae===this.sortable&&(!t||!D(t.target,this.options.draggable,this.sortable.el,!1))&&(!t||0===t.button))while(Ie.length){var e=Ie[0];A(e,this.options.selectedClass,!1),Ie.shift(),it({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},a(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[K];e&&e.options.multiDrag&&!~Ie.indexOf(t)&&(Ae&&Ae!==e&&(Ae.multiDrag._deselectMultiDrag(),Ae=e),A(t,e.options.selectedClass,!0),Ie.push(t))},deselect:function(t){var e=t.parentNode[K],n=Ie.indexOf(t);e&&e.options.multiDrag&&~n&&(A(t,e.options.selectedClass,!1),Ie.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return Ie.forEach((function(i){var r;e.push({multiDragElement:i,index:i.sortableIndex}),r=$e&&i!==Ee?-1:$e?F(i,":not(."+t.options.selectedClass+")"):F(i),n.push({multiDragElement:i,index:r})})),{items:l(Ie),clones:[].concat(Re),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),"ctrl"===t?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function Be(t,e){Ie.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function je(t,e){Re.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function ze(){Ie.forEach((function(t){t!==Ee&&t.parentNode&&t.parentNode.removeChild(t)}))}Zt.mount(new ye),Zt.mount(Ce,Se);const He=Zt},655:(t,e,n)=>{"use strict";n.d(e,{CR:()=>c,XA:()=>s,ZT:()=>r,_T:()=>o,fl:()=>l,pi:()=>a});
|
|
9
|
+
/*! *****************************************************************************
|
|
10
|
+
Copyright (c) Microsoft Corporation.
|
|
11
|
+
|
|
12
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
13
|
+
purpose with or without fee is hereby granted.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
16
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
17
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
18
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
19
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
+
***************************************************************************** */
|
|
23
|
+
var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},i(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a.apply(this,arguments)};function o(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function s(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,a=n.call(t),o=[];try{while((void 0===e||e-- >0)&&!(i=a.next()).done)o.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=a["return"])&&n.call(a)}finally{if(r)throw r.error}}return o}function l(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}},7152:(t,e,n)=>{"use strict";n.d(e,{Z:()=>Ot});
|
|
24
|
+
/*!
|
|
25
|
+
* vue-i18n v8.28.2
|
|
26
|
+
* (c) 2022 kazuya kawaguchi
|
|
27
|
+
* Released under the MIT License.
|
|
28
|
+
*/
|
|
29
|
+
var i=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],r=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function a(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function o(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function c(t){return null!==t&&"object"===typeof t}function l(t){return"boolean"===typeof t}function u(t){return"string"===typeof t}var h=Object.prototype.toString,d="[object Object]";function f(t){return h.call(t)===d}function p(t){return null===t||void 0===t}function v(t){return"function"===typeof t}function m(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,i=null;return 1===t.length?c(t[0])||s(t[0])?i=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(c(t[1])||s(t[1]))&&(i=t[1])),{locale:n,params:i}}function g(t){return JSON.parse(JSON.stringify(t))}function y(t,e){if(t.delete(e))return t}function b(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function _(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function k(t,e){return w.call(t,e)}function x(t){for(var e=arguments,n=Object(t),i=1;i<arguments.length;i++){var r=e[i];if(void 0!==r&&null!==r){var a=void 0;for(a in r)k(r,a)&&(c(r[a])?n[a]=x(n[a],r[a]):n[a]=r[a])}}return n}function S(t,e){if(t===e)return!0;var n=c(t),i=c(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=s(t),a=s(e);if(r&&a)return t.length===e.length&&t.every((function(t,n){return S(t,e[n])}));if(r||a)return!1;var o=Object.keys(t),l=Object.keys(e);return o.length===l.length&&o.every((function(n){return S(t[n],e[n])}))}catch(u){return!1}}function C(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function D(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=C(t[e]))})),t}function T(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function O(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Dt){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=x(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(f(t.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Dt?this.$root.$i18n:null;if(i&&(t.i18n.root=this.$root,t.i18n.formatter=i.formatter,t.i18n.fallbackLocale=i.fallbackLocale,t.i18n.formatFallbackMessages=i.formatFallbackMessages,t.i18n.silentTranslationWarn=i.silentTranslationWarn,t.i18n.silentFallbackWarn=i.silentFallbackWarn,t.i18n.pluralizationRules=i.pluralizationRules,t.i18n.preserveDirectiveContent=i.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{},a=t.__i18nBridge||t.__i18n;a.forEach((function(t){r=x(r,JSON.parse(t))})),t.i18n.messages=r}catch(c){0}var o=t.i18n,s=o.sharedMessages;s&&f(s)&&(t.i18n.messages=x(t.i18n.messages,s)),this._i18n=new Dt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Dt?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Dt&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof Dt||f(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Dt||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Dt)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var A={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,r=e.props,a=e.slots,o=i.$i18n;if(o){var s=r.path,c=r.locale,l=r.places,u=a(),h=o.i(s,c,E(u)||l?P(u.default,l):u),d=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return d?t(d,n,h):h}}};function E(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function P(t,e){var n=e?M(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var i=t.every(N);return t.reduce(i?I:R,n)}function M(t){return Array.isArray(t)?t.reduce(R,{}):Object.assign({},t)}function I(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function R(t,e,n){return t[n]=e,t}function N(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var $,L={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,a=e.data,o=r.$i18n;if(!o)return null;var s=null,l=null;u(n.format)?s=n.format:c(n.format)&&(n.format.key&&(s=n.format.key),l=Object.keys(n.format).reduce((function(t,e){var r;return _(i,e)?Object.assign({},t,(r={},r[e]=n.format[e],r)):t}),null));var h=n.locale||o.locale,d=o._ntp(n.value,h,s,l),f=d.map((function(t,e){var n,i=a.scopedSlots&&a.scopedSlots[t.type];return i?i((n={},n[t.type]=t.value,n.index=e,n.parts=d,n)):t.value})),p=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return p?t(p,{attrs:a.attrs,class:a["class"],staticClass:a.staticClass},f):f}};function F(t,e,n){z(t,n)&&V(t,e,n)}function B(t,e,n,i){if(z(t,n)){var r=n.context.$i18n;H(t,n)&&S(e.value,e.oldValue)&&S(t._localeMessage,r.getLocaleMessage(r.locale))||V(t,e,n)}}function j(t,e,n,i){var r=n.context;if(r){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else a("Vue instance does not exists in VNode context")}function z(t,e){var n=e.context;return n?!!n.$i18n||(a("VueI18n instance does not exists in Vue instance"),!1):(a("Vue instance does not exists in VNode context"),!1)}function H(t,e){var n=e.context;return t._locale===n.$i18n.locale}function V(t,e,n){var i,r,o=e.value,s=G(o),c=s.path,l=s.locale,u=s.args,h=s.choice;if(c||l||u)if(c){var d=n.context;t._vt=t.textContent=null!=h?(i=d.$i18n).tc.apply(i,[c,h].concat(W(l,u))):(r=d.$i18n).t.apply(r,[c].concat(W(l,u))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else a("`path` is required in v-t directive");else a("value type not supported")}function G(t){var e,n,i,r;return u(t)?e=t:f(t)&&(e=t.path,n=t.locale,i=t.args,r=t.choice),{path:e,locale:n,args:i,choice:r}}function W(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||f(e))&&n.push(e),n}function U(t,e){void 0===e&&(e={bridge:!1}),U.installed=!0,$=t;$.version&&Number($.version.split(".")[0]);T($),$.mixin(O(e.bridge)),$.directive("t",{bind:F,update:B,unbind:j}),$.component(A.name,A),$.component(L.name,L);var n=$.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var Y=function(){this._caches=Object.create(null)};Y.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=K(t),this._caches[t]=n),J(n,e)};var q=/^(?:\d)+/,X=/^(?:\w)+/;function K(t){var e=[],n=0,i="";while(n<t.length){var r=t[n++];if("{"===r){i&&e.push({type:"text",value:i}),i="";var a="";r=t[n++];while(void 0!==r&&"}"!==r)a+=r,r=t[n++];var o="}"===r,s=q.test(a)?"list":o&&X.test(a)?"named":"unknown";e.push({value:a,type:s})}else"%"===r?"{"!==t[n]&&(i+=r):i+=r}return i&&e.push({type:"text",value:i}),e}function J(t,e){var n=[],i=0,r=Array.isArray(e)?"list":c(e)?"named":"unknown";if("unknown"===r)return n;while(i<t.length){var a=t[i];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(e[parseInt(a.value,10)]);break;case"named":"named"===r&&n.push(e[a.value]);break;case"unknown":0;break}i++}return n}var Z=0,Q=1,tt=2,et=3,nt=0,it=1,rt=2,at=3,ot=4,st=5,ct=6,lt=7,ut=8,ht=[];ht[nt]={ws:[nt],ident:[at,Z],"[":[ot],eof:[lt]},ht[it]={ws:[it],".":[rt],"[":[ot],eof:[lt]},ht[rt]={ws:[rt],ident:[at,Z],0:[at,Z],number:[at,Z]},ht[at]={ident:[at,Z],0:[at,Z],number:[at,Z],ws:[it,Q],".":[rt,Q],"[":[ot,Q],eof:[lt,Q]},ht[ot]={"'":[st,Z],'"':[ct,Z],"[":[ot,tt],"]":[it,et],eof:ut,else:[ot,Z]},ht[st]={"'":[ot,Z],eof:ut,else:[st,Z]},ht[ct]={'"':[ot,Z],eof:ut,else:[ct,Z]};var dt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ft(t){return dt.test(t)}function pt(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function vt(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function mt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(ft(e)?pt(e):"*"+e)}function gt(t){var e,n,i,r,a,o,s,c=[],l=-1,u=nt,h=0,d=[];function f(){var e=t[l+1];if(u===st&&"'"===e||u===ct&&'"'===e)return l++,i="\\"+e,d[Z](),!0}d[Q]=function(){void 0!==n&&(c.push(n),n=void 0)},d[Z]=function(){void 0===n?n=i:n+=i},d[tt]=function(){d[Z](),h++},d[et]=function(){if(h>0)h--,u=ot,d[Z]();else{if(h=0,void 0===n)return!1;if(n=mt(n),!1===n)return!1;d[Q]()}};while(null!==u)if(l++,e=t[l],"\\"!==e||!f()){if(r=vt(e),s=ht[u],a=s[r]||s["else"]||ut,a===ut)return;if(u=a[0],o=d[a[1]],o&&(i=a[2],i=void 0===i?e:i,!1===o()))return;if(u===lt)return c}}var yt=function(){this._cache=Object.create(null)};yt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=gt(t),e&&(this._cache[t]=e)),e||[]},yt.prototype.getPathValue=function(t,e){if(!c(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var i=n.length,r=t,a=0;while(a<i){var o=r[n[a]];if(void 0===o||null===o)return null;r=o,a++}return r};var bt,_t=/<\/?[\w\s="/.':;#-\/]+>/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,kt=/^@(?:\.([a-zA-Z]+))?:/,xt=/[()]/g,St={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ct=new Y,Dt=function(t){var e=this;void 0===t&&(t={}),!$&&"undefined"!==typeof window&&window.Vue&&U(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},a=t.dateTimeFormats||t.datetimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ct,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new yt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex){var r=i.getChoiceIndex;return r.call(e,t,n)}var a=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):a(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!p(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:a,numberFormats:o})},Tt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Dt.prototype._checkLocaleMessage=function(t,e,n){var i=[],r=function(t,e,n,i){if(f(n))Object.keys(n).forEach((function(a){var o=n[a];f(o)?(i.push(a),i.push("."),r(t,e,o,i),i.pop(),i.pop()):(i.push(a),r(t,e,o,i),i.pop())}));else if(s(n))n.forEach((function(n,a){f(n)?(i.push("["+a+"]"),i.push("."),r(t,e,n,i),i.pop(),i.pop()):(i.push("["+a+"]"),r(t,e,n,i),i.pop())}));else if(u(n)){var c=_t.test(n);if(c){var l="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?a(l):"error"===t&&o(l)}}};r(e,t,n,i)},Dt.prototype._initVM=function(t){var e=$.config.silent;$.config.silent=!0,this._vm=new $({data:t,__VUE18N__INSTANCE__:!0}),$.config.silent=e},Dt.prototype.destroyVM=function(){this._vm.$destroy()},Dt.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Dt.prototype.unsubscribeDataChanging=function(t){y(this._dataListeners,t)},Dt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=b(t._dataListeners),n=e.length;while(n--)$.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},Dt.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){i.$set(i,"locale",t),i.$forceUpdate()}),{immediate:!0})},Dt.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Tt.vm.get=function(){return this._vm},Tt.messages.get=function(){return g(this._getMessages())},Tt.dateTimeFormats.get=function(){return g(this._getDateTimeFormats())},Tt.numberFormats.get=function(){return g(this._getNumberFormats())},Tt.availableLocales.get=function(){return Object.keys(this.messages).sort()},Tt.locale.get=function(){return this._vm.locale},Tt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Tt.fallbackLocale.get=function(){return this._vm.fallbackLocale},Tt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Tt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Tt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Tt.missing.get=function(){return this._missing},Tt.missing.set=function(t){this._missing=t},Tt.formatter.get=function(){return this._formatter},Tt.formatter.set=function(t){this._formatter=t},Tt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Tt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Tt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Tt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Tt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Tt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Tt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Tt.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},Tt.postTranslation.get=function(){return this._postTranslation},Tt.postTranslation.set=function(t){this._postTranslation=t},Tt.sync.get=function(){return this._sync},Tt.sync.set=function(t){this._sync=t},Dt.prototype._getMessages=function(){return this._vm.messages},Dt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Dt.prototype._getNumberFormats=function(){return this._vm.numberFormats},Dt.prototype._warnDefault=function(t,e,n,i,r,a){if(!p(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,i,r]);if(u(o))return o}else 0;if(this._formatFallbackMessages){var s=m.apply(void 0,r);return this._render(e,a,s.params,e)}return e},Dt.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:p(t))&&!p(this._root)&&this._fallbackRoot},Dt.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Dt.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Dt.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Dt.prototype._interpolate=function(t,e,n,i,r,a,o){if(!e)return null;var c,l=this._path.getPathValue(e,n);if(s(l)||f(l))return l;if(p(l)){if(!f(e))return null;if(c=e[n],!u(c)&&!v(c))return null}else{if(!u(l)&&!v(l))return null;c=l}return u(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,i,"raw",a,o)),this._render(c,r,a,n)},Dt.prototype._link=function(t,e,n,i,r,a,o){var c=n,l=c.match(wt);for(var u in l)if(l.hasOwnProperty(u)){var h=l[u],d=h.match(kt),f=d[0],p=d[1],v=h.replace(f,"").replace(xt,"");if(_(o,v))return c;o.push(v);var m=this._interpolate(t,e,v,i,"raw"===r?"string":r,"raw"===r?void 0:a,o);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,v,i,r,a)}m=this._warnDefault(t,v,m,i,s(a)?a:[a],r),this._modifiers.hasOwnProperty(p)?m=this._modifiers[p](m):St.hasOwnProperty(p)&&(m=St[p](m)),o.pop(),c=m?c.replace(h,m):c}return c},Dt.prototype._createMessageContext=function(t,e,n,i){var r=this,a=s(t)?t:[],o=c(t)?t:{},l=function(t){return a[t]},u=function(t){return o[t]},h=this._getMessages(),d=this.locale;return{list:l,named:u,values:t,formatter:e,path:n,messages:h,locale:d,linked:function(t){return r._interpolate(d,h[d]||{},t,null,i,void 0,[t])}}},Dt.prototype._render=function(t,e,n,i){if(v(t))return t(this._createMessageContext(n,this._formatter||Ct,i,e));var r=this._formatter.interpolate(t,n,i);return r||(r=Ct.interpolate(t,n,i)),"string"!==e||u(r)?r:r.join("")},Dt.prototype._appendItemToChain=function(t,e,n){var i=!1;return _(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Dt.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var a=r.join("-");i=this._appendItemToChain(t,a,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Dt.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r<e.length&&l(i);r++){var a=e[r];u(a)&&(i=this._appendLocaleToChain(t,a,n))}return i},Dt.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];var i,r=[t];while(s(r))r=this._appendBlockToChain(n,r,e);i=s(e)?e:c(e)?e["default"]?e["default"]:null:e,r=u(i)?[i]:i,r&&this._appendBlockToChain(n,r,null),this._localeChainCache[t]=n}return n},Dt.prototype._translate=function(t,e,n,i,r,a,o){for(var s,c=this._getLocaleChain(e,n),l=0;l<c.length;l++){var u=c[l];if(s=this._interpolate(u,t[u],i,r,a,o,[i]),!p(s))return s}return null},Dt.prototype._t=function(t,e,n,i){var r,a=[],o=arguments.length-4;while(o-- >0)a[o]=arguments[o+4];if(!t)return"";var s=m.apply(void 0,a);this._escapeParameterHtml&&(s.params=D(s.params));var c=s.locale||e,l=this._translate(n,c,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(a))}return l=this._warnDefault(c,t,l,i,a,"string"),this._postTranslation&&null!==l&&void 0!==l&&(l=this._postTranslation(l,t)),l},Dt.prototype.t=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Dt.prototype._i=function(t,e,n,i,r){var a=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,a,i,[r],"raw")},Dt.prototype.i=function(t,e,n){return t?(u(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Dt.prototype._tc=function(t,e,n,i,r){var a,o=[],s=arguments.length-5;while(s-- >0)o[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var c={count:r,n:r},l=m.apply(void 0,o);return l.params=Object.assign(c,l.params),o=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((a=this)._t.apply(a,[t,e,n,i].concat(o)),r)},Dt.prototype.fetchChoice=function(t,e){if(!t||!u(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Dt.prototype.tc=function(t,e){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Dt.prototype._te=function(t,e,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var a=m.apply(void 0,i).locale||e;return this._exist(n[a],t)},Dt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Dt.prototype.getLocaleMessage=function(t){return g(this._vm.messages[t]||{})},Dt.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Dt.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,x("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Dt.prototype.getDateTimeFormat=function(t){return g(this._vm.dateTimeFormats[t]||{})},Dt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Dt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,x(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Dt.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Dt.prototype._localizeDateTime=function(t,e,n,i,r,a){for(var o=e,s=i[o],c=this._getLocaleChain(e,n),l=0;l<c.length;l++){var u=c[l];if(s=i[u],o=u,!p(s)&&!p(s[r]))break}if(p(s)||p(s[r]))return null;var h,d=s[r];if(a)h=new Intl.DateTimeFormat(o,Object.assign({},d,a));else{var f=o+"__"+r;h=this._dateTimeFormatters[f],h||(h=this._dateTimeFormatters[f]=new Intl.DateTimeFormat(o,d))}return h.format(t)},Dt.prototype._d=function(t,e,n,i){if(!n){var r=i?new Intl.DateTimeFormat(e,i):new Intl.DateTimeFormat(e);return r.format(t)}var a=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n,i);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return a||""},Dt.prototype.d=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.locale,a=null,o=null;return 1===e.length?(u(e[0])?a=e[0]:c(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(a=e[0].key)),o=Object.keys(e[0]).reduce((function(t,n){var i;return _(r,n)?Object.assign({},t,(i={},i[n]=e[0][n],i)):t}),null)):2===e.length&&(u(e[0])&&(a=e[0]),u(e[1])&&(i=e[1])),this._d(t,i,a,o)},Dt.prototype.getNumberFormat=function(t){return g(this._vm.numberFormats[t]||{})},Dt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Dt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,x(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Dt.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Dt.prototype._getNumberFormatter=function(t,e,n,i,r,a){for(var o=e,s=i[o],c=this._getLocaleChain(e,n),l=0;l<c.length;l++){var u=c[l];if(s=i[u],o=u,!p(s)&&!p(s[r]))break}if(p(s)||p(s[r]))return null;var h,d=s[r];if(a)h=new Intl.NumberFormat(o,Object.assign({},d,a));else{var f=o+"__"+r;h=this._numberFormatters[f],h||(h=this._numberFormatters[f]=new Intl.NumberFormat(o,d))}return h},Dt.prototype._n=function(t,e,n,i){if(!Dt.availabilities.numberFormat)return"";if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.format(t)}var a=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=a&&a.format(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},i))}return o||""},Dt.prototype.n=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.locale,a=null,o=null;return 1===e.length?u(e[0])?a=e[0]:c(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(a=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var r;return _(i,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(u(e[0])&&(a=e[0]),u(e[1])&&(r=e[1])),this._n(t,r,a,o)},Dt.prototype._ntp=function(t,e,n,i){if(!Dt.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.formatToParts(t)}var a=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=a&&a.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(Dt.prototype,Tt),Object.defineProperty(Dt,"availabilities",{get:function(){if(!bt){var t="undefined"!==typeof Intl;bt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return bt}}),Dt.install=U,Dt.version="8.28.2";const Ot=Dt},6168:function(t,e,n){
|
|
30
|
+
/*!
|
|
31
|
+
* vue-konva v2.1.7 - https://github.com/konvajs/vue-konva#readme
|
|
32
|
+
* MIT Licensed
|
|
33
|
+
*/
|
|
34
|
+
(function(e,i){t.exports=i(n(538),n(9649))})(0,(function(t,e){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){t.exports=n(3)},function(t,n){t.exports=e},function(t,e,n){"use strict";n.r(e);var i=n(0),r=n.n(i);function a(t){var e=t.getLayer()||t.getStage();e&&e.batchDraw()}var o={key:!0,style:!0,elm:!0,isRootInsert:!0},s=".vue-konva-event";function c(t,e,n,i){void 0===e&&(e={}),void 0===n&&(n={});var r=t._konvaNode,c={},l=!1;for(var u in n)if(!o[u]){var h="on"===u.slice(0,2),d=n[u]!==e[u];if(h&&d){var f=u.substr(2).toLowerCase();"content"===f.substr(0,7)&&(f="content"+f.substr(7,1).toUpperCase()+f.substr(8)),r.off(f+s,n[u])}var p=!e.hasOwnProperty(u);p&&r.setAttr(u,void 0)}for(var v in e)if(!o[v]){var m="on"===v.slice(0,2),g=n[v]!==e[v];if(m&&g){var y=v.substr(2).toLowerCase();"content"===y.substr(0,7)&&(y="content"+y.substr(7,1).toUpperCase()+y.substr(8)),e[v]&&(r.off(y+s),r.on(y+s,e[v]))}!m&&(e[v]!==n[v]||i&&e[v]!==r.getAttr(v))&&(l=!0,c[v]=e[v])}l&&(r.setAttrs(c),a(r))}var l="v",u="_konvaNode";function h(t){var e={};return Object.keys(t).forEach((function(n){e["on"+n]=t[n]})),e}function d(t){function e(t){return t._konvaNode?t:t.$parent?e(t.$parent):{}}return e(t.$parent)}function f(t){return t?t.$options[u]?t.getNode():0===t.$children.length?null:f(t.$children[0]):null}function p(t,e){var n=!1,i=t.componentOptions.children||[],r=[];i.forEach((function(t){var e=f(t.componentInstance);e&&r.push(e);var n=t.elm,i=t.componentInstance;if(n&&n.tagName&&i&&!e){var a=n&&n.tagName.toLowerCase();console.error('vue-konva error: You are trying to render "'+a+'" inside your component tree. Looks like it is not a Konva node. You can render only Konva components inside the Stage.')}})),r.forEach((function(t,e){t.getZIndex()!==e&&(t.setZIndex(e),n=!0)})),n&&a(e)}function v(){return v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},v.apply(this,arguments)}var m=r.a.component("v-stage",{render:function(t){return t("div",this.$slots.default)},watch:{config:{handler:function(t){this.uploadKonva()},deep:!0}},props:{config:{type:Object,default:function(){return{}}},__useStrictMode:{type:Boolean}},created:function(){this._konvaNode=new window.Konva.Stage({width:this.config.width,height:this.config.height,container:document.createElement("div")})},mounted:function(){this.$el.innerHTML="",this._konvaNode.container(this.$el),this.uploadKonva(),this.validateChildren()},updated:function(){this.uploadKonva(),this.uploadKonva(),p(this.$vnode,this._konvaNode)},beforeDestroy:function(){this._konvaNode.destroy()},methods:{getNode:function(){return this._konvaNode},getStage:function(){return this._konvaNode},uploadKonva:function(){var t=this.oldProps||{},e=v({},this.$attrs,this.config,h(this.$listeners));c(this,e,t,this.__useStrictMode),this.oldProps=e},validateChildren:function(){}}});function g(){return g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},g.apply(this,arguments)}var y=".vue-konva-event",b={Group:!0,Layer:!0,FastLayer:!0,Label:!0},_=function(t){var e;return e={},e[u]=!0,e.render=function(e){var n=b[t];return n?e("template",this.$slots.default):null},e.watch={config:{handler:function(t){this.uploadKonva()},deep:!0}},e.props={config:{type:Object,default:function(){return{}}},__useStrictMode:{type:Boolean}},e.created=function(){this.initKonva()},e.mounted=function(){var t=d(this),e=t._konvaNode;e.add(this._konvaNode),a(this._konvaNode)},e.updated=function(){this.uploadKonva(),p(this.$vnode,this._konvaNode)},e.destroyed=function(){a(this._konvaNode),this._konvaNode.destroy(),this._konvaNode.off(y)},e.methods={getNode:function(){return this._konvaNode},getStage:function(){return this._konvaNode},initKonva:function(){var e=window.Konva[t];e?(this._konvaNode=new e,this._konvaNode.VueComponent=this,this.uploadKonva()):console.error("vue-konva error: Can not find node "+t)},uploadKonva:function(){var t=this.oldProps||{},e=g({},this.$attrs,this.config,h(this.$listeners));c(this,e,t,this.__useStrictMode),this.oldProps=e}},e};"undefined"===typeof window||window.Konva||n(2);var w=["Layer","FastLayer","Group","Label","Rect","Circle","Ellipse","Wedge","Line","Sprite","Image","Text","TextPath","Star","Ring","Arc","Tag","Path","RegularPolygon","Arrow","Shape","Transformer"],k=[{name:"Stage",component:m}].concat(w.map((function(t){return{name:t,component:_(t)}}))),x={install:function(t,e){var n=l;e&&e.prefix&&(n=e.prefix),k.forEach((function(e){t.component(""+n+e.name,e.component)}))}};e["default"]=x;"undefined"!==typeof window&&window.Vue&&window.Vue.use(x)}])["default"]}))},538:(t,e,n)=>{"use strict";n.r(e),n.d(e,{EffectScope:()=>di,computed:()=>be,customRef:()=>ue,default:()=>oa,defineAsyncComponent:()=>Li,defineComponent:()=>tr,del:()=>Qt,effectScope:()=>fi,getCurrentInstance:()=>yt,getCurrentScope:()=>vi,h:()=>_i,inject:()=>bi,isProxy:()=>zt,isReactive:()=>Ft,isReadonly:()=>jt,isRef:()=>ne,isShallow:()=>Bt,markRaw:()=>Vt,mergeDefaults:()=>pn,nextTick:()=>Ri,onActivated:()=>Ui,onBeforeMount:()=>ji,onBeforeUnmount:()=>Gi,onBeforeUpdate:()=>Hi,onDeactivated:()=>Yi,onErrorCaptured:()=>Zi,onMounted:()=>zi,onRenderTracked:()=>Xi,onRenderTriggered:()=>Ki,onScopeDispose:()=>mi,onServerPrefetch:()=>qi,onUnmounted:()=>Wi,onUpdated:()=>Vi,provide:()=>gi,proxyRefs:()=>ce,reactive:()=>Nt,readonly:()=>ve,ref:()=>ie,set:()=>Zt,shallowReactive:()=>$t,shallowReadonly:()=>ye,shallowRef:()=>re,toRaw:()=>Ht,toRef:()=>de,toRefs:()=>he,triggerRef:()=>oe,unref:()=>se,useAttrs:()=>hn,useCssModule:()=>Ni,useCssVars:()=>$i,useListeners:()=>dn,useSlots:()=>un,version:()=>Qi,watch:()=>ui,watchEffect:()=>ai,watchPostEffect:()=>oi,watchSyncEffect:()=>si});
|
|
35
|
+
/*!
|
|
36
|
+
* Vue.js v2.7.13
|
|
37
|
+
* (c) 2014-2022 Evan You
|
|
38
|
+
* Released under the MIT License.
|
|
39
|
+
*/
|
|
40
|
+
var i=Object.freeze({}),r=Array.isArray;function a(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function l(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function f(t){return"[object Object]"===d.call(t)}function p(t){return"[object RegExp]"===d.call(t)}function v(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return o(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var _=b("slot,component",!0),w=b("key,ref,slot,slot-scope,is");function k(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var x=Object.prototype.hasOwnProperty;function S(t,e){return x.call(t,e)}function C(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var D=/-(\w)/g,T=C((function(t){return t.replace(D,(function(t,e){return e?e.toUpperCase():""}))})),O=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,E=C((function(t){return t.replace(A,"-$1").toLowerCase()}));function P(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function M(t,e){return t.bind(e)}var I=Function.prototype.bind?M:P;function R(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function N(t,e){for(var n in e)t[n]=e[n];return t}function $(t){for(var e={},n=0;n<t.length;n++)t[n]&&N(e,t[n]);return e}function L(t,e,n){}var F=function(t,e,n){return!1},B=function(t){return t};function j(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}function z(t,e){if(t===e)return!0;var n=h(t),i=h(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),a=Array.isArray(e);if(r&&a)return t.length===e.length&&t.every((function(t,n){return z(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||a)return!1;var o=Object.keys(t),s=Object.keys(e);return o.length===s.length&&o.every((function(n){return z(t[n],e[n])}))}catch(c){return!1}}function H(t,e){for(var n=0;n<t.length;n++)if(z(t[n],e))return n;return-1}function V(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function G(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var W="data-server-rendered",U=["component","directive","filter"],Y=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],q={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:F,isReservedAttr:F,isUnknownElement:F,getTagNamespace:L,parsePlatformTagName:B,mustUseProp:F,async:!0,_lifecycleHooks:Y},X=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function J(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var Z=new RegExp("[^".concat(X.source,".$_\\d]"));function Q(t){if(!Z.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var tt="__proto__"in{},et="undefined"!==typeof window,nt=et&&window.navigator.userAgent.toLowerCase(),it=nt&&/msie|trident/.test(nt),rt=nt&&nt.indexOf("msie 9.0")>0,at=nt&&nt.indexOf("edge/")>0;nt&&nt.indexOf("android");var ot=nt&&/iphone|ipad|ipod|ios/.test(nt);nt&&/chrome\/\d+/.test(nt),nt&&/phantomjs/.test(nt);var st,ct=nt&&nt.match(/firefox\/(\d+)/),lt={}.watch,ut=!1;if(et)try{var ht={};Object.defineProperty(ht,"passive",{get:function(){ut=!0}}),window.addEventListener("test-passive",null,ht)}catch(Rh){}var dt=function(){return void 0===st&&(st=!et&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),st},ft=et&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var vt,mt="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);vt="undefined"!==typeof Set&&pt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var gt=null;function yt(){return gt&&{proxy:gt}}function bt(t){void 0===t&&(t=null),t||gt&>._scope.off(),gt=t,t&&t._scope.on()}var _t=function(){function t(t,e,n,i,r,a,o,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),wt=function(t){void 0===t&&(t="");var e=new _t;return e.text=t,e.isComment=!0,e};function kt(t){return new _t(void 0,void 0,void 0,String(t))}function xt(t){var e=new _t(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var St=0,Ct=[],Dt=function(){for(var t=0;t<Ct.length;t++){var e=Ct[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}Ct.length=0},Tt=function(){function t(){this._pending=!1,this.id=St++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Ct.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,i=e.length;n<i;n++){var r=e[n];0,r.update()}},t}();Tt.target=null;var Ot=[];function At(t){Ot.push(t),Tt.target=t}function Et(){Ot.pop(),Tt.target=Ot[Ot.length-1]}var Pt=Array.prototype,Mt=Object.create(Pt),It=["push","pop","shift","unshift","splice","sort","reverse"];It.forEach((function(t){var e=Pt[t];J(Mt,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,a=e.apply(this,n),o=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&o.observeArray(r),o.dep.notify(),a}))}));var Rt=new WeakMap;function Nt(t){return Lt(t,!1),t}function $t(t){return Lt(t,!0),J(t,"__v_isShallow",!0),t}function Lt(t,e){if(!jt(t)){Kt(t,e,dt());0}}function Ft(t){return jt(t)?Ft(t["__v_raw"]):!(!t||!t.__ob__)}function Bt(t){return!(!t||!t.__v_isShallow)}function jt(t){return!(!t||!t.__v_isReadonly)}function zt(t){return Ft(t)||jt(t)}function Ht(t){var e=t&&t["__v_raw"];return e?Ht(e):t}function Vt(t){return h(t)&&Rt.set(t,!0),t}var Gt=Object.getOwnPropertyNames(Mt),Wt={},Ut=!0;function Yt(t){Ut=t}var qt={notify:L,depend:L,addSub:L,removeSub:L},Xt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?qt:new Tt,this.vmCount=0,J(t,"__ob__",this),r(t)){if(!n)if(tt)t.__proto__=Mt;else for(var i=0,a=Gt.length;i<a;i++){var o=Gt[i];J(t,o,Mt[o])}e||this.observeArray(t)}else{var s=Object.keys(t);for(i=0;i<s.length;i++){o=s[i];Jt(t,o,Wt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Kt(t[e],!1,this.mock)},t}();function Kt(t,e,n){return t&&S(t,"__ob__")&&t.__ob__ instanceof Xt?t.__ob__:!Ut||!n&&dt()||!r(t)&&!f(t)||!Object.isExtensible(t)||t.__v_skip||Rt.has(t)||ne(t)||t instanceof _t?void 0:new Xt(t,e,n)}function Jt(t,e,n,i,a,o){var s=new Tt,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var l=c&&c.get,u=c&&c.set;l&&!u||n!==Wt&&2!==arguments.length||(n=t[e]);var h=!a&&Kt(n,!1,o);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):n;return Tt.target&&(s.depend(),h&&(h.dep.depend(),r(e)&&te(e))),ne(e)&&!a?e.value:e},set:function(e){var i=l?l.call(t):n;if(G(i,e)){if(u)u.call(t,e);else{if(l)return;if(!a&&ne(i)&&!ne(e))return void(i.value=e);n=e}h=!a&&Kt(e,!1,o),s.notify()}}}),s}}function Zt(t,e,n){if(!jt(t)){var i=t.__ob__;return r(t)&&v(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&Kt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(Jt(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Qt(t,e){if(r(t)&&v(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||jt(t)||S(t,e)&&(delete t[e],n&&n.dep.notify())}}function te(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&te(e)}var ee="__v_isRef";function ne(t){return!(!t||!0!==t.__v_isRef)}function ie(t){return ae(t,!1)}function re(t){return ae(t,!0)}function ae(t,e){if(ne(t))return t;var n={};return J(n,ee,!0),J(n,"__v_isShallow",e),J(n,"dep",Jt(n,"value",t,null,e,dt())),n}function oe(t){t.dep&&t.dep.notify()}function se(t){return ne(t)?t.value:t}function ce(t){if(Ft(t))return t;for(var e={},n=Object.keys(t),i=0;i<n.length;i++)le(e,t,n[i]);return e}function le(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(ne(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];ne(i)&&!ne(t)?i.value=t:e[n]=t}})}function ue(t){var e=new Tt,n=t((function(){e.depend()}),(function(){e.notify()})),i=n.get,r=n.set,a={get value(){return i()},set value(t){r(t)}};return J(a,ee,!0),a}function he(t){var e=r(t)?new Array(t.length):{};for(var n in t)e[n]=de(t,n);return e}function de(t,e,n){var i=t[e];if(ne(i))return i;var r={get value(){var i=t[e];return void 0===i?n:i},set value(n){t[e]=n}};return J(r,ee,!0),r}var fe=new WeakMap,pe=new WeakMap;function ve(t){return me(t,!1)}function me(t,e){if(!f(t))return t;if(jt(t))return t;var n=e?pe:fe,i=n.get(t);if(i)return i;var r=Object.create(Object.getPrototypeOf(t));n.set(t,r),J(r,"__v_isReadonly",!0),J(r,"__v_raw",t),ne(t)&&J(r,ee,!0),(e||Bt(t))&&J(r,"__v_isShallow",!0);for(var a=Object.keys(t),o=0;o<a.length;o++)ge(r,t,a[o],e);return r}function ge(t,e,n,i){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return i||!f(t)?t:ve(t)},set:function(){}})}function ye(t){return me(t,!0)}function be(t,e){var n,i,r=u(t);r?(n=t,i=L):(n=t.get,i=t.set);var a=dt()?null:new ar(gt,n,L,{lazy:!0});var o={effect:a,get value(){return a?(a.dirty&&a.evaluate(),Tt.target&&a.depend(),a.value):n()},set value(t){i(t)}};return J(o,ee,!0),J(o,"__v_isReadonly",r),o}var _e=C((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function we(t,e){function n(){var t=n.fns;if(!r(t))return ki(t,null,arguments,e,"v-on handler");for(var i=t.slice(),a=0;a<i.length;a++)ki(i[a],null,arguments,e,"v-on handler")}return n.fns=t,n}function ke(t,e,n,i,r,o){var c,l,u,h;for(c in t)l=t[c],u=e[c],h=_e(c),a(l)||(a(u)?(a(l.fns)&&(l=t[c]=we(l,o)),s(h.once)&&(l=t[c]=r(h.name,l,h.capture)),n(h.name,l,h.capture,h.passive,h.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)a(t[c])&&(h=_e(c),i(h.name,e[c],h.capture))}function xe(t,e,n){var i;t instanceof _t&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function c(){n.apply(this,arguments),k(i.fns,c)}a(r)?i=we([c]):o(r.fns)&&s(r.merged)?(i=r,i.fns.push(c)):i=we([r,c]),i.merged=!0,t[e]=i}function Se(t,e,n){var i=e.options.props;if(!a(i)){var r={},s=t.attrs,c=t.props;if(o(s)||o(c))for(var l in i){var u=E(l);Ce(r,c,l,u,!0)||Ce(r,s,l,u,!1)}return r}}function Ce(t,e,n,i,r){if(o(e)){if(S(e,n))return t[n]=e[n],r||delete e[n],!0;if(S(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function De(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}function Te(t){return l(t)?[kt(t)]:r(t)?Ae(t):void 0}function Oe(t){return o(t)&&o(t.text)&&c(t.isComment)}function Ae(t,e){var n,i,c,u,h=[];for(n=0;n<t.length;n++)i=t[n],a(i)||"boolean"===typeof i||(c=h.length-1,u=h[c],r(i)?i.length>0&&(i=Ae(i,"".concat(e||"","_").concat(n)),Oe(i[0])&&Oe(u)&&(h[c]=kt(u.text+i[0].text),i.shift()),h.push.apply(h,i)):l(i)?Oe(u)?h[c]=kt(u.text+i):""!==i&&h.push(kt(i)):Oe(i)&&Oe(u)?h[c]=kt(u.text+i.text):(s(t._isVList)&&o(i.tag)&&a(i.key)&&o(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}var Ee=1,Pe=2;function Me(t,e,n,i,a,o){return(r(n)||l(n))&&(a=i,i=n,n=void 0),s(o)&&(a=Pe),Ie(t,e,n,i,a)}function Ie(t,e,n,i,a){if(o(n)&&o(n.__ob__))return wt();if(o(n)&&o(n.is)&&(e=n.is),!e)return wt();var s,c;if(r(i)&&u(i[0])&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),a===Pe?i=Te(i):a===Ee&&(i=De(i)),"string"===typeof e){var l=void 0;c=t.$vnode&&t.$vnode.ns||q.getTagNamespace(e),s=q.isReservedTag(e)?new _t(q.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!o(l=Qr(t.$options,"components",e))?new _t(e,n,i,void 0,void 0,t):$r(l,n,t,i,e)}else s=$r(e,n,t,i);return r(s)?s:o(s)?(o(c)&&Re(s,c),o(n)&&Ne(n),s):wt()}function Re(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),o(t.children))for(var i=0,r=t.children.length;i<r;i++){var c=t.children[i];o(c.tag)&&(a(c.ns)||s(n)&&"svg"!==c.tag)&&Re(c,e,n)}}function Ne(t){h(t.style)&&nr(t.style),h(t.class)&&nr(t.class)}function $e(t,e){var n,i,a,s,c=null;if(r(t)||"string"===typeof t)for(c=new Array(t.length),n=0,i=t.length;n<i;n++)c[n]=e(t[n],n);else if("number"===typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(h(t))if(mt&&t[Symbol.iterator]){c=[];var l=t[Symbol.iterator](),u=l.next();while(!u.done)c.push(e(u.value,c.length)),u=l.next()}else for(a=Object.keys(t),c=new Array(a.length),n=0,i=a.length;n<i;n++)s=a[n],c[n]=e(t[s],s,n);return o(c)||(c=[]),c._isVList=!0,c}function Le(t,e,n,i){var r,a=this.$scopedSlots[t];a?(n=n||{},i&&(n=N(N({},i),n)),r=a(n)||(u(e)?e():e)):r=this.$slots[t]||(u(e)?e():e);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},r):r}function Fe(t){return Qr(this.$options,"filters",t,!0)||B}function Be(t,e){return r(t)?-1===t.indexOf(e):t!==e}function je(t,e,n,i,r){var a=q.keyCodes[e]||n;return r&&i&&!q.keyCodes[e]?Be(r,i):a?Be(a,t):i?E(i)!==e:void 0===t}function ze(t,e,n,i,a){if(n)if(h(n)){r(n)&&(n=$(n));var o=void 0,s=function(r){if("class"===r||"style"===r||w(r))o=t;else{var s=t.attrs&&t.attrs.type;o=i||q.mustUseProp(e,s,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=T(r),l=E(r);if(!(c in o)&&!(l in o)&&(o[r]=n[r],a)){var u=t.on||(t.on={});u["update:".concat(r)]=function(t){n[r]=t}}};for(var c in n)s(c)}else;return t}function He(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),Ge(i,"__static__".concat(t),!1)),i}function Ve(t,e,n){return Ge(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function Ge(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&We(t[i],"".concat(e,"_").concat(i),n);else We(t,e,n)}function We(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ue(t,e){if(e)if(f(e)){var n=t.on=t.on?N({},t.on):{};for(var i in e){var r=n[i],a=e[i];n[i]=r?[].concat(r,a):a}}else;return t}function Ye(t,e,n,i){e=e||{$stable:!n};for(var a=0;a<t.length;a++){var o=t[a];r(o)?Ye(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return i&&(e.$key=i),e}function qe(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function Xe(t,e){return"string"===typeof t?e+t:t}function Ke(t){t._o=Ve,t._n=y,t._s=g,t._l=$e,t._t=Le,t._q=z,t._i=H,t._m=He,t._f=Fe,t._k=je,t._b=ze,t._v=kt,t._e=wt,t._u=Ye,t._g=Ue,t._d=qe,t._p=Xe}function Je(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var a=t[i],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==e&&a.fnContext!==e||!o||null==o.slot)(n.default||(n.default=[])).push(a);else{var s=o.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children||[]):c.push(a)}}for(var l in n)n[l].every(Ze)&&delete n[l];return n}function Ze(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Qe(t){return t.isComment&&t.asyncFactory}function tn(t,e,n,r){var a,o=Object.keys(n).length>0,s=e?!!e.$stable:!o,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&c===r.$key&&!o&&!r.$hasNormal)return r;for(var l in a={},e)e[l]&&"$"!==l[0]&&(a[l]=en(t,n,l,e[l]))}else a={};for(var u in n)u in a||(a[u]=nn(n,u));return e&&Object.isExtensible(e)&&(e._normalized=a),J(a,"$stable",s),J(a,"$key",c),J(a,"$hasNormal",o),a}function en(t,e,n,i){var a=function(){var e=gt;bt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:Te(n);var a=n&&n[0];return bt(e),n&&(!a||1===n.length&&a.isComment&&!Qe(a))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:a,enumerable:!0,configurable:!0}),a}function nn(t,e){return function(){return t[e]}}function rn(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=an(t);bt(t),At();var r=ki(n,null,[t._props||$t({}),i],t,"setup");if(Et(),bt(),u(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var a=t._setupProxy={};for(var o in r)"__sfc"!==o&&le(a,r,o)}else for(var o in r)K(o)||le(t,r,o);else 0}}function an(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};J(e,"_v_attr_proxy",!0),on(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};on(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return cn(t)},emit:I(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return le(t,e,n)}))}}}function on(t,e,n,i,r){var a=!1;for(var o in e)o in t?e[o]!==n[o]&&(a=!0):(a=!0,sn(t,o,i,r));for(var o in t)o in e||(a=!0,delete t[o]);return a}function sn(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function cn(t){return t._slotsProxy||ln(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function ln(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function un(){return fn().slots}function hn(){return fn().attrs}function dn(){return fn().listeners}function fn(){var t=gt;return t._setupContext||(t._setupContext=an(t))}function pn(t,e){var n=r(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var i in e){var a=n[i];a?r(a)||u(a)?n[i]={type:a,default:e[i]}:a.default=e[i]:null===a&&(n[i]={default:e[i]})}return n}function vn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Je(e._renderChildren,r),t.$scopedSlots=n?tn(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return Me(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Me(t,e,n,i,r,!0)};var a=n&&n.data;Jt(t,"$attrs",a&&a.attrs||i,null,!0),Jt(t,"$listeners",e._parentListeners||i,null,!0)}var mn,gn=null;function yn(t){Ke(t.prototype),t.prototype.$nextTick=function(t){return Ri(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,a=n._parentVnode;a&&e._isMounted&&(e.$scopedSlots=tn(e.$parent,a.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&ln(e._slotsProxy,e.$scopedSlots)),e.$vnode=a;try{bt(e),gn=e,t=i.call(e._renderProxy,e.$createElement)}catch(Rh){wi(Rh,e,"render"),t=e._vnode}finally{gn=null,bt()}return r(t)&&1===t.length&&(t=t[0]),t instanceof _t||(t=wt()),t.parent=a,t}}function bn(t,e){return(t.__esModule||mt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function _n(t,e,n,i,r){var a=wt();return a.asyncFactory=t,a.asyncMeta={data:e,context:n,children:i,tag:r},a}function wn(t,e){if(s(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=gn;if(n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var i=t.owners=[n],r=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return k(i,n)}));var u=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},d=V((function(n){t.resolved=bn(n,e),r?i.length=0:u(!0)})),f=V((function(e){o(t.errorComp)&&(t.error=!0,u(!0))})),p=t(d,f);return h(p)&&(m(p)?a(t.resolved)&&p.then(d,f):m(p.component)&&(p.component.then(d,f),o(p.error)&&(t.errorComp=bn(p.error,e)),o(p.loading)&&(t.loadingComp=bn(p.loading,e),0===p.delay?t.loading=!0:c=setTimeout((function(){c=null,a(t.resolved)&&a(t.error)&&(t.loading=!0,u(!1))}),p.delay||200)),o(p.timeout)&&(l=setTimeout((function(){l=null,a(t.resolved)&&f(null)}),p.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}function kn(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||Qe(n)))return n}}function xn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Tn(t,e)}function Sn(t,e){mn.$on(t,e)}function Cn(t,e){mn.$off(t,e)}function Dn(t,e){var n=mn;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function Tn(t,e,n){mn=t,ke(e,n||{},Sn,Cn,Dn,t),mn=void 0}function On(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var a=0,o=t.length;a<o;a++)i.$on(t[a],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,a=t.length;i<a;i++)n.$off(t[i],e);return n}var o,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var c=s.length;while(c--)if(o=s[c],o===e||o.fn===e){s.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?R(n):n;for(var i=R(arguments,1),r='event handler for "'.concat(t,'"'),a=0,o=n.length;a<o;a++)ki(n[a],e,i,e,r)}return e}}var An=null;function En(t){var e=An;return An=t,function(){An=e}}function Pn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Mn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,a=En(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),a(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);var o=n;while(o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode)o.$parent.$el=o.$el,o=o.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Fn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||k(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Fn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function In(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=wt),Fn(t,"beforeMount"),i=function(){t._update(t._render(),n)};var r={before:function(){t._isMounted&&!t._isDestroyed&&Fn(t,"beforeUpdate")}};new ar(t,i,L,r,!0),n=!1;var a=t._preWatchers;if(a)for(var o=0;o<a.length;o++)a[o].run();return null==t.$vnode&&(t._isMounted=!0,Fn(t,"mounted")),t}function Rn(t,e,n,r,a){var o=r.data.scopedSlots,s=t.$scopedSlots,c=!!(o&&!o.$stable||s!==i&&!s.$stable||o&&t.$scopedSlots.$key!==o.$key||!o&&t.$scopedSlots.$key),l=!!(a||t.$options._renderChildren||c),u=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=a;var h=r.data.attrs||i;t._attrsProxy&&on(t._attrsProxy,h,u.data&&u.data.attrs||i,t,"$attrs")&&(l=!0),t.$attrs=h,n=n||i;var d=t.$options._parentListeners;if(t._listenersProxy&&on(t._listenersProxy,n,d||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,Tn(t,n,d),e&&t.$options.props){Yt(!1);for(var f=t._props,p=t.$options._propKeys||[],v=0;v<p.length;v++){var m=p[v],g=t.$options.props;f[m]=ta(m,g,e,t)}Yt(!0),t.$options.propsData=e}l&&(t.$slots=Je(a,r.context),t.$forceUpdate())}function Nn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function $n(t,e){if(e){if(t._directInactive=!1,Nn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)$n(t.$children[n]);Fn(t,"activated")}}function Ln(t,e){if((!e||(t._directInactive=!0,!Nn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Ln(t.$children[n]);Fn(t,"deactivated")}}function Fn(t,e,n,i){void 0===i&&(i=!0),At();var r=gt;i&&bt(t);var a=t.$options[e],o="".concat(e," hook");if(a)for(var s=0,c=a.length;s<c;s++)ki(a[s],t,n||null,t,o);t._hasHookEvent&&t.$emit("hook:"+e),i&&bt(r),Et()}var Bn=[],jn=[],zn={},Hn=!1,Vn=!1,Gn=0;function Wn(){Gn=Bn.length=jn.length=0,zn={},Hn=Vn=!1}var Un=0,Yn=Date.now;if(et&&!it){var qn=window.performance;qn&&"function"===typeof qn.now&&Yn()>document.createEvent("Event").timeStamp&&(Yn=function(){return qn.now()})}var Xn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Kn(){var t,e;for(Un=Yn(),Vn=!0,Bn.sort(Xn),Gn=0;Gn<Bn.length;Gn++)t=Bn[Gn],t.before&&t.before(),e=t.id,zn[e]=null,t.run();var n=jn.slice(),i=Bn.slice();Wn(),Qn(n),Jn(i),Dt(),ft&&q.devtools&&ft.emit("flush")}function Jn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&Fn(i,"updated")}}function Zn(t){t._inactive=!1,jn.push(t)}function Qn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,$n(t[e],!0)}function ti(t){var e=t.id;if(null==zn[e]&&(t!==Tt.target||!t.noRecurse)){if(zn[e]=!0,Vn){var n=Bn.length-1;while(n>Gn&&Bn[n].id>t.id)n--;Bn.splice(n+1,0,t)}else Bn.push(t);Hn||(Hn=!0,Ri(Kn))}}var ei="watcher",ni="".concat(ei," callback"),ii="".concat(ei," getter"),ri="".concat(ei," cleanup");function ai(t,e){return hi(t,null,e)}function oi(t,e){return hi(t,null,{flush:"post"})}function si(t,e){return hi(t,null,{flush:"sync"})}var ci,li={};function ui(t,e,n){return hi(t,e,n)}function hi(t,e,n){var a=void 0===n?i:n,o=a.immediate,s=a.deep,c=a.flush,l=void 0===c?"pre":c;a.onTrack,a.onTrigger;var h,d,f=gt,p=function(t,e,n){return void 0===n&&(n=null),ki(t,null,n,f,e)},v=!1,m=!1;if(ne(t)?(h=function(){return t.value},v=Bt(t)):Ft(t)?(h=function(){return t.__ob__.dep.depend(),t},s=!0):r(t)?(m=!0,v=t.some((function(t){return Ft(t)||Bt(t)})),h=function(){return t.map((function(t){return ne(t)?t.value:Ft(t)?nr(t):u(t)?p(t,ii):void 0}))}):h=u(t)?e?function(){return p(t,ii)}:function(){if(!f||!f._isDestroyed)return d&&d(),p(t,ei,[y])}:L,e&&s){var g=h;h=function(){return nr(g())}}var y=function(t){d=b.onStop=function(){p(t,ri)}};if(dt())return y=L,e?o&&p(e,ni,[h(),m?[]:void 0,y]):h(),L;var b=new ar(gt,h,L,{lazy:!0});b.noRecurse=!e;var _=m?[]:li;return b.run=function(){if(b.active)if(e){var t=b.get();(s||v||(m?t.some((function(t,e){return G(t,_[e])})):G(t,_)))&&(d&&d(),p(e,ni,[t,_===li?void 0:_,y]),_=t)}else b.get()},"sync"===l?b.update=b.run:"post"===l?(b.post=!0,b.update=function(){return ti(b)}):b.update=function(){if(f&&f===gt&&!f._isMounted){var t=f._preWatchers||(f._preWatchers=[]);t.indexOf(b)<0&&t.push(b)}else ti(b)},e?o?b.run():_=b.get():"post"===l&&f?f.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}var di=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ci,!t&&ci&&(this.index=(ci.scopes||(ci.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=ci;try{return ci=this,t()}finally{ci=e}}else 0},t.prototype.on=function(){ci=this},t.prototype.off=function(){ci=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function fi(t){return new di(t)}function pi(t,e){void 0===e&&(e=ci),e&&e.active&&e.effects.push(t)}function vi(){return ci}function mi(t){ci&&ci.cleanups.push(t)}function gi(t,e){gt&&(yi(gt)[t]=e)}function yi(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function bi(t,e,n){void 0===n&&(n=!1);var i=gt;if(i){var r=i.$parent&&i.$parent._provided;if(r&&t in r)return r[t];if(arguments.length>1)return n&&u(e)?e.call(i):e}else 0}function _i(t,e,n){return Me(gt,t,e,n,2,!0)}function wi(t,e,n){At();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var a=0;a<r.length;a++)try{var o=!1===r[a].call(i,t,e,n);if(o)return}catch(Rh){xi(Rh,i,"errorCaptured hook")}}}xi(t,e,n)}finally{Et()}}function ki(t,e,n,i,r){var a;try{a=n?t.apply(e,n):t.call(e),a&&!a._isVue&&m(a)&&!a._handled&&(a.catch((function(t){return wi(t,i,r+" (Promise/async)")})),a._handled=!0)}catch(Rh){wi(Rh,i,r)}return a}function xi(t,e,n){if(q.errorHandler)try{return q.errorHandler.call(null,t,e,n)}catch(Rh){Rh!==t&&Si(Rh,null,"config.errorHandler")}Si(t,e,n)}function Si(t,e,n){if(!et||"undefined"===typeof console)throw t;console.error(t)}var Ci,Di=!1,Ti=[],Oi=!1;function Ai(){Oi=!1;var t=Ti.slice(0);Ti.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&pt(Promise)){var Ei=Promise.resolve();Ci=function(){Ei.then(Ai),ot&&setTimeout(L)},Di=!0}else if(it||"undefined"===typeof MutationObserver||!pt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ci="undefined"!==typeof setImmediate&&pt(setImmediate)?function(){setImmediate(Ai)}:function(){setTimeout(Ai,0)};else{var Pi=1,Mi=new MutationObserver(Ai),Ii=document.createTextNode(String(Pi));Mi.observe(Ii,{characterData:!0}),Ci=function(){Pi=(Pi+1)%2,Ii.data=String(Pi)},Di=!0}function Ri(t,e){var n;if(Ti.push((function(){if(t)try{t.call(e)}catch(Rh){wi(Rh,e,"nextTick")}else n&&n(e)})),Oi||(Oi=!0,Ci()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function Ni(t){if(void 0===t&&(t="$style"),!gt)return i;var e=gt[t];return e||i}function $i(t){if(et){var e=gt;e&&oi((function(){var n=e.$el,i=t(e,e._setupProxy);if(n&&1===n.nodeType){var r=n.style;for(var a in i)r.setProperty("--".concat(a),i[a])}}))}}function Li(t){u(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,i=t.errorComponent,r=t.delay,a=void 0===r?200:r,o=t.timeout,s=(t.suspensible,t.onError);var c=null,l=0,h=function(){return l++,c=null,d()},d=function(){var t;return c||(t=c=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),s)return new Promise((function(e,n){var i=function(){return e(h())},r=function(){return n(t)};s(t,i,r,l+1)}));throw t})).then((function(e){return t!==c&&c?c:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){var t=d();return{component:t,delay:a,timeout:o,error:i,loading:n}}}function Fi(t){return function(e,n){if(void 0===n&&(n=gt),n)return Bi(n,t,e)}}function Bi(t,e,n){var i=t.$options;i[e]=Wr(i[e],n)}var ji=Fi("beforeMount"),zi=Fi("mounted"),Hi=Fi("beforeUpdate"),Vi=Fi("updated"),Gi=Fi("beforeDestroy"),Wi=Fi("destroyed"),Ui=Fi("activated"),Yi=Fi("deactivated"),qi=Fi("serverPrefetch"),Xi=Fi("renderTracked"),Ki=Fi("renderTriggered"),Ji=Fi("errorCaptured");function Zi(t,e){void 0===e&&(e=gt),Ji(t,e)}var Qi="2.7.13";function tr(t){return t}var er=new vt;function nr(t){return ir(t,er),er.clear(),t}function ir(t,e){var n,i,a=r(t);if(!(!a&&!h(t)||t.__v_skip||Object.isFrozen(t)||t instanceof _t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(a){n=t.length;while(n--)ir(t[n],e)}else if(ne(t))ir(t.value,e);else{i=Object.keys(t),n=i.length;while(n--)ir(t[i[n]],e)}}}var rr=0,ar=function(){function t(t,e,n,i,r){pi(this,ci&&!ci._vm?ci:t?t._scope:void 0),(this.vm=t)&&r&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++rr,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new vt,this.newDepIds=new vt,this.expression="",u(e)?this.getter=e:(this.getter=Q(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;At(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Rh){if(!this.user)throw Rh;wi(Rh,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&nr(t),Et(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ti(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');ki(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&k(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),or={enumerable:!0,configurable:!0,get:L,set:L};function sr(t,e,n){or.get=function(){return this[e][n]},or.set=function(t){this[e][n]=t},Object.defineProperty(t,n,or)}function cr(t){var e=t.$options;if(e.props&&lr(t,e.props),rn(t),e.methods&&gr(t,e.methods),e.data)ur(t);else{var n=Kt(t._data={});n&&n.vmCount++}e.computed&&fr(t,e.computed),e.watch&&e.watch!==lt&&yr(t,e.watch)}function lr(t,e){var n=t.$options.propsData||{},i=t._props=$t({}),r=t.$options._propKeys=[],a=!t.$parent;a||Yt(!1);var o=function(a){r.push(a);var o=ta(a,e,n,t);Jt(i,a,o),a in t||sr(t,"_props",a)};for(var s in e)o(s);Yt(!0)}function ur(t){var e=t.$options.data;e=t._data=u(e)?hr(e,t):e||{},f(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var a=n[r];0,i&&S(i,a)||K(a)||sr(t,"_data",a)}var o=Kt(e);o&&o.vmCount++}function hr(t,e){At();try{return t.call(e,e)}catch(Rh){return wi(Rh,e,"data()"),{}}finally{Et()}}var dr={lazy:!0};function fr(t,e){var n=t._computedWatchers=Object.create(null),i=dt();for(var r in e){var a=e[r],o=u(a)?a:a.get;0,i||(n[r]=new ar(t,o||L,L,dr)),r in t||pr(t,r,a)}}function pr(t,e,n){var i=!dt();u(n)?(or.get=i?vr(e):mr(n),or.set=L):(or.get=n.get?i&&!1!==n.cache?vr(e):mr(n.get):L,or.set=n.set||L),Object.defineProperty(t,e,or)}function vr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Tt.target&&e.depend(),e.value}}function mr(t){return function(){return t.call(this,this)}}function gr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?L:I(e[n],t)}function yr(t,e){for(var n in e){var i=e[n];if(r(i))for(var a=0;a<i.length;a++)br(t,n,i[a]);else br(t,n,i)}}function br(t,e,n,i){return f(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function _r(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Zt,t.prototype.$delete=Qt,t.prototype.$watch=function(t,e,n){var i=this;if(f(e))return br(i,t,e,n);n=n||{},n.user=!0;var r=new ar(i,t,e,n);if(n.immediate){var a='callback for immediate watcher "'.concat(r.expression,'"');At(),ki(e,i,[r.value],i,a),Et()}return function(){r.teardown()}}}function wr(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=yi(t),r=mt?Reflect.ownKeys(n):Object.keys(n),a=0;a<r.length;a++){var o=r[a];Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(n,o))}}}function kr(t){var e=xr(t.$options.inject,t);e&&(Yt(!1),Object.keys(e).forEach((function(n){Jt(t,n,e[n])})),Yt(!0))}function xr(t,e){if(t){for(var n=Object.create(null),i=mt?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var a=i[r];if("__ob__"!==a){var o=t[a].from;if(o in e._provided)n[a]=e._provided[o];else if("default"in t[a]){var s=t[a].default;n[a]=u(s)?s.call(e):s}else 0}}return n}}var Sr=0;function Cr(t){t.prototype._init=function(t){var e=this;e._uid=Sr++,e._isVue=!0,e.__v_skip=!0,e._scope=new di(!0),e._scope._vm=!0,t&&t._isComponent?Dr(e,t):e.$options=Zr(Tr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Pn(e),xn(e),vn(e),Fn(e,"beforeCreate",void 0,!1),kr(e),cr(e),wr(e),Fn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Dr(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Tr(t){var e=t.options;if(t.super){var n=Tr(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=Or(t);r&&N(t.extendOptions,r),e=t.options=Zr(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Or(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function Ar(t,e,n,a,o){var c,l=this,u=o.options;S(a,"_uid")?(c=Object.create(a),c._original=a):(c=a,a=a._original);var h=s(u._compiled),d=!h;this.data=t,this.props=e,this.children=n,this.parent=a,this.listeners=t.on||i,this.injections=xr(u.inject,a),this.slots=function(){return l.$slots||tn(a,t.scopedSlots,l.$slots=Je(n,a)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return tn(a,t.scopedSlots,this.slots())}}),h&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=tn(a,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,i){var o=Me(c,t,e,n,i,d);return o&&!r(o)&&(o.fnScopeId=u._scopeId,o.fnContext=a),o}:this._c=function(t,e,n,i){return Me(c,t,e,n,i,d)}}function Er(t,e,n,a,s){var c=t.options,l={},u=c.props;if(o(u))for(var h in u)l[h]=ta(h,u,e||i);else o(n.attrs)&&Mr(l,n.attrs),o(n.props)&&Mr(l,n.props);var d=new Ar(n,l,s,a,t),f=c.render.call(null,d._c,d);if(f instanceof _t)return Pr(f,n,d.parent,c,d);if(r(f)){for(var p=Te(f)||[],v=new Array(p.length),m=0;m<p.length;m++)v[m]=Pr(p[m],n,d.parent,c,d);return v}}function Pr(t,e,n,i,r){var a=xt(t);return a.fnContext=n,a.fnOptions=i,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function Mr(t,e){for(var n in e)t[T(n)]=e[n]}function Ir(t){return t.name||t.__name||t._componentTag}Ke(Ar.prototype);var Rr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Rr.prepatch(n,n)}else{var i=t.componentInstance=Lr(t,An);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;Rn(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Fn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Zn(n):$n(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Ln(e,!0):e.$destroy())}},Nr=Object.keys(Rr);function $r(t,e,n,i,r){if(!a(t)){var c=n.$options._base;if(h(t)&&(t=c.extend(t)),"function"===typeof t){var l;if(a(t.cid)&&(l=t,t=wn(l,c),void 0===t))return _n(l,e,n,i,r);e=e||{},Tr(t),o(e.model)&&jr(t.options,e);var u=Se(e,t,r);if(s(t.options.functional))return Er(t,u,e,n,i);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}Fr(e);var p=Ir(t.options)||r,v=new _t("vue-component-".concat(t.cid).concat(p?"-".concat(p):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:u,listeners:d,tag:r,children:i},l);return v}}}function Lr(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return o(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function Fr(t){for(var e=t.hook||(t.hook={}),n=0;n<Nr.length;n++){var i=Nr[n],r=e[i],a=Rr[i];r===a||r&&r._merged||(e[i]=r?Br(a,r):a)}}function Br(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function jr(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var a=e.on||(e.on={}),s=a[i],c=e.model.callback;o(s)?(r(s)?-1===s.indexOf(c):s!==c)&&(a[i]=[c].concat(s)):a[i]=c}var zr=L,Hr=q.optionMergeStrategies;function Vr(t,e){if(!e)return t;for(var n,i,r,a=mt?Reflect.ownKeys(e):Object.keys(e),o=0;o<a.length;o++)n=a[o],"__ob__"!==n&&(i=t[n],r=e[n],S(t,n)?i!==r&&f(i)&&f(r)&&Vr(i,r):Zt(t,n,r));return t}function Gr(t,e,n){return n?function(){var i=u(e)?e.call(n,n):e,r=u(t)?t.call(n,n):t;return i?Vr(i,r):r}:e?t?function(){return Vr(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:e:t}function Wr(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?Ur(n):n}function Ur(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Yr(t,e,n,i){var r=Object.create(t||null);return e?N(r,e):r}Hr.data=function(t,e,n){return n?Gr(t,e,n):e&&"function"!==typeof e?t:Gr(t,e)},Y.forEach((function(t){Hr[t]=Wr})),U.forEach((function(t){Hr[t+"s"]=Yr})),Hr.watch=function(t,e,n,i){if(t===lt&&(t=void 0),e===lt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var a={};for(var o in N(a,t),e){var s=a[o],c=e[o];s&&!r(s)&&(s=[s]),a[o]=s?s.concat(c):r(c)?c:[c]}return a},Hr.props=Hr.methods=Hr.inject=Hr.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return N(r,t),e&&N(r,e),r},Hr.provide=Gr;var qr=function(t,e){return void 0===e?t:e};function Xr(t,e){var n=t.props;if(n){var i,a,o,s={};if(r(n)){i=n.length;while(i--)a=n[i],"string"===typeof a&&(o=T(a),s[o]={type:null})}else if(f(n))for(var c in n)a=n[c],o=T(c),s[o]=f(a)?a:{type:a};else 0;t.props=s}}function Kr(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var a=0;a<n.length;a++)i[n[a]]={from:n[a]};else if(f(n))for(var o in n){var s=n[o];i[o]=f(s)?N({from:o},s):{from:s}}else 0}}function Jr(t){var e=t.directives;if(e)for(var n in e){var i=e[n];u(i)&&(e[n]={bind:i,update:i})}}function Zr(t,e,n){if(u(e)&&(e=e.options),Xr(e,n),Kr(e,n),Jr(e),!e._base&&(e.extends&&(t=Zr(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=Zr(t,e.mixins[i],n);var a,o={};for(a in t)s(a);for(a in e)S(t,a)||s(a);function s(i){var r=Hr[i]||qr;o[i]=r(t[i],e[i],n,i)}return o}function Qr(t,e,n,i){if("string"===typeof n){var r=t[e];if(S(r,n))return r[n];var a=T(n);if(S(r,a))return r[a];var o=O(a);if(S(r,o))return r[o];var s=r[n]||r[a]||r[o];return s}}function ta(t,e,n,i){var r=e[t],a=!S(n,t),o=n[t],s=aa(Boolean,r.type);if(s>-1)if(a&&!S(r,"default"))o=!1;else if(""===o||o===E(t)){var c=aa(String,r.type);(c<0||s<c)&&(o=!0)}if(void 0===o){o=ea(i,r,t);var l=Ut;Yt(!0),Kt(o),Yt(l)}return o}function ea(t,e,n){if(S(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:u(i)&&"Function"!==ia(e.type)?i.call(t):i}}var na=/^\s*function (\w+)/;function ia(t){var e=t&&t.toString().match(na);return e?e[1]:""}function ra(t,e){return ia(t)===ia(e)}function aa(t,e){if(!r(e))return ra(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(ra(e[n],t))return n;return-1}function oa(t){this._init(t)}function sa(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=R(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function ca(t){t.mixin=function(t){return this.options=Zr(this.options,t),this}}function la(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var a=Ir(t)||Ir(n.options);var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Zr(n.options,t),o["super"]=n,o.options.props&&ua(o),o.options.computed&&ha(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,U.forEach((function(t){o[t]=n[t]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=N({},o.options),r[i]=o,o}}function ua(t){var e=t.options.props;for(var n in e)sr(t.prototype,"_props",n)}function ha(t){var e=t.options.computed;for(var n in e)pr(t.prototype,n,e[n])}function da(t){U.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function fa(t){return t&&(Ir(t.Ctor.options)||t.tag)}function pa(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function va(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var a in n){var o=n[a];if(o){var s=o.name;s&&!e(s)&&ma(n,a,i,r)}}}function ma(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,k(n,e)}Cr(oa),_r(oa),On(oa),Mn(oa),yn(oa);var ga=[String,RegExp,Array],ya={name:"keep-alive",abstract:!0,props:{include:ga,exclude:ga,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var a=i.tag,o=i.componentInstance,s=i.componentOptions;e[r]={name:fa(s),tag:a,componentInstance:o},n.push(r),this.max&&n.length>parseInt(this.max)&&ma(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ma(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){va(t,(function(t){return pa(e,t)}))})),this.$watch("exclude",(function(e){va(t,(function(t){return!pa(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=kn(t),n=e&&e.componentOptions;if(n){var i=fa(n),r=this,a=r.include,o=r.exclude;if(a&&(!i||!pa(a,i))||o&&i&&pa(o,i))return e;var s=this,c=s.cache,l=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,k(l,u),l.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},ba={KeepAlive:ya};function _a(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:zr,extend:N,mergeOptions:Zr,defineReactive:Jt},t.set=Zt,t.delete=Qt,t.nextTick=Ri,t.observable=function(t){return Kt(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,N(t.options.components,ba),sa(t),ca(t),la(t),da(t)}_a(oa),Object.defineProperty(oa.prototype,"$isServer",{get:dt}),Object.defineProperty(oa.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(oa,"FunctionalRenderContext",{value:Ar}),oa.version=Qi;var wa=b("style,class"),ka=b("input,textarea,option,select,progress"),xa=function(t,e,n){return"value"===n&&ka(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Sa=b("contenteditable,draggable,spellcheck"),Ca=b("events,caret,typing,plaintext-only"),Da=function(t,e){return Pa(e)||"false"===e?"false":"contenteditable"===t&&Ca(e)?e:"true"},Ta=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Oa="http://www.w3.org/1999/xlink",Aa=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ea=function(t){return Aa(t)?t.slice(6,t.length):""},Pa=function(t){return null==t||!1===t};function Ma(t){var e=t.data,n=t,i=t;while(o(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Ia(i.data,e));while(o(n=n.parent))n&&n.data&&(e=Ia(e,n.data));return Ra(e.staticClass,e.class)}function Ia(t,e){return{staticClass:Na(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Ra(t,e){return o(t)||o(e)?Na(t,$a(e)):""}function Na(t,e){return t?e?t+" "+e:t:e||""}function $a(t){return Array.isArray(t)?La(t):h(t)?Fa(t):"string"===typeof t?t:""}function La(t){for(var e,n="",i=0,r=t.length;i<r;i++)o(e=$a(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Fa(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Ba={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ja=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),za=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ha=function(t){return"pre"===t},Va=function(t){return ja(t)||za(t)};function Ga(t){return za(t)?"svg":"math"===t?"math":void 0}var Wa=Object.create(null);function Ua(t){if(!et)return!0;if(Va(t))return!1;if(t=t.toLowerCase(),null!=Wa[t])return Wa[t];var e=document.createElement(t);return t.indexOf("-")>-1?Wa[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Wa[t]=/HTMLUnknownElement/.test(e.toString())}var Ya=b("text,number,password,search,email,tel,url");function qa(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Xa(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Ka(t,e){return document.createElementNS(Ba[t],e)}function Ja(t){return document.createTextNode(t)}function Za(t){return document.createComment(t)}function Qa(t,e,n){t.insertBefore(e,n)}function to(t,e){t.removeChild(e)}function eo(t,e){t.appendChild(e)}function no(t){return t.parentNode}function io(t){return t.nextSibling}function ro(t){return t.tagName}function ao(t,e){t.textContent=e}function oo(t,e){t.setAttribute(e,"")}var so=Object.freeze({__proto__:null,createElement:Xa,createElementNS:Ka,createTextNode:Ja,createComment:Za,insertBefore:Qa,removeChild:to,appendChild:eo,parentNode:no,nextSibling:io,tagName:ro,setTextContent:ao,setStyleScope:oo}),co={create:function(t,e){lo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(lo(t,!0),lo(e))},destroy:function(t){lo(t,!0)}};function lo(t,e){var n=t.data.ref;if(o(n)){var i=t.context,a=t.componentInstance||t.elm,s=e?null:a,c=e?void 0:a;if(u(n))ki(n,i,[s],i,"template ref function");else{var l=t.data.refInFor,h="string"===typeof n||"number"===typeof n,d=ne(n),f=i.$refs;if(h||d)if(l){var p=h?f[n]:n.value;e?r(p)&&k(p,a):r(p)?p.includes(a)||p.push(a):h?(f[n]=[a],uo(i,n,f[n])):n.value=[a]}else if(h){if(e&&f[n]!==a)return;f[n]=c,uo(i,n,s)}else if(d){if(e&&n.value!==a)return;n.value=s}else 0}}}function uo(t,e,n){var i=t._setupState;i&&S(i,e)&&(ne(i[e])?i[e].value=n:i[e]=n)}var ho=new _t("",{},[]),fo=["create","activate","update","remove","destroy"];function po(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&vo(t,e)||s(t.isAsyncPlaceholder)&&a(e.asyncFactory.error))}function vo(t,e){if("input"!==t.tag)return!0;var n,i=o(n=t.data)&&o(n=n.attrs)&&n.type,r=o(n=e.data)&&o(n=n.attrs)&&n.type;return i===r||Ya(i)&&Ya(r)}function mo(t,e,n){var i,r,a={};for(i=e;i<=n;++i)r=t[i].key,o(r)&&(a[r]=i);return a}function go(t){var e,n,i={},c=t.modules,u=t.nodeOps;for(e=0;e<fo.length;++e)for(i[fo[e]]=[],n=0;n<c.length;++n)o(c[n][fo[e]])&&i[fo[e]].push(c[n][fo[e]]);function h(t){return new _t(u.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function n(){0===--n.listeners&&f(t)}return n.listeners=e,n}function f(t){var e=u.parentNode(t);o(e)&&u.removeChild(e,t)}function p(t,e,n,i,r,a,c){if(o(t.elm)&&o(a)&&(t=a[c]=xt(t)),t.isRootInsert=!r,!v(t,e,n,i)){var l=t.data,h=t.children,d=t.tag;o(d)?(t.elm=t.ns?u.createElementNS(t.ns,d):u.createElement(d,t),x(t),_(t,h,e),o(l)&&k(t,e),y(n,t.elm,i)):s(t.isComment)?(t.elm=u.createComment(t.text),y(n,t.elm,i)):(t.elm=u.createTextNode(t.text),y(n,t.elm,i))}}function v(t,e,n,i){var r=t.data;if(o(r)){var a=o(t.componentInstance)&&r.keepAlive;if(o(r=r.hook)&&o(r=r.init)&&r(t,!1),o(t.componentInstance))return m(t,e),y(n,t.elm,i),s(a)&&g(t,e,n,i),!0}}function m(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,w(t)?(k(t,e),x(t)):(lo(t),e.push(t))}function g(t,e,n,r){var a,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<i.activate.length;++a)i.activate[a](ho,s);e.push(s);break}y(n,t.elm,r)}function y(t,e,n){o(t)&&(o(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function _(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)p(e[i],n,t.elm,null,!0,e,i)}else l(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function w(t){while(t.componentInstance)t=t.componentInstance._vnode;return o(t.tag)}function k(t,n){for(var r=0;r<i.create.length;++r)i.create[r](ho,t);e=t.data.hook,o(e)&&(o(e.create)&&e.create(ho,t),o(e.insert)&&n.push(t))}function x(t){var e;if(o(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)o(e=n.context)&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}o(e=An)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function S(t,e,n,i,r,a){for(;i<=r;++i)p(n[i],a,t,e,!1,n,i)}function C(t){var e,n,r=t.data;if(o(r))for(o(e=r.hook)&&o(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)C(t.children[n])}function D(t,e,n){for(;e<=n;++e){var i=t[e];o(i)&&(o(i.tag)?(T(i),C(i)):f(i.elm))}}function T(t,e){if(o(e)||o(t.data)){var n,r=i.remove.length+1;for(o(e)?e.listeners+=r:e=d(t.elm,r),o(n=t.componentInstance)&&o(n=n._vnode)&&o(n.data)&&T(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);o(n=t.data.hook)&&o(n=n.remove)?n(t,e):e()}else f(t.elm)}function O(t,e,n,i,r){var s,c,l,h,d=0,f=0,v=e.length-1,m=e[0],g=e[v],y=n.length-1,b=n[0],_=n[y],w=!r;while(d<=v&&f<=y)a(m)?m=e[++d]:a(g)?g=e[--v]:po(m,b)?(E(m,b,i,n,f),m=e[++d],b=n[++f]):po(g,_)?(E(g,_,i,n,y),g=e[--v],_=n[--y]):po(m,_)?(E(m,_,i,n,y),w&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++d],_=n[--y]):po(g,b)?(E(g,b,i,n,f),w&&u.insertBefore(t,g.elm,m.elm),g=e[--v],b=n[++f]):(a(s)&&(s=mo(e,d,v)),c=o(b.key)?s[b.key]:A(b,e,d,v),a(c)?p(b,i,t,m.elm,!1,n,f):(l=e[c],po(l,b)?(E(l,b,i,n,f),e[c]=void 0,w&&u.insertBefore(t,l.elm,m.elm)):p(b,i,t,m.elm,!1,n,f)),b=n[++f]);d>v?(h=a(n[y+1])?null:n[y+1].elm,S(t,h,n,f,y,i)):f>y&&D(e,d,v)}function A(t,e,n,i){for(var r=n;r<i;r++){var a=e[r];if(o(a)&&po(t,a))return r}}function E(t,e,n,r,c,l){if(t!==e){o(e.elm)&&o(r)&&(e=r[c]=xt(e));var h=e.elm=t.elm;if(s(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?I(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,f=e.data;o(f)&&o(d=f.hook)&&o(d=d.prepatch)&&d(t,e);var p=t.children,v=e.children;if(o(f)&&w(e)){for(d=0;d<i.update.length;++d)i.update[d](t,e);o(d=f.hook)&&o(d=d.update)&&d(t,e)}a(e.text)?o(p)&&o(v)?p!==v&&O(h,p,v,n,l):o(v)?(o(t.text)&&u.setTextContent(h,""),S(h,null,v,0,v.length-1,n)):o(p)?D(p,0,p.length-1):o(t.text)&&u.setTextContent(h,""):t.text!==e.text&&u.setTextContent(h,e.text),o(f)&&o(d=f.hook)&&o(d=d.postpatch)&&d(t,e)}}}function P(t,e,n){if(s(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var M=b("attrs,class,staticClass,staticStyle,key");function I(t,e,n,i){var r,a=e.tag,c=e.data,l=e.children;if(i=i||c&&c.pre,e.elm=t,s(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(c)&&(o(r=c.hook)&&o(r=r.init)&&r(e,!0),o(r=e.componentInstance)))return m(e,n),!0;if(o(a)){if(o(l))if(t.hasChildNodes())if(o(r=c)&&o(r=r.domProps)&&o(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,d=0;d<l.length;d++){if(!h||!I(h,l[d],n,i)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else _(e,l,n);if(o(c)){var f=!1;for(var p in c)if(!M(p)){f=!0,k(e,n);break}!f&&c["class"]&&nr(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!a(e)){var c=!1,l=[];if(a(t))c=!0,p(e,l);else{var d=o(t.nodeType);if(!d&&po(t,e))E(t,e,l,null,null,r);else{if(d){if(1===t.nodeType&&t.hasAttribute(W)&&(t.removeAttribute(W),n=!0),s(n)&&I(t,e,l))return P(e,l,!0),t;t=h(t)}var f=t.elm,v=u.parentNode(f);if(p(e,l,f._leaveCb?null:v,u.nextSibling(f)),o(e.parent)){var m=e.parent,g=w(e);while(m){for(var y=0;y<i.destroy.length;++y)i.destroy[y](m);if(m.elm=e.elm,g){for(var b=0;b<i.create.length;++b)i.create[b](ho,m);var _=m.data.hook.insert;if(_.merged)for(var k=1;k<_.fns.length;k++)_.fns[k]()}else lo(m);m=m.parent}}o(v)?D([t],0,0):o(t.tag)&&C(t)}}return P(e,l,c),e.elm}o(t)&&C(t)}}var yo={create:bo,update:bo,destroy:function(t){bo(t,ho)}};function bo(t,e){(t.data.directives||e.data.directives)&&_o(t,e)}function _o(t,e){var n,i,r,a=t===ho,o=e===ho,s=ko(t.data.directives,t.context),c=ko(e.data.directives,e.context),l=[],u=[];for(n in c)i=s[n],r=c[n],i?(r.oldValue=i.value,r.oldArg=i.arg,So(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(So(r,"bind",e,t),r.def&&r.def.inserted&&l.push(r));if(l.length){var h=function(){for(var n=0;n<l.length;n++)So(l[n],"inserted",e,t)};a?xe(e,"insert",h):h()}if(u.length&&xe(e,"postpatch",(function(){for(var n=0;n<u.length;n++)So(u[n],"componentUpdated",e,t)})),!a)for(n in s)c[n]||So(s[n],"unbind",t,t,o)}var wo=Object.create(null);function ko(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++){if(i=t[n],i.modifiers||(i.modifiers=wo),r[xo(i)]=i,e._setupState&&e._setupState.__sfc){var a=i.def||Qr(e,"_setupState","v-"+i.name);i.def="function"===typeof a?{bind:a,update:a}:a}i.def=i.def||Qr(e.$options,"directives",i.name,!0)}return r}function xo(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function So(t,e,n,i,r){var a=t.def&&t.def[e];if(a)try{a(n.elm,t,n,i,r)}catch(Rh){wi(Rh,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Co=[co,yo];function Do(t,e){var n=e.componentOptions;if((!o(n)||!1!==n.Ctor.options.inheritAttrs)&&(!a(t.data.attrs)||!a(e.data.attrs))){var i,r,c,l=e.elm,u=t.data.attrs||{},h=e.data.attrs||{};for(i in(o(h.__ob__)||s(h._v_attr_proxy))&&(h=e.data.attrs=N({},h)),h)r=h[i],c=u[i],c!==r&&To(l,i,r,e.data.pre);for(i in(it||at)&&h.value!==u.value&&To(l,"value",h.value),u)a(h[i])&&(Aa(i)?l.removeAttributeNS(Oa,Ea(i)):Sa(i)||l.removeAttribute(i))}}function To(t,e,n,i){i||t.tagName.indexOf("-")>-1?Oo(t,e,n):Ta(e)?Pa(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Sa(e)?t.setAttribute(e,Da(e,n)):Aa(e)?Pa(n)?t.removeAttributeNS(Oa,Ea(e)):t.setAttributeNS(Oa,e,n):Oo(t,e,n)}function Oo(t,e,n){if(Pa(n))t.removeAttribute(e);else{if(it&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Ao={create:Do,update:Do};function Eo(t,e){var n=e.elm,i=e.data,r=t.data;if(!(a(i.staticClass)&&a(i.class)&&(a(r)||a(r.staticClass)&&a(r.class)))){var s=Ma(e),c=n._transitionClasses;o(c)&&(s=Na(s,$a(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Po,Mo,Io,Ro,No,$o,Lo={create:Eo,update:Eo},Fo=/[\w).+\-_$\]]/;function Bo(t){var e,n,i,r,a,o=!1,s=!1,c=!1,l=!1,u=0,h=0,d=0,f=0;for(i=0;i<t.length;i++)if(n=e,e=t.charCodeAt(i),o)39===e&&92!==n&&(o=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(l)47===e&&92!==n&&(l=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||u||h||d){switch(e){case 34:s=!0;break;case 39:o=!0;break;case 96:c=!0;break;case 40:d++;break;case 41:d--;break;case 91:h++;break;case 93:h--;break;case 123:u++;break;case 125:u--;break}if(47===e){for(var p=i-1,v=void 0;p>=0;p--)if(v=t.charAt(p)," "!==v)break;v&&Fo.test(v)||(l=!0)}}else void 0===r?(f=i+1,r=t.slice(0,i).trim()):m();function m(){(a||(a=[])).push(t.slice(f,i).trim()),f=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==f&&m(),a)for(i=0;i<a.length;i++)r=jo(r,a[i]);return r}function jo(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var i=e.slice(0,n),r=e.slice(n+1);return'_f("'.concat(i,'")(').concat(t).concat(")"!==r?","+r:r)}function zo(t,e){console.error("[Vue compiler]: ".concat(t))}function Ho(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Vo(t,e,n,i,r){(t.props||(t.props=[])).push(Qo({name:e,value:n,dynamic:r},i)),t.plain=!1}function Go(t,e,n,i,r){var a=r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[]);a.push(Qo({name:e,value:n,dynamic:r},i)),t.plain=!1}function Wo(t,e,n,i){t.attrsMap[e]=n,t.attrsList.push(Qo({name:e,value:n},i))}function Uo(t,e,n,i,r,a,o,s){(t.directives||(t.directives=[])).push(Qo({name:e,rawName:n,value:i,arg:r,isDynamicArg:a,modifiers:o},s)),t.plain=!1}function Yo(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function qo(t,e,n,r,a,o,s,c){var l;r=r||i,r.right?c?e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")"):"click"===e&&(e="contextmenu",delete r.right):r.middle&&(c?e="(".concat(e,")==='click'?'mouseup':(").concat(e,")"):"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=Yo("!",e,c)),r.once&&(delete r.once,e=Yo("~",e,c)),r.passive&&(delete r.passive,e=Yo("&",e,c)),r.native?(delete r.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var u=Qo({value:n.trim(),dynamic:c},s);r!==i&&(u.modifiers=r);var h=l[e];Array.isArray(h)?a?h.unshift(u):h.push(u):l[e]=h?a?[u,h]:[h,u]:u,t.plain=!1}function Xo(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function Ko(t,e,n){var i=Jo(t,":"+e)||Jo(t,"v-bind:"+e);if(null!=i)return Bo(i);if(!1!==n){var r=Jo(t,e);if(null!=r)return JSON.stringify(r)}}function Jo(t,e,n){var i;if(null!=(i=t.attrsMap[e]))for(var r=t.attrsList,a=0,o=r.length;a<o;a++)if(r[a].name===e){r.splice(a,1);break}return n&&delete t.attrsMap[e],i}function Zo(t,e){for(var n=t.attrsList,i=0,r=n.length;i<r;i++){var a=n[i];if(e.test(a.name))return n.splice(i,1),a}}function Qo(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function ts(t,e,n){var i=n||{},r=i.number,a=i.trim,o="$$v",s=o;a&&(s="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),r&&(s="_n(".concat(s,")"));var c=es(e,s);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(o,") {").concat(c,"}")}}function es(t,e){var n=ns(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function ns(t){if(t=t.trim(),Po=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<Po-1)return Ro=t.lastIndexOf("."),Ro>-1?{exp:t.slice(0,Ro),key:'"'+t.slice(Ro+1)+'"'}:{exp:t,key:null};Mo=t,Ro=No=$o=0;while(!rs())Io=is(),as(Io)?ss(Io):91===Io&&os(Io);return{exp:t.slice(0,No),key:t.slice(No+1,$o)}}function is(){return Mo.charCodeAt(++Ro)}function rs(){return Ro>=Po}function as(t){return 34===t||39===t}function os(t){var e=1;No=Ro;while(!rs())if(t=is(),as(t))ss(t);else if(91===t&&e++,93===t&&e--,0===e){$o=Ro;break}}function ss(t){var e=t;while(!rs())if(t=is(),t===e)break}var cs,ls="__r",us="__c";function hs(t,e,n){n;var i=e.value,r=e.modifiers,a=t.tag,o=t.attrsMap.type;if(t.component)return ts(t,i,r),!1;if("select"===a)ps(t,i,r);else if("input"===a&&"checkbox"===o)ds(t,i,r);else if("input"===a&&"radio"===o)fs(t,i,r);else if("input"===a||"textarea"===a)vs(t,i,r);else{if(!q.isReservedTag(a))return ts(t,i,r),!1}return!0}function ds(t,e,n){var i=n&&n.number,r=Ko(t,"value")||"null",a=Ko(t,"true-value")||"true",o=Ko(t,"false-value")||"false";Vo(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(r,")>-1")+("true"===a?":(".concat(e,")"):":_q(".concat(e,",").concat(a,")"))),qo(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(a,"):(").concat(o,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(i?"_n("+r+")":r,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(es(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(es(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(es(e,"$$c"),"}"),null,!0)}function fs(t,e,n){var i=n&&n.number,r=Ko(t,"value")||"null";r=i?"_n(".concat(r,")"):r,Vo(t,"checked","_q(".concat(e,",").concat(r,")")),qo(t,"change",es(e,r),null,!0)}function ps(t,e,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(i?"_n(val)":"val","})"),a="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",o="var $$selectedVal = ".concat(r,";");o="".concat(o," ").concat(es(e,a)),qo(t,"change",o,null,!0)}function vs(t,e,n){var i=t.attrsMap.type,r=n||{},a=r.lazy,o=r.number,s=r.trim,c=!a&&"range"!==i,l=a?"change":"range"===i?ls:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),o&&(u="_n(".concat(u,")"));var h=es(e,u);c&&(h="if($event.target.composing)return;".concat(h)),Vo(t,"value","(".concat(e,")")),qo(t,l,h,null,!0),(s||o)&&qo(t,"blur","$forceUpdate()")}function ms(t){if(o(t[ls])){var e=it?"change":"input";t[e]=[].concat(t[ls],t[e]||[]),delete t[ls]}o(t[us])&&(t.change=[].concat(t[us],t.change||[]),delete t[us])}function gs(t,e,n){var i=cs;return function r(){var a=e.apply(null,arguments);null!==a&&_s(t,r,n,i)}}var ys=Di&&!(ct&&Number(ct[1])<=53);function bs(t,e,n,i){if(ys){var r=Un,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}cs.addEventListener(t,e,ut?{capture:n,passive:i}:n)}function _s(t,e,n,i){(i||cs).removeEventListener(t,e._wrapper||e,n)}function ws(t,e){if(!a(t.data.on)||!a(e.data.on)){var n=e.data.on||{},i=t.data.on||{};cs=e.elm||t.elm,ms(n),ke(n,i,bs,_s,gs,e.context),cs=void 0}}var ks,xs={create:ws,update:ws,destroy:function(t){return ws(t,ho)}};function Ss(t,e){if(!a(t.data.domProps)||!a(e.data.domProps)){var n,i,r=e.elm,c=t.data.domProps||{},l=e.data.domProps||{};for(n in(o(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.domProps=N({},l)),c)n in l||(r[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===c[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=a(i)?"":String(i);Cs(r,u)&&(r.value=u)}else if("innerHTML"===n&&za(r.tagName)&&a(r.innerHTML)){ks=ks||document.createElement("div"),ks.innerHTML="<svg>".concat(i,"</svg>");var h=ks.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==c[n])try{r[n]=i}catch(Rh){}}}}function Cs(t,e){return!t.composing&&("OPTION"===t.tagName||Ds(t,e)||Ts(t,e))}function Ds(t,e){var n=!0;try{n=document.activeElement!==t}catch(Rh){}return n&&t.value!==e}function Ts(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return y(n)!==y(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Os={create:Ss,update:Ss},As=C((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Es(t){var e=Ps(t.style);return t.staticStyle?N(t.staticStyle,e):e}function Ps(t){return Array.isArray(t)?$(t):"string"===typeof t?As(t):t}function Ms(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Es(r.data))&&N(i,n)}(n=Es(t.data))&&N(i,n);var a=t;while(a=a.parent)a.data&&(n=Es(a.data))&&N(i,n);return i}var Is,Rs=/^--/,Ns=/\s*!important$/,$s=function(t,e,n){if(Rs.test(e))t.style.setProperty(e,n);else if(Ns.test(n))t.style.setProperty(E(e),n.replace(Ns,""),"important");else{var i=Fs(e);if(Array.isArray(n))for(var r=0,a=n.length;r<a;r++)t.style[i]=n[r];else t.style[i]=n}},Ls=["Webkit","Moz","ms"],Fs=C((function(t){if(Is=Is||document.createElement("div").style,t=T(t),"filter"!==t&&t in Is)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ls.length;n++){var i=Ls[n]+e;if(i in Is)return i}}));function Bs(t,e){var n=e.data,i=t.data;if(!(a(n.staticStyle)&&a(n.style)&&a(i.staticStyle)&&a(i.style))){var r,s,c=e.elm,l=i.staticStyle,u=i.normalizedStyle||i.style||{},h=l||u,d=Ps(e.data.style)||{};e.data.normalizedStyle=o(d.__ob__)?N({},d):d;var f=Ms(e,!0);for(s in h)a(f[s])&&$s(c,s,"");for(s in f)r=f[s],r!==h[s]&&$s(c,s,null==r?"":r)}}var js={create:Bs,update:Bs},zs=/\s+/;function Hs(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(zs).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Vs(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(zs).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Gs(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&N(e,Ws(t.name||"v")),N(e,t),e}return"string"===typeof t?Ws(t):void 0}}var Ws=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Us=et&&!rt,Ys="transition",qs="animation",Xs="transition",Ks="transitionend",Js="animation",Zs="animationend";Us&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Xs="WebkitTransition",Ks="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Js="WebkitAnimation",Zs="webkitAnimationEnd"));var Qs=et?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function tc(t){Qs((function(){Qs(t)}))}function ec(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Hs(t,e))}function nc(t,e){t._transitionClasses&&k(t._transitionClasses,e),Vs(t,e)}function ic(t,e,n){var i=ac(t,e),r=i.type,a=i.timeout,o=i.propCount;if(!r)return n();var s=r===Ys?Ks:Zs,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=o&&l()};setTimeout((function(){c<o&&l()}),a+1),t.addEventListener(s,u)}var rc=/\b(transform|all)(,|$)/;function ac(t,e){var n,i=window.getComputedStyle(t),r=(i[Xs+"Delay"]||"").split(", "),a=(i[Xs+"Duration"]||"").split(", "),o=oc(r,a),s=(i[Js+"Delay"]||"").split(", "),c=(i[Js+"Duration"]||"").split(", "),l=oc(s,c),u=0,h=0;e===Ys?o>0&&(n=Ys,u=o,h=a.length):e===qs?l>0&&(n=qs,u=l,h=c.length):(u=Math.max(o,l),n=u>0?o>l?Ys:qs:null,h=n?n===Ys?a.length:c.length:0);var d=n===Ys&&rc.test(i[Xs+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function oc(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return sc(e)+sc(t[n])})))}function sc(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function cc(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Gs(t.data.transition);if(!a(i)&&!o(n._enterCb)&&1===n.nodeType){var r=i.css,s=i.type,c=i.enterClass,l=i.enterToClass,d=i.enterActiveClass,f=i.appearClass,p=i.appearToClass,v=i.appearActiveClass,m=i.beforeEnter,g=i.enter,b=i.afterEnter,_=i.enterCancelled,w=i.beforeAppear,k=i.appear,x=i.afterAppear,S=i.appearCancelled,C=i.duration,D=An,T=An.$vnode;while(T&&T.parent)D=T.context,T=T.parent;var O=!D._isMounted||!t.isRootInsert;if(!O||k||""===k){var A=O&&f?f:c,E=O&&v?v:d,P=O&&p?p:l,M=O&&w||m,I=O&&u(k)?k:g,R=O&&x||b,N=O&&S||_,$=y(h(C)?C.enter:C);0;var L=!1!==r&&!rt,F=hc(I),B=n._enterCb=V((function(){L&&(nc(n,P),nc(n,E)),B.cancelled?(L&&nc(n,A),N&&N(n)):R&&R(n),n._enterCb=null}));t.data.show||xe(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),I&&I(n,B)})),M&&M(n),L&&(ec(n,A),ec(n,E),tc((function(){nc(n,A),B.cancelled||(ec(n,P),F||(uc($)?setTimeout(B,$):ic(n,s,B)))}))),t.data.show&&(e&&e(),I&&I(n,B)),L||F||B()}}}function lc(t,e){var n=t.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Gs(t.data.transition);if(a(i)||1!==n.nodeType)return e();if(!o(n._leaveCb)){var r=i.css,s=i.type,c=i.leaveClass,l=i.leaveToClass,u=i.leaveActiveClass,d=i.beforeLeave,f=i.leave,p=i.afterLeave,v=i.leaveCancelled,m=i.delayLeave,g=i.duration,b=!1!==r&&!rt,_=hc(f),w=y(h(g)?g.leave:g);0;var k=n._leaveCb=V((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(nc(n,l),nc(n,u)),k.cancelled?(b&&nc(n,c),v&&v(n)):(e(),p&&p(n)),n._leaveCb=null}));m?m(x):x()}function x(){k.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),b&&(ec(n,c),ec(n,u),tc((function(){nc(n,c),k.cancelled||(ec(n,l),_||(uc(w)?setTimeout(k,w):ic(n,s,k)))}))),f&&f(n,k),b||_||k())}}function uc(t){return"number"===typeof t&&!isNaN(t)}function hc(t){if(a(t))return!1;var e=t.fns;return o(e)?hc(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function dc(t,e){!0!==e.data.show&&cc(e)}var fc=et?{create:dc,activate:dc,remove:function(t,e){!0!==t.data.show?lc(t,e):e()}}:{},pc=[Ao,Lo,xs,Os,js,fc],vc=pc.concat(Co),mc=go({nodeOps:so,modules:vc});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Sc(t,"input")}));var gc={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?xe(n,"postpatch",(function(){gc.componentUpdated(t,e,n)})):yc(t,e,n.context),t._vOptions=[].map.call(t.options,wc)):("textarea"===n.tag||Ya(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",kc),t.addEventListener("compositionend",xc),t.addEventListener("change",xc),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){yc(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,wc);if(r.some((function(t,e){return!z(t,i[e])}))){var a=t.multiple?e.value.some((function(t){return _c(t,r)})):e.value!==e.oldValue&&_c(e.value,r);a&&Sc(t,"change")}}}};function yc(t,e,n){bc(t,e,n),(it||at)&&setTimeout((function(){bc(t,e,n)}),0)}function bc(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var a,o,s=0,c=t.options.length;s<c;s++)if(o=t.options[s],r)a=H(i,wc(o))>-1,o.selected!==a&&(o.selected=a);else if(z(wc(o),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function _c(t,e){return e.every((function(e){return!z(e,t)}))}function wc(t){return"_value"in t?t._value:t.value}function kc(t){t.target.composing=!0}function xc(t){t.target.composing&&(t.target.composing=!1,Sc(t.target,"input"))}function Sc(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Cc(t){return!t.componentInstance||t.data&&t.data.transition?t:Cc(t.componentInstance._vnode)}var Dc={bind:function(t,e,n){var i=e.value;n=Cc(n);var r=n.data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,cc(n,(function(){t.style.display=a}))):t.style.display=i?a:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=Cc(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,i?cc(n,(function(){t.style.display=t.__vOriginalDisplay})):lc(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},Tc={model:gc,show:Dc},Oc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ac(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ac(kn(e.children)):t}function Ec(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[T(i)]=r[i];return e}function Pc(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Mc(t){while(t=t.parent)if(t.data.transition)return!0}function Ic(t,e){return e.key===t.key&&e.tag===t.tag}var Rc=function(t){return t.tag||Qe(t)},Nc=function(t){return"show"===t.name},$c={name:"transition",props:Oc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Rc),n.length)){0;var i=this.mode;0;var r=n[0];if(Mc(this.$vnode))return r;var a=Ac(r);if(!a)return r;if(this._leaving)return Pc(t,r);var o="__transition-".concat(this._uid,"-");a.key=null==a.key?a.isComment?o+"comment":o+a.tag:l(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=Ec(this),c=this._vnode,u=Ac(c);if(a.data.directives&&a.data.directives.some(Nc)&&(a.data.show=!0),u&&u.data&&!Ic(a,u)&&!Qe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=N({},s);if("out-in"===i)return this._leaving=!0,xe(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Pc(t,r);if("in-out"===i){if(Qe(a))return c;var d,f=function(){d()};xe(s,"afterEnter",f),xe(s,"enterCancelled",f),xe(h,"delayLeave",(function(t){d=t}))}}return r}}},Lc=N({tag:String,moveClass:String},Oc);delete Lc.mode;var Fc={props:Lc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=En(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=Ec(this),s=0;s<r.length;s++){var c=r[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))a.push(c),n[c.key]=c,(c.data||(c.data={})).transition=o;else;}if(i){var l=[],u=[];for(s=0;s<i.length;s++){c=i[s];c.data.transition=o,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?l.push(c):u.push(c)}this.kept=t(e,null,l),this.removed=u}return t(e,null,a)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Bc),t.forEach(jc),t.forEach(zc),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;ec(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Ks,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Ks,t),n._moveCb=null,nc(n,e))})}})))},methods:{hasMove:function(t,e){if(!Us)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Vs(n,t)})),Hs(n,e),n.style.display="none",this.$el.appendChild(n);var i=ac(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function Bc(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function jc(t){t.data.newPos=t.elm.getBoundingClientRect()}function zc(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),a.transitionDuration="0s"}}var Hc={Transition:$c,TransitionGroup:Fc};oa.config.mustUseProp=xa,oa.config.isReservedTag=Va,oa.config.isReservedAttr=wa,oa.config.getTagNamespace=Ga,oa.config.isUnknownElement=Ua,N(oa.options.directives,Tc),N(oa.options.components,Hc),oa.prototype.__patch__=et?mc:L,oa.prototype.$mount=function(t,e){return t=t&&et?qa(t):void 0,In(this,t,e)},et&&setTimeout((function(){q.devtools&&ft&&ft.emit("init",oa)}),0);var Vc=/\{\{((?:.|\r?\n)+?)\}\}/g,Gc=/[-.*+?^${}()|[\]\/\\]/g,Wc=C((function(t){var e=t[0].replace(Gc,"\\$&"),n=t[1].replace(Gc,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));function Uc(t,e){var n=e?Wc(e):Vc;if(n.test(t)){var i,r,a,o=[],s=[],c=n.lastIndex=0;while(i=n.exec(t)){r=i.index,r>c&&(s.push(a=t.slice(c,r)),o.push(JSON.stringify(a)));var l=Bo(i[1].trim());o.push("_s(".concat(l,")")),s.push({"@binding":l}),c=r+i[0].length}return c<t.length&&(s.push(a=t.slice(c)),o.push(JSON.stringify(a))),{expression:o.join("+"),tokens:s}}}function Yc(t,e){e.warn;var n=Jo(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var i=Ko(t,"class",!1);i&&(t.classBinding=i)}function qc(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}var Xc={staticKeys:["staticClass"],transformNode:Yc,genData:qc};function Kc(t,e){e.warn;var n=Jo(t,"style");n&&(t.staticStyle=JSON.stringify(As(n)));var i=Ko(t,"style",!1);i&&(t.styleBinding=i)}function Jc(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}var Zc,Qc={staticKeys:["staticStyle"],transformNode:Kc,genData:Jc},tl={decode:function(t){return Zc=Zc||document.createElement("div"),Zc.innerHTML=t,Zc.textContent}},el=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),nl=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),il=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),rl=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,al=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ol="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(X.source,"]*"),sl="((?:".concat(ol,"\\:)?").concat(ol,")"),cl=new RegExp("^<".concat(sl)),ll=/^\s*(\/?)>/,ul=new RegExp("^<\\/".concat(sl,"[^>]*>")),hl=/^<!DOCTYPE [^>]+>/i,dl=/^<!\--/,fl=/^<!\[/,pl=b("script,style,textarea",!0),vl={},ml={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},gl=/&(?:lt|gt|quot|amp|#39);/g,yl=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,bl=b("pre,textarea",!0),_l=function(t,e){return t&&bl(t)&&"\n"===e[0]};function wl(t,e){var n=e?yl:gl;return t.replace(n,(function(t){return ml[t]}))}function kl(t,e){var n,i,r=[],a=e.expectHTML,o=e.isUnaryTag||F,s=e.canBeLeftOpenTag||F,c=0,l=function(){if(n=t,i&&pl(i)){var r=0,a=i.toLowerCase(),o=vl[a]||(vl[a]=new RegExp("([\\s\\S]*?)(</"+a+"[^>]*>)","i"));_=t.replace(o,(function(t,n,i){return r=i.length,pl(a)||"noscript"===a||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),_l(a,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-_.length,t=_,p(a,c-r,c)}else{var s=t.indexOf("<");if(0===s){if(dl.test(t)){var l=t.indexOf("--\x3e");if(l>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,l),c,c+l+3),h(l+3),"continue"}if(fl.test(t)){var u=t.indexOf("]>");if(u>=0)return h(u+2),"continue"}var v=t.match(hl);if(v)return h(v[0].length),"continue";var m=t.match(ul);if(m){var g=c;return h(m[0].length),p(m[1],g,c),"continue"}var y=d();if(y)return f(y),_l(y.tagName,t)&&h(1),"continue"}var b=void 0,_=void 0,w=void 0;if(s>=0){_=t.slice(s);while(!ul.test(_)&&!cl.test(_)&&!dl.test(_)&&!fl.test(_)){if(w=_.indexOf("<",1),w<0)break;s+=w,_=t.slice(s)}b=t.substring(0,s)}s<0&&(b=t),b&&h(b.length),e.chars&&b&&e.chars(b,c-b.length,c)}if(t===n)return e.chars&&e.chars(t),"break"};while(t){var u=l();if("break"===u)break}function h(e){c+=e,t=t.substring(e)}function d(){var e=t.match(cl);if(e){var n={tagName:e[1],attrs:[],start:c};h(e[0].length);var i=void 0,r=void 0;while(!(i=t.match(ll))&&(r=t.match(al)||t.match(rl)))r.start=c,h(r[0].length),r.end=c,n.attrs.push(r);if(i)return n.unarySlash=i[1],h(i[0].length),n.end=c,n}}function f(t){var n=t.tagName,c=t.unarySlash;a&&("p"===i&&il(n)&&p(i),s(n)&&i===n&&p(n));for(var l=o(n)||!!c,u=t.attrs.length,h=new Array(u),d=0;d<u;d++){var f=t.attrs[d],v=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[d]={name:f[1],value:wl(v,m)}}l||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),i=n),e.start&&e.start(n,h,l,t.start,t.end)}function p(t,n,a){var o,s;if(null==n&&(n=c),null==a&&(a=c),t){for(s=t.toLowerCase(),o=r.length-1;o>=0;o--)if(r[o].lowerCasedTag===s)break}else o=0;if(o>=0){for(var l=r.length-1;l>=o;l--)e.end&&e.end(r[l].tag,n,a);r.length=o,i=o&&r[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,a):"p"===s&&(e.start&&e.start(t,[],!1,n,a),e.end&&e.end(t,n,a))}p()}var xl,Sl,Cl,Dl,Tl,Ol,Al,El,Pl=/^@|^v-on:/,Ml=/^v-|^@|^:|^#/,Il=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Rl=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Nl=/^\(|\)$/g,$l=/^\[.*\]$/,Ll=/:(.*)$/,Fl=/^:|^\.|^v-bind:/,Bl=/\.[^.\]]+(?=[^\]]*$)/g,jl=/^v-slot(:|$)|^#/,zl=/[\r\n]/,Hl=/[ \f\t\r\n]+/g,Vl=C(tl.decode),Gl="_empty_";function Wl(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:du(e),rawAttrsMap:{},parent:n,children:[]}}function Ul(t,e){xl=e.warn||zo,Ol=e.isPreTag||F,Al=e.mustUseProp||F,El=e.getTagNamespace||F;var n=e.isReservedTag||F;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),Cl=Ho(e.modules,"transformNode"),Dl=Ho(e.modules,"preTransformNode"),Tl=Ho(e.modules,"postTransformNode"),Sl=e.delimiters;var i,r,a=[],o=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,l=!1;function u(t){if(h(t),c||t.processed||(t=Xl(t,e)),a.length||t===i||i.if&&(t.elseif||t.else)&&iu(i,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)eu(t,r);else{if(t.slotScope){var n=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=t}r.children.push(t),t.parent=r}t.children=t.children.filter((function(t){return!t.slotScope})),h(t),t.pre&&(c=!1),Ol(t.tag)&&(l=!1);for(var o=0;o<Tl.length;o++)Tl[o](t,e)}function h(t){if(!l){var e=void 0;while((e=t.children[t.children.length-1])&&3===e.type&&" "===e.text)t.children.pop()}}return kl(t,{warn:xl,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,o,s,h){var d=r&&r.ns||El(t);it&&"svg"===d&&(n=gu(n));var f=Wl(t,n,r);d&&(f.ns=d),pu(f)&&!dt()&&(f.forbidden=!0);for(var p=0;p<Dl.length;p++)f=Dl[p](f,e)||f;c||(Yl(f),f.pre&&(c=!0)),Ol(f.tag)&&(l=!0),c?ql(f):f.processed||(Zl(f),tu(f),ru(f)),i||(i=f),o?u(f):(r=f,a.push(f))},end:function(t,e,n){var i=a[a.length-1];a.length-=1,r=a[a.length-1],u(i)},chars:function(t,e,n){if(r&&(!it||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var i=r.children;if(t=l||t.trim()?fu(r)?t:Vl(t):i.length?s?"condense"===s&&zl.test(t)?"":" ":o?" ":"":"",t){l||"condense"!==s||(t=t.replace(Hl," "));var a=void 0,u=void 0;!c&&" "!==t&&(a=Uc(t,Sl))?u={type:2,expression:a.expression,tokens:a.tokens,text:t}:" "===t&&i.length&&" "===i[i.length-1].text||(u={type:3,text:t}),u&&i.push(u)}}},comment:function(t,e,n){if(r){var i={type:3,text:t,isComment:!0};0,r.children.push(i)}}}),i}function Yl(t){null!=Jo(t,"v-pre")&&(t.pre=!0)}function ql(t){var e=t.attrsList,n=e.length;if(n)for(var i=t.attrs=new Array(n),r=0;r<n;r++)i[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(i[r].start=e[r].start,i[r].end=e[r].end);else t.pre||(t.plain=!0)}function Xl(t,e){Kl(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,Jl(t),au(t),su(t),cu(t);for(var n=0;n<Cl.length;n++)t=Cl[n](t,e)||t;return lu(t),t}function Kl(t){var e=Ko(t,"key");e&&(t.key=e)}function Jl(t){var e=Ko(t,"ref");e&&(t.ref=e,t.refInFor=uu(t))}function Zl(t){var e;if(e=Jo(t,"v-for")){var n=Ql(e);n&&N(t,n)}}function Ql(t){var e=t.match(Il);if(e){var n={};n.for=e[2].trim();var i=e[1].trim().replace(Nl,""),r=i.match(Rl);return r?(n.alias=i.replace(Rl,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}function tu(t){var e=Jo(t,"v-if");if(e)t.if=e,iu(t,{exp:e,block:t});else{null!=Jo(t,"v-else")&&(t.else=!0);var n=Jo(t,"v-else-if");n&&(t.elseif=n)}}function eu(t,e){var n=nu(e.children);n&&n.if&&iu(n,{exp:t.elseif,block:t})}function nu(t){var e=t.length;while(e--){if(1===t[e].type)return t[e];t.pop()}}function iu(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ru(t){var e=Jo(t,"v-once");null!=e&&(t.once=!0)}function au(t){var e;"template"===t.tag?(e=Jo(t,"scope"),t.slotScope=e||Jo(t,"slot-scope")):(e=Jo(t,"slot-scope"))&&(t.slotScope=e);var n=Ko(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Go(t,"slot",n,Xo(t,"slot"))),"template"===t.tag){var i=Zo(t,jl);if(i){0;var r=ou(i),a=r.name,o=r.dynamic;t.slotTarget=a,t.slotTargetDynamic=o,t.slotScope=i.value||Gl}}else{i=Zo(t,jl);if(i){0;var s=t.scopedSlots||(t.scopedSlots={}),c=ou(i),l=c.name,u=(o=c.dynamic,s[l]=Wl("template",[],t));u.slotTarget=l,u.slotTargetDynamic=o,u.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=u,!0})),u.slotScope=i.value||Gl,t.children=[],t.plain=!1}}}function ou(t){var e=t.name.replace(jl,"");return e||"#"!==t.name[0]&&(e="default"),$l.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function su(t){"slot"===t.tag&&(t.slotName=Ko(t,"name"))}function cu(t){var e;(e=Ko(t,"is"))&&(t.component=e),null!=Jo(t,"inline-template")&&(t.inlineTemplate=!0)}function lu(t){var e,n,i,r,a,o,s,c,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(i=r=l[e].name,a=l[e].value,Ml.test(i))if(t.hasBindings=!0,o=hu(i.replace(Ml,"")),o&&(i=i.replace(Bl,"")),Fl.test(i))i=i.replace(Fl,""),a=Bo(a),c=$l.test(i),c&&(i=i.slice(1,-1)),o&&(o.prop&&!c&&(i=T(i),"innerHtml"===i&&(i="innerHTML")),o.camel&&!c&&(i=T(i)),o.sync&&(s=es(a,"$event"),c?qo(t,'"update:"+('.concat(i,")"),s,null,!1,xl,l[e],!0):(qo(t,"update:".concat(T(i)),s,null,!1,xl,l[e]),E(i)!==T(i)&&qo(t,"update:".concat(E(i)),s,null,!1,xl,l[e])))),o&&o.prop||!t.component&&Al(t.tag,t.attrsMap.type,i)?Vo(t,i,a,l[e],c):Go(t,i,a,l[e],c);else if(Pl.test(i))i=i.replace(Pl,""),c=$l.test(i),c&&(i=i.slice(1,-1)),qo(t,i,a,o,!1,xl,l[e],c);else{i=i.replace(Ml,"");var u=i.match(Ll),h=u&&u[1];c=!1,h&&(i=i.slice(0,-(h.length+1)),$l.test(h)&&(h=h.slice(1,-1),c=!0)),Uo(t,i,r,a,h,c,o,l[e])}else Go(t,i,JSON.stringify(a),l[e]),!t.component&&"muted"===i&&Al(t.tag,t.attrsMap.type,i)&&Vo(t,i,"true",l[e])}}function uu(t){var e=t;while(e){if(void 0!==e.for)return!0;e=e.parent}return!1}function hu(t){var e=t.match(Bl);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function du(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}function fu(t){return"script"===t.tag||"style"===t.tag}function pu(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}var vu=/^xmlns:NS\d+/,mu=/^NS\d+:/;function gu(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];vu.test(i.name)||(i.name=i.name.replace(mu,""),e.push(i))}return e}function yu(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var i=void 0;if((n[":type"]||n["v-bind:type"])&&(i=Ko(t,"type")),n.type||i||!n["v-bind"]||(i="(".concat(n["v-bind"],").type")),i){var r=Jo(t,"v-if",!0),a=r?"&&(".concat(r,")"):"",o=null!=Jo(t,"v-else",!0),s=Jo(t,"v-else-if",!0),c=bu(t);Zl(c),Wo(c,"type","checkbox"),Xl(c,e),c.processed=!0,c.if="(".concat(i,")==='checkbox'")+a,iu(c,{exp:c.if,block:c});var l=bu(t);Jo(l,"v-for",!0),Wo(l,"type","radio"),Xl(l,e),iu(c,{exp:"(".concat(i,")==='radio'")+a,block:l});var u=bu(t);return Jo(u,"v-for",!0),Wo(u,":type",i),Xl(u,e),iu(c,{exp:r,block:u}),o?c.else=!0:s&&(c.elseif=s),c}}}function bu(t){return Wl(t.tag,t.attrsList.slice(),t.parent)}var _u={preTransformNode:yu},wu=[Xc,Qc,_u];function ku(t,e){e.value&&Vo(t,"textContent","_s(".concat(e.value,")"),e)}function xu(t,e){e.value&&Vo(t,"innerHTML","_s(".concat(e.value,")"),e)}var Su,Cu,Du={model:hs,text:ku,html:xu},Tu={expectHTML:!0,modules:wu,directives:Du,isPreTag:Ha,isUnaryTag:el,mustUseProp:xa,canBeLeftOpenTag:nl,isReservedTag:Va,getTagNamespace:Ga,staticKeys:j(wu)},Ou=C(Eu);function Au(t,e){t&&(Su=Ou(e.staticKeys||""),Cu=e.isReservedTag||F,Pu(t),Mu(t,!1))}function Eu(t){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Pu(t){if(t.static=Iu(t),1===t.type){if(!Cu(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var i=t.children[e];Pu(i),i.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var r=t.ifConditions[e].block;Pu(r),r.static||(t.static=!1)}}}function Mu(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,i=t.children.length;n<i;n++)Mu(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,i=t.ifConditions.length;n<i;n++)Mu(t.ifConditions[n].block,e)}}function Iu(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||_(t.tag)||!Cu(t.tag)||Ru(t)||!Object.keys(t).every(Su))))}function Ru(t){while(t.parent){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}var Nu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,$u=/\([^)]*?\);*$/,Lu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Fu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Bu={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ju=function(t){return"if(".concat(t,")return null;")},zu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ju("$event.target !== $event.currentTarget"),ctrl:ju("!$event.ctrlKey"),shift:ju("!$event.shiftKey"),alt:ju("!$event.altKey"),meta:ju("!$event.metaKey"),left:ju("'button' in $event && $event.button !== 0"),middle:ju("'button' in $event && $event.button !== 1"),right:ju("'button' in $event && $event.button !== 2")};function Hu(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var a in t){var o=Vu(t[a]);t[a]&&t[a].dynamic?r+="".concat(a,",").concat(o,","):i+='"'.concat(a,'":').concat(o,",")}return i="{".concat(i.slice(0,-1),"}"),r?n+"_d(".concat(i,",[").concat(r.slice(0,-1),"])"):n+i}function Vu(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return Vu(t)})).join(","),"]");var e=Lu.test(t.value),n=Nu.test(t.value),i=Lu.test(t.value.replace($u,""));if(t.modifiers){var r="",a="",o=[],s=function(e){if(zu[e])a+=zu[e],Fu[e]&&o.push(e);else if("exact"===e){var n=t.modifiers;a+=ju(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else o.push(e)};for(var c in t.modifiers)s(c);o.length&&(r+=Gu(o)),a&&(r+=a);var l=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):i?"return ".concat(t.value):t.value;return"function($event){".concat(r).concat(l,"}")}return e||n?t.value:"function($event){".concat(i?"return ".concat(t.value):t.value,"}")}function Gu(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Wu).join("&&"),")return null;")}function Wu(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=Fu[t],i=Bu[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(i))+")"}function Uu(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}}function Yu(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}}var qu={on:Uu,bind:Yu,cloak:L},Xu=function(){function t(t){this.options=t,this.warn=t.warn||zo,this.transforms=Ho(t.modules,"transformCode"),this.dataGenFns=Ho(t.modules,"genData"),this.directives=N(N({},qu),t.directives);var e=t.isReservedTag||F;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}return t}();function Ku(t,e){var n=new Xu(e),i=t?"script"===t.tag?"null":Ju(t,n):'_c("div")';return{render:"with(this){return ".concat(i,"}"),staticRenderFns:n.staticRenderFns}}function Ju(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Qu(t,e);if(t.once&&!t.onceProcessed)return th(t,e);if(t.for&&!t.forProcessed)return ih(t,e);if(t.if&&!t.ifProcessed)return eh(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return gh(t,e);var n=void 0;if(t.component)n=yh(t.component,t,e);else{var i=void 0,r=e.maybeComponent(t);(!t.plain||t.pre&&r)&&(i=rh(t,e));var a=void 0,o=e.options.bindings;r&&o&&!1!==o.__isScriptSetup&&(a=Zu(o,t.tag)),a||(a="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:hh(t,e,!0);n="_c(".concat(a).concat(i?",".concat(i):"").concat(s?",".concat(s):"",")")}for(var c=0;c<e.transforms.length;c++)n=e.transforms[c](t,n);return n}return hh(t,e)||"void 0"}function Zu(t,e){var n=T(e),i=O(n),r=function(r){return t[e]===r?e:t[n]===r?n:t[i]===r?i:void 0},a=r("setup-const")||r("setup-reactive-const");if(a)return a;var o=r("setup-let")||r("setup-ref")||r("setup-maybe-ref");return o||void 0}function Qu(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(Ju(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function th(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return eh(t,e);if(t.staticInFor){var n="",i=t.parent;while(i){if(i.for){n=i.key;break}i=i.parent}return n?"_o(".concat(Ju(t,e),",").concat(e.onceId++,",").concat(n,")"):Ju(t,e)}return Qu(t,e)}function eh(t,e,n,i){return t.ifProcessed=!0,nh(t.ifConditions.slice(),e,n,i)}function nh(t,e,n,i){if(!t.length)return i||"_e()";var r=t.shift();return r.exp?"(".concat(r.exp,")?").concat(a(r.block),":").concat(nh(t,e,n,i)):"".concat(a(r.block));function a(t){return n?n(t,e):t.once?th(t,e):Ju(t,e)}}function ih(t,e,n,i){var r=t.for,a=t.alias,o=t.iterator1?",".concat(t.iterator1):"",s=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(i||"_l","((").concat(r,"),")+"function(".concat(a).concat(o).concat(s,"){")+"return ".concat((n||Ju)(t,e))+"})"}function rh(t,e){var n="{",i=ah(t,e);i&&(n+=i+","),t.key&&(n+="key:".concat(t.key,",")),t.ref&&(n+="ref:".concat(t.ref,",")),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'.concat(t.tag,'",'));for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:".concat(bh(t.attrs),",")),t.props&&(n+="domProps:".concat(bh(t.props),",")),t.events&&(n+="".concat(Hu(t.events,!1),",")),t.nativeEvents&&(n+="".concat(Hu(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(sh(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var a=oh(t,e);a&&(n+="".concat(a,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(bh(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function ah(t,e){var n=t.directives;if(n){var i,r,a,o,s="directives:[",c=!1;for(i=0,r=n.length;i<r;i++){a=n[i],o=!0;var l=e.directives[a.name];l&&(o=!!l(t,a,e.warn)),o&&(c=!0,s+='{name:"'.concat(a.name,'",rawName:"').concat(a.rawName,'"').concat(a.value?",value:(".concat(a.value,"),expression:").concat(JSON.stringify(a.value)):"").concat(a.arg?",arg:".concat(a.isDynamicArg?a.arg:'"'.concat(a.arg,'"')):"").concat(a.modifiers?",modifiers:".concat(JSON.stringify(a.modifiers)):"","},"))}return c?s.slice(0,-1)+"]":void 0}}function oh(t,e){var n=t.children[0];if(n&&1===n.type){var i=Ku(n,e.options);return"inlineTemplate:{render:function(){".concat(i.render,"},staticRenderFns:[").concat(i.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}function sh(t,e,n){var i=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||lh(n)})),r=!!t.if;if(!i){var a=t.parent;while(a){if(a.slotScope&&a.slotScope!==Gl||a.for){i=!0;break}a.if&&(r=!0),a=a.parent}}var o=Object.keys(e).map((function(t){return uh(e[t],n)})).join(",");return"scopedSlots:_u([".concat(o,"]").concat(i?",null,true":"").concat(!i&&r?",null,false,".concat(ch(o)):"",")")}function ch(t){var e=5381,n=t.length;while(n)e=33*e^t.charCodeAt(--n);return e>>>0}function lh(t){return 1===t.type&&("slot"===t.tag||t.children.some(lh))}function uh(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return eh(t,e,uh,"null");if(t.for&&!t.forProcessed)return ih(t,e,uh);var i=t.slotScope===Gl?"":String(t.slotScope),r="function(".concat(i,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(hh(t,e)||"undefined",":undefined"):hh(t,e)||"undefined":Ju(t,e),"}"),a=i?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(r).concat(a,"}")}function hh(t,e,n,i,r){var a=t.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?e.maybeComponent(o)?",1":",0":"";return"".concat((i||Ju)(o,e)).concat(s)}var c=n?dh(a,e.maybeComponent):0,l=r||ph;return"[".concat(a.map((function(t){return l(t,e)})).join(","),"]").concat(c?",".concat(c):"")}}function dh(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(fh(r)||r.ifConditions&&r.ifConditions.some((function(t){return fh(t.block)}))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}function fh(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function ph(t,e){return 1===t.type?Ju(t,e):3===t.type&&t.isComment?mh(t):vh(t)}function vh(t){return"_v(".concat(2===t.type?t.expression:_h(JSON.stringify(t.text)),")")}function mh(t){return"_e(".concat(JSON.stringify(t.text),")")}function gh(t,e){var n=t.slotName||'"default"',i=hh(t,e),r="_t(".concat(n).concat(i?",function(){return ".concat(i,"}"):""),a=t.attrs||t.dynamicAttrs?bh((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:T(t.name),value:t.value,dynamic:t.dynamic}}))):null,o=t.attrsMap["v-bind"];return!a&&!o||i||(r+=",null"),a&&(r+=",".concat(a)),o&&(r+="".concat(a?"":",null",",").concat(o)),r+")"}function yh(t,e,n){var i=e.inlineTemplate?null:hh(e,n,!0);return"_c(".concat(t,",").concat(rh(e,n)).concat(i?",".concat(i):"",")")}function bh(t){for(var e="",n="",i=0;i<t.length;i++){var r=t[i],a=_h(r.value);r.dynamic?n+="".concat(r.name,",").concat(a,","):e+='"'.concat(r.name,'":').concat(a,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function _h(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function wh(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),L}}function kh(t){var e=Object.create(null);return function(n,i,r){i=N({},i);i.warn;delete i.warn;var a=i.delimiters?String(i.delimiters)+n:n;if(e[a])return e[a];var o=t(n,i);var s={},c=[];return s.render=wh(o.render,c),s.staticRenderFns=o.staticRenderFns.map((function(t){return wh(t,c)})),e[a]=s}}function xh(t){return function(e){function n(n,i){var r=Object.create(e),a=[],o=[],s=function(t,e,n){(n?o:a).push(t)};if(i)for(var c in i.modules&&(r.modules=(e.modules||[]).concat(i.modules)),i.directives&&(r.directives=N(Object.create(e.directives||null),i.directives)),i)"modules"!==c&&"directives"!==c&&(r[c]=i[c]);r.warn=s;var l=t(n.trim(),r);return l.errors=a,l.tips=o,l}return{compile:n,compileToFunctions:kh(n)}}}var Sh,Ch=xh((function(t,e){var n=Ul(t.trim(),e);!1!==e.optimize&&Au(n,e);var i=Ku(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}})),Dh=Ch(Tu),Th=Dh.compileToFunctions;function Oh(t){return Sh=Sh||document.createElement("div"),Sh.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Sh.innerHTML.indexOf(" ")>0}var Ah=!!et&&Oh(!1),Eh=!!et&&Oh(!0),Ph=C((function(t){var e=qa(t);return e&&e.innerHTML})),Mh=oa.prototype.$mount;function Ih(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}oa.prototype.$mount=function(t,e){if(t=t&&qa(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"===typeof i)"#"===i.charAt(0)&&(i=Ph(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=Ih(t));if(i){0;var r=Th(i,{outputSourceRange:!1,shouldDecodeNewlines:Ah,shouldDecodeNewlinesForHref:Eh,delimiters:n.delimiters,comments:n.comments},this),a=r.render,o=r.staticRenderFns;n.render=a,n.staticRenderFns=o}}return Mh.call(this,t,e)},oa.compile=Th},9980:function(t,e,n){(function(e,i){t.exports=i(n(1474))})("undefined"!==typeof self&&self,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",v="values",m=function(){return this};t.exports=function(t,e,n,g,y,b,_){c(n,e,g);var w,k,x,S=function(t){if(!d&&t in O)return O[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",D=y==v,T=!1,O=t.prototype,A=O[h]||O[f]||y&&O[y],E=A||S(y),P=y?D?S("entries"):E:void 0,M="Array"==e&&O.entries||A;if(M&&(x=u(M.call(new t)),x!==Object.prototype&&x.next&&(l(x,C,!0),i||"function"==typeof x[h]||o(x,h,m))),D&&A&&A.name!==v&&(T=!0,E=function(){return A.call(this)}),i&&!_||!d&&!T&&O[h]||o(O,h,E),s[e]=E,s[C]=m,y)if(w={values:D?E:S(v),keys:b?E:S(p),entries:P},_)for(k in w)k in O||a(O,k,w[k]);else r(r.P+r.F*(d||T),e,w);return w}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var a,o,s=String(r(e)),c=i(n),l=s.length;return c<0||c>=l?t?"":void 0:(a=s.charCodeAt(c),a<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?t?s.charAt(c):a:t?s.slice(c,c+2):o-56320+(a-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,o=a(e),s=o.length,c=0;while(s>c)i.f(t,n=o[c++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),c=n("520a"),l=s("species"),u=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=s(t),f=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=f?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[d](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!h){var v=/./[d],m=n(o,d,""[t],(function(t,e,n,i,r){return e.exec===c?f&&!r?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),g=m[0],y=m[1];i(String.prototype,t,g),r(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:a?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),c="toString",l=(""+s).split(c);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(a(n,o)||r(n,o,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),i=a.length,r="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),l=t.F;while(i--)delete l[c][a[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=i(t),n=new s,s[c]=null,n[o]=t):n=l(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,s=t.exports=function(t){return i[t]||(i[t]=o&&a[t]||(o?a:r)("Symbol."+t))};s.store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),a="includes";i(i.P+i.F*n("5147")(a),"String",{includes:function(t){return!!~r(this,t,a).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),a(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,a=String.prototype.replace,o=r,s="lastIndex",c=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[s]||0!==e[s]}(),l=void 0!==/()??/.exec("")[1],u=c||l;u&&(o=function(t){var e,n,o,u,h=this;return l&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),c&&(e=h[s]),o=r.call(h,t),c&&o&&(h[s]=h.global?o.index+o[0].length:e),l&&o&&o.length>1&&a.call(o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o}),t.exports=o},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",o=r[a]||(r[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),c="prototype",l=function(t,e,n){var u,h,d,f,p=t&l.F,v=t&l.G,m=t&l.S,g=t&l.P,y=t&l.B,b=v?i:m?i[e]||(i[e]={}):(i[e]||{})[c],_=v?r:r[e]||(r[e]={}),w=_[c]||(_[c]={});for(u in v&&(n=e),n)h=!p&&b&&void 0!==b[u],d=(h?b:n)[u],f=y&&h?s(d,i):g&&"function"==typeof d?s(Function.call,d):d,b&&o(b,u,d,t&l.U),_[u]!=d&&a(_,u,f),g&&w[u]!=d&&(w[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*a((function(){n(1)})),"Object",o)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var a=n.call(t,e);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),r=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i}))?function(t,e){var n=o(t),c=arguments.length,l=1,u=r.f,h=a.f;while(c>l){var d,f=s(arguments[l++]),p=u?i(f).concat(u(f)):i(f),v=p.length,m=0;while(v>m)h.call(f,d=p[m++])&&(n[d]=f[d])}return n}:c},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,a=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):a(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return o(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),a=n("9def"),o=n("4588"),s=n("0390"),c=n("5f1b"),l=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,v){return[function(i,r){var a=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,a,r):n.call(String(a),i,r)},function(t,e){var r=v(n,t,this,e);if(r.done)return r.value;var h=i(t),d=String(this),f="function"===typeof e;f||(e=String(e));var g=h.global;if(g){var y=h.unicode;h.lastIndex=0}var b=[];while(1){var _=c(h,d);if(null===_)break;if(b.push(_),!g)break;var w=String(_[0]);""===w&&(h.lastIndex=s(d,a(h.lastIndex),y))}for(var k="",x=0,S=0;S<b.length;S++){_=b[S];for(var C=String(_[0]),D=l(u(o(_.index),d.length),0),T=[],O=1;O<_.length;O++)T.push(p(_[O]));var A=_.groups;if(f){var E=[C].concat(T,D,d);void 0!==A&&E.push(A);var P=String(e.apply(void 0,E))}else P=m(C,d,D,T,A,e);D>=x&&(k+=d.slice(x,D)+P,x=D+C.length)}return k+d.slice(x)}];function m(t,e,i,a,o,s){var c=i+t.length,l=a.length,u=f;return void 0!==o&&(o=r(o),u=d),n.call(s,u,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":s=o[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>l){var d=h(u/10);return 0===d?n:d<=l?void 0===a[d-1]?r.charAt(1):a[d-1]+r.charAt(1):n}s=a[u-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),h=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),v=0;v<p.length;v++){var m,g=p[v],y=f[g],b=o[g],_=b&&b.prototype;if(_&&(_[u]||s(_,u,d),_[h]||s(_,h,g),c[g]=d,y))for(m in i)_[m]||a(_,m,i[m],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),a=n("77f1");t.exports=function(t){return function(e,n,o){var s,c=i(e),l=r(c.length),u=a(o,l);if(t&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return c}));n("a481");function i(){return"undefined"!==typeof window?window.console:t.console}var r=i();function a(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var o=/-(\w)/g,s=a((function(t){return t.replace(o,(function(t,e){return e?e.toUpperCase():""}))}));function c(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function l(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),a=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)n!=o&&i(s,n)&&l.push(n);while(e.length>c)i(s,n=e[c++])&&(~a(l,n)||l.push(n));return l}},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),a=n("d2c8"),o="startsWith",s=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(t){var e=a(this,t,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function r(t){if(Array.isArray(t))return t}function a(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),e&&n.length===e)break}catch(c){r=!0,a=c}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw a}}return n}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if(t){if("string"===typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function c(){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 l(t,e){return r(t)||a(t,e)||s(t,e)||c()}n("6762"),n("2fdb");function u(t){if(Array.isArray(t))return o(t)}function h(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function d(){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 f(t){return u(t)||h(t)||s(t)||d()}var p=n("a352"),v=n.n(p),m=n("c649");function g(t,e,n){return void 0===n||(t=t||{},t[e]=n),t}function y(t,e){return t.map((function(t){return t.elm})).indexOf(e)}function b(t,e,n,i){if(!t)return[];var r=t.map((function(t){return t.elm})),a=e.length-i,o=f(e).map((function(t,e){return e>=a?r.length:r.indexOf(t)}));return n?o.filter((function(t){return-1!==t})):o}function _(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function w(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),_.call(e,t,n)}}function k(t){return["transition-group","TransitionGroup"].includes(t)}function x(t){if(!t||1!==t.length)return!1;var e=l(t,1),n=e[0].componentOptions;return!!n&&k(n.tag)}function S(t,e,n){return t[n]||(e[n]?e[n]():void 0)}function C(t,e,n){var i=0,r=0,a=S(e,n,"header");a&&(i=a.length,t=t?[].concat(f(a),f(t)):f(a));var o=S(e,n,"footer");return o&&(r=o.length,t=t?[].concat(f(t),f(o)):f(o)),{children:t,headerOffset:i,footerOffset:r}}function D(t,e){var n=null,i=function(t,e){n=g(n,t,e)},r=Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(i("attrs",r),!e)return n;var a=e.on,o=e.props,s=e.attrs;return i("on",a),i("props",o),Object.assign(n.attrs,s),n}var T=["Start","Add","Remove","Update","End"],O=["Choose","Unchoose","Sort","Filter","Clone"],A=["Move"].concat(T,O).map((function(t){return"on"+t})),E=null,P={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},M={name:"draggable",inheritAttrs:!1,props:P,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=x(e);var n=C(e,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,a=n.footerOffset;this.headerOffset=r,this.footerOffset=a;var o=D(this.$attrs,this.componentData);return t(this.getTag(),o,i)},created:function(){null!==this.list&&null!==this.value&&m["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&m["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&m["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};T.forEach((function(n){e["on"+n]=w.call(t,n)})),O.forEach((function(n){e["on"+n]=_.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(m["a"])(n)]=t.$attrs[n],e}),{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new v.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(m["a"])(e);-1===A.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=b(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=y(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&k(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=f(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,f(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,a={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var o=i.getUnderlyingVm(n);if(o)return Object.assign(o,a)}return a},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),E=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(m["d"])(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(m["c"])(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(m["d"])(t.clone)},onDragUpdate:function(t){Object(m["d"])(t.item),Object(m["c"])(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=f(e.to.children).filter((function(t){return"none"!==t.style["display"]})),i=n.indexOf(e.related),r=t.component.getVmIndex(i),a=-1!==n.indexOf(E);return a||!e.willInsertAfter?r:r+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,a=this.computeFutureIndex(i,t);Object.assign(r,{futureIndex:a});var o=Object.assign({},t,{relatedContext:i,draggedContext:r});return n(o,e)},onDragEnd:function(){this.computeIndexes(),E=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",M);var I=M;e["default"]=I}})["default"]}))},629:(t,e,n)=>{"use strict";
|
|
41
|
+
/*!
|
|
42
|
+
* vuex v3.6.2
|
|
43
|
+
* (c) 2021 Evan You
|
|
44
|
+
* @license MIT
|
|
45
|
+
*/
|
|
46
|
+
function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,{Se:()=>N,ZP:()=>X,nv:()=>$,rn:()=>I});var r="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},a=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){a&&(t._devtoolHook=a,a.emit("vuex:init",t),a.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){a.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){a.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=c(t[n],e)})),i}function l(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){l(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&l(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&l(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&l(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var v=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;m(t.concat(i),e.getChild(i),n.modules[i])}}v.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},v.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},v.prototype.update=function(t){m([],this.root,t)},v.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],r)}e.modules&&l(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},v.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},v.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var y=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&M(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return c.call(r,t,e,n)},this.strict=i;var l=this._modules.root.state;x(this,l,[],this._modules.root),k(this,l),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:g.config.devtools;u&&o(this)},b={state:{configurable:!0}};function _(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;x(t,n,[],t._modules.root,!0),k(t,n,e)}function k(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,a={};l(r,(function(e,n){a[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var o=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:a}),g.config.silent=o,t.strict&&A(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function x(t,e,n,i,r){var a=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=i),!a&&!r){var s=E(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){g.set(s,c,i.state)}))}var l=i.context=S(t,o,n);i.forEachMutation((function(e,n){var i=o+n;D(t,i,e,l)})),i.forEachAction((function(e,n){var i=e.root?n:o+n,r=e.handler||e;T(t,i,r,l)})),i.forEachGetter((function(e,n){var i=o+n;O(t,i,e,l)})),i.forEachChild((function(i,a){x(t,e,n.concat(a),i,r)}))}function S(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var a=P(n,i,r),o=a.payload,s=a.options,c=a.type;return s&&s.root||(c=e+c),t.dispatch(c,o)},commit:i?t.commit:function(n,i,r){var a=P(n,i,r),o=a.payload,s=a.options,c=a.type;s&&s.root||(c=e+c),t.commit(c,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return E(t.state,n)}}}),r}function C(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function D(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function T(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return h(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function O(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function A(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(t,e){return e.reduce((function(t,e){return t[e]}),t)}function P(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function M(t){g&&t===g||(g=t,i(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},y.prototype.commit=function(t,e,n){var i=this,r=P(t,e,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},y.prototype.dispatch=function(t,e){var n=this,i=P(t,e),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,n.state)}))}catch(l){0}var c=s.length>1?Promise.all(s.map((function(t){return t(a)}))):s[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,n.state,t)}))}catch(l){0}e(t)}))}))}},y.prototype.subscribe=function(t,e){return _(t,this._subscribers,e)},y.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return _(n,this._actionSubscribers,e)},y.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},y.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},y.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),x(this,this.state,t,this._modules.get(t),n.preserveState),k(this,this.state)},y.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=E(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),w(this)},y.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},y.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},y.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(y.prototype,b);var I=j((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=z(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),R=j((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var a=z(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),N=j((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||z(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),$=j((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var a=z(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),L=function(t){return{mapState:I.bind(null,t),mapGetters:N.bind(null,t),mapMutations:R.bind(null,t),mapActions:$.bind(null,t)}};function F(t){return B(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function B(t){return Array.isArray(t)||u(t)}function j(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function z(t,e,n){var i=t._modulesNamespaceMap[n];return i}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var o=t.actionTransformer;void 0===o&&(o=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var h=c(t.state);"undefined"!==typeof u&&(s&&t.subscribe((function(t,a){var o=c(a);if(n(t,h,o)){var s=W(),l=r(t),d="mutation "+t.type+s;V(u,d,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",i(o)),G(u)}h=o})),l&&t.subscribeAction((function(t,n){if(a(t,n)){var i=W(),r=o(t),s="action "+t.type+i;V(u,s,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),G(u)}})))}}function V(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function G(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function W(){var t=new Date;return" @ "+Y(t.getHours(),2)+":"+Y(t.getMinutes(),2)+":"+Y(t.getSeconds(),2)+"."+Y(t.getMilliseconds(),3)}function U(t,e){return new Array(e+1).join(t)}function Y(t,e){return U("0",e-t.toString().length)+t}var q={Store:y,install:M,version:"3.6.2",mapState:I,mapMutations:R,mapGetters:N,mapActions:$,createNamespacedHelpers:L,createLogger:H};const X=q},3636:(t,e,n)=>{"use strict";function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){return f(t)||v(t,e)||m(t,e)||b()}function h(t){return d(t)||p(t)||m(t)||y()}function d(t){if(Array.isArray(t))return g(t)}function f(t){if(Array.isArray(t))return t}function p(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function v(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done);o=!0)if(a.push(i.value),e&&a.length===e)break}catch(c){s=!0,r=c}finally{try{o||null==n["return"]||n["return"]()}finally{if(s)throw r}}return a}}function m(t,e){if(t){if("string"===typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function y(){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 b(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Qc:()=>hi,fL:()=>fi,qv:()=>di,vI:()=>ui,vc:()=>li});var _=function(){},w={},k={},x=null,S={mark:_,measure:_};try{"undefined"!==typeof window&&(w=window),"undefined"!==typeof document&&(k=document),"undefined"!==typeof MutationObserver&&(x=MutationObserver),"undefined"!==typeof performance&&(S=performance)}catch(pi){}var C,D,T,O,A,E=w.navigator||{},P=E.userAgent,M=void 0===P?"":P,I=w,R=k,N=x,$=S,L=(I.document,!!R.documentElement&&!!R.head&&"function"===typeof R.addEventListener&&"function"===typeof R.createElement),F=~M.indexOf("MSIE")||~M.indexOf("Trident/"),B="___FONT_AWESOME___",j=16,z="fa",H="svg-inline--fa",V="data-fa-i2svg",G="data-fa-pseudo-element",W="data-fa-pseudo-element-pending",U="data-prefix",Y="data-icon",q="fontawesome-i2svg",X="async",K=["HTML","HEAD","STYLE","SCRIPT"],J=function(){try{return!0}catch(pi){return!1}}(),Z="classic",Q="sharp",tt=[Z,Q];function et(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[Z]}})}var nt=et((C={},l(C,Z,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),l(C,Q,{fa:"solid",fass:"solid","fa-solid":"solid"}),C)),it=et((D={},l(D,Z,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),l(D,Q,{solid:"fass"}),D)),rt=et((T={},l(T,Z,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),l(T,Q,{fass:"fa-solid"}),T)),at=et((O={},l(O,Z,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),l(O,Q,{"fa-solid":"fass"}),O)),ot=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,st="fa-layers-text",ct=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,lt=et((A={},l(A,Z,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),l(A,Q,{900:"fass"}),A)),ut=[1,2,3,4,5,6,7,8,9,10],ht=ut.concat([11,12,13,14,15,16,17,18,19,20]),dt=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ft={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pt=new Set;Object.keys(it[Z]).map(pt.add.bind(pt)),Object.keys(it[Q]).map(pt.add.bind(pt));var vt=[].concat(tt,h(pt),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",ft.GROUP,ft.SWAP_OPACITY,ft.PRIMARY,ft.SECONDARY]).concat(ut.map((function(t){return"".concat(t,"x")}))).concat(ht.map((function(t){return"w-".concat(t)}))),mt=I.FontAwesomeConfig||{};function gt(t){var e=R.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}function yt(t){return""===t||"false"!==t&&("true"===t||t)}if(R&&"function"===typeof R.querySelector){var bt=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];bt.forEach((function(t){var e=u(t,2),n=e[0],i=e[1],r=yt(gt(n));void 0!==r&&null!==r&&(mt[i]=r)}))}var _t={styleDefault:"solid",familyDefault:"classic",cssPrefix:z,replacementClass:H,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};mt.familyPrefix&&(mt.cssPrefix=mt.familyPrefix);var wt=r(r({},_t),mt);wt.autoReplaceSvg||(wt.observeMutations=!1);var kt={};Object.keys(_t).forEach((function(t){Object.defineProperty(kt,t,{enumerable:!0,set:function(e){wt[t]=e,xt.forEach((function(t){return t(kt)}))},get:function(){return wt[t]}})})),Object.defineProperty(kt,"familyPrefix",{enumerable:!0,set:function(t){wt.cssPrefix=t,xt.forEach((function(t){return t(kt)}))},get:function(){return wt.cssPrefix}}),I.FontAwesomeConfig=kt;var xt=[];function St(t){return xt.push(t),function(){xt.splice(xt.indexOf(t),1)}}var Ct=j,Dt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Tt(t){if(t&&L){var e=R.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=R.head.childNodes,i=null,r=n.length-1;r>-1;r--){var a=n[r],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=a)}return R.head.insertBefore(e,i),t}}var Ot="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function At(){var t=12,e="";while(t-- >0)e+=Ot[62*Math.random()|0];return e}function Et(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function Pt(t){return t.classList?Et(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function Mt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function It(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(Mt(t[n]),'" ')}),"").trim()}function Rt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function Nt(t){return t.size!==Dt.size||t.x!==Dt.x||t.y!==Dt.y||t.rotate!==Dt.rotate||t.flipX||t.flipY}function $t(t){var e=t.transform,n=t.containerWidth,i=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)"),c={transform:"".concat(a," ").concat(o," ").concat(s)},l={transform:"translate(".concat(i/2*-1," -256)")};return{outer:r,inner:c,path:l}}function Lt(t){var e=t.transform,n=t.width,i=void 0===n?j:n,r=t.height,a=void 0===r?j:r,o=t.startCentered,s=void 0!==o&&o,c="";return c+=s&&F?"translate(".concat(e.x/Ct-i/2,"em, ").concat(e.y/Ct-a/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/Ct,"em), calc(-50% + ").concat(e.y/Ct,"em)) "):"translate(".concat(e.x/Ct,"em, ").concat(e.y/Ct,"em) "),c+="scale(".concat(e.size/Ct*(e.flipX?-1:1),", ").concat(e.size/Ct*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) "),c}var Ft=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Bt(){var t=z,e=H,n=kt.cssPrefix,i=kt.replacementClass,r=Ft;if(n!==t||i!==e){var a=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");r=r.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(i))}return r}var jt=!1;function zt(){kt.autoAddCss&&!jt&&(Tt(Bt()),jt=!0)}var Ht={mixout:function(){return{dom:{css:Bt,insertCss:zt}}},hooks:function(){return{beforeDOMElementCreation:function(){zt()},beforeI2svg:function(){zt()}}}},Vt=I||{};Vt[B]||(Vt[B]={}),Vt[B].styles||(Vt[B].styles={}),Vt[B].hooks||(Vt[B].hooks={}),Vt[B].shims||(Vt[B].shims=[]);var Gt=Vt[B],Wt=[],Ut=function t(){R.removeEventListener("DOMContentLoaded",t),Yt=1,Wt.map((function(t){return t()}))},Yt=!1;function qt(t){L&&(Yt?setTimeout(t,0):Wt.push(t))}function Xt(t){var e=t.tag,n=t.attributes,i=void 0===n?{}:n,r=t.children,a=void 0===r?[]:r;return"string"===typeof t?Mt(t):"<".concat(e," ").concat(It(i),">").concat(a.map(Xt).join(""),"</").concat(e,">")}function Kt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}L&&(Yt=(R.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(R.readyState),Yt||R.addEventListener("DOMContentLoaded",Ut));var Jt=function(t,e){return function(n,i,r,a){return t.call(e,n,i,r,a)}},Zt=function(t,e,n,i){var r,a,o,s=Object.keys(t),c=s.length,l=void 0!==i?Jt(e,i):e;for(void 0===n?(r=1,o=t[s[0]]):(r=0,o=n);r<c;r++)a=s[r],o=l(o,t[a],a,t);return o};function Qt(t){var e=[],n=0,i=t.length;while(n<i){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var a=t.charCodeAt(n++);56320==(64512&a)?e.push(((1023&r)<<10)+(1023&a)+65536):(e.push(r),n--)}else e.push(r)}return e}function te(t){var e=Qt(t);return 1===e.length?e[0].toString(16):null}function ee(t,e){var n,i=t.length,r=t.charCodeAt(e);return r>=55296&&r<=56319&&i>e+1&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?1024*(r-55296)+n-56320+65536:r}function ne(t){return Object.keys(t).reduce((function(e,n){var i=t[n],r=!!i.icon;return r?e[i.iconName]=i.icon:e[n]=i,e}),{})}function ie(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,a=void 0!==i&&i,o=ne(e);"function"!==typeof Gt.hooks.addPack||a?Gt.styles[t]=r(r({},Gt.styles[t]||{}),o):Gt.hooks.addPack(t,ne(e)),"fas"===t&&ie("fa",e)}var re,ae,oe,se=Gt.styles,ce=Gt.shims,le=(re={},l(re,Z,Object.values(rt[Z])),l(re,Q,Object.values(rt[Q])),re),ue=null,he={},de={},fe={},pe={},ve={},me=(ae={},l(ae,Z,Object.keys(nt[Z])),l(ae,Q,Object.keys(nt[Q])),ae);function ge(t){return~vt.indexOf(t)}function ye(t,e){var n=e.split("-"),i=n[0],r=n.slice(1).join("-");return i!==t||""===r||ge(r)?null:r}var be=function(){var t=function(t){return Zt(se,(function(e,n,i){return e[i]=Zt(n,t,{}),e}),{})};he=t((function(t,e,n){if(e[3]&&(t[e[3]]=n),e[2]){var i=e[2].filter((function(t){return"number"===typeof t}));i.forEach((function(e){t[e.toString(16)]=n}))}return t})),de=t((function(t,e,n){if(t[n]=n,e[2]){var i=e[2].filter((function(t){return"string"===typeof t}));i.forEach((function(e){t[e]=n}))}return t})),ve=t((function(t,e,n){var i=e[2];return t[n]=n,i.forEach((function(e){t[e]=n})),t}));var e="far"in se||kt.autoFetchSvg,n=Zt(ce,(function(t,n){var i=n[0],r=n[1],a=n[2];return"far"!==r||e||(r="fas"),"string"===typeof i&&(t.names[i]={prefix:r,iconName:a}),"number"===typeof i&&(t.unicodes[i.toString(16)]={prefix:r,iconName:a}),t}),{names:{},unicodes:{}});fe=n.names,pe=n.unicodes,ue=Te(kt.styleDefault,{family:kt.familyDefault})};function _e(t,e){return(he[t]||{})[e]}function we(t,e){return(de[t]||{})[e]}function ke(t,e){return(ve[t]||{})[e]}function xe(t){return fe[t]||{prefix:null,iconName:null}}function Se(t){var e=pe[t],n=_e("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Ce(){return ue}St((function(t){ue=Te(t.styleDefault,{family:kt.familyDefault})})),be();var De=function(){return{prefix:null,iconName:null,rest:[]}};function Te(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.family,i=void 0===n?Z:n,r=nt[i][t],a=it[i][t]||it[i][r],o=t in Gt.styles?t:null;return a||o||null}var Oe=(oe={},l(oe,Z,Object.keys(rt[Z])),l(oe,Q,Object.keys(rt[Q])),oe);function Ae(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.skipLookups,r=void 0!==i&&i,a=(e={},l(e,Z,"".concat(kt.cssPrefix,"-").concat(Z)),l(e,Q,"".concat(kt.cssPrefix,"-").concat(Q)),e),o=null,s=Z;(t.includes(a[Z])||t.some((function(t){return Oe[Z].includes(t)})))&&(s=Z),(t.includes(a[Q])||t.some((function(t){return Oe[Q].includes(t)})))&&(s=Q);var c=t.reduce((function(t,e){var n=ye(kt.cssPrefix,e);if(se[e]?(e=le[s].includes(e)?at[s][e]:e,o=e,t.prefix=e):me[s].indexOf(e)>-1?(o=e,t.prefix=Te(e,{family:s})):n?t.iconName=n:e!==kt.replacementClass&&e!==a[Z]&&e!==a[Q]&&t.rest.push(e),!r&&t.prefix&&t.iconName){var i="fa"===o?xe(t.iconName):{},c=ke(t.prefix,t.iconName);i.prefix&&(o=null),t.iconName=i.iconName||c||t.iconName,t.prefix=i.prefix||t.prefix,"far"!==t.prefix||se["far"]||!se["fas"]||kt.autoFetchSvg||(t.prefix="fas")}return t}),De());return(t.includes("fa-brands")||t.includes("fab"))&&(c.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(c.prefix="fad"),c.prefix||s!==Q||!se["fass"]&&!kt.autoFetchSvg||(c.prefix="fass",c.iconName=ke(c.prefix,c.iconName)||c.iconName),"fa"!==c.prefix&&"fa"!==o||(c.prefix=Ce()||"fas"),c}var Ee=function(){function t(){o(this,t),this.definitions={}}return c(t,[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(e){t.definitions[e]=r(r({},t.definitions[e]||{}),a[e]),ie(e,a[e]);var n=rt[Z][e];n&&ie(n,a[e]),be()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var i=n[e],r=i.prefix,a=i.iconName,o=i.icon,s=o[2];t[r]||(t[r]={}),s.length>0&&s.forEach((function(e){"string"===typeof e&&(t[r][e]=o)})),t[r][a]=o})),t}}]),t}(),Pe=[],Me={},Ie={},Re=Object.keys(Ie);function Ne(t,e){var n=e.mixoutsTo;return Pe=t,Me={},Object.keys(Ie).forEach((function(t){-1===Re.indexOf(t)&&delete Ie[t]})),Pe.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"===typeof e[t]&&(n[t]=e[t]),"object"===a(e[t])&&Object.keys(e[t]).forEach((function(i){n[t]||(n[t]={}),n[t][i]=e[t][i]}))})),t.hooks){var i=t.hooks();Object.keys(i).forEach((function(t){Me[t]||(Me[t]=[]),Me[t].push(i[t])}))}t.provides&&t.provides(Ie)})),n}function $e(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var a=Me[t]||[];return a.forEach((function(t){e=t.apply(null,[e].concat(i))})),e}function Le(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=Me[t]||[];r.forEach((function(t){t.apply(null,n)}))}function Fe(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return Ie[t]?Ie[t].apply(null,e):void 0}function Be(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,n=t.prefix||Ce();if(e)return e=ke(n,e)||e,Kt(je.definitions,n,e)||Kt(Gt.styles,n,e)}var je=new Ee,ze=function(){kt.autoReplaceSvg=!1,kt.observeMutations=!1,Le("noAuto")},He={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return L?(Le("beforeI2svg",t),Fe("pseudoElements2svg",t),Fe("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot;!1===kt.autoReplaceSvg&&(kt.autoReplaceSvg=!0),kt.observeMutations=!0,qt((function(){We({autoReplaceSvgRoot:e}),Le("watch",t)}))}},Ve={icon:function(t){if(null===t)return null;if("object"===a(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:ke(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],n=Te(t[0]);return{prefix:n,iconName:ke(n,e)||e}}if("string"===typeof t&&(t.indexOf("".concat(kt.cssPrefix,"-"))>-1||t.match(ot))){var i=Ae(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ce(),iconName:ke(i.prefix,i.iconName)||i.iconName}}if("string"===typeof t){var r=Ce();return{prefix:r,iconName:ke(r,t)||t}}}},Ge={noAuto:ze,config:kt,dom:He,parse:Ve,library:je,findIconDefinition:Be,toHtml:Xt},We=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?R:e;(Object.keys(Gt.styles).length>0||kt.autoFetchSvg)&&L&&kt.autoReplaceSvg&&Ge.dom.i2svg({node:n})};function Ue(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Xt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(L){var e=R.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Ye(t){var e=t.children,n=t.main,i=t.mask,a=t.attributes,o=t.styles,s=t.transform;if(Nt(s)&&n.found&&!i.found){var c=n.width,l=n.height,u={x:c/l/2,y:.5};a["style"]=Rt(r(r({},o),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:e}]}function qe(t){var e=t.prefix,n=t.iconName,i=t.children,a=t.attributes,o=t.symbol,s=!0===o?"".concat(e,"-").concat(kt.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:r(r({},a),{},{id:s}),children:i}]}]}function Xe(t){var e=t.icons,n=e.main,i=e.mask,a=t.prefix,o=t.iconName,s=t.transform,c=t.symbol,l=t.title,u=t.maskId,h=t.titleId,d=t.extra,f=t.watchable,p=void 0!==f&&f,v=i.found?i:n,m=v.width,g=v.height,y="fak"===a,b=[kt.replacementClass,o?"".concat(kt.cssPrefix,"-").concat(o):""].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),_={children:[],attributes:r(r({},d.attributes),{},{"data-prefix":a,"data-icon":o,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},w=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(_.attributes[V]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(h||At())},children:[l]}),delete _.attributes.title);var k=r(r({},_),{},{prefix:a,iconName:o,main:n,mask:i,maskId:u,transform:s,symbol:c,styles:r(r({},w),d.styles)}),x=i.found&&n.found?Fe("generateAbstractMask",k)||{children:[],attributes:{}}:Fe("generateAbstractIcon",k)||{children:[],attributes:{}},S=x.children,C=x.attributes;return k.children=S,k.attributes=C,c?qe(k):Ye(k)}function Ke(t){var e=t.content,n=t.width,i=t.height,a=t.transform,o=t.title,s=t.extra,c=t.watchable,l=void 0!==c&&c,u=r(r(r({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(u[V]="");var h=r({},s.styles);Nt(a)&&(h["transform"]=Lt({transform:a,startCentered:!0,width:n,height:i}),h["-webkit-transform"]=h["transform"]);var d=Rt(h);d.length>0&&(u["style"]=d);var f=[];return f.push({tag:"span",attributes:u,children:[e]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function Je(t){var e=t.content,n=t.title,i=t.extra,a=r(r(r({},i.attributes),n?{title:n}:{}),{},{class:i.classes.join(" ")}),o=Rt(i.styles);o.length>0&&(a["style"]=o);var s=[];return s.push({tag:"span",attributes:a,children:[e]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var Ze=Gt.styles;function Qe(t){var e=t[0],n=t[1],i=t.slice(4),r=u(i,1),a=r[0],o=null;return o=Array.isArray(a)?{tag:"g",attributes:{class:"".concat(kt.cssPrefix,"-").concat(ft.GROUP)},children:[{tag:"path",attributes:{class:"".concat(kt.cssPrefix,"-").concat(ft.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(kt.cssPrefix,"-").concat(ft.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:e,height:n,icon:o}}var tn={found:!1,width:512,height:512};function en(t,e){J||kt.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function nn(t,e){var n=e;return"fa"===e&&null!==kt.styleDefault&&(e=Ce()),new Promise((function(i,a){Fe("missingIconAbstract");if("fa"===n){var o=xe(t)||{};t=o.iconName||t,e=o.prefix||e}if(t&&e&&Ze[e]&&Ze[e][t]){var s=Ze[e][t];return i(Qe(s))}en(t,e),i(r(r({},tn),{},{icon:kt.showMissingIcons&&t&&Fe("missingIconAbstract")||{}}))}))}var rn=function(){},an=kt.measurePerformance&&$&&$.mark&&$.measure?$:{mark:rn,measure:rn},on='FA "6.2.0"',sn=function(t){return an.mark("".concat(on," ").concat(t," begins")),function(){return cn(t)}},cn=function(t){an.mark("".concat(on," ").concat(t," ends")),an.measure("".concat(on," ").concat(t),"".concat(on," ").concat(t," begins"),"".concat(on," ").concat(t," ends"))},ln={begin:sn,end:cn},un=function(){};function hn(t){var e=t.getAttribute?t.getAttribute(V):null;return"string"===typeof e}function dn(t){var e=t.getAttribute?t.getAttribute(U):null,n=t.getAttribute?t.getAttribute(Y):null;return e&&n}function fn(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(kt.replacementClass)}function pn(){if(!0===kt.autoReplaceSvg)return bn.replace;var t=bn[kt.autoReplaceSvg];return t||bn.replace}function vn(t){return R.createElementNS("http://www.w3.org/2000/svg",t)}function mn(t){return R.createElement(t)}function gn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.ceFn,i=void 0===n?"svg"===t.tag?vn:mn:n;if("string"===typeof t)return R.createTextNode(t);var r=i(t.tag);Object.keys(t.attributes||[]).forEach((function(e){r.setAttribute(e,t.attributes[e])}));var a=t.children||[];return a.forEach((function(t){r.appendChild(gn(t,{ceFn:i}))})),r}function yn(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var bn={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(gn(t),e)})),null===e.getAttribute(V)&&kt.keepOriginalSource){var n=R.createComment(yn(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~Pt(e).indexOf(kt.replacementClass))return bn.replace(t);var i=new RegExp("".concat(kt.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var r=n[0].attributes.class.split(" ").reduce((function(t,e){return e===kt.replacementClass||e.match(i)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?e.removeAttribute("class"):e.setAttribute("class",r.toNode.join(" "))}var a=n.map((function(t){return Xt(t)})).join("\n");e.setAttribute(V,""),e.innerHTML=a}};function _n(t){t()}function wn(t,e){var n="function"===typeof e?e:un;if(0===t.length)n();else{var i=_n;kt.mutateApproach===X&&(i=I.requestAnimationFrame||_n),i((function(){var e=pn(),i=ln.begin("mutate");t.map(e),i(),n()}))}}var kn=!1;function xn(){kn=!0}function Sn(){kn=!1}var Cn=null;function Dn(t){if(N&&kt.observeMutations){var e=t.treeCallback,n=void 0===e?un:e,i=t.nodeCallback,r=void 0===i?un:i,a=t.pseudoElementsCallback,o=void 0===a?un:a,s=t.observeMutationsRoot,c=void 0===s?R:s;Cn=new N((function(t){if(!kn){var e=Ce();Et(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!hn(t.addedNodes[0])&&(kt.searchPseudoElements&&o(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&kt.searchPseudoElements&&o(t.target.parentNode),"attributes"===t.type&&hn(t.target)&&~dt.indexOf(t.attributeName))if("class"===t.attributeName&&dn(t.target)){var i=Ae(Pt(t.target)),a=i.prefix,s=i.iconName;t.target.setAttribute(U,a||e),s&&t.target.setAttribute(Y,s)}else fn(t.target)&&r(t.target)}))}})),L&&Cn.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Tn(){Cn&&Cn.disconnect()}function On(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),i=n[0],r=n.slice(1);return i&&r.length>0&&(t[i]=r.join(":").trim()),t}),{})),n}function An(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),i=void 0!==t.innerText?t.innerText.trim():"",r=Ae(Pt(t));return r.prefix||(r.prefix=Ce()),e&&n&&(r.prefix=e,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=we(r.prefix,t.innerText)||_e(r.prefix,te(t.innerText))),!r.iconName&&kt.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=t.firstChild.data)),r}function En(t){var e=Et(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),i=t.getAttribute("data-fa-title-id");return kt.autoA11y&&(n?e["aria-labelledby"]="".concat(kt.replacementClass,"-title-").concat(i||At()):(e["aria-hidden"]="true",e["focusable"]="false")),e}function Pn(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Dt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Mn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=An(t),i=n.iconName,a=n.prefix,o=n.rest,s=En(t),c=$e("parseNodeAttributes",{},t),l=e.styleParser?On(t):[];return r({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:a,transform:Dt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},c)}var In=Gt.styles;function Rn(t){var e="nest"===kt.autoReplaceSvg?Mn(t,{styleParser:!1}):Mn(t);return~e.extra.classes.indexOf(st)?Fe("generateLayersText",t,e):Fe("generateSvgReplacementMutation",t,e)}var Nn=new Set;function $n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!L)return Promise.resolve();var n=R.documentElement.classList,i=function(t){return n.add("".concat(q,"-").concat(t))},r=function(t){return n.remove("".concat(q,"-").concat(t))},a=kt.autoFetchSvg?Nn:tt.map((function(t){return"fa-".concat(t)})).concat(Object.keys(In));a.includes("fa")||a.push("fa");var o=[".".concat(st,":not([").concat(V,"])")].concat(a.map((function(t){return".".concat(t,":not([").concat(V,"])")}))).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=Et(t.querySelectorAll(o))}catch(pi){}if(!(s.length>0))return Promise.resolve();i("pending"),r("complete");var c=ln.begin("onTree"),l=s.reduce((function(t,e){try{var n=Rn(e);n&&t.push(n)}catch(pi){J||"MissingIcon"===pi.name&&console.error(pi)}return t}),[]);return new Promise((function(t,n){Promise.all(l).then((function(n){wn(n,(function(){i("active"),i("complete"),r("pending"),"function"===typeof e&&e(),c(),t()}))})).catch((function(t){c(),n(t)}))}))}function Ln(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Rn(t).then((function(t){t&&wn([t],e)}))}function Fn(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(e||{}).icon?e:Be(e||{}),a=n.mask;return a&&(a=(a||{}).icon?a:Be(a||{})),t(i,r(r({},n),{},{mask:a}))}}tt.map((function(t){Nn.add("fa-".concat(t))})),Object.keys(nt[Z]).map(Nn.add.bind(Nn)),Object.keys(nt[Q]).map(Nn.add.bind(Nn)),Nn=h(Nn);var Bn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?Dt:n,a=e.symbol,o=void 0!==a&&a,s=e.mask,c=void 0===s?null:s,l=e.maskId,u=void 0===l?null:l,h=e.title,d=void 0===h?null:h,f=e.titleId,p=void 0===f?null:f,v=e.classes,m=void 0===v?[]:v,g=e.attributes,y=void 0===g?{}:g,b=e.styles,_=void 0===b?{}:b;if(t){var w=t.prefix,k=t.iconName,x=t.icon;return Ue(r({type:"icon"},t),(function(){return Le("beforeDOMElementCreation",{iconDefinition:t,params:e}),kt.autoA11y&&(d?y["aria-labelledby"]="".concat(kt.replacementClass,"-title-").concat(p||At()):(y["aria-hidden"]="true",y["focusable"]="false")),Xe({icons:{main:Qe(x),mask:c?Qe(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:k,transform:r(r({},Dt),i),symbol:o,title:d,maskId:u,titleId:p,extra:{attributes:y,styles:_,classes:m}})}))}},jn={mixout:function(){return{icon:Fn(Bn)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=$n,t.nodeCallback=Ln,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?R:e,i=t.callback,r=void 0===i?function(){}:i;return $n(n,r)},t.generateSvgReplacementMutation=function(t,e){var n=e.iconName,i=e.title,r=e.titleId,a=e.prefix,o=e.transform,s=e.symbol,c=e.mask,l=e.maskId,h=e.extra;return new Promise((function(e,d){Promise.all([nn(n,a),c.iconName?nn(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var d=u(c,2),f=d[0],p=d[1];e([t,Xe({icons:{main:f,mask:p},prefix:a,iconName:n,transform:o,symbol:s,maskId:l,title:i,titleId:r,extra:h,watchable:!0})])})).catch(d)}))},t.generateAbstractIcon=function(t){var e,n=t.children,i=t.attributes,r=t.main,a=t.transform,o=t.styles,s=Rt(o);return s.length>0&&(i["style"]=s),Nt(a)&&(e=Fe("generateAbstractTransformGrouping",{main:r,transform:a,containerWidth:r.width,iconWidth:r.width})),n.push(e||r.icon),{children:n,attributes:i}}}},zn={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,i=void 0===n?[]:n;return Ue({type:"layer"},(function(){Le("beforeDOMElementCreation",{assembler:t,params:e});var n=[];return t((function(t){Array.isArray(t)?t.map((function(t){n=n.concat(t.abstract)})):n=n.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(kt.cssPrefix,"-layers")].concat(h(i)).join(" ")},children:n}]}))}}}},Hn={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,i=void 0===n?null:n,r=e.classes,a=void 0===r?[]:r,o=e.attributes,s=void 0===o?{}:o,c=e.styles,l=void 0===c?{}:c;return Ue({type:"counter",content:t},(function(){return Le("beforeDOMElementCreation",{content:t,params:e}),Je({content:t.toString(),title:i,extra:{attributes:s,styles:l,classes:["".concat(kt.cssPrefix,"-layers-counter")].concat(h(a))}})}))}}}},Vn={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?Dt:n,a=e.title,o=void 0===a?null:a,s=e.classes,c=void 0===s?[]:s,l=e.attributes,u=void 0===l?{}:l,d=e.styles,f=void 0===d?{}:d;return Ue({type:"text",content:t},(function(){return Le("beforeDOMElementCreation",{content:t,params:e}),Ke({content:t,transform:r(r({},Dt),i),title:o,extra:{attributes:u,styles:f,classes:["".concat(kt.cssPrefix,"-layers-text")].concat(h(c))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,i=e.transform,r=e.extra,a=null,o=null;if(F){var s=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();a=c.width/s,o=c.height/s}return kt.autoA11y&&!n&&(r.attributes["aria-hidden"]="true"),Promise.resolve([t,Ke({content:t.innerHTML,width:a,height:o,transform:i,title:n,extra:r,watchable:!0})])}}},Gn=new RegExp('"',"ug"),Wn=[1105920,1112319];function Un(t){var e=t.replace(Gn,""),n=ee(e,0),i=n>=Wn[0]&&n<=Wn[1],r=2===e.length&&e[0]===e[1];return{value:te(r?e[0]:e),isSecondary:i||r}}function Yn(t,e){var n="".concat(W).concat(e.replace(":","-"));return new Promise((function(i,a){if(null!==t.getAttribute(n))return i();var o=Et(t.children),s=o.filter((function(t){return t.getAttribute(G)===e}))[0],c=I.getComputedStyle(t,e),l=c.getPropertyValue("font-family").match(ct),u=c.getPropertyValue("font-weight"),h=c.getPropertyValue("content");if(s&&!l)return t.removeChild(s),i();if(l&&"none"!==h&&""!==h){var d=c.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?Q:Z,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?it[f][l[2].toLowerCase()]:lt[f][u],v=Un(d),m=v.value,g=v.isSecondary,y=l[0].startsWith("FontAwesome"),b=_e(p,m),_=b;if(y){var w=Se(m);w.iconName&&w.prefix&&(b=w.iconName,p=w.prefix)}if(!b||g||s&&s.getAttribute(U)===p&&s.getAttribute(Y)===_)i();else{t.setAttribute(n,_),s&&t.removeChild(s);var k=Pn(),x=k.extra;x.attributes[G]=e,nn(b,p).then((function(a){var o=Xe(r(r({},k),{},{icons:{main:a,mask:De()},prefix:p,iconName:_,extra:x,watchable:!0})),s=R.createElement("svg");"::before"===e?t.insertBefore(s,t.firstChild):t.appendChild(s),s.outerHTML=o.map((function(t){return Xt(t)})).join("\n"),t.removeAttribute(n),i()})).catch(a)}}else i()}))}function qn(t){return Promise.all([Yn(t,"::before"),Yn(t,"::after")])}function Xn(t){return t.parentNode!==document.head&&!~K.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(G)&&(!t.parentNode||"svg"!==t.parentNode.tagName)}function Kn(t){if(L)return new Promise((function(e,n){var i=Et(t.querySelectorAll("*")).filter(Xn).map(qn),r=ln.begin("searchPseudoElements");xn(),Promise.all(i).then((function(){r(),Sn(),e()})).catch((function(){r(),Sn(),n()}))}))}var Jn={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Kn,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?R:e;kt.searchPseudoElements&&Kn(n)}}},Zn=!1,Qn={mixout:function(){return{dom:{unwatch:function(){xn(),Zn=!0}}}},hooks:function(){return{bootstrap:function(){Dn($e("mutationObserverCallbacks",{}))},noAuto:function(){Tn()},watch:function(t){var e=t.observeMutationsRoot;Zn?Sn():Dn($e("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},ti=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),i=n[0],r=n.slice(1).join("-");if(i&&"h"===r)return t.flipX=!0,t;if(i&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(i){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r;break}return t}),e)},ei={mixout:function(){return{parse:{transform:function(t){return ti(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=ti(n)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,n=t.transform,i=t.containerWidth,a=t.iconWidth,o={transform:"translate(".concat(i/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),c="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),u={transform:"".concat(s," ").concat(c," ").concat(l)},h={transform:"translate(".concat(a/2*-1," -256)")},d={outer:o,inner:u,path:h};return{tag:"g",attributes:r({},d.outer),children:[{tag:"g",attributes:r({},d.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:r(r({},e.icon.attributes),d.path)}]}]}}}},ni={x:0,y:0,width:"100%",height:"100%"};function ii(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function ri(t){return"g"===t.tag?t.children:[t]}var ai={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),i=n?Ae(n.split(" ").map((function(t){return t.trim()}))):De();return i.prefix||(i.prefix=Ce()),t.mask=i,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e=t.children,n=t.attributes,i=t.main,a=t.mask,o=t.maskId,s=t.transform,c=i.width,l=i.icon,u=a.width,h=a.icon,d=$t({transform:s,containerWidth:u,iconWidth:c}),f={tag:"rect",attributes:r(r({},ni),{},{fill:"white"})},p=l.children?{children:l.children.map(ii)}:{},v={tag:"g",attributes:r({},d.inner),children:[ii(r({tag:l.tag,attributes:r(r({},l.attributes),d.path)},p))]},m={tag:"g",attributes:r({},d.outer),children:[v]},g="mask-".concat(o||At()),y="clip-".concat(o||At()),b={tag:"mask",attributes:r(r({},ni),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,m]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:ri(h)},b]};return e.push(_,{tag:"rect",attributes:r({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},ni)}),{children:e,attributes:n}}}},oi={provides:function(t){var e=!1;I.matchMedia&&(e=I.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],n={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:r(r({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=r(r({},i),{},{attributeName:"opacity"}),o={tag:"circle",attributes:r(r({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||o.children.push({tag:"animate",attributes:r(r({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:r(r({},a),{},{values:"1;0;1;1;0;1;"})}),t.push(o),t.push({tag:"path",attributes:r(r({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:r(r({},a),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:r(r({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:r(r({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},si={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),i=null!==n&&(""===n||n);return t["symbol"]=i,t}}}},ci=[Ht,jn,zn,Hn,Vn,Jn,Qn,ei,ai,oi,si];Ne(ci,{mixoutsTo:Ge});Ge.noAuto;var li=Ge.config,ui=Ge.library,hi=(Ge.dom,Ge.parse),di=(Ge.findIconDefinition,Ge.toHtml,Ge.icon),fi=(Ge.layer,Ge.text);Ge.counter},9417:(t,e,n)=>{"use strict";n.d(e,{DBf:()=>l,EQg:()=>i,EyR:()=>y,FPD:()=>f,LM3:()=>g,Uwo:()=>h,acZ:()=>c,eFW:()=>o,g82:()=>v,gc2:()=>d,jHE:()=>a,lUd:()=>s,onQ:()=>m,paY:()=>u,r8p:()=>p,yOZ:()=>r});var i={prefix:"fas",iconName:"scissors",icon:[512,512,[9984,9986,9988,"cut"],"f0c4","M256 192l-39.5-39.5c4.9-12.6 7.5-26.2 7.5-40.5C224 50.1 173.9 0 112 0S0 50.1 0 112s50.1 112 112 112c14.3 0 27.9-2.7 40.5-7.5L192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5C50.1 288 0 338.1 0 400s50.1 112 112 112s112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6c-28.3-28.3-74.1-28.3-102.4 0L256 192zm22.6 150.6L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0c7.1-7.1 7.1-18.5 0-25.6L342.6 278.6l-64 64zM160 112c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM112 448c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},r={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},a={prefix:"fas",iconName:"repeat",icon:[512,512,[128257],"f363","M0 224c0 17.7 14.3 32 32 32s32-14.3 32-32c0-53 43-96 96-96H320v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S320 19.1 320 32V64H160C71.6 64 0 135.6 0 224zm512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 53-43 96-96 96H192V352c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V448H352c88.4 0 160-71.6 160-160z"]},o={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},s={prefix:"fas",iconName:"arrow-rotate-right",icon:[512,512,[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],"f01e","M386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H464c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z"]},c={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},l={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},u={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},h={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zm0-160c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zM120 96c0 30.9-25.1 56-56 56S8 126.9 8 96S33.1 40 64 40s56 25.1 56 56z"]},d={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},f={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},p={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},v={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},m={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},g={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"]},y={prefix:"fas",iconName:"angle-left",icon:[320,512,[8249],"f104","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]}},794:(t,e,n)=>{"use strict";n.d(e,{Z:()=>x});var i=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,r=Math.ceil,a=Math.floor,o="[BigNumber Error] ",s=o+"Number primitive has more than 15 significant digits: ",c=1e14,l=14,u=9007199254740991,h=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,f=1e9;function p(t){var e,n,k,x=L.prototype={constructor:L,toString:null,valueOf:null},S=new L(1),C=20,D=4,T=-7,O=21,A=-1e7,E=1e7,P=!1,M=1,I=0,R={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},N="0123456789abcdefghijklmnopqrstuvwxyz",$=!0;function L(t,e){var r,o,c,h,d,f,p,v,m=this;if(!(m instanceof L))return new L(t,e);if(null==e){if(t&&!0===t._isBigNumber)return m.s=t.s,void(!t.c||t.e>E?m.c=m.e=null:t.e<A?m.c=[m.e=0]:(m.e=t.e,m.c=t.c.slice()));if((f="number"==typeof t)&&0*t==0){if(m.s=1/t<0?(t=-t,-1):1,t===~~t){for(h=0,d=t;d>=10;d/=10,h++);return void(h>E?m.c=m.e=null:(m.e=h,m.c=[t]))}v=String(t)}else{if(!i.test(v=String(t)))return k(m,v,f);m.s=45==v.charCodeAt(0)?(v=v.slice(1),-1):1}(h=v.indexOf("."))>-1&&(v=v.replace(".","")),(d=v.search(/e/i))>0?(h<0&&(h=d),h+=+v.slice(d+1),v=v.substring(0,d)):h<0&&(h=v.length)}else{if(y(e,2,N.length,"Base"),10==e&&$)return m=new L(t),z(m,C+m.e+1,D);if(v=String(t),f="number"==typeof t){if(0*t!=0)return k(m,v,f,e);if(m.s=1/t<0?(v=v.slice(1),-1):1,L.DEBUG&&v.replace(/^0\.0*|\./,"").length>15)throw Error(s+t)}else m.s=45===v.charCodeAt(0)?(v=v.slice(1),-1):1;for(r=N.slice(0,e),h=d=0,p=v.length;d<p;d++)if(r.indexOf(o=v.charAt(d))<0){if("."==o){if(d>h){h=p;continue}}else if(!c&&(v==v.toUpperCase()&&(v=v.toLowerCase())||v==v.toLowerCase()&&(v=v.toUpperCase()))){c=!0,d=-1,h=0;continue}return k(m,String(t),f,e)}f=!1,v=n(v,e,10,m.s),(h=v.indexOf("."))>-1?v=v.replace(".",""):h=v.length}for(d=0;48===v.charCodeAt(d);d++);for(p=v.length;48===v.charCodeAt(--p););if(v=v.slice(d,++p)){if(p-=d,f&&L.DEBUG&&p>15&&(t>u||t!==a(t)))throw Error(s+m.s*t);if((h=h-d-1)>E)m.c=m.e=null;else if(h<A)m.c=[m.e=0];else{if(m.e=h,m.c=[],d=(h+1)%l,h<0&&(d+=l),d<p){for(d&&m.c.push(+v.slice(0,d)),p-=l;d<p;)m.c.push(+v.slice(d,d+=l));d=l-(v=v.slice(d)).length}else d-=p;for(;d--;v+="0");m.c.push(+v)}}else m.c=[m.e=0]}function F(t,e,n,i){var r,a,o,s,c;if(null==n?n=D:y(n,0,8),!t.c)return t.toString();if(r=t.c[0],o=t.e,null==e)c=m(t.c),c=1==i||2==i&&(o<=T||o>=O)?_(c,o):w(c,o,"0");else if(t=z(new L(t),e,n),a=t.e,c=m(t.c),s=c.length,1==i||2==i&&(e<=a||a<=T)){for(;s<e;c+="0",s++);c=_(c,a)}else if(e-=o,c=w(c,a,"0"),a+1>s){if(--e>0)for(c+=".";e--;c+="0");}else if(e+=a-s,e>0)for(a+1==s&&(c+=".");e--;c+="0");return t.s<0&&r?"-"+c:c}function B(t,e){for(var n,i=1,r=new L(t[0]);i<t.length;i++){if(n=new L(t[i]),!n.s){r=n;break}e.call(r,n)&&(r=n)}return r}function j(t,e,n){for(var i=1,r=e.length;!e[--r];e.pop());for(r=e[0];r>=10;r/=10,i++);return(n=i+n*l-1)>E?t.c=t.e=null:n<A?t.c=[t.e=0]:(t.e=n,t.c=e),t}function z(t,e,n,i){var o,s,u,d,f,p,v,m=t.c,g=h;if(m){t:{for(o=1,d=m[0];d>=10;d/=10,o++);if(s=e-o,s<0)s+=l,u=e,f=m[p=0],v=f/g[o-u-1]%10|0;else if(p=r((s+1)/l),p>=m.length){if(!i)break t;for(;m.length<=p;m.push(0));f=v=0,o=1,s%=l,u=s-l+1}else{for(f=d=m[p],o=1;d>=10;d/=10,o++);s%=l,u=s-l+o,v=u<0?0:f/g[o-u-1]%10|0}if(i=i||e<0||null!=m[p+1]||(u<0?f:f%g[o-u-1]),i=n<4?(v||i)&&(0==n||n==(t.s<0?3:2)):v>5||5==v&&(4==n||i||6==n&&(s>0?u>0?f/g[o-u]:0:m[p-1])%10&1||n==(t.s<0?8:7)),e<1||!m[0])return m.length=0,i?(e-=t.e+1,m[0]=g[(l-e%l)%l],t.e=-e||0):m[0]=t.e=0,t;if(0==s?(m.length=p,d=1,p--):(m.length=p+1,d=g[l-s],m[p]=u>0?a(f/g[o-u]%g[u])*d:0),i)for(;;){if(0==p){for(s=1,u=m[0];u>=10;u/=10,s++);for(u=m[0]+=d,d=1;u>=10;u/=10,d++);s!=d&&(t.e++,m[0]==c&&(m[0]=1));break}if(m[p]+=d,m[p]!=c)break;m[p--]=0,d=1}for(s=m.length;0===m[--s];m.pop());}t.e>E?t.c=t.e=null:t.e<A&&(t.c=[t.e=0])}return t}function H(t){var e,n=t.e;return null===n?t.toString():(e=m(t.c),e=n<=T||n>=O?_(e,n):w(e,n,"0"),t.s<0?"-"+e:e)}return L.clone=p,L.ROUND_UP=0,L.ROUND_DOWN=1,L.ROUND_CEIL=2,L.ROUND_FLOOR=3,L.ROUND_HALF_UP=4,L.ROUND_HALF_DOWN=5,L.ROUND_HALF_EVEN=6,L.ROUND_HALF_CEIL=7,L.ROUND_HALF_FLOOR=8,L.EUCLID=9,L.config=L.set=function(t){var e,n;if(null!=t){if("object"!=typeof t)throw Error(o+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(n=t[e],y(n,0,f,e),C=n),t.hasOwnProperty(e="ROUNDING_MODE")&&(n=t[e],y(n,0,8,e),D=n),t.hasOwnProperty(e="EXPONENTIAL_AT")&&(n=t[e],n&&n.pop?(y(n[0],-f,0,e),y(n[1],0,f,e),T=n[0],O=n[1]):(y(n,-f,f,e),T=-(O=n<0?-n:n))),t.hasOwnProperty(e="RANGE"))if(n=t[e],n&&n.pop)y(n[0],-f,-1,e),y(n[1],1,f,e),A=n[0],E=n[1];else{if(y(n,-f,f,e),!n)throw Error(o+e+" cannot be zero: "+n);A=-(E=n<0?-n:n)}if(t.hasOwnProperty(e="CRYPTO")){if(n=t[e],n!==!!n)throw Error(o+e+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw P=!n,Error(o+"crypto unavailable");P=n}else P=n}if(t.hasOwnProperty(e="MODULO_MODE")&&(n=t[e],y(n,0,9,e),M=n),t.hasOwnProperty(e="POW_PRECISION")&&(n=t[e],y(n,0,f,e),I=n),t.hasOwnProperty(e="FORMAT")){if(n=t[e],"object"!=typeof n)throw Error(o+e+" not an object: "+n);R=n}if(t.hasOwnProperty(e="ALPHABET")){if(n=t[e],"string"!=typeof n||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(o+e+" invalid: "+n);$="0123456789"==n.slice(0,10),N=n}}return{DECIMAL_PLACES:C,ROUNDING_MODE:D,EXPONENTIAL_AT:[T,O],RANGE:[A,E],CRYPTO:P,MODULO_MODE:M,POW_PRECISION:I,FORMAT:R,ALPHABET:N}},L.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!L.DEBUG)return!0;var e,n,i=t.c,r=t.e,s=t.s;t:if("[object Array]"=={}.toString.call(i)){if((1===s||-1===s)&&r>=-f&&r<=f&&r===a(r)){if(0===i[0]){if(0===r&&1===i.length)return!0;break t}if(e=(r+1)%l,e<1&&(e+=l),String(i[0]).length==e){for(e=0;e<i.length;e++)if(n=i[e],n<0||n>=c||n!==a(n))break t;if(0!==n)return!0}}}else if(null===i&&null===r&&(null===s||1===s||-1===s))return!0;throw Error(o+"Invalid BigNumber: "+t)},L.maximum=L.max=function(){return B(arguments,x.lt)},L.minimum=L.min=function(){return B(arguments,x.gt)},L.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return a(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var n,i,s,c,u,d=0,p=[],v=new L(S);if(null==t?t=C:y(t,0,f),c=r(t/l),P)if(crypto.getRandomValues){for(n=crypto.getRandomValues(new Uint32Array(c*=2));d<c;)u=131072*n[d]+(n[d+1]>>>11),u>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),n[d]=i[0],n[d+1]=i[1]):(p.push(u%1e14),d+=2);d=c/2}else{if(!crypto.randomBytes)throw P=!1,Error(o+"crypto unavailable");for(n=crypto.randomBytes(c*=7);d<c;)u=281474976710656*(31&n[d])+1099511627776*n[d+1]+4294967296*n[d+2]+16777216*n[d+3]+(n[d+4]<<16)+(n[d+5]<<8)+n[d+6],u>=9e15?crypto.randomBytes(7).copy(n,d):(p.push(u%1e14),d+=7);d=c/7}if(!P)for(;d<c;)u=e(),u<9e15&&(p[d++]=u%1e14);for(c=p[--d],t%=l,c&&t&&(u=h[l-t],p[d]=a(c/u)*u);0===p[d];p.pop(),d--);if(d<0)p=[s=0];else{for(s=-1;0===p[0];p.splice(0,1),s-=l);for(d=1,u=p[0];u>=10;u/=10,d++);d<l&&(s-=l-d)}return v.e=s,v.c=p,v}}(),L.sum=function(){for(var t=1,e=arguments,n=new L(e[0]);t<e.length;)n=n.plus(e[t++]);return n},n=function(){var t="0123456789";function n(t,e,n,i){for(var r,a,o=[0],s=0,c=t.length;s<c;){for(a=o.length;a--;o[a]*=e);for(o[0]+=i.indexOf(t.charAt(s++)),r=0;r<o.length;r++)o[r]>n-1&&(null==o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}return function(i,r,a,o,s){var c,l,u,h,d,f,p,v,g=i.indexOf("."),y=C,b=D;for(g>=0&&(h=I,I=0,i=i.replace(".",""),v=new L(r),f=v.pow(i.length-g),I=h,v.c=n(w(m(f.c),f.e,"0"),10,a,t),v.e=v.c.length),p=n(i,r,a,s?(c=N,t):(c=t,N)),u=h=p.length;0==p[--h];p.pop());if(!p[0])return c.charAt(0);if(g<0?--u:(f.c=p,f.e=u,f.s=o,f=e(f,v,y,b,a),p=f.c,d=f.r,u=f.e),l=u+y+1,g=p[l],h=a/2,d=d||l<0||null!=p[l+1],d=b<4?(null!=g||d)&&(0==b||b==(f.s<0?3:2)):g>h||g==h&&(4==b||d||6==b&&1&p[l-1]||b==(f.s<0?8:7)),l<1||!p[0])i=d?w(c.charAt(1),-y,c.charAt(0)):c.charAt(0);else{if(p.length=l,d)for(--a;++p[--l]>a;)p[l]=0,l||(++u,p=[1].concat(p));for(h=p.length;!p[--h];);for(g=0,i="";g<=h;i+=c.charAt(p[g++]));i=w(i,u,c.charAt(0))}return i}}(),e=function(){function t(t,e,n){var i,r,a,o,s=0,c=t.length,l=e%d,u=e/d|0;for(t=t.slice();c--;)a=t[c]%d,o=t[c]/d|0,i=u*a+o*l,r=l*a+i%d*d+s,s=(r/n|0)+(i/d|0)+u*o,t[c]=r%n;return s&&(t=[s].concat(t)),t}function e(t,e,n,i){var r,a;if(n!=i)a=n>i?1:-1;else for(r=a=0;r<n;r++)if(t[r]!=e[r]){a=t[r]>e[r]?1:-1;break}return a}function n(t,e,n,i){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*i+t[n]-e[n];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(i,r,o,s,u){var h,d,f,p,m,g,y,b,_,w,k,x,S,C,D,T,O,A=i.s==r.s?1:-1,E=i.c,P=r.c;if(!E||!E[0]||!P||!P[0])return new L(i.s&&r.s&&(E?!P||E[0]!=P[0]:P)?E&&0==E[0]||!P?0*A:A/0:NaN);for(b=new L(A),_=b.c=[],d=i.e-r.e,A=o+d+1,u||(u=c,d=v(i.e/l)-v(r.e/l),A=A/l|0),f=0;P[f]==(E[f]||0);f++);if(P[f]>(E[f]||0)&&d--,A<0)_.push(1),p=!0;else{for(C=E.length,T=P.length,f=0,A+=2,m=a(u/(P[0]+1)),m>1&&(P=t(P,m,u),E=t(E,m,u),T=P.length,C=E.length),S=T,w=E.slice(0,T),k=w.length;k<T;w[k++]=0);O=P.slice(),O=[0].concat(O),D=P[0],P[1]>=u/2&&D++;do{if(m=0,h=e(P,w,T,k),h<0){if(x=w[0],T!=k&&(x=x*u+(w[1]||0)),m=a(x/D),m>1){m>=u&&(m=u-1),g=t(P,m,u),y=g.length,k=w.length;while(1==e(g,w,y,k))m--,n(g,T<y?O:P,y,u),y=g.length,h=1}else 0==m&&(h=m=1),g=P.slice(),y=g.length;if(y<k&&(g=[0].concat(g)),n(w,g,k,u),k=w.length,-1==h)while(e(P,w,T,k)<1)m++,n(w,T<k?O:P,k,u),k=w.length}else 0===h&&(m++,w=[0]);_[f++]=m,w[0]?w[k++]=E[S]||0:(w=[E[S]],k=1)}while((S++<C||null!=w[0])&&A--);p=null!=w[0],_[0]||_.splice(0,1)}if(u==c){for(f=1,A=_[0];A>=10;A/=10,f++);z(b,o+(b.e=f+d*l-1)+1,s,p)}else b.e=d,b.r=+p;return b}}(),k=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,n=/^\.([^.]+)$/,i=/^-?(Infinity|NaN)$/,r=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(a,s,c,l){var u,h=c?s:s.replace(r,"");if(i.test(h))a.s=isNaN(h)?null:h<0?-1:1;else{if(!c&&(h=h.replace(t,(function(t,e,n){return u="x"==(n=n.toLowerCase())?16:"b"==n?2:8,l&&l!=u?t:e})),l&&(u=l,h=h.replace(e,"$1").replace(n,"0.$1")),s!=h))return new L(h,u);if(L.DEBUG)throw Error(o+"Not a"+(l?" base "+l:"")+" number: "+s);a.s=null}a.c=a.e=null}}(),x.absoluteValue=x.abs=function(){var t=new L(this);return t.s<0&&(t.s=1),t},x.comparedTo=function(t,e){return g(this,new L(t,e))},x.decimalPlaces=x.dp=function(t,e){var n,i,r,a=this;if(null!=t)return y(t,0,f),null==e?e=D:y(e,0,8),z(new L(a),t+a.e+1,e);if(!(n=a.c))return null;if(i=((r=n.length-1)-v(this.e/l))*l,r=n[r])for(;r%10==0;r/=10,i--);return i<0&&(i=0),i},x.dividedBy=x.div=function(t,n){return e(this,new L(t,n),C,D)},x.dividedToIntegerBy=x.idiv=function(t,n){return e(this,new L(t,n),0,1)},x.exponentiatedBy=x.pow=function(t,e){var n,i,s,c,u,h,d,f,p,v=this;if(t=new L(t),t.c&&!t.isInteger())throw Error(o+"Exponent not an integer: "+H(t));if(null!=e&&(e=new L(e)),h=t.e>14,!v.c||!v.c[0]||1==v.c[0]&&!v.e&&1==v.c.length||!t.c||!t.c[0])return p=new L(Math.pow(+H(v),h?2-b(t):+H(t))),e?p.mod(e):p;if(d=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new L(NaN);i=!d&&v.isInteger()&&e.isInteger(),i&&(v=v.mod(e))}else{if(t.e>9&&(v.e>0||v.e<-1||(0==v.e?v.c[0]>1||h&&v.c[1]>=24e7:v.c[0]<8e13||h&&v.c[0]<=9999975e7)))return c=v.s<0&&b(t)?-0:0,v.e>-1&&(c=1/c),new L(d?1/c:c);I&&(c=r(I/l+2))}for(h?(n=new L(.5),d&&(t.s=1),f=b(t)):(s=Math.abs(+H(t)),f=s%2),p=new L(S);;){if(f){if(p=p.times(v),!p.c)break;c?p.c.length>c&&(p.c.length=c):i&&(p=p.mod(e))}if(s){if(s=a(s/2),0===s)break;f=s%2}else if(t=t.times(n),z(t,t.e+1,1),t.e>14)f=b(t);else{if(s=+H(t),0===s)break;f=s%2}v=v.times(v),c?v.c&&v.c.length>c&&(v.c.length=c):i&&(v=v.mod(e))}return i?p:(d&&(p=S.div(p)),e?p.mod(e):c?z(p,I,D,u):p)},x.integerValue=function(t){var e=new L(this);return null==t?t=D:y(t,0,8),z(e,e.e+1,t)},x.isEqualTo=x.eq=function(t,e){return 0===g(this,new L(t,e))},x.isFinite=function(){return!!this.c},x.isGreaterThan=x.gt=function(t,e){return g(this,new L(t,e))>0},x.isGreaterThanOrEqualTo=x.gte=function(t,e){return 1===(e=g(this,new L(t,e)))||0===e},x.isInteger=function(){return!!this.c&&v(this.e/l)>this.c.length-2},x.isLessThan=x.lt=function(t,e){return g(this,new L(t,e))<0},x.isLessThanOrEqualTo=x.lte=function(t,e){return-1===(e=g(this,new L(t,e)))||0===e},x.isNaN=function(){return!this.s},x.isNegative=function(){return this.s<0},x.isPositive=function(){return this.s>0},x.isZero=function(){return!!this.c&&0==this.c[0]},x.minus=function(t,e){var n,i,r,a,o=this,s=o.s;if(t=new L(t,e),e=t.s,!s||!e)return new L(NaN);if(s!=e)return t.s=-e,o.plus(t);var u=o.e/l,h=t.e/l,d=o.c,f=t.c;if(!u||!h){if(!d||!f)return d?(t.s=-e,t):new L(f?o:NaN);if(!d[0]||!f[0])return f[0]?(t.s=-e,t):new L(d[0]?o:3==D?-0:0)}if(u=v(u),h=v(h),d=d.slice(),s=u-h){for((a=s<0)?(s=-s,r=d):(h=u,r=f),r.reverse(),e=s;e--;r.push(0));r.reverse()}else for(i=(a=(s=d.length)<(e=f.length))?s:e,s=e=0;e<i;e++)if(d[e]!=f[e]){a=d[e]<f[e];break}if(a&&(r=d,d=f,f=r,t.s=-t.s),e=(i=f.length)-(n=d.length),e>0)for(;e--;d[n++]=0);for(e=c-1;i>s;){if(d[--i]<f[i]){for(n=i;n&&!d[--n];d[n]=e);--d[n],d[i]+=c}d[i]-=f[i]}for(;0==d[0];d.splice(0,1),--h);return d[0]?j(t,d,h):(t.s=3==D?-1:1,t.c=[t.e=0],t)},x.modulo=x.mod=function(t,n){var i,r,a=this;return t=new L(t,n),!a.c||!t.s||t.c&&!t.c[0]?new L(NaN):!t.c||a.c&&!a.c[0]?new L(a):(9==M?(r=t.s,t.s=1,i=e(a,t,0,3),t.s=r,i.s*=r):i=e(a,t,0,M),t=a.minus(i.times(t)),t.c[0]||1!=M||(t.s=a.s),t)},x.multipliedBy=x.times=function(t,e){var n,i,r,a,o,s,u,h,f,p,m,g,y,b,_,w=this,k=w.c,x=(t=new L(t,e)).c;if(!k||!x||!k[0]||!x[0])return!w.s||!t.s||k&&!k[0]&&!x||x&&!x[0]&&!k?t.c=t.e=t.s=null:(t.s*=w.s,k&&x?(t.c=[0],t.e=0):t.c=t.e=null),t;for(i=v(w.e/l)+v(t.e/l),t.s*=w.s,u=k.length,p=x.length,u<p&&(y=k,k=x,x=y,r=u,u=p,p=r),r=u+p,y=[];r--;y.push(0));for(b=c,_=d,r=p;--r>=0;){for(n=0,m=x[r]%_,g=x[r]/_|0,o=u,a=r+o;a>r;)h=k[--o]%_,f=k[o]/_|0,s=g*h+f*m,h=m*h+s%_*_+y[a]+n,n=(h/b|0)+(s/_|0)+g*f,y[a--]=h%b;y[a]=n}return n?++i:y.splice(0,1),j(t,y,i)},x.negated=function(){var t=new L(this);return t.s=-t.s||null,t},x.plus=function(t,e){var n,i=this,r=i.s;if(t=new L(t,e),e=t.s,!r||!e)return new L(NaN);if(r!=e)return t.s=-e,i.minus(t);var a=i.e/l,o=t.e/l,s=i.c,u=t.c;if(!a||!o){if(!s||!u)return new L(r/0);if(!s[0]||!u[0])return u[0]?t:new L(s[0]?i:0*r)}if(a=v(a),o=v(o),s=s.slice(),r=a-o){for(r>0?(o=a,n=u):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for(r=s.length,e=u.length,r-e<0&&(n=u,u=s,s=n,e=r),r=0;e;)r=(s[--e]=s[e]+u[e]+r)/c|0,s[e]=c===s[e]?0:s[e]%c;return r&&(s=[r].concat(s),++o),j(t,s,o)},x.precision=x.sd=function(t,e){var n,i,r,a=this;if(null!=t&&t!==!!t)return y(t,1,f),null==e?e=D:y(e,0,8),z(new L(a),t,e);if(!(n=a.c))return null;if(r=n.length-1,i=r*l+1,r=n[r]){for(;r%10==0;r/=10,i--);for(r=n[0];r>=10;r/=10,i++);}return t&&a.e+1>i&&(i=a.e+1),i},x.shiftedBy=function(t){return y(t,-u,u),this.times("1e"+t)},x.squareRoot=x.sqrt=function(){var t,n,i,r,a,o=this,s=o.c,c=o.s,l=o.e,u=C+4,h=new L("0.5");if(1!==c||!s||!s[0])return new L(!c||c<0&&(!s||s[0])?NaN:s?o:1/0);if(c=Math.sqrt(+H(o)),0==c||c==1/0?(n=m(s),(n.length+l)%2==0&&(n+="0"),c=Math.sqrt(+n),l=v((l+1)/2)-(l<0||l%2),c==1/0?n="5e"+l:(n=c.toExponential(),n=n.slice(0,n.indexOf("e")+1)+l),i=new L(n)):i=new L(c+""),i.c[0])for(l=i.e,c=l+u,c<3&&(c=0);;)if(a=i,i=h.times(a.plus(e(o,a,u,1))),m(a.c).slice(0,c)===(n=m(i.c)).slice(0,c)){if(i.e<l&&--c,n=n.slice(c-3,c+1),"9999"!=n&&(r||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(z(i,i.e+C+2,1),t=!i.times(i).eq(o));break}if(!r&&(z(a,a.e+C+2,0),a.times(a).eq(o))){i=a;break}u+=4,c+=4,r=1}return z(i,i.e+C+1,D,t)},x.toExponential=function(t,e){return null!=t&&(y(t,0,f),t++),F(this,t,e,1)},x.toFixed=function(t,e){return null!=t&&(y(t,0,f),t=t+this.e+1),F(this,t,e)},x.toFormat=function(t,e,n){var i,r=this;if(null==n)null!=t&&e&&"object"==typeof e?(n=e,e=null):t&&"object"==typeof t?(n=t,t=e=null):n=R;else if("object"!=typeof n)throw Error(o+"Argument not an object: "+n);if(i=r.toFixed(t,e),r.c){var a,s=i.split("."),c=+n.groupSize,l=+n.secondaryGroupSize,u=n.groupSeparator||"",h=s[0],d=s[1],f=r.s<0,p=f?h.slice(1):h,v=p.length;if(l&&(a=c,c=l,l=a,v-=a),c>0&&v>0){for(a=v%c||c,h=p.substr(0,a);a<v;a+=c)h+=u+p.substr(a,c);l>0&&(h+=u+p.slice(a)),f&&(h="-"+h)}i=d?h+(n.decimalSeparator||"")+((l=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):h}return(n.prefix||"")+i+(n.suffix||"")},x.toFraction=function(t){var n,i,r,a,s,c,u,d,f,p,v,g,y=this,b=y.c;if(null!=t&&(u=new L(t),!u.isInteger()&&(u.c||1!==u.s)||u.lt(S)))throw Error(o+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+H(u));if(!b)return new L(y);for(n=new L(S),f=i=new L(S),r=d=new L(S),g=m(b),s=n.e=g.length-y.e-1,n.c[0]=h[(c=s%l)<0?l+c:c],t=!t||u.comparedTo(n)>0?s>0?n:f:u,c=E,E=1/0,u=new L(g),d.c[0]=0;;){if(p=e(u,n,0,1),a=i.plus(p.times(r)),1==a.comparedTo(t))break;i=r,r=a,f=d.plus(p.times(a=f)),d=a,n=u.minus(p.times(a=n)),u=a}return a=e(t.minus(i),r,0,1),d=d.plus(a.times(f)),i=i.plus(a.times(r)),d.s=f.s=y.s,s*=2,v=e(f,r,s,D).minus(y).abs().comparedTo(e(d,i,s,D).minus(y).abs())<1?[f,r]:[d,i],E=c,v},x.toNumber=function(){return+H(this)},x.toPrecision=function(t,e){return null!=t&&y(t,1,f),F(this,t,e,2)},x.toString=function(t){var e,i=this,r=i.s,a=i.e;return null===a?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(null==t?e=a<=T||a>=O?_(m(i.c),a):w(m(i.c),a,"0"):10===t&&$?(i=z(new L(i),C+a+1,D),e=w(m(i.c),i.e,"0")):(y(t,2,N.length,"Base"),e=n(w(m(i.c),a,"0"),10,t,r,!0)),r<0&&i.c[0]&&(e="-"+e)),e},x.valueOf=x.toJSON=function(){return H(this)},x._isBigNumber=!0,x[Symbol.toStringTag]="BigNumber",x[Symbol.for("nodejs.util.inspect.custom")]=x.valueOf,null!=t&&L.set(t),L}function v(t){var e=0|t;return t>0||t===e?e:e-1}function m(t){for(var e,n,i=1,r=t.length,a=t[0]+"";i<r;){for(e=t[i++]+"",n=l-e.length;n--;e="0"+e);a+=e}for(r=a.length;48===a.charCodeAt(--r););return a.slice(0,r+1||1)}function g(t,e){var n,i,r=t.c,a=e.c,o=t.s,s=e.s,c=t.e,l=e.e;if(!o||!s)return null;if(n=r&&!r[0],i=a&&!a[0],n||i)return n?i?0:-s:o;if(o!=s)return o;if(n=o<0,i=c==l,!r||!a)return i?0:!r^n?1:-1;if(!i)return c>l^n?1:-1;for(s=(c=r.length)<(l=a.length)?c:l,o=0;o<s;o++)if(r[o]!=a[o])return r[o]>a[o]^n?1:-1;return c==l?0:c>l^n?1:-1}function y(t,e,n,i){if(t<e||t>n||t!==a(t))throw Error(o+(i||"Argument")+("number"==typeof t?t<e||t>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function b(t){var e=t.c.length-1;return v(t.e/l)==e&&t.c[e]%2!=0}function _(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function w(t,e,n){var i,r;if(e<0){for(r=n+".";++e;r+=n);t=r+t}else if(i=t.length,++e>i){for(r=n,e-=i;--e;r+=n);t+=r}else e<i&&(t=t.slice(0,e)+"."+t.slice(e));return t}var k=p();const x=k},9649:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>rr});var i=Math.PI/180;function r(){return"undefined"!==typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window))}const a="undefined"!==typeof global?global:"undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope?self:{},o={_global:a,version:"8.3.13",isBrowser:r(),isUnminified:/param/.test(function(t){}.toString()),dblClickWindow:400,getAngle(t){return o.angleDeg?t*i:t},enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:"undefined"!==typeof window&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging(){return o["DD"].isDragging},isDragReady(){return!!o["DD"].node},document:a.document,_injectGlobal(t){a.Konva=t}},s=t=>{o[t.prototype.getClassName()]=t};o._injectGlobal(o);class c{constructor(t=[1,0,0,1,0,0]){this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new c(this.m)}copyInto(t){t.m[0]=this.m[0],t.m[1]=this.m[1],t.m[2]=this.m[2],t.m[3]=this.m[3],t.m[4]=this.m[4],t.m[5]=this.m[5]}point(t){var e=this.m;return{x:e[0]*t.x+e[2]*t.y+e[4],y:e[1]*t.x+e[3]*t.y+e[5]}}translate(t,e){return this.m[4]+=this.m[0]*t+this.m[2]*e,this.m[5]+=this.m[1]*t+this.m[3]*e,this}scale(t,e){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=e,this.m[3]*=e,this}rotate(t){var e=Math.cos(t),n=Math.sin(t),i=this.m[0]*e+this.m[2]*n,r=this.m[1]*e+this.m[3]*n,a=this.m[0]*-n+this.m[2]*e,o=this.m[1]*-n+this.m[3]*e;return this.m[0]=i,this.m[1]=r,this.m[2]=a,this.m[3]=o,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(t,e){var n=this.m[0]+this.m[2]*e,i=this.m[1]+this.m[3]*e,r=this.m[2]+this.m[0]*t,a=this.m[3]+this.m[1]*t;return this.m[0]=n,this.m[1]=i,this.m[2]=r,this.m[3]=a,this}multiply(t){var e=this.m[0]*t.m[0]+this.m[2]*t.m[1],n=this.m[1]*t.m[0]+this.m[3]*t.m[1],i=this.m[0]*t.m[2]+this.m[2]*t.m[3],r=this.m[1]*t.m[2]+this.m[3]*t.m[3],a=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],o=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=e,this.m[1]=n,this.m[2]=i,this.m[3]=r,this.m[4]=a,this.m[5]=o,this}invert(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),e=this.m[3]*t,n=-this.m[1]*t,i=-this.m[2]*t,r=this.m[0]*t,a=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),o=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=e,this.m[1]=n,this.m[2]=i,this.m[3]=r,this.m[4]=a,this.m[5]=o,this}getMatrix(){return this.m}decompose(){var t=this.m[0],e=this.m[1],n=this.m[2],i=this.m[3],r=this.m[4],a=this.m[5],o=t*i-e*n;let s={x:r,y:a,rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=t||0!=e){var c=Math.sqrt(t*t+e*e);s.rotation=e>0?Math.acos(t/c):-Math.acos(t/c),s.scaleX=c,s.scaleY=o/c,s.skewX=(t*n+e*i)/o,s.skewY=0}else if(0!=n||0!=i){var l=Math.sqrt(n*n+i*i);s.rotation=Math.PI/2-(i>0?Math.acos(-n/l):-Math.acos(n/l)),s.scaleX=o/l,s.scaleY=l,s.skewX=0,s.skewY=(t*n+e*i)/o}return s.rotation=C._getRotation(s.rotation),s}}var l="[object Array]",u="[object Number]",h="[object String]",d="[object Boolean]",f=Math.PI/180,p=180/Math.PI,v="#",m="",g="0",y="Konva warning: ",b="Konva error: ",_="rgb(",w={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},k=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,x=[];const S="undefined"!==typeof requestAnimationFrame&&requestAnimationFrame||function(t){setTimeout(t,60)},C={_isElement(t){return!(!t||1!=t.nodeType)},_isFunction(t){return!!(t&&t.constructor&&t.call&&t.apply)},_isPlainObject(t){return!!t&&t.constructor===Object},_isArray(t){return Object.prototype.toString.call(t)===l},_isNumber(t){return Object.prototype.toString.call(t)===u&&!isNaN(t)&&isFinite(t)},_isString(t){return Object.prototype.toString.call(t)===h},_isBoolean(t){return Object.prototype.toString.call(t)===d},isObject(t){return t instanceof Object},isValidSelector(t){if("string"!==typeof t)return!1;var e=t[0];return"#"===e||"."===e||e===e.toUpperCase()},_sign(t){return 0===t||t>0?1:-1},requestAnimFrame(t){x.push(t),1===x.length&&S((function(){const t=x;x=[],t.forEach((function(t){t()}))}))},createCanvasElement(){var t=document.createElement("canvas");try{t.style=t.style||{}}catch(e){}return t},createImageElement(){return document.createElement("img")},_isInDocument(t){while(t=t.parentNode)if(t==document)return!0;return!1},_urlToImage(t,e){var n=C.createImageElement();n.onload=function(){e(n)},n.src=t},_rgbToHex(t,e,n){return((1<<24)+(t<<16)+(e<<8)+n).toString(16).slice(1)},_hexToRgb(t){t=t.replace(v,m);var e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:255&e}},getRandomColor(){var t=(16777215*Math.random()<<0).toString(16);while(t.length<6)t=g+t;return v+t},getRGB(t){var e;return t in w?(e=w[t],{r:e[0],g:e[1],b:e[2]}):t[0]===v?this._hexToRgb(t.substring(1)):t.substr(0,4)===_?(e=k.exec(t.replace(/ /g,"")),{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10)}):{r:0,g:0,b:0}},colorToRGBA(t){return t=t||"black",C._namedColorToRBA(t)||C._hex3ColorToRGBA(t)||C._hex6ColorToRGBA(t)||C._rgbColorToRGBA(t)||C._rgbaColorToRGBA(t)||C._hslColorToRGBA(t)},_namedColorToRBA(t){var e=w[t.toLowerCase()];return e?{r:e[0],g:e[1],b:e[2],a:1}:null},_rgbColorToRGBA(t){if(0===t.indexOf("rgb(")){t=t.match(/rgb\(([^)]+)\)/)[1];var e=t.split(/ *, */).map(Number);return{r:e[0],g:e[1],b:e[2],a:1}}},_rgbaColorToRGBA(t){if(0===t.indexOf("rgba(")){t=t.match(/rgba\(([^)]+)\)/)[1];var e=t.split(/ *, */).map(((t,e)=>"%"===t.slice(-1)?3===e?parseInt(t)/100:parseInt(t)/100*255:Number(t)));return{r:e[0],g:e[1],b:e[2],a:e[3]}}},_hex6ColorToRGBA(t){if("#"===t[0]&&7===t.length)return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16),a:1}},_hex3ColorToRGBA(t){if("#"===t[0]&&4===t.length)return{r:parseInt(t[1]+t[1],16),g:parseInt(t[2]+t[2],16),b:parseInt(t[3]+t[3],16),a:1}},_hslColorToRGBA(t){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(t)){const[e,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t),i=Number(n[0])/360,r=Number(n[1])/100,a=Number(n[2])/100;let o,s,c;if(0===r)return c=255*a,{r:Math.round(c),g:Math.round(c),b:Math.round(c),a:1};o=a<.5?a*(1+r):a+r-a*r;const l=2*a-o,u=[0,0,0];for(let t=0;t<3;t++)s=i+1/3*-(t-1),s<0&&s++,s>1&&s--,c=6*s<1?l+6*(o-l)*s:2*s<1?o:3*s<2?l+(o-l)*(2/3-s)*6:l,u[t]=255*c;return{r:Math.round(u[0]),g:Math.round(u[1]),b:Math.round(u[2]),a:1}}},haveIntersection(t,e){return!(e.x>t.x+t.width||e.x+e.width<t.x||e.y>t.y+t.height||e.y+e.height<t.y)},cloneObject(t){var e={};for(var n in t)this._isPlainObject(t[n])?e[n]=this.cloneObject(t[n]):this._isArray(t[n])?e[n]=this.cloneArray(t[n]):e[n]=t[n];return e},cloneArray(t){return t.slice(0)},degToRad(t){return t*f},radToDeg(t){return t*p},_degToRad(t){return C.warn("Util._degToRad is removed. Please use public Util.degToRad instead."),C.degToRad(t)},_radToDeg(t){return C.warn("Util._radToDeg is removed. Please use public Util.radToDeg instead."),C.radToDeg(t)},_getRotation(t){return o.angleDeg?C.radToDeg(t):t},_capitalize(t){return t.charAt(0).toUpperCase()+t.slice(1)},throw(t){throw new Error(b+t)},error(t){console.error(b+t)},warn(t){o.showWarnings&&console.warn(y+t)},each(t,e){for(var n in t)e(n,t[n])},_inRange(t,e,n){return e<=t&&t<n},_getProjectionToSegment(t,e,n,i,r,a){var o,s,c,l=(t-n)*(t-n)+(e-i)*(e-i);if(0==l)o=t,s=e,c=(r-n)*(r-n)+(a-i)*(a-i);else{var u=((r-t)*(n-t)+(a-e)*(i-e))/l;u<0?(o=t,s=e,c=(t-r)*(t-r)+(e-a)*(e-a)):u>1?(o=n,s=i,c=(n-r)*(n-r)+(i-a)*(i-a)):(o=t+u*(n-t),s=e+u*(i-e),c=(o-r)*(o-r)+(s-a)*(s-a))}return[o,s,c]},_getProjectionToLine(t,e,n){var i=C.cloneObject(t),r=Number.MAX_VALUE;return e.forEach((function(a,o){if(n||o!==e.length-1){var s=e[(o+1)%e.length],c=C._getProjectionToSegment(a.x,a.y,s.x,s.y,t.x,t.y),l=c[0],u=c[1],h=c[2];h<r&&(i.x=l,i.y=u,r=h)}})),i},_prepareArrayForTween(t,e,n){var i,r=[],a=[];if(t.length>e.length){var o=e;e=t,t=o}for(i=0;i<t.length;i+=2)r.push({x:t[i],y:t[i+1]});for(i=0;i<e.length;i+=2)a.push({x:e[i],y:e[i+1]});var s=[];return a.forEach((function(t){var e=C._getProjectionToLine(t,r,n);s.push(e.x),s.push(e.y)})),s},_prepareToStringify(t){var e;for(var n in t.visitedByCircularReferenceRemoval=!0,t)if(t.hasOwnProperty(n)&&t[n]&&"object"==typeof t[n])if(e=Object.getOwnPropertyDescriptor(t,n),t[n].visitedByCircularReferenceRemoval||C._isElement(t[n])){if(!e.configurable)return null;delete t[n]}else if(null===C._prepareToStringify(t[n])){if(!e.configurable)return null;delete t[n]}return delete t.visitedByCircularReferenceRemoval,t},_assign(t,e){for(var n in e)t[n]=e[n];return t},_getFirstPointerId(t){return t.touches?t.changedTouches[0].identifier:t.pointerId||999}};function D(t){return C._isString(t)?'"'+t+'"':"[object Number]"===Object.prototype.toString.call(t)||C._isBoolean(t)?t:Object.prototype.toString.call(t)}function T(t){return t>255?255:t<0?0:Math.round(t)}function O(){if(o.isUnminified)return function(t,e){return C._isNumber(t)||C.warn(D(t)+' is a not valid value for "'+e+'" attribute. The value should be a number.'),t}}function A(t){if(o.isUnminified)return function(e,n){let i=C._isNumber(e),r=C._isArray(e)&&e.length==t;return i||r||C.warn(D(e)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array<number>('+t+")"),e}}function E(){if(o.isUnminified)return function(t,e){var n=C._isNumber(t),i="auto"===t;return n||i||C.warn(D(t)+' is a not valid value for "'+e+'" attribute. The value should be a number or "auto".'),t}}function P(){if(o.isUnminified)return function(t,e){return C._isString(t)||C.warn(D(t)+' is a not valid value for "'+e+'" attribute. The value should be a string.'),t}}function M(){if(o.isUnminified)return function(t,e){const n=C._isString(t),i="[object CanvasGradient]"===Object.prototype.toString.call(t)||t&&t.addColorStop;return n||i||C.warn(D(t)+' is a not valid value for "'+e+'" attribute. The value should be a string or a native gradient.'),t}}function I(){if(o.isUnminified)return function(t,e){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&t instanceof n||(C._isArray(t)?t.forEach((function(t){C._isNumber(t)||C.warn('"'+e+'" attribute has non numeric element '+t+". Make sure that all elements are numbers.")})):C.warn(D(t)+' is a not valid value for "'+e+'" attribute. The value should be a array of numbers.')),t}}function R(){if(o.isUnminified)return function(t,e){var n=!0===t||!1===t;return n||C.warn(D(t)+' is a not valid value for "'+e+'" attribute. The value should be a boolean.'),t}}function N(t){if(o.isUnminified)return function(e,n){return void 0===e||null===e||C.isObject(e)||C.warn(D(e)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+t),e}}var $="get",L="set";const F={addGetterSetter(t,e,n,i,r){F.addGetter(t,e,n),F.addSetter(t,e,i,r),F.addOverloadedGetterSetter(t,e)},addGetter(t,e,n){var i=$+C._capitalize(e);t.prototype[i]=t.prototype[i]||function(){var t=this.attrs[e];return void 0===t?n:t}},addSetter(t,e,n,i){var r=L+C._capitalize(e);t.prototype[r]||F.overWriteSetter(t,e,n,i)},overWriteSetter(t,e,n,i){var r=L+C._capitalize(e);t.prototype[r]=function(t){return n&&void 0!==t&&null!==t&&(t=n.call(this,t,e)),this._setAttr(e,t),i&&i.call(this),this}},addComponentsGetterSetter(t,e,n,i,r){var a,o,s=n.length,c=C._capitalize,l=$+c(e),u=L+c(e);t.prototype[l]=function(){var t={};for(a=0;a<s;a++)o=n[a],t[o]=this.getAttr(e+c(o));return t};var h=N(n);t.prototype[u]=function(t){var a,o=this.attrs[e];for(a in i&&(t=i.call(this,t)),h&&h.call(this,t,e),t)t.hasOwnProperty(a)&&this._setAttr(e+c(a),t[a]);return t||n.forEach((t=>{this._setAttr(e+c(t),void 0)})),this._fireChangeEvent(e,o,t),r&&r.call(this),this},F.addOverloadedGetterSetter(t,e)},addOverloadedGetterSetter(t,e){var n=C._capitalize(e),i=L+n,r=$+n;t.prototype[e]=function(){return arguments.length?(this[i](arguments[0]),this):this[r]()}},addDeprecatedGetterSetter(t,e,n,i){C.error("Adding deprecated "+e);var r=$+C._capitalize(e),a=e+" property is deprecated and will be removed soon. Look at Konva change log for more information.";t.prototype[r]=function(){C.error(a);var t=this.attrs[e];return void 0===t?n:t},F.addSetter(t,e,i,(function(){C.error(a)})),F.addOverloadedGetterSetter(t,e)},backCompat(t,e){C.each(e,(function(e,n){var i=t.prototype[n],r=$+C._capitalize(e),a=L+C._capitalize(e);function o(){i.apply(this,arguments),C.error('"'+e+'" method is deprecated and will be removed soon. Use ""'+n+'" instead.')}t.prototype[e]=o,t.prototype[r]=o,t.prototype[a]=o}))},afterSetFilter(){this._filterUpToDate=!1}};function B(t){var e,n,i=[],r=t.length,a=C;for(e=0;e<r;e++)n=t[e],a._isNumber(n)?n=Math.round(1e3*n)/1e3:a._isString(n)||(n+=""),i.push(n);return i}var j=",",z="(",H=")",V="([",G="])",W=";",U="()",Y="=",q=["arc","arcTo","beginPath","bezierCurveTo","clearRect","clip","closePath","createLinearGradient","createPattern","createRadialGradient","drawImage","ellipse","fill","fillText","getImageData","createImageData","lineTo","moveTo","putImageData","quadraticCurveTo","rect","restore","rotate","save","scale","setLineDash","setTransform","stroke","strokeText","transform","translate"],X=["fillStyle","strokeStyle","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","font","textAlign","textBaseline","globalAlpha","globalCompositeOperation","imageSmoothingEnabled"];const K=100;class J{constructor(t){this.canvas=t,o.enableTrace&&(this.traceArr=[],this._enableTrace())}fillShape(t){t.fillEnabled()&&this._fill(t)}_fill(t){}strokeShape(t){t.hasStroke()&&this._stroke(t)}_stroke(t){}fillStrokeShape(t){t.attrs.fillAfterStrokeEnabled?(this.strokeShape(t),this.fillShape(t)):(this.fillShape(t),this.strokeShape(t))}getTrace(t,e){var n,i,r,a,o=this.traceArr,s=o.length,c="";for(n=0;n<s;n++)i=o[n],r=i.method,r?(a=i.args,c+=r,t?c+=U:C._isArray(a[0])?c+=V+a.join(j)+G:(e&&(a=a.map((t=>"number"===typeof t?Math.floor(t):t))),c+=z+a.join(j)+H)):(c+=i.property,t||(c+=Y+i.val)),c+=W;return c}clearTrace(){this.traceArr=[]}_trace(t){var e,n=this.traceArr;n.push(t),e=n.length,e>=K&&n.shift()}reset(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)}getCanvas(){return this.canvas}clear(t){var e=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,e.getWidth()/e.pixelRatio,e.getHeight()/e.pixelRatio)}_applyLineCap(t){var e=t.getLineCap();e&&this.setAttr("lineCap",e)}_applyOpacity(t){var e=t.getAbsoluteOpacity();1!==e&&this.setAttr("globalAlpha",e)}_applyLineJoin(t){var e=t.attrs.lineJoin;e&&this.setAttr("lineJoin",e)}setAttr(t,e){this._context[t]=e}arc(t,e,n,i,r,a){this._context.arc(t,e,n,i,r,a)}arcTo(t,e,n,i,r){this._context.arcTo(t,e,n,i,r)}beginPath(){this._context.beginPath()}bezierCurveTo(t,e,n,i,r,a){this._context.bezierCurveTo(t,e,n,i,r,a)}clearRect(t,e,n,i){this._context.clearRect(t,e,n,i)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(t,e){var n=arguments;return 2===n.length?this._context.createImageData(t,e):1===n.length?this._context.createImageData(t):void 0}createLinearGradient(t,e,n,i){return this._context.createLinearGradient(t,e,n,i)}createPattern(t,e){return this._context.createPattern(t,e)}createRadialGradient(t,e,n,i,r,a){return this._context.createRadialGradient(t,e,n,i,r,a)}drawImage(t,e,n,i,r,a,o,s,c){var l=arguments,u=this._context;3===l.length?u.drawImage(t,e,n):5===l.length?u.drawImage(t,e,n,i,r):9===l.length&&u.drawImage(t,e,n,i,r,a,o,s,c)}ellipse(t,e,n,i,r,a,o,s){this._context.ellipse(t,e,n,i,r,a,o,s)}isPointInPath(t,e){return this._context.isPointInPath(t,e)}fill(t){t?this._context.fill(t):this._context.fill()}fillRect(t,e,n,i){this._context.fillRect(t,e,n,i)}strokeRect(t,e,n,i){this._context.strokeRect(t,e,n,i)}fillText(t,e,n,i){i?this._context.fillText(t,e,n,i):this._context.fillText(t,e,n)}measureText(t){return this._context.measureText(t)}getImageData(t,e,n,i){return this._context.getImageData(t,e,n,i)}lineTo(t,e){this._context.lineTo(t,e)}moveTo(t,e){this._context.moveTo(t,e)}rect(t,e,n,i){this._context.rect(t,e,n,i)}putImageData(t,e,n){this._context.putImageData(t,e,n)}quadraticCurveTo(t,e,n,i){this._context.quadraticCurveTo(t,e,n,i)}restore(){this._context.restore()}rotate(t){this._context.rotate(t)}save(){this._context.save()}scale(t,e){this._context.scale(t,e)}setLineDash(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context["mozDash"]=t:"webkitLineDash"in this._context&&(this._context["webkitLineDash"]=t)}getLineDash(){return this._context.getLineDash()}setTransform(t,e,n,i,r,a){this._context.setTransform(t,e,n,i,r,a)}stroke(t){t?this._context.stroke(t):this._context.stroke()}strokeText(t,e,n,i){this._context.strokeText(t,e,n,i)}transform(t,e,n,i,r,a){this._context.transform(t,e,n,i,r,a)}translate(t,e){this._context.translate(t,e)}_enableTrace(){var t,e,n=this,i=q.length,r=this.setAttr,a=function(t){var i,r=n[t];n[t]=function(){return e=B(Array.prototype.slice.call(arguments,0)),i=r.apply(n,arguments),n._trace({method:t,args:e}),i}};for(t=0;t<i;t++)a(q[t]);n.setAttr=function(){r.apply(n,arguments);var t=arguments[0],e=arguments[1];"shadowOffsetX"!==t&&"shadowOffsetY"!==t&&"shadowBlur"!==t||(e/=this.canvas.getPixelRatio()),n._trace({property:t,val:e})}}_applyGlobalCompositeOperation(t){const e=t.attrs.globalCompositeOperation;var n=!e||"source-over"===e;n||this.setAttr("globalCompositeOperation",e)}}X.forEach((function(t){Object.defineProperty(J.prototype,t,{get(){return this._context[t]},set(e){this._context[t]=e}})}));class Z extends J{constructor(t){super(t),this._context=t._canvas.getContext("2d")}_fillColor(t){var e=t.fill();this.setAttr("fillStyle",e),t._fillFunc(this)}_fillPattern(t){this.setAttr("fillStyle",t._getFillPattern()),t._fillFunc(this)}_fillLinearGradient(t){var e=t._getLinearGradient();e&&(this.setAttr("fillStyle",e),t._fillFunc(this))}_fillRadialGradient(t){var e=t._getRadialGradient();e&&(this.setAttr("fillStyle",e),t._fillFunc(this))}_fill(t){var e=t.fill(),n=t.getFillPriority();if(e&&"color"===n)this._fillColor(t);else{var i=t.getFillPatternImage();if(i&&"pattern"===n)this._fillPattern(t);else{var r=t.getFillLinearGradientColorStops();if(r&&"linear-gradient"===n)this._fillLinearGradient(t);else{var a=t.getFillRadialGradientColorStops();a&&"radial-gradient"===n?this._fillRadialGradient(t):e?this._fillColor(t):i?this._fillPattern(t):r?this._fillLinearGradient(t):a&&this._fillRadialGradient(t)}}}}_strokeLinearGradient(t){var e=t.getStrokeLinearGradientStartPoint(),n=t.getStrokeLinearGradientEndPoint(),i=t.getStrokeLinearGradientColorStops(),r=this.createLinearGradient(e.x,e.y,n.x,n.y);if(i){for(var a=0;a<i.length;a+=2)r.addColorStop(i[a],i[a+1]);this.setAttr("strokeStyle",r)}}_stroke(t){var e=t.dash(),n=t.getStrokeScaleEnabled();if(t.hasStroke()){if(!n){this.save();var i=this.getCanvas().getPixelRatio();this.setTransform(i,0,0,i,0,0)}this._applyLineCap(t),e&&t.dashEnabled()&&(this.setLineDash(e),this.setAttr("lineDashOffset",t.dashOffset())),this.setAttr("lineWidth",t.strokeWidth()),t.getShadowForStrokeEnabled()||this.setAttr("shadowColor","rgba(0,0,0,0)");var r=t.getStrokeLinearGradientColorStops();r?this._strokeLinearGradient(t):this.setAttr("strokeStyle",t.stroke()),t._strokeFunc(this),n||this.restore()}}_applyShadow(t){var e,n,i,r=null!==(e=t.getShadowRGBA())&&void 0!==e?e:"black",a=null!==(n=t.getShadowBlur())&&void 0!==n?n:5,o=null!==(i=t.getShadowOffset())&&void 0!==i?i:{x:0,y:0},s=t.getAbsoluteScale(),c=this.canvas.getPixelRatio(),l=s.x*c,u=s.y*c;this.setAttr("shadowColor",r),this.setAttr("shadowBlur",a*Math.min(Math.abs(l),Math.abs(u))),this.setAttr("shadowOffsetX",o.x*l),this.setAttr("shadowOffsetY",o.y*u)}}class Q extends J{constructor(t){super(t),this._context=t._canvas.getContext("2d",{willReadFrequently:!0})}_fill(t){this.save(),this.setAttr("fillStyle",t.colorKey),t._fillFuncHit(this),this.restore()}strokeShape(t){t.hasHitStroke()&&this._stroke(t)}_stroke(t){if(t.hasHitStroke()){var e=t.getStrokeScaleEnabled();if(!e){this.save();var n=this.getCanvas().getPixelRatio();this.setTransform(n,0,0,n,0,0)}this._applyLineCap(t);var i=t.hitStrokeWidth(),r="auto"===i?t.strokeWidth():i;this.setAttr("lineWidth",r),this.setAttr("strokeStyle",t.colorKey),t._strokeFuncHit(this),e||this.restore()}}}var tt;function et(){if(tt)return tt;var t=C.createCanvasElement(),e=t.getContext("2d");return tt=function(){var t=o._global.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/n}(),tt}class nt{constructor(t){this.pixelRatio=1,this.width=0,this.height=0,this.isCache=!1;var e=t||{},n=e.pixelRatio||o.pixelRatio||et();this.pixelRatio=n,this._canvas=C.createCanvasElement(),this._canvas.style.padding="0",this._canvas.style.margin="0",this._canvas.style.border="0",this._canvas.style.background="transparent",this._canvas.style.position="absolute",this._canvas.style.top="0",this._canvas.style.left="0"}getContext(){return this.context}getPixelRatio(){return this.pixelRatio}setPixelRatio(t){var e=this.pixelRatio;this.pixelRatio=t,this.setSize(this.getWidth()/e,this.getHeight()/e)}setWidth(t){this.width=this._canvas.width=t*this.pixelRatio,this._canvas.style.width=t+"px";var e=this.pixelRatio,n=this.getContext()._context;n.scale(e,e)}setHeight(t){this.height=this._canvas.height=t*this.pixelRatio,this._canvas.style.height=t+"px";var e=this.pixelRatio,n=this.getContext()._context;n.scale(e,e)}getWidth(){return this.width}getHeight(){return this.height}setSize(t,e){this.setWidth(t||0),this.setHeight(e||0)}toDataURL(t,e){try{return this._canvas.toDataURL(t,e)}catch(n){try{return this._canvas.toDataURL()}catch(i){return C.error("Unable to get data URL. "+i.message+" For more info read https://konvajs.org/docs/posts/Tainted_Canvas.html."),""}}}}F.addGetterSetter(nt,"pixelRatio",void 0,O());class it extends nt{constructor(t={width:0,height:0}){super(t),this.context=new Z(this),this.setSize(t.width,t.height)}}class rt extends nt{constructor(t={width:0,height:0}){super(t),this.hitCanvas=!0,this.context=new Q(this),this.setSize(t.width,t.height)}}const at={get isDragging(){var t=!1;return at._dragElements.forEach((e=>{"dragging"===e.dragStatus&&(t=!0)})),t},justDragged:!1,get node(){var t;return at._dragElements.forEach((e=>{t=e.node})),t},_dragElements:new Map,_drag(t){const e=[];at._dragElements.forEach(((n,i)=>{const{node:r}=n,a=r.getStage();a.setPointersPositions(t),void 0===n.pointerId&&(n.pointerId=C._getFirstPointerId(t));const o=a._changedPointerPositions.find((t=>t.id===n.pointerId));if(o){if("dragging"!==n.dragStatus){var s=r.dragDistance(),c=Math.max(Math.abs(o.x-n.startPointerPos.x),Math.abs(o.y-n.startPointerPos.y));if(c<s)return;if(r.startDrag({evt:t}),!r.isDragging())return}r._setDragPosition(t,n),e.push(r)}})),e.forEach((e=>{e.fire("dragmove",{type:"dragmove",target:e,evt:t},!0)}))},_endDragBefore(t){const e=[];at._dragElements.forEach((n=>{const{node:i}=n,r=i.getStage();t&&r.setPointersPositions(t);const a=r._changedPointerPositions.find((t=>t.id===n.pointerId));if(!a)return;"dragging"!==n.dragStatus&&"stopped"!==n.dragStatus||(at.justDragged=!0,o._mouseListenClick=!1,o._touchListenClick=!1,o._pointerListenClick=!1,n.dragStatus="stopped");const s=n.node.getLayer()||n.node instanceof o.Stage&&n.node;s&&-1===e.indexOf(s)&&e.push(s)})),e.forEach((t=>{t.draw()}))},_endDragAfter(t){at._dragElements.forEach(((e,n)=>{"stopped"===e.dragStatus&&e.node.fire("dragend",{type:"dragend",target:e.node,evt:t},!0),"dragging"!==e.dragStatus&&at._dragElements.delete(n)}))}};o.isBrowser&&(window.addEventListener("mouseup",at._endDragBefore,!0),window.addEventListener("touchend",at._endDragBefore,!0),window.addEventListener("mousemove",at._drag),window.addEventListener("touchmove",at._drag),window.addEventListener("mouseup",at._endDragAfter,!1),window.addEventListener("touchend",at._endDragAfter,!1));var ot="absoluteOpacity",st="allEventListeners",ct="absoluteTransform",lt="absoluteScale",ut="canvas",ht="Change",dt="children",ft="konva",pt="listening",vt="mouseenter",mt="mouseleave",gt="set",yt="Shape",bt=" ",_t="stage",wt="transform",kt="Stage",xt="visible",St=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(bt);let Ct=1;class Dt{constructor(t){this._id=Ct++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(t){t!==wt&&t!==ct||!this._cache.get(t)?t?this._cache.delete(t):this._cache.clear():this._cache.get(t).dirty=!0}_getCache(t,e){var n=this._cache.get(t),i=t===wt||t===ct,r=void 0===n||i&&!0===n.dirty;return r&&(n=e.call(this),this._cache.set(t,n)),n}_calculate(t,e,n){if(!this._attachedDepsListeners.get(t)){const n=e.map((t=>t+"Change.konva")).join(bt);this.on(n,(()=>{this._clearCache(t)})),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,n)}_getCanvasCache(){return this._cache.get(ut)}_clearSelfAndDescendantCache(t){this._clearCache(t),t===ct&&this.fire("absoluteTransformChange")}clearCache(){return this._cache.delete(ut),this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(t){var e=t||{},n={};void 0!==e.x&&void 0!==e.y&&void 0!==e.width&&void 0!==e.height||(n=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var i=Math.ceil(e.width||n.width),r=Math.ceil(e.height||n.height),a=e.pixelRatio,o=void 0===e.x?Math.floor(n.x):e.x,s=void 0===e.y?Math.floor(n.y):e.y,c=e.offset||0,l=e.drawBorder||!1,u=e.hitCanvasPixelRatio||1;if(i&&r){i+=2*c+1,r+=2*c+1,o-=c,s-=c;var h=new it({pixelRatio:a,width:i,height:r}),d=new it({pixelRatio:a,width:0,height:0}),f=new rt({pixelRatio:u,width:i,height:r}),p=h.getContext(),v=f.getContext();return f.isCache=!0,h.isCache=!0,this._cache.delete(ut),this._filterUpToDate=!1,!1===e.imageSmoothingEnabled&&(h.getContext()._context.imageSmoothingEnabled=!1,d.getContext()._context.imageSmoothingEnabled=!1),p.save(),v.save(),p.translate(-o,-s),v.translate(-o,-s),this._isUnderCache=!0,this._clearSelfAndDescendantCache(ot),this._clearSelfAndDescendantCache(lt),this.drawScene(h,this),this.drawHit(f,this),this._isUnderCache=!1,p.restore(),v.restore(),l&&(p.save(),p.beginPath(),p.rect(0,0,i,r),p.closePath(),p.setAttr("strokeStyle","red"),p.setAttr("lineWidth",5),p.stroke(),p.restore()),this._cache.set(ut,{scene:h,filter:d,hit:f,x:o,y:s}),this._requestDraw(),this}C.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.")}isCached(){return this._cache.has(ut)}getClientRect(t){throw new Error('abstract "getClientRect" method call')}_transformedRect(t,e){var n,i,r,a,o=[{x:t.x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],s=this.getAbsoluteTransform(e);return o.forEach((function(t){var e=s.point(t);void 0===n&&(n=r=e.x,i=a=e.y),n=Math.min(n,e.x),i=Math.min(i,e.y),r=Math.max(r,e.x),a=Math.max(a,e.y)})),{x:n,y:i,width:r-n,height:a-i}}_drawCachedSceneCanvas(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);const e=this._getCanvasCache();t.translate(e.x,e.y);var n=this._getCachedSceneCanvas(),i=n.pixelRatio;t.drawImage(n._canvas,0,0,n.width/i,n.height/i),t.restore()}_drawCachedHitCanvas(t){var e=this._getCanvasCache(),n=e.hit;t.save(),t.translate(e.x,e.y),t.drawImage(n._canvas,0,0,n.width/n.pixelRatio,n.height/n.pixelRatio),t.restore()}_getCachedSceneCanvas(){var t,e,n,i,r=this.filters(),a=this._getCanvasCache(),o=a.scene,s=a.filter,c=s.getContext();if(r){if(!this._filterUpToDate){var l=o.pixelRatio;s.setSize(o.width/o.pixelRatio,o.height/o.pixelRatio);try{for(t=r.length,c.clear(),c.drawImage(o._canvas,0,0,o.getWidth()/l,o.getHeight()/l),e=c.getImageData(0,0,s.getWidth(),s.getHeight()),n=0;n<t;n++)i=r[n],"function"===typeof i?(i.call(this,e),c.putImageData(e,0,0)):C.error("Filter should be type of function, but got "+typeof i+" instead. Please check correct filters")}catch(u){C.error("Unable to apply filter. "+u.message+" This post my help you https://konvajs.org/docs/posts/Tainted_Canvas.html.")}this._filterUpToDate=!0}return s}return o}on(t,e){if(this._cache&&this._cache.delete(st),3===arguments.length)return this._delegate.apply(this,arguments);var n,i,r,a,o,s=t.split(bt),c=s.length;for(n=0;n<c;n++)i=s[n],r=i.split("."),a=r[0],o=r[1]||"",this.eventListeners[a]||(this.eventListeners[a]=[]),this.eventListeners[a].push({name:o,handler:e});return this}off(t,e){var n,i,r,a,o,s,c=(t||"").split(bt),l=c.length;if(this._cache&&this._cache.delete(st),!t)for(i in this.eventListeners)this._off(i);for(n=0;n<l;n++)if(r=c[n],a=r.split("."),o=a[0],s=a[1],o)this.eventListeners[o]&&this._off(o,s,e);else for(i in this.eventListeners)this._off(i,s,e);return this}dispatchEvent(t){var e={target:this,type:t.type,evt:t};return this.fire(t.type,e),this}addEventListener(t,e){return this.on(t,(function(t){e.call(this,t.evt)})),this}removeEventListener(t){return this.off(t),this}_delegate(t,e,n){var i=this;this.on(t,(function(t){for(var r=t.target.findAncestors(e,!0,i),a=0;a<r.length;a++)t=C.cloneObject(t),t.currentTarget=r[a],n.call(r[a],t)}))}remove(){return this.isDragging()&&this.stopDrag(),at._dragElements["delete"](this._id),this._remove(),this}_clearCaches(){this._clearSelfAndDescendantCache(ct),this._clearSelfAndDescendantCache(ot),this._clearSelfAndDescendantCache(lt),this._clearSelfAndDescendantCache(_t),this._clearSelfAndDescendantCache(xt),this._clearSelfAndDescendantCache(pt)}_remove(){this._clearCaches();var t=this.getParent();t&&t.children&&(t.children.splice(this.index,1),t._setChildrenIndices(),this.parent=null)}destroy(){return this.remove(),this}getAttr(t){var e="get"+C._capitalize(t);return C._isFunction(this[e])?this[e]():this.attrs[t]}getAncestors(){var t=this.getParent(),e=[];while(t)e.push(t),t=t.getParent();return e}getAttrs(){return this.attrs||{}}setAttrs(t){return this._batchTransformChanges((()=>{var e,n;if(!t)return this;for(e in t)e!==dt&&(n=gt+C._capitalize(e),C._isFunction(this[n])?this[n](t[e]):this._setAttr(e,t[e]))})),this}isListening(){return this._getCache(pt,this._isListening)}_isListening(t){const e=this.listening();if(!e)return!1;const n=this.getParent();return!n||n===t||this===t||n._isListening(t)}isVisible(){return this._getCache(xt,this._isVisible)}_isVisible(t){const e=this.visible();if(!e)return!1;const n=this.getParent();return!n||n===t||this===t||n._isVisible(t)}shouldDrawHit(t,e=!1){if(t)return this._isVisible(t)&&this._isListening(t);var n=this.getLayer(),i=!1;at._dragElements.forEach((t=>{"dragging"===t.dragStatus&&("Stage"===t.node.nodeType||t.node.getLayer()===n)&&(i=!0)}));var r=!e&&!o.hitOnDragEnabled&&i;return this.isListening()&&this.isVisible()&&!r}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var t,e,n,i,r=this.getDepth(),a=this,o=0;function s(c){for(t=[],e=c.length,n=0;n<e;n++)i=c[n],o++,i.nodeType!==yt&&(t=t.concat(i.getChildren().slice())),i._id===a._id&&(n=e);t.length>0&&t[0].getDepth()<=r&&s(t)}return a.nodeType!==kt&&s(a.getStage().getChildren()),o}getDepth(){var t=0,e=this.parent;while(e)t++,e=e.parent;return t}_batchTransformChanges(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(wt),this._clearSelfAndDescendantCache(ct)),this._needClearTransformCache=!1}setPosition(t){return this._batchTransformChanges((()=>{this.x(t.x),this.y(t.y)})),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var t=this.getStage().getPointerPosition();if(!t)return null;var e=this.getAbsoluteTransform().copy();return e.invert(),e.point(t)}getAbsolutePosition(t){let e=!1,n=this.parent;while(n){if(n.isCached()){e=!0;break}n=n.parent}e&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),r=new c,a=this.offset();return r.m=i.slice(),r.translate(a.x,a.y),r.getTranslation()}setAbsolutePosition(t){var e=this._clearTransform();this.attrs.x=e.x,this.attrs.y=e.y,delete e.x,delete e.y,this._clearCache(wt);var n=this._getAbsoluteTransform().copy();return n.invert(),n.translate(t.x,t.y),t={x:this.attrs.x+n.getTranslation().x,y:this.attrs.y+n.getTranslation().y},this._setTransform(e),this.setPosition({x:t.x,y:t.y}),this._clearCache(wt),this._clearSelfAndDescendantCache(ct),this}_setTransform(t){var e;for(e in t)this.attrs[e]=t[e]}_clearTransform(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t}move(t){var e=t.x,n=t.y,i=this.x(),r=this.y();return void 0!==e&&(i+=e),void 0!==n&&(r+=n),this.setPosition({x:i,y:r}),this}_eachAncestorReverse(t,e){var n,i,r=[],a=this.getParent();if(!e||e._id!==this._id){r.unshift(this);while(a&&(!e||a._id!==e._id))r.unshift(a),a=a.parent;for(n=r.length,i=0;i<n;i++)t(r[i])}}rotate(t){return this.rotation(this.rotation()+t),this}moveToTop(){if(!this.parent)return C.warn("Node has no parent. moveToTop function is ignored."),!1;var t=this.index,e=this.parent.getChildren().length;return t<e-1&&(this.parent.children.splice(t,1),this.parent.children.push(this),this.parent._setChildrenIndices(),!0)}moveUp(){if(!this.parent)return C.warn("Node has no parent. moveUp function is ignored."),!1;var t=this.index,e=this.parent.getChildren().length;return t<e-1&&(this.parent.children.splice(t,1),this.parent.children.splice(t+1,0,this),this.parent._setChildrenIndices(),!0)}moveDown(){if(!this.parent)return C.warn("Node has no parent. moveDown function is ignored."),!1;var t=this.index;return t>0&&(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0)}moveToBottom(){if(!this.parent)return C.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0&&(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)}setZIndex(t){if(!this.parent)return C.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&C.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var e=this.index;return this.parent.children.splice(e,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(ot,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var t=this.opacity(),e=this.getParent();return e&&!e._isUnderCache&&(t*=e.getAbsoluteOpacity()),t}moveTo(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this}toObject(){var t,e,n,i,r,a={},o=this.getAttrs();for(t in a.attrs={},o)e=o[t],r=C.isObject(e)&&!C._isPlainObject(e)&&!C._isArray(e),r||(n="function"===typeof this[t]&&this[t],delete o[t],i=n?n.call(this):null,o[t]=e,i!==e&&(a.attrs[t]=e));return a.className=this.getClassName(),C._prepareToStringify(a)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(t,e,n){var i=[];e&&this._isMatch(t)&&i.push(this);var r=this.parent;while(r){if(r===n)return i;r._isMatch(t)&&i.push(r),r=r.parent}return i}isAncestorOf(t){return!1}findAncestor(t,e,n){return this.findAncestors(t,e,n)[0]}_isMatch(t){if(!t)return!1;if("function"===typeof t)return t(this);var e,n,i=t.replace(/ /g,"").split(","),r=i.length;for(e=0;e<r;e++)if(n=i[e],C.isValidSelector(n)||(C.warn('Selector "'+n+'" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'),C.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'),C.warn("Konva is awesome, right?")),"#"===n.charAt(0)){if(this.id()===n.slice(1))return!0}else if("."===n.charAt(0)){if(this.hasName(n.slice(1)))return!0}else if(this.className===n||this.nodeType===n)return!0;return!1}getLayer(){var t=this.getParent();return t?t.getLayer():null}getStage(){return this._getCache(_t,this._getStage)}_getStage(){var t=this.getParent();return t?t.getStage():void 0}fire(t,e={},n){return e.target=e.target||this,n?this._fireAndBubble(t,e):this._fire(t,e),this}getAbsoluteTransform(t){return t?this._getAbsoluteTransform(t):this._getCache(ct,this._getAbsoluteTransform)}_getAbsoluteTransform(t){var e;if(t)return e=new c,this._eachAncestorReverse((function(t){var n=t.transformsEnabled();"all"===n?e.multiply(t.getTransform()):"position"===n&&e.translate(t.x()-t.offsetX(),t.y()-t.offsetY())}),t),e;e=this._cache.get(ct)||new c,this.parent?this.parent.getAbsoluteTransform().copyInto(e):e.reset();var n=this.transformsEnabled();if("all"===n)e.multiply(this.getTransform());else if("position"===n){const t=this.attrs.x||0,n=this.attrs.y||0,i=this.attrs.offsetX||0,r=this.attrs.offsetY||0;e.translate(t-i,n-r)}return e.dirty=!1,e}getAbsoluteScale(t){var e=this;while(e)e._isUnderCache&&(t=e),e=e.getParent();const n=this.getAbsoluteTransform(t),i=n.decompose();return{x:i.scaleX,y:i.scaleY}}getAbsoluteRotation(){return this.getAbsoluteTransform().decompose().rotation}getTransform(){return this._getCache(wt,this._getTransform)}_getTransform(){var t,e,n=this._cache.get(wt)||new c;n.reset();var i=this.x(),r=this.y(),a=o.getAngle(this.rotation()),s=null!==(t=this.attrs.scaleX)&&void 0!==t?t:1,l=null!==(e=this.attrs.scaleY)&&void 0!==e?e:1,u=this.attrs.skewX||0,h=this.attrs.skewY||0,d=this.attrs.offsetX||0,f=this.attrs.offsetY||0;return 0===i&&0===r||n.translate(i,r),0!==a&&n.rotate(a),0===u&&0===h||n.skew(u,h),1===s&&1===l||n.scale(s,l),0===d&&0===f||n.translate(-1*d,-1*f),n.dirty=!1,n}clone(t){var e,n,i,r,a,o=C.cloneObject(this.attrs);for(e in t)o[e]=t[e];var s=new this.constructor(o);for(e in this.eventListeners)for(n=this.eventListeners[e],i=n.length,r=0;r<i;r++)a=n[r],a.name.indexOf(ft)<0&&(s.eventListeners[e]||(s.eventListeners[e]=[]),s.eventListeners[e].push(a));return s}_toKonvaCanvas(t){t=t||{};var e=this.getClientRect(),n=this.getStage(),i=void 0!==t.x?t.x:Math.floor(e.x),r=void 0!==t.y?t.y:Math.floor(e.y),a=t.pixelRatio||1,o=new it({width:t.width||Math.ceil(e.width)||(n?n.width():0),height:t.height||Math.ceil(e.height)||(n?n.height():0),pixelRatio:a}),s=o.getContext();return!1===t.imageSmoothingEnabled&&(s._context.imageSmoothingEnabled=!1),s.save(),(i||r)&&s.translate(-1*i,-1*r),this.drawScene(o),s.restore(),o}toCanvas(t){return this._toKonvaCanvas(t)._canvas}toDataURL(t){t=t||{};var e=t.mimeType||null,n=t.quality||null,i=this._toKonvaCanvas(t).toDataURL(e,n);return t.callback&&t.callback(i),i}toImage(t){return new Promise(((e,n)=>{try{const n=null===t||void 0===t?void 0:t.callback;n&&delete t.callback,C._urlToImage(this.toDataURL(t),(function(t){e(t),null===n||void 0===n||n(t)}))}catch(i){n(i)}}))}toBlob(t){return new Promise(((e,n)=>{try{const n=null===t||void 0===t?void 0:t.callback;n&&delete t.callback,this.toCanvas(t).toBlob((t=>{e(t),null===n||void 0===n||n(t)}))}catch(i){n(i)}}))}setSize(t){return this.width(t.width),this.height(t.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return void 0!==this.attrs.dragDistance?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():o.dragDistance}_off(t,e,n){var i,r,a,o=this.eventListeners[t];for(i=0;i<o.length;i++)if(r=o[i].name,a=o[i].handler,("konva"!==r||"konva"===e)&&(!e||r===e)&&(!n||n===a)){if(o.splice(i,1),0===o.length){delete this.eventListeners[t];break}i--}}_fireChangeEvent(t,e,n){this._fire(t+ht,{oldVal:e,newVal:n})}addName(t){if(!this.hasName(t)){var e=this.name(),n=e?e+" "+t:t;this.name(n)}return this}hasName(t){if(!t)return!1;const e=this.name();if(!e)return!1;var n=(e||"").split(/\s/g);return-1!==n.indexOf(t)}removeName(t){var e=(this.name()||"").split(/\s/g),n=e.indexOf(t);return-1!==n&&(e.splice(n,1),this.name(e.join(" "))),this}setAttr(t,e){var n=this[gt+C._capitalize(t)];return C._isFunction(n)?n.call(this,e):this._setAttr(t,e),this}_requestDraw(){if(o.autoDrawEnabled){const t=this.getLayer()||this.getStage();null===t||void 0===t||t.batchDraw()}}_setAttr(t,e){var n=this.attrs[t];(n!==e||C.isObject(e))&&(void 0===e||null===e?delete this.attrs[t]:this.attrs[t]=e,this._shouldFireChangeEvents&&this._fireChangeEvent(t,n,e),this._requestDraw())}_setComponentAttr(t,e,n){var i;void 0!==n&&(i=this.attrs[t],i||(this.attrs[t]=this.getAttr(t)),this.attrs[t][e]=n,this._fireChangeEvent(t,i,n))}_fireAndBubble(t,e,n){e&&this.nodeType===yt&&(e.target=this);var i=(t===vt||t===mt)&&(n&&(this===n||this.isAncestorOf&&this.isAncestorOf(n))||"Stage"===this.nodeType&&!n);if(!i){this._fire(t,e);var r=(t===vt||t===mt)&&n&&n.isAncestorOf&&n.isAncestorOf(this)&&!n.isAncestorOf(this.parent);(e&&!e.cancelBubble||!e)&&this.parent&&this.parent.isListening()&&!r&&(n&&n.parent?this._fireAndBubble.call(this.parent,t,e,n):this._fireAndBubble.call(this.parent,t,e))}}_getProtoListeners(t){let e=this._cache.get(st);if(!e){e={};let t=Object.getPrototypeOf(this);while(t)if(t.eventListeners){for(var n in t.eventListeners){const i=t.eventListeners[n],r=e[n]||[];e[n]=i.concat(r)}t=Object.getPrototypeOf(t)}else t=Object.getPrototypeOf(t);this._cache.set(st,e)}return e[t]}_fire(t,e){e=e||{},e.currentTarget=this,e.type=t;const n=this._getProtoListeners(t);if(n)for(var i=0;i<n.length;i++)n[i].handler.call(this,e);const r=this.eventListeners[t];if(r)for(i=0;i<r.length;i++)r[i].handler.call(this,e)}draw(){return this.drawScene(),this.drawHit(),this}_createDragElement(t){var e=t?t.pointerId:void 0,n=this.getStage(),i=this.getAbsolutePosition(),r=n._getPointerById(e)||n._changedPointerPositions[0]||i;at._dragElements.set(this._id,{node:this,startPointerPos:r,offset:{x:r.x-i.x,y:r.y-i.y},dragStatus:"ready",pointerId:e})}startDrag(t,e=!0){at._dragElements.has(this._id)||this._createDragElement(t);const n=at._dragElements.get(this._id);n.dragStatus="dragging",this.fire("dragstart",{type:"dragstart",target:this,evt:t&&t.evt},e)}_setDragPosition(t,e){const n=this.getStage()._getPointerById(e.pointerId);if(n){var i={x:n.x-e.offset.x,y:n.y-e.offset.y},r=this.dragBoundFunc();if(void 0!==r){const e=r.call(this,i,t);e?i=e:C.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.")}this._lastPos&&this._lastPos.x===i.x&&this._lastPos.y===i.y||(this.setAbsolutePosition(i),this._requestDraw()),this._lastPos=i}}stopDrag(t){const e=at._dragElements.get(this._id);e&&(e.dragStatus="stopped"),at._endDragBefore(t),at._endDragAfter(t)}setDraggable(t){this._setAttr("draggable",t),this._dragChange()}isDragging(){const t=at._dragElements.get(this._id);return!!t&&"dragging"===t.dragStatus}_listenDrag(){this._dragCleanup(),this.on("mousedown.konva touchstart.konva",(function(t){var e=void 0!==t.evt["button"],n=!e||o.dragButtons.indexOf(t.evt["button"])>=0;if(n&&!this.isDragging()){var i=!1;at._dragElements.forEach((t=>{this.isAncestorOf(t.node)&&(i=!0)})),i||this._createDragElement(t)}}))}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();if(!t)return;const e=at._dragElements.get(this._id),n=e&&"dragging"===e.dragStatus,i=e&&"ready"===e.dragStatus;n?this.stopDrag():i&&at._dragElements["delete"](this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(t={x:0,y:0}){const e=this.getStage();if(!e)return!1;const n={x:-t.x,y:-t.y,width:e.width()+2*t.x,height:e.height()+2*t.y};return C.haveIntersection(n,this.getClientRect())}static create(t,e){return C._isString(t)&&(t=JSON.parse(t)),this._createNode(t,e)}static _createNode(t,e){var n,i,r,a=Dt.prototype.getClassName.call(t),s=t.children;e&&(t.attrs.container=e),o[a]||(C.warn('Can not find a node with class name "'+a+'". Fallback to "Shape".'),a="Shape");const c=o[a];if(n=new c(t.attrs),s)for(i=s.length,r=0;r<i;r++)n.add(Dt._createNode(s[r]));return n}}Dt.prototype.nodeType="Node",Dt.prototype._attrsAffectingSize=[],Dt.prototype.eventListeners={},Dt.prototype.on.call(Dt.prototype,St,(function(){this._batchingTransformChange?this._needClearTransformCache=!0:(this._clearCache(wt),this._clearSelfAndDescendantCache(ct))})),Dt.prototype.on.call(Dt.prototype,"visibleChange.konva",(function(){this._clearSelfAndDescendantCache(xt)})),Dt.prototype.on.call(Dt.prototype,"listeningChange.konva",(function(){this._clearSelfAndDescendantCache(pt)})),Dt.prototype.on.call(Dt.prototype,"opacityChange.konva",(function(){this._clearSelfAndDescendantCache(ot)}));const Tt=F.addGetterSetter;Tt(Dt,"zIndex"),Tt(Dt,"absolutePosition"),Tt(Dt,"position"),Tt(Dt,"x",0,O()),Tt(Dt,"y",0,O()),Tt(Dt,"globalCompositeOperation","source-over",P()),Tt(Dt,"opacity",1,O()),Tt(Dt,"name","",P()),Tt(Dt,"id","",P()),Tt(Dt,"rotation",0,O()),F.addComponentsGetterSetter(Dt,"scale",["x","y"]),Tt(Dt,"scaleX",1,O()),Tt(Dt,"scaleY",1,O()),F.addComponentsGetterSetter(Dt,"skew",["x","y"]),Tt(Dt,"skewX",0,O()),Tt(Dt,"skewY",0,O()),F.addComponentsGetterSetter(Dt,"offset",["x","y"]),Tt(Dt,"offsetX",0,O()),Tt(Dt,"offsetY",0,O()),Tt(Dt,"dragDistance",null,O()),Tt(Dt,"width",0,O()),Tt(Dt,"height",0,O()),Tt(Dt,"listening",!0,R()),Tt(Dt,"preventDefault",!0,R()),Tt(Dt,"filters",null,(function(t){return this._filterUpToDate=!1,t})),Tt(Dt,"visible",!0,R()),Tt(Dt,"transformsEnabled","all",P()),Tt(Dt,"size"),Tt(Dt,"dragBoundFunc"),Tt(Dt,"draggable",!1,R()),F.backCompat(Dt,{rotateDeg:"rotate",setRotationDeg:"setRotation",getRotationDeg:"getRotation"});class Ot extends Dt{constructor(){super(...arguments),this.children=[]}getChildren(t){if(!t)return this.children||[];const e=this.children||[];var n=[];return e.forEach((function(e){t(e)&&n.push(e)})),n}hasChildren(){return this.getChildren().length>0}removeChildren(){return this.getChildren().forEach((t=>{t.parent=null,t.index=0,t.remove()})),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach((t=>{t.parent=null,t.index=0,t.destroy()})),this.children=[],this._requestDraw(),this}add(...t){if(arguments.length>1){for(var e=0;e<arguments.length;e++)this.add(arguments[e]);return this}var n=t[0];return n.getParent()?(n.moveTo(this),this):(this._validateAdd(n),n.index=this.getChildren().length,n.parent=this,n._clearCaches(),this.getChildren().push(n),this._fire("add",{child:n}),this._requestDraw(),this)}destroy(){return this.hasChildren()&&this.destroyChildren(),super.destroy(),this}find(t){return this._generalFind(t,!1)}findOne(t){var e=this._generalFind(t,!0);return e.length>0?e[0]:void 0}_generalFind(t,e){var n=[];return this._descendants((i=>{const r=i._isMatch(t);return r&&n.push(i),!(!r||!e)})),n}_descendants(t){let e=!1;const n=this.getChildren();for(const i of n){if(e=t(i),e)return!0;if(i.hasChildren()&&(e=i._descendants(t),e))return!0}return!1}toObject(){var t=Dt.prototype.toObject.call(this);return t.children=[],this.getChildren().forEach((e=>{t.children.push(e.toObject())})),t}isAncestorOf(t){var e=t.getParent();while(e){if(e._id===this._id)return!0;e=e.getParent()}return!1}clone(t){var e=Dt.prototype.clone.call(this,t);return this.getChildren().forEach((function(t){e.add(t.clone())})),e}getAllIntersections(t){var e=[];return this.find("Shape").forEach((function(n){n.isVisible()&&n.intersects(t)&&e.push(n)})),e}_clearSelfAndDescendantCache(t){var e;super._clearSelfAndDescendantCache(t),this.isCached()||null===(e=this.children)||void 0===e||e.forEach((function(e){e._clearSelfAndDescendantCache(t)}))}_setChildrenIndices(){var t;null===(t=this.children)||void 0===t||t.forEach((function(t,e){t.index=e})),this._requestDraw()}drawScene(t,e){var n=this.getLayer(),i=t||n&&n.getCanvas(),r=i&&i.getContext(),a=this._getCanvasCache(),o=a&&a.scene,s=i&&i.isCache;if(!this.isVisible()&&!s)return this;if(o){r.save();var c=this.getAbsoluteTransform(e).getMatrix();r.transform(c[0],c[1],c[2],c[3],c[4],c[5]),this._drawCachedSceneCanvas(r),r.restore()}else this._drawChildren("drawScene",i,e);return this}drawHit(t,e){if(!this.shouldDrawHit(e))return this;var n=this.getLayer(),i=t||n&&n.hitCanvas,r=i&&i.getContext(),a=this._getCanvasCache(),o=a&&a.hit;if(o){r.save();var s=this.getAbsoluteTransform(e).getMatrix();r.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._drawCachedHitCanvas(r),r.restore()}else this._drawChildren("drawHit",i,e);return this}_drawChildren(t,e,n){var i,r=e&&e.getContext(),a=this.clipWidth(),o=this.clipHeight(),s=this.clipFunc(),c=a&&o||s;const l=n===this;if(c){r.save();var u=this.getAbsoluteTransform(n),h=u.getMatrix();if(r.transform(h[0],h[1],h[2],h[3],h[4],h[5]),r.beginPath(),s)s.call(this,r,this);else{var d=this.clipX(),f=this.clipY();r.rect(d,f,a,o)}r.clip(),h=u.copy().invert().getMatrix(),r.transform(h[0],h[1],h[2],h[3],h[4],h[5])}var p=!l&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===t;p&&(r.save(),r._applyGlobalCompositeOperation(this)),null===(i=this.children)||void 0===i||i.forEach((function(i){i[t](e,n)})),p&&r.restore(),c&&r.restore()}getClientRect(t){var e;t=t||{};var n,i,r,a,o=t.skipTransform,s=t.relativeTo,c={x:1/0,y:1/0,width:0,height:0},l=this;null===(e=this.children)||void 0===e||e.forEach((function(e){if(e.visible()){var o=e.getClientRect({relativeTo:l,skipShadow:t.skipShadow,skipStroke:t.skipStroke});0===o.width&&0===o.height||(void 0===n?(n=o.x,i=o.y,r=o.x+o.width,a=o.y+o.height):(n=Math.min(n,o.x),i=Math.min(i,o.y),r=Math.max(r,o.x+o.width),a=Math.max(a,o.y+o.height)))}}));for(var u=this.find("Shape"),h=!1,d=0;d<u.length;d++){var f=u[d];if(f._isVisible(this)){h=!0;break}}return c=h&&void 0!==n?{x:n,y:i,width:r-n,height:a-i}:{x:0,y:0,width:0,height:0},o?c:this._transformedRect(c,s)}}F.addComponentsGetterSetter(Ot,"clip",["x","y","width","height"]),F.addGetterSetter(Ot,"clipX",void 0,O()),F.addGetterSetter(Ot,"clipY",void 0,O()),F.addGetterSetter(Ot,"clipWidth",void 0,O()),F.addGetterSetter(Ot,"clipHeight",void 0,O()),F.addGetterSetter(Ot,"clipFunc");const At=new Map,Et=void 0!==o._global.PointerEvent;function Pt(t){return At.get(t)}function Mt(t){return{evt:t,pointerId:t.pointerId}}function It(t,e){return At.get(t)===e}function Rt(t,e){Nt(t);const n=e.getStage();n&&(At.set(t,e),Et&&e._fire("gotpointercapture",Mt(new PointerEvent("gotpointercapture"))))}function Nt(t,e){const n=At.get(t);if(!n)return;const i=n.getStage();i&&i.content,At.delete(t),Et&&n._fire("lostpointercapture",Mt(new PointerEvent("lostpointercapture")))}var $t="Stage",Lt="string",Ft="px",Bt="mouseout",jt="mouseleave",zt="mouseover",Ht="mouseenter",Vt="mousemove",Gt="mousedown",Wt="mouseup",Ut="pointermove",Yt="pointerdown",qt="pointerup",Xt="pointercancel",Kt="lostpointercapture",Jt="pointerout",Zt="pointerleave",Qt="pointerover",te="pointerenter",ee="contextmenu",ne="touchstart",ie="touchend",re="touchmove",ae="touchcancel",oe="wheel",se=5,ce=[[Ht,"_pointerenter"],[Gt,"_pointerdown"],[Vt,"_pointermove"],[Wt,"_pointerup"],[jt,"_pointerleave"],[ne,"_pointerdown"],[re,"_pointermove"],[ie,"_pointerup"],[ae,"_pointercancel"],[zt,"_pointerover"],[oe,"_wheel"],[ee,"_contextmenu"],[Yt,"_pointerdown"],[Ut,"_pointermove"],[qt,"_pointerup"],[Xt,"_pointercancel"],[Kt,"_lostpointercapture"]];const le={mouse:{[Jt]:Bt,[Zt]:jt,[Qt]:zt,[te]:Ht,[Ut]:Vt,[Yt]:Gt,[qt]:Wt,[Xt]:"mousecancel",pointerclick:"click",pointerdblclick:"dblclick"},touch:{[Jt]:"touchout",[Zt]:"touchleave",[Qt]:"touchover",[te]:"touchenter",[Ut]:re,[Yt]:ne,[qt]:ie,[Xt]:ae,pointerclick:"tap",pointerdblclick:"dbltap"},pointer:{[Jt]:Jt,[Zt]:Zt,[Qt]:Qt,[te]:te,[Ut]:Ut,[Yt]:Yt,[qt]:qt,[Xt]:Xt,pointerclick:"pointerclick",pointerdblclick:"pointerdblclick"}},ue=t=>t.indexOf("pointer")>=0?"pointer":t.indexOf("touch")>=0?"touch":"mouse",he=t=>{const e=ue(t);return"pointer"===e?o.pointerEventsEnabled&&le.pointer:"touch"===e?le.touch:"mouse"===e?le.mouse:void 0};function de(t={}){return(t.clipFunc||t.clipWidth||t.clipHeight)&&C.warn("Stage does not support clipping. Please use clip for Layers or Groups."),t}const fe="Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);",pe=[];class ve extends Ot{constructor(t){super(de(t)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),pe.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(()=>{de(this.attrs)})),this._checkVisibility()}_validateAdd(t){const e="Layer"===t.getType(),n="FastLayer"===t.getType(),i=e||n;i||C["throw"]("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const t=this.visible()?"":"none";this.content.style.display=t}setContainer(t){if(typeof t===Lt){if("."===t.charAt(0)){var e=t.slice(1);t=document.getElementsByClassName(e)[0]}else{var n;n="#"!==t.charAt(0)?t:t.slice(1),t=document.getElementById(n)}if(!t)throw"Can not find container in document with id "+n}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var t,e=this.children,n=e.length;for(t=0;t<n;t++)e[t].clear();return this}clone(t){return t||(t={}),t.container="undefined"!==typeof document&&document.createElement("div"),Ot.prototype.clone.call(this,t)}destroy(){super.destroy();var t=this.content;t&&C._isInDocument(t)&&this.container().removeChild(t);var e=pe.indexOf(this);return e>-1&&pe.splice(e,1),this}getPointerPosition(){const t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(C.warn(fe),null)}_getPointerById(t){return this._pointerPositions.find((e=>e.id===t))}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(t){t=t||{},t.x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var e=new it({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),n=e.getContext()._context,i=this.children;return(t.x||t.y)&&n.translate(-1*t.x,-1*t.y),i.forEach((function(e){if(e.isVisible()){var i=e._toKonvaCanvas(t);n.drawImage(i._canvas,t.x,t.y,i.getWidth()/i.getPixelRatio(),i.getHeight()/i.getPixelRatio())}})),e}getIntersection(t){if(!t)return null;var e,n=this.children,i=n.length,r=i-1;for(e=r;e>=0;e--){const i=n[e].getIntersection(t);if(i)return i}return null}_resizeDOM(){var t=this.width(),e=this.height();this.content&&(this.content.style.width=t+Ft,this.content.style.height=e+Ft),this.bufferCanvas.setSize(t,e),this.bufferHitCanvas.setSize(t,e),this.children.forEach((n=>{n.setSize({width:t,height:e}),n.draw()}))}add(t,...e){if(arguments.length>1){for(var n=0;n<arguments.length;n++)this.add(arguments[n]);return this}super.add(t);var i=this.children.length;return i>se&&C.warn("The stage has "+i+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),t.setSize({width:this.width(),height:this.height()}),t.draw(),o.isBrowser&&this.content.appendChild(t.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(t){return It(t,this)}setPointerCapture(t){Rt(t,this)}releaseCapture(t){Nt(t,this)}getLayers(){return this.children}_bindContentEvents(){o.isBrowser&&ce.forEach((([t,e])=>{this.content.addEventListener(t,(t=>{this[e](t)}),{passive:!1})}))}_pointerenter(t){this.setPointersPositions(t);const e=he(t.type);this._fire(e.pointerenter,{evt:t,target:this,currentTarget:this})}_pointerover(t){this.setPointersPositions(t);const e=he(t.type);this._fire(e.pointerover,{evt:t,target:this,currentTarget:this})}_getTargetShape(t){let e=this[t+"targetShape"];return e&&!e.getStage()&&(e=null),e}_pointerleave(t){const e=he(t.type),n=ue(t.type);if(e){this.setPointersPositions(t);var i=this._getTargetShape(n),r=!at.isDragging||o.hitOnDragEnabled;i&&r?(i._fireAndBubble(e.pointerout,{evt:t}),i._fireAndBubble(e.pointerleave,{evt:t}),this._fire(e.pointerleave,{evt:t,target:this,currentTarget:this}),this[n+"targetShape"]=null):r&&(this._fire(e.pointerleave,{evt:t,target:this,currentTarget:this}),this._fire(e.pointerout,{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(t){const e=he(t.type),n=ue(t.type);if(e){this.setPointersPositions(t);var i=!1;this._changedPointerPositions.forEach((r=>{var a=this.getIntersection(r);at.justDragged=!1,o["_"+n+"ListenClick"]=!0;const s=a&&a.isListening();if(!s)return;o.capturePointerEventsEnabled&&a.setPointerCapture(r.id),this[n+"ClickStartShape"]=a,a._fireAndBubble(e.pointerdown,{evt:t,pointerId:r.id}),i=!0;const c=t.type.indexOf("touch")>=0;a.preventDefault()&&t.cancelable&&c&&t.preventDefault()})),i||this._fire(e.pointerdown,{evt:t,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(t){const e=he(t.type),n=ue(t.type);if(!e)return;at.isDragging&&at.node.preventDefault()&&t.cancelable&&t.preventDefault(),this.setPointersPositions(t);var i=!at.isDragging||o.hitOnDragEnabled;if(!i)return;var r={};let a=!1;var s=this._getTargetShape(n);this._changedPointerPositions.forEach((i=>{const o=Pt(i.id)||this.getIntersection(i),c=i.id,l={evt:t,pointerId:c};var u=s!==o;if(u&&s&&(s._fireAndBubble(e.pointerout,Object.assign({},l),o),s._fireAndBubble(e.pointerleave,Object.assign({},l),o)),o){if(r[o._id])return;r[o._id]=!0}o&&o.isListening()?(a=!0,u&&(o._fireAndBubble(e.pointerover,Object.assign({},l),s),o._fireAndBubble(e.pointerenter,Object.assign({},l),s),this[n+"targetShape"]=o),o._fireAndBubble(e.pointermove,Object.assign({},l))):s&&(this._fire(e.pointerover,{evt:t,target:this,currentTarget:this,pointerId:c}),this[n+"targetShape"]=null)})),a||this._fire(e.pointermove,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(t){const e=he(t.type),n=ue(t.type);if(!e)return;this.setPointersPositions(t);const i=this[n+"ClickStartShape"],r=this[n+"ClickEndShape"];var a={};let s=!1;this._changedPointerPositions.forEach((c=>{const l=Pt(c.id)||this.getIntersection(c);if(l){if(l.releaseCapture(c.id),a[l._id])return;a[l._id]=!0}const u=c.id,h={evt:t,pointerId:u};let d=!1;o["_"+n+"InDblClickWindow"]?(d=!0,clearTimeout(this[n+"DblTimeout"])):at.justDragged||(o["_"+n+"InDblClickWindow"]=!0,clearTimeout(this[n+"DblTimeout"])),this[n+"DblTimeout"]=setTimeout((function(){o["_"+n+"InDblClickWindow"]=!1}),o.dblClickWindow),l&&l.isListening()?(s=!0,this[n+"ClickEndShape"]=l,l._fireAndBubble(e.pointerup,Object.assign({},h)),o["_"+n+"ListenClick"]&&i&&i===l&&(l._fireAndBubble(e.pointerclick,Object.assign({},h)),d&&r&&r===l&&l._fireAndBubble(e.pointerdblclick,Object.assign({},h)))):(this[n+"ClickEndShape"]=null,o["_"+n+"ListenClick"]&&this._fire(e.pointerclick,{evt:t,target:this,currentTarget:this,pointerId:u}),d&&this._fire(e.pointerdblclick,{evt:t,target:this,currentTarget:this,pointerId:u}))})),s||this._fire(e.pointerup,{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),o["_"+n+"ListenClick"]=!1,t.cancelable&&"touch"!==n&&t.preventDefault()}_contextmenu(t){this.setPointersPositions(t);var e=this.getIntersection(this.getPointerPosition());e&&e.isListening()?e._fireAndBubble(ee,{evt:t}):this._fire(ee,{evt:t,target:this,currentTarget:this})}_wheel(t){this.setPointersPositions(t);var e=this.getIntersection(this.getPointerPosition());e&&e.isListening()?e._fireAndBubble(oe,{evt:t}):this._fire(oe,{evt:t,target:this,currentTarget:this})}_pointercancel(t){this.setPointersPositions(t);const e=Pt(t.pointerId)||this.getIntersection(this.getPointerPosition());e&&e._fireAndBubble(qt,Mt(t)),Nt(t.pointerId)}_lostpointercapture(t){Nt(t.pointerId)}setPointersPositions(t){var e=this._getContentPosition(),n=null,i=null;t=t||window.event,void 0!==t.touches?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(t.touches,(t=>{this._pointerPositions.push({id:t.identifier,x:(t.clientX-e.left)/e.scaleX,y:(t.clientY-e.top)/e.scaleY})})),Array.prototype.forEach.call(t.changedTouches||t.touches,(t=>{this._changedPointerPositions.push({id:t.identifier,x:(t.clientX-e.left)/e.scaleX,y:(t.clientY-e.top)/e.scaleY})}))):(n=(t.clientX-e.left)/e.scaleX,i=(t.clientY-e.top)/e.scaleY,this.pointerPos={x:n,y:i},this._pointerPositions=[{x:n,y:i,id:C._getFirstPointerId(t)}],this._changedPointerPositions=[{x:n,y:i,id:C._getFirstPointerId(t)}])}_setPointerPosition(t){C.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var t=this.content.getBoundingClientRect();return{top:t.top,left:t.left,scaleX:t.width/this.content.clientWidth||1,scaleY:t.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new it({width:this.width(),height:this.height()}),this.bufferHitCanvas=new rt({pixelRatio:1,width:this.width(),height:this.height()}),o.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}}cache(){return C.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach((function(t){t.batchDraw()})),this}}ve.prototype.nodeType=$t,s(ve),F.addGetterSetter(ve,"container");var me="hasShadow",ge="shadowRGBA",ye="patternImage",be="linearGradient",_e="radialGradient";let we;function ke(){return we||(we=C.createCanvasElement().getContext("2d"),we)}const xe={};function Se(t){t.fill()}function Ce(t){t.stroke()}function De(t){t.fill()}function Te(t){t.stroke()}function Oe(){this._clearCache(me)}function Ae(){this._clearCache(ge)}function Ee(){this._clearCache(ye)}function Pe(){this._clearCache(be)}function Me(){this._clearCache(_e)}class Ie extends Dt{constructor(t){let e;super(t);while(1)if(e=C.getRandomColor(),e&&!(e in xe))break;this.colorKey=e,xe[e]=this}getContext(){return C.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return C.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this["_sceneFunc"]}getHitFunc(){return this.attrs.hitFunc||this["_hitFunc"]}hasShadow(){return this._getCache(me,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(ye,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){var t=ke();const e=t.createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(e&&e.setTransform){const t=new c;t.translate(this.fillPatternX(),this.fillPatternY()),t.rotate(o.getAngle(this.fillPatternRotation())),t.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),t.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const n=t.getMatrix(),i="undefined"===typeof DOMMatrix?{a:n[0],b:n[1],c:n[2],d:n[3],e:n[4],f:n[5]}:new DOMMatrix(n);e.setTransform(i)}return e}}_getLinearGradient(){return this._getCache(be,this.__getLinearGradient)}__getLinearGradient(){var t=this.fillLinearGradientColorStops();if(t){for(var e=ke(),n=this.fillLinearGradientStartPoint(),i=this.fillLinearGradientEndPoint(),r=e.createLinearGradient(n.x,n.y,i.x,i.y),a=0;a<t.length;a+=2)r.addColorStop(t[a],t[a+1]);return r}}_getRadialGradient(){return this._getCache(_e,this.__getRadialGradient)}__getRadialGradient(){var t=this.fillRadialGradientColorStops();if(t){for(var e=ke(),n=this.fillRadialGradientStartPoint(),i=this.fillRadialGradientEndPoint(),r=e.createRadialGradient(n.x,n.y,this.fillRadialGradientStartRadius(),i.x,i.y,this.fillRadialGradientEndRadius()),a=0;a<t.length;a+=2)r.addColorStop(t[a],t[a+1]);return r}}getShadowRGBA(){return this._getCache(ge,this._getShadowRGBA)}_getShadowRGBA(){if(this.hasShadow()){var t=C.colorToRGBA(this.shadowColor());return t?"rgba("+t.r+","+t.g+","+t.b+","+t.a*(this.shadowOpacity()||1)+")":void 0}}hasFill(){return this._calculate("hasFill",["fillEnabled","fill","fillPatternImage","fillLinearGradientColorStops","fillRadialGradientColorStops"],(()=>this.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops())))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],(()=>this.strokeEnabled()&&this.strokeWidth()&&!(!this.stroke()&&!this.strokeLinearGradientColorStops())))}hasHitStroke(){const t=this.hitStrokeWidth();return"auto"===t?this.hasStroke():this.strokeEnabled()&&!!t}intersects(t){var e,n=this.getStage(),i=n.bufferHitCanvas;return i.getContext().clear(),this.drawHit(i,null,!0),e=i.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data,e[3]>0}destroy(){return Dt.prototype.destroy.call(this),delete xe[this.colorKey],delete this.colorKey,this}_useBufferCanvas(t){var e;if(!this.getStage())return!1;const n=null===(e=this.attrs.perfectDrawEnabled)||void 0===e||e;if(!n)return!1;const i=t||this.hasFill(),r=this.hasStroke(),a=1!==this.getAbsoluteOpacity();if(i&&r&&a)return!0;const o=this.hasShadow(),s=this.shadowForStrokeEnabled();return!!(i&&r&&o&&s)}setStrokeHitEnabled(t){C.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return 0!==this.hitStrokeWidth()}getSelfRect(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}}getClientRect(t={}){const e=t.skipTransform,n=t.relativeTo,i=this.getSelfRect(),r=!t.skipStroke&&this.hasStroke(),a=r&&this.strokeWidth()||0,o=i.width+a,s=i.height+a,c=!t.skipShadow&&this.hasShadow(),l=c?this.shadowOffsetX():0,u=c?this.shadowOffsetY():0,h=o+Math.abs(l),d=s+Math.abs(u),f=c&&this.shadowBlur()||0,p=h+2*f,v=d+2*f,m={width:p,height:v,x:-(a/2+f)+Math.min(l,0)+i.x,y:-(a/2+f)+Math.min(u,0)+i.y};return e?m:this._transformedRect(m,n)}drawScene(t,e){var n,i,r,a=this.getLayer(),o=t||a.getCanvas(),s=o.getContext(),c=this._getCanvasCache(),l=this.getSceneFunc(),u=this.hasShadow(),h=o.isCache,d=e===this;if(!this.isVisible()&&!d)return this;if(c){s.save();var f=this.getAbsoluteTransform(e).getMatrix();return s.transform(f[0],f[1],f[2],f[3],f[4],f[5]),this._drawCachedSceneCanvas(s),s.restore(),this}if(!l)return this;if(s.save(),this._useBufferCanvas()&&!h){n=this.getStage(),i=n.bufferCanvas,r=i.getContext(),r.clear(),r.save(),r._applyLineJoin(this);var p=this.getAbsoluteTransform(e).getMatrix();r.transform(p[0],p[1],p[2],p[3],p[4],p[5]),l.call(this,r,this),r.restore();var v=i.pixelRatio;u&&s._applyShadow(this),s._applyOpacity(this),s._applyGlobalCompositeOperation(this),s.drawImage(i._canvas,0,0,i.width/v,i.height/v)}else{if(s._applyLineJoin(this),!d){p=this.getAbsoluteTransform(e).getMatrix();s.transform(p[0],p[1],p[2],p[3],p[4],p[5]),s._applyOpacity(this),s._applyGlobalCompositeOperation(this)}u&&s._applyShadow(this),l.call(this,s,this)}return s.restore(),this}drawHit(t,e,n=!1){if(!this.shouldDrawHit(e,n))return this;var i=this.getLayer(),r=t||i.hitCanvas,a=r&&r.getContext(),o=this.hitFunc()||this.sceneFunc(),s=this._getCanvasCache(),c=s&&s.hit;if(this.colorKey||C.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),c){a.save();var l=this.getAbsoluteTransform(e).getMatrix();return a.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!o)return this;a.save(),a._applyLineJoin(this);const u=this===e;if(!u){var h=this.getAbsoluteTransform(e).getMatrix();a.transform(h[0],h[1],h[2],h[3],h[4],h[5])}return o.call(this,a,this),a.restore(),this}drawHitFromCache(t=0){var e,n,i,r,a,o,s=this._getCanvasCache(),c=this._getCachedSceneCanvas(),l=s.hit,u=l.getContext(),h=l.getWidth(),d=l.getHeight();u.clear(),u.drawImage(c._canvas,0,0,h,d);try{for(e=u.getImageData(0,0,h,d),n=e.data,i=n.length,r=C._hexToRgb(this.colorKey),a=0;a<i;a+=4)o=n[a+3],o>t?(n[a]=r.r,n[a+1]=r.g,n[a+2]=r.b,n[a+3]=255):n[a+3]=0;u.putImageData(e,0,0)}catch(f){C.error("Unable to draw hit graph from cached scene canvas. "+f.message)}return this}hasPointerCapture(t){return It(t,this)}setPointerCapture(t){Rt(t,this)}releaseCapture(t){Nt(t,this)}}Ie.prototype._fillFunc=Se,Ie.prototype._strokeFunc=Ce,Ie.prototype._fillFuncHit=De,Ie.prototype._strokeFuncHit=Te,Ie.prototype._centroid=!1,Ie.prototype.nodeType="Shape",s(Ie),Ie.prototype.eventListeners={},Ie.prototype.on.call(Ie.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",Oe),Ie.prototype.on.call(Ie.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",Ae),Ie.prototype.on.call(Ie.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",Ee),Ie.prototype.on.call(Ie.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",Pe),Ie.prototype.on.call(Ie.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",Me),F.addGetterSetter(Ie,"stroke",void 0,M()),F.addGetterSetter(Ie,"strokeWidth",2,O()),F.addGetterSetter(Ie,"fillAfterStrokeEnabled",!1),F.addGetterSetter(Ie,"hitStrokeWidth","auto",E()),F.addGetterSetter(Ie,"strokeHitEnabled",!0,R()),F.addGetterSetter(Ie,"perfectDrawEnabled",!0,R()),F.addGetterSetter(Ie,"shadowForStrokeEnabled",!0,R()),F.addGetterSetter(Ie,"lineJoin"),F.addGetterSetter(Ie,"lineCap"),F.addGetterSetter(Ie,"sceneFunc"),F.addGetterSetter(Ie,"hitFunc"),F.addGetterSetter(Ie,"dash"),F.addGetterSetter(Ie,"dashOffset",0,O()),F.addGetterSetter(Ie,"shadowColor",void 0,P()),F.addGetterSetter(Ie,"shadowBlur",0,O()),F.addGetterSetter(Ie,"shadowOpacity",1,O()),F.addComponentsGetterSetter(Ie,"shadowOffset",["x","y"]),F.addGetterSetter(Ie,"shadowOffsetX",0,O()),F.addGetterSetter(Ie,"shadowOffsetY",0,O()),F.addGetterSetter(Ie,"fillPatternImage"),F.addGetterSetter(Ie,"fill",void 0,M()),F.addGetterSetter(Ie,"fillPatternX",0,O()),F.addGetterSetter(Ie,"fillPatternY",0,O()),F.addGetterSetter(Ie,"fillLinearGradientColorStops"),F.addGetterSetter(Ie,"strokeLinearGradientColorStops"),F.addGetterSetter(Ie,"fillRadialGradientStartRadius",0),F.addGetterSetter(Ie,"fillRadialGradientEndRadius",0),F.addGetterSetter(Ie,"fillRadialGradientColorStops"),F.addGetterSetter(Ie,"fillPatternRepeat","repeat"),F.addGetterSetter(Ie,"fillEnabled",!0),F.addGetterSetter(Ie,"strokeEnabled",!0),F.addGetterSetter(Ie,"shadowEnabled",!0),F.addGetterSetter(Ie,"dashEnabled",!0),F.addGetterSetter(Ie,"strokeScaleEnabled",!0),F.addGetterSetter(Ie,"fillPriority","color"),F.addComponentsGetterSetter(Ie,"fillPatternOffset",["x","y"]),F.addGetterSetter(Ie,"fillPatternOffsetX",0,O()),F.addGetterSetter(Ie,"fillPatternOffsetY",0,O()),F.addComponentsGetterSetter(Ie,"fillPatternScale",["x","y"]),F.addGetterSetter(Ie,"fillPatternScaleX",1,O()),F.addGetterSetter(Ie,"fillPatternScaleY",1,O()),F.addComponentsGetterSetter(Ie,"fillLinearGradientStartPoint",["x","y"]),F.addComponentsGetterSetter(Ie,"strokeLinearGradientStartPoint",["x","y"]),F.addGetterSetter(Ie,"fillLinearGradientStartPointX",0),F.addGetterSetter(Ie,"strokeLinearGradientStartPointX",0),F.addGetterSetter(Ie,"fillLinearGradientStartPointY",0),F.addGetterSetter(Ie,"strokeLinearGradientStartPointY",0),F.addComponentsGetterSetter(Ie,"fillLinearGradientEndPoint",["x","y"]),F.addComponentsGetterSetter(Ie,"strokeLinearGradientEndPoint",["x","y"]),F.addGetterSetter(Ie,"fillLinearGradientEndPointX",0),F.addGetterSetter(Ie,"strokeLinearGradientEndPointX",0),F.addGetterSetter(Ie,"fillLinearGradientEndPointY",0),F.addGetterSetter(Ie,"strokeLinearGradientEndPointY",0),F.addComponentsGetterSetter(Ie,"fillRadialGradientStartPoint",["x","y"]),F.addGetterSetter(Ie,"fillRadialGradientStartPointX",0),F.addGetterSetter(Ie,"fillRadialGradientStartPointY",0),F.addComponentsGetterSetter(Ie,"fillRadialGradientEndPoint",["x","y"]),F.addGetterSetter(Ie,"fillRadialGradientEndPointX",0),F.addGetterSetter(Ie,"fillRadialGradientEndPointY",0),F.addGetterSetter(Ie,"fillPatternRotation",0),F.backCompat(Ie,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var Re="#",Ne="beforeDraw",$e="draw",Le=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],Fe=Le.length;class Be extends Ot{constructor(t){super(t),this.canvas=new it,this.hitCanvas=new rt({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){const t=this.canvas._canvas;return t.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this}setZIndex(t){super.setZIndex(t);var e=this.getStage();return e&&e.content&&(e.content.removeChild(this.getNativeCanvasElement()),t<e.children.length-1?e.content.insertBefore(this.getNativeCanvasElement(),e.children[t+1].getCanvas()._canvas):e.content.appendChild(this.getNativeCanvasElement())),this}moveToTop(){Dt.prototype.moveToTop.call(this);var t=this.getStage();return t&&t.content&&(t.content.removeChild(this.getNativeCanvasElement()),t.content.appendChild(this.getNativeCanvasElement())),!0}moveUp(){var t=Dt.prototype.moveUp.call(this);if(!t)return!1;var e=this.getStage();return!(!e||!e.content)&&(e.content.removeChild(this.getNativeCanvasElement()),this.index<e.children.length-1?e.content.insertBefore(this.getNativeCanvasElement(),e.children[this.index+1].getCanvas()._canvas):e.content.appendChild(this.getNativeCanvasElement()),!0)}moveDown(){if(Dt.prototype.moveDown.call(this)){var t=this.getStage();if(t){var e=t.children;t.content&&(t.content.removeChild(this.getNativeCanvasElement()),t.content.insertBefore(this.getNativeCanvasElement(),e[this.index+1].getCanvas()._canvas))}return!0}return!1}moveToBottom(){if(Dt.prototype.moveToBottom.call(this)){var t=this.getStage();if(t){var e=t.children;t.content&&(t.content.removeChild(this.getNativeCanvasElement()),t.content.insertBefore(this.getNativeCanvasElement(),e[1].getCanvas()._canvas))}return!0}return!1}getLayer(){return this}remove(){var t=this.getNativeCanvasElement();return Dt.prototype.remove.call(this),t&&t.parentNode&&C._isInDocument(t)&&t.parentNode.removeChild(t),this}getStage(){return this.parent}setSize({width:t,height:e}){return this.canvas.setSize(t,e),this.hitCanvas.setSize(t,e),this._setSmoothEnabled(),this}_validateAdd(t){var e=t.getType();"Group"!==e&&"Shape"!==e&&C["throw"]("You may only add groups and shapes to a layer.")}_toKonvaCanvas(t){return t=t||{},t.width=t.width||this.getWidth(),t.height=t.height||this.getHeight(),t.x=void 0!==t.x?t.x:this.x(),t.y=void 0!==t.y?t.y:this.y(),Dt.prototype._toKonvaCanvas.call(this,t)}_checkVisibility(){const t=this.visible();this.canvas._canvas.style.display=t?"block":"none"}_setSmoothEnabled(){this.getContext()._context.imageSmoothingEnabled=this.imageSmoothingEnabled()}getWidth(){if(this.parent)return this.parent.width()}setWidth(){C.warn('Can not change width of layer. Use "stage.width(value)" function instead.')}getHeight(){if(this.parent)return this.parent.height()}setHeight(){C.warn('Can not change height of layer. Use "stage.height(value)" function instead.')}batchDraw(){return this._waitingForDraw||(this._waitingForDraw=!0,C.requestAnimFrame((()=>{this.draw(),this._waitingForDraw=!1}))),this}getIntersection(t){if(!this.isListening()||!this.isVisible())return null;var e=1,n=!1;while(1){for(let i=0;i<Fe;i++){const r=Le[i],a=this._getIntersection({x:t.x+r.x*e,y:t.y+r.y*e}),o=a.shape;if(o)return o;if(n=!!a.antialiased,!a.antialiased)break}if(!n)return null;e+=1}}_getIntersection(t){const e=this.hitCanvas.pixelRatio,n=this.hitCanvas.context.getImageData(Math.round(t.x*e),Math.round(t.y*e),1,1).data,i=n[3];if(255===i){const t=C._rgbToHex(n[0],n[1],n[2]),e=xe[Re+t];return e?{shape:e}:{antialiased:!0}}return i>0?{antialiased:!0}:{}}drawScene(t,e){var n=this.getLayer(),i=t||n&&n.getCanvas();return this._fire(Ne,{node:this}),this.clearBeforeDraw()&&i.getContext().clear(),Ot.prototype.drawScene.call(this,i,e),this._fire($e,{node:this}),this}drawHit(t,e){var n=this.getLayer(),i=t||n&&n.hitCanvas;return n&&n.clearBeforeDraw()&&n.getHitCanvas().getContext().clear(),Ot.prototype.drawHit.call(this,i,e),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(t){C.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)}getHitGraphEnabled(t){return C.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(this.parent&&this.parent["content"]){var t=this.parent,e=!!this.hitCanvas._canvas.parentNode;e?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}}}Be.prototype.nodeType="Layer",s(Be),F.addGetterSetter(Be,"imageSmoothingEnabled",!0),F.addGetterSetter(Be,"clearBeforeDraw",!0),F.addGetterSetter(Be,"hitGraphEnabled",!0,R());class je extends Be{constructor(t){super(t),this.listening(!1),C.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}je.prototype.nodeType="FastLayer",s(je);class ze extends Ot{_validateAdd(t){var e=t.getType();"Group"!==e&&"Shape"!==e&&C["throw"]("You may only add groups and shapes to groups.")}}ze.prototype.nodeType="Group",s(ze);var He=function(){return a.performance&&a.performance.now?function(){return a.performance.now()}:function(){return(new Date).getTime()}}();class Ve{constructor(t,e){this.id=Ve.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:He(),frameRate:0},this.func=t,this.setLayers(e)}setLayers(t){var e=[];return e=t?t.length>0?t:[t]:[],this.layers=e,this}getLayers(){return this.layers}addLayer(t){var e,n=this.layers,i=n.length;for(e=0;e<i;e++)if(n[e]._id===t._id)return!1;return this.layers.push(t),!0}isRunning(){var t,e=Ve,n=e.animations,i=n.length;for(t=0;t<i;t++)if(n[t].id===this.id)return!0;return!1}start(){return this.stop(),this.frame.timeDiff=0,this.frame.lastTime=He(),Ve._addAnimation(this),this}stop(){return Ve._removeAnimation(this),this}_updateFrameObject(t){this.frame.timeDiff=t-this.frame.lastTime,this.frame.lastTime=t,this.frame.time+=this.frame.timeDiff,this.frame.frameRate=1e3/this.frame.timeDiff}static _addAnimation(t){this.animations.push(t),this._handleAnimation()}static _removeAnimation(t){var e,n=t.id,i=this.animations,r=i.length;for(e=0;e<r;e++)if(i[e].id===n){this.animations.splice(e,1);break}}static _runFrames(){var t,e,n,i,r,a,o,s,c,l={},u=this.animations;for(i=0;i<u.length;i++)if(t=u[i],e=t.layers,n=t.func,t._updateFrameObject(He()),a=e.length,c=!n||!1!==n.call(t,t.frame),c)for(r=0;r<a;r++)o=e[r],void 0!==o._id&&(l[o._id]=o);for(s in l)l.hasOwnProperty(s)&&l[s].batchDraw()}static _animationLoop(){var t=Ve;t.animations.length?(t._runFrames(),C.requestAnimFrame(t._animationLoop)):t.animRunning=!1}static _handleAnimation(){this.animRunning||(this.animRunning=!0,C.requestAnimFrame(this._animationLoop))}}Ve.animations=[],Ve.animIdCounter=0,Ve.animRunning=!1;var Ge={node:1,duration:1,easing:1,onFinish:1,yoyo:1},We=1,Ue=2,Ye=3,qe=0,Xe=["fill","stroke","shadowColor"];class Ke{constructor(t,e,n,i,r,a,o){this.prop=t,this.propFunc=e,this.begin=i,this._pos=i,this.duration=a,this._change=0,this.prevPos=0,this.yoyo=o,this._time=0,this._position=0,this._startTime=0,this._finish=0,this.func=n,this._change=r-this.begin,this.pause()}fire(t){var e=this[t];e&&e()}setTime(t){t>this.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())}getTime(){return this._time}setPosition(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t}getPosition(t){return void 0===t&&(t=this._time),this.func(t,this.begin,this._change,this.duration)}play(){this.state=Ue,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=Ye,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var t=this.getTimer()-this._startTime;this.state===Ue?this.setTime(t):this.state===Ye&&this.setTime(this.duration-t)}pause(){this.state=We,this.fire("onPause")}getTimer(){return(new Date).getTime()}}class Je{constructor(t){var e,n,i=this,r=t.node,a=r._id,s=t.easing||Ze.Linear,c=!!t.yoyo;e="undefined"===typeof t.duration?.3:0===t.duration?.001:t.duration,this.node=r,this._id=qe++;var l=r.getLayer()||(r instanceof o.Stage?r.getLayers():null);for(n in l||C.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new Ve((function(){i.tween.onEnterFrame()}),l),this.tween=new Ke(n,(function(t){i._tweenFunc(t)}),s,0,1,1e3*e,c),this._addListeners(),Je.attrs[a]||(Je.attrs[a]={}),Je.attrs[a][this._id]||(Je.attrs[a][this._id]={}),Je.tweens[a]||(Je.tweens[a]={}),t)void 0===Ge[n]&&this._addAttr(n,t[n]);this.reset(),this.onFinish=t.onFinish,this.onReset=t.onReset,this.onUpdate=t.onUpdate}_addAttr(t,e){var n,i,r,a,o,s,c,l,u=this.node,h=u._id;if(r=Je.tweens[h][t],r&&delete Je.attrs[h][r][t],n=u.getAttr(t),C._isArray(e))if(i=[],o=Math.max(e.length,n.length),"points"===t&&e.length!==n.length&&(e.length>n.length?(c=n,n=C._prepareArrayForTween(n,e,u.closed())):(s=e,e=C._prepareArrayForTween(e,n,u.closed()))),0===t.indexOf("fill"))for(a=0;a<o;a++)if(a%2===0)i.push(e[a]-n[a]);else{var d=C.colorToRGBA(n[a]);l=C.colorToRGBA(e[a]),n[a]=d,i.push({r:l.r-d.r,g:l.g-d.g,b:l.b-d.b,a:l.a-d.a})}else for(a=0;a<o;a++)i.push(e[a]-n[a]);else-1!==Xe.indexOf(t)?(n=C.colorToRGBA(n),l=C.colorToRGBA(e),i={r:l.r-n.r,g:l.g-n.g,b:l.b-n.b,a:l.a-n.a}):i=e-n;Je.attrs[h][this._id][t]={start:n,diff:i,end:e,trueEnd:s,trueStart:c},Je.tweens[h][t]=this._id}_tweenFunc(t){var e,n,i,r,a,o,s,c,l=this.node,u=Je.attrs[l._id][this._id];for(e in u){if(n=u[e],i=n.start,r=n.diff,c=n.end,C._isArray(i))if(a=[],s=Math.max(i.length,c.length),0===e.indexOf("fill"))for(o=0;o<s;o++)o%2===0?a.push((i[o]||0)+r[o]*t):a.push("rgba("+Math.round(i[o].r+r[o].r*t)+","+Math.round(i[o].g+r[o].g*t)+","+Math.round(i[o].b+r[o].b*t)+","+(i[o].a+r[o].a*t)+")");else for(o=0;o<s;o++)a.push((i[o]||0)+r[o]*t);else a=-1!==Xe.indexOf(e)?"rgba("+Math.round(i.r+r.r*t)+","+Math.round(i.g+r.g*t)+","+Math.round(i.b+r.b*t)+","+(i.a+r.a*t)+")":i+r*t;l.setAttr(e,a)}}_addListeners(){this.tween.onPlay=()=>{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var t=this.node,e=Je.attrs[t._id][this._id];e.points&&e.points.trueEnd&&t.setAttr("points",e.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var t=this.node,e=Je.attrs[t._id][this._id];e.points&&e.points.trueStart&&t.points(e.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(t){return this.tween.seek(1e3*t),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var t,e=this.node._id,n=this._id,i=Je.tweens[e];for(t in this.pause(),i)delete Je.tweens[e][t];delete Je.attrs[e][n]}}Je.attrs={},Je.tweens={},Dt.prototype.to=function(t){var e=t.onFinish;t.node=this,t.onFinish=function(){this.destroy(),e&&e()};var n=new Je(t);n.play()};const Ze={BackEaseIn(t,e,n,i){var r=1.70158;return n*(t/=i)*t*((r+1)*t-r)+e},BackEaseOut(t,e,n,i){var r=1.70158;return n*((t=t/i-1)*t*((r+1)*t+r)+1)+e},BackEaseInOut(t,e,n,i){var r=1.70158;return(t/=i/2)<1?n/2*(t*t*((1+(r*=1.525))*t-r))+e:n/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+e},ElasticEaseIn(t,e,n,i,r,a){var o=0;return 0===t?e:1===(t/=i)?e+n:(a||(a=.3*i),!r||r<Math.abs(n)?(r=n,o=a/4):o=a/(2*Math.PI)*Math.asin(n/r),-r*Math.pow(2,10*(t-=1))*Math.sin((t*i-o)*(2*Math.PI)/a)+e)},ElasticEaseOut(t,e,n,i,r,a){var o=0;return 0===t?e:1===(t/=i)?e+n:(a||(a=.3*i),!r||r<Math.abs(n)?(r=n,o=a/4):o=a/(2*Math.PI)*Math.asin(n/r),r*Math.pow(2,-10*t)*Math.sin((t*i-o)*(2*Math.PI)/a)+n+e)},ElasticEaseInOut(t,e,n,i,r,a){var o=0;return 0===t?e:2===(t/=i/2)?e+n:(a||(a=i*(.3*1.5)),!r||r<Math.abs(n)?(r=n,o=a/4):o=a/(2*Math.PI)*Math.asin(n/r),t<1?r*Math.pow(2,10*(t-=1))*Math.sin((t*i-o)*(2*Math.PI)/a)*-.5+e:r*Math.pow(2,-10*(t-=1))*Math.sin((t*i-o)*(2*Math.PI)/a)*.5+n+e)},BounceEaseOut(t,e,n,i){return(t/=i)<1/2.75?n*(7.5625*t*t)+e:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+e:n*(7.5625*(t-=2.625/2.75)*t+.984375)+e},BounceEaseIn(t,e,n,i){return n-Ze.BounceEaseOut(i-t,0,n,i)+e},BounceEaseInOut(t,e,n,i){return t<i/2?.5*Ze.BounceEaseIn(2*t,0,n,i)+e:.5*Ze.BounceEaseOut(2*t-i,0,n,i)+.5*n+e},EaseIn(t,e,n,i){return n*(t/=i)*t+e},EaseOut(t,e,n,i){return-n*(t/=i)*(t-2)+e},EaseInOut(t,e,n,i){return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e},StrongEaseIn(t,e,n,i){return n*(t/=i)*t*t*t*t+e},StrongEaseOut(t,e,n,i){return n*((t=t/i-1)*t*t*t*t+1)+e},StrongEaseInOut(t,e,n,i){return(t/=i/2)<1?n/2*t*t*t*t*t+e:n/2*((t-=2)*t*t*t*t+2)+e},Linear(t,e,n,i){return n*t/i+e}},Qe=C._assign(o,{Util:C,Transform:c,Node:Dt,Container:Ot,Stage:ve,stages:pe,Layer:Be,FastLayer:je,Group:ze,DD:at,Shape:Ie,shapes:xe,Animation:Ve,Tween:Je,Easings:Ze,Context:J,Canvas:nt});class tn extends Ie{_sceneFunc(t){var e=o.getAngle(this.angle()),n=this.clockwise();t.beginPath(),t.arc(0,0,this.outerRadius(),0,e,n),t.arc(0,0,this.innerRadius(),e,0,!n),t.closePath(),t.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}getSelfRect(){const t=this.innerRadius(),e=this.outerRadius(),n=this.clockwise(),i=o.getAngle(n?360-this.angle():this.angle()),r=Math.cos(Math.min(i,Math.PI)),a=1,s=Math.sin(Math.min(Math.max(Math.PI,i),3*Math.PI/2)),c=Math.sin(Math.min(i,Math.PI/2)),l=r*(r>0?t:e),u=a*(a>0?e:t),h=s*(s>0?t:e),d=c*(c>0?e:t);return{x:l,y:n?-1*d:h,width:u-l,height:d-h}}}function en(t,e,n,i,r,a,o){var s=Math.sqrt(Math.pow(n-t,2)+Math.pow(i-e,2)),c=Math.sqrt(Math.pow(r-n,2)+Math.pow(a-i,2)),l=o*s/(s+c),u=o*c/(s+c),h=n-l*(r-t),d=i-l*(a-e),f=n+u*(r-t),p=i+u*(a-e);return[h,d,f,p]}function nn(t,e){var n,i,r=t.length,a=[];for(n=2;n<r-2;n+=2)i=en(t[n-2],t[n-1],t[n],t[n+1],t[n+2],t[n+3],e),isNaN(i[0])||(a.push(i[0]),a.push(i[1]),a.push(t[n]),a.push(t[n+1]),a.push(i[2]),a.push(i[3]));return a}tn.prototype._centroid=!0,tn.prototype.className="Arc",tn.prototype._attrsAffectingSize=["innerRadius","outerRadius"],s(tn),F.addGetterSetter(tn,"innerRadius",0,O()),F.addGetterSetter(tn,"outerRadius",0,O()),F.addGetterSetter(tn,"angle",0,O()),F.addGetterSetter(tn,"clockwise",!1,R());class rn extends Ie{constructor(t){super(t),this.on("pointsChange.konva tensionChange.konva closedChange.konva bezierChange.konva",(function(){this._clearCache("tensionPoints")}))}_sceneFunc(t){var e,n,i,r=this.points(),a=r.length,o=this.tension(),s=this.closed(),c=this.bezier();if(a){if(t.beginPath(),t.moveTo(r[0],r[1]),0!==o&&a>4){e=this.getTensionPoints(),n=e.length,i=s?0:4,s||t.quadraticCurveTo(e[0],e[1],e[2],e[3]);while(i<n-2)t.bezierCurveTo(e[i++],e[i++],e[i++],e[i++],e[i++],e[i++]);s||t.quadraticCurveTo(e[n-2],e[n-1],r[a-2],r[a-1])}else if(c){i=2;while(i<a)t.bezierCurveTo(r[i++],r[i++],r[i++],r[i++],r[i++],r[i++])}else for(i=2;i<a;i+=2)t.lineTo(r[i],r[i+1]);s?(t.closePath(),t.fillStrokeShape(this)):t.strokeShape(this)}}getTensionPoints(){return this._getCache("tensionPoints",this._getTensionPoints)}_getTensionPoints(){return this.closed()?this._getTensionPointsClosed():nn(this.points(),this.tension())}_getTensionPointsClosed(){var t=this.points(),e=t.length,n=this.tension(),i=en(t[e-2],t[e-1],t[0],t[1],t[2],t[3],n),r=en(t[e-4],t[e-3],t[e-2],t[e-1],t[0],t[1],n),a=nn(t,n),o=[i[2],i[3]].concat(a).concat([r[0],r[1],t[e-2],t[e-1],r[2],r[3],i[0],i[1],t[0],t[1]]);return o}getWidth(){return this.getSelfRect().width}getHeight(){return this.getSelfRect().height}getSelfRect(){var t=this.points();if(t.length<4)return{x:t[0]||0,y:t[1]||0,width:0,height:0};t=0!==this.tension()?[t[0],t[1],...this._getTensionPoints(),t[t.length-2],t[t.length-1]]:this.points();for(var e,n,i=t[0],r=t[0],a=t[1],o=t[1],s=0;s<t.length/2;s++)e=t[2*s],n=t[2*s+1],i=Math.min(i,e),r=Math.max(r,e),a=Math.min(a,n),o=Math.max(o,n);return{x:i,y:a,width:r-i,height:o-a}}}rn.prototype.className="Line",rn.prototype._attrsAffectingSize=["points","bezier","tension"],s(rn),F.addGetterSetter(rn,"closed",!1),F.addGetterSetter(rn,"bezier",!1),F.addGetterSetter(rn,"tension",0,O()),F.addGetterSetter(rn,"points",[],I());class an extends Ie{constructor(t){super(t),this.dataArray=[],this.pathLength=0,this.dataArray=an.parsePathData(this.data()),this.pathLength=0;for(var e=0;e<this.dataArray.length;++e)this.pathLength+=this.dataArray[e].pathLength;this.on("dataChange.konva",(function(){this.dataArray=an.parsePathData(this.data()),this.pathLength=0;for(var t=0;t<this.dataArray.length;++t)this.pathLength+=this.dataArray[t].pathLength}))}_sceneFunc(t){var e=this.dataArray;t.beginPath();for(var n=!1,i=0;i<e.length;i++){var r=e[i].command,a=e[i].points;switch(r){case"L":t.lineTo(a[0],a[1]);break;case"M":t.moveTo(a[0],a[1]);break;case"C":t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);break;case"Q":t.quadraticCurveTo(a[0],a[1],a[2],a[3]);break;case"A":var o=a[0],s=a[1],c=a[2],l=a[3],u=a[4],h=a[5],d=a[6],f=a[7],p=c>l?c:l,v=c>l?1:c/l,m=c>l?l/c:1;t.translate(o,s),t.rotate(d),t.scale(v,m),t.arc(0,0,p,u,u+h,1-f),t.scale(1/v,1/m),t.rotate(-d),t.translate(-o,-s);break;case"z":n=!0,t.closePath();break}}n||this.hasFill()?t.fillStrokeShape(this):t.strokeShape(this)}getSelfRect(){var t=[];this.dataArray.forEach((function(e){if("A"===e.command){var n=e.points[4],i=e.points[5],r=e.points[4]+i,a=Math.PI/180;if(Math.abs(n-r)<a&&(a=Math.abs(n-r)),i<0)for(let i=n-a;i>r;i-=a){const n=an.getPointOnEllipticalArc(e.points[0],e.points[1],e.points[2],e.points[3],i,0);t.push(n.x,n.y)}else for(let i=n+a;i<r;i+=a){const n=an.getPointOnEllipticalArc(e.points[0],e.points[1],e.points[2],e.points[3],i,0);t.push(n.x,n.y)}}else if("C"===e.command)for(let o=0;o<=1;o+=.01){const n=an.getPointOnCubicBezier(o,e.start.x,e.start.y,e.points[0],e.points[1],e.points[2],e.points[3],e.points[4],e.points[5]);t.push(n.x,n.y)}else t=t.concat(e.points)}));for(var e,n,i=t[0],r=t[0],a=t[1],o=t[1],s=0;s<t.length/2;s++)e=t[2*s],n=t[2*s+1],isNaN(e)||(i=Math.min(i,e),r=Math.max(r,e)),isNaN(n)||(a=Math.min(a,n),o=Math.max(o,n));return{x:i,y:a,width:r-i,height:o-a}}getLength(){return this.pathLength}getPointAtLength(t){var e,n=0,i=this.dataArray.length;if(!i)return null;while(n<i&&t>this.dataArray[n].pathLength)t-=this.dataArray[n].pathLength,++n;if(n===i)return e=this.dataArray[n-1].points.slice(-2),{x:e[0],y:e[1]};if(t<.01)return e=this.dataArray[n].points.slice(0,2),{x:e[0],y:e[1]};var r=this.dataArray[n],a=r.points;switch(r.command){case"L":return an.getPointOnLine(t,r.start.x,r.start.y,a[0],a[1]);case"C":return an.getPointOnCubicBezier(t/r.pathLength,r.start.x,r.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return an.getPointOnQuadraticBezier(t/r.pathLength,r.start.x,r.start.y,a[0],a[1],a[2],a[3]);case"A":var o=a[0],s=a[1],c=a[2],l=a[3],u=a[4],h=a[5],d=a[6];return u+=h*t/r.pathLength,an.getPointOnEllipticalArc(o,s,c,l,u,d)}return null}static getLineLength(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))}static getPointOnLine(t,e,n,i,r,a,o){void 0===a&&(a=e),void 0===o&&(o=n);var s=(r-n)/(i-e+1e-8),c=Math.sqrt(t*t/(1+s*s));i<e&&(c*=-1);var l,u=s*c;if(i===e)l={x:a,y:o+u};else if((o-n)/(a-e+1e-8)===s)l={x:a+c,y:o+u};else{var h,d,f=this.getLineLength(e,n,i,r),p=(a-e)*(i-e)+(o-n)*(r-n);p/=f*f,h=e+p*(i-e),d=n+p*(r-n);var v=this.getLineLength(a,o,h,d),m=Math.sqrt(t*t-v*v);c=Math.sqrt(m*m/(1+s*s)),i<e&&(c*=-1),u=s*c,l={x:h+c,y:d+u}}return l}static getPointOnCubicBezier(t,e,n,i,r,a,o,s,c){function l(t){return t*t*t}function u(t){return 3*t*t*(1-t)}function h(t){return 3*t*(1-t)*(1-t)}function d(t){return(1-t)*(1-t)*(1-t)}var f=s*l(t)+a*u(t)+i*h(t)+e*d(t),p=c*l(t)+o*u(t)+r*h(t)+n*d(t);return{x:f,y:p}}static getPointOnQuadraticBezier(t,e,n,i,r,a,o){function s(t){return t*t}function c(t){return 2*t*(1-t)}function l(t){return(1-t)*(1-t)}var u=a*s(t)+i*c(t)+e*l(t),h=o*s(t)+r*c(t)+n*l(t);return{x:u,y:h}}static getPointOnEllipticalArc(t,e,n,i,r,a){var o=Math.cos(a),s=Math.sin(a),c={x:n*Math.cos(r),y:i*Math.sin(r)};return{x:t+(c.x*o-c.y*s),y:e+(c.x*s+c.y*o)}}static parsePathData(t){if(!t)return[];var e=t,n=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];e=e.replace(new RegExp(" ","g"),",");for(var i=0;i<n.length;i++)e=e.replace(new RegExp(n[i],"g"),"|"+n[i]);var r,a=e.split("|"),o=[],s=[],c=0,l=0,u=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;for(i=1;i<a.length;i++){var h=a[i],d=h.charAt(0);h=h.slice(1),s.length=0;while(r=u.exec(h))s.push(r[0]);for(var f=[],p=0,v=s.length;p<v;p++)if("00"!==s[p]){var m=parseFloat(s[p]);isNaN(m)?f.push(0):f.push(m)}else f.push(0,0);while(f.length>0){if(isNaN(f[0]))break;var g,y,b,_,w,k,x,S,C,D,T=null,O=[],A=c,E=l;switch(d){case"l":c+=f.shift(),l+=f.shift(),T="L",O.push(c,l);break;case"L":c=f.shift(),l=f.shift(),O.push(c,l);break;case"m":var P=f.shift(),M=f.shift();if(c+=P,l+=M,T="M",o.length>2&&"z"===o[o.length-1].command)for(var I=o.length-2;I>=0;I--)if("M"===o[I].command){c=o[I].points[0]+P,l=o[I].points[1]+M;break}O.push(c,l),d="l";break;case"M":c=f.shift(),l=f.shift(),T="M",O.push(c,l),d="L";break;case"h":c+=f.shift(),T="L",O.push(c,l);break;case"H":c=f.shift(),T="L",O.push(c,l);break;case"v":l+=f.shift(),T="L",O.push(c,l);break;case"V":l=f.shift(),T="L",O.push(c,l);break;case"C":O.push(f.shift(),f.shift(),f.shift(),f.shift()),c=f.shift(),l=f.shift(),O.push(c,l);break;case"c":O.push(c+f.shift(),l+f.shift(),c+f.shift(),l+f.shift()),c+=f.shift(),l+=f.shift(),T="C",O.push(c,l);break;case"S":y=c,b=l,g=o[o.length-1],"C"===g.command&&(y=c+(c-g.points[2]),b=l+(l-g.points[3])),O.push(y,b,f.shift(),f.shift()),c=f.shift(),l=f.shift(),T="C",O.push(c,l);break;case"s":y=c,b=l,g=o[o.length-1],"C"===g.command&&(y=c+(c-g.points[2]),b=l+(l-g.points[3])),O.push(y,b,c+f.shift(),l+f.shift()),c+=f.shift(),l+=f.shift(),T="C",O.push(c,l);break;case"Q":O.push(f.shift(),f.shift()),c=f.shift(),l=f.shift(),O.push(c,l);break;case"q":O.push(c+f.shift(),l+f.shift()),c+=f.shift(),l+=f.shift(),T="Q",O.push(c,l);break;case"T":y=c,b=l,g=o[o.length-1],"Q"===g.command&&(y=c+(c-g.points[0]),b=l+(l-g.points[1])),c=f.shift(),l=f.shift(),T="Q",O.push(y,b,c,l);break;case"t":y=c,b=l,g=o[o.length-1],"Q"===g.command&&(y=c+(c-g.points[0]),b=l+(l-g.points[1])),c+=f.shift(),l+=f.shift(),T="Q",O.push(y,b,c,l);break;case"A":_=f.shift(),w=f.shift(),k=f.shift(),x=f.shift(),S=f.shift(),C=c,D=l,c=f.shift(),l=f.shift(),T="A",O=this.convertEndpointToCenterParameterization(C,D,c,l,x,S,_,w,k);break;case"a":_=f.shift(),w=f.shift(),k=f.shift(),x=f.shift(),S=f.shift(),C=c,D=l,c+=f.shift(),l+=f.shift(),T="A",O=this.convertEndpointToCenterParameterization(C,D,c,l,x,S,_,w,k);break}o.push({command:T||d,points:O,start:{x:A,y:E},pathLength:this.calcLength(A,E,T||d,O)})}"z"!==d&&"Z"!==d||o.push({command:"z",points:[],start:void 0,pathLength:0})}return o}static calcLength(t,e,n,i){var r,a,o,s,c=an;switch(n){case"L":return c.getLineLength(t,e,i[0],i[1]);case"C":for(r=0,a=c.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),s=.01;s<=1;s+=.01)o=c.getPointOnCubicBezier(s,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),r+=c.getLineLength(a.x,a.y,o.x,o.y),a=o;return r;case"Q":for(r=0,a=c.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),s=.01;s<=1;s+=.01)o=c.getPointOnQuadraticBezier(s,t,e,i[0],i[1],i[2],i[3]),r+=c.getLineLength(a.x,a.y,o.x,o.y),a=o;return r;case"A":r=0;var l=i[4],u=i[5],h=i[4]+u,d=Math.PI/180;if(Math.abs(l-h)<d&&(d=Math.abs(l-h)),a=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),u<0)for(s=l-d;s>h;s-=d)o=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],s,0),r+=c.getLineLength(a.x,a.y,o.x,o.y),a=o;else for(s=l+d;s<h;s+=d)o=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],s,0),r+=c.getLineLength(a.x,a.y,o.x,o.y),a=o;return o=c.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],h,0),r+=c.getLineLength(a.x,a.y,o.x,o.y),r}return 0}static convertEndpointToCenterParameterization(t,e,n,i,r,a,o,s,c){var l=c*(Math.PI/180),u=Math.cos(l)*(t-n)/2+Math.sin(l)*(e-i)/2,h=-1*Math.sin(l)*(t-n)/2+Math.cos(l)*(e-i)/2,d=u*u/(o*o)+h*h/(s*s);d>1&&(o*=Math.sqrt(d),s*=Math.sqrt(d));var f=Math.sqrt((o*o*(s*s)-o*o*(h*h)-s*s*(u*u))/(o*o*(h*h)+s*s*(u*u)));r===a&&(f*=-1),isNaN(f)&&(f=0);var p=f*o*h/s,v=f*-s*u/o,m=(t+n)/2+Math.cos(l)*p-Math.sin(l)*v,g=(e+i)/2+Math.sin(l)*p+Math.cos(l)*v,y=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},b=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))},_=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(b(t,e))},w=_([1,0],[(u-p)/o,(h-v)/s]),k=[(u-p)/o,(h-v)/s],x=[(-1*u-p)/o,(-1*h-v)/s],S=_(k,x);return b(k,x)<=-1&&(S=Math.PI),b(k,x)>=1&&(S=0),0===a&&S>0&&(S-=2*Math.PI),1===a&&S<0&&(S+=2*Math.PI),[m,g,o,s,w,S,l,a]}}an.prototype.className="Path",an.prototype._attrsAffectingSize=["data"],s(an),F.addGetterSetter(an,"data");class on extends rn{_sceneFunc(t){super._sceneFunc(t);var e=2*Math.PI,n=this.points(),i=n,r=0!==this.tension()&&n.length>4;r&&(i=this.getTensionPoints());var a,o,s=this.pointerLength(),c=n.length;if(r){const t=[i[i.length-4],i[i.length-3],i[i.length-2],i[i.length-1],n[c-2],n[c-1]],e=an.calcLength(i[i.length-4],i[i.length-3],"C",t),r=an.getPointOnQuadraticBezier(Math.min(1,1-s/e),t[0],t[1],t[2],t[3],t[4],t[5]);a=n[c-2]-r.x,o=n[c-1]-r.y}else a=n[c-2]-n[c-4],o=n[c-1]-n[c-3];var l=(Math.atan2(o,a)+e)%e,u=this.pointerWidth();this.pointerAtEnding()&&(t.save(),t.beginPath(),t.translate(n[c-2],n[c-1]),t.rotate(l),t.moveTo(0,0),t.lineTo(-s,u/2),t.lineTo(-s,-u/2),t.closePath(),t.restore(),this.__fillStroke(t)),this.pointerAtBeginning()&&(t.save(),t.beginPath(),t.translate(n[0],n[1]),r?(a=(i[0]+i[2])/2-n[0],o=(i[1]+i[3])/2-n[1]):(a=n[2]-n[0],o=n[3]-n[1]),t.rotate((Math.atan2(-o,-a)+e)%e),t.moveTo(0,0),t.lineTo(-s,u/2),t.lineTo(-s,-u/2),t.closePath(),t.restore(),this.__fillStroke(t))}__fillStroke(t){var e=this.dashEnabled();e&&(this.attrs.dashEnabled=!1,t.setLineDash([])),t.fillStrokeShape(this),e&&(this.attrs.dashEnabled=!0)}getSelfRect(){const t=super.getSelfRect(),e=this.pointerWidth()/2;return{x:t.x-e,y:t.y-e,width:t.width+2*e,height:t.height+2*e}}}on.prototype.className="Arrow",s(on),F.addGetterSetter(on,"pointerLength",10,O()),F.addGetterSetter(on,"pointerWidth",10,O()),F.addGetterSetter(on,"pointerAtBeginning",!1),F.addGetterSetter(on,"pointerAtEnding",!0);class sn extends Ie{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,2*Math.PI,!1),t.closePath(),t.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(t){this.radius()!==t/2&&this.radius(t/2)}setHeight(t){this.radius()!==t/2&&this.radius(t/2)}}sn.prototype._centroid=!0,sn.prototype.className="Circle",sn.prototype._attrsAffectingSize=["radius"],s(sn),F.addGetterSetter(sn,"radius",0,O());class cn extends Ie{_sceneFunc(t){var e=this.radiusX(),n=this.radiusY();t.beginPath(),t.save(),e!==n&&t.scale(1,n/e),t.arc(0,0,e,0,2*Math.PI,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)}getWidth(){return 2*this.radiusX()}getHeight(){return 2*this.radiusY()}setWidth(t){this.radiusX(t/2)}setHeight(t){this.radiusY(t/2)}}cn.prototype.className="Ellipse",cn.prototype._centroid=!0,cn.prototype._attrsAffectingSize=["radiusX","radiusY"],s(cn),F.addComponentsGetterSetter(cn,"radius",["x","y"]),F.addGetterSetter(cn,"radiusX",0,O()),F.addGetterSetter(cn,"radiusY",0,O());class ln extends Ie{constructor(t){super(t),this.on("imageChange.konva",(()=>{this._setImageLoad()})),this._setImageLoad()}_setImageLoad(){const t=this.image();t&&t.complete||t&&4===t.readyState||t&&t["addEventListener"]&&t["addEventListener"]("load",(()=>{this._requestDraw()}))}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(t){const e=this.getWidth(),n=this.getHeight(),i=this.attrs.image;let r;if(i){const t=this.attrs.cropWidth,a=this.attrs.cropHeight;r=t&&a?[i,this.cropX(),this.cropY(),t,a,0,0,e,n]:[i,0,0,e,n]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,e,n),t.closePath(),t.fillStrokeShape(this)),i&&t.drawImage.apply(t,r)}_hitFunc(t){var e=this.width(),n=this.height();t.beginPath(),t.rect(0,0,e,n),t.closePath(),t.fillStrokeShape(this)}getWidth(){var t,e;return null!==(t=this.attrs.width)&&void 0!==t?t:null===(e=this.image())||void 0===e?void 0:e.width}getHeight(){var t,e;return null!==(t=this.attrs.height)&&void 0!==t?t:null===(e=this.image())||void 0===e?void 0:e.height}static fromURL(t,e,n=null){var i=C.createImageElement();i.onload=function(){var t=new ln({image:i});e(t)},i.onerror=n,i.crossOrigin="Anonymous",i.src=t}}ln.prototype.className="Image",s(ln),F.addGetterSetter(ln,"image"),F.addComponentsGetterSetter(ln,"crop",["x","y","width","height"]),F.addGetterSetter(ln,"cropX",0,O()),F.addGetterSetter(ln,"cropY",0,O()),F.addGetterSetter(ln,"cropWidth",0,O()),F.addGetterSetter(ln,"cropHeight",0,O());var un=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],hn="Change.konva",dn="none",fn="up",pn="right",vn="down",mn="left",gn=un.length;class yn extends ze{constructor(t){super(t),this.on("add.konva",(function(t){this._addListeners(t.child),this._sync()}))}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(t){var e,n=this,i=function(){n._sync()};for(e=0;e<gn;e++)t.on(un[e]+hn,i)}getWidth(){return this.getText().width()}getHeight(){return this.getText().height()}_sync(){var t,e,n,i,r,a,o,s=this.getText(),c=this.getTag();if(s&&c){switch(t=s.width(),e=s.height(),n=c.pointerDirection(),i=c.pointerWidth(),o=c.pointerHeight(),r=0,a=0,n){case fn:r=t/2,a=-1*o;break;case pn:r=t+i,a=e/2;break;case vn:r=t/2,a=e+o;break;case mn:r=-1*i,a=e/2;break}c.setAttrs({x:-1*r,y:-1*a,width:t,height:e}),s.setAttrs({x:-1*r,y:-1*a})}}}yn.prototype.className="Label",s(yn);class bn extends Ie{_sceneFunc(t){var e=this.width(),n=this.height(),i=this.pointerDirection(),r=this.pointerWidth(),a=this.pointerHeight(),o=this.cornerRadius();let s=0,c=0,l=0,u=0;"number"===typeof o?s=c=l=u=Math.min(o,e/2,n/2):(s=Math.min(o[0]||0,e/2,n/2),c=Math.min(o[1]||0,e/2,n/2),u=Math.min(o[2]||0,e/2,n/2),l=Math.min(o[3]||0,e/2,n/2)),t.beginPath(),t.moveTo(s,0),i===fn&&(t.lineTo((e-r)/2,0),t.lineTo(e/2,-1*a),t.lineTo((e+r)/2,0)),t.lineTo(e-c,0),t.arc(e-c,c,c,3*Math.PI/2,0,!1),i===pn&&(t.lineTo(e,(n-a)/2),t.lineTo(e+r,n/2),t.lineTo(e,(n+a)/2)),t.lineTo(e,n-u),t.arc(e-u,n-u,u,0,Math.PI/2,!1),i===vn&&(t.lineTo((e+r)/2,n),t.lineTo(e/2,n+a),t.lineTo((e-r)/2,n)),t.lineTo(l,n),t.arc(l,n-l,l,Math.PI/2,Math.PI,!1),i===mn&&(t.lineTo(0,(n+a)/2),t.lineTo(-1*r,n/2),t.lineTo(0,(n-a)/2)),t.lineTo(0,s),t.arc(s,s,s,Math.PI,3*Math.PI/2,!1),t.closePath(),t.fillStrokeShape(this)}getSelfRect(){var t=0,e=0,n=this.pointerWidth(),i=this.pointerHeight(),r=this.pointerDirection(),a=this.width(),o=this.height();return r===fn?(e-=i,o+=i):r===vn?o+=i:r===mn?(t-=1.5*n,a+=n):r===pn&&(a+=1.5*n),{x:t,y:e,width:a,height:o}}}bn.prototype.className="Tag",s(bn),F.addGetterSetter(bn,"pointerDirection",dn),F.addGetterSetter(bn,"pointerWidth",0,O()),F.addGetterSetter(bn,"pointerHeight",0,O()),F.addGetterSetter(bn,"cornerRadius",0,A(4));class _n extends Ie{_sceneFunc(t){var e=this.cornerRadius(),n=this.width(),i=this.height();if(t.beginPath(),e){let r=0,a=0,o=0,s=0;"number"===typeof e?r=a=o=s=Math.min(e,n/2,i/2):(r=Math.min(e[0]||0,n/2,i/2),a=Math.min(e[1]||0,n/2,i/2),s=Math.min(e[2]||0,n/2,i/2),o=Math.min(e[3]||0,n/2,i/2)),t.moveTo(r,0),t.lineTo(n-a,0),t.arc(n-a,a,a,3*Math.PI/2,0,!1),t.lineTo(n,i-s),t.arc(n-s,i-s,s,0,Math.PI/2,!1),t.lineTo(o,i),t.arc(o,i-o,o,Math.PI/2,Math.PI,!1),t.lineTo(0,r),t.arc(r,r,r,Math.PI,3*Math.PI/2,!1)}else t.rect(0,0,n,i);t.closePath(),t.fillStrokeShape(this)}}_n.prototype.className="Rect",s(_n),F.addGetterSetter(_n,"cornerRadius",0,A(4));class wn extends Ie{_sceneFunc(t){const e=this._getPoints();t.beginPath(),t.moveTo(e[0].x,e[0].y);for(var n=1;n<e.length;n++)t.lineTo(e[n].x,e[n].y);t.closePath(),t.fillStrokeShape(this)}_getPoints(){const t=this.attrs.sides,e=this.attrs.radius||0,n=[];for(var i=0;i<t;i++)n.push({x:e*Math.sin(2*i*Math.PI/t),y:-1*e*Math.cos(2*i*Math.PI/t)});return n}getSelfRect(){const t=this._getPoints();var e=t[0].x,n=t[0].y,i=t[0].x,r=t[0].y;return t.forEach((t=>{e=Math.min(e,t.x),n=Math.max(n,t.x),i=Math.min(i,t.y),r=Math.max(r,t.y)})),{x:e,y:i,width:n-e,height:r-i}}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}wn.prototype.className="RegularPolygon",wn.prototype._centroid=!0,wn.prototype._attrsAffectingSize=["radius"],s(wn),F.addGetterSetter(wn,"radius",0,O()),F.addGetterSetter(wn,"sides",0,O());var kn=2*Math.PI;class xn extends Ie{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,kn,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),kn,0,!0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}xn.prototype.className="Ring",xn.prototype._centroid=!0,xn.prototype._attrsAffectingSize=["innerRadius","outerRadius"],s(xn),F.addGetterSetter(xn,"innerRadius",0,O()),F.addGetterSetter(xn,"outerRadius",0,O());class Sn extends Ie{constructor(t){super(t),this._updated=!0,this.anim=new Ve((()=>{var t=this._updated;return this._updated=!1,t})),this.on("animationChange.konva",(function(){this.frameIndex(0)})),this.on("frameIndexChange.konva",(function(){this._updated=!0})),this.on("frameRateChange.konva",(function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())}))}_sceneFunc(t){var e=this.animation(),n=this.frameIndex(),i=4*n,r=this.animations()[e],a=this.frameOffsets(),o=r[i+0],s=r[i+1],c=r[i+2],l=r[i+3],u=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,c,l),t.closePath(),t.fillStrokeShape(this)),u)if(a){var h=a[e],d=2*n;t.drawImage(u,o,s,c,l,h[d+0],h[d+1],c,l)}else t.drawImage(u,o,s,c,l,0,0,c,l)}_hitFunc(t){var e=this.animation(),n=this.frameIndex(),i=4*n,r=this.animations()[e],a=this.frameOffsets(),o=r[i+2],s=r[i+3];if(t.beginPath(),a){var c=a[e],l=2*n;t.rect(c[l+0],c[l+1],o,s)}else t.rect(0,0,o,s);t.closePath(),t.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var t=this;this.interval=setInterval((function(){t._updateIndex()}),1e3/this.frameRate())}start(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var t=this.frameIndex(),e=this.animation(),n=this.animations(),i=n[e],r=i.length/4;t<r-1?this.frameIndex(t+1):this.frameIndex(0)}}Sn.prototype.className="Sprite",s(Sn),F.addGetterSetter(Sn,"animation"),F.addGetterSetter(Sn,"animations"),F.addGetterSetter(Sn,"frameOffsets"),F.addGetterSetter(Sn,"image"),F.addGetterSetter(Sn,"frameIndex",0,O()),F.addGetterSetter(Sn,"frameRate",17,O()),F.backCompat(Sn,{index:"frameIndex",getIndex:"getFrameIndex",setIndex:"setFrameIndex"});class Cn extends Ie{_sceneFunc(t){var e=this.innerRadius(),n=this.outerRadius(),i=this.numPoints();t.beginPath(),t.moveTo(0,0-n);for(var r=1;r<2*i;r++){var a=r%2===0?n:e,o=a*Math.sin(r*Math.PI/i),s=-1*a*Math.cos(r*Math.PI/i);t.lineTo(o,s)}t.closePath(),t.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(t){this.outerRadius(t/2)}setHeight(t){this.outerRadius(t/2)}}function Dn(t){return Array.from(t)}Cn.prototype.className="Star",Cn.prototype._centroid=!0,Cn.prototype._attrsAffectingSize=["innerRadius","outerRadius"],s(Cn),F.addGetterSetter(Cn,"numPoints",5,O()),F.addGetterSetter(Cn,"innerRadius",0,O()),F.addGetterSetter(Cn,"outerRadius",0,O());var Tn,On="auto",An="center",En="justify",Pn="Change.konva",Mn="2d",In="-",Rn="left",Nn="text",$n="Text",Ln="top",Fn="bottom",Bn="middle",jn="normal",zn="px ",Hn=" ",Vn="right",Gn="word",Wn="char",Un="none",Yn="…",qn=["fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],Xn=qn.length;function Kn(t){return t.split(",").map((t=>{t=t.trim();const e=t.indexOf(" ")>=0,n=t.indexOf('"')>=0||t.indexOf("'")>=0;return e&&!n&&(t=`"${t}"`),t})).join(", ")}function Jn(){return Tn||(Tn=C.createCanvasElement().getContext(Mn),Tn)}function Zn(t){t.fillText(this._partialText,this._partialTextX,this._partialTextY)}function Qn(t){t.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function ti(t){return t=t||{},t.fillLinearGradientColorStops||t.fillRadialGradientColorStops||t.fillPatternImage||(t.fill=t.fill||"black"),t}class ei extends Ie{constructor(t){super(ti(t)),this._partialTextX=0,this._partialTextY=0;for(var e=0;e<Xn;e++)this.on(qn[e]+Pn,this._setTextData);this._setTextData()}_sceneFunc(t){var e=this.textArr,n=e.length;if(this.text()){var i,r=this.padding(),a=this.fontSize(),o=this.lineHeight()*a,s=this.verticalAlign(),c=0,l=this.align(),u=this.getWidth(),h=this.letterSpacing(),d=this.fill(),f=this.textDecoration(),p=-1!==f.indexOf("underline"),v=-1!==f.indexOf("line-through"),m=0,g=(m=o/2,0),y=0;for(t.setAttr("font",this._getContextFont()),t.setAttr("textBaseline",Bn),t.setAttr("textAlign",Rn),s===Bn?c=(this.getHeight()-n*o-2*r)/2:s===Fn&&(c=this.getHeight()-n*o-2*r),t.translate(r,c+r),i=0;i<n;i++){g=0,y=0;var b,_,w,k=e[i],x=k.text,S=k.width,C=k.lastInParagraph;if(t.save(),l===Vn?g+=u-S-2*r:l===An&&(g+=(u-S-2*r)/2),p&&(t.save(),t.beginPath(),t.moveTo(g,m+y+Math.round(a/2)),b=x.split(" ").length-1,_=0===b,w=l===En&&C&&!_?u-2*r:S,t.lineTo(g+Math.round(w),m+y+Math.round(a/2)),t.lineWidth=a/15,t.strokeStyle=d,t.stroke(),t.restore()),v&&(t.save(),t.beginPath(),t.moveTo(g,m+y),b=x.split(" ").length-1,_=0===b,w=l===En&&C&&!_?u-2*r:S,t.lineTo(g+Math.round(w),m+y),t.lineWidth=a/15,t.strokeStyle=d,t.stroke(),t.restore()),0!==h||l===En){b=x.split(" ").length-1;for(var D=Dn(x),T=0;T<D.length;T++){var O=D[T];" "!==O||C||l!==En||(g+=(u-2*r-S)/b),this._partialTextX=g,this._partialTextY=m+y,this._partialText=O,t.fillStrokeShape(this),g+=this.measureSize(O).width+h}}else this._partialTextX=g,this._partialTextY=m+y,this._partialText=x,t.fillStrokeShape(this);t.restore(),n>1&&(m+=o)}}}_hitFunc(t){var e=this.getWidth(),n=this.getHeight();t.beginPath(),t.rect(0,0,e,n),t.closePath(),t.fillStrokeShape(this)}setText(t){var e=C._isString(t)?t:null===t||void 0===t?"":t+"";return this._setAttr(Nn,e),this}getWidth(){var t=this.attrs.width===On||void 0===this.attrs.width;return t?this.getTextWidth()+2*this.padding():this.attrs.width}getHeight(){var t=this.attrs.height===On||void 0===this.attrs.height;return t?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return C.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(t){var e,n=Jn(),i=this.fontSize();return n.save(),n.font=this._getContextFont(),e=n.measureText(t),n.restore(),{width:e.width,height:i}}_getContextFont(){return this.fontStyle()+Hn+this.fontVariant()+Hn+(this.fontSize()+zn)+Kn(this.fontFamily())}_addTextLine(t){this.align()===En&&(t=t.trim());var e=this._getTextWidth(t);return this.textArr.push({text:t,width:e,lastInParagraph:!1})}_getTextWidth(t){var e=this.letterSpacing(),n=t.length;return Jn().measureText(t).width+(n?e*(n-1):0)}_setTextData(){var t=this.text().split("\n"),e=+this.fontSize(),n=0,i=this.lineHeight()*e,r=this.attrs.width,a=this.attrs.height,o=r!==On&&void 0!==r,s=a!==On&&void 0!==a,c=this.padding(),l=r-2*c,u=a-2*c,h=0,d=this.wrap(),f=d!==Un,p=d!==Wn&&f,v=this.ellipsis();this.textArr=[],Jn().font=this._getContextFont();for(var m=v?this._getTextWidth(Yn):0,g=0,y=t.length;g<y;++g){var b=t[g],_=this._getTextWidth(b);if(o&&_>l)while(b.length>0){var w=0,k=b.length,x="",S=0;while(w<k){var C=w+k>>>1,D=b.slice(0,C+1),T=this._getTextWidth(D)+m;T<=l?(w=C+1,x=D,S=T):k=C}if(!x)break;if(p){var O,A=b[x.length],E=A===Hn||A===In;O=E&&S<=l?x.length:Math.max(x.lastIndexOf(Hn),x.lastIndexOf(In))+1,O>0&&(w=O,x=x.slice(0,w),S=this._getTextWidth(x))}x=x.trimRight(),this._addTextLine(x),n=Math.max(n,S),h+=i;var P=this._shouldHandleEllipsis(h);if(P){this._tryToAddEllipsisToLastLine();break}if(b=b.slice(w),b=b.trimLeft(),b.length>0&&(_=this._getTextWidth(b),_<=l)){this._addTextLine(b),h+=i,n=Math.max(n,_);break}}else this._addTextLine(b),h+=i,n=Math.max(n,_),this._shouldHandleEllipsis(h)&&g<y-1&&this._tryToAddEllipsisToLastLine();if(s&&h+i>u)break;this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0)}this.textHeight=e,this.textWidth=n}_shouldHandleEllipsis(t){var e=+this.fontSize(),n=this.lineHeight()*e,i=this.attrs.height,r=i!==On&&void 0!==i,a=this.padding(),o=i-2*a,s=this.wrap(),c=s!==Un;return!c||r&&t+n>o}_tryToAddEllipsisToLastLine(){var t=this.attrs.width,e=t!==On&&void 0!==t,n=this.padding(),i=t-2*n,r=this.ellipsis(),a=this.textArr[this.textArr.length-1];if(a&&r){if(e){var o=this._getTextWidth(a.text+Yn)<i;o||(a.text=a.text.slice(0,a.text.length-3))}this.textArr.splice(this.textArr.length-1,1),this._addTextLine(a.text+Yn)}}getStrokeScaleEnabled(){return!0}}ei.prototype._fillFunc=Zn,ei.prototype._strokeFunc=Qn,ei.prototype.className=$n,ei.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"],s(ei),F.overWriteSetter(ei,"width",E()),F.overWriteSetter(ei,"height",E()),F.addGetterSetter(ei,"fontFamily","Arial"),F.addGetterSetter(ei,"fontSize",12,O()),F.addGetterSetter(ei,"fontStyle",jn),F.addGetterSetter(ei,"fontVariant",jn),F.addGetterSetter(ei,"padding",0,O()),F.addGetterSetter(ei,"align",Rn),F.addGetterSetter(ei,"verticalAlign",Ln),F.addGetterSetter(ei,"lineHeight",1,O()),F.addGetterSetter(ei,"wrap",Gn),F.addGetterSetter(ei,"ellipsis",!1,R()),F.addGetterSetter(ei,"letterSpacing",0,O()),F.addGetterSetter(ei,"text","",P()),F.addGetterSetter(ei,"textDecoration","");var ni="",ii="normal";function ri(t){t.fillText(this.partialText,0,0)}function ai(t){t.strokeText(this.partialText,0,0)}class oi extends Ie{constructor(t){super(t),this.dummyCanvas=C.createCanvasElement(),this.dataArray=[],this.dataArray=an.parsePathData(this.attrs.data),this.on("dataChange.konva",(function(){this.dataArray=an.parsePathData(this.attrs.data),this._setTextData()})),this.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva fontFamilyChange.konva",this._setTextData),this._setTextData()}_sceneFunc(t){t.setAttr("font",this._getContextFont()),t.setAttr("textBaseline",this.textBaseline()),t.setAttr("textAlign","left"),t.save();var e=this.textDecoration(),n=this.fill(),i=this.fontSize(),r=this.glyphInfo;"underline"===e&&t.beginPath();for(var a=0;a<r.length;a++){t.save();var o=r[a].p0;t.translate(o.x,o.y),t.rotate(r[a].rotation),this.partialText=r[a].text,t.fillStrokeShape(this),"underline"===e&&(0===a&&t.moveTo(0,i/2+1),t.lineTo(i,i/2+1)),t.restore()}"underline"===e&&(t.strokeStyle=n,t.lineWidth=i/20,t.stroke()),t.restore()}_hitFunc(t){t.beginPath();var e=this.glyphInfo;if(e.length>=1){var n=e[0].p0;t.moveTo(n.x,n.y)}for(var i=0;i<e.length;i++){var r=e[i].p1;t.lineTo(r.x,r.y)}t.setAttr("lineWidth",this.fontSize()),t.setAttr("strokeStyle",this.colorKey),t.stroke()}getTextWidth(){return this.textWidth}getTextHeight(){return C.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}setText(t){return ei.prototype.setText.call(this,t)}_getContextFont(){return ei.prototype._getContextFont.call(this)}_getTextSize(t){var e=this.dummyCanvas,n=e.getContext("2d");n.save(),n.font=this._getContextFont();var i=n.measureText(t);return n.restore(),{width:i.width,height:parseInt(this.attrs.fontSize,10)}}_setTextData(){var t=this,e=this._getTextSize(this.attrs.text),n=this.letterSpacing(),i=this.align(),r=this.kerningFunc();this.textWidth=e.width,this.textHeight=e.height;var a=Math.max(this.textWidth+((this.attrs.text||"").length-1)*n,0);this.glyphInfo=[];for(var o=0,s=0;s<t.dataArray.length;s++)t.dataArray[s].pathLength>0&&(o+=t.dataArray[s].pathLength);var c=0;"center"===i&&(c=Math.max(0,o/2-a/2)),"right"===i&&(c=Math.max(0,o-a));for(var l,u,h,d=Dn(this.text()),f=this.text().split(" ").length-1,p=-1,v=0,m=function(){v=0;for(var e=t.dataArray,n=p+1;n<e.length;n++){if(e[n].pathLength>0)return p=n,e[n];"M"===e[n].command&&(l={x:e[n].points[0],y:e[n].points[1]})}return{}},g=function(e){var r=t._getTextSize(e).width+n;" "===e&&"justify"===i&&(r+=(o-a)/f);var s=0,c=0;u=void 0;while(Math.abs(r-s)/r>.01&&c<20){c++;var d=s;while(void 0===h)h=m(),h&&d+h.pathLength<r&&(d+=h.pathLength,h=void 0);if(0===Object.keys(h).length||void 0===l)return;var p=!1;switch(h.command){case"L":an.getLineLength(l.x,l.y,h.points[0],h.points[1])>r?u=an.getPointOnLine(r,l.x,l.y,h.points[0],h.points[1],l.x,l.y):h=void 0;break;case"A":var g=h.points[4],y=h.points[5],b=h.points[4]+y;0===v?v=g+1e-8:r>s?v+=Math.PI/180*y/Math.abs(y):v-=Math.PI/360*y/Math.abs(y),(y<0&&v<b||y>=0&&v>b)&&(v=b,p=!0),u=an.getPointOnEllipticalArc(h.points[0],h.points[1],h.points[2],h.points[3],v,h.points[6]);break;case"C":0===v?v=r>h.pathLength?1e-8:r/h.pathLength:r>s?v+=(r-s)/h.pathLength/2:v=Math.max(v-(s-r)/h.pathLength/2,0),v>1&&(v=1,p=!0),u=an.getPointOnCubicBezier(v,h.start.x,h.start.y,h.points[0],h.points[1],h.points[2],h.points[3],h.points[4],h.points[5]);break;case"Q":0===v?v=r/h.pathLength:r>s?v+=(r-s)/h.pathLength:v-=(s-r)/h.pathLength,v>1&&(v=1,p=!0),u=an.getPointOnQuadraticBezier(v,h.start.x,h.start.y,h.points[0],h.points[1],h.points[2],h.points[3]);break}void 0!==u&&(s=an.getLineLength(l.x,l.y,u.x,u.y)),p&&(p=!1,h=void 0)}},y="C",b=t._getTextSize(y).width+n,_=c/b-1,w=0;w<_;w++){if(g(y),void 0===l||void 0===u)break;l=u}for(var k=0;k<d.length;k++){if(g(d[k]),void 0===l||void 0===u)break;var x=an.getLineLength(l.x,l.y,u.x,u.y),S=0;if(r)try{S=r(d[k-1],d[k])*this.fontSize()}catch(T){S=0}l.x+=S,u.x+=S,this.textWidth+=S;var C=an.getPointOnLine(S+x/2,l.x,l.y,u.x,u.y),D=Math.atan2(u.y-l.y,u.x-l.x);this.glyphInfo.push({transposeX:C.x,transposeY:C.y,text:d[k],rotation:D,p0:l,p1:u}),l=u}}getSelfRect(){if(!this.glyphInfo.length)return{x:0,y:0,width:0,height:0};var t=[];this.glyphInfo.forEach((function(e){t.push(e.p0.x),t.push(e.p0.y),t.push(e.p1.x),t.push(e.p1.y)}));for(var e,n,i=t[0]||0,r=t[0]||0,a=t[1]||0,o=t[1]||0,s=0;s<t.length/2;s++)e=t[2*s],n=t[2*s+1],i=Math.min(i,e),r=Math.max(r,e),a=Math.min(a,n),o=Math.max(o,n);var c=this.fontSize();return{x:i-c/2,y:a-c/2,width:r-i+c,height:o-a+c}}}oi.prototype._fillFunc=ri,oi.prototype._strokeFunc=ai,oi.prototype._fillFuncHit=ri,oi.prototype._strokeFuncHit=ai,oi.prototype.className="TextPath",oi.prototype._attrsAffectingSize=["text","fontSize","data"],s(oi),F.addGetterSetter(oi,"data"),F.addGetterSetter(oi,"fontFamily","Arial"),F.addGetterSetter(oi,"fontSize",12,O()),F.addGetterSetter(oi,"fontStyle",ii),F.addGetterSetter(oi,"align","left"),F.addGetterSetter(oi,"letterSpacing",0,O()),F.addGetterSetter(oi,"textBaseline","middle"),F.addGetterSetter(oi,"fontVariant",ii),F.addGetterSetter(oi,"text",ni),F.addGetterSetter(oi,"textDecoration",null),F.addGetterSetter(oi,"kerningFunc",null);var si="tr-konva",ci=["resizeEnabledChange","rotateAnchorOffsetChange","rotateEnabledChange","enabledAnchorsChange","anchorSizeChange","borderEnabledChange","borderStrokeChange","borderStrokeWidthChange","borderDashChange","anchorStrokeChange","anchorStrokeWidthChange","anchorFillChange","anchorCornerRadiusChange","ignoreStrokeChange"].map((t=>t+`.${si}`)).join(" "),li="nodesRect",ui=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],hi={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const di="ontouchstart"in o._global;function fi(t,e){if("rotater"===t)return"crosshair";e+=C.degToRad(hi[t]||0);var n=(C.radToDeg(e)%360+360)%360;return C._inRange(n,337.5,360)||C._inRange(n,0,22.5)?"ns-resize":C._inRange(n,22.5,67.5)?"nesw-resize":C._inRange(n,67.5,112.5)?"ew-resize":C._inRange(n,112.5,157.5)?"nwse-resize":C._inRange(n,157.5,202.5)?"ns-resize":C._inRange(n,202.5,247.5)?"nesw-resize":C._inRange(n,247.5,292.5)?"ew-resize":C._inRange(n,292.5,337.5)?"nwse-resize":(C.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}var pi=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"],vi=1e8;function mi(t){return{x:t.x+t.width/2*Math.cos(t.rotation)+t.height/2*Math.sin(-t.rotation),y:t.y+t.height/2*Math.cos(t.rotation)+t.width/2*Math.sin(t.rotation)}}function gi(t,e,n){const i=n.x+(t.x-n.x)*Math.cos(e)-(t.y-n.y)*Math.sin(e),r=n.y+(t.x-n.x)*Math.sin(e)+(t.y-n.y)*Math.cos(e);return Object.assign(Object.assign({},t),{rotation:t.rotation+e,x:i,y:r})}function yi(t,e){const n=mi(t);return gi(t,e,n)}function bi(t,e,n){let i=e;for(let r=0;r<t.length;r++){const a=o.getAngle(t[r]),s=Math.abs(a-e)%(2*Math.PI),c=Math.min(s,2*Math.PI-s);c<n&&(i=a)}return i}class _i extends ze{constructor(t){super(t),this._transforming=!1,this._createElements(),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this.update=this.update.bind(this),this.on(ci,this.update),this.getNode()&&this.update()}attachTo(t){return this.setNode(t),this}setNode(t){return C.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."),this.setNodes([t])}getNode(){return this._nodes&&this._nodes[0]}_getEventNamespace(){return si+this._id}setNodes(t=[]){this._nodes&&this._nodes.length&&this.detach(),this._nodes=t,1===t.length&&this.useSingleNodeRotation()?this.rotation(t[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((t=>{const e=()=>{1===this.nodes().length&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),this._transforming||this.isDragging()||this.update()},n=t._attrsAffectingSize.map((t=>t+"Change."+this._getEventNamespace())).join(" ");t.on(n,e),t.on(ui.map((t=>t+`.${this._getEventNamespace()}`)).join(" "),e),t.on(`absoluteTransformChange.${this._getEventNamespace()}`,e),this._proxyDrag(t)})),this._resetTransformCache();var e=!!this.findOne(".top-left");return e&&this.update(),this}_proxyDrag(t){let e;t.on(`dragstart.${this._getEventNamespace()}`,(n=>{e=t.getAbsolutePosition(),this.isDragging()||t===this.findOne(".back")||this.startDrag(n,!1)})),t.on(`dragmove.${this._getEventNamespace()}`,(n=>{if(!e)return;const i=t.getAbsolutePosition(),r=i.x-e.x,a=i.y-e.y;this.nodes().forEach((e=>{if(e===t)return;if(e.isDragging())return;const i=e.getAbsolutePosition();e.setAbsolutePosition({x:i.x+r,y:i.y+a}),e.startDrag(n)})),e=null}))}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach((t=>{t.off("."+this._getEventNamespace())})),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(li),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(li,this.__getNodeRect)}__getNodeShape(t,e=this.rotation(),n){var i=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),r=t.getAbsoluteScale(n),a=t.getAbsolutePosition(n),s=i.x*r.x-t.offsetX()*r.x,c=i.y*r.y-t.offsetY()*r.y;const l=(o.getAngle(t.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI),u={x:a.x+s*Math.cos(l)+c*Math.sin(-l),y:a.y+c*Math.cos(l)+s*Math.sin(l),width:i.width*r.x,height:i.height*r.y,rotation:l};return gi(u,-o.getAngle(e),{x:0,y:0})}__getNodeRect(){var t=this.getNode();if(!t)return{x:-vi,y:-vi,width:0,height:0,rotation:0};const e=[];this.nodes().map((t=>{const n=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var i=[{x:n.x,y:n.y},{x:n.x+n.width,y:n.y},{x:n.x+n.width,y:n.y+n.height},{x:n.x,y:n.y+n.height}],r=t.getAbsoluteTransform();i.forEach((function(t){var n=r.point(t);e.push(n)}))}));const n=new c;var i,r,a,s;n.rotate(-o.getAngle(this.rotation())),e.forEach((function(t){var e=n.point(t);void 0===i&&(i=a=e.x,r=s=e.y),i=Math.min(i,e.x),r=Math.min(r,e.y),a=Math.max(a,e.x),s=Math.max(s,e.y)})),n.invert();const l=n.point({x:i,y:r});return{x:l.x,y:l.y,width:a-i,height:s-r,rotation:o.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),pi.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")}_createAnchor(t){var e=new _n({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:di?10:"auto"}),n=this;e.on("mousedown touchstart",(function(t){n._handleMouseDown(t)})),e.on("dragstart",(t=>{e.stopDrag(),t.cancelBubble=!0})),e.on("dragend",(t=>{t.cancelBubble=!0})),e.on("mouseenter",(()=>{var n=o.getAngle(this.rotation()),i=fi(t,n);e.getStage().content&&(e.getStage().content.style.cursor=i),this._cursorChange=!0})),e.on("mouseout",(()=>{e.getStage().content&&(e.getStage().content.style.cursor=""),this._cursorChange=!1})),this.add(e)}_createBack(){var t=new Ie({name:"back",width:0,height:0,draggable:!0,sceneFunc(t){var e=this.getParent(),n=e.padding();t.beginPath(),t.rect(-n,-n,this.width()+2*n,this.height()+2*n),t.moveTo(this.width()/2,-n),e.rotateEnabled()&&t.lineTo(this.width()/2,-e.rotateAnchorOffset()*C._sign(this.height())-n),t.fillStrokeShape(this)},hitFunc:(t,e)=>{if(this.shouldOverdrawWholeArea()){var n=this.padding();t.beginPath(),t.rect(-n,-n,e.width()+2*n,e.height()+2*n),t.fillStrokeShape(e)}}});this.add(t),this._proxyDrag(t),t.on("dragstart",(t=>{t.cancelBubble=!0})),t.on("dragmove",(t=>{t.cancelBubble=!0})),t.on("dragend",(t=>{t.cancelBubble=!0})),this.on("dragmove",(t=>{this.update()}))}_handleMouseDown(t){this._movingAnchorName=t.target.name().split(" ")[0];var e=this._getNodeRect(),n=e.width,i=e.height,r=Math.sqrt(Math.pow(n,2)+Math.pow(i,2));this.sin=Math.abs(i/r),this.cos=Math.abs(n/r),"undefined"!==typeof window&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var a=t.target.getAbsolutePosition(),o=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:o.x-a.x,y:o.y-a.y},this._fire("transformstart",{evt:t.evt,target:this.getNode()}),this._nodes.forEach((e=>{e._fire("transformstart",{evt:t.evt,target:e})}))}_handleMouseMove(t){var e,n,i,r=this.findOne("."+this._movingAnchorName),a=r.getStage();a.setPointersPositions(t);const s=a.getPointerPosition();let c={x:s.x-this._anchorDragOffset.x,y:s.y-this._anchorDragOffset.y};const l=r.getAbsolutePosition();this.anchorDragBoundFunc()&&(c=this.anchorDragBoundFunc()(l,c,t)),r.setAbsolutePosition(c);const u=r.getAbsolutePosition();if(l.x!==u.x||l.y!==u.y)if("rotater"!==this._movingAnchorName){var h=this.keepRatio()||t.shiftKey,d=this.centeredScaling()||t.altKey;if("top-left"===this._movingAnchorName){if(h){var f=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};i=Math.sqrt(Math.pow(f.x-r.x(),2)+Math.pow(f.y-r.y(),2));var p=this.findOne(".top-left").x()>f.x?-1:1,v=this.findOne(".top-left").y()>f.y?-1:1;e=i*this.cos*p,n=i*this.sin*v,this.findOne(".top-left").x(f.x-e),this.findOne(".top-left").y(f.y-n)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(r.y());else if("top-right"===this._movingAnchorName){if(h){f=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};i=Math.sqrt(Math.pow(r.x()-f.x,2)+Math.pow(f.y-r.y(),2));p=this.findOne(".top-right").x()<f.x?-1:1,v=this.findOne(".top-right").y()>f.y?-1:1;e=i*this.cos*p,n=i*this.sin*v,this.findOne(".top-right").x(f.x+e),this.findOne(".top-right").y(f.y-n)}var m=r.position();this.findOne(".top-left").y(m.y),this.findOne(".bottom-right").x(m.x)}else if("middle-left"===this._movingAnchorName)this.findOne(".top-left").x(r.x());else if("middle-right"===this._movingAnchorName)this.findOne(".bottom-right").x(r.x());else if("bottom-left"===this._movingAnchorName){if(h){f=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};i=Math.sqrt(Math.pow(f.x-r.x(),2)+Math.pow(r.y()-f.y,2));p=f.x<r.x()?-1:1,v=r.y()<f.y?-1:1;e=i*this.cos*p,n=i*this.sin*v,r.x(f.x-e),r.y(f.y+n)}m=r.position(),this.findOne(".top-left").x(m.x),this.findOne(".bottom-right").y(m.y)}else if("bottom-center"===this._movingAnchorName)this.findOne(".bottom-right").y(r.y());else if("bottom-right"===this._movingAnchorName){if(h){f=d?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-left").x(),y:this.findOne(".top-left").y()};i=Math.sqrt(Math.pow(r.x()-f.x,2)+Math.pow(r.y()-f.y,2));p=this.findOne(".bottom-right").x()<f.x?-1:1,v=this.findOne(".bottom-right").y()<f.y?-1:1;e=i*this.cos*p,n=i*this.sin*v,this.findOne(".bottom-right").x(f.x+e),this.findOne(".bottom-right").y(f.y+n)}}else console.error(new Error("Wrong position argument of selection resizer: "+this._movingAnchorName));d=this.centeredScaling()||t.altKey;if(d){var g=this.findOne(".top-left"),y=this.findOne(".bottom-right"),b=g.x(),_=g.y(),w=this.getWidth()-y.x(),k=this.getHeight()-y.y();y.move({x:-b,y:-_}),g.move({x:w,y:k})}var x=this.findOne(".top-left").getAbsolutePosition();e=x.x,n=x.y;var S=this.findOne(".bottom-right").x()-this.findOne(".top-left").x(),C=this.findOne(".bottom-right").y()-this.findOne(".top-left").y();this._fitNodesInto({x:e,y:n,width:S,height:C,rotation:o.getAngle(this.rotation())},t)}else{var D=this._getNodeRect();e=r.x()-D.width/2,n=-r.y()+D.height/2;let i=Math.atan2(-n,e)+Math.PI/2;D.height<0&&(i-=Math.PI);var T=o.getAngle(this.rotation());const a=T+i,s=o.getAngle(this.rotationSnapTolerance()),c=bi(this.rotationSnaps(),a,s),l=c-D.rotation,u=yi(D,l);this._fitNodesInto(u,t)}}_handleMouseUp(t){this._removeEvents(t)}getAbsoluteTransform(){return this.getTransform()}_removeEvents(t){if(this._transforming){this._transforming=!1,"undefined"!==typeof window&&(window.removeEventListener("mousemove",this._handleMouseMove),window.removeEventListener("touchmove",this._handleMouseMove),window.removeEventListener("mouseup",this._handleMouseUp,!0),window.removeEventListener("touchend",this._handleMouseUp,!0));var e=this.getNode();this._fire("transformend",{evt:t,target:e}),e&&this._nodes.forEach((e=>{e._fire("transformend",{evt:t,target:e})})),this._movingAnchorName=null}}_fitNodesInto(t,e){var n=this._getNodeRect();const i=1;if(C._inRange(t.width,2*-this.padding()-i,i))return void this.update();if(C._inRange(t.height,2*-this.padding()-i,i))return void this.update();const r=this.flipEnabled();var a=new c;if(a.rotate(o.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){const e=a.point({x:2*-this.padding(),y:0});if(t.x+=e.x,t.y+=e.y,t.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=e.x,this._anchorDragOffset.y-=e.y,!r)return void this.update()}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){const e=a.point({x:2*this.padding(),y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=e.x,this._anchorDragOffset.y-=e.y,t.width+=2*this.padding(),!r)return void this.update()}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){const e=a.point({x:0,y:2*-this.padding()});if(t.x+=e.x,t.y+=e.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=e.x,this._anchorDragOffset.y-=e.y,t.height+=2*this.padding(),!r)return void this.update()}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const e=a.point({x:0,y:2*this.padding()});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=e.x,this._anchorDragOffset.y-=e.y,t.height+=2*this.padding(),!r)return void this.update()}if(this.boundBoxFunc()){const e=this.boundBoxFunc()(n,t);e?t=e:C.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const s=1e7,l=new c;l.translate(n.x,n.y),l.rotate(n.rotation),l.scale(n.width/s,n.height/s);const u=new c;u.translate(t.x,t.y),u.rotate(t.rotation),u.scale(t.width/s,t.height/s);const h=u.multiply(l.invert());this._nodes.forEach((t=>{var n;const i=t.getParent().getAbsoluteTransform(),r=t.getTransform().copy();r.translate(t.offsetX(),t.offsetY());const a=new c;a.multiply(i.copy().invert()).multiply(h).multiply(i).multiply(r);const o=a.decompose();t.setAttrs(o),this._fire("transform",{evt:e,target:t}),t._fire("transform",{evt:e,target:t}),null===(n=t.getLayer())||void 0===n||n.batchDraw()})),this.rotation(C._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(t,e){const n=this.findOne(t);n.setAttrs(e)}update(){var t,e=this._getNodeRect();this.rotation(C._getRotation(e.rotation));var n=e.width,i=e.height,r=this.enabledAnchors(),a=this.resizeEnabled(),o=this.padding(),s=this.anchorSize();this.find("._anchor").forEach((t=>{t.setAttrs({width:s,height:s,offsetX:s/2,offsetY:s/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:s/2+o,offsetY:s/2+o,visible:a&&r.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:n/2,y:0,offsetY:s/2+o,visible:a&&r.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:n,y:0,offsetX:s/2-o,offsetY:s/2+o,visible:a&&r.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:i/2,offsetX:s/2+o,visible:a&&r.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:n,y:i/2,offsetX:s/2-o,visible:a&&r.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:i,offsetX:s/2+o,offsetY:s/2-o,visible:a&&r.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:n/2,y:i,offsetY:s/2-o,visible:a&&r.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:n,y:i,offsetX:s/2-o,offsetY:s/2-o,visible:a&&r.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:n/2,y:-this.rotateAnchorOffset()*C._sign(i)-o,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:n,height:i,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),null===(t=this.getLayer())||void 0===t||t.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),ze.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return Dt.prototype.toObject.call(this)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}}function wi(t){return t instanceof Array||C.warn("enabledAnchors value should be an array"),t instanceof Array&&t.forEach((function(t){-1===pi.indexOf(t)&&C.warn("Unknown anchor name: "+t+". Available names are: "+pi.join(", "))})),t||[]}_i.prototype.className="Transformer",s(_i),F.addGetterSetter(_i,"enabledAnchors",pi,wi),F.addGetterSetter(_i,"flipEnabled",!0,R()),F.addGetterSetter(_i,"resizeEnabled",!0),F.addGetterSetter(_i,"anchorSize",10,O()),F.addGetterSetter(_i,"rotateEnabled",!0),F.addGetterSetter(_i,"rotationSnaps",[]),F.addGetterSetter(_i,"rotateAnchorOffset",50,O()),F.addGetterSetter(_i,"rotationSnapTolerance",5,O()),F.addGetterSetter(_i,"borderEnabled",!0),F.addGetterSetter(_i,"anchorStroke","rgb(0, 161, 255)"),F.addGetterSetter(_i,"anchorStrokeWidth",1,O()),F.addGetterSetter(_i,"anchorFill","white"),F.addGetterSetter(_i,"anchorCornerRadius",0,O()),F.addGetterSetter(_i,"borderStroke","rgb(0, 161, 255)"),F.addGetterSetter(_i,"borderStrokeWidth",1,O()),F.addGetterSetter(_i,"borderDash"),F.addGetterSetter(_i,"keepRatio",!0),F.addGetterSetter(_i,"centeredScaling",!1),F.addGetterSetter(_i,"ignoreStroke",!1),F.addGetterSetter(_i,"padding",0,O()),F.addGetterSetter(_i,"node"),F.addGetterSetter(_i,"nodes"),F.addGetterSetter(_i,"boundBoxFunc"),F.addGetterSetter(_i,"anchorDragBoundFunc"),F.addGetterSetter(_i,"shouldOverdrawWholeArea",!1),F.addGetterSetter(_i,"useSingleNodeRotation",!0),F.backCompat(_i,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class ki extends Ie{_sceneFunc(t){t.beginPath(),t.arc(0,0,this.radius(),0,o.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(t){this.radius(t/2)}setHeight(t){this.radius(t/2)}}function xi(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}ki.prototype.className="Wedge",ki.prototype._centroid=!0,ki.prototype._attrsAffectingSize=["radius"],s(ki),F.addGetterSetter(ki,"radius",0,O()),F.addGetterSetter(ki,"angle",0,O()),F.addGetterSetter(ki,"clockwise",!1),F.backCompat(ki,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});var Si=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Ci=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function Di(t,e){var n,i,r,a,o,s,c,l,u,h,d,f,p,v,m,g,y,b,_,w,k,x,S,C,D=t.data,T=t.width,O=t.height,A=e+e+1,E=T-1,P=O-1,M=e+1,I=M*(M+1)/2,R=new xi,N=null,$=R,L=null,F=null,B=Si[e],j=Ci[e];for(r=1;r<A;r++)$=$.next=new xi,r===M&&(N=$);for($.next=R,c=s=0,i=0;i<O;i++){for(g=y=b=_=l=u=h=d=0,f=M*(w=D[s]),p=M*(k=D[s+1]),v=M*(x=D[s+2]),m=M*(S=D[s+3]),l+=I*w,u+=I*k,h+=I*x,d+=I*S,$=R,r=0;r<M;r++)$.r=w,$.g=k,$.b=x,$.a=S,$=$.next;for(r=1;r<M;r++)a=s+((E<r?E:r)<<2),l+=($.r=w=D[a])*(C=M-r),u+=($.g=k=D[a+1])*C,h+=($.b=x=D[a+2])*C,d+=($.a=S=D[a+3])*C,g+=w,y+=k,b+=x,_+=S,$=$.next;for(L=R,F=N,n=0;n<T;n++)D[s+3]=S=d*B>>j,0!==S?(S=255/S,D[s]=(l*B>>j)*S,D[s+1]=(u*B>>j)*S,D[s+2]=(h*B>>j)*S):D[s]=D[s+1]=D[s+2]=0,l-=f,u-=p,h-=v,d-=m,f-=L.r,p-=L.g,v-=L.b,m-=L.a,a=c+((a=n+e+1)<E?a:E)<<2,g+=L.r=D[a],y+=L.g=D[a+1],b+=L.b=D[a+2],_+=L.a=D[a+3],l+=g,u+=y,h+=b,d+=_,L=L.next,f+=w=F.r,p+=k=F.g,v+=x=F.b,m+=S=F.a,g-=w,y-=k,b-=x,_-=S,F=F.next,s+=4;c+=T}for(n=0;n<T;n++){for(y=b=_=g=u=h=d=l=0,s=n<<2,f=M*(w=D[s]),p=M*(k=D[s+1]),v=M*(x=D[s+2]),m=M*(S=D[s+3]),l+=I*w,u+=I*k,h+=I*x,d+=I*S,$=R,r=0;r<M;r++)$.r=w,$.g=k,$.b=x,$.a=S,$=$.next;for(o=T,r=1;r<=e;r++)s=o+n<<2,l+=($.r=w=D[s])*(C=M-r),u+=($.g=k=D[s+1])*C,h+=($.b=x=D[s+2])*C,d+=($.a=S=D[s+3])*C,g+=w,y+=k,b+=x,_+=S,$=$.next,r<P&&(o+=T);for(s=n,L=R,F=N,i=0;i<O;i++)a=s<<2,D[a+3]=S=d*B>>j,S>0?(S=255/S,D[a]=(l*B>>j)*S,D[a+1]=(u*B>>j)*S,D[a+2]=(h*B>>j)*S):D[a]=D[a+1]=D[a+2]=0,l-=f,u-=p,h-=v,d-=m,f-=L.r,p-=L.g,v-=L.b,m-=L.a,a=n+((a=i+M)<P?a:P)*T<<2,l+=g+=L.r=D[a],u+=y+=L.g=D[a+1],h+=b+=L.b=D[a+2],d+=_+=L.a=D[a+3],L=L.next,f+=w=F.r,p+=k=F.g,v+=x=F.b,m+=S=F.a,g-=w,y-=k,b-=x,_-=S,F=F.next,s+=T}}const Ti=function(t){var e=Math.round(this.blurRadius());e>0&&Di(t,e)};F.addGetterSetter(Dt,"blurRadius",0,O(),F.afterSetFilter);const Oi=function(t){var e,n=255*this.brightness(),i=t.data,r=i.length;for(e=0;e<r;e+=4)i[e]+=n,i[e+1]+=n,i[e+2]+=n};F.addGetterSetter(Dt,"brightness",0,O(),F.afterSetFilter);const Ai=function(t){var e,n=Math.pow((this.contrast()+100)/100,2),i=t.data,r=i.length,a=150,o=150,s=150;for(e=0;e<r;e+=4)a=i[e],o=i[e+1],s=i[e+2],a/=255,a-=.5,a*=n,a+=.5,a*=255,o/=255,o-=.5,o*=n,o+=.5,o*=255,s/=255,s-=.5,s*=n,s+=.5,s*=255,a=a<0?0:a>255?255:a,o=o<0?0:o>255?255:o,s=s<0?0:s>255?255:s,i[e]=a,i[e+1]=o,i[e+2]=s};F.addGetterSetter(Dt,"contrast",0,O(),F.afterSetFilter);const Ei=function(t){var e=10*this.embossStrength(),n=255*this.embossWhiteLevel(),i=this.embossDirection(),r=this.embossBlend(),a=0,o=0,s=t.data,c=t.width,l=t.height,u=4*c,h=l;switch(i){case"top-left":a=-1,o=-1;break;case"top":a=-1,o=0;break;case"top-right":a=-1,o=1;break;case"right":a=0,o=1;break;case"bottom-right":a=1,o=1;break;case"bottom":a=1,o=0;break;case"bottom-left":a=1,o=-1;break;case"left":a=0,o=-1;break;default:C.error("Unknown emboss direction: "+i)}do{var d=(h-1)*u,f=a;h+f<1&&(f=0),h+f>l&&(f=0);var p=(h-1+f)*c*4,v=c;do{var m=d+4*(v-1),g=o;v+g<1&&(g=0),v+g>c&&(g=0);var y=p+4*(v-1+g),b=s[m]-s[y],_=s[m+1]-s[y+1],w=s[m+2]-s[y+2],k=b,x=k>0?k:-k,S=_>0?_:-_,D=w>0?w:-w;if(S>x&&(k=_),D>x&&(k=w),k*=e,r){var T=s[m]+k,O=s[m+1]+k,A=s[m+2]+k;s[m]=T>255?255:T<0?0:T,s[m+1]=O>255?255:O<0?0:O,s[m+2]=A>255?255:A<0?0:A}else{var E=n-k;E<0?E=0:E>255&&(E=255),s[m]=s[m+1]=s[m+2]=E}}while(--v)}while(--h)};function Pi(t,e,n,i,r){var a,o=n-e,s=r-i;return 0===o?i+s/2:0===s?i:(a=(t-e)/o,a=s*a+i,a)}F.addGetterSetter(Dt,"embossStrength",.5,O(),F.afterSetFilter),F.addGetterSetter(Dt,"embossWhiteLevel",.5,O(),F.afterSetFilter),F.addGetterSetter(Dt,"embossDirection","top-left",null,F.afterSetFilter),F.addGetterSetter(Dt,"embossBlend",!1,null,F.afterSetFilter);const Mi=function(t){var e,n,i,r,a=t.data,o=a.length,s=a[0],c=s,l=a[1],u=l,h=a[2],d=h,f=this.enhance();if(0!==f){for(r=0;r<o;r+=4)e=a[r+0],e<s?s=e:e>c&&(c=e),n=a[r+1],n<l?l=n:n>u&&(u=n),i=a[r+2],i<h?h=i:i>d&&(d=i);var p,v,m,g,y,b,_,w,k;for(c===s&&(c=255,s=0),u===l&&(u=255,l=0),d===h&&(d=255,h=0),f>0?(v=c+f*(255-c),m=s-f*(s-0),y=u+f*(255-u),b=l-f*(l-0),w=d+f*(255-d),k=h-f*(h-0)):(p=.5*(c+s),v=c+f*(c-p),m=s+f*(s-p),g=.5*(u+l),y=u+f*(u-g),b=l+f*(l-g),_=.5*(d+h),w=d+f*(d-_),k=h+f*(h-_)),r=0;r<o;r+=4)a[r+0]=Pi(a[r+0],s,c,m,v),a[r+1]=Pi(a[r+1],l,u,b,y),a[r+2]=Pi(a[r+2],h,d,k,w)}};F.addGetterSetter(Dt,"enhance",0,O(),F.afterSetFilter);const Ii=function(t){var e,n,i=t.data,r=i.length;for(e=0;e<r;e+=4)n=.34*i[e]+.5*i[e+1]+.16*i[e+2],i[e]=n,i[e+1]=n,i[e+2]=n};F.addGetterSetter(Dt,"hue",0,O(),F.afterSetFilter),F.addGetterSetter(Dt,"saturation",0,O(),F.afterSetFilter),F.addGetterSetter(Dt,"luminance",0,O(),F.afterSetFilter);const Ri=function(t){var e,n,i,r,a,o=t.data,s=o.length,c=1,l=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,h=127*this.luminance(),d=c*l*Math.cos(u*Math.PI/180),f=c*l*Math.sin(u*Math.PI/180),p=.299*c+.701*d+.167*f,v=.587*c-.587*d+.33*f,m=.114*c-.114*d-.497*f,g=.299*c-.299*d-.328*f,y=.587*c+.413*d+.035*f,b=.114*c-.114*d+.293*f,_=.299*c-.3*d+1.25*f,w=.587*c-.586*d-1.05*f,k=.114*c+.886*d-.2*f;for(e=0;e<s;e+=4)n=o[e+0],i=o[e+1],r=o[e+2],a=o[e+3],o[e+0]=p*n+v*i+m*r+h,o[e+1]=g*n+y*i+b*r+h,o[e+2]=_*n+w*i+k*r+h,o[e+3]=a},Ni=function(t){var e,n,i,r,a,o=t.data,s=o.length,c=Math.pow(2,this.value()),l=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,h=c*l*Math.cos(u*Math.PI/180),d=c*l*Math.sin(u*Math.PI/180),f=.299*c+.701*h+.167*d,p=.587*c-.587*h+.33*d,v=.114*c-.114*h-.497*d,m=.299*c-.299*h-.328*d,g=.587*c+.413*h+.035*d,y=.114*c-.114*h+.293*d,b=.299*c-.3*h+1.25*d,_=.587*c-.586*h-1.05*d,w=.114*c+.886*h-.2*d;for(e=0;e<s;e+=4)n=o[e+0],i=o[e+1],r=o[e+2],a=o[e+3],o[e+0]=f*n+p*i+v*r,o[e+1]=m*n+g*i+y*r,o[e+2]=b*n+_*i+w*r,o[e+3]=a};F.addGetterSetter(Dt,"hue",0,O(),F.afterSetFilter),F.addGetterSetter(Dt,"saturation",0,O(),F.afterSetFilter),F.addGetterSetter(Dt,"value",0,O(),F.afterSetFilter);const $i=function(t){var e,n=t.data,i=n.length;for(e=0;e<i;e+=4)n[e]=255-n[e],n[e+1]=255-n[e+1],n[e+2]=255-n[e+2]};var Li=function(t,e,n){var i,r,a,o,s=t.data,c=e.data,l=t.width,u=t.height,h=n.polarCenterX||l/2,d=n.polarCenterY||u/2,f=0,p=0,v=0,m=0,g=Math.sqrt(h*h+d*d);r=l-h,a=u-d,o=Math.sqrt(r*r+a*a),g=o>g?o:g;var y,b,_,w,k=u,x=l,S=360/x*Math.PI/180;for(b=0;b<x;b+=1)for(_=Math.sin(b*S),w=Math.cos(b*S),y=0;y<k;y+=1)r=Math.floor(h+g*y/k*w),a=Math.floor(d+g*y/k*_),i=4*(a*l+r),f=s[i+0],p=s[i+1],v=s[i+2],m=s[i+3],i=4*(b+y*l),c[i+0]=f,c[i+1]=p,c[i+2]=v,c[i+3]=m},Fi=function(t,e,n){var i,r,a,o,s,c,l=t.data,u=e.data,h=t.width,d=t.height,f=n.polarCenterX||h/2,p=n.polarCenterY||d/2,v=0,m=0,g=0,y=0,b=Math.sqrt(f*f+p*p);r=h-f,a=d-p,c=Math.sqrt(r*r+a*a),b=c>b?c:b;var _,w,k,x,S=d,C=h,D=n.polarRotation||0;for(r=0;r<h;r+=1)for(a=0;a<d;a+=1)o=r-f,s=a-p,_=Math.sqrt(o*o+s*s)*S/b,w=(180*Math.atan2(s,o)/Math.PI+360+D)%360,w=w*C/360,k=Math.floor(w),x=Math.floor(_),i=4*(x*h+k),v=l[i+0],m=l[i+1],g=l[i+2],y=l[i+3],i=4*(a*h+r),u[i+0]=v,u[i+1]=m,u[i+2]=g,u[i+3]=y};const Bi=function(t){var e,n,i,r,a,o,s,c,l,u,h=t.width,d=t.height,f=Math.round(this.kaleidoscopePower()),p=Math.round(this.kaleidoscopeAngle()),v=Math.floor(h*(p%360)/360);if(!(f<1)){var m=C.createCanvasElement();m.width=h,m.height=d;var g=m.getContext("2d").getImageData(0,0,h,d);Li(t,g,{polarCenterX:h/2,polarCenterY:d/2});var y=h/Math.pow(2,f);while(y<=8)y*=2,f-=1;y=Math.ceil(y);var b=y,_=0,w=b,k=1;for(v+y>h&&(_=b,w=0,k=-1),n=0;n<d;n+=1)for(e=_;e!==w;e+=k)i=Math.round(e+v)%h,l=4*(h*n+i),a=g.data[l+0],o=g.data[l+1],s=g.data[l+2],c=g.data[l+3],u=4*(h*n+e),g.data[u+0]=a,g.data[u+1]=o,g.data[u+2]=s,g.data[u+3]=c;for(n=0;n<d;n+=1)for(b=Math.floor(y),r=0;r<f;r+=1){for(e=0;e<b+1;e+=1)l=4*(h*n+e),a=g.data[l+0],o=g.data[l+1],s=g.data[l+2],c=g.data[l+3],u=4*(h*n+2*b-e-1),g.data[u+0]=a,g.data[u+1]=o,g.data[u+2]=s,g.data[u+3]=c;b*=2}Fi(g,t,{polarRotation:0})}};function ji(t,e,n){var i=4*(n*t.width+e),r=[];return r.push(t.data[i++],t.data[i++],t.data[i++],t.data[i++]),r}function zi(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2))}function Hi(t){for(var e=[0,0,0],n=0;n<t.length;n++)e[0]+=t[n][0],e[1]+=t[n][1],e[2]+=t[n][2];return e[0]/=t.length,e[1]/=t.length,e[2]/=t.length,e}function Vi(t,e){var n=ji(t,0,0),i=ji(t,t.width-1,0),r=ji(t,0,t.height-1),a=ji(t,t.width-1,t.height-1),o=e||10;if(zi(n,i)<o&&zi(i,a)<o&&zi(a,r)<o&&zi(r,n)<o){for(var s=Hi([i,n,a,r]),c=[],l=0;l<t.width*t.height;l++){var u=zi(s,[t.data[4*l],t.data[4*l+1],t.data[4*l+2]]);c[l]=u<o?0:255}return c}}function Gi(t,e){for(var n=0;n<t.width*t.height;n++)t.data[4*n+3]=e[n]}function Wi(t,e,n){for(var i=[1,1,1,1,0,1,1,1,1],r=Math.round(Math.sqrt(i.length)),a=Math.floor(r/2),o=[],s=0;s<n;s++)for(var c=0;c<e;c++){for(var l=s*e+c,u=0,h=0;h<r;h++)for(var d=0;d<r;d++){var f=s+h-a,p=c+d-a;if(f>=0&&f<n&&p>=0&&p<e){var v=f*e+p,m=i[h*r+d];u+=t[v]*m}}o[l]=2040===u?255:0}return o}function Ui(t,e,n){for(var i=[1,1,1,1,1,1,1,1,1],r=Math.round(Math.sqrt(i.length)),a=Math.floor(r/2),o=[],s=0;s<n;s++)for(var c=0;c<e;c++){for(var l=s*e+c,u=0,h=0;h<r;h++)for(var d=0;d<r;d++){var f=s+h-a,p=c+d-a;if(f>=0&&f<n&&p>=0&&p<e){var v=f*e+p,m=i[h*r+d];u+=t[v]*m}}o[l]=u>=1020?255:0}return o}function Yi(t,e,n){for(var i=[1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9],r=Math.round(Math.sqrt(i.length)),a=Math.floor(r/2),o=[],s=0;s<n;s++)for(var c=0;c<e;c++){for(var l=s*e+c,u=0,h=0;h<r;h++)for(var d=0;d<r;d++){var f=s+h-a,p=c+d-a;if(f>=0&&f<n&&p>=0&&p<e){var v=f*e+p,m=i[h*r+d];u+=t[v]*m}}o[l]=u}return o}F.addGetterSetter(Dt,"kaleidoscopePower",2,O(),F.afterSetFilter),F.addGetterSetter(Dt,"kaleidoscopeAngle",0,O(),F.afterSetFilter);const qi=function(t){var e=this.threshold(),n=Vi(t,e);return n&&(n=Wi(n,t.width,t.height),n=Ui(n,t.width,t.height),n=Yi(n,t.width,t.height),Gi(t,n)),t};F.addGetterSetter(Dt,"threshold",0,O(),F.afterSetFilter);const Xi=function(t){var e,n=255*this.noise(),i=t.data,r=i.length,a=n/2;for(e=0;e<r;e+=4)i[e+0]+=a-2*a*Math.random(),i[e+1]+=a-2*a*Math.random(),i[e+2]+=a-2*a*Math.random()};F.addGetterSetter(Dt,"noise",.2,O(),F.afterSetFilter);const Ki=function(t){var e,n,i,r,a,o,s,c,l,u,h,d,f,p,v=Math.ceil(this.pixelSize()),m=t.width,g=t.height,y=Math.ceil(m/v),b=Math.ceil(g/v),_=t.data;if(v<=0)C.error("pixelSize value can not be <= 0");else for(d=0;d<y;d+=1)for(f=0;f<b;f+=1){for(r=0,a=0,o=0,s=0,c=d*v,l=c+v,u=f*v,h=u+v,p=0,e=c;e<l;e+=1)if(!(e>=m))for(n=u;n<h;n+=1)n>=g||(i=4*(m*n+e),r+=_[i+0],a+=_[i+1],o+=_[i+2],s+=_[i+3],p+=1);for(r/=p,a/=p,o/=p,s/=p,e=c;e<l;e+=1)if(!(e>=m))for(n=u;n<h;n+=1)n>=g||(i=4*(m*n+e),_[i+0]=r,_[i+1]=a,_[i+2]=o,_[i+3]=s)}};F.addGetterSetter(Dt,"pixelSize",8,O(),F.afterSetFilter);const Ji=function(t){var e,n=Math.round(254*this.levels())+1,i=t.data,r=i.length,a=255/n;for(e=0;e<r;e+=1)i[e]=Math.floor(i[e]/a)*a};F.addGetterSetter(Dt,"levels",.5,O(),F.afterSetFilter);const Zi=function(t){var e,n,i=t.data,r=i.length,a=this.red(),o=this.green(),s=this.blue();for(e=0;e<r;e+=4)n=(.34*i[e]+.5*i[e+1]+.16*i[e+2])/255,i[e]=n*a,i[e+1]=n*o,i[e+2]=n*s,i[e+3]=i[e+3]};F.addGetterSetter(Dt,"red",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),F.addGetterSetter(Dt,"green",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),F.addGetterSetter(Dt,"blue",0,T,F.afterSetFilter);const Qi=function(t){var e,n,i=t.data,r=i.length,a=this.red(),o=this.green(),s=this.blue(),c=this.alpha();for(e=0;e<r;e+=4)n=1-c,i[e]=a*c+i[e]*n,i[e+1]=o*c+i[e+1]*n,i[e+2]=s*c+i[e+2]*n};F.addGetterSetter(Dt,"red",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),F.addGetterSetter(Dt,"green",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),F.addGetterSetter(Dt,"blue",0,T,F.afterSetFilter),F.addGetterSetter(Dt,"alpha",1,(function(t){return this._filterUpToDate=!1,t>1?1:t<0?0:t}));const tr=function(t){var e,n,i,r,a=t.data,o=a.length;for(e=0;e<o;e+=4)n=a[e+0],i=a[e+1],r=a[e+2],a[e+0]=Math.min(255,.393*n+.769*i+.189*r),a[e+1]=Math.min(255,.349*n+.686*i+.168*r),a[e+2]=Math.min(255,.272*n+.534*i+.131*r)},er=function(t){var e=t.data,n=t.width,i=t.height,r=4*n,a=i;do{var o=(a-1)*r,s=n;do{var c=o+4*(s-1),l=e[c],u=e[c+1],h=e[c+2];l>127&&(l=255-l),u>127&&(u=255-u),h>127&&(h=255-h),e[c]=l,e[c+1]=u,e[c+2]=h}while(--s)}while(--a)},nr=function(t){var e,n=255*this.threshold(),i=t.data,r=i.length;for(e=0;e<r;e+=1)i[e]=i[e]<n?0:255};F.addGetterSetter(Dt,"threshold",.5,O(),F.afterSetFilter);const ir=Qe.Util._assign(Qe,{Arc:tn,Arrow:on,Circle:sn,Ellipse:cn,Image:ln,Label:yn,Tag:bn,Line:rn,Path:an,Rect:_n,RegularPolygon:wn,Ring:xn,Sprite:Sn,Star:Cn,Text:ei,TextPath:oi,Transformer:_i,Wedge:ki,Filters:{Blur:Ti,Brighten:Oi,Contrast:Ai,Emboss:Ei,Enhance:Mi,Grayscale:Ii,HSL:Ri,HSV:Ni,Invert:$i,Kaleidoscope:Bi,Mask:qi,Noise:Xi,Pixelate:Ki,Posterize:Ji,RGB:Zi,RGBA:Qi,Sepia:tr,Solarize:er,Threshold:nr}}),rr=ir},8593:t=>{"use strict";t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}}]);
|
|
47
|
+
//# sourceMappingURL=chunk-vendors.a48fca3f.js.map
|