khoj 2.0.0b15.dev29__py3-none-any.whl → 2.0.0b16.dev8__py3-none-any.whl
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.
- khoj/interface/compiled/404/index.html +2 -2
- khoj/interface/compiled/_next/static/chunks/02b2f66c-c89cf69943479389.js +53 -0
- khoj/interface/compiled/_next/static/chunks/1423.7b1e8bf760d28078.js +1 -0
- khoj/interface/compiled/_next/static/chunks/1585.3de407cd92842aed.js +55 -0
- khoj/interface/compiled/_next/static/chunks/1822.0cc2f58edae71bbb.js +56 -0
- khoj/interface/compiled/_next/static/chunks/1915-cf7bfb14d1d7c694.js +1 -0
- khoj/interface/compiled/_next/static/chunks/{2117-e78b6902ad6f75ec.js → 2117-9da935e257b6d677.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/2327-115eb57f8f41544b.js +1 -0
- khoj/interface/compiled/_next/static/chunks/2526.8ac62b527c9ab703.js +43 -0
- khoj/interface/compiled/_next/static/chunks/2626.2125083a1ff3b80a.js +29 -0
- khoj/interface/compiled/_next/static/chunks/2684-981c00094da80a42.js +20 -0
- khoj/interface/compiled/_next/static/chunks/273.c2bdf48df1dfc5ef.js +93 -0
- khoj/interface/compiled/_next/static/chunks/3.87fb50c162c65241.js +59 -0
- khoj/interface/compiled/_next/static/chunks/3192.d7a2786f846fe872.js +148 -0
- khoj/interface/compiled/_next/static/chunks/{3260-82d2521fab032ff1.js → 3260-babf79aa1083e03a.js} +18 -63
- khoj/interface/compiled/_next/static/chunks/3574.7a94c27e6a496a56.js +63 -0
- khoj/interface/compiled/_next/static/chunks/{3595-ac8e81e04ecb89cb.js → 3595-a015df928dccf883.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/3599.53651e350d023038.js +131 -0
- khoj/interface/compiled/_next/static/chunks/3852.822389f445c9b427.js +1 -0
- khoj/interface/compiled/_next/static/chunks/3933.a3b09abdf19b7458.js +1 -0
- khoj/interface/compiled/_next/static/chunks/4323.3b06bc313e4946af.js +215 -0
- khoj/interface/compiled/_next/static/chunks/4447-111dcc7ac33e42ae.js +1 -0
- khoj/interface/compiled/_next/static/chunks/453.f8a05823b9d15c24.js +1 -0
- khoj/interface/compiled/_next/static/chunks/490.91b737ff35d6fbc1.js +1 -0
- khoj/interface/compiled/_next/static/chunks/5097.1129f707069b361f.js +1 -0
- khoj/interface/compiled/_next/static/chunks/5111.c8d55e95447d7609.js +5 -0
- khoj/interface/compiled/_next/static/chunks/5689.a323537972b343b4.js +1 -0
- khoj/interface/compiled/_next/static/chunks/572.3357cc94e3adfcba.js +262 -0
- khoj/interface/compiled/_next/static/chunks/62.53fa01be73dcb16e.js +62 -0
- khoj/interface/compiled/_next/static/chunks/7079-9cdc83e5ad213e0b.js +1 -0
- khoj/interface/compiled/_next/static/chunks/7200-9f1d584275259536.js +1 -0
- khoj/interface/compiled/_next/static/chunks/7626-551c62355b7b1b4a.js +1 -0
- khoj/interface/compiled/_next/static/chunks/7811.c32bdc47a9144a63.js +1 -0
- khoj/interface/compiled/_next/static/chunks/7986.4901bc54aadf59c3.js +1 -0
- khoj/interface/compiled/_next/static/chunks/8288.4883743fa40672e2.js +24 -0
- khoj/interface/compiled/_next/static/chunks/8382.335eadce6afb5d4a.js +1 -0
- khoj/interface/compiled/_next/static/chunks/8501.771e24303bd21479.js +24 -0
- khoj/interface/compiled/_next/static/chunks/8623.525c35f02a86ca25.js +174 -0
- khoj/interface/compiled/_next/static/chunks/8927.ba4a68dd6424b88c.js +166 -0
- khoj/interface/compiled/_next/static/chunks/{8072-e1440cb482a0940e.js → 9002-bd3304de324360eb.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/9316-b53a7fb1be7889f3.js +1 -0
- khoj/interface/compiled/_next/static/chunks/9498.df45618893b18531.js +4 -0
- khoj/interface/compiled/_next/static/chunks/959.aa25ba53e976d0c1.js +36 -0
- khoj/interface/compiled/_next/static/chunks/9808-c95c38946322e899.js +1 -0
- khoj/interface/compiled/_next/static/chunks/a764ac56.e65af2f7b1ecdaaa.js +136 -0
- khoj/interface/compiled/_next/static/chunks/app/agents/{page-494f6b66d27e2961.js → page-aa86693ebe6a688f.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/automations/{layout-8639ff99d6c2fec6.js → layout-554744a3bb43b2f1.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/automations/{page-29728a24e117a30d.js → page-224de8b2f24cd5a8.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/{layout-2ff3e18a6feae92a.js → layout-63ef3be8435d1c99.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/{page-74b52db94466df9a.js → page-60083b8e6276e6ad.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/{layout-c2de87a25fededbb.js → layout-a7ad6fe9355ea57a.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/{page-8095b8df51cbf9cd.js → page-3699a0ef95d4a5ce.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/search/{page-3c4963eb6fc133ae.js → page-6ff3715005bdbb48.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/{layout-f88cedfe9ad4df7c.js → layout-30fa7eff8e7e01d5.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/{page-2f0c2172e594c26c.js → page-464010b2b4389d0d.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-228313703bcf5400.js → page-5b98a0ed1e0835bf.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/{main-fc8e0fefa2ef3d8c.js → main-0daa33fca37d54d4.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/webpack-6912ca6b054cee28.js +1 -0
- khoj/interface/compiled/_next/static/css/{93eeacc43e261162.css → c34713c98384ee87.css} +1 -1
- khoj/interface/compiled/_next/static/css/{7889a30fe9c83846.css → d8ec94d00b6bf837.css} +1 -1
- khoj/interface/compiled/_next/static/css/{65b96d91c8f53494.css → fb7ea16e60b40ecd.css} +1 -1
- khoj/interface/compiled/_next/static/media/140e5638e63f96c7-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/1755441e3a2fa970-s.p.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/4b23ab4cc10b07bc-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/b8c807255d58fc43-s.woff2 +0 -0
- khoj/interface/compiled/agents/index.html +2 -2
- khoj/interface/compiled/agents/index.txt +3 -3
- khoj/interface/compiled/automations/index.html +2 -2
- khoj/interface/compiled/automations/index.txt +4 -4
- khoj/interface/compiled/chat/index.html +2 -2
- khoj/interface/compiled/chat/index.txt +4 -4
- khoj/interface/compiled/index.html +2 -2
- khoj/interface/compiled/index.txt +3 -3
- khoj/interface/compiled/search/index.html +2 -2
- khoj/interface/compiled/search/index.txt +3 -3
- khoj/interface/compiled/settings/index.html +2 -2
- khoj/interface/compiled/settings/index.txt +5 -5
- khoj/interface/compiled/share/chat/index.html +2 -2
- khoj/interface/compiled/share/chat/index.txt +3 -3
- khoj/processor/conversation/openai/gpt.py +3 -5
- khoj/processor/conversation/openai/utils.py +12 -9
- khoj/processor/tools/online_search.py +8 -6
- khoj/routers/research.py +1 -1
- khoj/utils/helpers.py +11 -5
- {khoj-2.0.0b15.dev29.dist-info → khoj-2.0.0b16.dev8.dist-info}/METADATA +4 -4
- {khoj-2.0.0b15.dev29.dist-info → khoj-2.0.0b16.dev8.dist-info}/RECORD +92 -90
- khoj/interface/compiled/_next/static/chunks/1225.ecac11e7421504c4.js +0 -36
- khoj/interface/compiled/_next/static/chunks/1320.ae930ad00affe685.js +0 -5
- khoj/interface/compiled/_next/static/chunks/1327-511bb0a862efce80.js +0 -20
- khoj/interface/compiled/_next/static/chunks/1915-fbfe167c84ad60c5.js +0 -1
- khoj/interface/compiled/_next/static/chunks/1940.d082758bd04e08ae.js +0 -4
- khoj/interface/compiled/_next/static/chunks/2327-438aaec1657c5ada.js +0 -1
- khoj/interface/compiled/_next/static/chunks/2475.57a0d0fd93d07af0.js +0 -93
- khoj/interface/compiled/_next/static/chunks/2481.5ce6524ba0a73f90.js +0 -55
- khoj/interface/compiled/_next/static/chunks/2939-4d4084c5b888b960.js +0 -1
- khoj/interface/compiled/_next/static/chunks/297.4c4c823ff6e3255b.js +0 -174
- khoj/interface/compiled/_next/static/chunks/3973.dc54a39586ab48be.js +0 -1
- khoj/interface/compiled/_next/static/chunks/4241.c1cd170f7f37ac59.js +0 -24
- khoj/interface/compiled/_next/static/chunks/4447-d6cf93724d57e34b.js +0 -1
- khoj/interface/compiled/_next/static/chunks/4505.f09454a346269c3f.js +0 -117
- khoj/interface/compiled/_next/static/chunks/549.2bd27f59a91a9668.js +0 -148
- khoj/interface/compiled/_next/static/chunks/584.d7ce3505f169b706.js +0 -1
- khoj/interface/compiled/_next/static/chunks/6240.34f7c1fa692edd61.js +0 -24
- khoj/interface/compiled/_next/static/chunks/6d3fe5a5-f9f3c16e0bc0cdf9.js +0 -10
- khoj/interface/compiled/_next/static/chunks/7200-93ab0072359b8028.js +0 -1
- khoj/interface/compiled/_next/static/chunks/7553.f5ad54b1f6e92c49.js +0 -131
- khoj/interface/compiled/_next/static/chunks/7626-1b630f1654172341.js +0 -1
- khoj/interface/compiled/_next/static/chunks/764.dadd316e8e16d191.js +0 -63
- khoj/interface/compiled/_next/static/chunks/78.08169ab541abab4f.js +0 -43
- khoj/interface/compiled/_next/static/chunks/784.e03acf460df213d1.js +0 -1
- khoj/interface/compiled/_next/static/chunks/8086.8d39887215807fcd.js +0 -1
- khoj/interface/compiled/_next/static/chunks/8168.f074ab8c7c16d82d.js +0 -59
- khoj/interface/compiled/_next/static/chunks/8223.1705878fa7a09292.js +0 -1
- khoj/interface/compiled/_next/static/chunks/8483.94f6c9e2bee86f50.js +0 -215
- khoj/interface/compiled/_next/static/chunks/8810.fc0e479de78c7c61.js +0 -29
- khoj/interface/compiled/_next/static/chunks/8909.14ac3f43d0070cf1.js +0 -88
- khoj/interface/compiled/_next/static/chunks/9139-ce1ae935dac9c871.js +0 -1
- khoj/interface/compiled/_next/static/chunks/9167.098534184f03fe92.js +0 -56
- khoj/interface/compiled/_next/static/chunks/9537.e934ce37bf314509.js +0 -166
- khoj/interface/compiled/_next/static/chunks/9574.3fe8e26e95bf1c34.js +0 -1
- khoj/interface/compiled/_next/static/chunks/9643.b34248df52ffc77c.js +0 -262
- khoj/interface/compiled/_next/static/chunks/9747.2fd9065b1435abb1.js +0 -1
- khoj/interface/compiled/_next/static/chunks/9808-11bb07020e34cbcc.js +0 -1
- khoj/interface/compiled/_next/static/chunks/9922.98f2b2a9959b4ebe.js +0 -1
- khoj/interface/compiled/_next/static/chunks/webpack-0de8cc1e4a1a2fb6.js +0 -1
- khoj/interface/compiled/_next/static/media/2aa11a72f7f24b58-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/383a65b63658737d-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/85fe2766c5e6072a-s.woff2 +0 -0
- khoj/interface/compiled/_next/static/media/c4250770ab8708b6-s.p.woff2 +0 -0
- /khoj/interface/compiled/_next/static/chunks/{8667-4b7790573b08c50d.js → 8667-50b03a89e82e0ba7.js} +0 -0
- /khoj/interface/compiled/_next/static/{6nW-LT-ZRNrQijzFDceM6 → uYxzoECdaO5T7Rd_Wa44U}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{6nW-LT-ZRNrQijzFDceM6 → uYxzoECdaO5T7Rd_Wa44U}/_ssgManifest.js +0 -0
- {khoj-2.0.0b15.dev29.dist-info → khoj-2.0.0b16.dev8.dist-info}/WHEEL +0 -0
- {khoj-2.0.0b15.dev29.dist-info → khoj-2.0.0b16.dev8.dist-info}/entry_points.txt +0 -0
- {khoj-2.0.0b15.dev29.dist-info → khoj-2.0.0b16.dev8.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,262 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[572],{50148:function(t){var e;e=function(){return function(t,e){var i=e.prototype,r=i.format;i.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return r.bind(this)(t);var n=this.$utils(),s=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return i.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return i.ordinal(e.week(),"W");case"w":case"ww":return n.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return n.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return n.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}});return r.bind(this)(s)}}},t.exports=e()},64043:function(t){var e;e=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,r=/\d\d/,n=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},c=function(t){return function(e){this[t]=+e}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t||"Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var i,r=a.meridiem;if(r){for(var n=1;n<=24;n+=1)if(t.indexOf(r(n,0,e))>-1){i=n>12;break}}else i=t===(e?"pm":"PM");return i},h={A:[s,function(t){this.afternoon=u(t,!1)}],a:[s,function(t){this.afternoon=u(t,!0)}],Q:[i,function(t){this.month=3*(t-1)+1}],S:[i,function(t){this.milliseconds=100*+t}],SS:[r,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[n,c("seconds")],ss:[n,c("seconds")],m:[n,c("minutes")],mm:[n,c("minutes")],H:[n,c("hours")],h:[n,c("hours")],HH:[n,c("hours")],hh:[n,c("hours")],D:[n,c("day")],DD:[r,c("day")],Do:[s,function(t){var e=a.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r)}],w:[n,c("week")],ww:[r,c("week")],M:[n,c("month")],MM:[r,c("month")],MMM:[s,function(t){var e=d("months"),i=(d("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(i<1)throw Error();this.month=i%12||i}],MMMM:[s,function(t){var e=d("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(t){this.year=o(t)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};return function(i,r,n){n.p.customParseFormat=!0,i&&i.parseTwoDigitYear&&(o=i.parseTwoDigitYear);var s=r.prototype,c=s.parse;s.parse=function(i){var r=i.date,s=i.utc,o=i.args;this.$u=s;var l=o[1];if("string"==typeof l){var d=!0===o[2],u=!0===o[3],f=o[2];u&&(f=o[2]),a=this.$locale(),!d&&f&&(a=n.Ls[f]),this.$d=function(i,r,n,s){try{if(["x","X"].indexOf(r)>-1)return new Date(("X"===r?1e3:1)*i);var o=(function(i){var r,n;r=i,n=a&&a.formats;for(var s=(i=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,i,r){var s=r&&r.toUpperCase();return i||n[r]||t[r]||n[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})})).match(e),o=s.length,c=0;c<o;c+=1){var l=s[c],d=h[l],u=d&&d[0],f=d&&d[1];s[c]=f?{regex:u,parser:f}:l.replace(/^\[|\]$/g,"")}return function(t){for(var e={},i=0,r=0;i<o;i+=1){var n=s[i];if("string"==typeof n)r+=n.length;else{var a=n.regex,c=n.parser,l=t.slice(r),d=a.exec(l)[0];c.call(e,d),t=t.replace(d,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var i=t.hours;e?i<12&&(t.hours+=12):12===i&&(t.hours=0),delete t.afternoon}}(e),e}})(r)(i),c=o.year,l=o.month,d=o.day,u=o.hours,f=o.minutes,y=o.seconds,k=o.milliseconds,m=o.zone,p=o.week,g=new Date,b=d||(c||l?1:g.getDate()),v=c||g.getFullYear(),T=0;c&&!l||(T=l>0?l-1:g.getMonth());var x,w=u||0,_=f||0,W=y||0,$=k||0;return m?new Date(Date.UTC(v,T,b,w,_,W,$+60*m.offset*1e3)):n?new Date(Date.UTC(v,T,b,w,_,W,$)):(x=new Date(v,T,b,w,_,W,$),p&&(x=s(x).week(p).toDate()),x)}catch(t){return new Date("")}}(r,l,s,n),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(d||u)&&r!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var y=l.length,k=1;k<=y;k+=1){o[1]=l[k-1];var m=n.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}k===y&&(this.$d=new Date(""))}else c.call(this,i)}}},t.exports=e()},5524:function(t){var e;e=function(){return function(t,e,i){var r=function(t){return t.add(4-t.isoWeekday(),"day")},n=e.prototype;n.isoWeekYear=function(){return r(this).year()},n.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),"day");var e,n,s,a=r(this),o=(e=this.isoWeekYear(),s=4-(n=(this.$u?i.utc:i)().year(e).startOf("year")).isoWeekday(),n.isoWeekday()>4&&(s+=7),n.add(s,"day"));return a.diff(o,"week")+1},n.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=n.startOf;n.startOf=function(t,e){var i=this.$utils(),r=!!i.u(e)||e;return"isoweek"===i.p(t)?r?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}},t.exports=e()},60572:function(t,e,i){"use strict";i.d(e,{diagram:function(){return tA}});var r,n,s,a=i(94705),o=i(55166),c=i(31954),l=i(59543),d=i(71096),u=i(5524),h=i(64043),f=i(50148),y=i(84370),k=function(){var t=(0,c.eW)(function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],r=[1,27],n=[1,28],s=[1,29],a=[1,30],o=[1,31],l=[1,32],d=[1,33],u=[1,34],h=[1,9],f=[1,10],y=[1,11],k=[1,12],m=[1,13],p=[1,14],g=[1,15],b=[1,16],v=[1,19],T=[1,20],x=[1,21],w=[1,22],_=[1,23],W=[1,25],$=[1,35],D={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,c.eW)(function(t,e,i,r,n,s,a){var o=s.length-1;switch(n){case 1:return s[o-1];case 2:case 6:case 7:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 8:r.setWeekday("monday");break;case 9:r.setWeekday("tuesday");break;case 10:r.setWeekday("wednesday");break;case 11:r.setWeekday("thursday");break;case 12:r.setWeekday("friday");break;case 13:r.setWeekday("saturday");break;case 14:r.setWeekday("sunday");break;case 15:r.setWeekend("friday");break;case 16:r.setWeekend("saturday");break;case 17:r.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:r.TopAxis(),this.$=s[o].substr(8);break;case 20:r.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:r.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:r.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:r.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:r.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:r.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:r.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],r.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],r.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],r.setClickEvent(s[o-2],s[o-1],null),r.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],r.setClickEvent(s[o-3],s[o-2],s[o-1]),r.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],r.setClickEvent(s[o-2],s[o],null),r.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],r.setClickEvent(s[o-3],s[o-1],s[o]),r.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],r.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:r,14:n,15:s,16:a,17:o,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:v,31:T,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:i,13:r,14:n,15:s,16:a,17:o,18:l,19:18,20:d,21:u,22:h,23:f,24:y,25:k,26:m,27:p,28:g,29:b,30:v,31:T,33:x,35:w,36:_,37:24,38:W,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:(0,c.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,c.eW)(function(t){var e=this,i=[0],r=[],n=[null],s=[],a=this.table,o="",l=0,d=0,u=0,h=s.slice.call(arguments,1),f=Object.create(this.lexer),y={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(y.yy[k]=this.yy[k]);f.setInput(t,y.yy),y.yy.lexer=f,y.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;s.push(m);var p=f.options&&f.options.ranges;function g(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.eW)(function(t){i.length=i.length-2*t,n.length=n.length-t,s.length=s.length-t},"popStack"),(0,c.eW)(g,"lex");for(var b,v,T,x,w,_,W,$,D,S={};;){if(T=i[i.length-1],this.defaultActions[T]?x=this.defaultActions[T]:(null==b&&(b=g()),x=a[T]&&a[T][b]),void 0===x||!x.length||!x[0]){var C="";for(_ in D=[],a[T])this.terminals_[_]&&_>2&&D.push("'"+this.terminals_[_]+"'");C=f.showPosition?"Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:m,expected:D})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+T+", token: "+b);switch(x[0]){case 1:i.push(b),n.push(f.yytext),s.push(f.yylloc),i.push(x[1]),b=null,v?(b=v,v=null):(d=f.yyleng,o=f.yytext,l=f.yylineno,m=f.yylloc,u>0&&u--);break;case 2:if(W=this.productions_[x[1]][1],S.$=n[n.length-W],S._$={first_line:s[s.length-(W||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(W||1)].first_column,last_column:s[s.length-1].last_column},p&&(S._$.range=[s[s.length-(W||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[o,d,l,y.yy,x[1],n,s].concat(h))))return w;W&&(i=i.slice(0,-1*W*2),n=n.slice(0,-1*W),s=s.slice(0,-1*W)),i.push(this.productions_[x[1]][0]),n.push(S.$),s.push(S._$),$=a[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},S={EOF:1,parseError:(0,c.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,c.eW)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,c.eW)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,c.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,c.eW)(function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),s=0;s<n.length;s++)if((i=this._input.match(this.rules[n[s]]))&&(!e||i[0].length>e[0].length)){if(e=i,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,c.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,c.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,c.eW)(function(t,e,i,r){switch(i){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};function C(){this.yy={}}return D.lexer=S,(0,c.eW)(C,"Parser"),C.prototype=D,D.Parser=C,new C}();k.parser=k,d.extend(u),d.extend(h),d.extend(f);var m={friday:5,saturday:6},p="",g="",b=void 0,v="",T=[],x=[],w=new Map,_=[],W=[],$="",D="",S=["active","done","crit","milestone","vert"],C=[],E=!1,M=!1,Y="sunday",L="saturday",A=0,I=(0,c.eW)(function(){_=[],W=[],$="",C=[],tf=0,r=void 0,n=void 0,tp=[],p="",g="",D="",b=void 0,v="",T=[],x=[],E=!1,M=!1,A=0,w=new Map,(0,o.ZH)(),Y="sunday",L="saturday"},"clear"),F=(0,c.eW)(function(t){g=t},"setAxisFormat"),O=(0,c.eW)(function(){return g},"getAxisFormat"),P=(0,c.eW)(function(t){b=t},"setTickInterval"),B=(0,c.eW)(function(){return b},"getTickInterval"),z=(0,c.eW)(function(t){v=t},"setTodayMarker"),N=(0,c.eW)(function(){return v},"getTodayMarker"),H=(0,c.eW)(function(t){p=t},"setDateFormat"),G=(0,c.eW)(function(){E=!0},"enableInclusiveEndDates"),V=(0,c.eW)(function(){return E},"endDatesAreInclusive"),j=(0,c.eW)(function(){M=!0},"enableTopAxis"),Z=(0,c.eW)(function(){return M},"topAxisEnabled"),R=(0,c.eW)(function(t){D=t},"setDisplayMode"),U=(0,c.eW)(function(){return D},"getDisplayMode"),q=(0,c.eW)(function(){return p},"getDateFormat"),Q=(0,c.eW)(function(t){T=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),X=(0,c.eW)(function(){return T},"getIncludes"),K=(0,c.eW)(function(t){x=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),J=(0,c.eW)(function(){return x},"getExcludes"),tt=(0,c.eW)(function(){return w},"getLinks"),te=(0,c.eW)(function(t){$=t,_.push(t)},"addSection"),ti=(0,c.eW)(function(){return _},"getSections"),tr=(0,c.eW)(function(){let t=tx(),e=0;for(;!t&&e<10;)t=tx(),e++;return W=tp},"getTasks"),tn=(0,c.eW)(function(t,e,i,r){let n=t.format(e.trim()),s=t.format("YYYY-MM-DD");return!(r.includes(n)||r.includes(s))&&(!!(i.includes("weekends")&&(t.isoWeekday()===m[L]||t.isoWeekday()===m[L]+1)||i.includes(t.format("dddd").toLowerCase()))||i.includes(n)||i.includes(s))},"isInvalidDate"),ts=(0,c.eW)(function(t){Y=t},"setWeekday"),ta=(0,c.eW)(function(){return Y},"getWeekday"),to=(0,c.eW)(function(t){L=t},"setWeekend"),tc=(0,c.eW)(function(t,e,i,r){let n;if(!i.length||t.manualEndTime)return;let[s,a]=tl((t.startTime instanceof Date?d(t.startTime):d(t.startTime,e,!0)).add(1,"d"),t.endTime instanceof Date?d(t.endTime):d(t.endTime,e,!0),e,i,r);t.endTime=s.toDate(),t.renderEndTime=a},"checkTaskDates"),tl=(0,c.eW)(function(t,e,i,r,n){let s=!1,a=null;for(;t<=e;)s||(a=e.toDate()),(s=tn(t,i,r,n))&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},"fixTaskDates"),td=(0,c.eW)(function(t,e,i){i=i.trim();let r=/^after\s+(?<ids>[\d\w- ]+)/.exec(i);if(null!==r){let t=null;for(let e of r.groups.ids.split(" ")){let i=tv(e);void 0!==i&&(!t||i.endTime>t.endTime)&&(t=i)}if(t)return t.endTime;let e=new Date;return e.setHours(0,0,0,0),e}let n=d(i,e.trim(),!0);if(n.isValid())return n.toDate();{c.cM.debug("Invalid date:"+i),c.cM.debug("With date format:"+e.trim());let t=new Date(i);if(void 0===t||isNaN(t.getTime())||-1e4>t.getFullYear()||t.getFullYear()>1e4)throw Error("Invalid date:"+i);return t}},"getStartDate"),tu=(0,c.eW)(function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),th=(0,c.eW)(function(t,e,i,r=!1){i=i.trim();let n=/^until\s+(?<ids>[\d\w- ]+)/.exec(i);if(null!==n){let t=null;for(let e of n.groups.ids.split(" ")){let i=tv(e);void 0!==i&&(!t||i.startTime<t.startTime)&&(t=i)}if(t)return t.startTime;let e=new Date;return e.setHours(0,0,0,0),e}let s=d(i,e.trim(),!0);if(s.isValid())return r&&(s=s.add(1,"d")),s.toDate();let a=d(t),[o,c]=tu(i);if(!Number.isNaN(o)){let t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()},"getEndDate"),tf=0,ty=(0,c.eW)(function(t){return void 0===t?"task"+(tf+=1):t},"parseId"),tk=(0,c.eW)(function(t,e){let i=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={};tE(i,r,S);for(let t=0;t<i.length;t++)i[t]=i[t].trim();let n="";switch(i.length){case 1:r.id=ty(),r.startTime=t.endTime,n=i[0];break;case 2:r.id=ty(),r.startTime=td(void 0,p,i[0]),n=i[1];break;case 3:r.id=ty(i[0]),r.startTime=td(void 0,p,i[1]),n=i[2]}return n&&(r.endTime=th(r.startTime,p,n,E),r.manualEndTime=d(n,"YYYY-MM-DD",!0).isValid(),tc(r,p,x,T)),r},"compileData"),tm=(0,c.eW)(function(t,e){let i=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={};tE(i,r,S);for(let t=0;t<i.length;t++)i[t]=i[t].trim();switch(i.length){case 1:r.id=ty(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:i[0]};break;case 2:r.id=ty(),r.startTime={type:"getStartDate",startData:i[0]},r.endTime={data:i[1]};break;case 3:r.id=ty(i[0]),r.startTime={type:"getStartDate",startData:i[1]},r.endTime={data:i[2]}}return r},"parseData"),tp=[],tg={},tb=(0,c.eW)(function(t,e){let i={section:$,type:$,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=tm(n,e);i.raw.startTime=r.startTime,i.raw.endTime=r.endTime,i.id=r.id,i.prevTaskId=n,i.active=r.active,i.done=r.done,i.crit=r.crit,i.milestone=r.milestone,i.vert=r.vert,i.order=A,A++;let s=tp.push(i);n=i.id,tg[i.id]=s-1},"addTask"),tv=(0,c.eW)(function(t){return tp[tg[t]]},"findTaskById"),tT=(0,c.eW)(function(t,e){let i={section:$,type:$,description:t,task:t,classes:[]},n=tk(r,e);i.startTime=n.startTime,i.endTime=n.endTime,i.id=n.id,i.active=n.active,i.done=n.done,i.crit=n.crit,i.milestone=n.milestone,i.vert=n.vert,r=i,W.push(i)},"addTaskOrg"),tx=(0,c.eW)(function(){let t=(0,c.eW)(function(t){let e=tp[t],i="";switch(tp[t].raw.startTime.type){case"prevTaskEnd":{let t=tv(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":(i=td(void 0,p,tp[t].raw.startTime.startData))&&(tp[t].startTime=i)}return tp[t].startTime&&(tp[t].endTime=th(tp[t].startTime,p,tp[t].raw.endTime.data,E),tp[t].endTime&&(tp[t].processed=!0,tp[t].manualEndTime=d(tp[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),tc(tp[t],p,x,T))),tp[t].processed},"compileTask"),e=!0;for(let[i,r]of tp.entries())t(i),e=e&&r.processed;return e},"compileTasks"),tw=(0,c.eW)(function(t,e){let i=e;"loose"!==(0,o.nV)().securityLevel&&(i=(0,l.N)(e)),t.split(",").forEach(function(t){void 0!==tv(t)&&(t$(t,()=>{window.open(i,"_self")}),w.set(t,i))}),t_(t,"clickable")},"setLink"),t_=(0,c.eW)(function(t,e){t.split(",").forEach(function(t){let i=tv(t);void 0!==i&&i.classes.push(e)})},"setClass"),tW=(0,c.eW)(function(t,e,i){if("loose"!==(0,o.nV)().securityLevel||void 0===e)return;let r=[];if("string"==typeof i){r=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<r.length;t++){let e=r[t].trim();e.startsWith('"')&&e.endsWith('"')&&(e=e.substr(1,e.length-2)),r[t]=e}}0===r.length&&r.push(t),void 0!==tv(t)&&t$(t,()=>{a.w8.runFunc(e,...r)})},"setClickFun"),t$=(0,c.eW)(function(t,e){C.push(function(){let i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",function(){e()})},function(){let i=document.querySelector(`[id="${t}-text"]`);null!==i&&i.addEventListener("click",function(){e()})})},"pushFun"),tD=(0,c.eW)(function(t,e,i){t.split(",").forEach(function(t){tW(t,e,i)}),t_(t,"clickable")},"setClickEvent"),tS=(0,c.eW)(function(t){C.forEach(function(e){e(t)})},"bindFunctions"),tC={getConfig:(0,c.eW)(()=>(0,o.nV)().gantt,"getConfig"),clear:I,setDateFormat:H,getDateFormat:q,enableInclusiveEndDates:G,endDatesAreInclusive:V,enableTopAxis:j,topAxisEnabled:Z,setAxisFormat:F,getAxisFormat:O,setTickInterval:P,getTickInterval:B,setTodayMarker:z,getTodayMarker:N,setAccTitle:o.GN,getAccTitle:o.eu,setDiagramTitle:o.g2,getDiagramTitle:o.Kr,setDisplayMode:R,getDisplayMode:U,setAccDescription:o.U$,getAccDescription:o.Mx,addSection:te,getSections:ti,getTasks:tr,addTask:tb,findTaskById:tv,addTaskOrg:tT,setIncludes:Q,getIncludes:X,setExcludes:K,getExcludes:J,setClickEvent:tD,setLink:tw,getLinks:tt,bindFunctions:tS,parseDuration:tu,isInvalidDate:tn,setWeekday:ts,getWeekday:ta,setWeekend:to};function tE(t,e,i){let r=!0;for(;r;)r=!1,i.forEach(function(i){let n=RegExp("^\\s*"+i+"\\s*$");t[0].match(n)&&(e[i]=!0,t.shift(1),r=!0)})}(0,c.eW)(tE,"getTaskTags");var tM=(0,c.eW)(function(){c.cM.debug("Something is calling, setConf, remove the call")},"setConf"),tY={monday:y.Ox9,tuesday:y.YDX,wednesday:y.EFj,thursday:y.Igq,friday:y.y2j,saturday:y.LqH,sunday:y.Zyz},tL=(0,c.eW)((t,e)=>{let i=[...t].map(()=>-1/0),r=[...t].sort((t,e)=>t.startTime-e.startTime||t.order-e.order),n=0;for(let t of r)for(let r=0;r<i.length;r++)if(t.startTime>=i[r]){i[r]=t.endTime,t.order=r+e,r>n&&(n=r);break}return n},"getMaxIntersections"),tA={parser:k,db:tC,renderer:{setConf:tM,draw:(0,c.eW)(function(t,e,i,r){let n;let a=(0,o.nV)().gantt,l=(0,o.nV)().securityLevel;"sandbox"===l&&(n=(0,y.Ys)("#i"+e));let u="sandbox"===l?(0,y.Ys)(n.nodes()[0].contentDocument.body):(0,y.Ys)("body"),h="sandbox"===l?n.nodes()[0].contentDocument:document,f=h.getElementById(e);void 0===(s=f.parentElement.offsetWidth)&&(s=1200),void 0!==a.useWidth&&(s=a.useWidth);let k=r.db.getTasks(),m=[];for(let t of k)m.push(t.type);m=S(m);let p={},g=2*a.topPadding;if("compact"===r.db.getDisplayMode()||"compact"===a.displayMode){let t={};for(let e of k)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(let i of Object.keys(t)){let r=tL(t[i],e)+1;e+=r,g+=r*(a.barHeight+a.barGap),p[i]=r}}else for(let t of(g+=k.length*(a.barHeight+a.barGap),m))p[t]=k.filter(e=>e.type===t).length;f.setAttribute("viewBox","0 0 "+s+" "+g);let b=u.select(`[id="${e}"]`),v=(0,y.Xf)().domain([(0,y.VV$)(k,function(t){return t.startTime}),(0,y.Fp7)(k,function(t){return t.endTime})]).rangeRound([0,s-a.leftPadding-a.rightPadding]);function T(t,e){let i=t.startTime,r=e.startTime,n=0;return i>r?n=1:i<r&&(n=-1),n}function x(t,e,i){let n=a.barHeight,s=n+a.barGap,o=a.topPadding,c=a.leftPadding,l=(0,y.BYU)().domain([0,m.length]).range(["#00B9FA","#F95002"]).interpolate(y.JHv);_(s,o,c,e,i,t,r.db.getExcludes(),r.db.getIncludes()),W(c,o,e,i),w(t,s,o,c,n,l,e,i),$(s,o,c,n,l),D(c,o,e,i)}function w(t,i,n,s,c,l,d){t.sort((t,e)=>t.vert===e.vert?0:t.vert?1:-1);let u=[...new Set(t.map(t=>t.order))].map(e=>t.find(t=>t.order===e));b.append("g").selectAll("rect").data(u).enter().append("rect").attr("x",0).attr("y",function(t,e){return t.order*i+n-2}).attr("width",function(){return d-a.rightPadding/2}).attr("height",i).attr("class",function(t){for(let[e,i]of m.entries())if(t.type===i)return"section section"+e%a.numberSectionStyles;return"section section0"}).enter();let h=b.append("g").selectAll("rect").data(t).enter(),f=r.db.getLinks();if(h.append("rect").attr("id",function(t){return t.id}).attr("rx",3).attr("ry",3).attr("x",function(t){return t.milestone?v(t.startTime)+s+.5*(v(t.endTime)-v(t.startTime))-.5*c:v(t.startTime)+s}).attr("y",function(t,e){return(e=t.order,t.vert)?a.gridLineStartPadding:e*i+n}).attr("width",function(t){return t.milestone?c:t.vert?.08*c:v(t.renderEndTime||t.endTime)-v(t.startTime)}).attr("height",function(t){return t.vert?k.length*(a.barHeight+a.barGap)+2*a.barHeight:c}).attr("transform-origin",function(t,e){return e=t.order,(v(t.startTime)+s+.5*(v(t.endTime)-v(t.startTime))).toString()+"px "+(e*i+n+.5*c).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let i=0;for(let[e,r]of m.entries())t.type===r&&(i=e%a.numberSectionStyles);let r="";return t.active?t.crit?r+=" activeCrit":r=" active":t.done?r=t.crit?" doneCrit":" done":t.crit&&(r+=" crit"),0===r.length&&(r=" task"),t.milestone&&(r=" milestone "+r),t.vert&&(r=" vert "+r),"task"+(r+=i+" "+e)}),h.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",a.fontSize).attr("x",function(t){let e=v(t.startTime),i=v(t.renderEndTime||t.endTime);if(t.milestone&&(e+=.5*(v(t.endTime)-v(t.startTime))-.5*c,i=e+c),t.vert)return v(t.startTime)+s;let r=this.getBBox().width;return r>i-e?i+r+1.5*a.leftPadding>d?e+s-5:i+s+5:(i-e)/2+e+s}).attr("y",function(t,e){return t.vert?a.gridLineStartPadding+k.length*(a.barHeight+a.barGap)+60:t.order*i+a.barHeight/2+(a.fontSize/2-2)+n}).attr("text-height",c).attr("class",function(t){let e=v(t.startTime),i=v(t.endTime);t.milestone&&(i=e+c);let r=this.getBBox().width,n="";t.classes.length>0&&(n=t.classes.join(" "));let s=0;for(let[e,i]of m.entries())t.type===i&&(s=e%a.numberSectionStyles);let o="";return(t.active&&(o=t.crit?"activeCritText"+s:"activeText"+s),t.done?o=t.crit?o+" doneCritText"+s:o+" doneText"+s:t.crit&&(o=o+" critText"+s),t.milestone&&(o+=" milestoneText"),t.vert&&(o+=" vertText"),r>i-e)?i+r+1.5*a.leftPadding>d?n+" taskTextOutsideLeft taskTextOutside"+s+" "+o:n+" taskTextOutsideRight taskTextOutside"+s+" "+o+" width-"+r:n+" taskText taskText"+s+" "+o+" width-"+r}),"sandbox"===(0,o.nV)().securityLevel){let t=(0,y.Ys)("#i"+e).nodes()[0].contentDocument;h.filter(function(t){return f.has(t.id)}).each(function(e){var i=t.querySelector("#"+e.id),r=t.querySelector("#"+e.id+"-text");let n=i.parentNode;var s=t.createElement("a");s.setAttribute("xlink:href",f.get(e.id)),s.setAttribute("target","_top"),n.appendChild(s),s.appendChild(i),s.appendChild(r)})}}function _(t,e,i,n,s,o,l,u){let h,f;if(0===l.length&&0===u.length)return;for(let{startTime:t,endTime:e}of o)(void 0===h||t<h)&&(h=t),(void 0===f||e>f)&&(f=e);if(!h||!f)return;if(d(f).diff(d(h),"year")>5){c.cM.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let y=r.db.getDateFormat(),k=[],m=null,p=d(h);for(;p.valueOf()<=f;)r.db.isInvalidDate(p,y,l,u)?m?m.end=p:m={start:p,end:p}:m&&(k.push(m),m=null),p=p.add(1,"d");b.append("g").selectAll("rect").data(k).enter().append("rect").attr("id",t=>"exclude-"+t.start.format("YYYY-MM-DD")).attr("x",t=>v(t.start.startOf("day"))+i).attr("y",a.gridLineStartPadding).attr("width",t=>v(t.end.endOf("day"))-v(t.start.startOf("day"))).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",function(e,r){return(v(e.start)+i+.5*(v(e.end)-v(e.start))).toString()+"px "+(r*t+.5*s).toString()+"px"}).attr("class","exclude-range")}function W(t,e,i,n){let s;let o=r.db.getDateFormat();s=r.db.getAxisFormat()||("D"===o?"%d":a.axisFormat??"%Y-%m-%d");let c=(0,y.LLu)(v).tickSize(-n+e+a.gridLineStartPadding).tickFormat((0,y.i$Z)(s)),l=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||a.tickInterval);if(null!==l){let t=l[1],e=l[2],i=r.db.getWeekday()||a.weekday;switch(e){case"millisecond":c.ticks(y.U8T.every(t));break;case"second":c.ticks(y.S1K.every(t));break;case"minute":c.ticks(y.Z_i.every(t));break;case"hour":c.ticks(y.WQD.every(t));break;case"day":c.ticks(y.rr1.every(t));break;case"week":c.ticks(tY[i].every(t));break;case"month":c.ticks(y.F0B.every(t))}}if(b.append("g").attr("class","grid").attr("transform","translate("+t+", "+(n-50)+")").call(c).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||a.topAxis){let i=(0,y.F5q)(v).tickSize(-n+e+a.gridLineStartPadding).tickFormat((0,y.i$Z)(s));if(null!==l){let t=l[1],e=l[2],n=r.db.getWeekday()||a.weekday;switch(e){case"millisecond":i.ticks(y.U8T.every(t));break;case"second":i.ticks(y.S1K.every(t));break;case"minute":i.ticks(y.Z_i.every(t));break;case"hour":i.ticks(y.WQD.every(t));break;case"day":i.ticks(y.rr1.every(t));break;case"week":i.ticks(tY[n].every(t));break;case"month":i.ticks(y.F0B.every(t))}}b.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function $(t,e){let i=0,r=Object.keys(p).map(t=>[t,p[t]]);b.append("g").selectAll("text").data(r).enter().append(function(t){let e=t[0].split(o.SY.lineBreakRegex),i=-(e.length-1)/2,r=h.createElementNS("http://www.w3.org/2000/svg","text");for(let[t,n]of(r.setAttribute("dy",i+"em"),e.entries())){let e=h.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,r.appendChild(e)}return r}).attr("x",10).attr("y",function(n,s){if(!(s>0))return n[1]*t/2+e;for(let a=0;a<s;a++)return i+=r[s-1][1],n[1]*t/2+i*t+e}).attr("font-size",a.sectionFontSize).attr("class",function(t){for(let[e,i]of m.entries())if(t[0]===i)return"sectionTitle sectionTitle"+e%a.numberSectionStyles;return"sectionTitle"})}function D(t,e,i,n){let s=r.db.getTodayMarker();if("off"===s)return;let o=b.append("g").attr("class","today"),c=new Date,l=o.append("line");l.attr("x1",v(c)+t).attr("x2",v(c)+t).attr("y1",a.titleTopMargin).attr("y2",n-a.titleTopMargin).attr("class","today"),""!==s&&l.attr("style",s.replace(/,/g,";"))}function S(t){let e={},i=[];for(let r=0,n=t.length;r<n;++r)Object.prototype.hasOwnProperty.call(e,t[r])||(e[t[r]]=!0,i.push(t[r]));return i}(0,c.eW)(T,"taskCompare"),k.sort(T),x(k,s,g),(0,o.v2)(b,g,s,a.useMaxWidth),b.append("text").text(r.db.getDiagramTitle()).attr("x",s/2).attr("y",a.titleTopMargin).attr("class","titleText"),(0,c.eW)(x,"makeGantt"),(0,c.eW)(w,"drawRects"),(0,c.eW)(_,"drawExcludeDays"),(0,c.eW)(W,"makeGrid"),(0,c.eW)($,"vertLabels"),(0,c.eW)(D,"drawToday"),(0,c.eW)(S,"checkUnique")},"draw")},styles:(0,c.eW)(t=>`
|
2
|
+
.mermaid-main-font {
|
3
|
+
font-family: ${t.fontFamily};
|
4
|
+
}
|
5
|
+
|
6
|
+
.exclude-range {
|
7
|
+
fill: ${t.excludeBkgColor};
|
8
|
+
}
|
9
|
+
|
10
|
+
.section {
|
11
|
+
stroke: none;
|
12
|
+
opacity: 0.2;
|
13
|
+
}
|
14
|
+
|
15
|
+
.section0 {
|
16
|
+
fill: ${t.sectionBkgColor};
|
17
|
+
}
|
18
|
+
|
19
|
+
.section2 {
|
20
|
+
fill: ${t.sectionBkgColor2};
|
21
|
+
}
|
22
|
+
|
23
|
+
.section1,
|
24
|
+
.section3 {
|
25
|
+
fill: ${t.altSectionBkgColor};
|
26
|
+
opacity: 0.2;
|
27
|
+
}
|
28
|
+
|
29
|
+
.sectionTitle0 {
|
30
|
+
fill: ${t.titleColor};
|
31
|
+
}
|
32
|
+
|
33
|
+
.sectionTitle1 {
|
34
|
+
fill: ${t.titleColor};
|
35
|
+
}
|
36
|
+
|
37
|
+
.sectionTitle2 {
|
38
|
+
fill: ${t.titleColor};
|
39
|
+
}
|
40
|
+
|
41
|
+
.sectionTitle3 {
|
42
|
+
fill: ${t.titleColor};
|
43
|
+
}
|
44
|
+
|
45
|
+
.sectionTitle {
|
46
|
+
text-anchor: start;
|
47
|
+
font-family: ${t.fontFamily};
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
/* Grid and axis */
|
52
|
+
|
53
|
+
.grid .tick {
|
54
|
+
stroke: ${t.gridColor};
|
55
|
+
opacity: 0.8;
|
56
|
+
shape-rendering: crispEdges;
|
57
|
+
}
|
58
|
+
|
59
|
+
.grid .tick text {
|
60
|
+
font-family: ${t.fontFamily};
|
61
|
+
fill: ${t.textColor};
|
62
|
+
}
|
63
|
+
|
64
|
+
.grid path {
|
65
|
+
stroke-width: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
/* Today line */
|
70
|
+
|
71
|
+
.today {
|
72
|
+
fill: none;
|
73
|
+
stroke: ${t.todayLineColor};
|
74
|
+
stroke-width: 2px;
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
/* Task styling */
|
79
|
+
|
80
|
+
/* Default task */
|
81
|
+
|
82
|
+
.task {
|
83
|
+
stroke-width: 2;
|
84
|
+
}
|
85
|
+
|
86
|
+
.taskText {
|
87
|
+
text-anchor: middle;
|
88
|
+
font-family: ${t.fontFamily};
|
89
|
+
}
|
90
|
+
|
91
|
+
.taskTextOutsideRight {
|
92
|
+
fill: ${t.taskTextDarkColor};
|
93
|
+
text-anchor: start;
|
94
|
+
font-family: ${t.fontFamily};
|
95
|
+
}
|
96
|
+
|
97
|
+
.taskTextOutsideLeft {
|
98
|
+
fill: ${t.taskTextDarkColor};
|
99
|
+
text-anchor: end;
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
/* Special case clickable */
|
104
|
+
|
105
|
+
.task.clickable {
|
106
|
+
cursor: pointer;
|
107
|
+
}
|
108
|
+
|
109
|
+
.taskText.clickable {
|
110
|
+
cursor: pointer;
|
111
|
+
fill: ${t.taskTextClickableColor} !important;
|
112
|
+
font-weight: bold;
|
113
|
+
}
|
114
|
+
|
115
|
+
.taskTextOutsideLeft.clickable {
|
116
|
+
cursor: pointer;
|
117
|
+
fill: ${t.taskTextClickableColor} !important;
|
118
|
+
font-weight: bold;
|
119
|
+
}
|
120
|
+
|
121
|
+
.taskTextOutsideRight.clickable {
|
122
|
+
cursor: pointer;
|
123
|
+
fill: ${t.taskTextClickableColor} !important;
|
124
|
+
font-weight: bold;
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
/* Specific task settings for the sections*/
|
129
|
+
|
130
|
+
.taskText0,
|
131
|
+
.taskText1,
|
132
|
+
.taskText2,
|
133
|
+
.taskText3 {
|
134
|
+
fill: ${t.taskTextColor};
|
135
|
+
}
|
136
|
+
|
137
|
+
.task0,
|
138
|
+
.task1,
|
139
|
+
.task2,
|
140
|
+
.task3 {
|
141
|
+
fill: ${t.taskBkgColor};
|
142
|
+
stroke: ${t.taskBorderColor};
|
143
|
+
}
|
144
|
+
|
145
|
+
.taskTextOutside0,
|
146
|
+
.taskTextOutside2
|
147
|
+
{
|
148
|
+
fill: ${t.taskTextOutsideColor};
|
149
|
+
}
|
150
|
+
|
151
|
+
.taskTextOutside1,
|
152
|
+
.taskTextOutside3 {
|
153
|
+
fill: ${t.taskTextOutsideColor};
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
/* Active task */
|
158
|
+
|
159
|
+
.active0,
|
160
|
+
.active1,
|
161
|
+
.active2,
|
162
|
+
.active3 {
|
163
|
+
fill: ${t.activeTaskBkgColor};
|
164
|
+
stroke: ${t.activeTaskBorderColor};
|
165
|
+
}
|
166
|
+
|
167
|
+
.activeText0,
|
168
|
+
.activeText1,
|
169
|
+
.activeText2,
|
170
|
+
.activeText3 {
|
171
|
+
fill: ${t.taskTextDarkColor} !important;
|
172
|
+
}
|
173
|
+
|
174
|
+
|
175
|
+
/* Completed task */
|
176
|
+
|
177
|
+
.done0,
|
178
|
+
.done1,
|
179
|
+
.done2,
|
180
|
+
.done3 {
|
181
|
+
stroke: ${t.doneTaskBorderColor};
|
182
|
+
fill: ${t.doneTaskBkgColor};
|
183
|
+
stroke-width: 2;
|
184
|
+
}
|
185
|
+
|
186
|
+
.doneText0,
|
187
|
+
.doneText1,
|
188
|
+
.doneText2,
|
189
|
+
.doneText3 {
|
190
|
+
fill: ${t.taskTextDarkColor} !important;
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
/* Tasks on the critical line */
|
195
|
+
|
196
|
+
.crit0,
|
197
|
+
.crit1,
|
198
|
+
.crit2,
|
199
|
+
.crit3 {
|
200
|
+
stroke: ${t.critBorderColor};
|
201
|
+
fill: ${t.critBkgColor};
|
202
|
+
stroke-width: 2;
|
203
|
+
}
|
204
|
+
|
205
|
+
.activeCrit0,
|
206
|
+
.activeCrit1,
|
207
|
+
.activeCrit2,
|
208
|
+
.activeCrit3 {
|
209
|
+
stroke: ${t.critBorderColor};
|
210
|
+
fill: ${t.activeTaskBkgColor};
|
211
|
+
stroke-width: 2;
|
212
|
+
}
|
213
|
+
|
214
|
+
.doneCrit0,
|
215
|
+
.doneCrit1,
|
216
|
+
.doneCrit2,
|
217
|
+
.doneCrit3 {
|
218
|
+
stroke: ${t.critBorderColor};
|
219
|
+
fill: ${t.doneTaskBkgColor};
|
220
|
+
stroke-width: 2;
|
221
|
+
cursor: pointer;
|
222
|
+
shape-rendering: crispEdges;
|
223
|
+
}
|
224
|
+
|
225
|
+
.milestone {
|
226
|
+
transform: rotate(45deg) scale(0.8,0.8);
|
227
|
+
}
|
228
|
+
|
229
|
+
.milestoneText {
|
230
|
+
font-style: italic;
|
231
|
+
}
|
232
|
+
.doneCritText0,
|
233
|
+
.doneCritText1,
|
234
|
+
.doneCritText2,
|
235
|
+
.doneCritText3 {
|
236
|
+
fill: ${t.taskTextDarkColor} !important;
|
237
|
+
}
|
238
|
+
|
239
|
+
.vert {
|
240
|
+
stroke: ${t.vertLineColor};
|
241
|
+
}
|
242
|
+
|
243
|
+
.vertText {
|
244
|
+
font-size: 15px;
|
245
|
+
text-anchor: middle;
|
246
|
+
fill: ${t.vertLineColor} !important;
|
247
|
+
}
|
248
|
+
|
249
|
+
.activeCritText0,
|
250
|
+
.activeCritText1,
|
251
|
+
.activeCritText2,
|
252
|
+
.activeCritText3 {
|
253
|
+
fill: ${t.taskTextDarkColor} !important;
|
254
|
+
}
|
255
|
+
|
256
|
+
.titleText {
|
257
|
+
text-anchor: middle;
|
258
|
+
font-size: 18px;
|
259
|
+
fill: ${t.titleColor||t.textColor};
|
260
|
+
font-family: ${t.fontFamily};
|
261
|
+
}
|
262
|
+
`,"getStyles")}}}]);
|
@@ -0,0 +1,62 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[62],{34577:function(e,t,n){n.d(t,{q:function(){return r}});var i=n(31954),s=n(84370),r=(0,i.eW)((e,t)=>{let n;return"sandbox"===t&&(n=(0,s.Ys)("#i"+e)),("sandbox"===t?(0,s.Ys)(n.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement")},23919:function(e,t,n){n.d(t,{j:function(){return r}});var i=n(55166),s=n(31954),r=(0,s.eW)((e,t,n,r)=>{e.attr("class",n);let{width:c,height:h,x:l,y:d}=o(e,t);(0,i.v2)(e,h,c,r);let g=a(l,d,c,h,t);e.attr("viewBox",g),s.cM.debug(`viewBox configured: ${g} with padding: ${t}`)},"setupViewPortForSVG"),o=(0,s.eW)((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+2*t,height:n.height+2*t,x:n.x,y:n.y}},"calculateDimensionsWithPadding"),a=(0,s.eW)((e,t,n,i,s)=>`${e-s} ${t-s} ${n} ${i}`,"createViewBox")},60062:function(e,t,n){let i;n.d(t,{diagram:function(){return S}});var s=n(34577),r=n(23919),o=n(55187);n(55397),n(35271),n(21216),n(10507),n(6072),n(66691),n(94705);var a=n(55166),c=n(31954),h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let l=new Uint8Array(16),d=[];for(let e=0;e<256;++e)d.push((e+256).toString(16).slice(1));var g=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();let s=(e=e||{}).random??e.rng?.()??function(){if(!i){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(l)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=s[e];return t}return function(e,t=0){return(d[e[t+0]]+d[e[t+1]]+d[e[t+2]]+d[e[t+3]]+"-"+d[e[t+4]]+d[e[t+5]]+"-"+d[e[t+6]]+d[e[t+7]]+"-"+d[e[t+8]]+d[e[t+9]]+"-"+d[e[t+10]]+d[e[t+11]]+d[e[t+12]]+d[e[t+13]]+d[e[t+14]]+d[e[t+15]]).toLowerCase()}(s)},u=n(32927),p=n(8279),y=n(58898),f=function(){var e=(0,c.eW)(function(e,t,n,i){for(n=n||{},i=e.length;i--;n[e[i]]=t);return n},"o"),t=[1,4],n=[1,13],i=[1,12],s=[1,15],r=[1,16],o=[1,20],a=[1,19],h=[6,7,8],l=[1,26],d=[1,24],g=[1,25],u=[6,7,11],p=[1,6,13,15,16,19,22],y=[1,33],f=[1,34],m=[1,6,7,11,13,15,16,19,22],_={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:(0,c.eW)(function(e,t,n,i,s,r,o){var a=r.length-1;switch(s){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",r[a].id),i.addNode(r[a-1].length,r[a].id,r[a].descr,r[a].type);break;case 16:i.getLogger().trace("Icon: ",r[a]),i.decorateNode({icon:r[a]});break;case 17:case 21:i.decorateNode({class:r[a]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",r[a].id),i.addNode(0,r[a].id,r[a].descr,r[a].type);break;case 20:i.decorateNode({icon:r[a]});break;case 25:i.getLogger().trace("node found ..",r[a-2]),this.$={id:r[a-1],descr:r[a-1],type:i.getType(r[a-2],r[a])};break;case 26:this.$={id:r[a],descr:r[a],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",r[a-3]),this.$={id:r[a-3],descr:r[a-1],type:i.getType(r[a-2],r[a])}}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:s,16:r,17:17,18:18,19:o,22:a},e(h,[2,3]),{1:[2,2]},e(h,[2,4]),e(h,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:s,16:r,17:17,18:18,19:o,22:a},{6:n,9:22,12:11,13:i,14:14,15:s,16:r,17:17,18:18,19:o,22:a},{6:l,7:d,10:23,11:g},e(u,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:a}),e(u,[2,18]),e(u,[2,19]),e(u,[2,20]),e(u,[2,21]),e(u,[2,23]),e(u,[2,24]),e(u,[2,26],{19:[1,30]}),{20:[1,31]},{6:l,7:d,10:32,11:g},{1:[2,7],6:n,12:21,13:i,14:14,15:s,16:r,17:17,18:18,19:o,22:a},e(p,[2,14],{7:y,11:f}),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(u,[2,15]),e(u,[2,16]),e(u,[2,17]),{20:[1,35]},{21:[1,36]},e(p,[2,13],{7:y,11:f}),e(m,[2,11]),e(m,[2,12]),{21:[1,37]},e(u,[2,25]),e(u,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,c.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},"parseError"),parse:(0,c.eW)(function(e){var t=this,n=[0],i=[],s=[null],r=[],o=this.table,a="",h=0,l=0,d=0,g=r.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(e,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var f=u.yylloc;r.push(f);var m=u.options&&u.options.ranges;function _(){var e;return"number"!=typeof(e=i.pop()||u.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.eW)(function(e){n.length=n.length-2*e,s.length=s.length-e,r.length=r.length-e},"popStack"),(0,c.eW)(_,"lex");for(var E,b,S,N,k,D,L,x,O,I={};;){if(S=n[n.length-1],this.defaultActions[S]?N=this.defaultActions[S]:(null==E&&(E=_()),N=o[S]&&o[S][E]),void 0===N||!N.length||!N[0]){var T="";for(D in O=[],o[S])this.terminals_[D]&&D>2&&O.push("'"+this.terminals_[D]+"'");T=u.showPosition?"Parse error on line "+(h+1)+":\n"+u.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[E]||E)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==E?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(T,{text:u.match,token:this.terminals_[E]||E,line:u.yylineno,loc:f,expected:O})}if(N[0]instanceof Array&&N.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+E);switch(N[0]){case 1:n.push(E),s.push(u.yytext),r.push(u.yylloc),n.push(N[1]),E=null,b?(E=b,b=null):(l=u.yyleng,a=u.yytext,h=u.yylineno,f=u.yylloc,d>0&&d--);break;case 2:if(L=this.productions_[N[1]][1],I.$=s[s.length-L],I._$={first_line:r[r.length-(L||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(L||1)].first_column,last_column:r[r.length-1].last_column},m&&(I._$.range=[r[r.length-(L||1)].range[0],r[r.length-1].range[1]]),void 0!==(k=this.performAction.apply(I,[a,l,h,p.yy,N[1],s,r].concat(g))))return k;L&&(n=n.slice(0,-1*L*2),s=s.slice(0,-1*L),r=r.slice(0,-1*L)),n.push(this.productions_[N[1]][0]),s.push(I.$),r.push(I._$),x=o[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0},"parse")},E={EOF:1,parseError:(0,c.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,c.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,c.eW)(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,c.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,c.eW)(function(e,t){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var r in s)this[r]=s[r];return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,n,i,s=this._currentRules(),r=0;r<s.length;r++)if((n=this._input.match(this.rules[s[r]]))&&(!t||n[0].length>t[0].length)){if(t=n,i=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,s[r])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,s[i]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,c.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,c.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,c.eW)(function(e,t,n,i){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function b(){this.yy={}}return _.lexer=E,(0,c.eW)(b,"Parser"),b.prototype=_,_.Parser=b,new b}();f.parser=f;var m={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=m,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{(0,c.eW)(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={}}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,t,n,i){c.cM.info("addNode",e,t,n,i);let s=(0,a.nV)(),r=s.mindmap?.padding??a.vZ.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:r*=2}let o={id:this.count++,nodeId:(0,a.oO)(t,s),level:e,descr:(0,a.oO)(n,s),type:i,children:[],width:s.mindmap?.maxNodeWidth??a.vZ.mindmap.maxNodeWidth,padding:r},h=this.getParent(e);if(h)h.children.push(o),this.nodes.push(o);else if(0===this.nodes.length)this.nodes.push(o);else throw Error(`There can be only one root. No parent could be found for ("${o.descr}")`)}getType(e,t){switch(c.cM.debug("In get type",e,t),e){case"[":return this.nodeType.RECT;case"(":return")"===t?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let t=(0,a.nV)(),n=this.nodes[this.nodes.length-1];e.icon&&(n.icon=(0,a.oO)(e.icon,t)),e.class&&(n.class=(0,a.oO)(e.class,t))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,t){if(0===e.level?e.section=void 0:e.section=t,e.children)for(let[n,i]of e.children.entries()){let s=0===e.level?n:t;this.assignSections(i,s)}}flattenNodes(e,t){let n=["mindmap-node"];0===e.level?n.push("section-root","section--1"):void 0!==e.section&&n.push(`section-${e.section}`),e.class&&n.push(e.class);let i=n.join(" "),s=(0,c.eW)(e=>{switch(e){case m.CIRCLE:return"mindmapCircle";case m.RECT:return"rect";case m.ROUNDED_RECT:return"rounded";case m.CLOUD:return"cloud";case m.BANG:return"bang";case m.HEXAGON:return"hexagon";case m.DEFAULT:return"defaultMindmapNode";case m.NO_BORDER:default:return"rect"}},"getShapeFromType"),r={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,isGroup:!1,shape:s(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:i,cssStyles:[],look:"default",icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(t.push(r),e.children)for(let n of e.children)this.flattenNodes(n,t)}generateEdges(e,t){if(e.children)for(let n of e.children){let i="edge";void 0!==n.section&&(i+=` section-edge-${n.section}`);let s=e.level+1;i+=` edge-depth-${s}`;let r={id:`edge_${e.id}_${n.id}`,start:e.id.toString(),end:n.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:"default",classes:i,depth:e.level,section:n.section};t.push(r),this.generateEdges(n,t)}}getData(){let e=this.getMindmap(),t=(0,a.nV)();if(void 0!==(0,a.qO)().layout||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};c.cM.debug("getData: mindmapRoot",e,t),this.assignSections(e);let n=[],i=[];this.flattenNodes(e,n),this.generateEdges(e,i),c.cM.debug(`getData: processed ${n.length} nodes and ${i.length} edges`);let s=new Map;for(let e of n)s.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:n,edges:i,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(s),type:"mindmap",diagramId:"mindmap-"+g()}}getLogger(){return c.cM}},E=(0,c.eW)(async(e,t,n,i)=>{c.cM.debug("Rendering mindmap diagram\n"+e);let h=i.db,l=h.getData(),d=(0,s.q)(t,l.config.securityLevel);l.type=i.type,l.layoutAlgorithm=(0,o._b)(l.config.layout,{fallback:"cose-bilkent"}),l.diagramId=t,h.getMindmap()&&(l.nodes.forEach(e=>{"rounded"===e.shape?(e.radius=15,e.taper=15,e.stroke="none",e.width=0,e.padding=15):"circle"===e.shape?e.padding=10:"rect"===e.shape&&(e.width=0,e.padding=10)}),await (0,o.sY)(l,d),(0,r.j)(d,l.config.mindmap?.padding??a.vZ.mindmap.padding,"mindmapDiagram",l.config.mindmap?.useMaxWidth??a.vZ.mindmap.useMaxWidth))},"draw"),b=(0,c.eW)(e=>{let t="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],(0,u.Z)(e["lineColor"+t])?e["lineColor"+t]=(0,p.Z)(e["lineColor"+t],20):e["lineColor"+t]=(0,y.Z)(e["lineColor"+t],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let i=""+(17-3*n);t+=`
|
2
|
+
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {
|
3
|
+
fill: ${e["cScale"+n]};
|
4
|
+
}
|
5
|
+
.section-${n-1} text {
|
6
|
+
fill: ${e["cScaleLabel"+n]};
|
7
|
+
}
|
8
|
+
.node-icon-${n-1} {
|
9
|
+
font-size: 40px;
|
10
|
+
color: ${e["cScaleLabel"+n]};
|
11
|
+
}
|
12
|
+
.section-edge-${n-1}{
|
13
|
+
stroke: ${e["cScale"+n]};
|
14
|
+
}
|
15
|
+
.edge-depth-${n-1}{
|
16
|
+
stroke-width: ${i};
|
17
|
+
}
|
18
|
+
.section-${n-1} line {
|
19
|
+
stroke: ${e["cScaleInv"+n]} ;
|
20
|
+
stroke-width: 3;
|
21
|
+
}
|
22
|
+
|
23
|
+
.disabled, .disabled circle, .disabled text {
|
24
|
+
fill: lightgray;
|
25
|
+
}
|
26
|
+
.disabled text {
|
27
|
+
fill: #efefef;
|
28
|
+
}
|
29
|
+
`}return t},"genSections"),S={get db(){return new _},renderer:{draw:E},parser:f,styles:(0,c.eW)(e=>`
|
30
|
+
.edge {
|
31
|
+
stroke-width: 3;
|
32
|
+
}
|
33
|
+
${b(e)}
|
34
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
35
|
+
fill: ${e.git0};
|
36
|
+
}
|
37
|
+
.section-root text {
|
38
|
+
fill: ${e.gitBranchLabel0};
|
39
|
+
}
|
40
|
+
.section-root span {
|
41
|
+
color: ${e.gitBranchLabel0};
|
42
|
+
}
|
43
|
+
.section-2 span {
|
44
|
+
color: ${e.gitBranchLabel0};
|
45
|
+
}
|
46
|
+
.icon-container {
|
47
|
+
height:100%;
|
48
|
+
display: flex;
|
49
|
+
justify-content: center;
|
50
|
+
align-items: center;
|
51
|
+
}
|
52
|
+
.edge {
|
53
|
+
fill: none;
|
54
|
+
}
|
55
|
+
.mindmap-node-label {
|
56
|
+
dy: 1em;
|
57
|
+
alignment-baseline: middle;
|
58
|
+
text-anchor: middle;
|
59
|
+
dominant-baseline: middle;
|
60
|
+
text-align: center;
|
61
|
+
}
|
62
|
+
`,"getStyles")}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7079],{79205:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(2265);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:o=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:c="",children:d,iconNode:u,...f}=e;return(0,n.createElement)("svg",{ref:r,...i,width:o,height:o,stroke:t,strokeWidth:a?24*Number(s)/Number(o):s,className:l("lucide",c),...f},[...u.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(d)?d:[d]])}),a=(e,r)=>{let t=(0,n.forwardRef)((t,i)=>{let{className:a,...c}=t;return(0,n.createElement)(s,{ref:i,iconNode:r,className:l("lucide-".concat(o(e)),a),...c})});return t.displayName="".concat(e),t}},32489:function(e,r,t){t.d(r,{Z:function(){return n}});let n=(0,t(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},6741:function(e,r,t){function n(e,r,{checkForDefaultPrevented:t=!0}={}){return function(n){if(e?.(n),!1===t||!n.defaultPrevented)return r?.(n)}}t.d(r,{Mj:function(){return n}}),"undefined"!=typeof window&&window.document&&window.document.createElement},58068:function(e,r,t){t.d(r,{B:function(){return a}});var n=t(2265),o=t(73966),l=t(98575),i=t(37053),s=t(57437);function a(e){let r=e+"CollectionProvider",[t,a]=(0,o.b)(r),[c,d]=t(r,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:t}=e,o=n.useRef(null),l=n.useRef(new Map).current;return(0,s.jsx)(c,{scope:r,itemMap:l,collectionRef:o,children:t})};u.displayName=r;let f=e+"CollectionSlot",p=(0,i.Z8)(f),m=n.forwardRef((e,r)=>{let{scope:t,children:n}=e,o=d(f,t),i=(0,l.e)(r,o.collectionRef);return(0,s.jsx)(p,{ref:i,children:n})});m.displayName=f;let b=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,i.Z8)(b),h=n.forwardRef((e,r)=>{let{scope:t,children:o,...i}=e,a=n.useRef(null),c=(0,l.e)(r,a),u=d(b,t);return n.useEffect(()=>(u.itemMap.set(a,{ref:a,...i}),()=>void u.itemMap.delete(a))),(0,s.jsx)(g,{[v]:"",ref:c,children:o})});return h.displayName=b,[{Provider:u,Slot:m,ItemSlot:h},function(r){let t=d(e+"CollectionConsumer",r);return n.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},a]}},98575:function(e,r,t){t.d(r,{F:function(){return l},e:function(){return i}});var n=t(2265);function o(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function l(...e){return r=>{let t=!1,n=e.map(e=>{let n=o(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r<n.length;r++){let t=n[r];"function"==typeof t?t():o(e[r],null)}}}}function i(...e){return n.useCallback(l(...e),e)}},73966:function(e,r,t){t.d(r,{b:function(){return i},k:function(){return l}});var n=t(2265),o=t(57437);function l(e,r){let t=n.createContext(r),l=e=>{let{children:r,...l}=e,i=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(t.Provider,{value:i,children:r})};return l.displayName=e+"Provider",[l,function(o){let l=n.useContext(t);if(l)return l;if(void 0!==r)return r;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,r=[]){let t=[],l=()=>{let r=t.map(e=>n.createContext(e));return function(t){let o=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return l.scopeName=e,[function(r,l){let i=n.createContext(l),s=t.length;t=[...t,l];let a=r=>{let{scope:t,children:l,...a}=r,c=t?.[e]?.[s]||i,d=n.useMemo(()=>a,Object.values(a));return(0,o.jsx)(c.Provider,{value:d,children:l})};return a.displayName=r+"Provider",[a,function(t,o){let a=o?.[e]?.[s]||i,c=n.useContext(a);if(c)return c;if(void 0!==l)return l;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=t.reduce((r,{useScope:t,scopeName:n})=>{let o=t(e)[`__scope${n}`];return{...r,...o}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return t.scopeName=r.scopeName,t}(l,...r)]}},22308:function(e,r,t){t.d(r,{I0:function(){return h},XB:function(){return p},fC:function(){return g}});var n,o=t(2265),l=t(6741),i=t(66840),s=t(98575),a=t(26606),c=t(91096),d=t(57437),u="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,r)=>{var t,p;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:g,onPointerDownOutside:h,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...k}=e,E=o.useContext(f),[N,C]=o.useState(null),j=null!==(p=null==N?void 0:N.ownerDocument)&&void 0!==p?p:null===(t=globalThis)||void 0===t?void 0:t.document,[,z]=o.useState({}),O=(0,s.e)(r,e=>C(e)),R=Array.from(E.layers),[P]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),S=R.indexOf(P),M=N?R.indexOf(N):-1,W=E.layersWithOutsidePointerEventsDisabled.size>0,T=M>=S,L=function(e){var r;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(r=globalThis)||void 0===r?void 0:r.document,n=(0,a.W)(e),l=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!l.current){let r=function(){v("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);l.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>l.current=!0}}(e=>{let r=e.target,t=[...E.branches].some(e=>e.contains(r));!T||t||(null==h||h(e),null==w||w(e),e.defaultPrevented||null==x||x())},j),A=function(e){var r;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(r=globalThis)||void 0===r?void 0:r.document,n=(0,a.W)(e),l=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!l.current&&v("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}(e=>{let r=e.target;[...E.branches].some(e=>e.contains(r))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},j);return(0,c.e)(e=>{M!==E.layers.size-1||(null==g||g(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},j),o.useEffect(()=>{if(N)return m&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(n=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(N)),E.layers.add(N),b(),()=>{m&&1===E.layersWithOutsidePointerEventsDisabled.size&&(j.body.style.pointerEvents=n)}},[N,j,m,E]),o.useEffect(()=>()=>{N&&(E.layers.delete(N),E.layersWithOutsidePointerEventsDisabled.delete(N),b())},[N,E]),o.useEffect(()=>{let e=()=>z({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)},[]),(0,d.jsx)(i.WV.div,{...k,ref:O,style:{pointerEvents:W?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.Mj)(e.onFocusCapture,A.onFocusCapture),onBlurCapture:(0,l.Mj)(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:(0,l.Mj)(e.onPointerDownCapture,L.onPointerDownCapture)})});p.displayName="DismissableLayer";var m=o.forwardRef((e,r)=>{let t=o.useContext(f),n=o.useRef(null),l=(0,s.e)(r,n);return o.useEffect(()=>{let e=n.current;if(e)return t.branches.add(e),()=>{t.branches.delete(e)}},[t.branches]),(0,d.jsx)(i.WV.div,{...e,ref:l})});function b(){let e=new CustomEvent(u);document.dispatchEvent(e)}function v(e,r,t,n){let{discrete:o}=n,l=t.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});r&&l.addEventListener(e,r,{once:!0}),o?(0,i.jH)(l,s):l.dispatchEvent(s)}m.displayName="DismissableLayerBranch";var g=p,h=m},83832:function(e,r,t){t.d(r,{h:function(){return a}});var n=t(2265),o=t(54887),l=t(66840),i=t(61188),s=t(57437),a=n.forwardRef((e,r)=>{var t,a;let{container:c,...d}=e,[u,f]=n.useState(!1);(0,i.b)(()=>f(!0),[]);let p=c||u&&(null===(a=globalThis)||void 0===a?void 0:null===(t=a.document)||void 0===t?void 0:t.body);return p?o.createPortal((0,s.jsx)(l.WV.div,{...d,ref:r}),p):null});a.displayName="Portal"},71599:function(e,r,t){t.d(r,{z:function(){return i}});var n=t(2265),o=t(98575),l=t(61188),i=e=>{var r,t;let i,a;let{present:c,children:d}=e,u=function(e){var r,t;let[o,i]=n.useState(),a=n.useRef(null),c=n.useRef(e),d=n.useRef("none"),[u,f]=(r=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,r)=>{let n=t[e][r];return null!=n?n:e},r));return n.useEffect(()=>{let e=s(a.current);d.current="mounted"===u?e:"none"},[u]),(0,l.b)(()=>{let r=a.current,t=c.current;if(t!==e){let n=d.current,o=s(r);e?f("MOUNT"):"none"===o||(null==r?void 0:r.display)==="none"?f("UNMOUNT"):t&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,l.b)(()=>{if(o){var e;let r;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=s(a.current).includes(CSS.escape(e.animationName));if(e.target===o&&n&&(f("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",r=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},l=e=>{e.target===o&&(d.current=s(a.current))};return o.addEventListener("animationstart",l),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(r),o.removeEventListener("animationstart",l),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:n.useCallback(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}(c),f="function"==typeof d?d({present:u.isPresent}):n.Children.only(d),p=(0,o.e)(u.ref,(i=null===(r=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in i&&i.isReactWarning?f.ref:(i=null===(t=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in i&&i.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof d||u.isPresent?n.cloneElement(f,{ref:p}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},66840:function(e,r,t){t.d(r,{WV:function(){return s},jH:function(){return a}});var n=t(2265),o=t(54887),l=t(37053),i=t(57437),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let t=(0,l.Z8)(`Primitive.${r}`),o=n.forwardRef((e,n)=>{let{asChild:o,...l}=e,s=o?t:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(s,{...l,ref:n})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function a(e,r){e&&o.flushSync(()=>e.dispatchEvent(r))}},37053:function(e,r,t){t.d(r,{Z8:function(){return i},g7:function(){return s},sA:function(){return c}});var n=t(2265),o=t(98575),l=t(57437);function i(e){let r=function(e){let r=n.forwardRef((e,r)=>{let{children:t,...l}=e;if(n.isValidElement(t)){let e,i;let s=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref,a=function(e,r){let t={...r};for(let n in r){let o=e[n],l=r[n];/^on[A-Z]/.test(n)?o&&l?t[n]=(...e)=>{let r=l(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...l}:"className"===n&&(t[n]=[o,l].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props);return t.type!==n.Fragment&&(a.ref=r?(0,o.F)(r,s):s),n.cloneElement(t,a)}return n.Children.count(t)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=n.forwardRef((e,t)=>{let{children:o,...i}=e,s=n.Children.toArray(o),a=s.find(d);if(a){let e=a.props.children,o=s.map(r=>r!==a?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(r,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,l.jsx)(r,{...i,ref:t,children:o})});return t.displayName=`${e}.Slot`,t}var s=i("Slot"),a=Symbol("radix.slottable");function c(e){let r=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});return r.displayName=`${e}.Slottable`,r.__radixId=a,r}function d(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},26606:function(e,r,t){t.d(r,{W:function(){return o}});var n=t(2265);function o(e){let r=n.useRef(e);return n.useEffect(()=>{r.current=e}),n.useMemo(()=>(...e)=>r.current?.(...e),[])}},80886:function(e,r,t){t.d(r,{T:function(){return s}});var n,o=t(2265),l=t(61188),i=(n||(n=t.t(o,2)))[" useInsertionEffect ".trim().toString()]||l.b;function s({prop:e,defaultProp:r,onChange:t=()=>{},caller:n}){let[l,s,a]=function({defaultProp:e,onChange:r}){let[t,n]=o.useState(e),l=o.useRef(t),s=o.useRef(r);return i(()=>{s.current=r},[r]),o.useEffect(()=>{l.current!==t&&(s.current?.(t),l.current=t)},[t,l]),[t,n,s]}({defaultProp:r,onChange:t}),c=void 0!==e,d=c?e:l;{let r=o.useRef(void 0!==e);o.useEffect(()=>{let e=r.current;if(e!==c){let r=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${r}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,n])}return[d,o.useCallback(r=>{if(c){let t="function"==typeof r?r(e):r;t!==e&&a.current?.(t)}else s(r)},[c,e,s,a])]}Symbol("RADIX:SYNC_STATE")},91096:function(e,r,t){t.d(r,{e:function(){return l}});var n=t(2265),o=t(26606);function l(e,r=globalThis?.document){let t=(0,o.W)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&t(e)};return r.addEventListener("keydown",e,{capture:!0}),()=>r.removeEventListener("keydown",e,{capture:!0})},[t,r])}},61188:function(e,r,t){t.d(r,{b:function(){return o}});var n=t(2265),o=globalThis?.document?n.useLayoutEffect:()=>{}},95098:function(e,r,t){t.d(r,{C2:function(){return i},TX:function(){return s},fC:function(){return a}});var n=t(2265),o=t(66840),l=t(57437),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=n.forwardRef((e,r)=>(0,l.jsx)(o.WV.span,{...e,ref:r,style:{...i,...e.style}}));s.displayName="VisuallyHidden";var a=s},90535:function(e,r,t){t.d(r,{j:function(){return i}});var n=t(61994);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=n.W,i=(e,r)=>t=>{var n;if((null==r?void 0:r.variants)==null)return l(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:s}=r,a=Object.keys(i).map(e=>{let r=null==t?void 0:t[e],n=null==s?void 0:s[e];if(null===r)return null;let l=o(r)||o(n);return i[e][l]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return l(e,a,null==r?void 0:null===(n=r.compoundVariants)||void 0===n?void 0:n.reduce((e,r)=>{let{class:t,className:n,...o}=r;return Object.entries(o).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...s,...c}[r]):({...s,...c})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},61994:function(e,r,t){t.d(r,{W:function(){return n}});function n(){for(var e,r,t=0,n="",o=arguments.length;t<o;t++)(e=arguments[t])&&(r=function e(r){var t,n,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r){if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(n=e(r[t]))&&(o&&(o+=" "),o+=n)}else for(n in r)r[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=r);return n}},53335:function(e,r,t){t.d(r,{m6:function(){return H}});let n=e=>{let r=s(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),o(t,r)||i(e)},getConflictingClassGroupIds:(e,r)=>{let o=t[e]||[];return r&&n[e]?[...o,...n[e]]:o}}},o=(e,r)=>{if(0===e.length)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),l=n?o(e.slice(1),n):void 0;if(l)return l;if(0===r.validators.length)return;let i=e.join("-");return r.validators.find(({validator:e})=>e(i))?.classGroupId},l=/^\[(.+)\]$/,i=e=>{if(l.test(e)){let r=l.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},s=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return u(Object.entries(e.classGroups),t).forEach(([e,t])=>{a(t,n,e,r)}),n},a=(e,r,t,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?r:c(r,e)).classGroupId=t;return}if("function"==typeof e){if(d(e)){a(e(n),r,t,n);return}r.validators.push({validator:e,classGroupId:t});return}Object.entries(e).forEach(([e,o])=>{a(o,c(r,e),t,n)})})},c=(e,r)=>{let t=e;return r.split("-").forEach(e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)}),t},d=e=>e.isThemeGetter,u=(e,r)=>r?e.map(([e,t])=>[e,t.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[r+e,t])):e)]):e,f=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,t=new Map,n=new Map,o=(o,l)=>{t.set(o,l),++r>e&&(r=0,n=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=n.get(e))?(o(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):o(e,r)}}},p=e=>{let{separator:r,experimentalParseClassName:t}=e,n=1===r.length,o=r[0],l=r.length,i=e=>{let t;let i=[],s=0,a=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===o&&(n||e.slice(c,c+l)===r)){i.push(e.slice(a,c)),a=c+l;continue}if("/"===d){t=c;continue}}"["===d?s++:"]"===d&&s--}let c=0===i.length?e:e.substring(a),d=c.startsWith("!"),u=d?c.substring(1):c;return{modifiers:i,hasImportantModifier:d,baseClassName:u,maybePostfixModifierPosition:t&&t>a?t-a:void 0}};return t?e=>t({className:e,parseClassName:i}):i},m=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)}),r.push(...t.sort()),r},b=e=>({cache:f(e.cacheSize),parseClassName:p(e),...n(e)}),v=/\s+/,g=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:o}=r,l=[],i=e.trim().split(v),s="";for(let e=i.length-1;e>=0;e-=1){let r=i[e],{modifiers:a,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r),f=!!u,p=n(f?d.substring(0,u):d);if(!p){if(!f||!(p=n(d))){s=r+(s.length>0?" "+s:s);continue}f=!1}let b=m(a).join(":"),v=c?b+"!":b,g=v+p;if(l.includes(g))continue;l.push(g);let h=o(p,f);for(let e=0;e<h.length;++e){let r=h[e];l.push(v+r)}s=r+(s.length>0?" "+s:s)}return s};function h(){let e,r,t=0,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=y(e))&&(n&&(n+=" "),n+=r);return n}let y=e=>{let r;if("string"==typeof e)return e;let t="";for(let n=0;n<e.length;n++)e[n]&&(r=y(e[n]))&&(t&&(t+=" "),t+=r);return t},w=e=>{let r=r=>r[e]||[];return r.isThemeGetter=!0,r},x=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,E=new Set(["px","full","screen"]),N=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,z=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,O=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>S(e)||E.has(e)||k.test(e),P=e=>U(e,"length",B),S=e=>!!e&&!Number.isNaN(Number(e)),M=e=>U(e,"number",S),W=e=>!!e&&Number.isInteger(Number(e)),T=e=>e.endsWith("%")&&S(e.slice(0,-1)),L=e=>x.test(e),A=e=>N.test(e),D=new Set(["length","size","percentage"]),$=e=>U(e,D,Z),I=e=>U(e,"position",Z),_=new Set(["image","url"]),F=e=>U(e,_,q),V=e=>U(e,"",X),G=()=>!0,U=(e,r,t)=>{let n=x.exec(e);return!!n&&(n[1]?"string"==typeof r?n[1]===r:r.has(n[1]):t(n[2]))},B=e=>C.test(e)&&!j.test(e),Z=()=>!1,X=e=>z.test(e),q=e=>O.test(e),H=function(e,...r){let t,n,o;let l=function(s){return n=(t=b(r.reduce((e,r)=>r(e),e()))).cache.get,o=t.cache.set,l=i,i(s)};function i(e){let r=n(e);if(r)return r;let l=g(e,t);return o(e,l),l}return function(){return l(h.apply(null,arguments))}}(()=>{let e=w("colors"),r=w("spacing"),t=w("blur"),n=w("brightness"),o=w("borderColor"),l=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),a=w("contrast"),c=w("grayscale"),d=w("hueRotate"),u=w("invert"),f=w("gap"),p=w("gradientColorStops"),m=w("gradientColorStopPositions"),b=w("inset"),v=w("margin"),g=w("opacity"),h=w("padding"),y=w("saturate"),x=w("scale"),k=w("sepia"),E=w("skew"),N=w("space"),C=w("translate"),j=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",L,r],D=()=>[L,r],_=()=>["",R,P],U=()=>["auto",S,L],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",L],Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>[S,L];return{cacheSize:500,separator:":",theme:{colors:[G],spacing:[R,P],blur:["none","",A,L],brightness:J(),borderColor:[e],borderRadius:["none","","full",A,L],borderSpacing:D(),borderWidth:_(),contrast:J(),grayscale:H(),hueRotate:J(),invert:H(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[T,P],inset:O(),margin:O(),opacity:J(),padding:D(),saturate:J(),scale:J(),sepia:H(),skew:J(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),L]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,L]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",W,L]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",W,L]},L]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[W,L]},L]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,r]}],"min-w":[{"min-w":[L,r,"min","max","fit"]}],"max-w":[{"max-w":[L,r,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[L,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,r,"auto","min","max","fit"]}],"font-size":[{text:["base",A,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[G]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",S,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,P]}],"underline-offset":[{"underline-offset":["auto",R,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),I]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},F]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:Z()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[R,L]}],"outline-w":[{outline:[R,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[R,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,V]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",A,L]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[W,L]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,P,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7200],{24369:function(e,t,n){var r=n(2265),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,o=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=u({inst:{value:n,getSnapshot:t}}),i=r[0].inst,s=r[1];return a(function(){i.value=n,i.getSnapshot=t,c(i)&&s({inst:i})},[e,n,t]),o(function(){return c(i)&&s({inst:i}),e(function(){c(i)&&s({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:s},82558:function(e,t,n){e.exports=n(24369)},6952:function(e,t,n){n.d(t,{B:function(){return g},I:function(){return k},O:function(){return c},S:function(){return J},U:function(){return l},a:function(){return f},b:function(){return o},c:function(){return $},d:function(){return z},e:function(){return s},f:function(){return B},g:function(){return Z},i:function(){return w},j:function(){return q},m:function(){return d},n:function(){return N},o:function(){return M},r:function(){return L},s:function(){return A},t:function(){return T},u:function(){return V},z:function(){return O}});var r=n(2265),i=n(98183),u=Object.prototype.hasOwnProperty;let o=new WeakMap,a=()=>{},l=a(),c=Object,s=e=>e===l,f=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),g=e=>f(e.then),h={},v={},p="undefined",w=typeof window!=p,y=typeof document!=p,b=w&&"Deno"in window,m=()=>w&&typeof window.requestAnimationFrame!=p,O=(e,t)=>{let n=o.get(e);return[()=>!s(t)&&e.get(t)||h,r=>{if(!s(t)){let i=e.get(t);t in v||(v[t]=i),n[5](t,d(i,r),i||h)}},n[6],()=>!s(t)&&t in v?v[t]:!s(t)&&e.get(t)||h]},S=!0,[E,_]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],R={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),_("focus",e)}),initReconnect:e=>{let t=()=>{S=!0,e()},n=()=>{S=!1};return E("online",t),E("offline",n),()=>{_("online",t),_("offline",n)}}},k=!r.useId,L=!w||b,T=e=>m()?window.requestAnimationFrame(e):setTimeout(e,1),V=L?r.useEffect:r.useLayoutEffect,j="undefined"!=typeof navigator&&navigator.connection,C=!L&&j&&(["slow-2g","2g"].includes(j.effectiveType)||j.saveData),D=new WeakMap,x=e=>c.prototype.toString.call(e),I=(e,t)=>e==="[object ".concat(t,"]"),P=0,U=e=>{let t,n;let r=typeof e,i=x(e),u=I(i,"Date"),o=I(i,"RegExp"),a=I(i,"Object");if(c(e)!==e||u||o)t=u?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=D.get(e))return t;if(t=++P+"~",D.set(e,t),Array.isArray(e)){for(n=0,t="@";n<e.length;n++)t+=U(e[n])+",";D.set(e,t)}if(a){t="#";let r=c.keys(e).sort();for(;!s(n=r.pop());)s(e[n])||(t+=n+":"+U(e[n])+",");D.set(e,t)}}return t},A=e=>{if(f(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?U(e):"",t]},F=0,M=()=>++F;async function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,u,a,c]=t,h=d({populateCache:!0,throwOnError:!0},"boolean"==typeof c?{revalidate:c}:c||{}),v=h.populateCache,p=h.rollbackOnError,w=h.optimisticData,y=e=>"function"==typeof p?p(e):!1!==p,b=h.throwOnError;if(f(u)){let e=[];for(let t of r.keys())!/^\$(inf|sub)\$/.test(t)&&u(r.get(t)._k)&&e.push(t);return Promise.all(e.map(m))}return m(u);async function m(e){let n;let[u]=A(e);if(!u)return;let[c,d]=O(r,u),[p,m,S,E]=o.get(r),_=()=>{let t=p[u];return(f(h.revalidate)?h.revalidate(c().data,e):!1!==h.revalidate)&&(delete S[u],delete E[u],t&&t[0])?t[0](i.QQ).then(()=>c().data):c().data};if(t.length<3)return _();let R=a,k=!1,L=M();m[u]=[L,0];let T=!s(w),V=c(),j=V.data,C=V._c,D=s(C)?j:C;if(T&&d({data:w=f(w)?w(D,j):w,_c:D}),f(R))try{R=R(D)}catch(e){n=e,k=!0}if(R&&g(R)){if(R=await R.catch(e=>{n=e,k=!0}),L!==m[u][0]){if(k)throw n;return R}k&&T&&y(n)&&(v=!0,d({data:D,_c:l}))}if(v&&!k&&(f(v)?d({data:v(R,D),error:l,_c:l}):d({data:R,error:l,_c:l})),m[u][1]=M(),Promise.resolve(_()).then(()=>{d({_c:l})}),k){if(b)throw n;return}return R}}let W=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},Q=(e,t)=>{if(!o.has(e)){let n=d(R,t),r=Object.create(null),u=N.bind(l,e),c=a,s=Object.create(null),f=(e,t)=>{let n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},g=(t,n,r)=>{e.set(t,n);let i=s[t];if(i)for(let e of i)e(n,r)},h=()=>{if(!o.has(e)&&(o.set(e,[r,Object.create(null),Object.create(null),Object.create(null),u,g,f]),!L)){let t=n.initFocus(setTimeout.bind(l,W.bind(l,r,i.N4))),u=n.initReconnect(setTimeout.bind(l,W.bind(l,r,i.l2)));c=()=>{t&&t(),u&&u(),o.delete(e)}}};return h(),[e,u,h,c]}return[e,o.get(e)[4]]},[$,q]=Q(new Map),z=d({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(e,t,n,r,i)=>{let u=n.errorRetryCount,o=i.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;(s(u)||!(o>u))&&setTimeout(r,a,i)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:C?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:C?5e3:3e3,compare:function e(t,n){var r,i;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((i=t.length)===n.length)for(;i--&&e(t[i],n[i]););return -1===i}if(!r||"object"==typeof t){for(r in i=0,t)if(u.call(t,r)&&++i&&!u.call(n,r)||!(r in n)||!e(t[r],n[r]))return!1;return Object.keys(n).length===i}}return t!=t&&n!=n},isPaused:()=>!1,cache:$,mutate:q,fallback:{}},{isOnline:()=>S,isVisible:()=>{let e=y&&document.visibilityState;return s(e)||"hidden"!==e}}),B=(e,t)=>{let n=d(e,t);if(t){let{use:r,fallback:i}=e,{use:u,fallback:o}=t;r&&u&&(n.use=r.concat(u)),i&&o&&(n.fallback=d(i,o))}return n},J=(0,r.createContext)({}),Z=e=>{let{value:t}=e,n=(0,r.useContext)(J),i=f(t),u=(0,r.useMemo)(()=>i?t(n):t,[i,n,t]),o=(0,r.useMemo)(()=>i?u:B(n,u),[i,n,u]),a=u&&u.provider,c=(0,r.useRef)(l);a&&!c.current&&(c.current=Q(a(o.cache||$),u));let s=c.current;return s&&(o.cache=s[0],o.mutate=s[1]),V(()=>{if(s)return s[2]&&s[2](),s[3]},[]),(0,r.createElement)(J.Provider,d(e,{value:o}))}},98183:function(e,t,n){n.d(t,{N4:function(){return r},QQ:function(){return u},aU:function(){return o},l2:function(){return i}});let r=0,i=1,u=2,o=3},17200:function(e,t,n){let r;n.d(t,{ZP:function(){return y}});var i=n(2265),u=n(82558),o=n(6952),a=n(98183);let l=o.i&&window.__SWR_DEVTOOLS_USE__,c=l?window.__SWR_DEVTOOLS_USE__:[],s=e=>(0,o.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],f=()=>{let e=(0,i.useContext)(o.S);return(0,i.useMemo)(()=>(0,o.m)(o.d,e),[e])},d=c.concat(e=>(t,n,r)=>{let i=n&&((...e)=>{let[r]=(0,o.s)(t),[,,,i]=o.b.get(o.c);if(r.startsWith("$inf$"))return n(...e);let u=i[r];return(0,o.e)(u)?n(...e):(delete i[r],u)});return e(t,i,r)}),g=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};l&&(window.__SWR_DEVTOOLS_REACT__=i);let h=()=>{};h(),new WeakMap;let v=i.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),p={dedupe:!0},w=Promise.resolve(o.U);o.O.defineProperty(o.g,"defaultValue",{value:o.d});let y=(r=(e,t,n)=>{let{cache:r,compare:l,suspense:c,fallbackData:s,revalidateOnMount:f,revalidateIfStale:d,refreshInterval:h,refreshWhenHidden:y,refreshWhenOffline:b,keepPreviousData:m}=n,[O,S,E,_]=o.b.get(r),[R,k]=(0,o.s)(e),L=(0,i.useRef)(!1),T=(0,i.useRef)(!1),V=(0,i.useRef)(R),j=(0,i.useRef)(t),C=(0,i.useRef)(n),D=()=>C.current,x=()=>D().isVisible()&&D().isOnline(),[I,P,U,A]=(0,o.z)(r,R),F=(0,i.useRef)({}).current,M=(0,o.e)(s)?(0,o.e)(n.fallback)?o.U:n.fallback[R]:s,N=(e,t)=>{for(let n in F)if("data"===n){if(!l(e[n],t[n])&&(!(0,o.e)(e[n])||!l(G,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},W=(0,i.useMemo)(()=>{let e=!!R&&!!t&&((0,o.e)(f)?!D().isPaused()&&!c&&!1!==d:f),n=t=>{let n=(0,o.m)(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=I(),i=A(),u=n(r),a=r===i?u:n(i),l=u;return[()=>{let e=n(I());return N(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>a]},[r,R]),Q=(0,u.useSyncExternalStore)((0,i.useCallback)(e=>U(R,(t,n)=>{N(n,t)||e()}),[r,R]),W[0],W[1]),$=!L.current,q=O[R]&&O[R].length>0,z=Q.data,B=(0,o.e)(z)?M&&(0,o.B)(M)?v(M):M:z,J=Q.error,Z=(0,i.useRef)(B),G=m?(0,o.e)(z)?(0,o.e)(Z.current)?B:Z.current:z:B,H=(!q||!!(0,o.e)(J))&&($&&!(0,o.e)(f)?f:!D().isPaused()&&(c?!(0,o.e)(B)&&d:(0,o.e)(B)||d)),K=!!(R&&t&&$&&H),X=(0,o.e)(Q.isValidating)?K:Q.isValidating,Y=(0,o.e)(Q.isLoading)?K:Q.isLoading,ee=(0,i.useCallback)(async e=>{let t,r;let i=j.current;if(!R||!i||T.current||D().isPaused())return!1;let u=!0,c=e||{},s=!E[R]||!c.dedupe,f=()=>o.I?!T.current&&R===V.current&&L.current:R===V.current,d={isValidating:!1,isLoading:!1},g=()=>{P(d)},h=()=>{let e=E[R];e&&e[1]===r&&delete E[R]},v={isValidating:!0};(0,o.e)(I().data)&&(v.isLoading=!0);try{if(s&&(P(v),n.loadingTimeout&&(0,o.e)(I().data)&&setTimeout(()=>{u&&f()&&D().onLoadingSlow(R,n)},n.loadingTimeout),E[R]=[i(k),(0,o.o)()]),[t,r]=E[R],t=await t,s&&setTimeout(h,n.dedupingInterval),!E[R]||E[R][1]!==r)return s&&f()&&D().onDiscarded(R),!1;d.error=o.U;let e=S[R];if(!(0,o.e)(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return g(),s&&f()&&D().onDiscarded(R),!1;let a=I().data;d.data=l(a,t)?a:t,s&&f()&&D().onSuccess(t,R,n)}catch(n){h();let e=D(),{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=n,s&&f()&&(e.onError(n,R,e),(!0===t||(0,o.a)(t)&&t(n))&&(!D().revalidateOnFocus||!D().revalidateOnReconnect||x())&&e.onErrorRetry(n,R,e,e=>{let t=O[R];t&&t[0]&&t[0](a.aU,e)},{retryCount:(c.retryCount||0)+1,dedupe:!0})))}return u=!1,g(),!0},[R,r]),et=(0,i.useCallback)((...e)=>(0,o.n)(r,V.current,...e),[]);if((0,o.u)(()=>{j.current=t,C.current=n,(0,o.e)(z)||(Z.current=z)}),(0,o.u)(()=>{if(!R)return;let e=ee.bind(o.U,p),t=0;D().revalidateOnFocus&&(t=Date.now()+D().focusThrottleInterval);let n=g(R,O,(n,r={})=>{if(n==a.N4){let n=Date.now();D().revalidateOnFocus&&n>t&&x()&&(t=n+D().focusThrottleInterval,e())}else if(n==a.l2)D().revalidateOnReconnect&&x()&&e();else if(n==a.QQ)return ee();else if(n==a.aU)return ee(r)});return T.current=!1,V.current=R,L.current=!0,P({_k:k}),H&&!E[R]&&((0,o.e)(B)||o.r?e():(0,o.t)(e)),()=>{T.current=!0,n()}},[R]),(0,o.u)(()=>{let e;function t(){let t=(0,o.a)(h)?h(I().data):h;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!I().error&&(y||D().isVisible())&&(b||D().isOnline())?ee(p).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,y,b,R]),(0,i.useDebugValue)(G),c){let e=R&&(0,o.e)(B);if(!o.I&&o.r&&e)throw Error("Fallback data is required when using Suspense in SSR.");e&&(j.current=t,C.current=n,T.current=!1);let r=_[R];if(v(!(0,o.e)(r)&&e?et(r):w),!(0,o.e)(J)&&e)throw J;let i=e?ee(p):w;!(0,o.e)(G)&&e&&(i.status="fulfilled",i.value=!0),v(i)}return{mutate:et,get data(){return F.data=!0,G},get error(){return F.error=!0,J},get isValidating(){return F.isValidating=!0,X},get isLoading(){return F.isLoading=!0,Y}}},function(...e){let t=f(),[n,i,u]=s(e),a=(0,o.f)(t,u),l=r,{use:c}=a,g=(c||[]).concat(d);for(let e=g.length;e--;)l=g[e](l);return l(n,i||a.fetcher||null,a)})}}]);
|