notebook 7.1.0a0__py3-none-any.whl → 7.1.0a1__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.

Potentially problematic release.


This version of notebook might be problematic. Click here for more details.

Files changed (271) hide show
  1. notebook/_version.py +1 -1
  2. notebook/app.py +5 -2
  3. notebook/static/1053.bundle.js +1 -1
  4. notebook/static/1157.bundle.js +1 -0
  5. notebook/static/1169.bundle.js +1 -1
  6. notebook/static/1198.bundle.js +1 -1
  7. notebook/static/131.bundle.js +2 -2
  8. notebook/static/1326.bundle.js +2 -0
  9. notebook/static/1337.bundle.js +1 -1
  10. notebook/static/134.bundle.js +1 -1
  11. notebook/static/1408.bundle.js +1 -1
  12. notebook/static/1496.bundle.js +1 -0
  13. notebook/static/1584.bundle.js +1 -1
  14. notebook/static/1604.bundle.js +1 -0
  15. notebook/static/1647.bundle.js +1 -1
  16. notebook/static/1650.bundle.js +1 -1
  17. notebook/static/1682.bundle.js +1 -1
  18. notebook/static/1684.bundle.js +1 -1
  19. notebook/static/1809.bundle.js +1 -1
  20. notebook/static/1827.bundle.js +1 -1
  21. notebook/static/1833.bundle.js +1 -1
  22. notebook/static/1835.bundle.js +1 -1
  23. notebook/static/1895.bundle.js +1 -0
  24. notebook/static/1950.bundle.js +1 -1
  25. notebook/static/1958.bundle.js +1 -1
  26. notebook/static/2007.bundle.js +1 -1
  27. notebook/static/2067.bundle.js +1 -1
  28. notebook/static/2088.bundle.js +1 -1
  29. notebook/static/2089.bundle.js +1 -1
  30. notebook/static/2122.bundle.js +1 -1
  31. notebook/static/2167.bundle.js +1 -1
  32. notebook/static/2184.bundle.js +1 -1
  33. notebook/static/2311.bundle.js +1 -1
  34. notebook/static/2401.bundle.js +1 -1
  35. notebook/static/2479.bundle.js +1 -1
  36. notebook/static/2489.bundle.js +1 -1
  37. notebook/static/2502.bundle.js +1 -0
  38. notebook/static/2512.bundle.js +1 -1
  39. notebook/static/2515.bundle.js +1 -0
  40. notebook/static/2552.bundle.js +1 -1
  41. notebook/static/2577.bundle.js +1 -0
  42. notebook/static/2607.bundle.js +1 -1
  43. notebook/static/2615.bundle.js +1 -1
  44. notebook/static/270.bundle.js +1 -1
  45. notebook/static/2866.bundle.js +1 -1
  46. notebook/static/2883.bundle.js +1 -1
  47. notebook/static/2913.bundle.js +1 -1
  48. notebook/static/2924.bundle.js +1 -1
  49. notebook/static/2944.bundle.js +1 -0
  50. notebook/static/3079.bundle.js +1 -1
  51. notebook/static/3129.bundle.js +1 -1
  52. notebook/static/3146.bundle.js +1 -1
  53. notebook/static/3190.bundle.js +2 -0
  54. notebook/static/3213.bundle.js +1 -1
  55. notebook/static/3301.bundle.js +1 -1
  56. notebook/static/3340.bundle.js +1 -1
  57. notebook/static/3360.bundle.js +1 -1
  58. notebook/static/3466.bundle.js +1 -1
  59. notebook/static/3512.bundle.js +1 -1
  60. notebook/static/3642.bundle.js +1 -0
  61. notebook/static/3676.bundle.js +1 -1
  62. notebook/static/3680.bundle.js +1 -1
  63. notebook/static/3768.bundle.js +1 -1
  64. notebook/static/377.bundle.js +1 -1
  65. notebook/static/3863.bundle.js +1 -1
  66. notebook/static/3881.bundle.js +1 -1
  67. notebook/static/4042.bundle.js +1 -1
  68. notebook/static/4058.bundle.js +1 -1
  69. notebook/static/4131.bundle.js +1 -1
  70. notebook/static/4166.bundle.js +1 -0
  71. notebook/static/4212.bundle.js +1 -1
  72. notebook/static/4271.bundle.js +1 -1
  73. notebook/static/4291.bundle.js +1 -1
  74. notebook/static/433.bundle.js +1 -0
  75. notebook/static/4382.bundle.js +1 -1
  76. notebook/static/4461.bundle.js +1 -0
  77. notebook/static/4499.bundle.js +1 -0
  78. notebook/static/4501.bundle.js +1 -0
  79. notebook/static/4526.bundle.js +1 -1
  80. notebook/static/4558.bundle.js +1 -1
  81. notebook/static/4588.bundle.js +1 -1
  82. notebook/static/4630.bundle.js +1 -1
  83. notebook/static/4645.bundle.js +1 -1
  84. notebook/static/4670.bundle.js +1 -1
  85. notebook/static/4810.bundle.js +1 -1
  86. notebook/static/4811.bundle.js +1 -1
  87. notebook/static/4837.bundle.js +1 -1
  88. notebook/static/4892.bundle.js +1 -0
  89. notebook/static/5088.bundle.js +1 -1
  90. notebook/static/5099.bundle.js +1 -1
  91. notebook/static/5115.bundle.js +1 -1
  92. notebook/static/5135.bundle.js +1 -1
  93. notebook/static/514.bundle.js +1 -1
  94. notebook/static/5313.bundle.js +1 -1
  95. notebook/static/5325.bundle.js +1 -1
  96. notebook/static/5346.bundle.js +1 -1
  97. notebook/static/5376.bundle.js +1 -0
  98. notebook/static/5426.bundle.js +1 -1
  99. notebook/static/5573.bundle.js +1 -1
  100. notebook/static/5601.bundle.js +1 -1
  101. notebook/static/5649.bundle.js +1 -1
  102. notebook/static/5733.bundle.js +1 -1
  103. notebook/static/5828.bundle.js +1 -1
  104. notebook/static/5850.bundle.js +1 -1
  105. notebook/static/5874.bundle.js +744 -0
  106. notebook/static/5874.bundle.js.LICENSE.txt +4 -0
  107. notebook/static/5912.bundle.js +1 -1
  108. notebook/static/5921.bundle.js +1 -1
  109. notebook/static/5982.bundle.js +1 -0
  110. notebook/static/6017.bundle.js +1 -1
  111. notebook/static/6027.bundle.js +1 -1
  112. notebook/static/6061.bundle.js +1 -1
  113. notebook/static/6139.bundle.js +1 -1
  114. notebook/static/62.bundle.js +1 -1
  115. notebook/static/6249.bundle.js +1 -0
  116. notebook/static/6256.bundle.js +1 -1
  117. notebook/static/6262.bundle.js +1 -0
  118. notebook/static/6271.bundle.js +1 -1
  119. notebook/static/6345.bundle.js +1 -1
  120. notebook/static/6405.bundle.js +1 -0
  121. notebook/static/6604.bundle.js +1 -1
  122. notebook/static/6621.bundle.js +1 -1
  123. notebook/static/6627.bundle.js +1 -1
  124. notebook/static/6731.bundle.js +1 -1
  125. notebook/static/6815.bundle.js +1 -1
  126. notebook/static/6853.bundle.js +1 -1
  127. notebook/static/{4842.bundle.js → 6869.bundle.js} +1 -1
  128. notebook/static/6893.bundle.js +1 -1
  129. notebook/static/690.bundle.js +1 -1
  130. notebook/static/6962.bundle.js +1 -1
  131. notebook/static/6972.bundle.js +1 -1
  132. notebook/static/6999.bundle.js +1 -1
  133. notebook/static/7154.bundle.js +1 -1
  134. notebook/static/7226.bundle.js +1 -1
  135. notebook/static/7252.bundle.js +1 -1
  136. notebook/static/7302.bundle.js +1 -1
  137. notebook/static/7333.bundle.js +2 -0
  138. notebook/static/7339.bundle.js +1 -0
  139. notebook/static/7369.bundle.js +1 -1
  140. notebook/static/7386.bundle.js +1 -1
  141. notebook/static/7391.bundle.js +1 -1
  142. notebook/static/7394.bundle.js +1 -1
  143. notebook/static/7427.bundle.js +1 -1
  144. notebook/static/7582.bundle.js +1 -1
  145. notebook/static/{7407.bundle.js → 7590.bundle.js} +1 -1
  146. notebook/static/7603.bundle.js +1 -1
  147. notebook/static/7639.bundle.js +1 -1
  148. notebook/static/7674.bundle.js +1 -1
  149. notebook/static/7684.bundle.js +1 -1
  150. notebook/static/7811.bundle.js +1 -1
  151. notebook/static/7819.bundle.js +1 -1
  152. notebook/static/7866.bundle.js +1 -1
  153. notebook/static/7900.bundle.js +1 -1
  154. notebook/static/7906.bundle.js +1 -1
  155. notebook/static/7943.bundle.js +1 -0
  156. notebook/static/8010.bundle.js +1 -1
  157. notebook/static/8032.bundle.js +1 -1
  158. notebook/static/8055.bundle.js +1 -0
  159. notebook/static/8579.bundle.js +1 -1
  160. notebook/static/8633.bundle.js +1 -1
  161. notebook/static/8771.bundle.js +1 -1
  162. notebook/static/8781.bundle.js +1 -0
  163. notebook/static/882.bundle.js +1 -0
  164. notebook/static/8845.bundle.js +1 -1
  165. notebook/static/8875.bundle.js +1 -1
  166. notebook/static/8907.bundle.js +1 -1
  167. notebook/static/8928.bundle.js +1 -1
  168. notebook/static/8929.bundle.js +1 -1
  169. notebook/static/893.bundle.js +1 -1
  170. notebook/static/901.bundle.js +1 -1
  171. notebook/static/9068.bundle.js +1 -1
  172. notebook/static/911.bundle.js +1 -1
  173. notebook/static/9151.bundle.js +1 -1
  174. notebook/static/9161.bundle.js +1 -1
  175. notebook/static/9239.bundle.js +1 -1
  176. notebook/static/9250.bundle.js +1 -1
  177. notebook/static/9268.bundle.js +1 -1
  178. notebook/static/9284.bundle.js +1 -0
  179. notebook/static/9308.bundle.js +1 -1
  180. notebook/static/9335.bundle.js +1 -1
  181. notebook/static/9341.bundle.js +1 -1
  182. notebook/static/9380.bundle.js +1 -1
  183. notebook/static/9466.bundle.js +1 -0
  184. notebook/static/9554.bundle.js +1 -0
  185. notebook/static/9605.bundle.js +1 -1
  186. notebook/static/9638.bundle.js +1 -1
  187. notebook/static/9680.bundle.js +1 -1
  188. notebook/static/9685.bundle.js +1 -1
  189. notebook/static/9752.bundle.js +1 -1
  190. notebook/static/9799.bundle.js +1 -1
  191. notebook/static/9821.bundle.js +1 -1
  192. notebook/static/9852.bundle.js +1 -1
  193. notebook/static/9987.bundle.js +1 -0
  194. notebook/static/bundle.js +1 -1
  195. notebook/static/third-party-licenses.json +177 -111
  196. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +15 -15
  197. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +5 -5
  198. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
  199. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +10 -10
  200. notebook-7.1.0a1.data/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +17 -0
  201. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +17 -17
  202. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +12 -12
  203. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +11 -11
  204. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/50.e41798f78fa32030e149.js +1 -0
  205. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.9fa8bfe8da6242a4fc6b.js +1 -0
  206. notebook-7.1.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.79046a2eb17bde1af38c.js → notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.faa0d74ec3a151a81a90.js +1 -1
  207. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +1 -0
  208. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.02d92bfa6cab99929020.js +1 -0
  209. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +4 -4
  210. {notebook-7.1.0a0.dist-info → notebook-7.1.0a1.dist-info}/METADATA +2 -2
  211. notebook-7.1.0a1.dist-info/RECORD +430 -0
  212. notebook/static/1306.bundle.js +0 -1
  213. notebook/static/1945.bundle.js +0 -1
  214. notebook/static/1964.bundle.js +0 -1
  215. notebook/static/3412.bundle.js +0 -1
  216. notebook/static/3434.bundle.js +0 -1
  217. notebook/static/3618.bundle.js +0 -1
  218. notebook/static/3672.bundle.js +0 -1
  219. notebook/static/3791.bundle.js +0 -1
  220. notebook/static/3993.bundle.js +0 -1
  221. notebook/static/4234.bundle.js +0 -1
  222. notebook/static/4793.bundle.js +0 -1
  223. notebook/static/4826.bundle.js +0 -1
  224. notebook/static/4867.bundle.js +0 -1
  225. notebook/static/5058.bundle.js +0 -1
  226. notebook/static/5329.bundle.js +0 -1
  227. notebook/static/5591.bundle.js +0 -1
  228. notebook/static/5642.bundle.js +0 -1
  229. notebook/static/6359.bundle.js +0 -1
  230. notebook/static/6667.bundle.js +0 -1
  231. notebook/static/6843.bundle.js +0 -1
  232. notebook/static/7763.bundle.js +0 -1
  233. notebook/static/7764.bundle.js +0 -1
  234. notebook/static/8723.bundle.js +0 -2
  235. notebook/static/880.bundle.js +0 -1
  236. notebook/static/8968.bundle.js +0 -1
  237. notebook/static/9086.bundle.js +0 -1
  238. notebook/static/9213.bundle.js +0 -2
  239. notebook/static/9381.bundle.js +0 -1
  240. notebook/static/9514.bundle.js +0 -1
  241. notebook/static/9545.bundle.js +0 -1
  242. notebook/static/973.bundle.js +0 -2
  243. notebook-7.1.0a0.data/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -10
  244. notebook-7.1.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.ffc2f99974c3b184be5a.js +0 -1
  245. notebook-7.1.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/776.c7baadfaddfd4518c935.js +0 -1
  246. notebook-7.1.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/922.0beff4620746e288bd5e.js +0 -1
  247. notebook-7.1.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.e73b0142911cf6300a74.js +0 -1
  248. notebook-7.1.0a0.dist-info/RECORD +0 -427
  249. /notebook/static/{9213.bundle.js.LICENSE.txt → 1326.bundle.js.LICENSE.txt} +0 -0
  250. /notebook/static/{8723.bundle.js.LICENSE.txt → 3190.bundle.js.LICENSE.txt} +0 -0
  251. /notebook/static/{973.bundle.js.LICENSE.txt → 7333.bundle.js.LICENSE.txt} +0 -0
  252. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
  253. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/applications/jupyter-notebook.desktop +0 -0
  254. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
  255. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
  256. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
  257. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
  258. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
  259. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
  260. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
  261. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
  262. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
  263. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
  264. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
  265. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
  266. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
  267. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
  268. {notebook-7.1.0a0.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
  269. {notebook-7.1.0a0.dist-info → notebook-7.1.0a1.dist-info}/WHEEL +0 -0
  270. {notebook-7.1.0a0.dist-info → notebook-7.1.0a1.dist-info}/entry_points.txt +0 -0
  271. {notebook-7.1.0a0.dist-info → notebook-7.1.0a1.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4499],{31655:(t,n,e)=>{function i(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}e.d(n,{Z:()=>i})},10321:(t,n,e)=>{e.d(n,{Nw:()=>h,ZP:()=>u,ml:()=>a});var i=e(31655),r=e(2518),o=e(53612);const s=(0,r.Z)(i.Z),a=s.right,h=s.left,u=((0,r.Z)(o.Z).center,a)},2518:(t,n,e)=>{e.d(n,{Z:()=>o});var i=e(31655);function r(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function o(t){let n,e,o;function a(t,i,r=0,o=t.length){if(r<o){if(0!==n(i,i))return o;do{const n=r+o>>>1;e(t[n],i)<0?r=n+1:o=n}while(r<o)}return r}return 2!==t.length?(n=i.Z,e=(n,e)=>(0,i.Z)(t(n),e),o=(n,e)=>t(n)-e):(n=t===i.Z||t===r?t:s,e=t,o=t),{left:a,center:function(t,n,e=0,i=t.length){const r=a(t,n,e,i-1);return r>e&&o(t[r-1],n)>-o(t[r],n)?r-1:r},right:function(t,i,r=0,o=t.length){if(r<o){if(0!==n(i,i))return o;do{const n=r+o>>>1;e(t[n],i)<=0?r=n+1:o=n}while(r<o)}return r}}}function s(){return 0}},53856:(t,n,e)=>{function i(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let i=-1;for(let r of t)null!=(r=n(r,++i,t))&&(e<r||void 0===e&&r>=r)&&(e=r)}return e}e.d(n,{Z:()=>i})},93571:(t,n,e)=>{function i(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let i=-1;for(let r of t)null!=(r=n(r,++i,t))&&(e>r||void 0===e&&r>=r)&&(e=r)}return e}e.d(n,{Z:()=>i})},53612:(t,n,e)=>{function i(t){return null===t?NaN:+t}function*r(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let i of t)null!=(i=n(i,++e,t))&&(i=+i)>=i&&(yield i)}}e.d(n,{K:()=>r,Z:()=>i})},53353:(t,n,e)=>{function i(t,n,e){t=+t,n=+n,e=(r=arguments.length)<2?(n=t,t=0,1):r<3?1:+e;for(var i=-1,r=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(r);++i<r;)o[i]=t+i*e;return o}e.d(n,{Z:()=>i})},73002:(t,n,e)=>{e.d(n,{G9:()=>h,ZP:()=>a,ly:()=>u});const i=Math.sqrt(50),r=Math.sqrt(10),o=Math.sqrt(2);function s(t,n,e){const a=(n-t)/Math.max(0,e),h=Math.floor(Math.log10(a)),u=a/Math.pow(10,h),c=u>=i?10:u>=r?5:u>=o?2:1;let l,f,_;return h<0?(_=Math.pow(10,-h)/c,l=Math.round(t*_),f=Math.round(n*_),l/_<t&&++l,f/_>n&&--f,_=-_):(_=Math.pow(10,h)*c,l=Math.round(t/_),f=Math.round(n/_),l*_<t&&++l,f*_>n&&--f),f<l&&.5<=e&&e<2?s(t,n,2*e):[l,f,_]}function a(t,n,e){if(!((e=+e)>0))return[];if((t=+t)==(n=+n))return[t];const i=n<t,[r,o,a]=i?s(n,t,e):s(t,n,e);if(!(o>=r))return[];const h=o-r+1,u=new Array(h);if(i)if(a<0)for(let t=0;t<h;++t)u[t]=(o-t)/-a;else for(let t=0;t<h;++t)u[t]=(o-t)*a;else if(a<0)for(let t=0;t<h;++t)u[t]=(r+t)/-a;else for(let t=0;t<h;++t)u[t]=(r+t)*a;return u}function h(t,n,e){return s(t=+t,n=+n,e=+e)[2]}function u(t,n,e){e=+e;const i=(n=+n)<(t=+t),r=i?h(n,t,e):h(t,n,e);return(i?-1:1)*(r<0?1/-r:r)}},12738:(t,n,e)=>{e.d(n,{B8:()=>Z,Il:()=>r,J5:()=>s,SU:()=>b,Ss:()=>T,Ym:()=>P,ZP:()=>m,xV:()=>o});var i=e(77551);function r(){}var o=.7,s=1/o,a="\\s*([+-]?\\d+)\\s*",h="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,l=new RegExp(`^rgb\\(${a},${a},${a}\\)$`),f=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),_=new RegExp(`^rgba\\(${a},${a},${a},${h}\\)$`),p=new RegExp(`^rgba\\(${u},${u},${u},${h}\\)$`),y=new RegExp(`^hsl\\(${h},${u},${u}\\)$`),g=new RegExp(`^hsla\\(${h},${u},${u},${h}\\)$`),x={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function d(){return this.rgb().formatHex()}function v(){return this.rgb().formatRgb()}function m(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=c.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?w(n):3===e?new T(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?M(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?M(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=l.exec(t))?new T(n[1],n[2],n[3],1):(n=f.exec(t))?new T(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=_.exec(t))?M(n[1],n[2],n[3],n[4]):(n=p.exec(t))?M(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=y.exec(t))?D(n[1],n[2]/100,n[3]/100,1):(n=g.exec(t))?D(n[1],n[2]/100,n[3]/100,n[4]):x.hasOwnProperty(t)?w(x[t]):"transparent"===t?new T(NaN,NaN,NaN,0):null}function w(t){return new T(t>>16&255,t>>8&255,255&t,1)}function M(t,n,e,i){return i<=0&&(t=n=e=NaN),new T(t,n,e,i)}function b(t){return t instanceof r||(t=m(t)),t?new T((t=t.rgb()).r,t.g,t.b,t.opacity):new T}function Z(t,n,e,i){return 1===arguments.length?b(t):new T(t,n,e,null==i?1:i)}function T(t,n,e,i){this.r=+t,this.g=+n,this.b=+e,this.opacity=+i}function N(){return`#${U(this.r)}${U(this.g)}${U(this.b)}`}function k(){const t=$(this.opacity);return`${1===t?"rgb(":"rgba("}${C(this.r)}, ${C(this.g)}, ${C(this.b)}${1===t?")":`, ${t})`}`}function $(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function C(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function U(t){return((t=C(t))<16?"0":"")+t.toString(16)}function D(t,n,e,i){return i<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Y(t,n,e,i)}function S(t){if(t instanceof Y)return new Y(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=m(t)),!t)return new Y;if(t instanceof Y)return t;var n=(t=t.rgb()).r/255,e=t.g/255,i=t.b/255,o=Math.min(n,e,i),s=Math.max(n,e,i),a=NaN,h=s-o,u=(s+o)/2;return h?(a=n===s?(e-i)/h+6*(e<i):e===s?(i-n)/h+2:(n-e)/h+4,h/=u<.5?s+o:2-s-o,a*=60):h=u>0&&u<1?0:a,new Y(a,h,u,t.opacity)}function P(t,n,e,i){return 1===arguments.length?S(t):new Y(t,n,e,null==i?1:i)}function Y(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function E(t){return(t=(t||0)%360)<0?t+360:t}function A(t){return Math.max(0,Math.min(1,t||0))}function H(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}(0,i.Z)(r,m,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:d,formatHex:d,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return S(this).formatHsl()},formatRgb:v,toString:v}),(0,i.Z)(T,Z,(0,i.l)(r,{brighter(t){return t=null==t?s:Math.pow(s,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new T(C(this.r),C(this.g),C(this.b),$(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:N,formatHex:N,formatHex8:function(){return`#${U(this.r)}${U(this.g)}${U(this.b)}${U(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:k,toString:k})),(0,i.Z)(Y,P,(0,i.l)(r,{brighter(t){return t=null==t?s:Math.pow(s,t),new Y(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new Y(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*n,r=2*e-i;return new T(H(t>=240?t-240:t+120,r,i),H(t,r,i),H(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Y(E(this.h),A(this.s),A(this.l),$(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=$(this.opacity);return`${1===t?"hsl(":"hsla("}${E(this.h)}, ${100*A(this.s)}%, ${100*A(this.l)}%${1===t?")":`, ${t})`}`}}))},77551:(t,n,e)=>{function i(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function r(t,n){var e=Object.create(t.prototype);for(var i in n)e[i]=n[i];return e}e.d(n,{Z:()=>i,l:()=>r})},64836:(t,n,e)=>{e.d(n,{Uc:()=>m,ZP:()=>p});var i=e(77551),r=e(12738),o=e(56091);const s=.96422,a=1,h=.82521,u=4/29,c=6/29,l=3*c*c,f=c*c*c;function _(t){if(t instanceof y)return new y(t.l,t.a,t.b,t.opacity);if(t instanceof w)return M(t);t instanceof r.Ss||(t=(0,r.SU)(t));var n,e,i=v(t.r),o=v(t.g),u=v(t.b),c=g((.2225045*i+.7168786*o+.0606169*u)/a);return i===o&&o===u?n=e=c:(n=g((.4360747*i+.3850649*o+.1430804*u)/s),e=g((.0139322*i+.0971045*o+.7141733*u)/h)),new y(116*c-16,500*(n-c),200*(c-e),t.opacity)}function p(t,n,e,i){return 1===arguments.length?_(t):new y(t,n,e,null==i?1:i)}function y(t,n,e,i){this.l=+t,this.a=+n,this.b=+e,this.opacity=+i}function g(t){return t>f?Math.pow(t,1/3):t/l+u}function x(t){return t>c?t*t*t:l*(t-u)}function d(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function v(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t,n,e,i){return 1===arguments.length?function(t){if(t instanceof w)return new w(t.h,t.c,t.l,t.opacity);if(t instanceof y||(t=_(t)),0===t.a&&0===t.b)return new w(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*o.R;return new w(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new w(t,n,e,null==i?1:i)}function w(t,n,e,i){this.h=+t,this.c=+n,this.l=+e,this.opacity=+i}function M(t){if(isNaN(t.h))return new y(t.l,0,0,t.opacity);var n=t.h*o.u;return new y(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}(0,i.Z)(y,p,(0,i.l)(r.Il,{brighter(t){return new y(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new y(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return n=s*x(n),t=a*x(t),e=h*x(e),new r.Ss(d(3.1338561*n-1.6168667*t-.4906146*e),d(-.9787684*n+1.9161415*t+.033454*e),d(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),(0,i.Z)(w,m,(0,i.l)(r.Il,{brighter(t){return new w(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new w(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return M(this).rgb()}}))},56091:(t,n,e)=>{e.d(n,{R:()=>r,u:()=>i});const i=Math.PI/180,r=180/Math.PI},65043:(t,n,e)=>{e.d(n,{Z:()=>h});var i={value:()=>{}};function r(){for(var t,n=0,e=arguments.length,i={};n<e;++n){if(!(t=arguments[n]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new o(i)}function o(t){this._=t}function s(t,n){for(var e,i=0,r=t.length;i<r;++i)if((e=t[i]).name===n)return e.value}function a(t,n,e){for(var r=0,o=t.length;r<o;++r)if(t[r].name===n){t[r]=i,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=r.prototype={constructor:o,on:function(t,n){var e,i,r=this._,o=(i=r,(t+"").trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),h=-1,u=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++h<u;)if(e=(t=o[h]).type)r[e]=a(r[e],t.name,n);else if(null==n)for(e in r)r[e]=a(r[e],t.name,null);return this}for(;++h<u;)if((e=(t=o[h]).type)&&(e=s(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,i,r=new Array(e),o=0;o<e;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(i=this._[t]).length;o<e;++o)i[o].value.apply(n,r)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(n,e)}};const h=r},90741:(t,n,e)=>{var i,r,o,s;e.d(n,{WU:()=>r,jH:()=>o}),s={thousands:",",grouping:[3],currency:["$",""]},i=(0,e(63770).Z)(s),r=i.format,o=i.formatPrefix},3044:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(47583);function r(t){return(t=(0,i.V)(Math.abs(t)))?t[1]:NaN}},47583:(t,n,e)=>{function i(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function r(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,i=t.slice(0,e);return[i.length>1?i[0]+i.slice(2):i,+t.slice(e+1)]}e.d(n,{V:()=>r,Z:()=>i})},32159:(t,n,e)=>{e.d(n,{Z:()=>r});var i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function r(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n;return new o({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}r.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},63770:(t,n,e)=>{e.d(n,{Z:()=>f});var i,r=e(3044),o=e(32159),s=e(47583);function a(t,n){var e=(0,s.V)(t,n);if(!e)return t+"";var i=e[0],r=e[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}const h={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:s.Z,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>a(100*t,n),r:a,s:function(t,n){var e=(0,s.V)(t,n);if(!e)return t+"";var r=e[0],o=e[1],a=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,h=r.length;return a===h?r:a>h?r+new Array(a-h+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+(0,s.V)(t,Math.max(0,n+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function u(t){return t}var c=Array.prototype.map,l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f(t){var n,e,s=void 0===t.grouping||void 0===t.thousands?u:(n=c.call(t.grouping,Number),e=t.thousands+"",function(t,i){for(var r=t.length,o=[],s=0,a=n[0],h=0;r>0&&a>0&&(h+a+1>i&&(a=Math.max(1,i-h)),o.push(t.substring(r-=a,r+a)),!((h+=a+1)>i));)a=n[s=(s+1)%n.length];return o.reverse().join(e)}),a=void 0===t.currency?"":t.currency[0]+"",f=void 0===t.currency?"":t.currency[1]+"",_=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?u:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(c.call(t.numerals,String)),y=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"−":t.minus+"",x=void 0===t.nan?"NaN":t.nan+"";function d(t){var n=(t=(0,o.Z)(t)).fill,e=t.align,r=t.sign,u=t.symbol,c=t.zero,d=t.width,v=t.comma,m=t.precision,w=t.trim,M=t.type;"n"===M?(v=!0,M="g"):h[M]||(void 0===m&&(m=12),w=!0,M="g"),(c||"0"===n&&"="===e)&&(c=!0,n="0",e="=");var b="$"===u?a:"#"===u&&/[boxX]/.test(M)?"0"+M.toLowerCase():"",Z="$"===u?f:/[%p]/.test(M)?y:"",T=h[M],N=/[defgprs%]/.test(M);function k(t){var o,a,h,u=b,f=Z;if("c"===M)f=T(t)+f,t="";else{var y=(t=+t)<0||1/t<0;if(t=isNaN(t)?x:T(Math.abs(t),m),w&&(t=function(t){t:for(var n,e=t.length,i=1,r=-1;i<e;++i)switch(t[i]){case".":r=n=i;break;case"0":0===r&&(r=i),n=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(n+1):t}(t)),y&&0==+t&&"+"!==r&&(y=!1),u=(y?"("===r?r:g:"-"===r||"("===r?"":r)+u,f=("s"===M?l[8+i/3]:"")+f+(y&&"("===r?")":""),N)for(o=-1,a=t.length;++o<a;)if(48>(h=t.charCodeAt(o))||h>57){f=(46===h?_+t.slice(o+1):t.slice(o))+f,t=t.slice(0,o);break}}v&&!c&&(t=s(t,1/0));var k=u.length+t.length+f.length,$=k<d?new Array(d-k+1).join(n):"";switch(v&&c&&(t=s($+t,$.length?d-f.length:1/0),$=""),e){case"<":t=u+t+f+$;break;case"=":t=u+$+t+f;break;case"^":t=$.slice(0,k=$.length>>1)+u+t+f+$.slice(k);break;default:t=$+u+t+f}return p(t)}return m=void 0===m?6:/[gprs]/.test(M)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:d,formatPrefix:function(t,n){var e=d(((t=(0,o.Z)(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(n)/3))),s=Math.pow(10,-i),a=l[8+i/3];return function(t){return e(s*t)+a}}}}},39155:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(3044);function r(t){return Math.max(0,-(0,i.Z)(Math.abs(t)))}},61816:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(3044);function r(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(n)/3)))-(0,i.Z)(Math.abs(t)))}},84767:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(3044);function r(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,i.Z)(n)-(0,i.Z)(t))+1}},5368:(t,n,e)=>{e.d(n,{M:()=>s,Z:()=>o});var i=e(54289),r=e(11083);function o(t,n){return((0,r.v)(n)?r.Z:s)(t,n)}function s(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,s=new Array(o),a=new Array(r);for(e=0;e<o;++e)s[e]=(0,i.Z)(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=s[e](t);return a}}},31639:(t,n,e)=>{function i(t,n,e,i,r){var o=t*t,s=o*t;return((1-3*t+3*o-s)*n+(4-6*o+3*s)*e+(1+3*t+3*o-3*s)*i+s*r)/6}function r(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],s=t[r+1],a=r>0?t[r-1]:2*o-s,h=r<n-1?t[r+2]:2*s-o;return i((e-r/n)*n,a,o,s,h)}}e.d(n,{Z:()=>r,t:()=>i})},16772:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(31639);function r(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],s=t[r%n],a=t[(r+1)%n],h=t[(r+2)%n];return(0,i.t)((e-r/n)*n,o,s,a,h)}}},43133:(t,n,e)=>{e.d(n,{ZP:()=>a,wx:()=>o,yi:()=>s});var i=e(93064);function r(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?r(t,e>180||e<-180?e-360*Math.round(e/360):e):(0,i.Z)(isNaN(t)?n:t)}function s(t){return 1==(t=+t)?a:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(i){return Math.pow(t+i*n,e)}}(n,e,t):(0,i.Z)(isNaN(n)?e:n)}}function a(t,n){var e=n-t;return e?r(t,e):(0,i.Z)(isNaN(t)?n:t)}},93064:(t,n,e)=>{e.d(n,{Z:()=>i});const i=t=>()=>t},54446:(t,n,e)=>{function i(t,n){var e=new Date;return t=+t,n=+n,function(i){return e.setTime(t*(1-i)+n*i),e}}e.d(n,{Z:()=>i})},69004:(t,n,e)=>{e.r(n),e.d(n,{interpolate:()=>i.Z,interpolateArray:()=>r.Z,interpolateBasis:()=>o.Z,interpolateBasisClosed:()=>s.Z,interpolateCubehelix:()=>q,interpolateCubehelixLong:()=>R,interpolateDate:()=>a.Z,interpolateDiscrete:()=>h,interpolateHcl:()=>k,interpolateHclLong:()=>$,interpolateHsl:()=>M,interpolateHslLong:()=>b,interpolateHue:()=>c,interpolateLab:()=>T,interpolateNumber:()=>l.Z,interpolateNumberArray:()=>f.Z,interpolateObject:()=>_.Z,interpolateRgb:()=>v.ZP,interpolateRgbBasis:()=>v.hD,interpolateRgbBasisClosed:()=>v.YD,interpolateRound:()=>p.Z,interpolateString:()=>y.Z,interpolateTransformCss:()=>g.Y,interpolateTransformSvg:()=>g.w,interpolateZoom:()=>d,piecewise:()=>L.Z,quantize:()=>J});var i=e(54289),r=e(5368),o=e(31639),s=e(16772),a=e(54446);function h(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var u=e(43133);function c(t,n){var e=(0,u.wx)(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}}var l=e(75381),f=e(11083),_=e(38863),p=e(58687),y=e(39493),g=e(52087);function x(t){return((t=Math.exp(t))+1/t)/2}const d=function t(n,e,i){function r(t,r){var o,s,a=t[0],h=t[1],u=t[2],c=r[0],l=r[1],f=r[2],_=c-a,p=l-h,y=_*_+p*p;if(y<1e-12)s=Math.log(f/u)/n,o=function(t){return[a+t*_,h+t*p,u*Math.exp(n*t*s)]};else{var g=Math.sqrt(y),d=(f*f-u*u+i*y)/(2*u*e*g),v=(f*f-u*u-i*y)/(2*f*e*g),m=Math.log(Math.sqrt(d*d+1)-d),w=Math.log(Math.sqrt(v*v+1)-v);s=(w-m)/n,o=function(t){var i,r=t*s,o=x(m),c=u/(e*g)*(o*(i=n*r+m,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[a+c*_,h+c*p,u*o/x(n*r+m)]}}return o.duration=1e3*s*n/Math.SQRT2,o}return r.rho=function(n){var e=Math.max(.001,+n),i=e*e;return t(e,i,i*i)},r}(Math.SQRT2,2,4);var v=e(32278),m=e(12738);function w(t){return function(n,e){var i=t((n=(0,m.Ym)(n)).h,(e=(0,m.Ym)(e)).h),r=(0,u.ZP)(n.s,e.s),o=(0,u.ZP)(n.l,e.l),s=(0,u.ZP)(n.opacity,e.opacity);return function(t){return n.h=i(t),n.s=r(t),n.l=o(t),n.opacity=s(t),n+""}}}const M=w(u.wx);var b=w(u.ZP),Z=e(64836);function T(t,n){var e=(0,u.ZP)((t=(0,Z.ZP)(t)).l,(n=(0,Z.ZP)(n)).l),i=(0,u.ZP)(t.a,n.a),r=(0,u.ZP)(t.b,n.b),o=(0,u.ZP)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=i(n),t.b=r(n),t.opacity=o(n),t+""}}function N(t){return function(n,e){var i=t((n=(0,Z.Uc)(n)).h,(e=(0,Z.Uc)(e)).h),r=(0,u.ZP)(n.c,e.c),o=(0,u.ZP)(n.l,e.l),s=(0,u.ZP)(n.opacity,e.opacity);return function(t){return n.h=i(t),n.c=r(t),n.l=o(t),n.opacity=s(t),n+""}}}const k=N(u.wx);var $=N(u.ZP),C=e(77551),U=e(56091),D=-.14861,S=1.78277,P=-.29227,Y=-.90649,E=1.97294,A=E*Y,H=E*S,F=S*P-Y*D;function B(t,n,e,i){return 1===arguments.length?function(t){if(t instanceof O)return new O(t.h,t.s,t.l,t.opacity);t instanceof m.Ss||(t=(0,m.SU)(t));var n=t.r/255,e=t.g/255,i=t.b/255,r=(F*i+A*n-H*e)/(F+A-H),o=i-r,s=(E*(e-r)-P*o)/Y,a=Math.sqrt(s*s+o*o)/(E*r*(1-r)),h=a?Math.atan2(s,o)*U.R-120:NaN;return new O(h<0?h+360:h,a,r,t.opacity)}(t):new O(t,n,e,null==i?1:i)}function O(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function j(t){return function n(e){function i(n,i){var r=t((n=B(n)).h,(i=B(i)).h),o=(0,u.ZP)(n.s,i.s),s=(0,u.ZP)(n.l,i.l),a=(0,u.ZP)(n.opacity,i.opacity);return function(t){return n.h=r(t),n.s=o(t),n.l=s(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,i.gamma=n,i}(1)}(0,C.Z)(O,B,(0,C.l)(m.Il,{brighter(t){return t=null==t?m.J5:Math.pow(m.J5,t),new O(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?m.xV:Math.pow(m.xV,t),new O(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*U.u,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),i=Math.cos(t),r=Math.sin(t);return new m.Ss(255*(n+e*(D*i+S*r)),255*(n+e*(P*i+Y*r)),255*(n+e*(E*i)),this.opacity)}}));const q=j(u.wx);var R=j(u.ZP),L=e(73682);function J(t,n){for(var e=new Array(n),i=0;i<n;++i)e[i]=t(i/(n-1));return e}},75381:(t,n,e)=>{function i(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}e.d(n,{Z:()=>i})},11083:(t,n,e)=>{function i(t,n){n||(n=[]);var e,i=t?Math.min(n.length,t.length):0,r=n.slice();return function(o){for(e=0;e<i;++e)r[e]=t[e]*(1-o)+n[e]*o;return r}}function r(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}e.d(n,{Z:()=>i,v:()=>r})},38863:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(54289);function r(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=(0,i.Z)(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}},73682:(t,n,e)=>{e.d(n,{Z:()=>r});var i=e(54289);function r(t,n){void 0===n&&(n=t,t=i.Z);for(var e=0,r=n.length-1,o=n[0],s=new Array(r<0?0:r);e<r;)s[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return s[n](t-n)}}},32278:(t,n,e)=>{e.d(n,{YD:()=>c,ZP:()=>a,hD:()=>u});var i=e(12738),r=e(31639),o=e(16772),s=e(43133);const a=function t(n){var e=(0,s.yi)(n);function r(t,n){var r=e((t=(0,i.B8)(t)).r,(n=(0,i.B8)(n)).r),o=e(t.g,n.g),a=e(t.b,n.b),h=(0,s.ZP)(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=a(n),t.opacity=h(n),t+""}}return r.gamma=t,r}(1);function h(t){return function(n){var e,r,o=n.length,s=new Array(o),a=new Array(o),h=new Array(o);for(e=0;e<o;++e)r=(0,i.B8)(n[e]),s[e]=r.r||0,a[e]=r.g||0,h[e]=r.b||0;return s=t(s),a=t(a),h=t(h),r.opacity=1,function(t){return r.r=s(t),r.g=a(t),r.b=h(t),r+""}}}var u=h(r.Z),c=h(o.Z)},58687:(t,n,e)=>{function i(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}e.d(n,{Z:()=>i})},39493:(t,n,e)=>{e.d(n,{Z:()=>s});var i=e(75381),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(r.source,"g");function s(t,n){var e,s,a,h=r.lastIndex=o.lastIndex=0,u=-1,c=[],l=[];for(t+="",n+="";(e=r.exec(t))&&(s=o.exec(n));)(a=s.index)>h&&(a=n.slice(h,a),c[u]?c[u]+=a:c[++u]=a),(e=e[0])===(s=s[0])?c[u]?c[u]+=s:c[++u]=s:(c[++u]=null,l.push({i:u,x:(0,i.Z)(e,s)})),h=o.lastIndex;return h<n.length&&(a=n.slice(h),c[u]?c[u]+=a:c[++u]=a),c.length<2?l[0]?function(t){return function(n){return t(n)+""}}(l[0].x):function(t){return function(){return t}}(n):(n=l.length,function(t){for(var e,i=0;i<n;++i)c[(e=l[i]).i]=e.x(t);return c.join("")})}},52087:(t,n,e)=>{e.d(n,{Y:()=>u,w:()=>c});var i,r=e(75381),o=180/Math.PI,s={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function a(t,n,e,i,r,s){var a,h,u;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(u=t*e+n*i)&&(e-=t*u,i-=n*u),(h=Math.sqrt(e*e+i*i))&&(e/=h,i/=h,u/=h),t*i<n*e&&(t=-t,n=-n,u=-u,a=-a),{translateX:r,translateY:s,rotate:Math.atan2(n,t)*o,skewX:Math.atan(u)*o,scaleX:a,scaleY:h}}function h(t,n,e,i){function o(t){return t.length?t.pop()+" ":""}return function(s,a){var h=[],u=[];return s=t(s),a=t(a),function(t,i,o,s,a,h){if(t!==o||i!==s){var u=a.push("translate(",null,n,null,e);h.push({i:u-4,x:(0,r.Z)(t,o)},{i:u-2,x:(0,r.Z)(i,s)})}else(o||s)&&a.push("translate("+o+n+s+e)}(s.translateX,s.translateY,a.translateX,a.translateY,h,u),function(t,n,e,s){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),s.push({i:e.push(o(e)+"rotate(",null,i)-2,x:(0,r.Z)(t,n)})):n&&e.push(o(e)+"rotate("+n+i)}(s.rotate,a.rotate,h,u),function(t,n,e,s){t!==n?s.push({i:e.push(o(e)+"skewX(",null,i)-2,x:(0,r.Z)(t,n)}):n&&e.push(o(e)+"skewX("+n+i)}(s.skewX,a.skewX,h,u),function(t,n,e,i,s,a){if(t!==e||n!==i){var h=s.push(o(s)+"scale(",null,",",null,")");a.push({i:h-4,x:(0,r.Z)(t,e)},{i:h-2,x:(0,r.Z)(n,i)})}else 1===e&&1===i||s.push(o(s)+"scale("+e+","+i+")")}(s.scaleX,s.scaleY,a.scaleX,a.scaleY,h,u),s=a=null,function(t){for(var n,e=-1,i=u.length;++e<i;)h[(n=u[e]).i]=n.x(t);return h.join("")}}}var u=h((function(t){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?s:a(n.a,n.b,n.c,n.d,n.e,n.f)}),"px, ","px)","deg)"),c=h((function(t){return null==t?s:(i||(i=document.createElementNS("http://www.w3.org/2000/svg","g")),i.setAttribute("transform",t),(t=i.transform.baseVal.consolidate())?a((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):s)}),", ",")",")")},54289:(t,n,e)=>{e.d(n,{Z:()=>f});var i=e(12738),r=e(32278),o=e(5368),s=e(54446),a=e(75381),h=e(38863),u=e(39493),c=e(93064),l=e(11083);function f(t,n){var e,f=typeof n;return null==n||"boolean"===f?(0,c.Z)(n):("number"===f?a.Z:"string"===f?(e=(0,i.ZP)(n))?(n=e,r.ZP):u.Z:n instanceof i.ZP?r.ZP:n instanceof Date?s.Z:(0,l.v)(n)?l.Z:Array.isArray(n)?o.M:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?h.Z:a.Z)(t,n)}},3791:(t,n,e)=>{e.d(n,{ET:()=>u,y$:()=>h});const i=Math.PI,r=2*i,o=1e-6,s=r-o;function a(t){this._+=t[0];for(let n=1,e=t.length;n<e;++n)this._+=arguments[n]+t[n]}class h{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?a:function(t){let n=Math.floor(t);if(!(n>=0))throw new Error(`invalid digits: ${t}`);if(n>15)return a;const e=10**n;return function(t){this._+=t[0];for(let n=1,i=t.length;n<i;++n)this._+=Math.round(arguments[n]*e)/e+t[n]}}(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,e,i){this._append`Q${+t},${+n},${this._x1=+e},${this._y1=+i}`}bezierCurveTo(t,n,e,i,r,o){this._append`C${+t},${+n},${+e},${+i},${this._x1=+r},${this._y1=+o}`}arcTo(t,n,e,r,s){if(t=+t,n=+n,e=+e,r=+r,(s=+s)<0)throw new Error(`negative radius: ${s}`);let a=this._x1,h=this._y1,u=e-t,c=r-n,l=a-t,f=h-n,_=l*l+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=n}`;else if(_>o)if(Math.abs(f*u-c*l)>o&&s){let p=e-a,y=r-h,g=u*u+c*c,x=p*p+y*y,d=Math.sqrt(g),v=Math.sqrt(_),m=s*Math.tan((i-Math.acos((g+_-x)/(2*d*v)))/2),w=m/v,M=m/d;Math.abs(w-1)>o&&this._append`L${t+w*l},${n+w*f}`,this._append`A${s},${s},0,0,${+(f*p>l*y)},${this._x1=t+M*u},${this._y1=n+M*c}`}else this._append`L${this._x1=t},${this._y1=n}`}arc(t,n,e,a,h,u){if(t=+t,n=+n,u=!!u,(e=+e)<0)throw new Error(`negative radius: ${e}`);let c=e*Math.cos(a),l=e*Math.sin(a),f=t+c,_=n+l,p=1^u,y=u?a-h:h-a;null===this._x1?this._append`M${f},${_}`:(Math.abs(this._x1-f)>o||Math.abs(this._y1-_)>o)&&this._append`L${f},${_}`,e&&(y<0&&(y=y%r+r),y>s?this._append`A${e},${e},0,1,${p},${t-c},${n-l}A${e},${e},0,1,${p},${this._x1=f},${this._y1=_}`:y>o&&this._append`A${e},${e},0,${+(y>=i)},${p},${this._x1=t+e*Math.cos(h)},${this._y1=n+e*Math.sin(h)}`)}rect(t,n,e,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+i}h${-e}Z`}toString(){return this._}}function u(){return new h}u.prototype=h.prototype},20356:(t,n,e)=>{e.d(n,{JG:()=>_,ZP:()=>y,yR:()=>u,l4:()=>p});var i=e(10321),r=e(54289),o=e(75381),s=e(58687),a=e(26481),h=[0,1];function u(t){return t}function c(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function l(t,n,e){var i=t[0],r=t[1],o=n[0],s=n[1];return r<i?(i=c(r,i),o=e(s,o)):(i=c(i,r),o=e(o,s)),function(t){return o(i(t))}}function f(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),s=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=c(t[a],t[a+1]),s[a]=e(n[a],n[a+1]);return function(n){var e=(0,i.ZP)(t,n,1,r)-1;return s[e](o[e](n))}}function _(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t,n,e,i,c,_,p=h,y=h,g=r.Z,x=u;function d(){var t,n,e,r=Math.min(p.length,y.length);return x!==u&&(t=p[0],n=p[r-1],t>n&&(e=t,t=n,n=e),x=function(e){return Math.max(t,Math.min(n,e))}),i=r>2?f:l,c=_=null,v}function v(n){return null==n||isNaN(n=+n)?e:(c||(c=i(p.map(t),y,g)))(t(x(n)))}return v.invert=function(e){return x(n((_||(_=i(y,p.map(t),o.Z)))(e)))},v.domain=function(t){return arguments.length?(p=Array.from(t,a.Z),d()):p.slice()},v.range=function(t){return arguments.length?(y=Array.from(t),d()):y.slice()},v.rangeRound=function(t){return y=Array.from(t),g=s.Z,d()},v.clamp=function(t){return arguments.length?(x=!!t||u,d()):x!==u},v.interpolate=function(t){return arguments.length?(g=t,d()):g},v.unknown=function(t){return arguments.length?(e=t,v):e},function(e,i){return t=e,n=i,d()}}function y(){return p()(u,u)}},42287:(t,n,e)=>{function i(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function r(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}e.d(n,{O:()=>r,o:()=>i})},29387:(t,n,e)=>{e.d(n,{Q:()=>a,Z:()=>h});var i=e(73002),r=e(20356),o=e(42287),s=e(35828);function a(t){var n=t.domain;return t.ticks=function(t){var e=n();return(0,i.ZP)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var i=n();return(0,s.Z)(i[0],i[i.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,s=n(),a=0,h=s.length-1,u=s[a],c=s[h],l=10;for(c<u&&(o=u,u=c,c=o,o=a,a=h,h=o);l-- >0;){if((o=(0,i.G9)(u,c,e))===r)return s[a]=u,s[h]=c,n(s);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o}r=o}return t},t}function h(){var t=(0,r.ZP)();return t.copy=function(){return(0,r.JG)(t,h())},o.o.apply(t,arguments),a(t)}},78319:(t,n,e)=>{function i(t,n){var e,i=0,r=(t=t.slice()).length-1,o=t[i],s=t[r];return s<o&&(e=i,i=r,r=e,e=o,o=s,s=e),t[i]=n.floor(o),t[r]=n.ceil(s),t}e.d(n,{Z:()=>i})},26481:(t,n,e)=>{function i(t){return+t}e.d(n,{Z:()=>i})},81406:(t,n,e)=>{e.d(n,{O:()=>o,Z:()=>s});var i=e(18694),r=e(42287);const o=Symbol("implicit");function s(){var t=new i.L,n=[],e=[],a=o;function h(i){let r=t.get(i);if(void 0===r){if(a!==o)return a;t.set(i,r=n.push(i)-1)}return e[r%e.length]}return h.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new i.L;for(const i of e)t.has(i)||t.set(i,n.push(i)-1);return h},h.range=function(t){return arguments.length?(e=Array.from(t),h):e.slice()},h.unknown=function(t){return arguments.length?(a=t,h):a},h.copy=function(){return s(n,e).unknown(a)},r.o.apply(h,arguments),h}},35828:(t,n,e)=>{e.d(n,{Z:()=>u});var i=e(73002),r=e(32159),o=e(61816),s=e(90741),a=e(84767),h=e(39155);function u(t,n,e,u){var c,l=(0,i.ly)(t,n,e);switch((u=(0,r.Z)(null==u?",f":u)).type){case"s":var f=Math.max(Math.abs(t),Math.abs(n));return null!=u.precision||isNaN(c=(0,o.Z)(l,f))||(u.precision=c),(0,s.jH)(u,f);case"":case"e":case"g":case"p":case"r":null!=u.precision||isNaN(c=(0,a.Z)(l,Math.max(Math.abs(t),Math.abs(n))))||(u.precision=c-("e"===u.type));break;case"f":case"%":null!=u.precision||isNaN(c=(0,h.Z)(l))||(u.precision=c-2*("%"===u.type))}return(0,s.WU)(u)}},61941:(t,n,e)=>{e.d(n,{Y:()=>x,Z:()=>d});var i=e(18744),r=e(47878),o=e(43155),s=e(24645),a=e(6054),h=e(75458),u=e(5957),c=e(58887),l=e(94031),f=e(20356),_=e(42287),p=e(78319);function y(t){return new Date(t)}function g(t){return t instanceof Date?+t:+new Date(+t)}function x(t,n,e,i,r,o,s,a,h,u){var c=(0,f.ZP)(),l=c.invert,_=c.domain,d=u(".%L"),v=u(":%S"),m=u("%I:%M"),w=u("%I %p"),M=u("%a %d"),b=u("%b %d"),Z=u("%B"),T=u("%Y");function N(t){return(h(t)<t?d:a(t)<t?v:s(t)<t?m:o(t)<t?w:i(t)<t?r(t)<t?M:b:e(t)<t?Z:T)(t)}return c.invert=function(t){return new Date(l(t))},c.domain=function(t){return arguments.length?_(Array.from(t,g)):_().map(y)},c.ticks=function(n){var e=_();return t(e[0],e[e.length-1],null==n?10:n)},c.tickFormat=function(t,n){return null==n?N:u(n)},c.nice=function(t){var e=_();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?_((0,p.Z)(e,t)):c},c.copy=function(){return(0,f.JG)(c,x(t,n,e,i,r,o,s,a,h,u))},c}function d(){return _.o.apply(x(i.jK,i._g,r.jB,o.F0,s.Zy,a.rr,h.WQ,u.Z_,c.E,l.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},87826:(t,n,e)=>{e.d(n,{Z:()=>f});var i=e(17728),r=e(90596),o=e(53863);function s(t){return t.innerRadius}function a(t){return t.outerRadius}function h(t){return t.startAngle}function u(t){return t.endAngle}function c(t){return t&&t.padAngle}function l(t,n,e,i,o,s,a){var h=t-e,u=n-i,c=(a?s:-s)/(0,r._b)(h*h+u*u),l=c*u,f=-c*h,_=t+l,p=n+f,y=e+l,g=i+f,x=(_+y)/2,d=(p+g)/2,v=y-_,m=g-p,w=v*v+m*m,M=o-s,b=_*g-y*p,Z=(m<0?-1:1)*(0,r._b)((0,r.Fp)(0,M*M*w-b*b)),T=(b*m-v*Z)/w,N=(-b*v-m*Z)/w,k=(b*m+v*Z)/w,$=(-b*v+m*Z)/w,C=T-x,U=N-d,D=k-x,S=$-d;return C*C+U*U>D*D+S*S&&(T=k,N=$),{cx:T,cy:N,x01:-l,y01:-f,x11:T*(o/M-1),y11:N*(o/M-1)}}function f(){var t=s,n=a,e=(0,i.Z)(0),f=null,_=h,p=u,y=c,g=null,x=(0,o.d)(d);function d(){var i,o,s=+t.apply(this,arguments),a=+n.apply(this,arguments),h=_.apply(this,arguments)-r.ou,u=p.apply(this,arguments)-r.ou,c=(0,r.Wn)(u-h),d=u>h;if(g||(g=i=x()),a<s&&(o=a,a=s,s=o),a>r.Ho)if(c>r.BZ-r.Ho)g.moveTo(a*(0,r.mC)(h),a*(0,r.O$)(h)),g.arc(0,0,a,h,u,!d),s>r.Ho&&(g.moveTo(s*(0,r.mC)(u),s*(0,r.O$)(u)),g.arc(0,0,s,u,h,d));else{var v,m,w=h,M=u,b=h,Z=u,T=c,N=c,k=y.apply(this,arguments)/2,$=k>r.Ho&&(f?+f.apply(this,arguments):(0,r._b)(s*s+a*a)),C=(0,r.VV)((0,r.Wn)(a-s)/2,+e.apply(this,arguments)),U=C,D=C;if($>r.Ho){var S=(0,r.ZR)($/s*(0,r.O$)(k)),P=(0,r.ZR)($/a*(0,r.O$)(k));(T-=2*S)>r.Ho?(b+=S*=d?1:-1,Z-=S):(T=0,b=Z=(h+u)/2),(N-=2*P)>r.Ho?(w+=P*=d?1:-1,M-=P):(N=0,w=M=(h+u)/2)}var Y=a*(0,r.mC)(w),E=a*(0,r.O$)(w),A=s*(0,r.mC)(Z),H=s*(0,r.O$)(Z);if(C>r.Ho){var F,B=a*(0,r.mC)(M),O=a*(0,r.O$)(M),j=s*(0,r.mC)(b),q=s*(0,r.O$)(b);if(c<r.pi)if(F=function(t,n,e,i,o,s,a,h){var u=e-t,c=i-n,l=a-o,f=h-s,_=f*u-l*c;if(!(_*_<r.Ho))return[t+(_=(l*(n-s)-f*(t-o))/_)*u,n+_*c]}(Y,E,j,q,B,O,A,H)){var R=Y-F[0],L=E-F[1],J=B-F[0],z=O-F[1],I=1/(0,r.O$)((0,r.Kh)((R*J+L*z)/((0,r._b)(R*R+L*L)*(0,r._b)(J*J+z*z)))/2),V=(0,r._b)(F[0]*F[0]+F[1]*F[1]);U=(0,r.VV)(C,(s-V)/(I-1)),D=(0,r.VV)(C,(a-V)/(I+1))}else U=D=0}N>r.Ho?D>r.Ho?(v=l(j,q,Y,E,a,D,d),m=l(B,O,A,H,a,D,d),g.moveTo(v.cx+v.x01,v.cy+v.y01),D<C?g.arc(v.cx,v.cy,D,(0,r.fv)(v.y01,v.x01),(0,r.fv)(m.y01,m.x01),!d):(g.arc(v.cx,v.cy,D,(0,r.fv)(v.y01,v.x01),(0,r.fv)(v.y11,v.x11),!d),g.arc(0,0,a,(0,r.fv)(v.cy+v.y11,v.cx+v.x11),(0,r.fv)(m.cy+m.y11,m.cx+m.x11),!d),g.arc(m.cx,m.cy,D,(0,r.fv)(m.y11,m.x11),(0,r.fv)(m.y01,m.x01),!d))):(g.moveTo(Y,E),g.arc(0,0,a,w,M,!d)):g.moveTo(Y,E),s>r.Ho&&T>r.Ho?U>r.Ho?(v=l(A,H,B,O,s,-U,d),m=l(Y,E,j,q,s,-U,d),g.lineTo(v.cx+v.x01,v.cy+v.y01),U<C?g.arc(v.cx,v.cy,U,(0,r.fv)(v.y01,v.x01),(0,r.fv)(m.y01,m.x01),!d):(g.arc(v.cx,v.cy,U,(0,r.fv)(v.y01,v.x01),(0,r.fv)(v.y11,v.x11),!d),g.arc(0,0,s,(0,r.fv)(v.cy+v.y11,v.cx+v.x11),(0,r.fv)(m.cy+m.y11,m.cx+m.x11),d),g.arc(m.cx,m.cy,U,(0,r.fv)(m.y11,m.x11),(0,r.fv)(m.y01,m.x01),!d))):g.arc(0,0,s,Z,b,d):g.lineTo(A,H)}else g.moveTo(0,0);if(g.closePath(),i)return g=null,i+""||null}return d.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,i=(+_.apply(this,arguments)+ +p.apply(this,arguments))/2-r.pi/2;return[(0,r.mC)(i)*e,(0,r.O$)(i)*e]},d.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:(0,i.Z)(+n),d):t},d.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:(0,i.Z)(+t),d):n},d.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),d):e},d.padRadius=function(t){return arguments.length?(f=null==t?null:"function"==typeof t?t:(0,i.Z)(+t),d):f},d.startAngle=function(t){return arguments.length?(_="function"==typeof t?t:(0,i.Z)(+t),d):_},d.endAngle=function(t){return arguments.length?(p="function"==typeof t?t:(0,i.Z)(+t),d):p},d.padAngle=function(t){return arguments.length?(y="function"==typeof t?t:(0,i.Z)(+t),d):y},d.context=function(t){return arguments.length?(g=null==t?null:t,d):g},d}},89555:(t,n,e)=>{function i(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}e.d(n,{Z:()=>i}),Array.prototype.slice},17728:(t,n,e)=>{function i(t){return function(){return t}}e.d(n,{Z:()=>i})},73021:(t,n,e)=>{function i(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function r(t){this._context=t}function o(t){return new r(t)}e.d(n,{ZP:()=>o,fE:()=>r,xm:()=>i}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},88973:(t,n,e)=>{e.d(n,{Z:()=>s});var i=e(98010),r=e(73021);function o(t){this._context=t}function s(t){return new o(t)}o.prototype={areaStart:i.Z,areaEnd:i.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:(0,r.xm)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},74372:(t,n,e)=>{e.d(n,{Z:()=>o});var i=e(73021);function r(t){this._context=t}function o(t){return new r(t)}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:(0,i.xm)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},32830:(t,n,e)=>{e.d(n,{Z:()=>o});var i=e(73021);function r(t,n){this._basis=new i.fE(t),this._beta=n}r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var i,r=t[0],o=n[0],s=t[e]-r,a=n[e]-o,h=-1;++h<=e;)i=h/e,this._basis.point(this._beta*t[h]+(1-this._beta)*(r+i*s),this._beta*n[h]+(1-this._beta)*(o+i*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};const o=function t(n){function e(t){return 1===n?new i.fE(t):new r(t,n)}return e.beta=function(n){return t(+n)},e}(.85)},88800:(t,n,e)=>{function i(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function r(t,n){this._context=t,this._k=(1-n)/6}e.d(n,{ZP:()=>o,pC:()=>r,xm:()=>i}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:i(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const o=function t(n){function e(t){return new r(t,n)}return e.tension=function(n){return t(+n)},e}(0)},91390:(t,n,e)=>{e.d(n,{U:()=>o,Z:()=>s});var i=e(98010),r=e(88800);function o(t,n){this._context=t,this._k=(1-n)/6}o.prototype={areaStart:i.Z,areaEnd:i.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:(0,r.xm)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const s=function t(n){function e(t){return new o(t,n)}return e.tension=function(n){return t(+n)},e}(0)},41599:(t,n,e)=>{e.d(n,{T:()=>r,Z:()=>o});var i=e(88800);function r(t,n){this._context=t,this._k=(1-n)/6}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,i.xm)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const o=function t(n){function e(t){return new r(t,n)}return e.tension=function(n){return t(+n)},e}(0)},48917:(t,n,e)=>{e.d(n,{Z:()=>a,x:()=>o});var i=e(90596),r=e(88800);function o(t,n,e){var r=t._x1,o=t._y1,s=t._x2,a=t._y2;if(t._l01_a>i.Ho){var h=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*h-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,o=(o*h-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>i.Ho){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);s=(s*c+t._x1*t._l23_2a-n*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,o,s,a,t._x2,t._y2)}function s(t,n){this._context=t,this._alpha=n}s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const a=function t(n){function e(t){return n?new s(t,n):new r.pC(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},7391:(t,n,e)=>{e.d(n,{Z:()=>a});var i=e(91390),r=e(98010),o=e(48917);function s(t,n){this._context=t,this._alpha=n}s.prototype={areaStart:r.Z,areaEnd:r.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:(0,o.x)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const a=function t(n){function e(t){return n?new s(t,n):new i.U(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},63703:(t,n,e)=>{e.d(n,{Z:()=>s});var i=e(41599),r=e(48917);function o(t,n){this._context=t,this._alpha=n}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,r.x)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const s=function t(n){function e(t){return n?new o(t,n):new i.T(t,0)}return e.alpha=function(n){return t(+n)},e}(.5)},4224:(t,n,e)=>{function i(t){this._context=t}function r(t){return new i(t)}e.d(n,{Z:()=>r}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}}},29458:(t,n,e)=>{e.d(n,{Z:()=>o});var i=e(98010);function r(t){this._context=t}function o(t){return new r(t)}r.prototype={areaStart:i.Z,areaEnd:i.Z,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}}},78509:(t,n,e)=>{function i(t){return t<0?-1:1}function r(t,n,e){var r=t._x1-t._x0,o=n-t._x1,s=(t._y1-t._y0)/(r||o<0&&-0),a=(e-t._y1)/(o||r<0&&-0),h=(s*o+a*r)/(r+o);return(i(s)+i(a))*Math.min(Math.abs(s),Math.abs(a),.5*Math.abs(h))||0}function o(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function s(t,n,e){var i=t._x0,r=t._y0,o=t._x1,s=t._y1,a=(o-i)/3;t._context.bezierCurveTo(i+a,r+a*n,o-a,s-a*e,o,s)}function a(t){this._context=t}function h(t){this._context=new u(t)}function u(t){this._context=t}function c(t){return new a(t)}function l(t){return new h(t)}e.d(n,{Z:()=>c,s:()=>l}),a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:s(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,s(this,o(this,e=r(this,t,n)),e);break;default:s(this,this._t0,e=r(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(h.prototype=Object.create(a.prototype)).point=function(t,n){a.prototype.point.call(this,n,t)},u.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,i,r,o){this._context.bezierCurveTo(n,t,i,e,o,r)}}},3499:(t,n,e)=>{function i(t){this._context=t}function r(t){var n,e,i=t.length-1,r=new Array(i),o=new Array(i),s=new Array(i);for(r[0]=0,o[0]=2,s[0]=t[0]+2*t[1],n=1;n<i-1;++n)r[n]=1,o[n]=4,s[n]=4*t[n]+2*t[n+1];for(r[i-1]=2,o[i-1]=7,s[i-1]=8*t[i-1]+t[i],n=1;n<i;++n)e=r[n]/o[n-1],o[n]-=e,s[n]-=e*s[n-1];for(r[i-1]=s[i-1]/o[i-1],n=i-2;n>=0;--n)r[n]=(s[n]-r[n+1])/o[n];for(o[i-1]=(t[i]+r[i-1])/2,n=0;n<i-1;++n)o[n]=2*t[n+1]-r[n+1];return[r,o]}function o(t){return new i(t)}e.d(n,{Z:()=>o}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var i=r(t),o=r(n),s=0,a=1;a<e;++s,++a)this._context.bezierCurveTo(i[0][s],o[0][s],i[1][s],o[1][s],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}}},21468:(t,n,e)=>{function i(t,n){this._context=t,this._t=n}function r(t){return new i(t,.5)}function o(t){return new i(t,0)}function s(t){return new i(t,1)}e.d(n,{RN:()=>o,ZP:()=>r,cD:()=>s}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}}},40652:(t,n,e)=>{e.d(n,{Z:()=>h});var i=e(89555),r=e(17728),o=e(4224),s=e(53863),a=e(41221);function h(t,n){var e=(0,r.Z)(!0),h=null,u=o.Z,c=null,l=(0,s.d)(f);function f(r){var o,s,a,f=(r=(0,i.Z)(r)).length,_=!1;for(null==h&&(c=u(a=l())),o=0;o<=f;++o)!(o<f&&e(s=r[o],o,r))===_&&((_=!_)?c.lineStart():c.lineEnd()),_&&c.point(+t(s,o,r),+n(s,o,r));if(a)return c=null,a+""||null}return t="function"==typeof t?t:void 0===t?a.x:(0,r.Z)(t),n="function"==typeof n?n:void 0===n?a.y:(0,r.Z)(n),f.x=function(n){return arguments.length?(t="function"==typeof n?n:(0,r.Z)(+n),f):t},f.y=function(t){return arguments.length?(n="function"==typeof t?t:(0,r.Z)(+t),f):n},f.defined=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.Z)(!!t),f):e},f.curve=function(t){return arguments.length?(u=t,null!=h&&(c=u(h)),f):u},f.context=function(t){return arguments.length?(null==t?h=c=null:c=u(h=t),f):h},f}},90596:(t,n,e)=>{e.d(n,{BZ:()=>_,Fp:()=>s,Ho:()=>c,Kh:()=>p,O$:()=>h,VV:()=>a,Wn:()=>i,ZR:()=>y,_b:()=>u,fv:()=>r,mC:()=>o,ou:()=>f,pi:()=>l});const i=Math.abs,r=Math.atan2,o=Math.cos,s=Math.max,a=Math.min,h=Math.sin,u=Math.sqrt,c=1e-12,l=Math.PI,f=l/2,_=2*l;function p(t){return t>1?0:t<-1?l:Math.acos(t)}function y(t){return t>=1?f:t<=-1?-f:Math.asin(t)}},98010:(t,n,e)=>{function i(){}e.d(n,{Z:()=>i})},53863:(t,n,e)=>{e.d(n,{d:()=>r});var i=e(3791);function r(t){let n=3;return t.digits=function(e){if(!arguments.length)return n;if(null==e)n=null;else{const t=Math.floor(e);if(!(t>=0))throw new RangeError(`invalid digits: ${e}`);n=t}return t},()=>new i.y$(n)}},41221:(t,n,e)=>{function i(t){return t[0]}function r(t){return t[1]}e.d(n,{x:()=>i,y:()=>r})},94031:(t,n,e)=>{var i,r,o,s,a,h;e.d(n,{Z1:()=>o,g0:()=>s,i$:()=>r,wp:()=>a}),h={dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},i=(0,e(6367).Z)(h),r=i.format,o=i.parse,s=i.utcFormat,a=i.utcParse},6367:(t,n,e)=>{e.d(n,{Z:()=>u});var i=e(24645),r=e(6054),o=e(47878);function s(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function a(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function h(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function u(t){var n=t.dateTime,e=t.date,o=t.time,u=t.periods,l=t.days,f=t.shortDays,_=t.months,p=t.shortMonths,y=g(u),X=x(u),yt=g(l),kt=x(l),$t=g(f),Ct=x(f),Ut=g(_),Dt=x(_),St=g(p),Pt=x(p),Yt={a:function(t){return f[t.getDay()]},A:function(t){return l[t.getDay()]},b:function(t){return p[t.getMonth()]},B:function(t){return _[t.getMonth()]},c:null,d:F,e:F,f:R,g:tt,G:et,H:B,I:O,j,L:q,m:L,M:J,p:function(t){return u[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Tt,s:Nt,S:z,u:I,U:V,V:W,w:Q,W:G,x:null,X:null,y:K,Y:nt,Z:it,"%":Zt},Et={a:function(t){return f[t.getUTCDay()]},A:function(t){return l[t.getUTCDay()]},b:function(t){return p[t.getUTCMonth()]},B:function(t){return _[t.getUTCMonth()]},c:null,d:rt,e:rt,f:ut,g:mt,G:Mt,H:ot,I:st,j:at,L:ht,m:ct,M:lt,p:function(t){return u[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Tt,s:Nt,S:ft,u:_t,U:pt,V:gt,w:xt,W:dt,x:null,X:null,y:vt,Y:wt,Z:bt,"%":Zt},At={a:function(t,n,e){var i=$t.exec(n.slice(e));return i?(t.w=Ct.get(i[0].toLowerCase()),e+i[0].length):-1},A:function(t,n,e){var i=yt.exec(n.slice(e));return i?(t.w=kt.get(i[0].toLowerCase()),e+i[0].length):-1},b:function(t,n,e){var i=St.exec(n.slice(e));return i?(t.m=Pt.get(i[0].toLowerCase()),e+i[0].length):-1},B:function(t,n,e){var i=Ut.exec(n.slice(e));return i?(t.m=Dt.get(i[0].toLowerCase()),e+i[0].length):-1},c:function(t,e,i){return Bt(t,n,e,i)},d:$,e:$,f:Y,g:Z,G:b,H:U,I:U,j:C,L:P,m:k,M:D,p:function(t,n,e){var i=y.exec(n.slice(e));return i?(t.p=X.get(i[0].toLowerCase()),e+i[0].length):-1},q:N,Q:A,s:H,S,u:v,U:m,V:w,w:d,W:M,x:function(t,n,i){return Bt(t,e,n,i)},X:function(t,n,e){return Bt(t,o,n,e)},y:Z,Y:b,Z:T,"%":E};function Ht(t,n){return function(e){var i,r,o,s=[],a=-1,h=0,u=t.length;for(e instanceof Date||(e=new Date(+e));++a<u;)37===t.charCodeAt(a)&&(s.push(t.slice(h,a)),null!=(r=c[i=t.charAt(++a)])?i=t.charAt(++a):r="e"===i?" ":"0",(o=n[i])&&(i=o(e,r)),s.push(i),h=a+1);return s.push(t.slice(h,a)),s.join("")}}function Ft(t,n){return function(e){var o,u,c=h(1900,void 0,1);if(Bt(c,t,e+="",0)!=e.length)return null;if("Q"in c)return new Date(c.Q);if("s"in c)return new Date(1e3*c.s+("L"in c?c.L:0));if(n&&!("Z"in c)&&(c.Z=0),"p"in c&&(c.H=c.H%12+12*c.p),void 0===c.m&&(c.m="q"in c?c.q:0),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(u=(o=a(h(c.y,0,1))).getUTCDay(),o=u>4||0===u?i.l6.ceil(o):(0,i.l6)(o),o=r.AN.offset(o,7*(c.V-1)),c.y=o.getUTCFullYear(),c.m=o.getUTCMonth(),c.d=o.getUTCDate()+(c.w+6)%7):(u=(o=s(h(c.y,0,1))).getDay(),o=u>4||0===u?i.Ox.ceil(o):(0,i.Ox)(o),o=r.rr.offset(o,7*(c.V-1)),c.y=o.getFullYear(),c.m=o.getMonth(),c.d=o.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),u="Z"in c?a(h(c.y,0,1)).getUTCDay():s(h(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(u+5)%7:c.w+7*c.U-(u+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,a(c)):s(c)}}function Bt(t,n,e,i){for(var r,o,s=0,a=n.length,h=e.length;s<a;){if(i>=h)return-1;if(37===(r=n.charCodeAt(s++))){if(r=n.charAt(s++),!(o=At[r in c?n.charAt(s++):r])||(i=o(t,e,i))<0)return-1}else if(r!=e.charCodeAt(i++))return-1}return i}return Yt.x=Ht(e,Yt),Yt.X=Ht(o,Yt),Yt.c=Ht(n,Yt),Et.x=Ht(e,Et),Et.X=Ht(o,Et),Et.c=Ht(n,Et),{format:function(t){var n=Ht(t+="",Yt);return n.toString=function(){return t},n},parse:function(t){var n=Ft(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=Ht(t+="",Et);return n.toString=function(){return t},n},utcParse:function(t){var n=Ft(t+="",!0);return n.toString=function(){return t},n}}}var c={"-":"",_:" ",0:"0"},l=/^\s*\d+/,f=/^%/,_=/[\\^$*+?|[\]().{}]/g;function p(t,n,e){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o<e?new Array(e-o+1).join(n)+r:r)}function y(t){return t.replace(_,"\\$&")}function g(t){return new RegExp("^(?:"+t.map(y).join("|")+")","i")}function x(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function d(t,n,e){var i=l.exec(n.slice(e,e+1));return i?(t.w=+i[0],e+i[0].length):-1}function v(t,n,e){var i=l.exec(n.slice(e,e+1));return i?(t.u=+i[0],e+i[0].length):-1}function m(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.U=+i[0],e+i[0].length):-1}function w(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.V=+i[0],e+i[0].length):-1}function M(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.W=+i[0],e+i[0].length):-1}function b(t,n,e){var i=l.exec(n.slice(e,e+4));return i?(t.y=+i[0],e+i[0].length):-1}function Z(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),e+i[0].length):-1}function T(t,n,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function N(t,n,e){var i=l.exec(n.slice(e,e+1));return i?(t.q=3*i[0]-3,e+i[0].length):-1}function k(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.m=i[0]-1,e+i[0].length):-1}function $(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.d=+i[0],e+i[0].length):-1}function C(t,n,e){var i=l.exec(n.slice(e,e+3));return i?(t.m=0,t.d=+i[0],e+i[0].length):-1}function U(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.H=+i[0],e+i[0].length):-1}function D(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.M=+i[0],e+i[0].length):-1}function S(t,n,e){var i=l.exec(n.slice(e,e+2));return i?(t.S=+i[0],e+i[0].length):-1}function P(t,n,e){var i=l.exec(n.slice(e,e+3));return i?(t.L=+i[0],e+i[0].length):-1}function Y(t,n,e){var i=l.exec(n.slice(e,e+6));return i?(t.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function E(t,n,e){var i=f.exec(n.slice(e,e+1));return i?e+i[0].length:-1}function A(t,n,e){var i=l.exec(n.slice(e));return i?(t.Q=+i[0],e+i[0].length):-1}function H(t,n,e){var i=l.exec(n.slice(e));return i?(t.s=+i[0],e+i[0].length):-1}function F(t,n){return p(t.getDate(),n,2)}function B(t,n){return p(t.getHours(),n,2)}function O(t,n){return p(t.getHours()%12||12,n,2)}function j(t,n){return p(1+r.rr.count((0,o.jB)(t),t),n,3)}function q(t,n){return p(t.getMilliseconds(),n,3)}function R(t,n){return q(t,n)+"000"}function L(t,n){return p(t.getMonth()+1,n,2)}function J(t,n){return p(t.getMinutes(),n,2)}function z(t,n){return p(t.getSeconds(),n,2)}function I(t){var n=t.getDay();return 0===n?7:n}function V(t,n){return p(i.Zy.count((0,o.jB)(t)-1,t),n,2)}function X(t){var n=t.getDay();return n>=4||0===n?(0,i.Ig)(t):i.Ig.ceil(t)}function W(t,n){return t=X(t),p(i.Ig.count((0,o.jB)(t),t)+(4===(0,o.jB)(t).getDay()),n,2)}function Q(t){return t.getDay()}function G(t,n){return p(i.Ox.count((0,o.jB)(t)-1,t),n,2)}function K(t,n){return p(t.getFullYear()%100,n,2)}function tt(t,n){return p((t=X(t)).getFullYear()%100,n,2)}function nt(t,n){return p(t.getFullYear()%1e4,n,4)}function et(t,n){var e=t.getDay();return p((t=e>=4||0===e?(0,i.Ig)(t):i.Ig.ceil(t)).getFullYear()%1e4,n,4)}function it(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+p(n/60|0,"0",2)+p(n%60,"0",2)}function rt(t,n){return p(t.getUTCDate(),n,2)}function ot(t,n){return p(t.getUTCHours(),n,2)}function st(t,n){return p(t.getUTCHours()%12||12,n,2)}function at(t,n){return p(1+r.AN.count((0,o.ol)(t),t),n,3)}function ht(t,n){return p(t.getUTCMilliseconds(),n,3)}function ut(t,n){return ht(t,n)+"000"}function ct(t,n){return p(t.getUTCMonth()+1,n,2)}function lt(t,n){return p(t.getUTCMinutes(),n,2)}function ft(t,n){return p(t.getUTCSeconds(),n,2)}function _t(t){var n=t.getUTCDay();return 0===n?7:n}function pt(t,n){return p(i.pI.count((0,o.ol)(t)-1,t),n,2)}function yt(t){var n=t.getUTCDay();return n>=4||0===n?(0,i.hB)(t):i.hB.ceil(t)}function gt(t,n){return t=yt(t),p(i.hB.count((0,o.ol)(t),t)+(4===(0,o.ol)(t).getUTCDay()),n,2)}function xt(t){return t.getUTCDay()}function dt(t,n){return p(i.l6.count((0,o.ol)(t)-1,t),n,2)}function vt(t,n){return p(t.getUTCFullYear()%100,n,2)}function mt(t,n){return p((t=yt(t)).getUTCFullYear()%100,n,2)}function wt(t,n){return p(t.getUTCFullYear()%1e4,n,4)}function Mt(t,n){var e=t.getUTCDay();return p((t=e>=4||0===e?(0,i.hB)(t):i.hB.ceil(t)).getUTCFullYear()%1e4,n,4)}function bt(){return"+0000"}function Zt(){return"%"}function Tt(t){return+t}function Nt(t){return Math.floor(+t/1e3)}},6054:(t,n,e)=>{e.d(n,{AN:()=>s,KB:()=>a,rr:()=>o});var i=e(66712),r=e(45022);const o=(0,i.J)((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*r.yB)/r.UD),(t=>t.getDate()-1)),s=(o.range,(0,i.J)((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/r.UD),(t=>t.getUTCDate()-1))),a=(s.range,(0,i.J)((t=>{t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+n)}),((t,n)=>(n-t)/r.UD),(t=>Math.floor(t/r.UD))));a.range},45022:(t,n,e)=>{e.d(n,{UD:()=>s,Y2:()=>o,Ym:()=>i,iM:()=>a,jz:()=>h,qz:()=>u,yB:()=>r});const i=1e3,r=60*i,o=60*r,s=24*o,a=7*s,h=30*s,u=365*s},75458:(t,n,e)=>{e.d(n,{WQ:()=>o,lM:()=>s});var i=e(66712),r=e(45022);const o=(0,i.J)((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*r.Ym-t.getMinutes()*r.yB)}),((t,n)=>{t.setTime(+t+n*r.Y2)}),((t,n)=>(n-t)/r.Y2),(t=>t.getHours())),s=(o.range,(0,i.J)((t=>{t.setUTCMinutes(0,0,0)}),((t,n)=>{t.setTime(+t+n*r.Y2)}),((t,n)=>(n-t)/r.Y2),(t=>t.getUTCHours())));s.range},66712:(t,n,e)=>{e.d(n,{J:()=>o});const i=new Date,r=new Date;function o(t,n,e,s){function a(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return a.floor=n=>(t(n=new Date(+n)),n),a.ceil=e=>(t(e=new Date(e-1)),n(e,1),t(e),e),a.round=t=>{const n=a(t),e=a.ceil(t);return t-n<e-t?n:e},a.offset=(t,e)=>(n(t=new Date(+t),null==e?1:Math.floor(e)),t),a.range=(e,i,r)=>{const o=[];if(e=a.ceil(e),r=null==r?1:Math.floor(r),!(e<i&&r>0))return o;let s;do{o.push(s=new Date(+e)),n(e,r),t(e)}while(s<e&&e<i);return o},a.filter=e=>o((n=>{if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),((t,i)=>{if(t>=t)if(i<0)for(;++i<=0;)for(;n(t,-1),!e(t););else for(;--i>=0;)for(;n(t,1),!e(t););})),e&&(a.count=(n,o)=>(i.setTime(+n),r.setTime(+o),t(i),t(r),Math.floor(e(i,r))),a.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(s?n=>s(n)%t==0:n=>a.count(0,n)%t==0):a:null)),a}},17540:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(66712);const r=(0,i.J)((()=>{}),((t,n)=>{t.setTime(+t+n)}),((t,n)=>n-t));r.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,i.J)((n=>{n.setTime(Math.floor(n/t)*t)}),((n,e)=>{n.setTime(+n+e*t)}),((n,e)=>(e-n)/t)):r:null),r.range},5957:(t,n,e)=>{e.d(n,{Z_:()=>o,rz:()=>s});var i=e(66712),r=e(45022);const o=(0,i.J)((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*r.Ym)}),((t,n)=>{t.setTime(+t+n*r.yB)}),((t,n)=>(n-t)/r.yB),(t=>t.getMinutes())),s=(o.range,(0,i.J)((t=>{t.setUTCSeconds(0,0)}),((t,n)=>{t.setTime(+t+n*r.yB)}),((t,n)=>(n-t)/r.yB),(t=>t.getUTCMinutes())));s.range},43155:(t,n,e)=>{e.d(n,{F0:()=>r,me:()=>o});var i=e(66712);const r=(0,i.J)((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,n)=>{t.setMonth(t.getMonth()+n)}),((t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())),(t=>t.getMonth())),o=(r.range,(0,i.J)((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)}),((t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth())));o.range},58887:(t,n,e)=>{e.d(n,{E:()=>o});var i=e(66712),r=e(45022);const o=(0,i.J)((t=>{t.setTime(t-t.getMilliseconds())}),((t,n)=>{t.setTime(+t+n*r.Ym)}),((t,n)=>(n-t)/r.Ym),(t=>t.getUTCSeconds()));o.range},18744:(t,n,e)=>{e.d(n,{WG:()=>y,_g:()=>d,jK:()=>x,jo:()=>g});var i=e(2518),r=e(73002),o=e(45022),s=e(17540),a=e(58887),h=e(5957),u=e(75458),c=e(6054),l=e(24645),f=e(43155),_=e(47878);function p(t,n,e,h,u,c){const l=[[a.E,1,o.Ym],[a.E,5,5*o.Ym],[a.E,15,15*o.Ym],[a.E,30,30*o.Ym],[c,1,o.yB],[c,5,5*o.yB],[c,15,15*o.yB],[c,30,30*o.yB],[u,1,o.Y2],[u,3,3*o.Y2],[u,6,6*o.Y2],[u,12,12*o.Y2],[h,1,o.UD],[h,2,2*o.UD],[e,1,o.iM],[n,1,o.jz],[n,3,3*o.jz],[t,1,o.qz]];function f(n,e,a){const h=Math.abs(e-n)/a,u=(0,i.Z)((([,,t])=>t)).right(l,h);if(u===l.length)return t.every((0,r.ly)(n/o.qz,e/o.qz,a));if(0===u)return s.A.every(Math.max((0,r.ly)(n,e,a),1));const[c,f]=l[h/l[u-1][2]<l[u][2]/h?u-1:u];return c.every(f)}return[function(t,n,e){const i=n<t;i&&([t,n]=[n,t]);const r=e&&"function"==typeof e.range?e:f(t,n,e),o=r?r.range(t,+n+1):[];return i?o.reverse():o},f]}const[y,g]=p(_.ol,f.me,l.pI,c.KB,u.lM,h.rz),[x,d]=p(_.jB,f.F0,l.Zy,c.rr,u.WQ,h.Z_)},24645:(t,n,e)=>{e.d(n,{EF:()=>u,Ig:()=>c,Lq:()=>f,Ox:()=>a,YD:()=>h,Zy:()=>s,hB:()=>d,l6:()=>y,pI:()=>p,y2:()=>l});var i=e(66712),r=e(45022);function o(t){return(0,i.J)((n=>{n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),((t,n)=>{t.setDate(t.getDate()+7*n)}),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*r.yB)/r.iM))}const s=o(0),a=o(1),h=o(2),u=o(3),c=o(4),l=o(5),f=o(6);function _(t){return(0,i.J)((n=>{n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)}),((t,n)=>(n-t)/r.iM))}s.range,a.range,h.range,u.range,c.range,l.range,f.range;const p=_(0),y=_(1),g=_(2),x=_(3),d=_(4),v=_(5),m=_(6);p.range,y.range,g.range,x.range,d.range,v.range,m.range},47878:(t,n,e)=>{e.d(n,{jB:()=>r,ol:()=>o});var i=e(66712);const r=(0,i.J)((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n)}),((t,n)=>n.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));r.every=t=>isFinite(t=Math.floor(t))&&t>0?(0,i.J)((n=>{n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),((n,e)=>{n.setFullYear(n.getFullYear()+e*t)})):null,r.range;const o=(0,i.J)((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)}),((t,n)=>n.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));o.every=t=>isFinite(t=Math.floor(t))&&t>0?(0,i.J)((n=>{n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),((n,e)=>{n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null,o.range},11647:(t,n,e)=>{e.d(n,{B7:()=>g,HT:()=>x,zO:()=>p});var i,r,o=0,s=0,a=0,h=1e3,u=0,c=0,l=0,f="object"==typeof performance&&performance.now?performance:Date,_="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return c||(_(y),c=f.now()+l)}function y(){c=0}function g(){this._call=this._time=this._next=null}function x(t,n,e){var i=new g;return i.restart(t,n,e),i}function d(){c=(u=f.now())+l,o=s=0;try{!function(){p(),++o;for(var t,n=i;n;)(t=c-n._time)>=0&&n._call.call(void 0,t),n=n._next;--o}()}finally{o=0,function(){for(var t,n,e=i,o=1/0;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:i=n);r=t,m(o)}(),c=0}}function v(){var t=f.now(),n=t-u;n>h&&(l-=n,u=t)}function m(t){o||(s&&(s=clearTimeout(s)),t-c>24?(t<1/0&&(s=setTimeout(d,t-f.now()-l)),a&&(a=clearInterval(a))):(a||(u=f.now(),a=setInterval(v,h)),o=1,_(d)))}g.prototype=x.prototype={constructor:g,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=t,this._time=e,m()},stop:function(){this._call&&(this._call=null,this._time=1/0,m())}}},18694:(t,n,e)=>{e.d(n,{H:()=>r,L:()=>i});class i extends Map{constructor(t,n=h){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(o(this,t))}has(t){return super.has(o(this,t))}set(t,n){return super.set(s(this,t),n)}delete(t){return super.delete(a(this,t))}}class r extends Set{constructor(t,n=h){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(o(this,t))}add(t){return super.add(s(this,t))}delete(t){return super.delete(a(this,t))}}function o({_intern:t,_key:n},e){const i=n(e);return t.has(i)?t.get(i):e}function s({_intern:t,_key:n},e){const i=n(e);return t.has(i)?t.get(i):(t.set(i,e),e)}function a({_intern:t,_key:n},e){const i=n(e);return t.has(i)&&(e=t.get(e),t.delete(i)),e}function h(t){return null!==t&&"object"==typeof t?t.valueOf():t}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4501],{79580:function(t){t.exports=function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var s=this.$utils(),r=(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 n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return s.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return s.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return s.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 i.bind(this)(r)}}}()},69746:function(t){t.exports=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|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,r={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],l=function(t){var e=r[t];return e&&(e.indexOf?e:e.s.concat(e.f))},d=function(t,e){var n,i=r.meridiem;if(i){for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,e))>-1){n=s>12;break}}else n=t===(e?"pm":"PM");return n},u={A:[s,function(t){this.afternoon=d(t,!1)}],a:[s,function(t){this.afternoon=d(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[n,o("day")],Do:[s,function(t){var e=r.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,o("month")],MM:[n,o("month")],MMM:[s,function(t){var e=l("months"),n=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[s,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function h(n){var i,s;i=n,s=r&&r.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var r=i&&i.toUpperCase();return n||s[i]||t[i]||s[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=a.length,c=0;c<o;c+=1){var l=a[c],d=u[l],h=d&&d[0],f=d&&d[1];a[c]=f?{regex:h,parser:f}:l.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,i=0;n<o;n+=1){var s=a[n];if("string"==typeof s)i+=s.length;else{var r=s.regex,c=s.parser,l=t.slice(i),d=r.exec(l)[0];c.call(e,d),t=t.replace(d,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(a=t.parseTwoDigitYear);var i=e.prototype,s=i.parse;i.parse=function(t){var e=t.date,i=t.utc,a=t.args;this.$u=i;var o=a[1];if("string"==typeof o){var c=!0===a[2],l=!0===a[3],d=c||l,u=a[2];l&&(u=a[2]),r=this.$locale(),!c&&u&&(r=n.Ls[u]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var i=h(e)(t),s=i.year,r=i.month,a=i.day,o=i.hours,c=i.minutes,l=i.seconds,d=i.milliseconds,u=i.zone,f=new Date,y=a||(s||r?1:f.getDate()),m=s||f.getFullYear(),k=0;s&&!r||(k=r>0?r-1:f.getMonth());var p=o||0,g=c||0,b=l||0,T=d||0;return u?new Date(Date.UTC(m,k,y,p,g,b,T+60*u.offset*1e3)):n?new Date(Date.UTC(m,k,y,p,g,b,T)):new Date(m,k,y,p,g,b,T)}catch(t){return new Date("")}}(e,o,i),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),d&&e!=this.format(o)&&(this.$d=new Date("")),r={}}else if(o instanceof Array)for(var f=o.length,y=1;y<=f;y+=1){a[1]=o[y-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}y===f&&(this.$d=new Date(""))}else s.call(this,t)}}}()},57635:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var s=function(e){return e.add(4-e.isoWeekday(),t)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,r,a,o=s(this),c=(n=this.isoWeekYear(),a=4-(r=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(a+=7),r.add(a,t));return o.diff(c,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=r.startOf;r.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):a.bind(this)(t,e)}}}()},94501:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>tt});var i=n(7608),s=n(27693),r=n.n(s),a=n(57635),o=n.n(a),c=n(69746),l=n.n(c),d=n(79580),u=n.n(d),h=n(77019),f=n(23617),y=(n(31699),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],i=[1,26],s=[1,27],r=[1,28],a=[1,29],o=[1,30],c=[1,31],l=[1,9],d=[1,10],u=[1,11],h=[1,12],f=[1,13],y=[1,14],m=[1,15],k=[1,16],p=[1,18],g=[1,19],b=[1,20],T=[1,21],x=[1,22],v=[1,24],_=[1,32],w={trace:function(){},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,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$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",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"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],[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],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setWeekday("monday");break;case 9:i.setWeekday("tuesday");break;case 10:i.setWeekday("wednesday");break;case 11:i.setWeekday("thursday");break;case 12:i.setWeekday("friday");break;case 13:i.setWeekday("saturday");break;case 14:i.setWeekday("sunday");break;case 15:i.setDateFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 16:i.enableInclusiveEndDates(),this.$=r[o].substr(18);break;case 17:i.TopAxis(),this.$=r[o].substr(8);break;case 18:i.setAxisFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 19:i.setTickInterval(r[o].substr(13)),this.$=r[o].substr(13);break;case 20:i.setExcludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 21:i.setIncludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 22:i.setTodayMarker(r[o].substr(12)),this.$=r[o].substr(12);break;case 24:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 25:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 26:case 27:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 28:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 30:i.addTask(r[o-1],r[o]),this.$="task";break;case 31:this.$=r[o-1],i.setClickEvent(r[o-1],r[o],null);break;case 32:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],r[o]);break;case 33:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],null),i.setLink(r[o-2],r[o]);break;case 34:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-2],r[o-1]),i.setLink(r[o-3],r[o]);break;case 35:this.$=r[o-2],i.setClickEvent(r[o-2],r[o],null),i.setLink(r[o-2],r[o-1]);break;case 36:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-1],r[o]),i.setLink(r[o-3],r[o-2]);break;case 37:this.$=r[o-1],i.setLink(r[o-1],r[o]);break;case 38:case 44:this.$=r[o-1]+" "+r[o];break;case 39:case 40:case 42:this.$=r[o-2]+" "+r[o-1]+" "+r[o];break;case 41:case 43:this.$=r[o-3]+" "+r[o-2]+" "+r[o-1]+" "+r[o]}},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:n,13:i,14:s,15:r,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:T,33:x,34:23,35:v,37:_},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:n,13:i,14:s,15:r,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:T,33:x,34:23,35:v,37:_},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),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]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},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]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),d=Object.create(this.lexer),u={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(u.yy[h]=this.yy[h]);d.setInput(t,u.yy),u.yy.lexer=d,u.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;s.push(f);var y=d.options&&d.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,k,p,g,b,T,x,v,_,w={};;){if(k=e[e.length-1],this.defaultActions[k]?p=this.defaultActions[k]:(null==m&&(_=void 0,"number"!=typeof(_=n.pop()||d.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),m=_),p=r[k]&&r[k][m]),void 0===p||!p.length||!p[0]){var $;for(b in v=[],r[k])this.terminals_[b]&&b>2&&v.push("'"+this.terminals_[b]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError($,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:f,expected:v})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(p[0]){case 1:e.push(m),i.push(d.yytext),s.push(d.yylloc),e.push(p[1]),m=null,c=d.yyleng,a=d.yytext,o=d.yylineno,f=d.yylloc;break;case 2:if(T=this.productions_[p[1]][1],w.$=i[i.length-T],w._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},y&&(w._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(g=this.performAction.apply(w,[a,c,o,u.yy,p[1],i,s].concat(l))))return g;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),s=s.slice(0,-1*T)),e.push(this.productions_[p[1]][0]),i.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},$={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput: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},input: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},unput:function(t){var e=t.length,n=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 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-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){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=t[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+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],n=this.performAction.call(this,this.yy,this,e,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}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;r<s.length;r++)if((n=this._input.match(this.rules[s[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&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})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 16:case 19:case 22:case 25:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:case 14:break;case 11:return 10;case 15:this.begin("href");break;case 17:return 40;case 18:this.begin("callbackname");break;case 20:this.popState(),this.begin("callbackargs");break;case 21:return 38;case 23:return 39;case 24:this.begin("click");break;case 26:return 37;case 27:return 4;case 28:return 19;case 29:return 20;case 30:return 21;case 31:return 22;case 32:return 23;case 33:return 25;case 34:return 24;case 35:return 26;case 36:return 12;case 37:return 13;case 38:return 14;case 39:return 15;case 40:return 16;case 41:return 17;case 42:return 18;case 43:return"date";case 44:return 27;case 45:return"accDescription";case 46:return 33;case 47:return 35;case 48:return 36;case 49:return":";case 50:return 6;case 51:return"INVALID"}},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,/^(?:%[^\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,/^(?:\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:[22,23],inclusive:!1},callbackname:{rules:[19,20,21],inclusive:!1},href:{rules:[16,17],inclusive:!1},click:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,18,24,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],inclusive:!0}}};function D(){this.yy={}}return w.lexer=$,D.prototype=w,w.Parser=D,new D}());y.parser=y;const m=y;r().extend(o()),r().extend(l()),r().extend(u());let k,p="",g="",b="",T=[],x=[],v={},_=[],w=[],$="",D="";const C=["active","done","crit","milestone"];let S=[],E=!1,Y=!1,M="sunday",A=0;const L=function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim())))},O=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let s,a;s=t.startTime instanceof Date?r()(t.startTime):r()(t.startTime,e,!0),s=s.add(1,"d"),a=t.endTime instanceof Date?r()(t.endTime):r()(t.endTime,e,!0);const[o,c]=F(s,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},F=function(t,e,n,i,s){let r=!1,a=null;for(;t<=e;)r||(a=e.toDate()),r=L(t,n,i,s),r&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},I=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==i){let t=null;if(i[1].split(" ").forEach((function(e){let n=Z(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n)})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}let s=r()(n,e.trim(),!0);if(s.isValid())return s.toDate();{h.l.debug("Invalid date:"+n),h.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},W=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},z=function(t,e,n,i=!1){n=n.trim();let s=r()(n,e.trim(),!0);if(s.isValid())return i&&(s=s.add(1,"d")),s.toDate();let a=r()(t);const[o,c]=W(n);if(!Number.isNaN(o)){const t=a.add(o,c);t.isValid()&&(a=t)}return a.toDate()};let P=0;const B=function(t){return void 0===t?(P+=1,"task"+P):t};let N,H,j=[];const U={},Z=function(t){const e=U[t];return j[e]},G=function(){const t=function(t){const e=j[t];let n="";switch(j[t].raw.startTime.type){case"prevTaskEnd":{const t=Z(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=I(0,p,j[t].raw.startTime.startData),n&&(j[t].startTime=n)}return j[t].startTime&&(j[t].endTime=z(j[t].startTime,p,j[t].raw.endTime.data,E),j[t].endTime&&(j[t].processed=!0,j[t].manualEndTime=r()(j[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),O(j[t],p,x,T))),j[t].processed};let e=!0;for(const[n,i]of j.entries())t(n),e=e&&i.processed;return e},R=function(t,e){t.split(",").forEach((function(t){let n=Z(t);void 0!==n&&n.classes.push(e)}))},V=function(t,e){S.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e()}))}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e()}))}))},q={getConfig:()=>(0,h.c)().gantt,clear:function(){_=[],w=[],$="",S=[],P=0,N=void 0,H=void 0,j=[],p="",g="",D="",k=void 0,b="",T=[],x=[],E=!1,Y=!1,A=0,v={},(0,h.t)(),M="sunday"},setDateFormat:function(t){p=t},getDateFormat:function(){return p},enableInclusiveEndDates:function(){E=!0},endDatesAreInclusive:function(){return E},enableTopAxis:function(){Y=!0},topAxisEnabled:function(){return Y},setAxisFormat:function(t){g=t},getAxisFormat:function(){return g},setTickInterval:function(t){k=t},getTickInterval:function(){return k},setTodayMarker:function(t){b=t},getTodayMarker:function(){return b},setAccTitle:h.s,getAccTitle:h.g,setDiagramTitle:h.q,getDiagramTitle:h.r,setDisplayMode:function(t){D=t},getDisplayMode:function(){return D},setAccDescription:h.b,getAccDescription:h.a,addSection:function(t){$=t,_.push(t)},getSections:function(){return _},getTasks:function(){let t=G(),e=0;for(;!t&&e<10;)t=G(),e++;return w=j,w},addTask:function(t,e){const n={section:$,type:$,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),s={};X(i,s,C);for(let t=0;t<i.length;t++)i[t]=i[t].trim();switch(i.length){case 1:s.id=B(),s.startTime={type:"prevTaskEnd",id:t},s.endTime={data:i[0]};break;case 2:s.id=B(),s.startTime={type:"getStartDate",startData:i[0]},s.endTime={data:i[1]};break;case 3:s.id=B(i[0]),s.startTime={type:"getStartDate",startData:i[1]},s.endTime={data:i[2]}}return s}(H,e);n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=H,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.order=A,A++;const s=j.push(n);H=n.id,U[n.id]=s-1},findTaskById:Z,addTaskOrg:function(t,e){const n={section:$,type:$,description:t,task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),s={};X(i,s,C);for(let t=0;t<i.length;t++)i[t]=i[t].trim();let a="";switch(i.length){case 1:s.id=B(),s.startTime=t.endTime,a=i[0];break;case 2:s.id=B(),s.startTime=I(0,p,i[0]),a=i[1];break;case 3:s.id=B(i[0]),s.startTime=I(0,p,i[1]),a=i[2]}return a&&(s.endTime=z(s.startTime,p,a,E),s.manualEndTime=r()(a,"YYYY-MM-DD",!0).isValid(),O(s,p,x,T)),s}(N,e);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,N=n,w.push(n)},setIncludes:function(t){T=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return T},setExcludes:function(t){x=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return x},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){if("loose"!==(0,h.c)().securityLevel)return;if(void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==Z(t)&&V(t,(()=>{h.u.runFunc(e,...i)}))}(t,e,n)})),R(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,h.c)().securityLevel&&(n=(0,i.Nm)(e)),t.split(",").forEach((function(t){void 0!==Z(t)&&(V(t,(()=>{window.open(n,"_self")})),v[t]=n)})),R(t,"clickable")},getLinks:function(){return v},bindFunctions:function(t){S.forEach((function(e){e(t)}))},parseDuration:W,isInvalidDate:L,setWeekday:function(t){M=t},getWeekday:function(){return M}};function X(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const s=new RegExp("^\\s*"+n+"\\s*$");t[0].match(s)&&(e[n]=!0,t.shift(1),i=!0)}))}const Q={monday:f.Ox9,tuesday:f.YDX,wednesday:f.EFj,thursday:f.Igq,friday:f.y2j,saturday:f.LqH,sunday:f.Zyz},J=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),s=0;for(const t of i)for(let i=0;i<n.length;i++)if(t.startTime>=n[i]){n[i]=t.endTime,t.order=i+e,i>s&&(s=i);break}return s};let K;const tt={parser:m,db:q,renderer:{setConf:function(){h.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const s=(0,h.c)().gantt,a=(0,h.c)().securityLevel;let o;"sandbox"===a&&(o=(0,f.Ys)("#i"+e));const c="sandbox"===a?(0,f.Ys)(o.nodes()[0].contentDocument.body):(0,f.Ys)("body"),l="sandbox"===a?o.nodes()[0].contentDocument:document,d=l.getElementById(e);K=d.parentElement.offsetWidth,void 0===K&&(K=1200),void 0!==s.useWidth&&(K=s.useWidth);const u=i.db.getTasks();let y=[];for(const t of u)y.push(t.type);y=function(t){const e={},n=[];for(let i=0,s=t.length;i<s;++i)Object.prototype.hasOwnProperty.call(e,t[i])||(e[t[i]]=!0,n.push(t[i]));return n}(y);const m={};let k=2*s.topPadding;if("compact"===i.db.getDisplayMode()||"compact"===s.displayMode){const t={};for(const e of u)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(const n of Object.keys(t)){const i=J(t[n],e)+1;e+=i,k+=i*(s.barHeight+s.barGap),m[n]=i}}else{k+=u.length*(s.barHeight+s.barGap);for(const t of y)m[t]=u.filter((e=>e.type===t)).length}d.setAttribute("viewBox","0 0 "+K+" "+k);const p=c.select(`[id="${e}"]`),g=(0,f.Xf)().domain([(0,f.VV$)(u,(function(t){return t.startTime})),(0,f.Fp7)(u,(function(t){return t.endTime}))]).rangeRound([0,K-s.leftPadding-s.rightPadding]);u.sort((function(t,e){const n=t.startTime,i=e.startTime;let s=0;return n>i?s=1:n<i&&(s=-1),s})),function(t,n,a){const o=s.barHeight,c=o+s.barGap,d=s.topPadding,u=s.leftPadding;(0,f.BYU)().domain([0,y.length]).range(["#00B9FA","#F95002"]).interpolate(f.JHv),function(t,e,n,a,o,c,l,d){if(0===l.length&&0===d.length)return;let u,f;for(const{startTime:t,endTime:e}of c)(void 0===u||t<u)&&(u=t),(void 0===f||e>f)&&(f=e);if(!u||!f)return;if(r()(f).diff(r()(u),"year")>5)return void h.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");const y=i.db.getDateFormat(),m=[];let k=null,b=r()(u);for(;b.valueOf()<=f;)i.db.isInvalidDate(b,y,l,d)?k?k.end=b:k={start:b,end:b}:k&&(m.push(k),k=null),b=b.add(1,"d");p.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return g(t.start)+n})).attr("y",s.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return g(e)-g(t.start)})).attr("height",o-e-s.gridLineStartPadding).attr("transform-origin",(function(e,i){return(g(e.start)+n+.5*(g(e.end)-g(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range")}(c,d,u,0,a,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,r){let a=(0,f.LLu)(g).tickSize(-r+e+s.gridLineStartPadding).tickFormat((0,f.i$Z)(i.db.getAxisFormat()||s.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||s.tickInterval);if(null!==o){const t=o[1],e=o[2],n=i.db.getWeekday()||s.weekday;switch(e){case"millisecond":a.ticks(f.U8T.every(t));break;case"second":a.ticks(f.S1K.every(t));break;case"minute":a.ticks(f.Z_i.every(t));break;case"hour":a.ticks(f.WQD.every(t));break;case"day":a.ticks(f.rr1.every(t));break;case"week":a.ticks(Q[n].every(t));break;case"month":a.ticks(f.F0B.every(t))}}if(p.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||s.topAxis){let n=(0,f.F5q)(g).tickSize(-r+e+s.gridLineStartPadding).tickFormat((0,f.i$Z)(i.db.getAxisFormat()||s.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1],e=o[2],r=i.db.getWeekday()||s.weekday;switch(e){case"millisecond":n.ticks(f.U8T.every(t));break;case"second":n.ticks(f.S1K.every(t));break;case"minute":n.ticks(f.Z_i.every(t));break;case"hour":n.ticks(f.WQD.every(t));break;case"day":n.ticks(f.rr1.every(t));break;case"week":n.ticks(Q[r].every(t));break;case"month":n.ticks(f.F0B.every(t))}}p.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(u,d,0,a),function(t,n,r,a,o,c,l){const d=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));p.append("g").selectAll("rect").data(d).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+r-2})).attr("width",(function(){return l-s.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of y.entries())if(t.type===n)return"section section"+e%s.numberSectionStyles;return"section section0"}));const u=p.append("g").selectAll("rect").data(t).enter(),m=i.db.getLinks();if(u.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))-.5*o:g(t.startTime)+a})).attr("y",(function(t,e){return t.order*n+r})).attr("width",(function(t){return t.milestone?o:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+r+.5*o).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of y.entries())t.type===i&&(n=e%s.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),u.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",s.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*o),t.milestone&&(n=e+o);const i=this.getBBox().width;return i>n-e?n+i+1.5*s.leftPadding>l?e+a-5:n+a+5:(n-e)/2+e+a})).attr("y",(function(t,e){return t.order*n+s.barHeight/2+(s.fontSize/2-2)+r})).attr("text-height",o).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+o);const i=this.getBBox().width;let r="";t.classes.length>0&&(r=t.classes.join(" "));let a=0;for(const[e,n]of y.entries())t.type===n&&(a=e%s.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+a:"activeText"+a),t.done?c=t.crit?c+" doneCritText"+a:c+" doneText"+a:t.crit&&(c=c+" critText"+a),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*s.leftPadding>l?r+" taskTextOutsideLeft taskTextOutside"+a+" "+c:r+" taskTextOutsideRight taskTextOutside"+a+" "+c+" width-"+i:r+" taskText taskText"+a+" "+c+" width-"+i})),"sandbox"===(0,h.c)().securityLevel){let t;t=(0,f.Ys)("#i"+e);const n=t.nodes()[0].contentDocument;u.filter((function(t){return void 0!==m[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const s=e.parentNode;var r=n.createElement("a");r.setAttribute("xlink:href",m[t.id]),r.setAttribute("target","_top"),s.appendChild(r),r.appendChild(e),r.appendChild(i)}))}}(t,c,d,u,o,0,n),function(t,e){let n=0;const i=Object.keys(m).map((t=>[t,m[t]]));p.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(h.e.lineBreakRegex),n=-(e.length-1)/2,i=l.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=l.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,i.appendChild(e)}return i})).attr("x",10).attr("y",(function(s,r){if(!(r>0))return s[1]*t/2+e;for(let a=0;a<r;a++)return n+=i[r-1][1],s[1]*t/2+n*t+e})).attr("font-size",s.sectionFontSize).attr("class",(function(t){for(const[e,n]of y.entries())if(t[0]===n)return"sectionTitle sectionTitle"+e%s.numberSectionStyles;return"sectionTitle"}))}(c,d),function(t,e,n,r){const a=i.db.getTodayMarker();if("off"===a)return;const o=p.append("g").attr("class","today"),c=new Date,l=o.append("line");l.attr("x1",g(c)+t).attr("x2",g(c)+t).attr("y1",s.titleTopMargin).attr("y2",r-s.titleTopMargin).attr("class","today"),""!==a&&l.attr("style",a.replace(/,/g,";"))}(u,0,0,a)}(u,K,k),(0,h.i)(p,k,K,s.useMaxWidth),p.append("text").text(i.db.getDiagramTitle()).attr("x",K/2).attr("y",s.titleTopMargin).attr("class","titleText")}},styles:t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4526],{92489:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DataConnector=void 0,t.DataConnector=class{async list(e){throw new Error("DataConnector#list method has not been implemented.")}async remove(e){throw new Error("DataConnector#remove method has not been implemented.")}async save(e,t){throw new Error("DataConnector#save method has not been implemented.")}}},34526:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){void 0===r&&(r=s);var a=Object.getOwnPropertyDescriptor(t,s);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[s]}}),Object.defineProperty(e,r,a)}:function(e,t,s,r){void 0===r&&(r=s),e[r]=t[s]}),a=this&&this.__exportStar||function(e,t){for(var s in e)"default"===s||Object.prototype.hasOwnProperty.call(t,s)||r(t,e,s)};Object.defineProperty(t,"__esModule",{value:!0}),a(s(92489),t),a(s(40379),t),a(s(44089),t),a(s(27130),t),a(s(37209),t)},40379:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},44089:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RestorablePool=void 0;const r=s(20998),a=s(14421),i=s(81997);var n;t.RestorablePool=class{constructor(e){this._added=new i.Signal(this),this._current=null,this._currentChanged=new i.Signal(this),this._hasRestored=!1,this._isDisposed=!1,this._objects=new Set,this._restore=null,this._restored=new r.PromiseDelegate,this._updated=new i.Signal(this),this.namespace=e.namespace}get added(){return this._added}get current(){return this._current}set current(e){this._current!==e&&null!==e&&this._objects.has(e)&&(this._current=e,this._currentChanged.emit(this._current))}get currentChanged(){return this._currentChanged}get isDisposed(){return this._isDisposed}get restored(){return this._restored.promise}get size(){return this._objects.size}get updated(){return this._updated}async add(e){var t,s;if(e.isDisposed){const t="A disposed object cannot be added.";throw console.warn(t,e),new Error(t)}if(this._objects.has(e)){const t="This object already exists in the pool.";throw console.warn(t,e),new Error(t)}if(this._objects.add(e),e.disposed.connect(this._onInstanceDisposed,this),!n.injectedProperty.get(e)){if(this._restore){const{connector:r}=this._restore,a=this._restore.name(e);if(a){const i=`${this.namespace}:${a}`,o=null===(s=(t=this._restore).args)||void 0===s?void 0:s.call(t,e);n.nameProperty.set(e,i),await r.save(i,{data:o})}}this._added.emit(e)}}dispose(){this.isDisposed||(this._current=null,this._isDisposed=!0,this._objects.clear(),i.Signal.clearData(this))}find(e){const t=this._objects.values();for(const s of t)if(e(s))return s}forEach(e){this._objects.forEach(e)}filter(e){const t=[];return this.forEach((s=>{e(s)&&t.push(s)})),t}inject(e){return n.injectedProperty.set(e,!0),this.add(e)}has(e){return this._objects.has(e)}async restore(e){if(this._hasRestored)throw new Error("This pool has already been restored.");this._hasRestored=!0;const{command:t,connector:s,registry:r,when:a}=e,i=this.namespace,n=a?[s.list(i)].concat(a):[s.list(i)];this._restore=e;const[o]=await Promise.all(n),c=await Promise.all(o.ids.map((async(e,a)=>{const i=o.values[a],n=i&&i.data;return void 0===n?s.remove(e):r.execute(t,n).catch((()=>s.remove(e)))})));return this._restored.resolve(),c}async save(e){var t,s;const r=n.injectedProperty.get(e);if(!this._restore||!this.has(e)||r)return;const{connector:a}=this._restore,i=this._restore.name(e),o=n.nameProperty.get(e),c=i?`${this.namespace}:${i}`:"";if(o&&o!==c&&await a.remove(o),n.nameProperty.set(e,c),c){const r=null===(s=(t=this._restore).args)||void 0===s?void 0:s.call(t,e);await a.save(c,{data:r})}o!==c&&this._updated.emit(e)}_onInstanceDisposed(e){if(this._objects.delete(e),e===this._current&&(this._current=null,this._currentChanged.emit(this._current)),n.injectedProperty.get(e))return;if(!this._restore)return;const{connector:t}=this._restore,s=n.nameProperty.get(e);s&&t.remove(s)}},function(e){e.injectedProperty=new a.AttachedProperty({name:"injected",create:()=>!1}),e.nameProperty=new a.AttachedProperty({name:"name",create:()=>""})}(n||(n={}))},27130:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StateDB=void 0;const r=s(81997);class a{constructor(e={}){this._changed=new r.Signal(this);const{connector:t,transform:s}=e;this._connector=t||new a.Connector,this._ready=s?s.then((e=>{const{contents:t,type:s}=e;switch(s){case"cancel":default:return;case"clear":return this._clear();case"merge":return this._merge(t||{});case"overwrite":return this._overwrite(t||{})}})):Promise.resolve(void 0)}get changed(){return this._changed}async clear(){await this._ready,await this._clear()}async fetch(e){return await this._ready,this._fetch(e)}async list(e){return await this._ready,this._list(e)}async remove(e){await this._ready,await this._remove(e),this._changed.emit({id:e,type:"remove"})}async save(e,t){await this._ready,await this._save(e,t),this._changed.emit({id:e,type:"save"})}async toJSON(){await this._ready;const{ids:e,values:t}=await this._list();return t.reduce(((t,s,r)=>(t[e[r]]=s,t)),{})}async _clear(){await Promise.all((await this._list()).ids.map((e=>this._remove(e))))}async _fetch(e){const t=await this._connector.fetch(e);if(t)return JSON.parse(t).v}async _list(e=""){const{ids:t,values:s}=await this._connector.list(e);return{ids:t,values:s.map((e=>JSON.parse(e).v))}}async _merge(e){await Promise.all(Object.keys(e).map((t=>e[t]&&this._save(t,e[t]))))}async _overwrite(e){await this._clear(),await this._merge(e)}async _remove(e){return this._connector.remove(e)}async _save(e,t){return this._connector.save(e,JSON.stringify({v:t}))}}t.StateDB=a,function(e){e.Connector=class{constructor(){this._storage={}}async fetch(e){return this._storage[e]}async list(e=""){return Object.keys(this._storage).reduce(((t,s)=>(""!==e&&e!==s.split(":")[0]||(t.ids.push(s),t.values.push(this._storage[s])),t)),{ids:[],values:[]})}async remove(e){delete this._storage[e]}async save(e,t){this._storage[e]=t}}}(a=t.StateDB||(t.StateDB={}))},37209:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IStateDB=void 0;const r=s(20998);t.IStateDB=new r.Token("@jupyterlab/coreutils:IStateDB",'A service for the JupyterLab state database.\n Use this if you want to store data that will persist across page loads.\n See "state database" for more information.')}}]);
1
+ "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4526],{92489:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DataConnector=void 0,t.DataConnector=class{async list(e){throw new Error("DataConnector#list method has not been implemented.")}async remove(e){throw new Error("DataConnector#remove method has not been implemented.")}async save(e,t){throw new Error("DataConnector#save method has not been implemented.")}}},34526:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){void 0===r&&(r=s);var a=Object.getOwnPropertyDescriptor(t,s);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[s]}}),Object.defineProperty(e,r,a)}:function(e,t,s,r){void 0===r&&(r=s),e[r]=t[s]}),a=this&&this.__exportStar||function(e,t){for(var s in e)"default"===s||Object.prototype.hasOwnProperty.call(t,s)||r(t,e,s)};Object.defineProperty(t,"__esModule",{value:!0}),a(s(92489),t),a(s(40379),t),a(s(44089),t),a(s(27130),t),a(s(37209),t)},40379:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},44089:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RestorablePool=void 0;const r=s(20998),a=s(14421),i=s(81997);var n;t.RestorablePool=class{constructor(e){this._added=new i.Signal(this),this._current=null,this._currentChanged=new i.Signal(this),this._hasRestored=!1,this._isDisposed=!1,this._objects=new Set,this._restore=null,this._restored=new r.PromiseDelegate,this._updated=new i.Signal(this),this.namespace=e.namespace}get added(){return this._added}get current(){return this._current}set current(e){this._current!==e&&null!==e&&this._objects.has(e)&&(this._current=e,this._currentChanged.emit(this._current))}get currentChanged(){return this._currentChanged}get isDisposed(){return this._isDisposed}get restored(){return this._restored.promise}get size(){return this._objects.size}get updated(){return this._updated}async add(e){var t,s;if(e.isDisposed){const t="A disposed object cannot be added.";throw console.warn(t,e),new Error(t)}if(this._objects.has(e)){const t="This object already exists in the pool.";throw console.warn(t,e),new Error(t)}if(this._objects.add(e),e.disposed.connect(this._onInstanceDisposed,this),!n.injectedProperty.get(e)){if(this._restore){const{connector:r}=this._restore,a=this._restore.name(e);if(a){const i=`${this.namespace}:${a}`,o=null===(s=(t=this._restore).args)||void 0===s?void 0:s.call(t,e);n.nameProperty.set(e,i),await r.save(i,{data:o})}}this._added.emit(e)}}dispose(){this.isDisposed||(this._current=null,this._isDisposed=!0,this._objects.clear(),i.Signal.clearData(this))}find(e){const t=this._objects.values();for(const s of t)if(e(s))return s}forEach(e){this._objects.forEach(e)}filter(e){const t=[];return this.forEach((s=>{e(s)&&t.push(s)})),t}inject(e){return n.injectedProperty.set(e,!0),this.add(e)}has(e){return this._objects.has(e)}async restore(e){if(this._hasRestored)throw new Error("This pool has already been restored.");this._hasRestored=!0;const{command:t,connector:s,registry:r,when:a}=e,i=this.namespace,n=a?[s.list(i)].concat(a):[s.list(i)];this._restore=e;const[o]=await Promise.all(n),c=await Promise.all(o.ids.map((async(e,a)=>{const i=o.values[a],n=i&&i.data;return void 0===n?s.remove(e):r.execute(t,n).catch((()=>s.remove(e)))})));return this._restored.resolve(),c}async save(e){var t,s;const r=n.injectedProperty.get(e);if(!this._restore||!this.has(e)||r)return;const{connector:a}=this._restore,i=this._restore.name(e),o=n.nameProperty.get(e),c=i?`${this.namespace}:${i}`:"";if(o&&o!==c&&await a.remove(o),n.nameProperty.set(e,c),c){const r=null===(s=(t=this._restore).args)||void 0===s?void 0:s.call(t,e);await a.save(c,{data:r})}o!==c&&this._updated.emit(e)}_onInstanceDisposed(e){if(this._objects.delete(e),e===this._current&&(this._current=null,this._currentChanged.emit(this._current)),n.injectedProperty.get(e))return;if(!this._restore)return;const{connector:t}=this._restore,s=n.nameProperty.get(e);s&&t.remove(s)}},function(e){e.injectedProperty=new a.AttachedProperty({name:"injected",create:()=>!1}),e.nameProperty=new a.AttachedProperty({name:"name",create:()=>""})}(n||(n={}))},27130:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StateDB=void 0;const r=s(81997);class a{constructor(e={}){this._changed=new r.Signal(this);const{connector:t,transform:s}=e;this._connector=t||new a.Connector,this._ready=s?s.then((e=>{const{contents:t,type:s}=e;switch(s){case"cancel":default:return;case"clear":return this._clear();case"merge":return this._merge(t||{});case"overwrite":return this._overwrite(t||{})}})):Promise.resolve(void 0)}get changed(){return this._changed}async clear(){await this._ready,await this._clear()}async fetch(e){return await this._ready,this._fetch(e)}async list(e){return await this._ready,this._list(e)}async remove(e){await this._ready,await this._remove(e),this._changed.emit({id:e,type:"remove"})}async save(e,t){await this._ready,await this._save(e,t),this._changed.emit({id:e,type:"save"})}async toJSON(){await this._ready;const{ids:e,values:t}=await this._list();return t.reduce(((t,s,r)=>(t[e[r]]=s,t)),{})}async _clear(){await Promise.all((await this._list()).ids.map((e=>this._remove(e))))}async _fetch(e){const t=await this._connector.fetch(e);if(t)return JSON.parse(t).v}async _list(e=""){const{ids:t,values:s}=await this._connector.list(e);return{ids:t,values:s.map((e=>JSON.parse(e).v))}}async _merge(e){await Promise.all(Object.keys(e).map((t=>e[t]&&this._save(t,e[t]))))}async _overwrite(e){await this._clear(),await this._merge(e)}async _remove(e){return this._connector.remove(e)}async _save(e,t){return this._connector.save(e,JSON.stringify({v:t}))}}t.StateDB=a,function(e){e.Connector=class{constructor(){this._storage={}}async fetch(e){return this._storage[e]}async list(e=""){return Object.keys(this._storage).reduce(((t,s)=>(""!==e&&e!==s.split(":")[0]||(t.ids.push(s),t.values.push(this._storage[s])),t)),{ids:[],values:[]})}async remove(e){delete this._storage[e]}async save(e,t){this._storage[e]=t}}}(a||(t.StateDB=a={}))},37209:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IStateDB=void 0;const r=s(20998);t.IStateDB=new r.Token("@jupyterlab/coreutils:IStateDB",'A service for the JupyterLab state database.\n Use this if you want to store data that will persist across page loads.\n See "state database" for more information.')}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4558],{94558:(t,e,s)=>{s.r(e),s.d(e,{DocumentManager:()=>x,DocumentWidgetManager:()=>P,IDocumentManager:()=>A,IDocumentWidgetOpener:()=>O,PathStatus:()=>W,SaveHandler:()=>f,SavingStatus:()=>E,isValidFileName:()=>d,renameDialog:()=>l,renameFile:()=>h,shouldOverwrite:()=>c});var i,n=s(67569),a=s(82743),o=s(58977),r=s(35111);function l(t,e,s){const i=(s=s||o.nullTranslator).load("jupyterlab"),a=e.localPath.split("/").pop()||e.localPath;return(0,n.showDialog)({title:i.__("Rename File"),body:new g(a),focusNodeSelector:"input",buttons:[n.Dialog.cancelButton(),n.Dialog.okButton({label:i.__("Rename"),ariaLabel:i.__("Rename File")})]}).then((t=>t.value?d(t.value)?e.rename(t.value):((0,n.showErrorMessage)(i.__("Rename Error"),Error(i.__('"%1" is not a valid name for a file. Names must have nonzero length, and cannot include "/", "\\", or ":"',t.value))),null):null))}function h(t,e,s){return t.rename(e,s).catch((i=>{if(409!==i.response.status)throw i;return c(s).then((i=>i?t.overwrite(e,s):Promise.reject("File not renamed")))}))}function c(t,e){const s=(e=e||o.nullTranslator).load("jupyterlab"),i={title:s.__("Overwrite file?"),body:s.__('"%1" already exists, overwrite?',t),buttons:[n.Dialog.cancelButton(),n.Dialog.warnButton({label:s.__("Overwrite"),ariaLabel:s.__("Overwrite Existing File")})]};return(0,n.showDialog)(i).then((t=>Promise.resolve(t.button.accept)))}function d(t){return t.length>0&&!/[\/\\:]/.test(t)}class g extends r.Widget{constructor(t){super({node:i.createRenameNode(t)}),this.addClass("jp-FileDialog");const e=a.PathExt.extname(t),s=this.inputNode.value=a.PathExt.basename(t);this.inputNode.setSelectionRange(0,s.length-e.length)}get inputNode(){return this.node.getElementsByTagName("input")[0]}getValue(){return this.inputNode.value}}!function(t){t.createRenameNode=function(t,e){const s=(e=e||o.nullTranslator).load("jupyterlab"),i=document.createElement("div"),n=document.createElement("label");n.textContent=s.__("File Path");const a=document.createElement("span");a.textContent=t;const r=document.createElement("label");r.textContent=s.__("New Name"),r.className="jp-new-name-title";const l=document.createElement("input");return i.appendChild(n),i.appendChild(a),i.appendChild(r),i.appendChild(l),i}}(i||(i={}));var u=s(95051),_=s(33625),m=s(20998),p=s(14421),v=s(81997);class f{constructor(t){this._autosaveTimer=-1,this._minInterval=-1,this._interval=-1,this._isActive=!1,this._inDialog=!1,this._isDisposed=!1,this._multiplier=10,this._context=t.context,this._isConnectedCallback=t.isConnectedCallback||(()=>!0);const e=t.saveInterval||120;this._minInterval=1e3*e,this._interval=this._minInterval,this._context.fileChanged.connect(this._setTimer,this),this._context.disposed.connect(this.dispose,this)}get saveInterval(){return this._interval/1e3}set saveInterval(t){this._minInterval=this._interval=1e3*t,this._isActive&&this._setTimer()}get isActive(){return this._isActive}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,clearTimeout(this._autosaveTimer),v.Signal.clearData(this))}start(){this._isActive=!0,this._setTimer()}stop(){this._isActive=!1,clearTimeout(this._autosaveTimer)}_setTimer(){clearTimeout(this._autosaveTimer),this._isActive&&(this._autosaveTimer=window.setTimeout((()=>{this._isConnectedCallback()&&this._save()}),this._interval))}_save(){const t=this._context;if(this._setTimer(),!t)return;if(!t.contentsModel||!t.contentsModel.writable||!t.model.dirty||this._inDialog)return;const e=(new Date).getTime();t.save().then((()=>{if(this.isDisposed)return;const t=(new Date).getTime()-e;this._interval=Math.max(this._multiplier*t,this._minInterval),this._setTimer()})).catch((t=>{const{name:e}=t;"ModalCancelError"!==e&&"ModalDuplicateError"!==e&&console.error("Error in Auto-Save",t.message)}))}}var w,C,y=s(2549),D=s(49503);class P{constructor(t){this._activateRequested=new v.Signal(this),this._confirmClosingTab=!1,this._isDisposed=!1,this._stateChanged=new v.Signal(this),this._registry=t.registry,this.translator=t.translator||o.nullTranslator}get activateRequested(){return this._activateRequested}get confirmClosingDocument(){return this._confirmClosingTab}set confirmClosingDocument(t){if(this._confirmClosingTab!==t){const e=this._confirmClosingTab;this._confirmClosingTab=t,this._stateChanged.emit({name:"confirmClosingDocument",oldValue:e,newValue:t})}}get stateChanged(){return this._stateChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,v.Signal.disconnectReceiver(this))}createWidget(t,e){const s=t.createNew(e);return this._initializeWidget(s,t,e),s}_initializeWidget(t,e,s){w.factoryProperty.set(t,e);const i=new y.DisposableSet;for(const n of this._registry.widgetExtensions(e.name)){const e=n.createNew(t,s);e&&i.add(e)}w.disposablesProperty.set(t,i),t.disposed.connect(this._onWidgetDisposed,this),this.adoptWidget(s,t),s.fileChanged.connect(this._onFileChanged,this),s.pathChanged.connect(this._onPathChanged,this),s.ready.then((()=>{this.setCaption(t)}))}adoptWidget(t,e){w.widgetsProperty.get(t).push(e),D.MessageLoop.installMessageHook(e,this),e.addClass("jp-Document"),e.title.closable=!0,e.disposed.connect(this._widgetDisposed,this),w.contextProperty.set(e,t)}findWidget(t,e){const s=w.widgetsProperty.get(t);if(s)return(0,_.find)(s,(t=>{const s=w.factoryProperty.get(t);return!!s&&s.name===e}))}contextForWidget(t){return w.contextProperty.get(t)}cloneWidget(t){const e=w.contextProperty.get(t);if(!e)return;const s=w.factoryProperty.get(t);if(!s)return;const i=s.createNew(e,t);return this._initializeWidget(i,s,e),i}closeWidgets(t){const e=w.widgetsProperty.get(t);return Promise.all(e.map((t=>this.onClose(t)))).then((()=>{}))}deleteWidgets(t){const e=w.widgetsProperty.get(t);return Promise.all(e.map((t=>this.onDelete(t)))).then((()=>{}))}messageHook(t,e){switch(e.type){case"close-request":return this.onClose(t),!1;case"activate-request":{const e=this.contextForWidget(t);e&&this._activateRequested.emit(e.path);break}}return!0}async setCaption(t){const e=this.translator.load("jupyterlab"),s=w.contextProperty.get(t);if(!s)return;const i=s.contentsModel;if(i)return s.listCheckpoints().then((n=>{if(t.isDisposed)return;const o=n[n.length-1],r=o?a.Time.format(o.last_modified):"None";let l=e.__("Name: %1\nPath: %2\n",i.name,i.path);s.model.readOnly?l+=e.__("Read-only"):l+=e.__("Last Saved: %1\n",a.Time.format(i.last_modified))+e.__("Last Checkpoint: %1",r),t.title.caption=l}));t.title.caption=""}async onClose(t){var e;const[s,i]=await this._maybeClose(t,this.translator);if(t.isDisposed)return!0;if(s){if(!i){const s=w.contextProperty.get(t);if(!s)return!0;(null===(e=s.contentsModel)||void 0===e?void 0:e.writable)?await s.save():await s.saveAs()}if(t.isDisposed)return!0;t.dispose()}return s}onDelete(t){return t.dispose(),Promise.resolve(void 0)}async _maybeClose(t,e){var s,i;const a=(e=e||o.nullTranslator).load("jupyterlab"),r=w.contextProperty.get(t);if(!r)return Promise.resolve([!0,!0]);let l=w.widgetsProperty.get(r);if(!l)return Promise.resolve([!0,!0]);l=l.filter((t=>{const e=w.factoryProperty.get(t);return!!e&&!1===e.readOnly}));const h=t.title.label,c=w.factoryProperty.get(t),d=r.model.dirty&&l.length<=1&&!(null===(s=null==c?void 0:c.readOnly)||void 0===s||s);if(this.confirmClosingDocument){const t=[n.Dialog.cancelButton(),n.Dialog.okButton({label:d?a.__("Close and save"):a.__("Close"),ariaLabel:d?a.__("Close and save Document"):a.__("Close Document")})];d&&t.splice(1,0,n.Dialog.warnButton({label:a.__("Close without saving"),ariaLabel:a.__("Close Document without saving")}));const e=await(0,n.showDialog)({title:a.__("Confirmation"),body:a.__('Please confirm you want to close "%1".',h),checkbox:d?null:{label:a.__("Do not ask me again."),caption:a.__("If checked, no confirmation to close a document will be asked in the future.")},buttons:t});return e.isChecked&&(this.confirmClosingDocument=!1),Promise.resolve([e.button.accept,!d||"warn"===e.button.displayType])}{if(!d)return Promise.resolve([!0,!0]);const t=(null===(i=r.contentsModel)||void 0===i?void 0:i.writable)?a.__("Save"):a.__("Save as"),e=await(0,n.showDialog)({title:a.__("Save your work"),body:a.__('Save changes in "%1" before closing?',h),buttons:[n.Dialog.cancelButton(),n.Dialog.warnButton({label:a.__("Discard"),ariaLabel:a.__("Discard changes to file")}),n.Dialog.okButton({label:t})]});return[e.button.accept,"warn"===e.button.displayType]}}_widgetDisposed(t){const e=w.contextProperty.get(t);if(!e)return;const s=w.widgetsProperty.get(e);s&&(_.ArrayExt.removeFirstOf(s,t),s.length||e.dispose())}_onWidgetDisposed(t){w.disposablesProperty.get(t).dispose()}_onFileChanged(t){const e=w.widgetsProperty.get(t);for(const t of e)this.setCaption(t)}_onPathChanged(t){const e=w.widgetsProperty.get(t);for(const t of e)this.setCaption(t)}}!function(t){t.contextProperty=new p.AttachedProperty({name:"context",create:()=>{}}),t.factoryProperty=new p.AttachedProperty({name:"factory",create:()=>{}}),t.widgetsProperty=new p.AttachedProperty({name:"widgets",create:()=>[]}),t.disposablesProperty=new p.AttachedProperty({name:"disposables",create:()=>new y.DisposableSet})}(w||(w={}));class x{constructor(t){var e;this._activateRequested=new v.Signal(this),this._contexts=[],this._isDisposed=!1,this._autosave=!0,this._autosaveInterval=120,this._lastModifiedCheckMargin=500,this._renameUntitledFileOnSave=!0,this._stateChanged=new v.Signal(this),this.translator=t.translator||o.nullTranslator,this.registry=t.registry,this.services=t.manager,this._dialogs=null!==(e=t.sessionDialogs)&&void 0!==e?e:new n.SessionContextDialogs({translator:t.translator}),this._isConnectedCallback=t.isConnectedCallback||(()=>!0),this._opener=t.opener,this._when=t.when||t.manager.ready;const s=new P({registry:this.registry,translator:this.translator});s.activateRequested.connect(this._onActivateRequested,this),s.stateChanged.connect(this._onWidgetStateChanged,this),this._widgetManager=s,this._setBusy=t.setBusy}get activateRequested(){return this._activateRequested}get autosave(){return this._autosave}set autosave(t){if(this._autosave!==t){const e=this._autosave;this._autosave=t,this._contexts.forEach((e=>{const s=C.saveHandlerProperty.get(e);s&&(!0!==t||s.isActive?!1===t&&s.isActive&&s.stop():s.start())})),this._stateChanged.emit({name:"autosave",oldValue:e,newValue:t})}}get autosaveInterval(){return this._autosaveInterval}set autosaveInterval(t){if(this._autosaveInterval!==t){const e=this._autosaveInterval;this._autosaveInterval=t,this._contexts.forEach((e=>{const s=C.saveHandlerProperty.get(e);s&&(s.saveInterval=t||120)})),this._stateChanged.emit({name:"autosaveInterval",oldValue:e,newValue:t})}}get confirmClosingDocument(){return this._widgetManager.confirmClosingDocument}set confirmClosingDocument(t){if(this._widgetManager.confirmClosingDocument!==t){const e=this._widgetManager.confirmClosingDocument;this._widgetManager.confirmClosingDocument=t,this._stateChanged.emit({name:"confirmClosingDocument",oldValue:e,newValue:t})}}get lastModifiedCheckMargin(){return this._lastModifiedCheckMargin}set lastModifiedCheckMargin(t){if(this._lastModifiedCheckMargin!==t){const e=this._lastModifiedCheckMargin;this._lastModifiedCheckMargin=t,this._contexts.forEach((e=>{e.lastModifiedCheckMargin=t})),this._stateChanged.emit({name:"lastModifiedCheckMargin",oldValue:e,newValue:t})}}get renameUntitledFileOnSave(){return this._renameUntitledFileOnSave}set renameUntitledFileOnSave(t){if(this._renameUntitledFileOnSave!==t){const e=this._renameUntitledFileOnSave;this._renameUntitledFileOnSave=t,this._stateChanged.emit({name:"renameUntitledFileOnSave",oldValue:e,newValue:t})}}get stateChanged(){return this._stateChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,v.Signal.clearData(this),this._contexts.forEach((t=>this._widgetManager.closeWidgets(t))),this._widgetManager.dispose(),this._contexts.length=0)}cloneWidget(t){return this._widgetManager.cloneWidget(t)}closeAll(){return Promise.all(this._contexts.map((t=>this._widgetManager.closeWidgets(t)))).then((()=>{}))}closeFile(t){const e=this._contextsForPath(t).map((t=>this._widgetManager.closeWidgets(t)));return Promise.all(e).then((t=>{}))}contextForWidget(t){return this._widgetManager.contextForWidget(t)}copy(t,e){return this.services.contents.copy(t,e)}createNew(t,e="default",s){return this._createOrOpenDocument("create",t,e,s)}deleteFile(t){return this.services.sessions.stopIfNeeded(t).then((()=>this.services.contents.delete(t))).then((()=>(this._contextsForPath(t).forEach((t=>this._widgetManager.deleteWidgets(t))),Promise.resolve(void 0))))}duplicate(t){const e=a.PathExt.dirname(t);return this.services.contents.copy(t,e)}findWidget(t,e="default"){const s=a.PathExt.normalize(t);let i=[e];if("default"===e){const t=this.registry.defaultWidgetFactory(s);if(!t)return;i=[t.name]}else null===e&&(i=this.registry.preferredWidgetFactories(s).map((t=>t.name)));for(const t of this._contextsForPath(s))for(const e of i)if(null!==e){const s=this._widgetManager.findWidget(t,e);if(s)return s}}newUntitled(t){return"file"===t.type&&(t.ext=t.ext||".txt"),this.services.contents.newUntitled(t)}open(t,e="default",s,i){return this._createOrOpenDocument("open",t,e,s,i)}openOrReveal(t,e="default",s,i){const n=this.findWidget(t,e);return n?(this._opener.open(n,{type:e,...i}),n):this.open(t,e,s,null!=i?i:{})}overwrite(t,e){const s=`${e}.${m.UUID.uuid4()}`,i=()=>this.rename(s,e);return this.rename(t,s).then((()=>this.deleteFile(e))).then(i,i)}rename(t,e){return this.services.contents.rename(t,e)}_findContext(t,e){const s=this.services.contents.normalize(t);return(0,_.find)(this._contexts,(t=>t.path===s&&t.factoryName===e))}_contextsForPath(t){const e=this.services.contents.normalize(t);return this._contexts.filter((t=>t.path===e))}_createContext(t,e,s){const i=new u.Context({opener:(t,e)=>{this._widgetManager.adoptWidget(i,t),this._opener.open(t,e)},manager:this.services,factory:e,path:t,kernelPreference:s,setBusy:this._setBusy,sessionDialogs:this._dialogs,lastModifiedCheckMargin:this._lastModifiedCheckMargin,translator:this.translator}),n=new f({context:i,isConnectedCallback:this._isConnectedCallback,saveInterval:this.autosaveInterval});return C.saveHandlerProperty.set(i,n),i.ready.then((()=>{this.autosave&&n.start()})),i.disposed.connect(this._onContextDisposed,this),this._contexts.push(i),i}_onContextDisposed(t){_.ArrayExt.removeFirstOf(this._contexts,t)}_widgetFactoryFor(t,e){const{registry:s}=this;if("default"===e){const i=s.defaultWidgetFactory(t);if(!i)return;e=i.name}return s.getWidgetFactory(e)}_createOrOpenDocument(t,e,s="default",i,n){const a=this._widgetFactoryFor(e,s);if(!a)return;const o=a.modelName||"text",r=this.registry.getModelFactory(o);if(!r)return;const l=this.registry.getKernelPreference(e,a.name,i);let h,c=Promise.resolve(void 0);if("open"===t)h=this._findContext(e,r.name)||null,h||(h=this._createContext(e,r,l),c=this._when.then((()=>h.initialize(!1))));else{if("create"!==t)throw new Error(`Invalid argument 'which': ${t}`);h=this._createContext(e,r,l),c=this._when.then((()=>h.initialize(!0)))}const d=this._widgetManager.createWidget(a,h);return this._opener.open(d,{type:a.name,...n}),c.catch((t=>{console.error(`Failed to initialize the context with '${r.name}' for ${e}`,t),d.close()})),d}_onActivateRequested(t,e){this._activateRequested.emit(e)}_onWidgetStateChanged(t,e){"confirmClosingDocument"===e.name&&this._stateChanged.emit(e)}}!function(t){t.saveHandlerProperty=new p.AttachedProperty({name:"saveHandler",create:()=>{}})}(C||(C={}));var b=s(22679),M=s(22205),S=s(78156),T=s.n(S);function F(t){return T().createElement(b.TextItem,{source:t.name,title:t.fullPath})}class W extends M.VDomRenderer{constructor(t){super(new W.Model(t.docManager)),this.node.title=this.model.path}render(){return T().createElement(F,{fullPath:this.model.path,name:this.model.name})}}function k(t){return T().createElement(b.TextItem,{source:t.fileStatus})}!function(t){class e extends M.VDomModel{constructor(t){super(),this._onTitleChange=t=>{const e=this._getAllState();this._name=t.label,this._triggerChange(e,this._getAllState())},this._onPathChange=(t,e)=>{const s=this._getAllState();this._path=e,this._name=a.PathExt.basename(e),this._triggerChange(s,this._getAllState())},this._path="",this._name="",this._widget=null,this._docManager=t}get path(){return this._path}get name(){return this._name}get widget(){return this._widget}set widget(t){const e=this._widget;if(null!==e){const t=this._docManager.contextForWidget(e);t?t.pathChanged.disconnect(this._onPathChange):e.title.changed.disconnect(this._onTitleChange)}const s=this._getAllState();if(this._widget=t,null===this._widget)this._path="",this._name="";else{const t=this._docManager.contextForWidget(this._widget);t?(this._path=t.path,this._name=a.PathExt.basename(t.path),t.pathChanged.connect(this._onPathChange)):(this._path="",this._name=this._widget.title.label,this._widget.title.changed.connect(this._onTitleChange))}this._triggerChange(s,this._getAllState())}_getAllState(){return[this._path,this._name]}_triggerChange(t,e){t[0]===e[0]&&t[1]===e[1]||this.stateChanged.emit(void 0)}}t.Model=e}(W||(W={}));class E extends M.VDomRenderer{constructor(t){super(new E.Model(t.docManager));const e=(t.translator||o.nullTranslator).load("jupyterlab");this._statusMap={completed:e.__("Saving completed"),started:e.__("Saving started"),failed:e.__("Saving failed")}}render(){return null===this.model||null===this.model.status?null:T().createElement(k,{fileStatus:this._statusMap[this.model.status]})}}!function(t){class e extends M.VDomModel{constructor(t){super(),this._onStatusChange=(t,e)=>{this._status=e,"completed"===this._status?(setTimeout((()=>{this._status=null,this.stateChanged.emit(void 0)}),2e3),this.stateChanged.emit(void 0)):this.stateChanged.emit(void 0)},this._status=null,this._widget=null,this._status=null,this.widget=null,this._docManager=t}get status(){return this._status}get widget(){return this._widget}set widget(t){var e,s;const i=this._widget;if(null!==i){const t=this._docManager.contextForWidget(i);t?t.saveState.disconnect(this._onStatusChange):(null===(e=this._widget.content)||void 0===e?void 0:e.saveStateChanged)&&this._widget.content.saveStateChanged.disconnect(this._onStatusChange)}if(this._widget=t,null===this._widget)this._status=null;else{const t=this._docManager.contextForWidget(this._widget);t?t.saveState.connect(this._onStatusChange):(null===(s=this._widget.content)||void 0===s?void 0:s.saveStateChanged)&&this._widget.content.saveStateChanged.connect(this._onStatusChange)}}}t.Model=e}(E||(E={}));const A=new m.Token("@jupyterlab/docmanager:IDocumentManager","A service for the manager for all\n documents used by the application. Use this if you want to open and close documents,\n create and delete files, and otherwise interact with the file system."),O=new m.Token("@jupyterlab/docmanager:IDocumentWidgetOpener","A service to open a widget.")}}]);
1
+ "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4558],{94558:(t,e,s)=>{s.r(e),s.d(e,{DocumentManager:()=>x,DocumentWidgetManager:()=>P,IDocumentManager:()=>A,IDocumentWidgetOpener:()=>O,PathStatus:()=>W,SaveHandler:()=>f,SavingStatus:()=>E,isValidFileName:()=>d,renameDialog:()=>l,renameFile:()=>h,shouldOverwrite:()=>c});var i,n=s(78036),a=s(13558),o=s(5944),r=s(31516);function l(t,e,s){const i=(s=s||o.nullTranslator).load("jupyterlab"),a=e.localPath.split("/").pop()||e.localPath;return(0,n.showDialog)({title:i.__("Rename File"),body:new g(a),focusNodeSelector:"input",buttons:[n.Dialog.cancelButton(),n.Dialog.okButton({label:i.__("Rename"),ariaLabel:i.__("Rename File")})]}).then((t=>t.value?d(t.value)?e.rename(t.value):((0,n.showErrorMessage)(i.__("Rename Error"),Error(i.__('"%1" is not a valid name for a file. Names must have nonzero length, and cannot include "/", "\\", or ":"',t.value))),null):null))}function h(t,e,s){return t.rename(e,s).catch((i=>{if(409!==i.response.status)throw i;return c(s).then((i=>i?t.overwrite(e,s):Promise.reject("File not renamed")))}))}function c(t,e){const s=(e=e||o.nullTranslator).load("jupyterlab"),i={title:s.__("Overwrite file?"),body:s.__('"%1" already exists, overwrite?',t),buttons:[n.Dialog.cancelButton(),n.Dialog.warnButton({label:s.__("Overwrite"),ariaLabel:s.__("Overwrite Existing File")})]};return(0,n.showDialog)(i).then((t=>Promise.resolve(t.button.accept)))}function d(t){return t.length>0&&!/[\/\\:]/.test(t)}class g extends r.Widget{constructor(t){super({node:i.createRenameNode(t)}),this.addClass("jp-FileDialog");const e=a.PathExt.extname(t),s=this.inputNode.value=a.PathExt.basename(t);this.inputNode.setSelectionRange(0,s.length-e.length)}get inputNode(){return this.node.getElementsByTagName("input")[0]}getValue(){return this.inputNode.value}}!function(t){t.createRenameNode=function(t,e){const s=(e=e||o.nullTranslator).load("jupyterlab"),i=document.createElement("div"),n=document.createElement("label");n.textContent=s.__("File Path");const a=document.createElement("span");a.textContent=t;const r=document.createElement("label");r.textContent=s.__("New Name"),r.className="jp-new-name-title";const l=document.createElement("input");return i.appendChild(n),i.appendChild(a),i.appendChild(r),i.appendChild(l),i}}(i||(i={}));var u=s(46819),_=s(33625),m=s(20998),p=s(14421),v=s(81997);class f{constructor(t){this._autosaveTimer=-1,this._minInterval=-1,this._interval=-1,this._isActive=!1,this._inDialog=!1,this._isDisposed=!1,this._multiplier=10,this._context=t.context,this._isConnectedCallback=t.isConnectedCallback||(()=>!0);const e=t.saveInterval||120;this._minInterval=1e3*e,this._interval=this._minInterval,this._context.fileChanged.connect(this._setTimer,this),this._context.disposed.connect(this.dispose,this)}get saveInterval(){return this._interval/1e3}set saveInterval(t){this._minInterval=this._interval=1e3*t,this._isActive&&this._setTimer()}get isActive(){return this._isActive}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,clearTimeout(this._autosaveTimer),v.Signal.clearData(this))}start(){this._isActive=!0,this._setTimer()}stop(){this._isActive=!1,clearTimeout(this._autosaveTimer)}_setTimer(){clearTimeout(this._autosaveTimer),this._isActive&&(this._autosaveTimer=window.setTimeout((()=>{this._isConnectedCallback()&&this._save()}),this._interval))}_save(){const t=this._context;if(this._setTimer(),!t)return;if(!t.contentsModel||!t.contentsModel.writable||!t.model.dirty||this._inDialog)return;const e=(new Date).getTime();t.save().then((()=>{if(this.isDisposed)return;const t=(new Date).getTime()-e;this._interval=Math.max(this._multiplier*t,this._minInterval),this._setTimer()})).catch((t=>{const{name:e}=t;"ModalCancelError"!==e&&"ModalDuplicateError"!==e&&console.error("Error in Auto-Save",t.message)}))}}var w,C,y=s(2549),D=s(49503);class P{constructor(t){this._activateRequested=new v.Signal(this),this._confirmClosingTab=!1,this._isDisposed=!1,this._stateChanged=new v.Signal(this),this._registry=t.registry,this.translator=t.translator||o.nullTranslator}get activateRequested(){return this._activateRequested}get confirmClosingDocument(){return this._confirmClosingTab}set confirmClosingDocument(t){if(this._confirmClosingTab!==t){const e=this._confirmClosingTab;this._confirmClosingTab=t,this._stateChanged.emit({name:"confirmClosingDocument",oldValue:e,newValue:t})}}get stateChanged(){return this._stateChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,v.Signal.disconnectReceiver(this))}createWidget(t,e){const s=t.createNew(e);return this._initializeWidget(s,t,e),s}_initializeWidget(t,e,s){w.factoryProperty.set(t,e);const i=new y.DisposableSet;for(const n of this._registry.widgetExtensions(e.name)){const e=n.createNew(t,s);e&&i.add(e)}w.disposablesProperty.set(t,i),t.disposed.connect(this._onWidgetDisposed,this),this.adoptWidget(s,t),s.fileChanged.connect(this._onFileChanged,this),s.pathChanged.connect(this._onPathChanged,this),s.ready.then((()=>{this.setCaption(t)}))}adoptWidget(t,e){w.widgetsProperty.get(t).push(e),D.MessageLoop.installMessageHook(e,this),e.addClass("jp-Document"),e.title.closable=!0,e.disposed.connect(this._widgetDisposed,this),w.contextProperty.set(e,t)}findWidget(t,e){const s=w.widgetsProperty.get(t);if(s)return(0,_.find)(s,(t=>{const s=w.factoryProperty.get(t);return!!s&&s.name===e}))}contextForWidget(t){return w.contextProperty.get(t)}cloneWidget(t){const e=w.contextProperty.get(t);if(!e)return;const s=w.factoryProperty.get(t);if(!s)return;const i=s.createNew(e,t);return this._initializeWidget(i,s,e),i}closeWidgets(t){const e=w.widgetsProperty.get(t);return Promise.all(e.map((t=>this.onClose(t)))).then((()=>{}))}deleteWidgets(t){const e=w.widgetsProperty.get(t);return Promise.all(e.map((t=>this.onDelete(t)))).then((()=>{}))}messageHook(t,e){switch(e.type){case"close-request":return this.onClose(t),!1;case"activate-request":{const e=this.contextForWidget(t);e&&this._activateRequested.emit(e.path);break}}return!0}async setCaption(t){const e=this.translator.load("jupyterlab"),s=w.contextProperty.get(t);if(!s)return;const i=s.contentsModel;if(i)return s.listCheckpoints().then((n=>{if(t.isDisposed)return;const o=n[n.length-1],r=o?a.Time.format(o.last_modified):"None";let l=e.__("Name: %1\nPath: %2\n",i.name,i.path);s.model.readOnly?l+=e.__("Read-only"):l+=e.__("Last Saved: %1\n",a.Time.format(i.last_modified))+e.__("Last Checkpoint: %1",r),t.title.caption=l}));t.title.caption=""}async onClose(t){var e;const[s,i]=await this._maybeClose(t,this.translator);if(t.isDisposed)return!0;if(s){if(!i){const s=w.contextProperty.get(t);if(!s)return!0;(null===(e=s.contentsModel)||void 0===e?void 0:e.writable)?await s.save():await s.saveAs()}if(t.isDisposed)return!0;t.dispose()}return s}onDelete(t){return t.dispose(),Promise.resolve(void 0)}async _maybeClose(t,e){var s,i;const a=(e=e||o.nullTranslator).load("jupyterlab"),r=w.contextProperty.get(t);if(!r)return Promise.resolve([!0,!0]);let l=w.widgetsProperty.get(r);if(!l)return Promise.resolve([!0,!0]);l=l.filter((t=>{const e=w.factoryProperty.get(t);return!!e&&!1===e.readOnly}));const h=t.title.label,c=w.factoryProperty.get(t),d=r.model.dirty&&l.length<=1&&!(null===(s=null==c?void 0:c.readOnly)||void 0===s||s);if(this.confirmClosingDocument){const t=[n.Dialog.cancelButton(),n.Dialog.okButton({label:d?a.__("Close and save"):a.__("Close"),ariaLabel:d?a.__("Close and save Document"):a.__("Close Document")})];d&&t.splice(1,0,n.Dialog.warnButton({label:a.__("Close without saving"),ariaLabel:a.__("Close Document without saving")}));const e=await(0,n.showDialog)({title:a.__("Confirmation"),body:a.__('Please confirm you want to close "%1".',h),checkbox:d?null:{label:a.__("Do not ask me again."),caption:a.__("If checked, no confirmation to close a document will be asked in the future.")},buttons:t});return e.isChecked&&(this.confirmClosingDocument=!1),Promise.resolve([e.button.accept,!d||"warn"===e.button.displayType])}{if(!d)return Promise.resolve([!0,!0]);const t=(null===(i=r.contentsModel)||void 0===i?void 0:i.writable)?a.__("Save"):a.__("Save as"),e=await(0,n.showDialog)({title:a.__("Save your work"),body:a.__('Save changes in "%1" before closing?',h),buttons:[n.Dialog.cancelButton(),n.Dialog.warnButton({label:a.__("Discard"),ariaLabel:a.__("Discard changes to file")}),n.Dialog.okButton({label:t})]});return[e.button.accept,"warn"===e.button.displayType]}}_widgetDisposed(t){const e=w.contextProperty.get(t);if(!e)return;const s=w.widgetsProperty.get(e);s&&(_.ArrayExt.removeFirstOf(s,t),s.length||e.dispose())}_onWidgetDisposed(t){w.disposablesProperty.get(t).dispose()}_onFileChanged(t){const e=w.widgetsProperty.get(t);for(const t of e)this.setCaption(t)}_onPathChanged(t){const e=w.widgetsProperty.get(t);for(const t of e)this.setCaption(t)}}!function(t){t.contextProperty=new p.AttachedProperty({name:"context",create:()=>{}}),t.factoryProperty=new p.AttachedProperty({name:"factory",create:()=>{}}),t.widgetsProperty=new p.AttachedProperty({name:"widgets",create:()=>[]}),t.disposablesProperty=new p.AttachedProperty({name:"disposables",create:()=>new y.DisposableSet})}(w||(w={}));class x{constructor(t){var e;this._activateRequested=new v.Signal(this),this._contexts=[],this._isDisposed=!1,this._autosave=!0,this._autosaveInterval=120,this._lastModifiedCheckMargin=500,this._renameUntitledFileOnSave=!0,this._stateChanged=new v.Signal(this),this.translator=t.translator||o.nullTranslator,this.registry=t.registry,this.services=t.manager,this._dialogs=null!==(e=t.sessionDialogs)&&void 0!==e?e:new n.SessionContextDialogs({translator:t.translator}),this._isConnectedCallback=t.isConnectedCallback||(()=>!0),this._opener=t.opener,this._when=t.when||t.manager.ready;const s=new P({registry:this.registry,translator:this.translator});s.activateRequested.connect(this._onActivateRequested,this),s.stateChanged.connect(this._onWidgetStateChanged,this),this._widgetManager=s,this._setBusy=t.setBusy}get activateRequested(){return this._activateRequested}get autosave(){return this._autosave}set autosave(t){if(this._autosave!==t){const e=this._autosave;this._autosave=t,this._contexts.forEach((e=>{const s=C.saveHandlerProperty.get(e);s&&(!0!==t||s.isActive?!1===t&&s.isActive&&s.stop():s.start())})),this._stateChanged.emit({name:"autosave",oldValue:e,newValue:t})}}get autosaveInterval(){return this._autosaveInterval}set autosaveInterval(t){if(this._autosaveInterval!==t){const e=this._autosaveInterval;this._autosaveInterval=t,this._contexts.forEach((e=>{const s=C.saveHandlerProperty.get(e);s&&(s.saveInterval=t||120)})),this._stateChanged.emit({name:"autosaveInterval",oldValue:e,newValue:t})}}get confirmClosingDocument(){return this._widgetManager.confirmClosingDocument}set confirmClosingDocument(t){if(this._widgetManager.confirmClosingDocument!==t){const e=this._widgetManager.confirmClosingDocument;this._widgetManager.confirmClosingDocument=t,this._stateChanged.emit({name:"confirmClosingDocument",oldValue:e,newValue:t})}}get lastModifiedCheckMargin(){return this._lastModifiedCheckMargin}set lastModifiedCheckMargin(t){if(this._lastModifiedCheckMargin!==t){const e=this._lastModifiedCheckMargin;this._lastModifiedCheckMargin=t,this._contexts.forEach((e=>{e.lastModifiedCheckMargin=t})),this._stateChanged.emit({name:"lastModifiedCheckMargin",oldValue:e,newValue:t})}}get renameUntitledFileOnSave(){return this._renameUntitledFileOnSave}set renameUntitledFileOnSave(t){if(this._renameUntitledFileOnSave!==t){const e=this._renameUntitledFileOnSave;this._renameUntitledFileOnSave=t,this._stateChanged.emit({name:"renameUntitledFileOnSave",oldValue:e,newValue:t})}}get stateChanged(){return this._stateChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,v.Signal.clearData(this),this._contexts.forEach((t=>this._widgetManager.closeWidgets(t))),this._widgetManager.dispose(),this._contexts.length=0)}cloneWidget(t){return this._widgetManager.cloneWidget(t)}closeAll(){return Promise.all(this._contexts.map((t=>this._widgetManager.closeWidgets(t)))).then((()=>{}))}closeFile(t){const e=this._contextsForPath(t).map((t=>this._widgetManager.closeWidgets(t)));return Promise.all(e).then((t=>{}))}contextForWidget(t){return this._widgetManager.contextForWidget(t)}copy(t,e){return this.services.contents.copy(t,e)}createNew(t,e="default",s){return this._createOrOpenDocument("create",t,e,s)}deleteFile(t){return this.services.sessions.stopIfNeeded(t).then((()=>this.services.contents.delete(t))).then((()=>(this._contextsForPath(t).forEach((t=>this._widgetManager.deleteWidgets(t))),Promise.resolve(void 0))))}duplicate(t){const e=a.PathExt.dirname(t);return this.services.contents.copy(t,e)}findWidget(t,e="default"){const s=a.PathExt.normalize(t);let i=[e];if("default"===e){const t=this.registry.defaultWidgetFactory(s);if(!t)return;i=[t.name]}else null===e&&(i=this.registry.preferredWidgetFactories(s).map((t=>t.name)));for(const t of this._contextsForPath(s))for(const e of i)if(null!==e){const s=this._widgetManager.findWidget(t,e);if(s)return s}}newUntitled(t){return"file"===t.type&&(t.ext=t.ext||".txt"),this.services.contents.newUntitled(t)}open(t,e="default",s,i){return this._createOrOpenDocument("open",t,e,s,i)}openOrReveal(t,e="default",s,i){const n=this.findWidget(t,e);return n?(this._opener.open(n,{type:e,...i}),n):this.open(t,e,s,null!=i?i:{})}overwrite(t,e){const s=`${e}.${m.UUID.uuid4()}`,i=()=>this.rename(s,e);return this.rename(t,s).then((()=>this.deleteFile(e))).then(i,i)}rename(t,e){return this.services.contents.rename(t,e)}_findContext(t,e){const s=this.services.contents.normalize(t);return(0,_.find)(this._contexts,(t=>t.path===s&&t.factoryName===e))}_contextsForPath(t){const e=this.services.contents.normalize(t);return this._contexts.filter((t=>t.path===e))}_createContext(t,e,s){const i=new u.Context({opener:(t,e)=>{this._widgetManager.adoptWidget(i,t),this._opener.open(t,e)},manager:this.services,factory:e,path:t,kernelPreference:s,setBusy:this._setBusy,sessionDialogs:this._dialogs,lastModifiedCheckMargin:this._lastModifiedCheckMargin,translator:this.translator}),n=new f({context:i,isConnectedCallback:this._isConnectedCallback,saveInterval:this.autosaveInterval});return C.saveHandlerProperty.set(i,n),i.ready.then((()=>{this.autosave&&n.start()})),i.disposed.connect(this._onContextDisposed,this),this._contexts.push(i),i}_onContextDisposed(t){_.ArrayExt.removeFirstOf(this._contexts,t)}_widgetFactoryFor(t,e){const{registry:s}=this;if("default"===e){const i=s.defaultWidgetFactory(t);if(!i)return;e=i.name}return s.getWidgetFactory(e)}_createOrOpenDocument(t,e,s="default",i,n){const a=this._widgetFactoryFor(e,s);if(!a)return;const o=a.modelName||"text",r=this.registry.getModelFactory(o);if(!r)return;const l=this.registry.getKernelPreference(e,a.name,i);let h,c=Promise.resolve(void 0);if("open"===t)h=this._findContext(e,r.name)||null,h||(h=this._createContext(e,r,l),c=this._when.then((()=>h.initialize(!1))));else{if("create"!==t)throw new Error(`Invalid argument 'which': ${t}`);h=this._createContext(e,r,l),c=this._when.then((()=>h.initialize(!0)))}const d=this._widgetManager.createWidget(a,h);return this._opener.open(d,{type:a.name,...n}),c.catch((t=>{console.error(`Failed to initialize the context with '${r.name}' for ${e}`,t),d.close()})),d}_onActivateRequested(t,e){this._activateRequested.emit(e)}_onWidgetStateChanged(t,e){"confirmClosingDocument"===e.name&&this._stateChanged.emit(e)}}!function(t){t.saveHandlerProperty=new p.AttachedProperty({name:"saveHandler",create:()=>{}})}(C||(C={}));var b=s(72881),M=s(70798),S=s(78156),T=s.n(S);function F(t){return T().createElement(b.TextItem,{source:t.name,title:t.fullPath})}class W extends M.VDomRenderer{constructor(t){super(new W.Model(t.docManager)),this.node.title=this.model.path}render(){return T().createElement(F,{fullPath:this.model.path,name:this.model.name})}}function k(t){return T().createElement(b.TextItem,{source:t.fileStatus})}!function(t){class e extends M.VDomModel{constructor(t){super(),this._onTitleChange=t=>{const e=this._getAllState();this._name=t.label,this._triggerChange(e,this._getAllState())},this._onPathChange=(t,e)=>{const s=this._getAllState();this._path=e,this._name=a.PathExt.basename(e),this._triggerChange(s,this._getAllState())},this._path="",this._name="",this._widget=null,this._docManager=t}get path(){return this._path}get name(){return this._name}get widget(){return this._widget}set widget(t){const e=this._widget;if(null!==e){const t=this._docManager.contextForWidget(e);t?t.pathChanged.disconnect(this._onPathChange):e.title.changed.disconnect(this._onTitleChange)}const s=this._getAllState();if(this._widget=t,null===this._widget)this._path="",this._name="";else{const t=this._docManager.contextForWidget(this._widget);t?(this._path=t.path,this._name=a.PathExt.basename(t.path),t.pathChanged.connect(this._onPathChange)):(this._path="",this._name=this._widget.title.label,this._widget.title.changed.connect(this._onTitleChange))}this._triggerChange(s,this._getAllState())}_getAllState(){return[this._path,this._name]}_triggerChange(t,e){t[0]===e[0]&&t[1]===e[1]||this.stateChanged.emit(void 0)}}t.Model=e}(W||(W={}));class E extends M.VDomRenderer{constructor(t){super(new E.Model(t.docManager));const e=(t.translator||o.nullTranslator).load("jupyterlab");this._statusMap={completed:e.__("Saving completed"),started:e.__("Saving started"),failed:e.__("Saving failed")}}render(){return null===this.model||null===this.model.status?null:T().createElement(k,{fileStatus:this._statusMap[this.model.status]})}}!function(t){class e extends M.VDomModel{constructor(t){super(),this._onStatusChange=(t,e)=>{this._status=e,"completed"===this._status?(setTimeout((()=>{this._status=null,this.stateChanged.emit(void 0)}),2e3),this.stateChanged.emit(void 0)):this.stateChanged.emit(void 0)},this._status=null,this._widget=null,this._status=null,this.widget=null,this._docManager=t}get status(){return this._status}get widget(){return this._widget}set widget(t){var e,s;const i=this._widget;if(null!==i){const t=this._docManager.contextForWidget(i);t?t.saveState.disconnect(this._onStatusChange):(null===(e=this._widget.content)||void 0===e?void 0:e.saveStateChanged)&&this._widget.content.saveStateChanged.disconnect(this._onStatusChange)}if(this._widget=t,null===this._widget)this._status=null;else{const t=this._docManager.contextForWidget(this._widget);t?t.saveState.connect(this._onStatusChange):(null===(s=this._widget.content)||void 0===s?void 0:s.saveStateChanged)&&this._widget.content.saveStateChanged.connect(this._onStatusChange)}}}t.Model=e}(E||(E={}));const A=new m.Token("@jupyterlab/docmanager:IDocumentManager","A service for the manager for all\n documents used by the application. Use this if you want to open and close documents,\n create and delete files, and otherwise interact with the file system."),O=new m.Token("@jupyterlab/docmanager:IDocumentWidgetOpener","A service to open a widget.")}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4588],{64588:(e,O,t)=>{t.r(O),t.d(O,{completeFromSchema:()=>W,xml:()=>V,xmlLanguage:()=>w});var n=t(49906),a=t(5034);function l(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let r=null,s=null,o=0;function y(e,O){let t=e.pos+O;if(s==e&&o==t)return r;for(;9==(n=e.peek(O))||10==n||13==n||32==n;)O++;var n;let a="";for(;;){let t=e.peek(O);if(!l(t))break;a+=String.fromCharCode(t),O++}return s=e,o=t,r=a||null}function i(e,O){this.name=e,this.parent=O,this.hash=O?O.hash:0;for(let O=0;O<e.length;O++)this.hash+=(this.hash<<4)+e.charCodeAt(O)+(e.charCodeAt(O)<<8)}const $=new n.IK({start:null,shift:(e,O,t,n)=>1==O?new i(y(n,1)||"",e):e,reduce:(e,O)=>11==O&&e?e.parent:e,reuse(e,O,t,n){let a=O.type.id;return 1==a||13==a?new i(y(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),c=new n.Jq(((e,O)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let t=y(e,0);if(!t)return e.acceptToken(5);if(O.context&&t==O.context.name)return e.acceptToken(2);for(let n=O.context;n;n=n.parent)if(n.name==t)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{contextual:!0});function p(e,O){return new n.Jq((t=>{for(let n=0,a=0;;a++){if(t.next<0){a&&t.acceptToken(e);break}if(t.next==O.charCodeAt(n)){if(n++,n==O.length){a>=O.length&&t.acceptToken(e,1-O.length);break}}else n=t.next==O.charCodeAt(0)?1:0;t.advance()}}))}const S=p(35,"--\x3e"),u=p(36,"?>"),m=p(37,"]]>"),g=(0,a.styleTags)({Text:a.tags.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":a.tags.angleBracket,TagName:a.tags.tagName,"MismatchedCloseTag/Tagname":[a.tags.tagName,a.tags.invalid],AttributeName:a.tags.attributeName,AttributeValue:a.tags.attributeValue,Is:a.tags.definitionOperator,"EntityReference CharacterReference":a.tags.character,Comment:a.tags.blockComment,ProcessingInst:a.tags.processingInstruction,DoctypeDecl:a.tags.documentMeta,Cdata:a.tags.special(a.tags.string)}),f=n.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:$,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"]],propSources:[g],skippedNodes:[0],repeatNodeCount:8,tokenData:"IX~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O*l!O!P$n!P!Q,{!Q![$n![!].e!]!^$n!^!_1v!_!`Cz!`!aDm!a!bE`!b!c$n!c!}.e!}#P$n#P#QFx#Q#R$n#R#S.e#S#T$n#T#o.e#o%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U$n4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^VOp(sqs(sst)ht!](s!^;'S(s;'S;=`)b<%lO(s~(vVOp(sqs(st!](s!]!^)]!^;'S(s;'S;=`)b<%lO(s~)bOW~~)eP;=`<%l(s~)kTOp)zq!])z!^;'S)z;'S;=`*f<%lO)z~)}UOp)zq!])z!]!^*a!^;'S)z;'S;=`*f<%lO)z~*fOX~~*iP;=`<%l)zZ*sYVP{WOr$nrs%_sv$nw}$n}!O+c!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ+jYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a,Y!a;'S$n;'S;=`&e<%lO$nZ,cW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n]-SYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-r!a;'S$n;'S;=`&e<%lO$n]-{WdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_.p!O`S^QVP{WOr$nrs%_sv$nw}$n}!O.e!O!P.e!P!Q$n!Q![.e![!].e!]!^$n!^!_%y!_!c$n!c!}.e!}#R$n#R#S.e#S#T$n#T#o.e#o$}$n$}%O.e%O%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U.e4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Je$n$Je$Jg.e$Jg$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$n_1sP;=`<%l.eX1{W{WOq%yqr2esv%yw!a%y!a!bCd!b;'S%y;'S;=`&_<%lO%yX2j]{WOr%ysv%yw}%y}!O3c!O!f%y!f!g4e!g!}%y!}#O9t#O#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX3hV{WOr%ysv%yw}%y}!O3}!O;'S%y;'S;=`&_<%lO%yX4UT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX4jV{WOr%ysv%yw!q%y!q!r5P!r;'S%y;'S;=`&_<%lO%yX5UV{WOr%ysv%yw!e%y!e!f5k!f;'S%y;'S;=`&_<%lO%yX5pV{WOr%ysv%yw!v%y!v!w6V!w;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!{%y!{!|6q!|;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!r%y!r!s7]!s;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!g%y!g!h7w!h;'S%y;'S;=`&_<%lO%yX7|X{WOr7wrs8isv7wvw8iw!`7w!`!a9W!a;'S7w;'S;=`9n<%lO7wP8lTO!`8i!`!a8{!a;'S8i;'S;=`9Q<%lO8iP9QOiPP9TP;=`<%l8iX9_TiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX9qP;=`<%l7wX9yX{WOr%ysv%yw!e%y!e!f:f!f#V%y#V#W=t#W;'S%y;'S;=`&_<%lO%yX:kV{WOr%ysv%yw!f%y!f!g;Q!g;'S%y;'S;=`&_<%lO%yX;VV{WOr%ysv%yw!c%y!c!d;l!d;'S%y;'S;=`&_<%lO%yX;qV{WOr%ysv%yw!v%y!v!w<W!w;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!c%y!c!d<r!d;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!}%y!}#O=^#O;'S%y;'S;=`&_<%lO%yX=eT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX=yV{WOr%ysv%yw#W%y#W#X>`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U<r#U;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#c%y#c#d@l#d;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#V%y#V#WAW#W;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#h%y#h#iAr#i;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#m%y#m#nB^#n;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#d%y#d#eBx#e;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#X%y#X#Y7w#Y;'S%y;'S;=`&_<%lO%yXCkT!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZDTWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_DvW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZEgYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aFV!a;'S$n;'S;=`&e<%lO$nZF`W!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGPYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QGo#Q;'S$n;'S;=`&e<%lO$nZGvYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aHf!a;'S$n;'S;=`&e<%lO$nZHoWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[c,S,u,m,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});var d=t(7201);function P(e,O){let t=O&&O.getChild("TagName");return t?e.sliceString(t.from,t.to):""}function _(e,O){let t=O&&O.firstChild;return t&&"OpenTag"==t.name?P(e,t):""}function T(e){for(let O=e&&e.parent;O;O=O.parent)if("Element"==O.name)return O;return null}class h{constructor(e,O,t){this.attrs=O,this.attrValues=t,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map((e=>({label:e,type:"text"}))):[]}}const v=/^[:\-\.\w\u00b7-\uffff]*$/;function b(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function C(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function W(e,O){let t=[],n=[],a=Object.create(null);for(let e of O){let O=b(e);t.push(O),e.global&&n.push(O),e.values&&(a[e.name]=e.values.map(C))}let l=[],r=[],s=Object.create(null);for(let O of e){let e=n,o=a;O.attributes&&(e=e.concat(O.attributes.map((e=>"string"==typeof e?t.find((O=>O.label==e))||{label:e,type:"property"}:(e.values&&(o==a&&(o=Object.create(o)),o[e.name]=e.values.map(C)),b(e))))));let y=new h(O,e,o);s[y.name]=y,l.push(y),O.top&&r.push(y)}r.length||(r=l);for(let O=0;O<l.length;O++){let t=e[O],n=l[O];if(t.children)for(let e of t.children)s[e]&&n.children.push(s[e]);else n.children=l}return e=>{var O;let{doc:t}=e.state,o=function(e,O){var t;let n=(0,d.syntaxTree)(e).resolveInner(O,-1),a=null;for(let e=n;!a&&e.parent;e=e.parent)"OpenTag"!=e.name&&"CloseTag"!=e.name&&"SelfClosingTag"!=e.name&&"MismatchedCloseTag"!=e.name||(a=e);if(a&&(a.to>O||a.lastChild.type.isError)){let e=a.parent;if("TagName"==n.name)return"CloseTag"==a.name||"MismatchedCloseTag"==a.name?{type:"closeTag",from:n.from,context:e}:{type:"openTag",from:n.from,context:T(e)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:a};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:a};let t=n==a||"Attribute"==n.name?n.childBefore(O):n;return"StartTag"==(null==t?void 0:t.name)?{type:"openTag",from:O,context:T(e)}:"StartCloseTag"==(null==t?void 0:t.name)&&t.to<=O?{type:"closeTag",from:O,context:e}:"Is"==(null==t?void 0:t.name)?{type:"attrValue",from:O,context:a}:t?{type:"attrName",from:O,context:a}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:O,context:n.parent};for(;n.parent&&n.to==O&&!(null===(t=n.lastChild)||void 0===t?void 0:t.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:O,context:"Element"==n.name?n:T(n)}:null}(e.state,e.pos);if(!o||"tag"==o.type&&!e.explicit)return null;let{type:y,from:i,context:$}=o;if("openTag"==y){let e=r,O=_(t,$);if(O){let t=s[O];e=(null==t?void 0:t.children)||l}return{from:i,options:e.map((e=>e.completion)),validFor:v}}if("closeTag"==y){let n=_(t,$);return n?{from:i,to:e.pos+(">"==t.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(O=s[n])||void 0===O?void 0:O.closeNameCompletion)||{label:n+">",type:"type"}],validFor:v}:null}if("attrName"==y){let e=s[P(t,$)];return{from:i,options:(null==e?void 0:e.attrs)||n,validFor:v}}if("attrValue"==y){let O=function(e,O,t){let n=O&&O.getChildren("Attribute").find((e=>e.from<=t&&e.to>=t)),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}(t,$,i);if(!O)return null;let n=s[P(t,$)],l=((null==n?void 0:n.attrValues)||a)[O];return l&&l.length?{from:i,to:e.pos+('"'==t.sliceString(e.pos,e.pos+1)?1:0),options:l,validFor:/^"[^"]*"?$/}:null}if("tag"==y){let O=_(t,$),n=s[O],a=[],o=$&&$.lastChild;!O||o&&"CloseTag"==o.name&&P(t,o)==O||a.push(n?n.closeCompletion:{label:"</"+O+">",type:"type",boost:2});let y=a.concat(((null==n?void 0:n.children)||($?l:r)).map((e=>e.openCompletion)));if($&&(null==n?void 0:n.text.length)){let O=$.firstChild;O.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(O.to,e.pos))&&(y=y.concat(n.text))}return{from:i,options:y,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}const w=d.LRLanguage.define({name:"xml",parser:f.configure({props:[d.indentNodeProp.add({Element(e){let O=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),d.foldNodeProp.add({Element(e){let O=e.firstChild,t=e.lastChild;return O&&"OpenTag"==O.name?{from:O.to,to:"CloseTag"==t.name?t.from:e.to}:null}}),d.bracketMatchingHandle.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function V(e={}){return new d.LanguageSupport(w,w.data.of({autocomplete:W(e.elements||[],e.attributes||[])}))}}}]);
1
+ "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4588],{64588:(e,O,t)=>{t.r(O),t.d(O,{completeFromSchema:()=>W,xml:()=>V,xmlLanguage:()=>w});var n=t(49906),a=t(66361);function l(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let r=null,s=null,o=0;function y(e,O){let t=e.pos+O;if(s==e&&o==t)return r;for(;9==(n=e.peek(O))||10==n||13==n||32==n;)O++;var n;let a="";for(;;){let t=e.peek(O);if(!l(t))break;a+=String.fromCharCode(t),O++}return s=e,o=t,r=a||null}function i(e,O){this.name=e,this.parent=O,this.hash=O?O.hash:0;for(let O=0;O<e.length;O++)this.hash+=(this.hash<<4)+e.charCodeAt(O)+(e.charCodeAt(O)<<8)}const $=new n.IK({start:null,shift:(e,O,t,n)=>1==O?new i(y(n,1)||"",e):e,reduce:(e,O)=>11==O&&e?e.parent:e,reuse(e,O,t,n){let a=O.type.id;return 1==a||13==a?new i(y(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),c=new n.Jq(((e,O)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let t=y(e,0);if(!t)return e.acceptToken(5);if(O.context&&t==O.context.name)return e.acceptToken(2);for(let n=O.context;n;n=n.parent)if(n.name==t)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{contextual:!0});function p(e,O){return new n.Jq((t=>{for(let n=0,a=0;;a++){if(t.next<0){a&&t.acceptToken(e);break}if(t.next==O.charCodeAt(n)){if(n++,n==O.length){a>=O.length&&t.acceptToken(e,1-O.length);break}}else n=t.next==O.charCodeAt(0)?1:0;t.advance()}}))}const S=p(35,"--\x3e"),u=p(36,"?>"),m=p(37,"]]>"),g=(0,a.styleTags)({Text:a.tags.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":a.tags.angleBracket,TagName:a.tags.tagName,"MismatchedCloseTag/Tagname":[a.tags.tagName,a.tags.invalid],AttributeName:a.tags.attributeName,AttributeValue:a.tags.attributeValue,Is:a.tags.definitionOperator,"EntityReference CharacterReference":a.tags.character,Comment:a.tags.blockComment,ProcessingInst:a.tags.processingInstruction,DoctypeDecl:a.tags.documentMeta,Cdata:a.tags.special(a.tags.string)}),f=n.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:$,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"]],propSources:[g],skippedNodes:[0],repeatNodeCount:8,tokenData:"IX~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O*l!O!P$n!P!Q,{!Q![$n![!].e!]!^$n!^!_1v!_!`Cz!`!aDm!a!bE`!b!c$n!c!}.e!}#P$n#P#QFx#Q#R$n#R#S.e#S#T$n#T#o.e#o%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U$n4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^VOp(sqs(sst)ht!](s!^;'S(s;'S;=`)b<%lO(s~(vVOp(sqs(st!](s!]!^)]!^;'S(s;'S;=`)b<%lO(s~)bOW~~)eP;=`<%l(s~)kTOp)zq!])z!^;'S)z;'S;=`*f<%lO)z~)}UOp)zq!])z!]!^*a!^;'S)z;'S;=`*f<%lO)z~*fOX~~*iP;=`<%l)zZ*sYVP{WOr$nrs%_sv$nw}$n}!O+c!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ+jYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a,Y!a;'S$n;'S;=`&e<%lO$nZ,cW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n]-SYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-r!a;'S$n;'S;=`&e<%lO$n]-{WdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_.p!O`S^QVP{WOr$nrs%_sv$nw}$n}!O.e!O!P.e!P!Q$n!Q![.e![!].e!]!^$n!^!_%y!_!c$n!c!}.e!}#R$n#R#S.e#S#T$n#T#o.e#o$}$n$}%O.e%O%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U.e4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Je$n$Je$Jg.e$Jg$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$n_1sP;=`<%l.eX1{W{WOq%yqr2esv%yw!a%y!a!bCd!b;'S%y;'S;=`&_<%lO%yX2j]{WOr%ysv%yw}%y}!O3c!O!f%y!f!g4e!g!}%y!}#O9t#O#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX3hV{WOr%ysv%yw}%y}!O3}!O;'S%y;'S;=`&_<%lO%yX4UT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX4jV{WOr%ysv%yw!q%y!q!r5P!r;'S%y;'S;=`&_<%lO%yX5UV{WOr%ysv%yw!e%y!e!f5k!f;'S%y;'S;=`&_<%lO%yX5pV{WOr%ysv%yw!v%y!v!w6V!w;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!{%y!{!|6q!|;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!r%y!r!s7]!s;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!g%y!g!h7w!h;'S%y;'S;=`&_<%lO%yX7|X{WOr7wrs8isv7wvw8iw!`7w!`!a9W!a;'S7w;'S;=`9n<%lO7wP8lTO!`8i!`!a8{!a;'S8i;'S;=`9Q<%lO8iP9QOiPP9TP;=`<%l8iX9_TiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX9qP;=`<%l7wX9yX{WOr%ysv%yw!e%y!e!f:f!f#V%y#V#W=t#W;'S%y;'S;=`&_<%lO%yX:kV{WOr%ysv%yw!f%y!f!g;Q!g;'S%y;'S;=`&_<%lO%yX;VV{WOr%ysv%yw!c%y!c!d;l!d;'S%y;'S;=`&_<%lO%yX;qV{WOr%ysv%yw!v%y!v!w<W!w;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!c%y!c!d<r!d;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!}%y!}#O=^#O;'S%y;'S;=`&_<%lO%yX=eT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX=yV{WOr%ysv%yw#W%y#W#X>`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U<r#U;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#c%y#c#d@l#d;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#V%y#V#WAW#W;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#h%y#h#iAr#i;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#m%y#m#nB^#n;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#d%y#d#eBx#e;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#X%y#X#Y7w#Y;'S%y;'S;=`&_<%lO%yXCkT!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZDTWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_DvW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZEgYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aFV!a;'S$n;'S;=`&e<%lO$nZF`W!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGPYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QGo#Q;'S$n;'S;=`&e<%lO$nZGvYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aHf!a;'S$n;'S;=`&e<%lO$nZHoWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[c,S,u,m,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});var d=t(7201);function P(e,O){let t=O&&O.getChild("TagName");return t?e.sliceString(t.from,t.to):""}function _(e,O){let t=O&&O.firstChild;return t&&"OpenTag"==t.name?P(e,t):""}function T(e){for(let O=e&&e.parent;O;O=O.parent)if("Element"==O.name)return O;return null}class h{constructor(e,O,t){this.attrs=O,this.attrValues=t,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map((e=>({label:e,type:"text"}))):[]}}const v=/^[:\-\.\w\u00b7-\uffff]*$/;function b(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function C(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function W(e,O){let t=[],n=[],a=Object.create(null);for(let e of O){let O=b(e);t.push(O),e.global&&n.push(O),e.values&&(a[e.name]=e.values.map(C))}let l=[],r=[],s=Object.create(null);for(let O of e){let e=n,o=a;O.attributes&&(e=e.concat(O.attributes.map((e=>"string"==typeof e?t.find((O=>O.label==e))||{label:e,type:"property"}:(e.values&&(o==a&&(o=Object.create(o)),o[e.name]=e.values.map(C)),b(e))))));let y=new h(O,e,o);s[y.name]=y,l.push(y),O.top&&r.push(y)}r.length||(r=l);for(let O=0;O<l.length;O++){let t=e[O],n=l[O];if(t.children)for(let e of t.children)s[e]&&n.children.push(s[e]);else n.children=l}return e=>{var O;let{doc:t}=e.state,o=function(e,O){var t;let n=(0,d.syntaxTree)(e).resolveInner(O,-1),a=null;for(let e=n;!a&&e.parent;e=e.parent)"OpenTag"!=e.name&&"CloseTag"!=e.name&&"SelfClosingTag"!=e.name&&"MismatchedCloseTag"!=e.name||(a=e);if(a&&(a.to>O||a.lastChild.type.isError)){let e=a.parent;if("TagName"==n.name)return"CloseTag"==a.name||"MismatchedCloseTag"==a.name?{type:"closeTag",from:n.from,context:e}:{type:"openTag",from:n.from,context:T(e)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:a};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:a};let t=n==a||"Attribute"==n.name?n.childBefore(O):n;return"StartTag"==(null==t?void 0:t.name)?{type:"openTag",from:O,context:T(e)}:"StartCloseTag"==(null==t?void 0:t.name)&&t.to<=O?{type:"closeTag",from:O,context:e}:"Is"==(null==t?void 0:t.name)?{type:"attrValue",from:O,context:a}:t?{type:"attrName",from:O,context:a}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:O,context:n.parent};for(;n.parent&&n.to==O&&!(null===(t=n.lastChild)||void 0===t?void 0:t.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:O,context:"Element"==n.name?n:T(n)}:null}(e.state,e.pos);if(!o||"tag"==o.type&&!e.explicit)return null;let{type:y,from:i,context:$}=o;if("openTag"==y){let e=r,O=_(t,$);if(O){let t=s[O];e=(null==t?void 0:t.children)||l}return{from:i,options:e.map((e=>e.completion)),validFor:v}}if("closeTag"==y){let n=_(t,$);return n?{from:i,to:e.pos+(">"==t.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(O=s[n])||void 0===O?void 0:O.closeNameCompletion)||{label:n+">",type:"type"}],validFor:v}:null}if("attrName"==y){let e=s[P(t,$)];return{from:i,options:(null==e?void 0:e.attrs)||n,validFor:v}}if("attrValue"==y){let O=function(e,O,t){let n=O&&O.getChildren("Attribute").find((e=>e.from<=t&&e.to>=t)),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}(t,$,i);if(!O)return null;let n=s[P(t,$)],l=((null==n?void 0:n.attrValues)||a)[O];return l&&l.length?{from:i,to:e.pos+('"'==t.sliceString(e.pos,e.pos+1)?1:0),options:l,validFor:/^"[^"]*"?$/}:null}if("tag"==y){let O=_(t,$),n=s[O],a=[],o=$&&$.lastChild;!O||o&&"CloseTag"==o.name&&P(t,o)==O||a.push(n?n.closeCompletion:{label:"</"+O+">",type:"type",boost:2});let y=a.concat(((null==n?void 0:n.children)||($?l:r)).map((e=>e.openCompletion)));if($&&(null==n?void 0:n.text.length)){let O=$.firstChild;O.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(O.to,e.pos))&&(y=y.concat(n.text))}return{from:i,options:y,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}const w=d.LRLanguage.define({name:"xml",parser:f.configure({props:[d.indentNodeProp.add({Element(e){let O=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),d.foldNodeProp.add({Element(e){let O=e.firstChild,t=e.lastChild;return O&&"OpenTag"==O.name?{from:O.to,to:"CloseTag"==t.name?t.from:e.to}:null}}),d.bracketMatchingHandle.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function V(e={}){return new d.LanguageSupport(w,w.data.of({autocomplete:W(e.elements||[],e.attributes||[])}))}}}]);