UNPKG

v-gantt-chart-vue3

Version:

display gantt-like vaule,like use this to order bus schedule.

1 lines 95.3 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue3-gantt-chart"]=e(require("vue")):t["vue3-gantt-chart"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="887f")}({"0149":function(t,e,r){"use strict";var n=r("9094"),i=r("bd13"),o=r("2865"),c=r("884b"),a=r("29fb"),s=a("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||c[n(t)]}},"02de":function(t,e,r){"use strict";var n=r("7e33").f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},"03d7":function(t,e,r){"use strict";var n=r("8e41"),i=r("bafa"),o=r("d9ed"),c=r("9b5e"),a=r("8228"),s=function(t){if(t&&t.forEach!==c)try{a(t,"forEach",c)}catch(e){t.forEach=c}};for(var u in i)i[u]&&s(n[u]&&n[u].prototype);s(o)},"0ed3":function(t,e,r){"use strict";var n,i,o=r("8e41"),c=r("578d"),a=o.process,s=o.Deno,u=a&&a.versions||s&&s.version,f=u&&u.v8;f&&(n=f.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),t.exports=i},"0eec":function(t,e,r){"use strict";var n=r("55a3"),i=r("7e33"),o=r("bbb8");t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},"0f54":function(t,e,r){"use strict";var n=r("8e41"),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},"0faf":function(t,e,r){"use strict";var n=r("8e41");t.exports=n},"0fe0":function(t,e,r){"use strict";var n=r("3c7c"),i=r("6113"),o=r("27e6"),c=r("6e82"),a=r("12b8");n({target:"Iterator",proto:!0,real:!0},{forEach:function(t){c(this),o(t);var e=a(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})},"0fe4":function(t,e,r){"use strict";var n=r("3c7c"),i=r("d2d0").left,o=r("23ef"),c=r("0ed3"),a=r("a985"),s=!a&&c>79&&c<83,u=s||!o("reduce");n({target:"Array",proto:!0,forced:u},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},"11e6":function(t,e,r){"use strict";var n=r("3c7c");n({target:"Number",stat:!0},{isNaN:function(t){return t!==t}})},1232:function(t,e,r){"use strict";var n,i=r("6e82"),o=r("fbee"),c=r("3fa8"),a=r("284d"),s=r("a477"),u=r("23bd"),f=r("4c81"),l=">",d="<",h="prototype",p="script",b=f("IE_PROTO"),v=function(){},m=function(t){return d+p+l+t+d+"/"+p+l},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),r="java"+p+":";return e.style.display="none",s.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},O=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}O="undefined"!=typeof document?document.domain&&n?g(n):y():g(n);var t=c.length;while(t--)delete O[h][c[t]];return O()};a[b]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[h]=i(t),r=new v,v[h]=null,r[b]=t):r=O(),void 0===e?r:o.f(r,e)}},"12b8":function(t,e,r){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},"12cd":function(t,e,r){"use strict";var n=r("3c7c"),i=r("7ba9"),o=r("b285"),c=r("f1e2"),a=r("a36c"),s=r("279b"),u=r("7f04"),f=r("0eec"),l=r("6d6e"),d=r("e4aa"),h=r("29fb"),p=r("0ed3"),b=h("isConcatSpreadable"),v=p>=51||!i((function(){var t=[];return t[b]=!1,t.concat()[0]!==t})),m=function(t){if(!c(t))return!1;var e=t[b];return void 0!==e?!!e:o(t)},g=!v||!d("concat");n({target:"Array",proto:!0,arity:1,forced:g},{concat:function(t){var e,r,n,i,o,c=a(this),d=l(c,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(o=-1===e?c:arguments[e],m(o))for(i=s(o),u(h+i),r=0;r<i;r++,h++)r in o&&f(d,h,o[r]);else u(h+1),f(d,h++,o);return d.length=h,d}})},1457:function(t,e,r){"use strict";var n=r("7db3"),i=r("f1e2"),o=r("23c1"),c=r("bd13"),a=r("dc63"),s=r("29fb"),u=TypeError,f=s("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,s=c(t,f);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!i(r)||o(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},"16c8":function(t,e,r){"use strict";var n=r("f7ba"),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},"17c8":function(t,e,r){"use strict";var n=r("fd90");t.exports=function(t,e){return n[t]||(n[t]=e||{})}},"19fd":function(t,e,r){"use strict";var n=r("4525"),i=r("626e"),o=r("a36c"),c=r("4c81"),a=r("733b"),s=c("IE_PROTO"),u=Object,f=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=o(t);if(n(e,s))return e[s];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof u?f:null}},"1bdf":function(t,e,r){!function(e,r){t.exports=r()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}))},"1c3b":function(t,e,r){"use strict";var n=r("0ed3"),i=r("7ba9"),o=r("8e41"),c=o.String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!c(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"1d57":function(t,e,r){"use strict";var n=r("3c7c"),i=r("b136"),o=r("55a3"),c=r("8e41"),a=r("0faf"),s=r("f7ba"),u=r("7e7b"),f=r("4525"),l=r("615c"),d=r("7f78"),h=r("23c1"),p=r("1457"),b=r("7ba9"),v=r("d580").f,m=r("27ca").f,g=r("7e33").f,y=r("bbbd"),O=r("2f8a").trim,w="Number",S=c[w],x=a[w],T=S.prototype,j=c.TypeError,k=s("".slice),_=s("".charCodeAt),E=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,c,a,s,u=p(t,"number");if(h(u))throw new j("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=O(u),e=_(u,0),43===e||45===e){if(r=_(u,2),88===r||120===r)return NaN}else if(48===e){switch(_(u,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+u}for(o=k(u,2),c=o.length,a=0;a<c;a++)if(s=_(o,a),s<48||s>i)return NaN;return parseInt(o,n)}return+u},R=u(w,!S(" 0o1")||!S("0b1")||S("+0x1")),B=function(t){return d(T,t)&&b((function(){y(t)}))},N=function(t){var e=arguments.length<1?0:S(E(t));return B(this)?l(Object(e),this,N):e};N.prototype=T,R&&!i&&(T.constructor=N),n({global:!0,constructor:!0,wrap:!0,forced:R},{Number:N});var M=function(t,e){for(var r,n=o?v(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)f(e,r=n[i])&&!f(t,r)&&g(t,r,m(e,r))};i&&x&&M(a[w],x),(R||i)&&M(a[w],S)},"1e91":function(t,e,r){"use strict";var n=r("3982"),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},"1fd9":function(t,e,r){"use strict";var n=r("8901"),i=r("5766");t.exports=function(t){return n(i(t))}},"236b":function(t,e,r){"use strict";var n=r("7db3"),i=r("27e6"),o=r("6e82"),c=r("9ed5"),a=r("0149"),s=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(i(r))return o(n(r,t));throw new s(c(t)+" is not iterable")}},"23bd":function(t,e,r){"use strict";var n=r("8e41"),i=r("f1e2"),o=n.document,c=i(o)&&i(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"23c1":function(t,e,r){"use strict";var n=r("2c2f"),i=r("626e"),o=r("7f78"),c=r("ae22"),a=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,a(t))}},"23ef":function(t,e,r){"use strict";var n=r("7ba9");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},"24d6":function(t,e,r){"use strict";var n=r("df92"),i=Function.prototype,o=i.apply,c=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(o):function(){return c.apply(o,arguments)})},2652:function(t,e,r){"use strict";var n=r("16c8"),i=r("f7ba");t.exports=function(t){if("Function"===n(t))return i(t)}},"279b":function(t,e,r){"use strict";var n=r("55d5");t.exports=function(t){return n(t.length)}},"27ca":function(t,e,r){"use strict";var n=r("55a3"),i=r("7db3"),o=r("a4cc"),c=r("bbb8"),a=r("1fd9"),s=r("8fe3"),u=r("4525"),f=r("89e5"),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=s(e),f)try{return l(t,e)}catch(r){}if(u(t,e))return c(!i(o.f,t,e),t[e])}},"27e6":function(t,e,r){"use strict";var n=r("626e"),i=r("9ed5"),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},"284d":function(t,e,r){"use strict";t.exports={}},2865:function(t,e,r){"use strict";t.exports=function(t){return null===t||void 0===t}},"28e3":function(t,e,r){"use strict";var n=r("3c7c"),i=r("55a3"),o=r("8e41"),c=r("f7ba"),a=r("4525"),s=r("626e"),u=r("7f78"),f=r("7b8b"),l=r("42df"),d=r("eabf"),h=o.Symbol,p=h&&h.prototype;if(i&&s(h)&&(!("description"in p)||void 0!==h().description)){var b={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=u(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(b[e]=!0),e};d(v,h),v.prototype=p,p.constructor=v;var m="Symbol(description detection)"===String(h("description detection")),g=c(p.valueOf),y=c(p.toString),O=/^Symbol\((.*)\)[^)]+$/,w=c("".replace),S=c("".slice);l(p,"description",{configurable:!0,get:function(){var t=g(this);if(a(b,t))return"";var e=y(t),r=m?S(e,7,-1):w(e,O,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},"29fb":function(t,e,r){"use strict";var n=r("8e41"),i=r("17c8"),o=r("4525"),c=r("9816"),a=r("1c3b"),s=r("ae22"),u=n.Symbol,f=i("wks"),l=s?u["for"]||u:u&&u.withoutSetter||c;t.exports=function(t){return o(f,t)||(f[t]=a&&o(u,t)?u[t]:l("Symbol."+t)),f[t]}},"2c2f":function(t,e,r){"use strict";var n=r("8e41"),i=r("626e"),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},"2f8a":function(t,e,r){"use strict";var n=r("f7ba"),i=r("5766"),o=r("7b8b"),c=r("3aa0"),a=n("".replace),s=RegExp("^["+c+"]+"),u=RegExp("(^|[^"+c+"])["+c+"]+$"),f=function(t){return function(e){var r=o(i(e));return 1&t&&(r=a(r,s,"")),2&t&&(r=a(r,u,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},"339c":function(t,e,r){"use strict";var n=r("3c7c"),i=r("6113"),o=r("27e6"),c=r("6e82"),a=r("12b8"),s=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(t){c(this),o(t);var e=a(this),r=arguments.length<2,n=r?void 0:arguments[1],u=0;if(i(e,(function(e){r?(r=!1,n=e):n=t(n,e,u),u++}),{IS_RECORD:!0}),r)throw new s("Reduce of empty iterator with no initial value");return n}})},"35d5":function(t,e,r){"use strict";e.f=Object.getOwnPropertySymbols},3982:function(t,e,r){"use strict";var n=r("f1e2");t.exports=function(t){return n(t)||null===t}},"3a00":function(t,e,r){"use strict";var n=r("8e41"),i=r("578d"),o=r("16c8"),c=function(t){return i.slice(0,t.length)===t};t.exports=function(){return c("Bun/")?"BUN":c("Cloudflare-Workers")?"CLOUDFLARE":c("Deno/")?"DENO":c("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"}()},"3a6d":function(t,e,r){"use strict";var n=r("1fd9"),i=r("dee0"),o=r("279b"),c=function(t){return function(e,r,c){var a=n(e),s=o(a);if(0===s)return!t&&-1;var u,f=i(c,s);if(t&&r!==r){while(s>f)if(u=a[f++],u!==u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"3aa0":function(t,e,r){"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"3c7c":function(t,e,r){"use strict";var n=r("8e41"),i=r("27ca").f,o=r("8228"),c=r("b6f6"),a=r("0f54"),s=r("eabf"),u=r("7e7b");t.exports=function(t,e){var r,f,l,d,h,p,b=t.target,v=t.global,m=t.stat;if(f=v?n:m?n[b]||a(b,{}):n[b]&&n[b].prototype,f)for(l in e){if(h=e[l],t.dontCallGetSet?(p=i(f,l),d=p&&p.value):d=f[l],r=u(v?l:b+(m?".":"#")+l,t.forced),!r&&void 0!==d){if(typeof h==typeof d)continue;s(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),c(f,l,h,t)}}},"3db9":function(t,e,r){"use strict";var n=r("3c7c"),i=r("b285"),o=r("578f"),c=r("f1e2"),a=r("dee0"),s=r("279b"),u=r("1fd9"),f=r("0eec"),l=r("29fb"),d=r("e4aa"),h=r("c8e8"),p=d("slice"),b=l("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,l,d=u(this),p=s(d),g=a(t,p),y=a(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,o(r)&&(r===v||i(r.prototype))?r=void 0:c(r)&&(r=r[b],null===r&&(r=void 0)),r===v||void 0===r))return h(d,g,y);for(n=new(void 0===r?v:r)(m(y-g,0)),l=0;g<y;g++,l++)g in d&&f(n,l,d[g]);return n.length=l,n}})},"3de6":function(t,e,r){"use strict";var n=r("7db3"),i=r("4525"),o=r("7f78"),c=r("eb55"),a=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in a||i(t,"flags")||!o(a,t)?e:n(c,t)}},"3fa8":function(t,e,r){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4105:function(t,e,r){"use strict";(function(t){var r=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];t.call(e,i[1],i[0])}},e}()}(),n="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof t&&t.Math===Math?t:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)}}(),c=2;function a(t,e){var r=!1,n=!1,i=0;function a(){r&&(r=!1,t()),n&&u()}function s(){o(a)}function u(){var t=Date.now();if(r){if(t-i<c)return;n=!0}else r=!0,n=!1,setTimeout(s,e);i=t}return u}var s=20,u=["top","right","bottom","left","width","height","size","weight"],f="undefined"!==typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=a(this.refresh.bind(this),s)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),f?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e,n=u.some((function(t){return!!~r.indexOf(t)}));n&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),d=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||i},p=T(0,0,0,0);function b(t){return parseFloat(t)||0}function v(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){var n=t["border-"+r+"-width"];return e+b(n)}),0)}function m(t){for(var e=["top","right","bottom","left"],r={},n=0,i=e;n<i.length;n++){var o=i[n],c=t["padding-"+o];r[o]=b(c)}return r}function g(t){var e=t.getBBox();return T(0,0,e.width,e.height)}function y(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return p;var n=h(t).getComputedStyle(t),i=m(n),o=i.left+i.right,c=i.top+i.bottom,a=b(n.width),s=b(n.height);if("border-box"===n.boxSizing&&(Math.round(a+o)!==e&&(a-=v(n,"left","right")+o),Math.round(s+c)!==r&&(s-=v(n,"top","bottom")+c)),!w(t)){var u=Math.round(a+o)-e,f=Math.round(s+c)-r;1!==Math.abs(u)&&(a-=u),1!==Math.abs(f)&&(s-=f)}return T(i.left,i.top,a,s)}var O=function(){return"undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"===typeof t.getBBox}}();function w(t){return t===h(t).document.documentElement}function S(t){return n?O(t)?g(t):y(t):p}function x(t){var e=t.x,r=t.y,n=t.width,i=t.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(o.prototype);return d(c,{x:e,y:r,width:n,height:i,top:r,right:e+n,bottom:i+r,left:e}),c}function T(t,e,r,n){return{x:t,y:e,width:r,height:n}}var j=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=T(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=S(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),k=function(){function t(t,e){var r=x(e);d(this,{target:t,contentRect:r})}return t}(),_=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new j(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new k(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!==typeof WeakMap?new WeakMap:new r,A=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=l.getInstance(),n=new _(e,r,this);E.set(this,n)}return t}();["observe","unobserve","disconnect"].forEach((function(t){A.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));var R=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:A}();e["a"]=R}).call(this,r("de2f"))},4262:function(t,e,r){"use strict";var n=r("29fb");e.f=n},"42df":function(t,e,r){"use strict";var n=r("c391"),i=r("7e33");t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},4525:function(t,e,r){"use strict";var n=r("f7ba"),i=r("a36c"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"4a08":function(t,e,r){"use strict";var n=r("a167"),i=r("9094");t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},"4c81":function(t,e,r){"use strict";var n=r("17c8"),i=r("9816"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},"4d98":function(t,e,r){"use strict";var n=r("0faf"),i=r("4525"),o=r("4262"),c=r("7e33").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||c(e,t,{value:o.f(t)})}},"4f15":function(t,e,r){"use strict";var n=r("2c2f"),i=r("4525"),o=r("8228"),c=r("7f78"),a=r("6928"),s=r("eabf"),u=r("02de"),f=r("615c"),l=r("d655"),d=r("5a7a"),h=r("f0cd"),p=r("55a3"),b=r("b136");t.exports=function(t,e,r,v){var m="stackTraceLimit",g=v?2:1,y=t.split("."),O=y[y.length-1],w=n.apply(null,y);if(w){var S=w.prototype;if(!b&&i(S,"cause")&&delete S.cause,!r)return w;var x=n("Error"),T=e((function(t,e){var r=l(v?e:t,void 0),n=v?new w(t):new w;return void 0!==r&&o(n,"message",r),h(n,T,n.stack,2),this&&c(S,this)&&f(n,this,T),arguments.length>g&&d(n,arguments[g]),n}));if(T.prototype=S,"Error"!==O?a?a(T,x):s(T,x,{name:!0}):p&&m in w&&(u(T,w,m),u(T,w,"prepareStackTrace")),s(T,w),!b)try{S.name!==O&&o(S,"name",O),S.constructor=T}catch(j){}return T}}},"4fcc":function(t,e,r){"use strict";var n=r("29fb"),i=r("1232"),o=r("7e33").f,c=n("unscopables"),a=Array.prototype;void 0===a[c]&&o(a,c,{configurable:!0,value:i(null)}),t.exports=function(t){a[c][t]=!0}},"51e0":function(t,e,r){"use strict";var n=r("3c7c"),i=r("8e41"),o=r("5ff8"),c=r("6e82"),a=r("626e"),s=r("19fd"),u=r("42df"),f=r("0eec"),l=r("7ba9"),d=r("4525"),h=r("29fb"),p=r("b9df").IteratorPrototype,b=r("55a3"),v=r("b136"),m="constructor",g="Iterator",y=h("toStringTag"),O=TypeError,w=i[g],S=v||!a(w)||w.prototype!==p||!l((function(){w({})})),x=function(){if(o(this,p),s(this)===p)throw new O("Abstract class Iterator not directly constructable")},T=function(t,e){b?u(p,t,{configurable:!0,get:function(){return e},set:function(e){if(c(this),this===p)throw new O("You can't redefine this property");d(this,t)?this[t]=e:f(this,t,e)}}):p[t]=e};d(p,y)||T(y,g),!S&&d(p,m)&&p[m]!==Object||T(m,x),x.prototype=p,n({global:!0,constructor:!0,forced:S},{Iterator:x})},5530:function(t,e,r){"use strict";var n=r("7e33").f,i=r("4525"),o=r("29fb"),c=o("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,c)&&n(t,c,{configurable:!0,value:e})}},5562:function(t,e,r){"use strict";var n=r("3c7c"),i=r("6113"),o=r("27e6"),c=r("6e82"),a=r("12b8");n({target:"Iterator",proto:!0,real:!0},{find:function(t){c(this),o(t);var e=a(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},"55a3":function(t,e,r){"use strict";var n=r("7ba9");t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"55d5":function(t,e,r){"use strict";var n=r("5ce9"),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},5766:function(t,e,r){"use strict";var n=r("2865"),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},"578d":function(t,e,r){"use strict";var n=r("8e41"),i=n.navigator,o=i&&i.userAgent;t.exports=o?String(o):""},"578f":function(t,e,r){"use strict";var n=r("f7ba"),i=r("7ba9"),o=r("626e"),c=r("9094"),a=r("2c2f"),s=r("d757"),u=function(){},f=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=n(l.exec),h=!l.test(u),p=function(t){if(!o(t))return!1;try{return f(u,[],t),!0}catch(e){return!1}},b=function(t){if(!o(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(l,s(t))}catch(e){return!0}};b.sham=!0,t.exports=!f||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?b:p},"599a":function(t,e,r){"use strict";var n=r("3c7c"),i=r("8e41"),o=r("7db3"),c=r("f7ba"),a=r("b136"),s=r("55a3"),u=r("1c3b"),f=r("7ba9"),l=r("4525"),d=r("7f78"),h=r("6e82"),p=r("1fd9"),b=r("8fe3"),v=r("7b8b"),m=r("bbb8"),g=r("1232"),y=r("dc2d"),O=r("d580"),w=r("dd73"),S=r("35d5"),x=r("27ca"),T=r("7e33"),j=r("fbee"),k=r("a4cc"),_=r("b6f6"),E=r("42df"),A=r("17c8"),R=r("4c81"),B=r("284d"),N=r("9816"),M=r("29fb"),D=r("4262"),P=r("4d98"),$=r("9047"),W=r("5530"),L=r("6203"),H=r("8f32").forEach,C=R("hidden"),I="Symbol",F="prototype",z=L.set,V=L.getterFor(I),Y=Object[F],G=i.Symbol,U=G&&G[F],K=i.RangeError,X=i.TypeError,q=i.QObject,J=x.f,Z=T.f,Q=w.f,tt=k.f,et=c([].push),rt=A("symbols"),nt=A("op-symbols"),it=A("wks"),ot=!q||!q[F]||!q[F].findChild,ct=function(t,e,r){var n=J(Y,e);n&&delete Y[e],Z(t,e,r),n&&t!==Y&&Z(Y,e,n)},at=s&&f((function(){return 7!==g(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ct:Z,st=function(t,e){var r=rt[t]=g(U);return z(r,{type:I,tag:t,description:e}),s||(r.description=e),r},ut=function(t,e,r){t===Y&&ut(nt,e,r),h(t);var n=b(e);return h(r),l(rt,n)?(r.enumerable?(l(t,C)&&t[C][n]&&(t[C][n]=!1),r=g(r,{enumerable:m(0,!1)})):(l(t,C)||Z(t,C,m(1,g(null))),t[C][n]=!0),at(t,n,r)):Z(t,n,r)},ft=function(t,e){h(t);var r=p(e),n=y(r).concat(bt(r));return H(n,(function(e){s&&!o(dt,r,e)||ut(t,e,r[e])})),t},lt=function(t,e){return void 0===e?g(t):ft(g(t),e)},dt=function(t){var e=b(t),r=o(tt,this,e);return!(this===Y&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,C)&&this[C][e])||r)},ht=function(t,e){var r=p(t),n=b(e);if(r!==Y||!l(rt,n)||l(nt,n)){var i=J(r,n);return!i||!l(rt,n)||l(r,C)&&r[C][n]||(i.enumerable=!0),i}},pt=function(t){var e=Q(p(t)),r=[];return H(e,(function(t){l(rt,t)||l(B,t)||et(r,t)})),r},bt=function(t){var e=t===Y,r=Q(e?nt:p(t)),n=[];return H(r,(function(t){!l(rt,t)||e&&!l(Y,t)||et(n,rt[t])})),n};u||(G=function(){if(d(U,this))throw new X("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=N(t),r=function(t){var n=void 0===this?i:this;n===Y&&o(r,nt,t),l(n,C)&&l(n[C],e)&&(n[C][e]=!1);var c=m(1,t);try{at(n,e,c)}catch(a){if(!(a instanceof K))throw a;ct(n,e,c)}};return s&&ot&&at(Y,e,{configurable:!0,set:r}),st(e,t)},U=G[F],_(U,"toString",(function(){return V(this).tag})),_(G,"withoutSetter",(function(t){return st(N(t),t)})),k.f=dt,T.f=ut,j.f=ft,x.f=ht,O.f=w.f=pt,S.f=bt,D.f=function(t){return st(M(t),t)},s&&(E(U,"description",{configurable:!0,get:function(){return V(this).description}}),a||_(Y,"propertyIsEnumerable",dt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),H(y(it),(function(t){P(t)})),n({target:I,stat:!0,forced:!u},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:lt,defineProperty:ut,defineProperties:ft,getOwnPropertyDescriptor:ht}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt}),$(),W(G,I),B[C]=!0},"5a7a":function(t,e,r){"use strict";var n=r("f1e2"),i=r("8228");t.exports=function(t,e){n(e)&&"cause"in e&&i(t,"cause",e.cause)}},"5c02":function(t,e,r){"use strict";r("982f")},"5ce9":function(t,e,r){"use strict";var n=r("ecd4");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"5ff8":function(t,e,r){"use strict";var n=r("7f78"),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},6113:function(t,e,r){"use strict";var n=r("7219"),i=r("7db3"),o=r("6e82"),c=r("9ed5"),a=r("764e"),s=r("279b"),u=r("7f78"),f=r("236b"),l=r("0149"),d=r("6506"),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},b=p.prototype;t.exports=function(t,e,r){var v,m,g,y,O,w,S,x=r&&r.that,T=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),E=n(e,x),A=function(t){return v&&d(v,"normal",t),new p(!0,t)},R=function(t){return T?(o(t),_?E(t[0],t[1],A):E(t[0],t[1])):_?E(t,A):E(t)};if(j)v=t.iterator;else if(k)v=t;else{if(m=l(t),!m)throw new h(c(t)+" is not iterable");if(a(m)){for(g=0,y=s(t);y>g;g++)if(O=R(t[g]),O&&u(b,O))return O;return new p(!1)}v=f(t,m)}w=j?t.next:v.next;while(!(S=i(w,v)).done){try{O=R(S.value)}catch(B){d(v,"throw",B)}if("object"==typeof O&&O&&u(b,O))return O}return new p(!1)}},"615c":function(t,e,r){"use strict";var n=r("626e"),i=r("f1e2"),o=r("6928");t.exports=function(t,e,r){var c,a;return o&&n(c=e.constructor)&&c!==r&&i(a=c.prototype)&&a!==r.prototype&&o(t,a),t}},6203:function(t,e,r){"use strict";var n,i,o,c=r("d280"),a=r("8e41"),s=r("f1e2"),u=r("8228"),f=r("4525"),l=r("fd90"),d=r("4c81"),h=r("284d"),p="Object already initialized",b=a.TypeError,v=a.WeakMap,m=function(t){return o(t)?i(t):n(t,{})},g=function(t){return function(e){var r;if(!s(e)||(r=i(e)).type!==t)throw new b("Incompatible receiver, "+t+" required");return r}};if(c||l.state){var y=l.state||(l.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new b(p);return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var O=d("state");h[O]=!0,n=function(t,e){if(f(t,O))throw new b(p);return e.facade=t,u(t,O,e),e},i=function(t){return f(t,O)?t[O]:{}},o=function(t){return f(t,O)}}t.exports={set:n,get:i,has:o,enforce:m,getterFor:g}},"626e":function(t,e,r){"use strict";var n="object"==typeof document&&document.all;t.exports="undefined"==typeof n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},6506:function(t,e,r){"use strict";var n=r("7db3"),i=r("6e82"),o=r("bd13");t.exports=function(t,e,r){var c,a;i(t);try{if(c=o(t,"return"),!c){if("throw"===e)throw r;return r}c=n(c,t)}catch(s){a=!0,c=s}if("throw"===e)throw r;if(a)throw c;return i(c),r}},"658f":function(t,e,r){"use strict";var n=r("3c7c"),i=r("2c2f"),o=r("24d6"),c=r("7db3"),a=r("f7ba"),s=r("7ba9"),u=r("626e"),f=r("23c1"),l=r("c8e8"),d=r("8342"),h=r("1c3b"),p=String,b=i("JSON","stringify"),v=a(/./.exec),m=a("".charAt),g=a("".charCodeAt),y=a("".replace),O=a(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,T=!h||s((function(){var t=i("Symbol")("stringify detection");return"[null]"!==b([t])||"{}"!==b({a:t})||"{}"!==b(Object(t))})),j=s((function(){return'"\\udf06\\ud834"'!==b("\udf06\ud834")||'"\\udead"'!==b("\udead")})),k=function(t,e){var r=l(arguments),n=d(e);if(u(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(u(n)&&(e=c(n,this,p(t),e)),!f(e))return e},o(b,null,r)},_=function(t,e,r){var n=m(r,e-1),i=m(r,e+1);return v(S,t)&&!v(x,i)||v(x,t)&&!v(S,n)?"\\u"+O(g(t,0),16):t};b&&n({target:"JSON",stat:!0,arity:3,forced:T||j},{stringify:function(t,e,r){var n=l(arguments),i=o(T?k:b,null,n);return j&&"string"==typeof i?y(i,w,_):i}})},6928:function(t,e,r){"use strict";var n=r("d698"),i=r("f1e2"),o=r("5766"),c=r("1e91");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=n(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(a){}return function(r,n){return o(r),c(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},"6a55":function(t,e,r){var n=r("ee2b");e=n(!1),e.push([t.i,".gantt-chart{will-change:transform;position:relative;overflow:hidden;outline:1px solid #f0f0f0}.gantt-chart,.gantt-container{height:100%;width:100%}.gantt-header{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#fff;outline:1px solid #f0f0f0}.gantt-header-title{-webkit-box-flex:0;-ms-flex:none;flex:none;width:100%;background:#747e80;color:#fff;text-align:center}.gantt-header-timeline{overflow:hidden}.gantt-body,.gantt-timeline{position:relative}.gantt-timeline{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex}.gantt-timeline-day{overflow:hidden;font-weight:700;color:#777}.gantt-timeline-scale{display:-webkit-box;display:-ms-flexbox;display:flex}.gantt-timeline-scale>div{height:100%;font-size:.8rem;font-weight:700;color:#777}.gantt-timeline-block:first-child .gantt-timeline-scale div:first-child{visibility:hidden}.gantt-leftbar{width:100%;height:100%;background:#fff;color:#777;font-size:.8rem}.gantt-leftbar-wrapper{-webkit-box-flex:0;-ms-flex:none;flex:none;position:relative;overflow:hidden;background:#fff;outline:1px solid #f0f0f0;z-index:100}.gantt-leftbar-defalutItem{width:100%;height:100%;outline:1px solid #f0f0f0}.gantt-table{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%}.gantt-markline-area{position:absolute;z-index:99}.gantt-markline{position:absolute;z-index:100;width:2px;height:100vh}.gantt-markline-label{padding:3px;float:left;color:#fff;font-size:.7rem}.gantt-blocks{background-image:linear-gradient(#ececec 1px,transparent 0),linear-gradient(90deg,#ececec 1px,transparent 0)}.gantt-blocks-wrapper{overflow:hidden}.gantt-block{position:relative}.gantt-block-container{position:relative;height:100%}.gantt-block-item{position:absolute;height:100%}.gantt-block-defaultBlock{width:100%;height:100%;outline:1px solid #f0f0f0;background:#f0f0f0}.gantt-scroll-y{overflow-y:scroll;position:absolute;z-index:1000;top:0;right:0;height:100%;width:17px}.gantt-scroll-y>div{width:17px}.gantt-scroll-x{overflow-x:scroll;position:absolute;z-index:1000;left:0;bottom:0;width:100%;height:17px}.gantt-scroll-x>div{height:17px}",""]),t.exports=e},"6d6e":function(t,e,r){"use strict";var n=r("d576");t.exports=function(t,e){return new(n(t))(0===e?0:e)}},"6e82":function(t,e,r){"use strict";var n=r("f1e2"),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},"6f15":function(t,e,r){"use strict";var n=r("7ba9"),i=r("bbb8");t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},7219:function(t,e,r){"use strict";var n=r("2652"),i=r("27e6"),o=r("df92"),c=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?c(t,e):function(){return t.apply(e,arguments)}}},"733b":function(t,e,r){"use strict";var n=r("7ba9");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"747b":function(t,e,r){"use strict";var n=r("3c7c"),i=r("2c2f"),o=r("4525"),c=r("7b8b"),a=r("17c8"),s=r("a35d"),u=a("string-to-symbol-registry"),f=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=c(t);if(o(u,e))return u[e];var r=i("Symbol")(e);return u[e]=r,f[r]=e,r}})},"764e":function(t,e,r){"use strict";var n=r("29fb"),i=r("884b"),o=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||c[o]===t)}},"780c":function(t,e,r){"use strict";var n=r("3c7c"),i=r("1c3b"),o=r("7ba9"),c=r("35d5"),a=r("a36c"),s=!i||o((function(){c.f(1)}));n({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=c.f;return e?e(a(t)):[]}})},"7b8b":function(t,e,r){"use strict";var n=r("9094"),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},"7ba9":function(t,e,r){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7da5":function(t,e,r){var n,i,o;(function(r,c){i=[],n=c,o="function"===typeof n?n.apply(e,i):n,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var r,n,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(h.stack)||c.exec(h.stack),s=a&&a[1]||!1,u=a&&a[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");s===f&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=r.replace(n,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===s)return l[d];if(s===f&&l[d].innerHTML&&l[d].innerHTML.trim()===i)return l[d]}return null}}return t}))},"7db3":function(t,e,r){"use strict";var n=r("df92"),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},"7e33":function(t,e,r){"use strict";var n=r("55a3"),i=r("89e5"),o=r("e871"),c=r("6e82"),a=r("8fe3"),s=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",h="writable";e.f=n?o?function(t,e,r){if(c(t),e=a(e),c(r),"function"===typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=f(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:l in r?r[l]:n[l],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(c(t),e=a(e),c(r),i)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"7e7b":function(t,e,r){"use strict";var n=r("7ba9"),i=r("626e"),o=/#|\.prototype\./,c=function(t,e){var r=s[a(t)];return r===f||r!==u&&(i(e)?n(e):!!e)},a=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},"7f04":function(t,e,r){"use strict";var n=TypeError,i=9007199254740991;t.exports=function(t){if(t>i)throw n("Maximum allowed index exceeded");return t}},"7f78":function(t,e,r){"use strict";var n=r("f7ba");t.exports=n({}.isPrototypeOf)},8228:function(t,e,r){"use strict";var n=r("55a3"),i=r("7e33"),o=r("bbb8");t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},8342:function(t,e,r){"use strict";var n=r("f7ba"),i=r("b285"),o=r("626e"),c=r("16c8"),a=r("7b8b"),s=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var u=t[n];"string"==typeof u?s(r,u):"number"!=typeof u&&"Number"!==c(u)&&"String"!==c(u)||s(r,a(u))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(i(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},"884b":function(t,e,r){"use strict";t.exports={}},"886f":function(t,e,r){"use strict";var n=r("3c7c"),i=r("f7ba"),o=r("8901"),c=r("1fd9"),a=r("23ef"),s=i([].join),u=o!==Object,f=u||!a("join",",");n({target:"Array",proto:!0,forced:f},{join:function(t){return s(c(this),void 0===t?",":t)}})},"887f":function(t,e,r){"use strict";if(r.r(e),"undefined"!==typeof window){var n=window.document.currentScript,i=r("7da5");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}var c=r("8bbf"),a={ref:"headerTimeline",class:"gantt-header-timeline"},s={class:"gantt-table"};function u(t,e,r,n,i,o){var u=Object(c["resolveComponent"])("Timeline"),f=Object(c["resolveComponent"])("CurrentTime"),l=Object(c["resolveComponent"])("MarkLine"),d=Object(c["resolveComponent"])("LeftBar"),h=Object(c["resolveComponent"])("Blocks");return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{class:"gantt-chart",onWheelPassive:e[4]||(e[4]=function(){return o.wheelHandle&&o.wheelHandle.apply(o,arguments)}),onTouchstartPassive:e[5]||(e[5]=function(){return o.touchStartHandle&&o.touchStartHandle.apply(o,arguments)}),onTouchmovePassive:e[6]||(e[6]=function(){return o.touchMoveHandle&&o.touchMoveHandle.apply(o,arguments)}),onTouchendPassive:e[7]||(e[7]=function(){return o.touchEndHandle&&o.touchEndHandle.apply(o,arguments)})},[Object(c["createElementVNode"])("div",{class:"gantt-container",style:Object(c["normalizeStyle"])({height:"calc(100% - ".concat(o.scrollXBarHeight,"px)"),width:"calc(100% - ".concat(o.scrollYBarWidth,"px)")})},[Object(c["withDirectives"])(Object(c["createElementVNode"])("div",{class:"gantt-header",style:Object(c["normalizeStyle"])({width:"calc(100% + ".concat(o.scrollYBarWidth,"px)")})},[Object(c["createElementVNode"])("div",{class:"gantt-header-title",style:Object(c["normalizeStyle"])({"line-height":r.titleHeight+"px",height:r.titleHeight+"px",width:r.titleWidth+"px"})},[Object(c["renderSlot"])(t.$slots,"title",{},(function(){return[e[8]||(e[8]=Object(c["createTextVNode"])("welcome vue3-gantt-chart"))]}))],4),Object(c["createElementVNode"])("div",a,[Object(c["createElementVNode"])("div",{class:"gantt-timeline-wrapper",style:Object(c["normalizeStyle"])({width:o.totalWidth+o.scrollYBarWidth+"px"})},[Object(c["createVNode"])(u,{start:o.start,end:o.end,cellWidth:r.cellWidth,titleHeight:r.titleHeight,scale:r.scale,startTimeOfRenderArea:i.dayjs(o.startTimeOfRenderArea),endTimeOfRenderArea:i.dayjs(o.endTimeOfRenderArea),getPositonOffset:o.getPositonOffset},{default:Object(c["withCtx"])((function(e){var r=e.day,n=e.getTimeScales;return[Object(c["renderSlot"])(t.$slots,"timeline",{day:r,getTimeScales:n})]})),_:3},8,["start","end","cellWidth","titleHeight","scale","startTimeOfRenderArea","endTimeOfRenderArea","getPositonOffset"])],4)],512)],4),[[c["vShow"],!r.hideHeader]]),Object(c["createElementVNode"])("div",{class:"gantt-body",style:Object(c["normalizeStyle"])({height:"calc(100% - ".concat(o.actualHeaderHeight,"px)")})},[Object(c["createElementVNode"])("div",s,[Object(c["createElementVNode"])("div",{ref:"marklineArea",style:Object(c["normalizeStyle"])({marginLeft:r.titleWidth+"px"}),class:"gantt-markline-area"},[r.showCurrentTime?(Object(c["openBlock"])(),Object(c["createBlock"])(f,{key:0,getPositonOffset:o.getPositonOffset},null,8,["getPositonOffset"])):Object(c["createCommentVNode"])("",!0),(Object(c["openBlock"])(!0),Object(c["createElementBlock"])(c["Fragment"],null,Object(c["renderList"])(r.timeLines,(function(e,r){return Object(c["openBlock"])(),Object(c["createBlock"])(l,{key:r,timeConfig:e,getPositonOffset:o.getPositonOffset},{default:Object(c["withCtx"])((function(e){var r=e.timeConfig,n=e.getPosition;return[Object(c["renderSlot"])(t.$slots,"markLine",{timeConfig:r,getPosition:n})]})),_:2},1032,["timeConfig","getPositonOffset"])})),128))],4),Object(c["createElementVNode"])("div",{ref:"leftbarWrapper",class:"gantt-leftbar-wrapper",style:Object(c["normalizeStyle"])({width:r.titleWidth+"px",height:"calc(100% + ".concat(o.scrollXBarHeight,"px)")})},[Object(c["createVNode"])(d,{datas:r.datas,dataKey:r.dataKey,scrollTop:i.scrollTop,heightOfBlocksWrapper:i.heightOfBlocksWrapper,cellHeight:r.cellHeight,preload:r.preload,style:Object(c["normalizeStyle"])({height:o.totalHeight+o.scrollXBarHeight+"px"})},{default:Object(c["withCtx"])((function(e){var r=e.data;return[Object(c["renderSlot"])(t.$slots,"left",{data:r})]})),_:3},8,["datas","dataKey","scrollTop","heightOfBlocksWrapper","cellHeight","preload","style"])],4),Object(c["createElementVNode"])("div",{ref:"blocksWrapper",class:"gantt-blocks-wrapper",onMousedown:e[0]||(e[0]=function(t){return r.enableGrab?o.mouseDownHandle(t):i.noop}),onMouseup:e[1]||(e[1]=function(t){return r.enableGrab?o.mouseUpHandle(t):i.noop})},[Object(c["createVNode"])(h,{scrollTop:i.scrollTop,scrollLeft:i.scrollLeft,heightOfBlocksWrapper:i.heightOfBlocksWrapper,widthOfBlocksWrapper:i.widthOfBlocksWrapper,arrayKeys:r.arrayKeys,itemKey:r.itemKey,dataKey:r.dataKey,datas:r.datas,cellWidth:r.cellWidth,cellHeight:r.cellHeight,scale:r.scale,getPositonOffset:o.getPositonOffset,getWidthAbout2Times:o.getWidthAbout2Times,customGenerateBlocks:r.customGenerateBlocks,startTimeOfRenderArea:o.startTimeOfRenderArea,endTimeOfRenderArea:o.endTimeOfRenderArea,preload:r.preload,style:Object(c["normalizeStyle"])({width:o.totalWidth+"px"})},Object(c["createSlots"])({_:2},[r.customGenerateBlocks?{name:"default",fn:Object(c["withCtx"])((function(e){var r=e.data,n=e.getPositonOffset,i=e.getWidthAbout2Times,a=e.isInRenderingTimeRange,s=e.isAcrossRenderingTimeRange;return[Object(c["renderSlot"])(t.$slots,"block",{data:r,getPositonOffset:n,getWidthAbout2Times:i,isInRenderingTimeRange:a,isAcrossRenderingTimeRange:s,startTimeOfRenderArea:o.startTimeOfRenderArea,endTimeOfRenderArea:o.endTimeOfRenderArea})]})),key:"1"}:{name:"default",fn:Object(c["withCtx"])((function(e){var r=e.data,n=e.item;return[Object(c["renderSlot"])(t.$slots,"block",{data:r,item:n})]})),key:"0"}]),1032,["scrollTop","scrollLeft","heightOfBlocksWrapper","widthOfBlocksWrapper","arrayKeys","itemKey","dataKey","datas","cellWidth","cellHeight","scale","getPositonOffset","getWidthAbout2Times","customGenerateBlocks","startTimeOfRenderArea","endTimeOfRenderArea","preload","style"])],544)])],4)],4),Object(c["createElementVNode"])("div",{ref:"scrollYBar",class:"gantt-scroll-y",style:Object(c["normalizeStyle"])({width:"".concat(o.scrollYBarWidth,"px"),height:"calc(100% - ".concat(o.actualHeaderHeight,"px"),marginTop:"".concat(o.actualHeaderHeight,"px")}),onScrollPassive:e[2]||(e[2]=function(){return o.syncScrollY&&o.syncScrollY.apply(o,arguments)})},[Object(c["createElementVNode"])("div",{style:Object(c["normalizeStyle"])({height:o.totalHeight+"px"})},null,4)],36),Object(c["createElementVNode"])("div",{ref:"scrollXBar",class:"gantt-scroll-x",style:Object(c["normalizeStyle"])({height:"".concat(o.scrollXBarHeight,"px"),width:"calc(100% - ".concat(r.titleWidth,"px )"),marginLeft:r.titleWidth+"px"}),onScrollPassive:e[3]||(e[3]=function(){return o.syncScrollX&&o.syncScrollX.apply(o,arguments)})},[Object(c["createElementVNode"])("div",{style:Object(c["normalizeStyle"])({width:o.totalWidth+"px"})},null,4)],36)],32)}r("12cd"),r("cde5"),r("51e0"),r("0fe0"),r("1d57"),r("11e6"),r("ec10"),r("a21a"),r("8e08"),r("bbe0"),r("03d7");var f=r("f7f9"),l=r.n(f),d=r("4105"),h=(r("b292"),r("886f"),[1,2,3,4,5,6,10,12,15,20,30,60,120,180,240,360,720,1440]),p=1440;function b(t){return t>=p&&t%p===0}function v(t){if(!h.includes(t)&&!b(t))throw new RangeError("错误的scale值,输入值为".concat(t,",可用的scale值为").concat(h.join(","),",或者为1440的整数倍"));return!0}function m(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;v(r);var n=t.clone(),i=r/60;return r>60?(e=Math.floor(t.hour()/i),n=n.hour(e*i).minute(0).second(0)):(e=Math.floor(t.minute()/r),n=n.minute(e*r).second(0)),n}function g(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60;if(t.isAfter(e))throw new TypeError("错误的参数顺序,函数calcScalesAbout2Times的第一个时间参数必须大于第二个时间参数");v(r);var n=m(t,r),i=0;while(!n.isAfter(e))i++,n=n.add(r,"minute");return i}function y(t){return void 0===t||null===t}function O(t){return void 0!==t&&null!==t}function w(t){console.warn(t)}function S(){}var x=function(){var t={},e={},r=0;return function(n,i){return t[n]!==i?(r++>1e4&&(t={},e={}),t[n]=i,e[n]=k(i)):e[n]}}();function T(t,e,r){var n=r.scale,i=r.cellWidth,o=x("pStart",t),c=k(e);return _(o,c)/n*i}function j(t,e,r){var n=r.scale,i=r.cellWidth,o=x("pStart",t),c=x("pBeginTimeOfTimeLine",e);return _(c,o)/n*i}function k(t){return new Date(t)}function _(t,e){var r=e.getTime()-t.getTime();return r/1e3/60}function E(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=t,i=!0;return function(){var t=arguments,o=this;return i?(n.apply(o,t),i=!1):!e&&void(e=setTimeout((function(){clearTimeout(e),e=null,n.apply(o,t)}),r))}}function A(t,e,r,n,i,o){return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{class:"gantt-timeline",style:Object(c["normalizeStyle"])({"margin-left":-r.cellWidth/2+"px"})},[r.lazy?(Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{key:0,class:"gantt-timeline-padding_block",style:Object(c["normalizeStyle"])({width:o.paddingWidth+"px"})},null,4)):Object(c["createCommentVNode"])("",!0),(Object(c["openBlock"])(!0),Object(c["createElementBlock"])(c["Fragment"],null,Object(c["renderList"])(o.allDayBlocks,(function(e,n){return Object(c["openBlock"])(),Object(c["createElementBlock"])(c["Fragment"],null,[!r.lazy||o.isInRenderingDayRange(e)?(Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{class:"gantt-timeline-block",style:Object(c["normalizeStyle"])({width:o.getTimeScales(e).length*r.cellWidth+"px"}),key:n},[Object(c["renderSlot"])(t.$slots,"default",{day:e,getTimeScales:o.getTimeScales},(function(){return[Object(c["createElementVNode"])("div",{class:"gantt-timeline-day",style:Object(c["normalizeStyle"])(o.heightStyle)},Object(c["toDisplayString"])(e.format("MM/DD")),5),o.isDayScale?Object(c["createCommentVNode"])("",!0):(Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{key:0,class:"gantt-timeline-scale",style:Object(c["normalizeStyle"])(o.heightStyle)},[(Object(c["openBlock"])(!0),Object(c["createElementB