@krantho/studio 0.0.0-stage → 1.0.0

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.
Files changed (132) hide show
  1. package/LICENSE +21 -0
  2. package/dist/assets/AssistantPanel-CzFfUizn.js +8 -0
  3. package/dist/assets/AssistantPanel-DB6gluI1.css +1 -0
  4. package/dist/assets/GraphBrowser-DvcHXw-i.js +2 -0
  5. package/dist/assets/GraphBrowser-U_-D112C.css +1 -0
  6. package/dist/assets/GraphCanvas-Bq75rYgC.js +1 -0
  7. package/dist/assets/GraphCanvas-C_Wsk21g.css +1 -0
  8. package/dist/assets/action-button-Co7fp7HS.js +1 -0
  9. package/dist/assets/api-client-BRi_ki2Y.js +1 -0
  10. package/dist/assets/api-seo-2H6_VoWE.js +1 -0
  11. package/dist/assets/arduino-CEYAtK6G.js +1 -0
  12. package/dist/assets/arrow-down-CsgZZR1B.js +1 -0
  13. package/dist/assets/arrow-left-DKjipJjb.js +1 -0
  14. package/dist/assets/auth-GRfs02w7.js +1 -0
  15. package/dist/assets/bash-4sOSYtlG.js +1 -0
  16. package/dist/assets/basic-2Y4JmWk4.js +1 -0
  17. package/dist/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2 +0 -0
  18. package/dist/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2 +0 -0
  19. package/dist/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2 +0 -0
  20. package/dist/assets/c-C8PoWFx3.js +1 -0
  21. package/dist/assets/catalog-offer-CeRRk2Zo.js +1 -0
  22. package/dist/assets/circle-check-big-zoQrH4Hp.js +1 -0
  23. package/dist/assets/circle-dashed-Cu2MEHnb.js +1 -0
  24. package/dist/assets/circle-x-DMb3ZtiK.js +1 -0
  25. package/dist/assets/clike-jjKDqbJf.js +1 -0
  26. package/dist/assets/clock-CzpAlvS3.js +1 -0
  27. package/dist/assets/collection-view-BlqX2SDN.js +5 -0
  28. package/dist/assets/collection-view-Dllo4l_w.css +1 -0
  29. package/dist/assets/copy-DloNx7rC.js +1 -0
  30. package/dist/assets/corner-down-right-D2cWjQTP.js +1 -0
  31. package/dist/assets/cpp-BNrDeSFM.js +1 -0
  32. package/dist/assets/createLucideIcon-DO6kYgVn.css +1 -0
  33. package/dist/assets/createLucideIcon-D_HN41p3.js +1 -0
  34. package/dist/assets/csharp-C2EQRp-I.js +1 -0
  35. package/dist/assets/css-BLUnUyF9.js +1 -0
  36. package/dist/assets/data-table-D8BsE1pn.js +1 -0
  37. package/dist/assets/data-table-Dm9uZXES.css +1 -0
  38. package/dist/assets/diff-CnVbg4kZ.js +3 -0
  39. package/dist/assets/editor-page-C8G81B5n.js +27 -0
  40. package/dist/assets/editor-page-D-qGDgmd.css +1 -0
  41. package/dist/assets/empty-state-Bvnil5AQ.css +1 -0
  42. package/dist/assets/empty-state-CU7q3Ypl.js +1 -0
  43. package/dist/assets/export-helpers-B2KV_EB5.js +1 -0
  44. package/dist/assets/external-link-BRKJTCZG.js +1 -0
  45. package/dist/assets/fill-job-D41ra-DR.js +1 -0
  46. package/dist/assets/fill-run-view-BhqhXo7I.css +1 -0
  47. package/dist/assets/fill-run-view-DFeyjdsI.js +1 -0
  48. package/dist/assets/findability-CUYOthYI.js +1 -0
  49. package/dist/assets/format-pPdsDgeS.js +1 -0
  50. package/dist/assets/go-BTdFQSkQ.js +1 -0
  51. package/dist/assets/graph-config-ZUe9BjGK.js +1 -0
  52. package/dist/assets/graph-config-mZyX0Lqo.css +1 -0
  53. package/dist/assets/guards-BFEDbduR.js +1 -0
  54. package/dist/assets/image-editor-BTlqjPtS.css +1 -0
  55. package/dist/assets/image-editor-Bmjrioxz.js +1 -0
  56. package/dist/assets/index-Buq8auz3.css +1 -0
  57. package/dist/assets/index-DVe5jFLX.js +2 -0
  58. package/dist/assets/info-B69U-gXd.js +1 -0
  59. package/dist/assets/ini-_H0-Wnh8.js +1 -0
  60. package/dist/assets/java-OEPW09uX.js +1 -0
  61. package/dist/assets/javascript-DWFokqmn.js +1 -0
  62. package/dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  63. package/dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  64. package/dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  65. package/dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  66. package/dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  67. package/dist/assets/json-B02E3pk2.js +1 -0
  68. package/dist/assets/kotlin-lSpEPTBz.js +1 -0
  69. package/dist/assets/layers-BQ89qo5R.js +1 -0
  70. package/dist/assets/less-DZtXz-rP.js +1 -0
  71. package/dist/assets/list-checks-DmMdd-uP.js +1 -0
  72. package/dist/assets/live-markdown-editor-CTvxOTrh.js +53 -0
  73. package/dist/assets/lua-Dl7axvik.js +1 -0
  74. package/dist/assets/makefile-C7Vj606s.js +1 -0
  75. package/dist/assets/markdown-D0Y7CUbI.js +1 -0
  76. package/dist/assets/markup-Bfi2BWVm.js +1 -0
  77. package/dist/assets/markup-templating-BkH2dBCn.js +1 -0
  78. package/dist/assets/media-model-D4F1Farw.js +1 -0
  79. package/dist/assets/media-page-DBdAvFvu.css +1 -0
  80. package/dist/assets/media-page-DYRRse48.js +1 -0
  81. package/dist/assets/meter-WebPk4WX.css +1 -0
  82. package/dist/assets/meter-mJxPk3I3.js +1 -0
  83. package/dist/assets/objectivec-Cv_qlwGW.js +1 -0
  84. package/dist/assets/pen-line-CZkcVGBd.js +1 -0
  85. package/dist/assets/pencil-BHnNXVY1.js +1 -0
  86. package/dist/assets/perl-Ci2iz3Xf.js +1 -0
  87. package/dist/assets/php-MrfIyKXK.js +1 -0
  88. package/dist/assets/pulse-page-B44AnguJ.js +1 -0
  89. package/dist/assets/pulse-page-HgFM-MfC.css +1 -0
  90. package/dist/assets/python-PcNiIBxw.js +1 -0
  91. package/dist/assets/r-CjN4PMnd.js +1 -0
  92. package/dist/assets/regex-Dv2vm_uO.js +1 -0
  93. package/dist/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
  94. package/dist/assets/rotate-ccw-CjpQmti_.js +1 -0
  95. package/dist/assets/ruby-DGkU311C.js +1 -0
  96. package/dist/assets/rust-CYWeblTv.js +1 -0
  97. package/dist/assets/sass-RhMvkm29.js +1 -0
  98. package/dist/assets/save-kXwhieDK.js +1 -0
  99. package/dist/assets/scss-BSDGjs1D.js +1 -0
  100. package/dist/assets/send-ib_sr-OU.js +1 -0
  101. package/dist/assets/setup-page-Bc799yav.css +1 -0
  102. package/dist/assets/setup-page-x51U8px6.js +1 -0
  103. package/dist/assets/site-XpqFn80l.js +1 -0
  104. package/dist/assets/site-lUERQFzn.css +1 -0
  105. package/dist/assets/site-model-DX8WxTJg.js +1 -0
  106. package/dist/assets/site-overview--k6hNYk0.js +1 -0
  107. package/dist/assets/source-CGZGd3Xy.js +1 -0
  108. package/dist/assets/sql-DL4klaVE.js +1 -0
  109. package/dist/assets/structure-page-BW1y8L1n.js +2 -0
  110. package/dist/assets/structure-page-DVSxQzgj.css +1 -0
  111. package/dist/assets/swift-7bJ1Hzvg.js +1 -0
  112. package/dist/assets/trash-Cknp3eZ5.js +1 -0
  113. package/dist/assets/triangle-alert-C4yqbtOC.js +1 -0
  114. package/dist/assets/typescript-Brau3Puh.js +1 -0
  115. package/dist/assets/upload-BvBYjswd.js +1 -0
  116. package/dist/assets/use-drawer-actions-DChrztN2.js +1 -0
  117. package/dist/assets/use-drawer-actions-DeFJMhBn.css +1 -0
  118. package/dist/assets/use-loaded-C3hBdQe0.js +1 -0
  119. package/dist/assets/use-locale-versions-Bp4V9fN-.js +1 -0
  120. package/dist/assets/vbnet-BCRrhSDY.js +1 -0
  121. package/dist/assets/vendor-diff-Dm2YfgXt.js +138 -0
  122. package/dist/assets/vendor-markdown-DlwjVoJi.js +66 -0
  123. package/dist/assets/vendor-media-DJOnVxEf.css +1 -0
  124. package/dist/assets/vendor-media-yY6fAUvp.js +1 -0
  125. package/dist/assets/vendor-react-DLioOiRN.css +1 -0
  126. package/dist/assets/vendor-react-DMqGe90A.js +15 -0
  127. package/dist/assets/vendor-reactflow-5Qvgw90M.js +1 -0
  128. package/dist/assets/vendor-router-DjV3D6zM.js +1 -0
  129. package/dist/assets/yaml-n53w1Kfi.js +1 -0
  130. package/dist/index.html +36 -0
  131. package/package.json +63 -3
  132. package/README.md +0 -3
@@ -0,0 +1,138 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/arduino-CEYAtK6G.js","assets/cpp-BNrDeSFM.js","assets/c-C8PoWFx3.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/clike-jjKDqbJf.js","assets/csharp-C2EQRp-I.js","assets/go-BTdFQSkQ.js","assets/java-OEPW09uX.js","assets/javascript-DWFokqmn.js","assets/kotlin-lSpEPTBz.js","assets/less-DZtXz-rP.js","assets/css-BLUnUyF9.js","assets/markdown-D0Y7CUbI.js","assets/markup-Bfi2BWVm.js","assets/markup-templating-BkH2dBCn.js","assets/objectivec-Cv_qlwGW.js","assets/php-MrfIyKXK.js","assets/ruby-DGkU311C.js","assets/sass-RhMvkm29.js","assets/scss-BSDGjs1D.js","assets/typescript-Brau3Puh.js","assets/vbnet-BCRrhSDY.js","assets/basic-2Y4JmWk4.js"])))=>i.map(i=>d[i]);
2
+ import{i as e,n as t,t as n}from"./rolldown-runtime-Dd_uD5pT.js";var r=n((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ee=/\/+/g;function te(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function ne(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function re(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,re(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+te(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ee,`$&/`)+`/`),re(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ee,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+te(a,u),c+=re(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+te(a,u++),c+=re(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return re(ne(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function A(e,t,n){if(e==null)return e;var r=[],i=0;return re(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function j(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ie=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},M={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=M,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:j}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,ie)}catch(e){ie(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.9`})),i=n(((e,t)=>{t.exports=r()})),a=e(i(),1),o=`modulepreload`,s=function(e){return`/studio/`+e},c={},l=function(e){return e.pathname.endsWith(`.css`)},u=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function u(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function d(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=u(t.map(t=>{t=s(t,n);let r=d(t);if(r.href in c)return;c[r.href]=!0;let i=l(r);if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let u=document.createElement(`link`);if(u.rel=i?`stylesheet`:o,i||(u.as=`script`),u.crossOrigin=``,u.href=r.href,a&&u.setAttribute(`nonce`,a),document.head.appendChild(u),i)return new Promise((e,t)=>{u.addEventListener(`load`,e),u.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${r}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},d=n((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),f=n(((e,t)=>{t.exports=d()})),p=n(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()})),m=f(),h=e(p(),1),g=Number.isNaN||function(e){return typeof e==`number`&&e!==e};function _(e,t){return!!(e===t||g(e)&&g(t))}function v(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!_(e[n],t[n]))return!1;return!0}function y(e,t){t===void 0&&(t=v);var n=null;function r(){var r=[...arguments];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}function b(e,t,n){let r=0,i,a={},o=[];return e.forEach((e,s)=>{let c=t.some(e=>e>=s-n&&e<=s+n);!c&&i===void 0?(i={index:r,startLine:s,endLine:s,lines:1},o.push(i),a[s]=i.index,r++):!c&&i?(i.endLine=s,i.lines++,a[s]=i.index):i=void 0}),{lineBlocks:a,blocks:o}}var x=class{diff(e,t,n={}){let r;typeof n==`function`?(r=n,n={}):`callback`in n&&(r=n.callback);let i=this.castInput(e,n),a=this.castInput(t,n),o=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(o,s,n,r)}diffWithOptionsObj(e,t,n,r){let i=e=>{if(e=this.postProcess(e,n),r){setTimeout(function(){r(e)},0);return}return e},a=t.length,o=e.length,s=1,c=a+o;n.maxEditLength!=null&&(c=Math.min(c,n.maxEditLength));let l=n.timeout??1/0,u=Date.now()+l,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=o&&f+1>=a)return i(this.buildValues(d[0].lastComponent,t,e));let p=-1/0,m=1/0,h=()=>{for(let r=Math.max(p,-s);r<=Math.min(m,s);r+=2){let s,c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){let e=l.oldPos-r;u=l&&0<=e&&e<a}let h=c&&c.oldPos+1<o;if(!u&&!h){d[r]=void 0;continue}if(s=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(s,t,e,r,n),s.oldPos+1>=o&&f+1>=a)return i(this.buildValues(s.lastComponent,t,e))||!0;d[r]=s,s.oldPos+1>=o&&(m=Math.min(m,r-1)),f+1>=a&&(p=Math.max(p,r+1))}s++};if(r)(function e(){setTimeout(function(){if(s>c||Date.now()>u)return r(void 0);h()||e()},0)})();else for(;s<=c&&Date.now()<=u;){let e=h();if(e)return e}}addToPath(e,t,n,r,i){let a=e.lastComponent;return a&&!i.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,r,i){let a=t.length,o=n.length,s=e.oldPos,c=s-r,l=0;for(;c+1<a&&s+1<o&&this.equals(n[s+1],t[c+1],i);)c++,s++,l++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join(``)}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r=[],i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();let a=r.length,o=0,s=0,c=0;for(;o<a;o++){let e=r[o];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map(function(e,t){let r=n[c+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(c+=e.count)}}return r}},S=new class extends x{};function C(e,t,n){return S.diff(e,t,n)}function w(e,t){let n=0;for(;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function T(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return``;for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function E(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function D(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function O(e,t){return E(e,t,``)}function k(e,t){return D(e,t,``)}function ee(e,t){return t.slice(0,te(e,t))}function te(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);let i=Array(r),a=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[a]?i[e]=i[a]:i[e]=a;a>0&&t[e]!=t[a];)a=i[a];t[e]==t[a]&&a++}a=0;for(let r=n;r<e.length;r++){for(;a>0&&e[r]!=t[a];)a=i[a];e[r]==t[a]&&a++}return a}function ne(e){return e.includes(`\r
3
+ `)&&!e.startsWith(`
4
+ `)&&!e.match(/[^\r]\n/)}function re(e){return!e.includes(`\r
5
+ `)&&e.includes(`
6
+ `)}function A(e,t){let n=[];for(let r of Array.from(t.segment(e))){let e=r.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}return n}function j(e,t){if(t)return M(e,t)[1];let n;for(n=e.length-1;n>=0&&e[n].match(/\s/);n--);return e.substring(n+1)}function ie(e,t){if(t)return M(e,t)[0];let n=e.match(/^\s*/);return n?n[0]:``}function M(e,t){if(!t)return[ie(e),j(e)];if(t.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);let n=A(e,t),r=n[0],i=n[n.length-1];return[/\s/.test(r)?r:``,/\s/.test(i)?i:``]}var ae=`a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}`,N=RegExp(`[${ae}]+|\\s+|[^${ae}]`,`ug`),oe=new class extends x{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){let r=t.intlSegmenter;if(r.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);n=A(e,r)}else n=e.match(N)||[];let r=[],i=null;return n.forEach(e=>{/\s/.test(e)?i==null?r.push(e):r.push(r.pop()+e):i!=null&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e}),r}join(e){return e.map((e,t)=>t==0?e:e.replace(/^\s+/,``)).join(``)}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach(e=>{e.added?r=e:e.removed?i=e:((r||i)&&ce(n,i,r,e,t.intlSegmenter),n=e,r=null,i=null)}),(r||i)&&ce(n,i,r,null,t.intlSegmenter),e}};function se(e,t,n){return n?.ignoreWhitespace!=null&&!n.ignoreWhitespace?ue(e,t,n):oe.diff(e,t,n)}function ce(e,t,n,r,i){if(t&&n){let[a,o]=M(t.value,i),[s,c]=M(n.value,i);if(e){let r=w(a,s);e.value=D(e.value,s,r),t.value=O(t.value,r),n.value=O(n.value,r)}if(r){let e=T(o,c);r.value=E(r.value,c,e),t.value=k(t.value,e),n.value=k(n.value,e)}}else if(n){if(e){let e=ie(n.value,i);n.value=n.value.substring(e.length)}if(r){let e=ie(r.value,i);r.value=r.value.substring(e.length)}}else if(e&&r){let n=ie(r.value,i),[a,o]=M(t.value,i),s=w(n,a);t.value=O(t.value,s);let c=T(O(n,s),o);t.value=k(t.value,c),r.value=E(r.value,n,c),e.value=D(e.value,n,n.slice(0,n.length-c.length))}else if(r){let e=ie(r.value,i),n=ee(j(t.value,i),e);t.value=k(t.value,n)}else if(e){let n=ee(j(e.value,i),ie(t.value,i));t.value=O(t.value,n)}}var le=new class extends x{tokenize(e){let t=RegExp(`(\\r?\\n)|[${ae}]+|[^\\S\\n\\r]+|[^${ae}]`,`ug`);return e.match(t)||[]}};function ue(e,t,n){return le.diff(e,t,n)}function de(e,t){if(typeof e==`function`)t.callback=e;else if(e)for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}var fe=new class extends x{constructor(){super(...arguments),this.tokenize=he}equals(e,t,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
7
+ `))&&(e=e.trim()),(!n.newlineIsToken||!t.includes(`
8
+ `))&&(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith(`
9
+ `)&&(e=e.slice(0,-1)),t.endsWith(`
10
+ `)&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function pe(e,t,n){return fe.diff(e,t,n)}function me(e,t,n){return n=de(n,{ignoreWhitespace:!0}),fe.diff(e,t,n)}function he(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
11
+ `));let n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let e=0;e<r.length;e++){let i=r[e];e%2&&!t.newlineIsToken?n[n.length-1]+=i:n.push(i)}return n}function ge(e){return e==`.`||e==`!`||e==`?`}var _e=new class extends x{tokenize(e){let t=[],n=0;for(let r=0;r<e.length;r++){if(r==e.length-1){t.push(e.slice(n));break}if(ge(e[r])&&e[r+1].match(/\s/)){for(t.push(e.slice(n,r+1)),r=n=r+1;e[r+1]?.match(/\s/);)r++;t.push(e.slice(n,r+1)),n=r+1}}return t}};function ve(e,t,n){return _e.diff(e,t,n)}var ye=new class extends x{tokenize(e){return e.split(/([{}:;,]|\s+)/)}};function be(e,t,n){return ye.diff(e,t,n)}var xe=new class extends x{constructor(){super(...arguments),this.tokenize=he}get useLongestToken(){return!0}castInput(e,t){let{undefinedReplacement:n,stringifyReplacer:r=(e,t)=>t===void 0?n:t}=t;return typeof e==`string`?e:JSON.stringify(Ce(e,null,null,r),null,` `)}equals(e,t,n){return super.equals(e.replace(/,([\r\n])/g,`$1`),t.replace(/,([\r\n])/g,`$1`),n)}};function Se(e,t,n){return xe.diff(e,t,n)}function Ce(e,t,n,r,i){t||=[],n||=[],r&&(e=r(i===void 0?``:i,e));let a=0;for(;a<t.length;a+=1)if(t[a]===e)return n[a];let o;if(Object.prototype.toString.call(e)===`[object Array]`){for(t.push(e),o=Array(e.length),n.push(o),a=0;a<e.length;a+=1)o[a]=Ce(e[a],t,n,r,String(a));return t.pop(),n.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),typeof e==`object`&&e){t.push(e),o={},n.push(o);let i=[],s;for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&i.push(s);for(i.sort(),a=0;a<i.length;a+=1)s=i[a],o[s]=Ce(e[s],t,n,r,s);t.pop(),n.pop()}else o=e;return o}var we=new class extends x{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}};function Te(e,t,n){return we.diff(e,t,n)}function Ee(e){return Array.isArray(e)?e.map(e=>Ee(e)):Object.assign(Object.assign({},e),{hunks:e.hunks.map(e=>Object.assign(Object.assign({},e),{lines:e.lines.map((t,n)=>t.startsWith(`\\`)||t.endsWith(`\r`)||e.lines[n+1]?.startsWith(`\\`)?t:t+`\r`)}))})}function De(e){return Array.isArray(e)?e.map(e=>De(e)):Object.assign(Object.assign({},e),{hunks:e.hunks.map(e=>Object.assign(Object.assign({},e),{lines:e.lines.map(e=>e.endsWith(`\r`)?e.substring(0,e.length-1):e)}))})}function Oe(e){return Array.isArray(e)||(e=[e]),!e.some(e=>e.hunks.some(e=>e.lines.some(e=>!e.startsWith(`\\`)&&e.endsWith(`\r`))))}function ke(e){return Array.isArray(e)||(e=[e]),e.some(e=>e.hunks.some(e=>e.lines.some(e=>e.endsWith(`\r`))))&&e.every(e=>e.hunks.every(e=>e.lines.every((t,n)=>t.startsWith(`\\`)||t.endsWith(`\r`)||e.lines[n+1]?.startsWith(`\\`))))}function Ae(e){let t=e.split(/\n/),n=[],r=0;function i(e){return/^diff --git /.test(e)}function a(e){return i(e)||/^Index:\s/.test(e)||/^diff(?: -r \w+)+\s/.test(e)}function o(e){return/^(---|\+\+\+)\s/.test(e)}function s(e){return/^@@\s/.test(e)}function c(){let e={};e.hunks=[],n.push(e);let c=!1;for(;r<t.length;){let n=t[r];if(o(n)||s(n))break;if(i(n)){if(c)return;c=!0,e.isGit=!0;let i=l(n);for(i&&(e.oldFileName=i.oldFileName,e.newFileName=i.newFileName),r++;r<t.length;){let n=t[r];if(o(n)||s(n)||a(n))break;let i=/^rename from (.*)/.exec(n);i&&(e.oldFileName=`a/`+u(i[1]),e.isRename=!0);let c=/^rename to (.*)/.exec(n);c&&(e.newFileName=`b/`+u(c[1]),e.isRename=!0);let l=/^copy from (.*)/.exec(n);l&&(e.oldFileName=`a/`+u(l[1]),e.isCopy=!0);let d=/^copy to (.*)/.exec(n);d&&(e.newFileName=`b/`+u(d[1]),e.isCopy=!0);let f=/^new file mode (\d+)/.exec(n);f&&(e.isCreate=!0,e.newMode=f[1]);let p=/^deleted file mode (\d+)/.exec(n);p&&(e.isDelete=!0,e.oldMode=p[1]);let m=/^old mode (\d+)/.exec(n);m&&(e.oldMode=m[1]);let h=/^new mode (\d+)/.exec(n);h&&(e.newMode=h[1]),/^Binary files /.test(n)&&(e.isBinary=!0),r++}continue}if(a(n)){if(c)return;c=!0;let t=/^(?:Index:|diff(?: -r \w+)+)\s+/.exec(n);t&&(e.index=n.substring(t[0].length).trim())}r++}if(f(e),f(e),e.oldFileName===void 0!=(e.newFileName===void 0))throw Error(`Missing `+(e.oldFileName===void 0?`"--- ..."`:`"+++ ..."`)+` file header for `+(e.oldFileName??e.newFileName));for(;r<t.length;){let n=t[r];if(a(n)||o(n)||/^===================================================================/.test(n))break;s(n)?e.hunks.push(p()):r++}}function l(e){let t=e.substring(11);if(t.startsWith(`"`)){let e=d(t);if(e===null)return null;let n=t.substring(e.rawLength+1),r;if(n.startsWith(`"`)){let e=d(n);if(e===null)return null;r=e.fileName}else r=n;return{oldFileName:e.fileName,newFileName:r}}let n=t.indexOf(`"`);if(n>0){let e=t.substring(0,n-1),r=d(t.substring(n));return r===null?null:{oldFileName:e,newFileName:r.fileName}}if(t.startsWith(`a/`)){let e=[],n=0;for(;n=t.indexOf(` b/`,n+1),n!==-1;)e.push(n);if(e.length>0){let n=e[Math.floor(e.length/2)];return{oldFileName:t.substring(0,n),newFileName:t.substring(n+1)}}}return null}function u(e){if(e.startsWith(`"`)){let t=d(e);if(t)return t.fileName}return e}function d(e){if(!e.startsWith(`"`))return null;let t=``,n=1;for(;n<e.length;){if(e[n]===`"`)return{fileName:t,rawLength:n+1};if(e[n]===`\\`&&n+1<e.length)switch(n++,e[n]){case`a`:t+=`\x07`;break;case`b`:t+=`\b`;break;case`f`:t+=`\f`;break;case`n`:t+=`
12
+ `;break;case`r`:t+=`\r`;break;case`t`:t+=` `;break;case`v`:t+=`\v`;break;case`\\`:t+=`\\`;break;case`"`:t+=`"`;break;case`0`:case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:{if(n+2>=e.length||e[n+1]<`0`||e[n+1]>`7`||e[n+2]<`0`||e[n+2]>`7`)return null;let r=[parseInt(e.substring(n,n+3),8)];for(n+=3;e[n]===`\\`&&e[n+1]>=`0`&&e[n+1]<=`7`;){if(n+3>=e.length||e[n+2]<`0`||e[n+2]>`7`||e[n+3]<`0`||e[n+3]>`7`)return null;r.push(parseInt(e.substring(n+1,n+4),8)),n+=4}t+=new TextDecoder(`utf-8`).decode(new Uint8Array(r));continue}default:return null}else t+=e[n];n++}return null}function f(e){let n=/^(---|\+\+\+)\s+/.exec(t[r]);if(n){let i=n[1],a=t[r].substring(3).trim().split(` `,2),o=(a[1]||``).trim(),s=a[0];s=s.startsWith(`"`)?u(s):s.replace(/\\\\/g,`\\`),i===`---`?(e.oldFileName=s,e.oldHeader=o):(e.newFileName=s,e.newHeader=o),r++}}function p(){let e=r,n=t[r++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),i={oldStart:+n[1],oldLines:n[2]===void 0?1:+n[2],newStart:+n[3],newLines:n[4]===void 0?1:+n[4],lines:[]};i.oldLines===0&&(i.oldStart+=1),i.newLines===0&&(i.newStart+=1);let a=0,s=0;for(;r<t.length&&(s<i.oldLines||a<i.newLines||t[r]?.startsWith(`\\`));r++){let n=t[r].length==0&&r!=t.length-1?` `:t[r][0];if(n===`+`||n===`-`||n===` `||n===`\\`)i.lines.push(t[r]),n===`+`?a++:n===`-`?s++:n===` `&&(a++,s++);else throw Error(`Hunk at line ${e+1} contained invalid line ${t[r]}`)}if(!a&&i.newLines===1&&(i.newLines=0),!s&&i.oldLines===1&&(i.oldLines=0),a!==i.newLines)throw Error(`Added line count did not match for hunk at line `+(e+1));if(s!==i.oldLines)throw Error(`Removed line count did not match for hunk at line `+(e+1));if(r<t.length&&t[r]&&/^[+ -]/.test(t[r])&&!o(t[r]))throw Error(`Hunk at line `+(e+1)+` has more lines than expected (expected `+i.oldLines+` old lines and `+i.newLines+` new lines)`);return i}for(;r<t.length;)c();return n}function je(e,t,n){let r=!0,i=!1,a=!1,o=1;return function s(){if(r&&!a){if(i?o++:r=!1,e+o<=n)return e+o;a=!0}if(!i)return a||(r=!0),t<=e-o?e-o++:(i=!0,s())}}function Me(e,t,n={}){let r;if(r=typeof t==`string`?Ae(t):Array.isArray(t)?t:[t],r.length>1)throw Error(`applyPatch only works with a single input.`);return Ne(e,r[0],n)}function Ne(e,t,n={}){(n.autoConvertLineEndings||n.autoConvertLineEndings==null)&&(ne(e)&&Oe(t)?t=Ee(t):re(e)&&ke(t)&&(t=De(t)));let r=e.split(`
13
+ `),i=t.hunks,a=n.compareLine||((e,t,n,r)=>t===r),o=n.fuzzFactor||0,s=0;if(o<0||!Number.isInteger(o))throw Error(`fuzzFactor must be a non-negative integer`);if(!i.length)return e;let c=``,l=!1,u=!1;for(let e=0;e<i[i.length-1].lines.length;e++){let t=i[i.length-1].lines[e];t[0]==`\\`&&(c[0]==`+`?l=!0:c[0]==`-`&&(u=!0)),c=t}if(l){if(u){if(!o&&r[r.length-1]==``)return!1}else if(r[r.length-1]==``)r.pop();else if(!o)return!1}else if(u){if(r[r.length-1]!=``)r.push(``);else if(!o)return!1}function d(e,t,n,i=0,o=!0,s=[],c=0){let l=0,u=!1;for(;i<e.length;i++){let f=e[i],p=f.length>0?f[0]:` `,m=f.length>0?f.substr(1):f;if(p===`-`){if(a(t+1,r[t],p,m))t++,l=0;else return!n||r[t]==null?null:(s[c]=r[t],d(e,t+1,n-1,i,!1,s,c+1))}if(p===`+`){if(!o)return null;s[c]=m,c++,l=0,u=!0}if(p===` `){if(l++,s[c]=r[t],a(t+1,r[t],p,m))c++,o=!0,u=!1,t++;else return u||!n?null:r[t]&&(d(e,t+1,n-1,i+1,!1,s,c+1)||d(e,t+1,n-1,i,!1,s,c+1))||d(e,t,n-1,i+1,!1,s,c)}}return c-=l,t-=l,s.length=c,{patchedLines:s,oldLineLastI:t-1}}let f=[],p=0;for(let e=0;e<i.length;e++){let t=i[e],n,a=r.length-t.oldLines+o,c;for(let e=0;e<=o;e++){c=t.oldStart+p-1;let r=je(c,s,a);for(;c!==void 0&&(n=d(t.lines,c,e),!n);c=r());if(n)break}if(!n)return!1;for(let e=s;e<c;e++)f.push(r[e]);for(let e=0;e<n.patchedLines.length;e++){let t=n.patchedLines[e];f.push(t)}s=n.oldLineLastI+1,p=c+1-t.oldStart}for(let e=s;e<r.length;e++)f.push(r[e]);return f.join(`
14
+ `)}function Pe(e,t){let n=typeof e==`string`?Ae(e):e,r=0;function i(){let e=n[r++];if(!e)return t.complete();t.loadFile(e,function(n,r){if(n)return t.complete(n);let a=Me(r,e,t);t.patched(e,a,function(e){if(e)return t.complete(e);i()})})}i()}function Fe(e){return e===void 0||e===`/dev/null`?e:e.startsWith(`a/`)?`b/`+e.slice(2):e.startsWith(`b/`)?`a/`+e.slice(2):e}function Ie(e){if(Array.isArray(e))return e.map(e=>Ie(e)).reverse();let t=Object.assign(Object.assign({},e),{oldFileName:e.isGit?Fe(e.newFileName):e.newFileName,oldHeader:e.newHeader,newFileName:e.isGit?Fe(e.oldFileName):e.oldFileName,newHeader:e.oldHeader,oldMode:e.newMode,newMode:e.oldMode,isCreate:e.isDelete,isDelete:e.isCreate,hunks:e.hunks.map(e=>({oldLines:e.newLines,oldStart:e.newStart,newLines:e.oldLines,newStart:e.oldStart,lines:e.lines.map(e=>e.startsWith(`-`)?`+${e.slice(1)}`:e.startsWith(`+`)?`-${e.slice(1)}`:e)}))});return e.isCopy&&(t.newFileName=`/dev/null`,t.newHeader=void 0,t.isDelete=!0,delete t.isCreate,delete t.isCopy,delete t.isRename,t.hunks=[]),t}function Le(e){for(let t=0;t<e.length;t++)if(e[t]<` `||e[t]>`~`||e[t]===`"`||e[t]===`\\`)return!0;return!1}function Re(e){if(!Le(e))return e;let t=`"`,n=new TextEncoder().encode(e),r=0;for(;r<n.length;){let e=n[r];t+=e===7?`\\a`:e===8?`\\b`:e===9?`\\t`:e===10?`\\n`:e===11?`\\v`:e===12?`\\f`:e===13?`\\r`:e===34?`\\"`:e===92?`\\\\`:e>=32&&e<=126?String.fromCharCode(e):`\\`+e.toString(8).padStart(3,`0`),r++}return t+=`"`,t}var ze={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0},Be={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!0},Ve={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!1};function He(e,t,n,r,i,a,o){let s;s=o?typeof o==`function`?{callback:o}:o:{},s.context===void 0&&(s.context=4);let c=s.context;if(s.newlineIsToken)throw Error(`newlineIsToken may not be used with patch-generation functions, only with diffing functions`);if(s.callback){let{callback:e}=s;pe(n,r,Object.assign(Object.assign({},s),{callback:t=>{let n=l(t);e(n)}}))}else return l(pe(n,r,s));function l(n){if(!n)return;n.push({value:``,lines:[]});function r(e){return e.map(function(e){return` `+e})}let o=[],s=0,l=0,u=[],d=1,f=1;for(let e=0;e<n.length;e++){let t=n[e],i=t.lines||Ke(t.value);if(t.lines=i,t.added||t.removed){if(!s){let t=n[e-1];s=d,l=f,t&&(u=c>0?r(t.lines.slice(-c)):[],s-=u.length,l-=u.length)}for(let e of i)u.push((t.added?`+`:`-`)+e);t.added?f+=i.length:d+=i.length}else{if(s){if(i.length<=c*2&&e<n.length-2)for(let e of r(i))u.push(e);else{let e=Math.min(i.length,c);for(let t of r(i.slice(0,e)))u.push(t);let t={oldStart:s,oldLines:d-s+e,newStart:l,newLines:f-l+e,lines:u};o.push(t),s=0,l=0,u=[]}}d+=i.length,f+=i.length}}for(let e of o)for(let t=0;t<e.lines.length;t++)e.lines[t].endsWith(`
15
+ `)?e.lines[t]=e.lines[t].slice(0,-1):(e.lines.splice(t+1,0,`\`),t++);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:a,hunks:o}}}function Ue(e,t){if(t||=ze,Array.isArray(e)){if(e.length>1&&!t.includeFileHeaders&&!e.every(e=>e.isGit))throw Error(`Cannot omit file headers on a multi-file patch. (The result would be unparseable; how would a tool trying to apply the patch know which changes are to which file?)`);return e.map(e=>Ue(e,t)).join(`
16
+ `)}let n=[];if(e.isGit){if(t=ze,!e.oldFileName)throw Error(`oldFileName must be specified for Git patches`);if(!e.newFileName)throw Error(`newFileName must be specified for Git patches`);let r=e.oldFileName,i=e.newFileName;e.isCreate&&r===`/dev/null`?r=i.replace(/^b\//,`a/`):e.isDelete&&i===`/dev/null`&&(i=r.replace(/^a\//,`b/`)),n.push(`diff --git `+Re(r)+` `+Re(i)),e.isDelete&&n.push(`deleted file mode `+(e.oldMode??`100644`)),e.isCreate&&n.push(`new file mode `+(e.newMode??`100644`)),e.oldMode&&e.newMode&&!e.isDelete&&!e.isCreate&&(n.push(`old mode `+e.oldMode),n.push(`new mode `+e.newMode)),e.isRename&&(n.push(`rename from `+Re((e.oldFileName??``).replace(/^a\//,``))),n.push(`rename to `+Re((e.newFileName??``).replace(/^b\//,``)))),e.isCopy&&(n.push(`copy from `+Re((e.oldFileName??``).replace(/^a\//,``))),n.push(`copy to `+Re((e.newFileName??``).replace(/^b\//,``))))}else t.includeIndex&&e.oldFileName==e.newFileName&&e.oldFileName!==void 0&&n.push(`Index: `+e.oldFileName),t.includeUnderline&&n.push(`===================================================================`);let r=e.hunks.length>0;t.includeFileHeaders&&e.oldFileName!==void 0&&e.newFileName!==void 0&&(!e.isGit||r)&&(n.push(`--- `+Re(e.oldFileName)+(e.oldHeader?` `+e.oldHeader:``)),n.push(`+++ `+Re(e.newFileName)+(e.newHeader?` `+e.newHeader:``)));for(let t=0;t<e.hunks.length;t++){let r=e.hunks[t],i=r.oldLines===0?r.oldStart-1:r.oldStart,a=r.newLines===0?r.newStart-1:r.newStart;n.push(`@@ -`+i+`,`+r.oldLines+` +`+a+`,`+r.newLines+` @@`);for(let e of r.lines)n.push(e)}return n.join(`
17
+ `)+`
18
+ `}function We(e,t,n,r,i,a,o){if(typeof o==`function`&&(o={callback:o}),o?.callback){let{callback:s}=o;He(e,t,n,r,i,a,Object.assign(Object.assign({},o),{callback:e=>{s(e?Ue(e,o.headerOptions):void 0)}}))}else{let s=He(e,t,n,r,i,a,o);return s?Ue(s,o?.headerOptions):void 0}}function Ge(e,t,n,r,i,a){return We(e,e,t,n,r,i,a)}function Ke(e){let t=e.endsWith(`
19
+ `),n=e.split(`
20
+ `).map(e=>e+`
21
+ `);return t?n.pop():n.push(n.pop().slice(0,-1)),n}function qe(e){let t=[],n,r;for(let i=0;i<e.length;i++)n=e[i],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}function Je(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];r.added?t.push(`<ins>`):r.removed&&t.push(`<del>`),t.push(Ye(r.value)),r.added?t.push(`</ins>`):r.removed&&t.push(`</del>`)}return t.join(``)}function Ye(e){let t=e;return t=t.replace(/&/g,`&amp;`),t=t.replace(/</g,`&lt;`),t=t.replace(/>/g,`&gt;`),t=t.replace(/"/g,`&quot;`),t}var Xe=t({Diff:()=>x,FILE_HEADERS_ONLY:()=>Be,INCLUDE_HEADERS:()=>ze,OMIT_HEADERS:()=>Ve,applyPatch:()=>Me,applyPatches:()=>Pe,arrayDiff:()=>we,canonicalize:()=>Ce,characterDiff:()=>S,convertChangesToDMP:()=>qe,convertChangesToXML:()=>Je,createPatch:()=>Ge,createTwoFilesPatch:()=>We,cssDiff:()=>ye,diffArrays:()=>Te,diffChars:()=>C,diffCss:()=>be,diffJson:()=>Se,diffLines:()=>pe,diffSentences:()=>ve,diffTrimmedLines:()=>me,diffWords:()=>se,diffWordsWithSpace:()=>ue,formatPatch:()=>Ue,jsonDiff:()=>xe,lineDiff:()=>fe,parsePatch:()=>Ae,reversePatch:()=>Ie,sentenceDiff:()=>_e,structuredPatch:()=>He,wordDiff:()=>oe,wordsWithSpaceDiff:()=>le});function Ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var P={},Qe={},$e={},et;function tt(){if(et)return $e;et=1;function e(e){return e==null}function t(e){return typeof e==`object`&&!!e}function n(t){return Array.isArray(t)?t:e(t)?[]:[t]}function r(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e}function i(e,t){let n=``;for(let r=0;r<t;r+=1)n+=e;return n}function a(e){return e===0&&1/e==-1/0}return $e.isNothing=e,$e.isObject=t,$e.toArray=n,$e.repeat=i,$e.isNegativeZero=a,$e.extend=r,$e}var nt,rt;function it(){if(rt)return nt;rt=1;function e(e,t){let n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
22
+
23
+ `+e.mark.snippet),r+` `+n):r}function t(t,n){Error.call(this),this.name=`YAMLException`,this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(t){return this.name+`: `+e(this,t)},nt=t,nt}var at,ot;function st(){if(ot)return at;ot=1;let e=tt();function t(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function n(t,n){return e.repeat(` `,n-t.length)+t}function r(r,i){if(i=Object.create(i||null),!r.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!=`number`&&(i.indent=1),typeof i.linesBefore!=`number`&&(i.linesBefore=3),typeof i.linesAfter!=`number`&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,o=[0],s=[],c,l=-1;for(;c=a.exec(r.buffer);)s.push(c.index),o.push(c.index+c[0].length),r.position<=c.index&&l<0&&(l=o.length-2);l<0&&(l=o.length-1);let u=``,d=Math.min(r.line+i.linesAfter,s.length).toString().length,f=i.maxLength-(i.indent+d+3);for(let a=1;a<=i.linesBefore&&!(l-a<0);a++){let c=t(r.buffer,o[l-a],s[l-a],r.position-(o[l]-o[l-a]),f);u=e.repeat(` `,i.indent)+n((r.line-a+1).toString(),d)+` | `+c.str+`
24
+ `+u}let p=t(r.buffer,o[l],s[l],r.position,f);u+=e.repeat(` `,i.indent)+n((r.line+1).toString(),d)+` | `+p.str+`
25
+ `,u+=e.repeat(`-`,i.indent+d+3+p.pos)+`^
26
+ `;for(let a=1;a<=i.linesAfter&&!(l+a>=s.length);a++){let c=t(r.buffer,o[l+a],s[l+a],r.position-(o[l]-o[l+a]),f);u+=e.repeat(` `,i.indent)+n((r.line+a+1).toString(),d)+` | `+c.str+`
27
+ `}return u.replace(/\n$/,``)}return at=r,at}var ct,lt;function F(){if(lt)return ct;lt=1;let e=it(),t=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],n=[`scalar`,`sequence`,`mapping`];function r(e){let t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function i(i,a){if(a||={},Object.keys(a).forEach(function(n){if(t.indexOf(n)===-1)throw new e(`Unknown option "`+n+`" is met in definition of "`+i+`" YAML type.`)}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(e){return e},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=r(a.styleAliases||null),n.indexOf(this.kind)===-1)throw new e(`Unknown kind "`+this.kind+`" is specified for "`+i+`" YAML type.`)}return ct=i,ct}var ut,dt;function ft(){if(dt)return ut;dt=1;let e=it(),t=F();function n(e,t){let n=[];return e[t].forEach(function(e){let t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function r(){let e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(let e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(t);return e}function i(e){return this.extend(e)}return i.prototype.extend=function(a){let o=[],s=[];if(a instanceof t)s.push(a);else if(Array.isArray(a))s=s.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(o=o.concat(a.implicit)),a.explicit&&(s=s.concat(a.explicit));else throw new e(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);o.forEach(function(n){if(!(n instanceof t))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(n.loadKind&&n.loadKind!==`scalar`)throw new e(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(n.multi)throw new e(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),s.forEach(function(n){if(!(n instanceof t))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});let c=Object.create(i.prototype);return c.implicit=(this.implicit||[]).concat(o),c.explicit=(this.explicit||[]).concat(s),c.compiledImplicit=n(c,`implicit`),c.compiledExplicit=n(c,`explicit`),c.compiledTypeMap=r(c.compiledImplicit,c.compiledExplicit),c},ut=i,ut}var pt,mt;function ht(){return mt?pt:(mt=1,pt=new(F())(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:function(e){return e===null?``:e}}),pt)}var gt,_t;function vt(){return _t?gt:(_t=1,gt=new(F())(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:function(e){return e===null?[]:e}}),gt)}var yt,bt;function xt(){return bt?yt:(bt=1,yt=new(F())(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:function(e){return e===null?{}:e}}),yt)}var St,Ct;function wt(){return Ct?St:(Ct=1,St=new(ft())({explicit:[ht(),vt(),xt()]}),St)}var Tt,Et;function Dt(){if(Et)return Tt;Et=1;let e=F();function t(e){if(e===null)return!0;let t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}function n(){return null}function r(e){return e===null}return Tt=new e(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:t,construct:n,predicate:r,represent:{canonical:function(){return`~`},lowercase:function(){return`null`},uppercase:function(){return`NULL`},camelcase:function(){return`Null`},empty:function(){return``}},defaultStyle:`lowercase`}),Tt}var Ot,kt;function At(){if(kt)return Ot;kt=1;let e=F();function t(e){if(e===null)return!1;let t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}function n(e){return e===`true`||e===`True`||e===`TRUE`}function r(e){return Object.prototype.toString.call(e)===`[object Boolean]`}return Ot=new e(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:t,construct:n,predicate:r,represent:{lowercase:function(e){return e?`true`:`false`},uppercase:function(e){return e?`TRUE`:`FALSE`},camelcase:function(e){return e?`True`:`False`}},defaultStyle:`lowercase`}),Ot}var jt,Mt;function Nt(){if(Mt)return jt;Mt=1;let e=tt(),t=F();function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function r(e){return e>=48&&e<=55}function i(e){return e>=48&&e<=57}function a(e){if(e===null)return!1;let t=e.length,a=0,s=!1;if(!t)return!1;let c=e[a];if((c===`-`||c===`+`)&&(c=e[++a]),c===`0`){if(a+1===t)return!0;if(c=e[++a],c===`b`){for(a++;a<t;a++){if(c=e[a],c!==`0`&&c!==`1`)return!1;s=!0}return s&&isFinite(o(e))}if(c===`x`){for(a++;a<t;a++){if(!n(e.charCodeAt(a)))return!1;s=!0}return s&&isFinite(o(e))}if(c===`o`){for(a++;a<t;a++){if(!r(e.charCodeAt(a)))return!1;s=!0}return s&&isFinite(o(e))}}for(;a<t;a++){if(!i(e.charCodeAt(a)))return!1;s=!0}return s?isFinite(o(e)):!1}function o(e){let t=e,n=1,r=t[0];if((r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function s(e){return o(e)}function c(t){return Object.prototype.toString.call(t)===`[object Number]`&&t%1==0&&!e.isNegativeZero(t)}return jt=new t(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:a,construct:s,predicate:c,represent:{binary:function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},octal:function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)}},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),jt}var Pt,Ft;function It(){if(Ft)return Pt;Ft=1;let e=tt(),t=F(),n=RegExp(`^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),r=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function i(e){return e===null||!n.test(e)?!1:isFinite(parseFloat(e,10))?!0:r.test(e)}function a(e){let t=e.toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}let o=/^[-+]?[0-9]+e/;function s(t,n){if(isNaN(t))switch(n){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(t===1/0)switch(n){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(t===-1/0)switch(n){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(e.isNegativeZero(t))return`-0.0`;let r=t.toString(10);return o.test(r)?r.replace(`e`,`.e`):r}function c(t){return Object.prototype.toString.call(t)===`[object Number]`&&(t%1!=0||e.isNegativeZero(t))}return Pt=new t(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:i,construct:a,predicate:c,represent:s,defaultStyle:`lowercase`}),Pt}var Lt,Rt;function zt(){return Rt?Lt:(Rt=1,Lt=wt().extend({implicit:[Dt(),At(),Nt(),It()]}),Lt)}var Bt,Vt;function Ht(){return Vt?Bt:(Vt=1,Bt=zt(),Bt)}var Ut,Wt;function Gt(){if(Wt)return Ut;Wt=1;let e=F(),t=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),n=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function r(e){return e===null?!1:t.exec(e)!==null||n.exec(e)!==null}function i(e){let r=0,i=null,a=t.exec(e);if(a===null&&(a=n.exec(e)),a===null)throw Error(`Date resolve error`);let o=+a[1],s=a[2]-1,c=+a[3];if(!a[4])return new Date(Date.UTC(o,s,c));let l=+a[4],u=+a[5],d=+a[6];if(a[7]){for(r=a[7].slice(0,3);r.length<3;)r+=`0`;r=+r}if(a[9]){let e=+a[10],t=+(a[11]||0);i=(e*60+t)*6e4,a[9]===`-`&&(i=-i)}let f=new Date(Date.UTC(o,s,c,l,u,d,r));return i&&f.setTime(f.getTime()-i),f}function a(e){return e.toISOString()}return Ut=new e(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:r,construct:i,instanceOf:Date,represent:a}),Ut}var Kt,qt;function Jt(){if(qt)return Kt;qt=1;let e=F();function t(e){return e===`<<`||e===null}return Kt=new e(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:t}),Kt}var Yt,Xt;function Zt(){if(Xt)return Yt;Xt=1;let e=F();function t(e){if(e===null)return!1;let t=0,n=e.length;for(let r=0;r<n;r++){let n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
28
+ \r`.indexOf(e.charAt(r));if(!(n>64)){if(n<0)return!1;t+=6}}return t%8==0}function n(e){let t=e.replace(/[\r\n=]/g,``),n=t.length,r=0,i=[];for(let e=0;e<n;e++)e%4==0&&e&&(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)),r=r<<6|`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
29
+ \r`.indexOf(t.charAt(e));let a=n%4*6;return a===0?(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)):a===18?(i.push(r>>10&255),i.push(r>>2&255)):a===12&&i.push(r>>4&255),new Uint8Array(i)}function r(e){let t=``,n=0,r=e.length,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
30
+ \r`;for(let a=0;a<r;a++)a%3==0&&a&&(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]),n=(n<<8)+e[a];let a=r%3;return a===0?(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]):a===2?(t+=i[n>>10&63],t+=i[n>>4&63],t+=i[n<<2&63],t+=i[64]):a===1&&(t+=i[n>>2&63],t+=i[n<<4&63],t+=i[64],t+=i[64]),t}function i(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}return Yt=new e(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:t,construct:n,predicate:i,represent:r}),Yt}var Qt,$t;function en(){if($t)return Qt;$t=1;let e=F(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(e){if(e===null)return!0;let r={},i=e;for(let e=0,a=i.length;e<a;e+=1){let a=i[e],o=!1;if(n.call(a)!==`[object Object]`)return!1;let s;for(s in a)if(t.call(a,s)){if(!o)o=!0;else return!1}if(!o||t.call(r,s))return!1;Object.defineProperty(r,s,{value:!0})}return!0}function i(e){return e===null?[]:e}return Qt=new e(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:r,construct:i}),Qt}var tn,nn;function rn(){if(nn)return tn;nn=1;let e=F(),t=Object.prototype.toString;function n(e){if(e===null)return!0;let n=e,r=Array(n.length);for(let e=0,i=n.length;e<i;e+=1){let i=n[e];if(t.call(i)!==`[object Object]`)return!1;let a=Object.keys(i);if(a.length!==1)return!1;r[e]=[a[0],i[a[0]]]}return!0}function r(e){if(e===null)return[];let t=e,n=Array(t.length);for(let e=0,r=t.length;e<r;e+=1){let r=t[e],i=Object.keys(r);n[e]=[i[0],r[i[0]]]}return n}return tn=new e(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:n,construct:r}),tn}var an,on;function sn(){if(on)return an;on=1;let e=F(),t=Object.prototype.hasOwnProperty;function n(e){if(e===null)return!0;let n=e;for(let e in n)if(t.call(n,e)&&n[e]!==null)return!1;return!0}function r(e){return e===null?{}:e}return an=new e(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:n,construct:r}),an}var cn,ln;function un(){return ln?cn:(ln=1,cn=Ht().extend({implicit:[Gt(),Jt()],explicit:[Zt(),en(),rn(),sn()]}),cn)}var dn;function fn(){if(dn)return Qe;dn=1;let e=tt(),t=it(),n=st(),r=un(),i=Object.prototype.hasOwnProperty,a=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,s=/[,\[\]{}]/,c=/^(?:!|!!|![0-9A-Za-z-]+!)$/,l=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}function d(e){return e===10||e===13}function f(e){return e===9||e===32}function p(e){return e===9||e===32||e===10||e===13}function m(e){return e===44||e===91||e===93||e===123||e===125}function h(e){if(e>=48&&e<=57)return e-48;let t=e|32;return t>=97&&t<=102?t-97+10:-1}function g(e){return e===120?2:e===117?4:e===85?8:0}function _(e){return e>=48&&e<=57?e-48:-1}function v(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
31
+ `;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`…`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}function y(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function b(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}let x=Array(256),S=Array(256);for(let e=0;e<256;e++)x[e]=+!!v(e),S[e]=v(e);function C(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||r,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth=typeof t.maxDepth==`number`?t.maxDepth:100,this.maxTotalMergeKeys=typeof t.maxTotalMergeKeys==`number`?t.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function w(e,r){let i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=n(i),new t(r,i)}function T(e,t){throw w(e,t)}function E(e,t){e.onWarning&&e.onWarning.call(null,w(e,t))}function D(e,t,n){let r=e.anchorMapTransactions;if(r.length!==0){let n=r[r.length-1];i.call(n,t)||(n[t]={existed:i.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}function O(e){e.anchorMapTransactions.push(Object.create(null))}function k(e){let t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(n.length===0)return;let r=n[n.length-1],a=Object.keys(t);for(let e=0,n=a.length;e<n;e+=1){let n=a[e];i.call(r,n)||(r[n]=t[n])}}function ee(e){let t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let r=n.length-1;r>=0;--r){let i=t[n[r]];i.existed?e.anchorMap[n[r]]=i.value:delete e.anchorMap[n[r]]}}function te(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function ne(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}let re={YAML:function(e,t,n){e.version!==null&&T(e,`duplication of %YAML directive`),n.length!==1&&T(e,`YAML directive accepts exactly one argument`);let r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);r===null&&T(e,`ill-formed argument of the YAML directive`);let i=parseInt(r[1],10),a=parseInt(r[2],10);i!==1&&T(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&E(e,`unsupported YAML version of the document`)},TAG:function(e,t,n){let r;n.length!==2&&T(e,`TAG directive accepts exactly two arguments`);let a=n[0];r=n[1],c.test(a)||T(e,`ill-formed tag handle (first argument) of the TAG directive`),i.call(e.tagMap,a)&&T(e,`there is a previously declared suffix for "`+a+`" tag handle`),l.test(r)||T(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{r=decodeURIComponent(r)}catch{T(e,`tag prefix is malformed: `+r)}e.tagMap[a]=r}};function A(e,t,n,r){if(t<n){let i=e.input.slice(t,n);if(r)for(let t=0,n=i.length;t<n;t+=1){let n=i.charCodeAt(t);n===9||n>=32&&n<=1114111||T(e,`expected valid JSON character`)}else a.test(i)&&T(e,`the stream contains non-printable characters`);e.result+=i}}function j(e){e.totalMergeKeys++,e.maxTotalMergeKeys!==-1&&e.totalMergeKeys>e.maxTotalMergeKeys&&T(e,`merge keys exceeded maxTotalMergeKeys (`+e.maxTotalMergeKeys+`)`)}function ie(t,n,r,a){e.isObject(r)||T(t,`cannot merge mappings; the provided source object is unacceptable`),j(t);let o=Object.keys(r);for(let e=0,s=o.length;e<s;e+=1){let s=o[e];j(t),i.call(n,s)||(b(n,s,r[s]),a[s]=!0)}}function M(e,t,n,r,a,o,s,c,l){if(Array.isArray(a)){a=Array.prototype.slice.call(a);for(let t=0,n=a.length;t<n;t+=1)Array.isArray(a[t])&&T(e,`nested arrays are not supported inside keys`),typeof a==`object`&&u(a[t])===`[object Object]`&&(a[t]=`[object Object]`)}if(typeof a==`object`&&u(a)===`[object Object]`&&(a=`[object Object]`),a=String(a),t===null&&(t={}),r===`tag:yaml.org,2002:merge`){if(Array.isArray(o)){o.length>100&&T(e,`abnormal merge sequence size`);for(let r=0,i=o.length;r<i;r+=1)ie(e,t,o[r],n)}else ie(e,t,o,n)}else!e.json&&!i.call(n,a)&&i.call(t,a)&&(e.line=s||e.line,e.lineStart=c||e.lineStart,e.position=l||e.position,T(e,`duplicated mapping key`)),b(t,a,o),delete n[a];return t}function ae(e){let t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):T(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function N(e,t,n){let r=0,i=e.input.charCodeAt(e.position);for(;i!==0;){for(;f(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(d(i))for(ae(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&E(e,`deficient indentation`),r}function oe(e){let t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||p(n)))}function se(t,n){n===1?t.result+=` `:n>1&&(t.result+=e.repeat(`
32
+ `,n-1))}function ce(e,t,n){let r,i,a,o,s,c,l=e.kind,u=e.result,h=e.input.charCodeAt(e.position);if(p(h)||m(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96)return!1;if(h===63||h===45){let t=e.input.charCodeAt(e.position+1);if(p(t)||n&&m(t))return!1}for(e.kind=`scalar`,e.result=``,r=i=e.position,a=!1;h!==0;){if(h===58){let t=e.input.charCodeAt(e.position+1);if(p(t)||n&&m(t))break}else if(h===35){if(p(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&oe(e)||n&&m(h))break;else if(d(h)){if(o=e.line,s=e.lineStart,c=e.lineIndent,N(e,!1,-1),e.lineIndent>=t){a=!0,h=e.input.charCodeAt(e.position);continue}e.position=i,e.line=o,e.lineStart=s,e.lineIndent=c;break}a&&=(A(e,r,i,!1),se(e,e.line-o),r=i=e.position,!1),f(h)||(i=e.position+1),h=e.input.charCodeAt(++e.position)}return A(e,r,i,!1),e.result?!0:(e.kind=l,e.result=u,!1)}function le(e,t){let n,r,i=e.input.charCodeAt(e.position);if(i!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39){if(A(e,n,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)n=e.position,e.position++,r=e.position;else return!0}else d(i)?(A(e,n,r,!0),se(e,N(e,!1,t)),n=r=e.position):e.position===e.lineStart&&oe(e)?T(e,`unexpected end of the document within a single quoted scalar`):(e.position++,f(i)||(r=e.position));T(e,`unexpected end of the stream within a single quoted scalar`)}function ue(e,t){let n,r,i,a=e.input.charCodeAt(e.position);if(a!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(a=e.input.charCodeAt(e.position))!==0;)if(a===34)return A(e,n,e.position,!0),e.position++,!0;else if(a===92){if(A(e,n,e.position,!0),a=e.input.charCodeAt(++e.position),d(a))N(e,!1,t);else if(a<256&&x[a])e.result+=S[a],e.position++;else if((i=g(a))>0){let t=i,n=0;for(;t>0;t--)a=e.input.charCodeAt(++e.position),(i=h(a))>=0?n=(n<<4)+i:T(e,`expected hexadecimal character`);e.result+=y(n),e.position++}else T(e,`unknown escape sequence`);n=r=e.position}else d(a)?(A(e,n,r,!0),se(e,N(e,!1,t)),n=r=e.position):e.position===e.lineStart&&oe(e)?T(e,`unexpected end of the document within a double quoted scalar`):(e.position++,f(a)||(r=e.position));T(e,`unexpected end of the stream within a double quoted scalar`)}function de(e,t){let n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,m=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)l=93,f=!1,s=[];else if(v===123)l=125,f=!0,s={};else return!1;for(e.anchor!==null&&D(e,e.anchor,s),v=e.input.charCodeAt(++e.position);v!==0;){if(N(e,!0,t),v=e.input.charCodeAt(e.position),v===l)return e.position++,e.tag=o,e.anchor=c,e.kind=f?`mapping`:`sequence`,e.result=s,!0;n?v===44&&T(e,`expected the node content, but found ','`):T(e,`missed comma between flow collection entries`),g=h=_=null,u=d=!1,v===63&&p(e.input.charCodeAt(e.position+1))&&(u=d=!0,e.position++,N(e,!0,t)),r=e.line,i=e.lineStart,a=e.position,ye(e,t,1,!1,!0),g=e.tag,h=e.result,N(e,!0,t),v=e.input.charCodeAt(e.position),(d||e.line===r)&&v===58&&(u=!0,v=e.input.charCodeAt(++e.position),N(e,!0,t),ye(e,t,1,!1,!0),_=e.result),f?M(e,s,m,g,h,_,r,i,a):u?s.push(M(e,null,m,g,h,_,r,i,a)):s.push(h),N(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}T(e,`unexpected end of the stream within a flow collection`)}function fe(t,n){let r,i=1,a=!1,o=!1,s=n,c=0,l=!1,u,p=t.input.charCodeAt(t.position);if(p===124)r=!1;else if(p===62)r=!0;else return!1;for(t.kind=`scalar`,t.result=``;p!==0;)if(p=t.input.charCodeAt(++t.position),p===43||p===45)i===1?i=p===43?3:2:T(t,`repeat of a chomping mode identifier`);else if((u=_(p))>=0)u===0?T(t,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?T(t,`repeat of an indentation width identifier`):(s=n+u-1,o=!0);else break;if(f(p)){do p=t.input.charCodeAt(++t.position);while(f(p));if(p===35)do p=t.input.charCodeAt(++t.position);while(!d(p)&&p!==0)}for(;p!==0;){for(ae(t),t.lineIndent=0,p=t.input.charCodeAt(t.position);(!o||t.lineIndent<s)&&p===32;)t.lineIndent++,p=t.input.charCodeAt(++t.position);if(!o&&t.lineIndent>s&&(s=t.lineIndent),d(p)){c++;continue}if(!o&&s===0&&T(t,`missing indentation for block scalar`),t.lineIndent<s){i===3?t.result+=e.repeat(`
33
+ `,a?1+c:c):i===1&&a&&(t.result+=`
34
+ `);break}r?f(p)?(l=!0,t.result+=e.repeat(`
35
+ `,a?1+c:c)):l?(l=!1,t.result+=e.repeat(`
36
+ `,c+1)):c===0?a&&(t.result+=` `):t.result+=e.repeat(`
37
+ `,c):t.result+=e.repeat(`
38
+ `,a?1+c:c),a=!0,o=!0,c=0;let n=t.position;for(;!d(p)&&p!==0;)p=t.input.charCodeAt(++t.position);A(t,n,t.position,!1)}return!0}function pe(e,t){let n=e.tag,r=e.anchor,i=[],a=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&D(e,e.anchor,i);let o=e.input.charCodeAt(e.position);for(;o!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,T(e,`tab characters must not be used in indentation`)),o===45&&p(e.input.charCodeAt(e.position+1)));){if(a=!0,e.position++,N(e,!0,-1)&&e.lineIndent<=t){i.push(null),o=e.input.charCodeAt(e.position);continue}let n=e.line;if(ye(e,t,3,!1,!0),i.push(e.result),N(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&o!==0)T(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=r,e.kind=`sequence`,e.result=i,!0):!1}function me(e,t,n){let r,i,a,o,s=e.tag,c=e.anchor,l={},u=Object.create(null),d=null,m=null,h=null,g=!1,_=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&D(e,e.anchor,l);let v=e.input.charCodeAt(e.position);for(;v!==0;){!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,T(e,`tab characters must not be used in indentation`));let y=e.input.charCodeAt(e.position+1),b=e.line;if((v===63||v===58)&&p(y))v===63?(g&&(M(e,l,u,d,m,null,i,a,o),d=m=h=null),_=!0,g=!0,r=!0):g?(g=!1,r=!0):T(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=y;else{if(i=e.line,a=e.lineStart,o=e.position,!ye(e,n,2,!1,!0))break;if(e.line===b){for(v=e.input.charCodeAt(e.position);f(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),p(v)||T(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(M(e,l,u,d,m,null,i,a,o),d=m=h=null),_=!0,g=!1,r=!1,d=e.tag,m=e.result;else if(_)T(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=s,e.anchor=c,!0}else if(_)T(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=s,e.anchor=c,!0}if((e.line===b||e.lineIndent>t)&&(g&&(i=e.line,a=e.lineStart,o=e.position),ye(e,t,4,!0,r)&&(g?m=e.result:h=e.result),g||(M(e,l,u,d,m,h,i,a,o),d=m=h=null),N(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===b||e.lineIndent>t)&&v!==0)T(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&M(e,l,u,d,m,null,i,a,o),_&&(e.tag=s,e.anchor=c,e.kind=`mapping`,e.result=l),_}function he(e){let t=!1,n=!1,r,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;e.tag!==null&&T(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(t=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,r=`!!`,o=e.input.charCodeAt(++e.position)):r=`!`;let u=e.position;if(t){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(u,e.position),o=e.input.charCodeAt(++e.position)):T(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!p(o);)o===33&&(n?T(e,`tag suffix cannot contain exclamation marks`):(r=e.input.slice(u-1,e.position+1),c.test(r)||T(e,`named tag handle cannot contain such characters`),n=!0,u=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(u,e.position),s.test(a)&&T(e,`tag suffix cannot contain flow indicator characters`)}a&&!l.test(a)&&T(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{T(e,`tag name is malformed: `+a)}return t?e.tag=a:i.call(e.tagMap,r)?e.tag=e.tagMap[r]+a:r===`!`?e.tag=`!`+a:r===`!!`?e.tag=`tag:yaml.org,2002:`+a:T(e,`undeclared tag handle "`+r+`"`),!0}function ge(e){let t=e.input.charCodeAt(e.position);if(t!==38)return!1;e.anchor!==null&&T(e,`duplication of an anchor property`),t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!p(t)&&!m(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&T(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(n,e.position),!0}function _e(e){let t=e.input.charCodeAt(e.position);if(t!==42)return!1;t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!p(t)&&!m(t);)t=e.input.charCodeAt(++e.position);e.position===n&&T(e,`name of an alias node must contain at least one character`);let r=e.input.slice(n,e.position);return i.call(e.anchorMap,r)||T(e,`unidentified alias "`+r+`"`),e.result=e.anchorMap[r],N(e,!0,-1),!0}function ve(e,t,n,r){let i=te(e);return O(e),ne(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,me(e,n,r)&&e.kind===`mapping`?(k(e),!0):(ee(e),ne(e,i),!1)}function ye(e,t,n,r,a){let o,s,c=1,l=!1,u=!1,d=null,f,p,m;e.depth>=e.maxDepth&&T(e,`nesting exceeded maxDepth (`+e.maxDepth+`)`),e.depth+=1,e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let h=o=s=n===4||n===3;if(r&&N(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;;){let n=e.input.charCodeAt(e.position),r=te(e);if(l&&(n===33&&e.tag!==null||n===38&&e.anchor!==null)||!he(e)&&!ge(e))break;d===null&&(d=r),N(e,!0,-1)?(l=!0,s=h,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1}if(s&&=l||a,c===1||n===4){if(p=n===1||n===2?t:t+1,m=e.position-e.lineStart,c===1){if(s&&(pe(e,m)||me(e,m,p))||de(e,p))u=!0;else{let t=e.input.charCodeAt(e.position);d!==null&&h&&!s&&t!==124&&t!==62&&ve(e,d,d.position-d.lineStart,p)||o&&fe(e,p)||le(e,p)||ue(e,p)?u=!0:_e(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&T(e,`alias node should not have any properties`)):ce(e,p,n===1)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&D(e,e.anchor,e.result)}}else c===0&&(u=s&&pe(e,m))}if(e.tag===null)e.anchor!==null&&D(e,e.anchor,e.result);else if(e.tag===`?`){e.result!==null&&e.kind!==`scalar`&&T(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`);for(let t=0,n=e.implicitTypes.length;t<n;t+=1)if(f=e.implicitTypes[t],f.resolve(e.result)){e.result=f.construct(e.result),e.tag=f.tag,e.anchor!==null&&D(e,e.anchor,e.result);break}}else if(e.tag!==`!`){if(i.call(e.typeMap[e.kind||`fallback`],e.tag))f=e.typeMap[e.kind||`fallback`][e.tag];else{f=null;let t=e.typeMap.multi[e.kind||`fallback`];for(let n=0,r=t.length;n<r;n+=1)if(e.tag.slice(0,t[n].tag.length)===t[n].tag){f=t[n];break}}f||T(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&f.kind!==e.kind&&T(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+f.kind+`", not "`+e.kind+`"`),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),e.anchor!==null&&D(e,e.anchor,e.result)):T(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),--e.depth,e.tag!==null||e.anchor!==null||u}function be(e){let t=e.position,n=!1,r;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(r=e.input.charCodeAt(e.position))!==0&&(N(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||r!==37));){n=!0,r=e.input.charCodeAt(++e.position);let t=e.position;for(;r!==0&&!p(r);)r=e.input.charCodeAt(++e.position);let a=e.input.slice(t,e.position),o=[];for(a.length<1&&T(e,`directive name must not be less than one character in length`);r!==0;){for(;f(r);)r=e.input.charCodeAt(++e.position);if(r===35){do r=e.input.charCodeAt(++e.position);while(r!==0&&!d(r));break}if(d(r))break;for(t=e.position;r!==0&&!p(r);)r=e.input.charCodeAt(++e.position);o.push(e.input.slice(t,e.position))}r!==0&&ae(e),i.call(re,a)?re[a](e,a,o):E(e,`unknown document directive "`+a+`"`)}if(N(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,N(e,!0,-1)):n&&T(e,`directives end mark is expected`),ye(e,e.lineIndent-1,4,!1,!0),N(e,!0,-1),e.checkLineBreaks&&o.test(e.input.slice(t,e.position))&&E(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&oe(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,N(e,!0,-1));return}e.position<e.length-1&&T(e,`end of the stream or a document separator is expected`)}function xe(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
39
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=new C(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,T(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)be(n);return n.documents}function Se(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);let r=xe(e,n);if(typeof t!=`function`)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])}function Ce(e,n){let r=xe(e,n);if(r.length!==0){if(r.length===1)return r[0];throw new t(`expected a single document in the stream, but found more`)}}return Qe.loadAll=Se,Qe.load=Ce,Qe}var pn={},mn;function hn(){if(mn)return pn;mn=1;let e=tt(),t=it(),n=un(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=65279,o={};o[0]=`\\0`,o[7]=`\\a`,o[8]=`\\b`,o[9]=`\\t`,o[10]=`\\n`,o[11]=`\\v`,o[12]=`\\f`,o[13]=`\\r`,o[27]=`\\e`,o[34]=`\\"`,o[92]=`\\\\`,o[133]=`\\N`,o[160]=`\\_`,o[8232]=`\\L`,o[8233]=`\\P`;let s=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],c=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function l(e,t){if(t===null)return{};let n={},r=Object.keys(t);for(let a=0,o=r.length;a<o;a+=1){let o=r[a],s=String(t[o]);o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2));let c=e.compiledTypeMap.fallback[o];c&&i.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s}return n}function u(n){let r,i,a=n.toString(16).toUpperCase();if(n<=255)r=`x`,i=2;else if(n<=65535)r=`u`,i=4;else if(n<=4294967295)r=`U`,i=8;else throw new t(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+r+e.repeat(`0`,i-a.length)+a}function d(t){this.schema=t.schema||n,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=e.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=l(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType===`"`?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer==`function`?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}function f(t,n){let r=e.repeat(` `,n),i=0,a=``,o=t.length;for(;i<o;){let e,n=t.indexOf(`
40
+ `,i);n===-1?(e=t.slice(i),i=o):(e=t.slice(i,n+1),i=n+1),e.length&&e!==`
41
+ `&&(a+=r),a+=e}return a}function p(t,n){return`
42
+ `+e.repeat(` `,t.indent*n)}function m(e,t){for(let n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}function h(e){return e===32||e===9}function g(e){return e>=32&&e<=126||e>=161&&e<=55295&&e!==8232&&e!==8233||e>=57344&&e<=65533&&e!==a||e>=65536&&e<=1114111}function _(e){return g(e)&&e!==a&&e!==13&&e!==10}function v(e,t,n){let r=_(e),i=r&&!h(e);return(n?r:r&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125)&&e!==35&&!(t===58&&!i)||_(t)&&!h(t)&&e===35||t===58&&i}function y(e){return g(e)&&e!==a&&!h(e)&&e!==45&&e!==63&&e!==58&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125&&e!==35&&e!==38&&e!==42&&e!==33&&e!==124&&e!==61&&e!==62&&e!==39&&e!==34&&e!==37&&e!==64&&e!==96}function b(e){return!h(e)&&e!==58}function x(e,t){let n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function S(e){return/^\n* /.test(e)}function C(e,t,n,r,i,a,o,s){let c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=y(x(e,0))&&b(x(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=x(e,c),!g(l))return 5;h&&=v(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=x(e,c),l===10)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!g(l))return 5;h&&=v(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?1:a===2?5:2:n>9&&S(e)?5:o?a===2?5:2:f?4:3}function w(e,n,r,i,a){e.dump=(function(){if(n.length===0)return e.quotingType===2?`""`:`''`;if(!e.noCompatMode&&(s.indexOf(n)!==-1||c.test(n)))return e.quotingType===2?`"`+n+`"`:`'`+n+`'`;let o=e.indent*Math.max(1,r),l=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),u=i||e.flowLevel>-1&&r>=e.flowLevel;function d(t){return m(e,t)}switch(C(n,u,e.indent,l,d,e.quotingType,e.forceQuotes&&!i,a)){case 1:return n;case 2:return`'`+n.replace(/'/g,`''`)+`'`;case 3:return`|`+T(n,e.indent)+E(f(n,o));case 4:return`>`+T(n,e.indent)+E(f(D(n,l),o));case 5:return`"`+k(n)+`"`;default:throw new t(`impossible error: invalid scalar style`)}})()}function T(e,t){let n=S(e)?String(t):``,r=e[e.length-1]===`
43
+ `;return n+(r&&(e[e.length-2]===`
44
+ `||e===`
45
+ `)?`+`:r?``:`-`)+`
46
+ `}function E(e){return e[e.length-1]===`
47
+ `?e.slice(0,-1):e}function D(e,t){let n=/(\n+)([^\n]*)/g,r=(function(){let r=e.indexOf(`
48
+ `);return r=r===-1?e.length:r,n.lastIndex=r,O(e.slice(0,r),t)})(),i=e[0]===`
49
+ `||e[0]===` `,a,o;for(;o=n.exec(e);){let e=o[1],n=o[2];a=n[0]===` `,r+=e+(!i&&!a&&n!==``?`
50
+ `:``)+O(n,t),i=a}return r}function O(e,t){if(e===``||e[0]===` `)return e;let n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;for(;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
51
+ `+e.slice(i,a),i=a+1),o=s;return c+=`
52
+ `,e.length-i>t&&o>i?c+=e.slice(i,o)+`
53
+ `+e.slice(o+1):c+=e.slice(i),c.slice(1)}function k(e){let t=``,n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=x(e,r);let i=o[n];!i&&g(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=i||u(n)}return t}function ee(e,t,n){let r=``,i=e.tag;for(let i=0,a=n.length;i<a;i+=1){let a=n[i];e.replacer&&(a=e.replacer.call(n,String(i),a)),(j(e,t,a,!1,!1)||a===void 0&&j(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump)}e.tag=i,e.dump=`[`+r+`]`}function te(e,t,n,r){let i=``,a=e.tag;for(let a=0,o=n.length;a<o;a+=1){let o=n[a];e.replacer&&(o=e.replacer.call(n,String(a),o)),(j(e,t+1,o,!0,!0,!1,!0)||o===void 0&&j(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=p(e,t)),e.dump&&e.dump.charCodeAt(0)===10?i+=`-`:i+=`- `,i+=e.dump)}e.tag=a,e.dump=i||`[]`}function ne(e,t,n){let r=``,i=e.tag,a=Object.keys(n);for(let i=0,o=a.length;i<o;i+=1){let o=``;r!==``&&(o+=`, `),e.condenseFlow&&(o+=`"`);let s=a[i],c=n[s];e.replacer&&(c=e.replacer.call(n,s,c)),j(e,t,s,!1,!1)&&(e.dump.length>1024&&(o+=`? `),o+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),j(e,t,c,!1,!1)&&(o+=e.dump,r+=o))}e.tag=i,e.dump=`{`+r+`}`}function re(e,n,r,i){let a=``,o=e.tag,s=Object.keys(r);if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys==`function`)s.sort(e.sortKeys);else if(e.sortKeys)throw new t(`sortKeys must be a boolean or a function`);for(let t=0,o=s.length;t<o;t+=1){let o=``;(!i||a!==``)&&(o+=p(e,n));let c=s[t],l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!j(e,n+1,c,!0,!0,!0))continue;let u=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024;u&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`?`:o+=`? `),o+=e.dump,u&&(o+=p(e,n)),j(e,n+1,l,!0,u)&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`:`:o+=`: `,o+=e.dump,a+=o)}e.tag=o,e.dump=a||`{}`}function A(e,n,a){let o=a?e.explicitTypes:e.implicitTypes;for(let s=0,c=o.length;s<c;s+=1){let c=o[s];if((c.instanceOf||c.predicate)&&(!c.instanceOf||typeof n==`object`&&n instanceof c.instanceOf)&&(!c.predicate||c.predicate(n))){if(e.tag=a?c.multi&&c.representName?c.representName(n):c.tag:`?`,c.represent){let a=e.styleMap[c.tag]||c.defaultStyle,o;if(r.call(c.represent)===`[object Function]`)o=c.represent(n,a);else if(i.call(c.represent,a))o=c.represent[a](n,a);else throw new t(`!<`+c.tag+`> tag resolver accepts not "`+a+`" style`);e.dump=o}return!0}}return!1}function j(e,n,i,a,o,s,c){e.tag=null,e.dump=i,A(e,i,!1)||A(e,i,!0);let l=r.call(e.dump),u=a;a&&=e.flowLevel<0||e.flowLevel>n;let d=l===`[object Object]`||l===`[object Array]`,f,p;if(d&&(f=e.duplicates.indexOf(i),p=f!==-1),(e.tag!==null&&e.tag!==`?`||p||e.indent!==2&&n>0)&&(o=!1),p&&e.usedDuplicates[f])e.dump=`*ref_`+f;else{if(d&&p&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),l===`[object Object]`)a&&Object.keys(e.dump).length!==0?(re(e,n,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(ne(e,n,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object Array]`)a&&e.dump.length!==0?(e.noArrayIndent&&!c&&n>0?te(e,n-1,e.dump,o):te(e,n,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(ee(e,n,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object String]`)e.tag!==`?`&&w(e,e.dump,n,s,u);else if(l===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new t(`unacceptable kind of an object to dump `+l)}if(e.tag!==null&&e.tag!==`?`){let t=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`);t=e.tag[0]===`!`?`!`+t:t.slice(0,18)===`tag:yaml.org,2002:`?`!!`+t.slice(18):`!<`+t+`>`,e.dump=t+` `+e.dump}}return!0}function ie(e,t){let n=[],r=[];M(e,n,r);let i=r.length;for(let e=0;e<i;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=Array(i)}function M(e,t,n){if(typeof e==`object`&&e){let r=t.indexOf(e);if(r!==-1)n.indexOf(r)===-1&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,i=e.length;r<i;r+=1)M(e[r],t,n);else{let r=Object.keys(e);for(let i=0,a=r.length;i<a;i+=1)M(e[r[i]],t,n)}}}function ae(e,t){t||={};let n=new d(t);n.noRefs||ie(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),j(n,0,r,!0,!0)?n.dump+`
54
+ `:``}return pn.dump=ae,pn}var gn;function _n(){if(gn)return P;gn=1;let e=fn(),t=hn();function n(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}return P.Type=F(),P.Schema=ft(),P.FAILSAFE_SCHEMA=wt(),P.JSON_SCHEMA=zt(),P.CORE_SCHEMA=Ht(),P.DEFAULT_SCHEMA=un(),P.load=e.load,P.loadAll=e.loadAll,P.dump=t.dump,P.YAMLException=it(),P.types={binary:Zt(),float:It(),map:xt(),null:Dt(),pairs:rn(),set:sn(),timestamp:Gt(),bool:At(),int:Nt(),merge:Jt(),omap:en(),seq:vt(),str:ht()},P.safeLoad=n(`safeLoad`,`load`),P.safeLoadAll=n(`safeLoadAll`,`loadAll`),P.safeDump=n(`safeDump`,`dump`),P}var{Type:vn,Schema:yn,FAILSAFE_SCHEMA:bn,JSON_SCHEMA:xn,CORE_SCHEMA:Sn,DEFAULT_SCHEMA:Cn,load:wn,loadAll:Tn,dump:En,YAMLException:Dn,types:On,safeLoad:kn,safeLoadAll:An,safeDump:jn}=Ze(_n()),Mn=Xe,I;(function(e){e[e.DEFAULT=0]=`DEFAULT`,e[e.ADDED=1]=`ADDED`,e[e.REMOVED=2]=`REMOVED`,e[e.CHANGED=3]=`CHANGED`})(I||={});function Nn(e,t){return t===`yaml`?En(e,{indent:2,lineWidth:-1,noRefs:!0}).trimEnd():JSON.stringify(e,null,2)}function Pn(e,t,n=`json`){let r=Nn(e,n);return r===Nn(t,n)?[{value:r}]:Rn(e,t,0,n)}function Fn(e,t){return Pn(e,t,`json`)}function In(e,t){try{let n=JSON.parse(e),r=JSON.parse(t);return JSON.stringify(n)===JSON.stringify(r)?[{value:e}]:pe(e,t,{newlineIsToken:!1})}catch{return pe(e,t,{newlineIsToken:!1})}}function Ln(e,t){let n=wn(e),r=wn(t);return En(n,{indent:2,lineWidth:-1,noRefs:!0})===En(r,{indent:2,lineWidth:-1,noRefs:!0})?[{value:e}]:pe(e,t,{newlineIsToken:!1})}function Rn(e,t,n,r=`json`){let i=Nn(e,r),a=Nn(t,r);return i===a?[{value:Hn(i,n,r)}]:typeof e==`object`&&e&&typeof t==`object`&&t&&!Array.isArray(e)&&!Array.isArray(t)?zn(e,t,n,r):Array.isArray(e)&&Array.isArray(t)?Bn(e,t,n,r):Vn(i,a,n,r)}function zn(e,t,n,r=`json`){let i=[],a=` `.repeat(n),o=` `.repeat(n+1),s=new Set(Object.keys(e)),c=Object.keys(t),l=[...s].filter(e=>!(e in t)),u=[...c,...l];i.push({value:`{
55
+ `});for(let a=0;a<u.length;a++){let s=u[a],c=a===u.length-1?``:`,`,l=s in e,d=s in t;if(l&&d){let a=Nn(e[s],r);if(a===Nn(t[s],r)){let e=Hn(a,n+1);i.push({value:o+JSON.stringify(s)+`: `+e+c+`
56
+ `})}else{let a=o+JSON.stringify(s)+`: `,l=Rn(e[s],t[s],n+1,r);if(l.length>0){if(!l[0].removed&&!l[0].added)l[0].value=a+l[0].value;else{let e=l.find(e=>e.removed),t=l.find(e=>e.added);e&&(e.value=a+e.value),t&&(t.value=a+t.value)}}if(c&&l.length>0){let e=l[l.length-1];e.value=e.value.replace(/\n$/,c+`
57
+ `)}i.push(...l)}}else if(l){let t=Hn(Nn(e[s],r),n+1);i.push({removed:!0,value:o+JSON.stringify(s)+`: `+t+c+`
58
+ `})}else{let e=Hn(Nn(t[s],r),n+1);i.push({added:!0,value:o+JSON.stringify(s)+`: `+e+c+`
59
+ `})}}return i.push({value:a+`}
60
+ `}),i}function Bn(e,t,n,r=`json`){let i=[],a=` `.repeat(n),o=` `.repeat(n+1);i.push({value:`[
61
+ `});let s=Math.max(e.length,t.length);for(let a=0;a<s;a++){let c=a===s-1?``:`,`;if(a>=e.length){let e=Hn(Nn(t[a],r),n+1);i.push({added:!0,value:o+e+c+`
62
+ `})}else if(a>=t.length){let t=Hn(Nn(e[a],r),n+1);i.push({removed:!0,value:o+t+c+`
63
+ `})}else{let s=Nn(e[a],r);if(s===Nn(t[a],r)){let e=Hn(s,n+1);i.push({value:o+e+c+`
64
+ `})}else{let s=Rn(e[a],t[a],n+1,r);if(s.length>0&&(s[0].value=o+s[0].value),c&&s.length>0){let e=s[s.length-1];e.value=e.value.replace(/\n$/,c+`
65
+ `)}i.push(...s)}}}return i.push({value:a+`]
66
+ `}),i}function Vn(e,t,n,r=`json`){return pe(Hn(e,n),Hn(t,n)).map(e=>({value:e.value,added:e.added,removed:e.removed}))}function Hn(e,t,n=`json`){if(t===0)return e;let r=` `.repeat(t);return e.split(`
67
+ `).map((e,t)=>t===0?e:r+e).join(`
68
+ `)}var L;(function(e){e.CHARS=`diffChars`,e.WORDS=`diffWords`,e.WORDS_WITH_SPACE=`diffWordsWithSpace`,e.LINES=`diffLines`,e.TRIMMED_LINES=`diffTrimmedLines`,e.SENTENCES=`diffSentences`,e.CSS=`diffCss`,e.JSON=`diffJson`,e.YAML=`diffYaml`})(L||={});var Un=e=>e===``?[]:e.replace(/\n$/,``).split(`
69
+ `),Wn=(e,t,n=L.CHARS)=>{let r=(typeof n==`string`?Mn[n]:n)(e,t),i={left:[],right:[]};return r.forEach(({added:e,removed:t,value:n})=>{if(e)i.right.push({type:I.ADDED,value:n});else if(t)i.left.push({type:I.REMOVED,value:n});else{let e={type:I.DEFAULT,value:n};i.right.push(e),i.left.push(e)}}),i},Gn=(e,t,n=!1,r=L.CHARS,i=0,a=[],o=!1)=>{let s=[];if(typeof e==`string`&&typeof t==`string`){if(r===L.JSON)s=In(e,t);else if(r===L.YAML)try{s=Ln(e,t)}catch{s=pe(e,t,{newlineIsToken:!1})}else s=pe(e,t,{newlineIsToken:!1})}else s=Fn(e,t);let c=i,l=i,u=[],d=0,f=[],p=[],m=(e,t,i,u,h)=>Un(e).map((e,g)=>{let _={},v={};if(!(p.includes(`${t}-${g}`)||h&&g!==0)){if(i||u){let i=!0;if(u){l+=1,_.lineNumber=l,_.type=I.REMOVED,_.value=e||` `;let a=s[t+1];if(a?.added){let s=Un(a.value)[g];if(s){let{value:a,lineNumber:c,type:l}=m(s,t,!0,!1,!0)[0].right;if(p.push(`${t+1}-${g}`),v.lineNumber=c,_.value===a)i=!1,v.type=0,_.type=0,v.value=a;else{v.type=l;let t=e.length>500||a.length>500;if(n||t)v.value=a;else if(o)_.rawValue=e,_.value=e,v.rawValue=a,v.value=a;else{let t=Wn(e,a,r);v.value=t.right,_.value=t.left}}}}}else c+=1,v.lineNumber=c,v.type=I.ADDED,v.value=e;i&&!h&&(f.includes(d)||f.push(d))}else l+=1,c+=1,_.lineNumber=l,_.type=I.DEFAULT,_.value=e,v.lineNumber=c,v.type=I.DEFAULT,v.value=e;return(a?.includes(`L-${_.lineNumber}`)||a?.includes(`R-${v.lineNumber}`)&&!f.includes(d))&&f.push(d),h||(d+=1),{right:v,left:_}}}).filter(e=>e!=null);return s.forEach(({added:e,removed:t,value:n},r)=>{u=[...u,...m(n,r,e,t)]}),{lineInformation:u,diffLines:f}},Kn=null,qn=null,Jn=async()=>{if(Kn!==null)return Kn;if(qn===!1)return null;if(typeof Worker>`u`||typeof Blob>`u`||typeof URL>`u`)return qn=!1,null;try{let{WORKER_CODE:e}=await u(async()=>{let{WORKER_CODE:e}=await Promise.resolve().then(()=>mo);return{WORKER_CODE:e}},void 0),t=new Blob([e],{type:`application/javascript`});Kn=URL.createObjectURL(t),qn=!0}catch{qn=!1,Kn=null}return Kn},Yn=async(e,t,n=!1,r=L.CHARS,i=0,a=[],o=!1,s=!1)=>{let c=()=>Gn(e,t,n,r,i,a,o);if(s)return Promise.resolve(c());let l=await Jn();return l?new Promise(s=>{let u;try{u=new Worker(l)}catch{qn=!1,s(c());return}u.onmessage=e=>{s(e.data),u.terminate()},u.onerror=()=>{qn=!1,u.terminate(),s(c())},u.postMessage({oldString:e,newString:t,disableWordDiff:n,lineCompareMethod:r,linesOffset:i,showLines:a,deferWordDiff:o})}):Promise.resolve(c())};function Xn(){return(0,m.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:[(0,m.jsx)(`title`,{children:`expand`}),(0,m.jsx)(`path`,{d:`m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z`})]})}function Zn(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Qn(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var $n=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Qn(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Zn(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),R=`-ms-`,er=`-moz-`,z=`-webkit-`,tr=`comm`,nr=`rule`,rr=`decl`,ir=`@import`,ar=`@keyframes`,or=`@layer`,sr=Math.abs,cr=String.fromCharCode,lr=Object.assign;function ur(e,t){return V(e,0)^45?(((t<<2^V(e,0))<<2^V(e,1))<<2^V(e,2))<<2^V(e,3):0}function dr(e){return e.trim()}function fr(e,t){return(e=t.exec(e))?e[0]:e}function B(e,t,n){return e.replace(t,n)}function pr(e,t){return e.indexOf(t)}function V(e,t){return e.charCodeAt(t)|0}function mr(e,t,n){return e.slice(t,n)}function hr(e){return e.length}function gr(e){return e.length}function _r(e,t){return t.push(e),e}function vr(e,t){return e.map(t).join(``)}var yr=1,br=1,xr=0,H=0,U=0,Sr=``;function Cr(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:yr,column:br,length:o,return:``}}function wr(e,t){return lr(Cr(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Tr(){return U}function Er(){return U=H>0?V(Sr,--H):0,br--,U===10&&(br=1,yr--),U}function W(){return U=H<xr?V(Sr,H++):0,br++,U===10&&(br=1,yr++),U}function Dr(){return V(Sr,H)}function Or(){return H}function kr(e,t){return mr(Sr,e,t)}function Ar(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function jr(e){return yr=br=1,xr=hr(Sr=e),H=0,[]}function Mr(e){return Sr=``,e}function Nr(e){return dr(kr(H-1,Ir(e===91?e+2:e===40?e+1:e)))}function Pr(e){for(;(U=Dr())&&U<33;)W();return Ar(e)>2||Ar(U)>3?``:` `}function Fr(e,t){for(;--t&&W()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return kr(e,Or()+(t<6&&Dr()==32&&W()==32))}function Ir(e){for(;W();)switch(U){case e:return H;case 34:case 39:e!==34&&e!==39&&Ir(U);break;case 40:e===41&&Ir(e);break;case 92:W()}return H}function Lr(e,t){for(;W()&&e+U!==57&&(e+U!==84||Dr()!==47););return`/*`+kr(t,H-1)+`*`+cr(e===47?e:W())}function Rr(e){for(;!Ar(Dr());)W();return kr(e,H)}function zr(e){return Mr(Br(``,null,null,null,[``],e=jr(e),0,[0],e))}function Br(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=W()){case 40:if(m!=108&&V(C,d-1)==58){pr(C+=B(Nr(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Nr(v);break;case 9:case 10:case 13:case 32:C+=Pr(m);break;case 92:C+=Fr(Or()-1,7);continue;case 47:switch(Dr()){case 42:case 47:_r(Hr(Lr(W(),Or()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=hr(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=B(C,/\f/g,``)),p>0&&hr(C)-d&&_r(p>32?Ur(C+`;`,r,n,d-1):Ur(B(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(_r(S=Vr(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)Br(C,t,S,S,b,a,d,s,x);else switch(f===99&&V(C,3)===110?100:f){case 100:case 108:case 109:case 115:Br(e,S,S,r&&_r(Vr(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Br(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+hr(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Er()==125)continue}switch(C+=cr(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(hr(C)-1)*_,_=1;break;case 64:Dr()===45&&(C+=Nr(W())),f=Dr(),u=d=hr(y=C+=Rr(Or())),v++;break;case 45:m===45&&hr(C)==2&&(h=0)}}return a}function Vr(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=gr(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=mr(e,d+1,d=sr(h=o[m])),y=e;_<p;++_)(y=dr(h>0?f[_]+` `+v:B(v,/&\f/g,f[_])))&&(c[g++]=y);return Cr(e,t,n,i===0?nr:s,c,l,u)}function Hr(e,t,n){return Cr(e,t,n,tr,cr(Tr()),mr(e,2,-2),0)}function Ur(e,t,n,r){return Cr(e,t,n,rr,mr(e,0,r),mr(e,r+1,-1),r)}function Wr(e,t){for(var n=``,r=gr(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Gr(e,t,n,r){switch(e.type){case or:if(e.children.length)break;case ir:case rr:return e.return=e.return||e.value;case tr:return``;case ar:return e.return=e.value+`{`+Wr(e.children,r)+`}`;case nr:e.value=e.props.join(`,`)}return hr(n=Wr(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Kr(e){var t=gr(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function qr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Jr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Yr=function(e,t,n){for(var r=0,i=0;r=i,i=Dr(),r===38&&i===12&&(t[n]=1),!Ar(i);)W();return kr(e,H)},Xr=function(e,t){var n=-1,r=44;do switch(Ar(r)){case 0:r===38&&Dr()===12&&(t[n]=1),e[n]+=Yr(H-1,t,n);break;case 2:e[n]+=Nr(r);break;case 4:if(r===44){e[++n]=Dr()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=cr(r)}while(r=W());return e},Zr=function(e,t){return Mr(Xr(jr(e),t))},Qr=new WeakMap,$r=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||Qr.get(n))&&!r){Qr.set(e,!0);for(var i=[],a=Zr(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},ei=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function ti(e,t){switch(ur(e,t)){case 5103:return z+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+er+e+R+e+e;case 6828:case 4268:return z+e+R+e+e;case 6165:return z+e+R+`flex-`+e+e;case 5187:return z+e+B(e,/(\w+).+(:[^]+)/,z+`box-$1$2`+R+`flex-$1$2`)+e;case 5443:return z+e+R+`flex-item-`+B(e,/flex-|-self/,``)+e;case 4675:return z+e+R+`flex-line-pack`+B(e,/align-content|flex-|-self/,``)+e;case 5548:return z+e+R+B(e,`shrink`,`negative`)+e;case 5292:return z+e+R+B(e,`basis`,`preferred-size`)+e;case 6060:return z+`box-`+B(e,`-grow`,``)+z+e+R+B(e,`grow`,`positive`)+e;case 4554:return z+B(e,/([^-])(transform)/g,`$1`+z+`$2`)+e;case 6187:return B(B(B(e,/(zoom-|grab)/,z+`$1`),/(image-set)/,z+`$1`),e,``)+e;case 5495:case 3959:return B(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return B(B(e,/(.+:)(flex-)?(.*)/,z+`box-pack:$3`+R+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+z+e+e;case 4095:case 3583:case 4068:case 2532:return B(e,/(.+)-inline(.+)/,z+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(hr(e)-1-t>6)switch(V(e,t+1)){case 109:if(V(e,t+4)!==45)break;case 102:return B(e,/(.+:)(.+)-([^]+)/,`$1`+z+`$2-$3$1`+er+(V(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~pr(e,`stretch`)?ti(B(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(V(e,t+1)!==115)break;case 6444:switch(V(e,hr(e)-3-(~pr(e,`!important`)&&10))){case 107:return B(e,`:`,`:`+z)+e;case 101:return B(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+z+(V(e,14)===45?`inline-`:``)+`box$3$1`+z+`$2$3$1`+R+`$2box$3`)+e}break;case 5936:switch(V(e,t+11)){case 114:return z+e+R+B(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return z+e+R+B(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return z+e+R+B(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return z+e+R+e+e}return e}var ni=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rr:e.return=ti(e.value,e.length);break;case ar:return Wr([wr(e,{value:B(e.value,`@`,`@`+z)})],r);case nr:if(e.length)return vr(e.props,function(t){switch(fr(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Wr([wr(e,{props:[B(t,/:(read-\w+)/,`:`+er+`$1`)]})],r);case`::placeholder`:return Wr([wr(e,{props:[B(t,/:(plac\w+)/,`:`+z+`input-$1`)]}),wr(e,{props:[B(t,/:(plac\w+)/,`:`+er+`$1`)]}),wr(e,{props:[B(t,/:(plac\w+)/,R+`input-$1`)]})],r)}return``})}}],ri=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||ni,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[$r,ei],l,u=[Gr,qr(function(e){l.insert(e)})],d=Kr(c.concat(r,u)),f=function(e){return Wr(zr(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new $n({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p};function ii(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ai={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oi=/[A-Z]|^ms/g,si=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ci=function(e){return e.charCodeAt(1)===45},li=function(e){return e!=null&&typeof e!=`boolean`},ui=Jr(function(e){return ci(e)?e:e.replace(oi,`-$&`).toLowerCase()}),di=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(si,function(e,t,n){return hi={name:t,styles:n,next:hi},t})}return ai[e]!==1&&!ci(e)&&typeof t==`number`&&t!==0?t+`px`:t};function fi(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return hi={name:i.name,styles:i.styles,next:hi},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)hi={name:o.name,styles:o.styles,next:hi},o=o.next;return a.styles+`;`}return pi(e,t,n);case`function`:if(e!==void 0){var s=hi,c=n(e);return hi=s,fi(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function pi(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=fi(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:li(s)&&(r+=ui(a)+`:`+di(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)li(o[c])&&(r+=ui(a)+`:`+di(a,o[c])+`;`);else{var l=fi(e,t,o);switch(a){case`animation`:case`animationName`:r+=ui(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var mi=/label:\s*([^\s;{]+)\s*(;|$)/g,hi;function gi(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;hi=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=fi(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=fi(n,t,e[o]),r&&(i+=a[o]);mi.lastIndex=0;for(var s=``,c;(c=mi.exec(i))!==null;)s+=`-`+c[1];return{name:ii(i)+s,styles:i,next:hi}}function _i(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var vi=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},yi=function(e,t,n){vi(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function bi(e,t){if(e.inserted[t.name]===void 0)return e.insert(``,t,e.sheet,!0)}function xi(e,t,n){var r=[],i=_i(e,r,n);return r.length<2?n:i+t(r)}var Si=function(e){var t=ri(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){var e=gi([...arguments],t.registered,void 0);return yi(t,e,!1),t.key+`-`+e.name};return{css:n,cx:function(){var e=[...arguments];return xi(t.registered,n,Ci(e))},injectGlobal:function(){bi(t,gi([...arguments],t.registered))},keyframes:function(){var e=gi([...arguments],t.registered),n=`animation-`+e.name;return bi(t,{name:e.name,styles:`@keyframes `+n+`{`+e.styles+`}`}),n},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:_i.bind(null,t.registered),merge:xi.bind(null,t.registered,n)}},Ci=function e(t){for(var n=``,r=0;r<t.length;r++){var i=t[r];if(i!=null){var a=void 0;switch(typeof i){case`boolean`:break;case`object`:if(Array.isArray(i))a=e(i);else for(var o in a=``,i)i[o]&&o&&(a&&(a+=` `),a+=o);break;default:a=i}a&&(n&&(n+=` `),n+=a)}}return n},wi=Object.freeze({diffViewerBackground:`#fff`,diffViewerColor:`#212529`,addedBackground:`#e6ffed`,addedColor:`#24292e`,removedBackground:`#ffeef0`,removedColor:`#24292e`,changedBackground:`#fffbdd`,wordAddedBackground:`#acf2bd`,wordRemovedBackground:`#fdb8c0`,addedGutterBackground:`#cdffd8`,removedGutterBackground:`#ffdce0`,gutterBackground:`#f7f7f7`,gutterBackgroundDark:`#f3f1f1`,highlightBackground:`#fffbdd`,highlightGutterBackground:`#fff5b1`,codeFoldGutterBackground:`#dbedff`,codeFoldBackground:`#f1f8ff`,emptyLineBackground:`#fafbfc`,gutterColor:`#212529`,addedGutterColor:`#212529`,removedGutterColor:`#212529`,codeFoldContentColor:`#212529`,diffViewerTitleBackground:`#fafbfc`,diffViewerTitleColor:`#212529`,diffViewerTitleBorderColor:`#eee`}),Ti=Object.freeze({diffViewerBackground:`#2e303c`,diffViewerColor:`#FFF`,addedBackground:`#2ea04326`,addedColor:`white`,removedBackground:`#f851491a`,removedColor:`white`,changedBackground:`#3e302c`,wordAddedBackground:`#2ea04366`,wordRemovedBackground:`#f8514966`,addedGutterBackground:`#3fb9504d`,removedGutterBackground:`#f851494d`,gutterBackground:`#2c2f3a`,gutterBackgroundDark:`#262933`,highlightBackground:`#2a3967`,highlightGutterBackground:`#2d4077`,codeFoldGutterBackground:`#262831`,codeFoldBackground:`#262831`,emptyLineBackground:`#363946`,gutterColor:`#f0f6fc`,addedGutterColor:`#f0f6fc`,removedGutterColor:`#f0f6fc`,codeFoldContentColor:`#9198a1`,diffViewerTitleBackground:`#2f323e`,diffViewerTitleColor:`#f0f6fc`,diffViewerTitleBorderColor:`#353846`}),Ei=(e,t=!1,n=``)=>{let{variables:r={},...i}=e,a={light:{...wi,...r.light||{}},dark:{...Ti,...r.dark||{}}},o=t?a.dark:a.light,{css:s,cx:c}=Si({key:`react-diff`,nonce:n}),l=s({width:`auto`,overflow:`hidden`,padding:0,label:`content`}),u=s({label:`split-view`}),d=s({position:`sticky`,top:0,zIndex:2,label:`sticky-header`}),f=s({background:o.diffViewerTitleBackground,color:o.diffViewerTitleColor,padding:`0.5em 1em`,display:`flex`,alignItems:`center`,gap:`0.5em`,fontFamily:`monospace`,fontSize:12,fill:o.diffViewerTitleColor}),p=s({display:`flex`,label:`column-headers`}),m=s({width:`100%`,minWidth:`1000px`,overflowX:`auto`,tableLayout:`fixed`,fontSize:12,background:o.diffViewerBackground,pre:{margin:0,whiteSpace:`pre-wrap`,lineHeight:`1.6em`,width:`fit-content`},label:`diff-container`,borderCollapse:`collapse`,borderRadius:0,"& td, & th":{border:0,verticalAlign:`baseline`},"@media (max-width: 768px)":{minWidth:`unset`}}),h=s({overflow:`hidden`,width:`100%`}),g=s({color:o.diffViewerColor,whiteSpace:`pre-wrap`,fontFamily:`monospace`,lineBreak:`anywhere`,textDecoration:`none`,label:`content-text`}),_=s({display:`flex`,alignItems:`baseline`,label:`content-flex`}),v=s({whiteSpace:`pre`,wordBreak:`keep-all`,flex:`0 0 auto`,label:`line-indent`}),y=s({flex:`1 1 auto`,minWidth:0,label:`line-body`}),b=s({userSelect:`none`,label:`unselectable`}),x=s({label:`no-wrap`,pre:{whiteSpace:`pre`},[`.${g}`]:{whiteSpace:`pre`,lineBreak:`auto`}}),S=s({background:`transparent`,border:`none`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,margin:0,label:`all-expand-button`,":hover":{fill:o.addedGutterColor},":focus":{outline:`1px ${o.addedGutterColor} solid`}}),C=s({background:o.diffViewerTitleBackground,padding:`0.5em`,lineHeight:`1.4em`,height:`2.4em`,overflow:`hidden`,width:`50%`,borderBottom:`1px solid ${o.diffViewerTitleBorderColor}`,boxSizing:`border-box`,fontSize:12,label:`title-block`,":only-child":{width:`100%`},":last-child:not(:only-child)":{borderLeft:`1px solid ${o.diffViewerTitleBorderColor}`},[`.${g}`]:{color:o.diffViewerTitleColor}}),w=s({color:o.gutterColor,label:`line-number`}),T=s({background:o.removedBackground,color:o.removedColor,pre:{color:o.removedColor},[`.${w}`]:{color:o.removedGutterColor},label:`diff-removed`}),E=s({background:o.addedBackground,color:o.addedColor,pre:{color:o.addedColor},[`.${w}`]:{color:o.addedGutterColor},label:`diff-added`}),D=s({background:o.changedBackground,[`.${w}`]:{color:o.gutterColor},label:`diff-changed`}),O=s({display:`inline`,textDecoration:`none`,label:`word-diff`}),k=s({background:o.wordAddedBackground,label:`word-added`}),ee=s({background:o.wordRemovedBackground,label:`word-removed`}),te=s({backgroundColor:o.codeFoldGutterBackground,label:`code-fold-gutter`,minWidth:`50px`,width:`50px`,padding:0,textAlign:`center`,fill:o.codeFoldContentColor}),ne=s({padding:0,overflow:`hidden`,"&&&":{verticalAlign:`middle`},label:`code-fold-content-container`}),re=s({background:o.codeFoldBackground,cursor:`pointer`,display:`block`,margin:0,padding:0,border:`none`,font:`inherit`,lineHeight:`inherit`,textAlign:`left`,fill:o.codeFoldContentColor,label:`code-fold-expand-button`}),A=s({color:o.codeFoldContentColor,fontFamily:`monospace`,label:`code-fold-content`}),j=s({display:`block`,width:`10px`,height:`10px`,backgroundColor:`#ddd`,borderWidth:`1px`,borderStyle:`solid`,borderColor:o.diffViewerTitleBorderColor}),ie=s({backgroundColor:o.wordAddedBackground}),M=s({backgroundColor:o.wordRemovedBackground}),ae=s({backgroundColor:o.codeFoldBackground,fontSize:12,alignItems:`center`,userSelect:`none`,fontWeight:700,cursor:`pointer`,label:`code-fold`,"& td":{paddingTop:0,paddingBottom:0},"&:hover":{color:o.diffViewerColor,fill:o.diffViewerColor,"& *":{color:o.diffViewerColor,fill:o.diffViewerColor}},a:{textDecoration:`underline !important`,cursor:`pointer`,pre:{display:`inline`}}}),N=s({backgroundColor:o.emptyLineBackground,label:`empty-line`}),oe=s({width:28,paddingLeft:10,paddingRight:10,paddingTop:0,paddingBottom:0,userSelect:`none`,label:`marker`,[`&.${E}`]:{pre:{color:o.addedColor}},[`&.${T}`]:{pre:{color:o.removedColor}}}),se=s({background:o.highlightBackground,label:`highlighted-line`,[`.${k}, .${ee}`]:{backgroundColor:`initial`}}),ce=s({label:`highlighted-gutter`}),le=s({userSelect:`none`,minWidth:50,width:`50px`,padding:`0 10px`,whiteSpace:`nowrap`,label:`gutter`,textAlign:`center`,color:o.gutterColor,background:o.gutterBackground,"&:hover":{cursor:`pointer`,background:o.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5,textAlign:`center`,width:`100%`},[`&.${E}`]:{background:o.addedGutterBackground},[`&.${T}`]:{background:o.removedGutterBackground},[`&.${ce}`]:{background:o.highlightGutterBackground,"&:hover":{background:o.highlightGutterBackground}}}),ue=s({"&:hover":{background:o.gutterBackground,cursor:`initial`},label:`empty-gutter`}),de={diffContainer:m,diffRemoved:T,diffAdded:E,diffChanged:D,splitView:u,marker:oe,highlightedGutter:ce,highlightedLine:se,gutter:le,line:s({verticalAlign:`baseline`,label:`line`,textDecoration:`none`,backgroundColor:`transparent`,fontSize:12}),lineContent:h,wordDiff:O,wordAdded:k,summary:f,block:j,blockAddition:ie,blockDeletion:M,wordRemoved:ee,noSelect:b,noWrap:x,codeFoldGutter:te,codeFoldExpandButton:re,codeFoldContentContainer:ne,codeFold:ae,emptyGutter:ue,emptyLine:N,lineNumber:w,contentText:g,contentFlex:_,lineIndent:v,lineBody:y,content:l,column:s({}),codeFoldContent:A,stickyHeader:d,columnHeaders:p,titleBlock:C,allExpandButton:S},fe=Object.keys(i).reduce((e,t)=>({...e,[t]:s(i[t])}),{});return Object.keys(de).reduce((e,t)=>({...e,[t]:fe[t]?c(de[t],fe[t]):de[t]}),{})};function Di(){return(0,m.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 16 16`,width:`16`,height:`16`,children:[(0,m.jsx)(`title`,{children:`fold`}),(0,m.jsx)(`path`,{d:`M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z`})]})}var Oi=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Oi.prototype.normal={},Oi.prototype.property={},Oi.prototype.space=void 0;function ki(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Oi(n,r,t)}function Ai(e){return e.toLowerCase()}var G=class{constructor(e,t){this.attribute=t,this.property=e}};G.prototype.attribute=``,G.prototype.booleanish=!1,G.prototype.boolean=!1,G.prototype.commaOrSpaceSeparated=!1,G.prototype.commaSeparated=!1,G.prototype.defined=!1,G.prototype.mustUseProperty=!1,G.prototype.number=!1,G.prototype.overloadedBoolean=!1,G.prototype.property=``,G.prototype.spaceSeparated=!1,G.prototype.space=void 0;var ji=t({boolean:()=>K,booleanish:()=>q,commaOrSpaceSeparated:()=>X,commaSeparated:()=>Pi,number:()=>J,overloadedBoolean:()=>Ni,spaceSeparated:()=>Y}),Mi=0,K=Fi(),q=Fi(),Ni=Fi(),J=Fi(),Y=Fi(),Pi=Fi(),X=Fi();function Fi(){return 2**++Mi}var Ii=Object.keys(ji),Li=class extends G{constructor(e,t,n,r){let i=-1;if(super(e,t),Ri(this,`space`,r),typeof n==`number`)for(;++i<Ii.length;){let e=Ii[i];Ri(this,Ii[i],(n&ji[e])===ji[e])}}};Li.prototype.defined=!0;function Ri(e,t,n){n&&(e[t]=n)}function zi(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new Li(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Ai(r)]=r,n[Ai(a.attribute)]=r}return new Oi(t,n,e.space)}var Bi=zi({properties:{ariaActiveDescendant:null,ariaAtomic:q,ariaAutoComplete:null,ariaBusy:q,ariaChecked:q,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:Y,ariaCurrent:null,ariaDescribedBy:Y,ariaDetails:null,ariaDisabled:q,ariaDropEffect:Y,ariaErrorMessage:null,ariaExpanded:q,ariaFlowTo:Y,ariaGrabbed:q,ariaHasPopup:null,ariaHidden:q,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Y,ariaLevel:J,ariaLive:null,ariaModal:q,ariaMultiLine:q,ariaMultiSelectable:q,ariaOrientation:null,ariaOwns:Y,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:q,ariaReadOnly:q,ariaRelevant:null,ariaRequired:q,ariaRoleDescription:Y,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:q,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function Vi(e,t){return t in e?e[t]:t}function Hi(e,t){return Vi(e,t.toLowerCase())}var Ui=zi({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:Pi,acceptCharset:Y,accessKey:Y,action:null,allow:null,allowFullScreen:K,allowPaymentRequest:K,allowUserMedia:K,alpha:K,alt:null,as:null,async:K,autoCapitalize:null,autoComplete:Y,autoFocus:K,autoPlay:K,blocking:Y,capture:null,charSet:null,checked:K,cite:null,className:Y,closedBy:null,colorSpace:null,cols:J,colSpan:J,command:null,commandFor:null,content:null,contentEditable:q,controls:K,controlsList:Y,coords:J|Pi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:K,defer:K,dir:null,dirName:null,disabled:K,download:Ni,draggable:q,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:K,formTarget:null,headers:Y,height:J,hidden:Ni,high:J,href:null,hrefLang:null,htmlFor:Y,httpEquiv:Y,id:null,imageSizes:null,imageSrcSet:null,inert:K,inputMode:null,integrity:null,is:null,isMap:K,itemId:null,itemProp:Y,itemRef:Y,itemScope:K,itemType:Y,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:K,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:K,muted:K,name:null,nonce:null,noModule:K,noValidate:K,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:K,optimum:J,pattern:null,ping:Y,placeholder:null,playsInline:K,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:K,referrerPolicy:null,rel:Y,required:K,reversed:K,rows:J,rowSpan:J,sandbox:Y,scope:null,scoped:K,seamless:K,selected:K,shadowRootClonable:K,shadowRootCustomElementRegistry:K,shadowRootDelegatesFocus:K,shadowRootMode:null,shadowRootSerializable:K,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:q,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:K,useMap:null,value:q,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Y,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:K,declare:K,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:K,noHref:K,noShade:K,noWrap:K,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:q,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:K,disablePictureInPicture:K,disableRemotePlayback:K,exportParts:Pi,part:Y,prefix:null,property:null,results:J,security:null,unselectable:null},space:`html`,transform:Hi}),Wi=zi({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:X,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:Y,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:K,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Pi,g2:Pi,glyphName:Pi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:X,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Y,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:X,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:X,rev:X,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:X,requiredFeatures:X,requiredFonts:X,requiredFormats:X,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:X,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:X,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:X,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Vi}),Gi=zi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),Ki=zi({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:Hi}),qi=zi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Ji=/[A-Z]/g,Yi=/-[a-z]/g,Xi=/^data[-\w.:]+$/i;function Zi(e,t){let n=Ai(t),r=t,i=G;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Xi.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Yi,$i);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Yi.test(e)){let n=e.replace(Ji,Qi);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=Li}return new i(r,t)}function Qi(e){return`-`+e.toLowerCase()}function $i(e){return e.charAt(1).toUpperCase()}var ea=ki([Bi,Ui,Gi,Ki,qi],`html`),ta=ki([Bi,Wi,Gi,Ki,qi],`svg`);function na(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}var ra=/[#.]/g;function ia(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){ra.lastIndex=i;let e=ra.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function aa(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function oa(e,t,n){let r=n?fa(n):void 0;function i(n,i,...a){let o;if(n==null){o={type:`root`,children:[]};let e=i;a.unshift(e)}else{o=ia(n,t);let s=o.tagName.toLowerCase(),c=r?r.get(s):void 0;if(o.tagName=c||s,sa(i))a.unshift(i);else for(let[t,n]of Object.entries(i))ca(e,o.properties,t,n)}for(let e of a)la(o.children,e);return o.type===`element`&&o.tagName===`template`&&(o.content={type:`root`,children:o.children},o.children=[]),o}return i}function sa(e){if(typeof e!=`object`||!e||Array.isArray(e))return!0;if(typeof e.type!=`string`)return!1;let t=e,n=Object.keys(e);for(let e of n){let n=t[e];if(n&&typeof n==`object`){if(!Array.isArray(n))return!0;let e=n;for(let t of e)if(typeof t!=`number`&&typeof t!=`string`)return!0}}return!!(`children`in e&&Array.isArray(e.children))}function ca(e,t,n,r){let i=Zi(e,n),a;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;a=r}else a=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?aa(r):i.commaSeparated?na(r):i.commaOrSpaceSeparated?aa(na(r).join(` `)):ua(i,i.property,r):Array.isArray(r)?[...r]:i.property===`style`?da(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(ua(i,i.property,t));a=e}i.property===`className`&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function la(e,t){if(t!=null){if(typeof t==`number`||typeof t==`string`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(let n of t)la(e,n);else if(typeof t==`object`&&`type`in t)t.type===`root`?la(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}}function ua(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||Ai(n)===Ai(t)))return!0}return n}function da(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(`: `));return t.join(`; `)}function fa(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}var pa=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),ma=oa(ea,`div`);oa(ta,`g`,pa);var ha=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),ga={0:`�`,128:`€`,130:`‚`,131:`ƒ`,132:`„`,133:`…`,134:`†`,135:`‡`,136:`ˆ`,137:`‰`,138:`Š`,139:`‹`,140:`Œ`,142:`Ž`,145:`‘`,146:`’`,147:`“`,148:`”`,149:`•`,150:`–`,151:`—`,152:`˜`,153:`™`,154:`š`,155:`›`,156:`œ`,158:`ž`,159:`Ÿ`};function _a(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=48&&t<=57}function va(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function ya(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function ba(e){return ya(e)||_a(e)}var xa=document.createElement(`i`);function Sa(e){let t=`&`+e+`;`;xa.innerHTML=t;let n=xa.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`?!1:n!==t&&n}var Ca=[``,`Named character references must be terminated by a semicolon`,`Numeric character references must be terminated by a semicolon`,`Named character references cannot be empty`,`Numeric character references cannot be empty`,`Named character references must be known`,`Numeric character references cannot be disallowed`,`Numeric character references cannot be outside the permissible Unicode range`];function wa(e,t){let n=t||{},r=typeof n.additional==`string`?n.additional.charCodeAt(0):n.additional,i=[],a=0,o=-1,s=``,c,l;n.position&&(`start`in n.position||`indent`in n.position?(l=n.position.indent,c=n.position.start):c=n.position);let u=(c?c.line:0)||1,d=(c?c.column:0)||1,f=m(),p;for(a--;++a<=e.length;)if(p===10&&(d=(l?l[o]:0)||1),p=e.charCodeAt(a),p===38){let t=e.charCodeAt(a+1);if(t===9||t===10||t===12||t===32||t===38||t===60||Number.isNaN(t)||r&&t===r){s+=String.fromCharCode(p),d++;continue}let o=a+1,c=o,l=o,u;if(t===35){l=++c;let t=e.charCodeAt(l);t===88||t===120?(u=`hexadecimal`,l=++c):u=`decimal`}else u=`named`;let _=``,v=``,y=``,b=u===`named`?ba:u===`decimal`?_a:va;for(l--;++l<=e.length;){let t=e.charCodeAt(l);if(!b(t))break;y+=String.fromCharCode(t),u===`named`&&ha.includes(y)&&(_=y,v=Sa(y))}let x=e.charCodeAt(l)===59;if(x){l++;let e=u===`named`&&Sa(y);e&&(_=y,v=e)}let S=1+l-o,C=``;if(x||n.nonTerminated!==!1){if(!y)u!==`named`&&h(4,S);else if(u===`named`){if(x&&!v)h(5,1);else if(_!==y&&(l=c+_.length,S=1+l-c,x=!1),!x){let t=_?1:3;if(n.attribute){let n=e.charCodeAt(l);n===61?(h(t,S),v=``):ba(n)?v=``:h(t,S)}else h(t,S)}C=v}else{x||h(2,S);let e=Number.parseInt(y,u===`hexadecimal`?16:10);if(Ta(e))h(7,S),C=`�`;else if(e in ga)h(6,S),C=ga[e];else{let t=``;Ea(e)&&h(6,S),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|e&1023),C=t+String.fromCharCode(e)}}}if(C){g(),f=m(),a=l-1,d+=l-o+1,i.push(C);let t=m();t.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,C,{start:f,end:t},e.slice(o-1,l)),f=t}else y=e.slice(o-1,l),s+=y,d+=y.length,a=l-1}else p===10&&(u++,o++,d=0),Number.isNaN(p)?g():(s+=String.fromCharCode(p),d++);return i.join(``);function m(){return{line:u,column:d,offset:a+((c?c.offset:0)||0)}}function h(e,t){let r;n.warning&&(r=m(),r.column+=t,r.offset+=t,n.warning.call(n.warningContext||void 0,Ca[e],r,e))}function g(){s&&=(i.push(s),n.text&&n.text.call(n.textContext||void 0,s,{start:f,end:m()}),``)}}function Ta(e){return e>=55296&&e<=57343||e>1114111}function Ea(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534}var Da=0,Oa={},Z={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Da}),e.__id},clone:function e(t,n){n||={};var r,i;switch(Z.util.type(t)){case`Object`:if(i=Z.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case`Array`:return i=Z.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r);default:return t}}},languages:{plain:Oa,plaintext:Oa,text:Oa,txt:Oa,extend:function(e,t){var n=Z.util.clone(Z.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r||=Z.languages;var i=r[e],a={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(o)||(a[o]=i[o])}var c=r[e];return r[e]=a,Z.languages.DFS(Z.languages,function(t,n){n===c&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,i){i||={};var a=Z.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],r||o);var s=t[o],c=Z.util.type(s);c===`Object`&&!i[a(s)]?(i[a(s)]=!0,e(s,n,null,i)):c===`Array`&&!i[a(s)]&&(i[a(s)]=!0,e(s,n,o,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(Z.hooks.run(`before-tokenize`,r),!r.grammar)throw Error(`The language "`+r.language+`" has no grammar.`);return r.tokens=Z.tokenize(r.code,r.grammar),Z.hooks.run(`after-tokenize`,r),ka.stringify(Z.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new Ma;return Na(i,i.head,e),ja(e,i,t,i.head,0),Fa(i)},hooks:{all:{},add:function(e,t){var n=Z.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=Z.hooks.all[e];if(n&&n.length)for(var r=0,i;i=n[r++];)i(t)}},Token:ka};function ka(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||``).length|0}function Aa(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function ja(e,t,n,r,i,a){for(var o in n)if(n.hasOwnProperty(o)&&n[o]){var s=n[o];s=Array.isArray(s)?s:[s];for(var c=0;c<s.length;++c){if(a&&a.cause==o+`,`+c)return;var l=s[c],u=l.inside,d=!!l.lookbehind,f=!!l.greedy,p=l.alias;if(f&&!l.pattern.global){var m=l.pattern.toString().match(/[imsuy]*$/)[0];l.pattern=RegExp(l.pattern.source,m+`g`)}for(var h=l.pattern||l,g=r.next,_=i;g!==t.tail&&!(a&&_>=a.reach);_+=g.value.length,g=g.next){var v=g.value;if(t.length>e.length)return;if(!(v instanceof ka)){var y=1,b;if(f){if(b=Aa(h,_,e,d),!b||b.index>=e.length)break;var x=b.index,S=b.index+b[0].length,C=_;for(C+=g.value.length;x>=C;)g=g.next,C+=g.value.length;if(C-=g.value.length,_=C,g.value instanceof ka)continue;for(var w=g;w!==t.tail&&(C<S||typeof w.value==`string`);w=w.next)y++,C+=w.value.length;y--,v=e.slice(_,C),b.index-=_}else if(b=Aa(h,0,v,d),!b)continue;var x=b.index,T=b[0],E=v.slice(0,x),D=v.slice(x+T.length),O=_+v.length;a&&O>a.reach&&(a.reach=O);var k=g.prev;E&&(k=Na(t,k,E),_+=E.length),Pa(t,k,y);var ee=new ka(o,u?Z.tokenize(T,u):T,p,T);if(g=Na(t,k,ee),D&&Na(t,g,D),y>1){var te={cause:o+`,`+c,reach:O};ja(e,t,n,g.prev,_,te),a&&te.reach>a.reach&&(a.reach=te.reach)}}}}}}function Ma(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function Na(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function Pa(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}function Fa(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}var Ia=Z;function La(){}La.prototype=Ia;var Q=new La;Q.highlight=Ra,Q.register=za,Q.alias=Ba,Q.registered=Va,Q.listLanguages=Ha,Q.util.encode=Wa,Q.Token.stringify=Ua;function Ra(e,t){if(typeof e!=`string`)throw TypeError("Expected `string` for `value`, got `"+e+"`");let n,r;if(t&&typeof t==`object`)n=t;else{if(r=t,typeof r!=`string`)throw TypeError("Expected `string` for `name`, got `"+r+"`");if(Object.hasOwn(Q.languages,r))n=Q.languages[r];else throw Error("Unknown language: `"+r+"` is not registered")}return{type:`root`,children:Ia.highlight.call(Q,e,n,r)}}function za(e){if(typeof e!=`function`||!e.displayName)throw Error("Expected `function` for `syntax`, got `"+e+"`");Object.hasOwn(Q.languages,e.displayName)||e(Q)}function Ba(e,t){let n=Q.languages,r={};typeof e==`string`?t&&(r[e]=t):r=e;let i;for(i in r)if(Object.hasOwn(r,i)){let e=r[i],t=typeof e==`string`?[e]:e,a=-1;for(;++a<t.length;)n[t[a]]=n[i]}}function Va(e){if(typeof e!=`string`)throw TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return Object.hasOwn(Q.languages,e)}function Ha(){let e=Q.languages,t=[],n;for(n in e)Object.hasOwn(e,n)&&typeof e[n]==`object`&&t.push(n);return t}function Ua(e,t){if(typeof e==`string`)return{type:`text`,value:e};if(Array.isArray(e)){let n=[],r=-1;for(;++r<e.length;)e[r]!==null&&e[r]!==void 0&&e[r]!==``&&n.push(Ua(e[r],t));return n}let n={attributes:{},classes:[`token`,e.type],content:Ua(e.content,t),language:t,tag:`span`,type:e.type};return e.alias&&n.classes.push(...typeof e.alias==`string`?[e.alias]:e.alias),Q.hooks.run(`wrap`,n),ma(n.tag+`.`+n.classes.join(`.`),Ga(n.attributes),n.content)}function Wa(e){return e}function Ga(e){let t;for(t in e)Object.hasOwn(e,t)&&(e[t]=wa(e[t]));return e}var Ka={default:`#24292e`,comment:`#6a737d`,prolog:`#6a737d`,doctype:`#6a737d`,cdata:`#6a737d`,punctuation:`#24292e`,property:`#005cc5`,tag:`#22863a`,boolean:`#005cc5`,number:`#005cc5`,constant:`#005cc5`,symbol:`#005cc5`,deleted:`#b31d28`,selector:`#6f42c1`,"attr-name":`#6f42c1`,string:`#032f62`,char:`#032f62`,builtin:`#005cc5`,inserted:`#22863a`,operator:`#d73a49`,entity:`#22863a`,url:`#032f62`,"attr-value":`#032f62`,keyword:`#d73a49`,atrule:`#d73a49`,"class-name":`#6f42c1`,function:`#6f42c1`,regex:`#032f62`,important:`#e36209`,variable:`#e36209`},qa={default:`#f8f8f2`,comment:`#6272a4`,prolog:`#6272a4`,doctype:`#6272a4`,cdata:`#6272a4`,punctuation:`#f8f8f2`,property:`#8be9fd`,tag:`#ff79c6`,boolean:`#bd93f9`,number:`#bd93f9`,constant:`#bd93f9`,symbol:`#bd93f9`,deleted:`#ff5555`,selector:`#50fa7b`,"attr-name":`#50fa7b`,string:`#f1fa8c`,char:`#f1fa8c`,builtin:`#8be9fd`,inserted:`#50fa7b`,operator:`#f8f8f2`,entity:`#ff79c6`,url:`#f1fa8c`,"attr-value":`#f1fa8c`,keyword:`#ff79c6`,atrule:`#ff79c6`,"class-name":`#8be9fd`,function:`#50fa7b`,regex:`#ffb86c`,important:`#ffb86c`,variable:`#f8f8f2`},Ja=(e,t)=>{for(let n=t.length-1;n>=0;n--){let r=t[n];if(r!==`token`&&e[r])return e[r]}return e.default},Ya={arduino:()=>u(()=>import(`./arduino-CEYAtK6G.js`),__vite__mapDeps([0,1,2,3,4])),bash:()=>u(()=>import(`./bash-4sOSYtlG.js`),[]),basic:()=>u(()=>import(`./basic-2Y4JmWk4.js`),[]),c:()=>u(()=>import(`./c-C8PoWFx3.js`).then(e=>e.n),__vite__mapDeps([2,3,4])),clike:()=>u(()=>import(`./clike-jjKDqbJf.js`).then(e=>e.n),__vite__mapDeps([4,3])),cpp:()=>u(()=>import(`./cpp-BNrDeSFM.js`),__vite__mapDeps([1,2,3,4])),csharp:()=>u(()=>import(`./csharp-C2EQRp-I.js`),__vite__mapDeps([5,4,3])),css:()=>u(()=>import(`./css-BLUnUyF9.js`),[]),diff:()=>u(()=>import(`./diff-CnVbg4kZ.js`),[]),go:()=>u(()=>import(`./go-BTdFQSkQ.js`),__vite__mapDeps([6,4,3])),ini:()=>u(()=>import(`./ini-_H0-Wnh8.js`),[]),java:()=>u(()=>import(`./java-OEPW09uX.js`),__vite__mapDeps([7,4,3])),javascript:()=>u(()=>import(`./javascript-DWFokqmn.js`),__vite__mapDeps([8,4,3])),json:()=>u(()=>import(`./json-B02E3pk2.js`),[]),kotlin:()=>u(()=>import(`./kotlin-lSpEPTBz.js`),__vite__mapDeps([9,4,3])),less:()=>u(()=>import(`./less-DZtXz-rP.js`),__vite__mapDeps([10,11])),lua:()=>u(()=>import(`./lua-Dl7axvik.js`),[]),makefile:()=>u(()=>import(`./makefile-C7Vj606s.js`),[]),markdown:()=>u(()=>import(`./markdown-D0Y7CUbI.js`),__vite__mapDeps([12,13,3])),markup:()=>u(()=>import(`./markup-Bfi2BWVm.js`).then(e=>e.n),__vite__mapDeps([13,3])),"markup-templating":()=>u(()=>import(`./markup-templating-BkH2dBCn.js`),__vite__mapDeps([14,13,3])),objectivec:()=>u(()=>import(`./objectivec-Cv_qlwGW.js`),__vite__mapDeps([15,2,3,4])),perl:()=>u(()=>import(`./perl-Ci2iz3Xf.js`),[]),php:()=>u(()=>import(`./php-MrfIyKXK.js`),__vite__mapDeps([16,14,13,3])),python:()=>u(()=>import(`./python-PcNiIBxw.js`),[]),r:()=>u(()=>import(`./r-CjN4PMnd.js`),[]),regex:()=>u(()=>import(`./regex-Dv2vm_uO.js`),[]),ruby:()=>u(()=>import(`./ruby-DGkU311C.js`),__vite__mapDeps([17,4,3])),rust:()=>u(()=>import(`./rust-CYWeblTv.js`),[]),sass:()=>u(()=>import(`./sass-RhMvkm29.js`),__vite__mapDeps([18,11])),scss:()=>u(()=>import(`./scss-BSDGjs1D.js`),__vite__mapDeps([19,11])),sql:()=>u(()=>import(`./sql-DL4klaVE.js`),[]),swift:()=>u(()=>import(`./swift-7bJ1Hzvg.js`),[]),typescript:()=>u(()=>import(`./typescript-Brau3Puh.js`),__vite__mapDeps([20,8,4,3])),vbnet:()=>u(()=>import(`./vbnet-BCRrhSDY.js`),__vite__mapDeps([21,22])),yaml:()=>u(()=>import(`./yaml-n53w1Kfi.js`),[])},Xa={html:`markup`,xml:`markup`,svg:`markup`,mathml:`markup`,ssml:`markup`,atom:`markup`,rss:`markup`,js:`javascript`,jsx:`javascript`,node:`javascript`,ts:`typescript`,tsx:`typescript`,py:`python`,rb:`ruby`,yml:`yaml`,md:`markdown`,sh:`bash`,shell:`bash`,zsh:`bash`,"c++":`cpp`,objc:`objectivec`,cs:`csharp`,dotnet:`csharp`,kt:`kotlin`,rs:`rust`,golang:`go`},Za=new Set,Qa=new Map,$a=e=>{let t=e.toLowerCase();return Xa[t]??t},eo=async e=>{let t=$a(e);if(Q.registered(t))return t;if(Za.has(t))return null;let n=Ya[t];if(!n)return Za.add(t),null;let r=Qa.get(t);return r||(r=n().then(e=>{Q.register(e.default)}).catch(()=>{Za.add(t)}).finally(()=>{Qa.delete(t)}),Qa.set(t,r)),await r,Q.registered(t)?t:null},to=(e,t,n,r,i)=>{let a=r;for(let r of e)if(r.type===`text`){let e=r.value??``;e.length>0&&(i.push({start:a,end:a+e.length,color:n,text:e}),a+=e.length)}else if(r.children){let e=r.properties?.className,o=Array.isArray(e)?Ja(t,e):n;a=to(r.children,t,o,a,i)}return a},no=(e,t)=>{let n=Array.from({length:t},()=>[]),r=0,i=0;for(let t of e){let e=t.start;for(let a=0;a<t.text.length;a++)if(t.text[a]===`
70
+ `){let o=t.start+a;o>e&&n[r]&&n[r].push({start:e-i,end:o-i,color:t.color}),r+=1,i=t.start+a+1,e=i}t.end>e&&n[r]&&n[r].push({start:e-i,end:t.end-i,color:t.color})}return n},ro=(e,t,n)=>{if(e.length===0)return[];let r;try{r=Q.highlight(e,t)}catch{return null}let i=[];to(r.children??[],n,n.default,0,i);let a=e.split(`
71
+ `).length;return no(i,a)},io=(e,t)=>{if(t<=0)return e;let n=[];for(let r of e)r.end<=t||n.push({start:Math.max(r.start,t)-t,end:r.end-t,color:r.color});return n},ao=(e,t,n,{styles:r,showHighlight:i},a)=>{let o=t?{color:t}:void 0;return n===I.ADDED?(0,m.jsx)(`ins`,{className:(0,h.default)(r.wordDiff,{[r.wordAdded]:i}),style:o,children:e},a):n===I.REMOVED?(0,m.jsx)(`del`,{className:(0,h.default)(r.wordDiff,{[r.wordRemoved]:i}),style:o,children:e},a):(0,m.jsx)(`span`,{className:r.wordDiff,style:o,children:e},a)},oo=(e,t,n,r)=>{let i=[],a=0;for(let e of n){let t=typeof e.value==`string`?e.value:``;t.length>0&&(i.push({start:a,end:a+t.length,type:e.type??I.DEFAULT}),a+=t.length)}let o=e.length,s=[],c=0,l=0,u=0,d=0;for(;u<o;){let n=t[c],a=i[l],f=n?n.end:o,p=a?a.end:o,m=Math.min(f,p,o);if(m<=u){if(f<=u)c+=1;else if(p<=u)l+=1;else break;continue}s.push(ao(e.slice(u,m),n?.color,a?a.type:I.DEFAULT,r,d++)),u=m,f<=u&&(c+=1),p<=u&&(l+=1)}return s},so=(e,t)=>t.length===0?[(0,m.jsx)(`span`,{children:e},0)]:t.map((t,n)=>(0,m.jsx)(`span`,{style:{color:t.color},children:e.slice(t.start,t.end)},n)),co=t({DiffMethod:()=>L,LineNumberPrefix:()=>$,computeStyles:()=>Ei,default:()=>po,defaultDarkHighlightTheme:()=>qa,defaultDarkThemeVariables:()=>Ti,defaultLightHighlightTheme:()=>Ka,defaultLightThemeVariables:()=>wi}),lo=/^[ \t]+/;function uo(e){if(typeof e==`string`){let t=e.match(lo);return t?{indent:t[0],rest:e.slice(t[0].length)}:{indent:``,rest:e}}if(Array.isArray(e)){let t=e.map(e=>({...e})),n=``,r=0;for(;r<t.length;r++){let e=typeof t[r].value==`string`?t[r].value:null;if(e===null)break;let i=e.match(lo);if(!i)break;if(i[0].length===e.length){n+=e;continue}n+=i[0],t[r]={...t[r],value:e.slice(i[0].length)};break}return n?{indent:n,rest:t.slice(r)}:{indent:``,rest:e}}return{indent:``,rest:e}}function fo(e,t,n){let r=[],i=0;for(let e of t){let t=typeof e.value==`string`?e.value:``;t.length>0&&(r.push({start:i,end:i+t.length,type:e.type??I.DEFAULT}),i+=t.length)}let a=[],o=0;for(;o<e.length;)if(e[o]===`<`){let t=e.indexOf(`>`,o);if(t===-1){a.push({type:`text`,content:e.slice(o)});break}a.push({type:`tag`,content:e.slice(o,t+1)}),o=t+1}else{let t=e.indexOf(`<`,o);t===-1&&(t=e.length),a.push({type:`text`,content:e.slice(o,t)}),o=t}function s(e){return e.replace(/&lt;/g,`<`).replace(/&gt;/g,`>`).replace(/&amp;/g,`&`).replace(/&quot;/g,`"`).replace(/&#39;/g,`'`).replace(/&#x27;/g,`'`).replace(/&nbsp;/g,`\xA0`)}function c(e){return e===I.ADDED?{open:`<ins class="${n.wordDiff} ${n.wordAdded}">`,close:`</ins>`}:e===I.REMOVED?{open:`<del class="${n.wordDiff} ${n.wordRemoved}">`,close:`</del>`}:{open:`<span class="${n.wordDiff}">`,close:`</span>`}}let l=0,u=``;for(let e of a)if(e.type===`tag`)u+=e.content;else{let t=e.content,n=s(t),i=0,a=0;for(;i<n.length;){let e=l+i,o=r.find(t=>e>=t.start&&e<t.end);if(!o){let e=t[a];u+=e,a++,i++;continue}let s=o.end-e,d=n.length-i,f=Math.min(s,d),p=a,m=0;for(;m<f&&p<t.length;){if(t[p]===`&`){let e=t.indexOf(`;`,p);e!==-1&&e-p<10?p=e+1:p++}else p++;m++}let h=t.slice(a,p),g=c(o.type);u+=g?g.open+h+g.close:h,a=p,i+=f}l+=n.length}return u}var $;(function(e){e.LEFT=`L`,e.RIGHT=`R`})($||={});var po=class e extends a.Component{styles;wordDiffCache=new Map;highlightPrecedenceWarned=!1;contentColumnRef=a.createRef();charMeasureRef=a.createRef();stickyHeaderRef=a.createRef();resizeObserver=null;scrollDebounceTimer=null;lastRenderedRange={start:0,end:1/0};static defaultProps={oldValue:``,newValue:``,splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:L.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0,nonce:``};constructor(e){super(e),this.state={expandedBlocks:[],noSelect:void 0,scrollableContainerRef:a.createRef(),computedDiffResult:{},isLoading:!1,visibleStartRow:0,contentColumnWidth:null,charWidth:null,cumulativeOffsets:null,isScrolling:!1,highlightResult:null}}getWordDiffValues=(e,t,n)=>{if(!e||!t)return{leftValue:e?.value,rightValue:t?.value};if(e.rawValue===void 0||t.rawValue===void 0)return{leftValue:e.value,rightValue:t.value};let r=`${n}-${e.rawValue}-${t.rawValue}`,i=this.wordDiffCache.get(r);if(!i){let n=this.props.compareMethod===L.JSON||this.props.compareMethod===L.YAML?L.CHARS:this.props.compareMethod,a=Wn(e.rawValue,t.rawValue,n);i={left:a.left??[],right:a.right??[]},this.wordDiffCache.set(r,i)}return{leftValue:i.left,rightValue:i.right}};resetCodeBlocks=()=>this.state.expandedBlocks.length>0&&(this.setState({expandedBlocks:[]}),!0);onBlockExpand=e=>{let t=this.state.expandedBlocks.slice();t.push(e),this.setState({expandedBlocks:t},()=>this.recalculateOffsets())};getStickyHeaderHeight(){return this.stickyHeaderRef.current?.offsetHeight||0}measureCharWidth(){let e=this.charMeasureRef.current;return e&&e.getBoundingClientRect().width||7.2}measureContentColumnWidth(){let e=this.contentColumnRef.current;if(e&&e.clientWidth>0){let t=window.getComputedStyle(e),n=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r=e.clientWidth-n;if(r>0)return r}let t=this.state.scrollableContainerRef.current;if(!t||t.clientWidth<=0)return null;let n=t.clientWidth,r=this.props.hideLineNumbers?0:50;this.props.splitView;let i=this.props.splitView?2:1,a=this.props.splitView?2:1,o=n-(2*r+i*28);return Math.max(100,o/a)}getTextLength(e){return e?typeof e==`string`?e.length:e.reduce((e,t)=>e+(typeof t.value==`string`?t.value.length:0),0):0}buildCumulativeOffsets(t,n,r,i,a,o,s,c){let l=[0],u=new Set;for(let d=0;d<t.length;d++){let f=t[d];if(a){let t=n[d];if(t!==void 0&&!i.includes(t)){let n=r[t].endLine===d;!u.has(t)&&n&&(u.add(t),l.push(l[l.length-1]+e.ESTIMATED_ROW_HEIGHT));continue}}let p=f.left?.value?this.getTextLength(f.left.value):0,m=f.right?.value?this.getTextLength(f.right.value):0,h=c?Math.max(p,m):p||m,g=Math.floor(s/o),_=g>0?Math.max(1,Math.ceil(h/g)):1;l.push(l[l.length-1]+_*e.ESTIMATED_ROW_HEIGHT)}return l}findLineAtOffset(e,t){let n=0,r=t.length-2;for(;n<r;){let i=Math.floor((n+r+1)/2);t[i]<=e?n=i:r=i-1}return n}recalculateOffsets=()=>{if(!this.props.infiniteLoading)return;let e=this.measureContentColumnWidth(),t=this.measureCharWidth();if(!e)return;let n=this.getMemoisedKey(),{lineInformation:r,lineBlocks:i,blocks:a}=this.state.computedDiffResult[n]??{};if(!r)return;let o=this.buildCumulativeOffsets(r,i,a,this.state.expandedBlocks,this.props.showDiffOnly??!0,t,e,this.props.splitView??!0);this.setState({cumulativeOffsets:o,contentColumnWidth:e,charWidth:t},()=>{this.onScroll()})};computeStyles=y(Ei);onLineNumberClickProxy=e=>this.props.onLineNumberClick?t=>this.props.onLineNumberClick(e,t):()=>{};shouldHighlightWordDiff=()=>{let{compareMethod:e}=this.props;return e===L.CHARS||e===L.WORDS||e===L.WORDS_WITH_SPACE||e===L.JSON||e===L.YAML};renderWordDiff=(e,t)=>{let n=this.shouldHighlightWordDiff(),r=e.map(e=>typeof e.value==`string`?e.value:``).join(``);if(r.length>500)return[(0,m.jsx)(`span`,{children:r},`long-line`)];if(t){let i=t(r),o=i?.props?.dangerouslySetInnerHTML?.__html;if(typeof o==`string`){let t=fo(o,e,{wordDiff:this.styles.wordDiff,wordAdded:n?this.styles.wordAdded:``,wordRemoved:n?this.styles.wordRemoved:``});return[a.cloneElement(i,{key:`highlighted-diff`,dangerouslySetInnerHTML:{__html:t}})]}}return e.map((e,t)=>{let r;return r=typeof e.value==`string`?e.value:void 0,e.type===I.ADDED?(0,m.jsx)(`ins`,{className:(0,h.default)(this.styles.wordDiff,{[this.styles.wordAdded]:n}),children:r},t):e.type===I.REMOVED?(0,m.jsx)(`del`,{className:(0,h.default)(this.styles.wordDiff,{[this.styles.wordRemoved]:n}),children:r},t):(0,m.jsx)(`span`,{className:(0,h.default)(this.styles.wordDiff),children:r},t)})};renderLine=(e,t,n,r,i,a)=>{let o=`${n}-${e}`,s=`${a}-${i}`,c=this.props.highlightLines??[],l=c.includes(o)||c.includes(s),u=t===I.ADDED,d=t===I.REMOVED,f=t===I.CHANGED,{indent:p,rest:g}=uo(r),_=Array.isArray(g),v=this.state.highlightResult?n===$.LEFT?this.state.highlightResult.left:this.state.highlightResult.right:null,y=e??i??void 0,b=v&&y!=null?v.get(y):void 0,x=b?io(b,p.length):void 0,S;if(x){if(_){let e=g.map(e=>typeof e.value==`string`?e.value:``).join(``);S=e.length>500?so(e,x):oo(e,x,g,{styles:{wordDiff:this.styles.wordDiff,wordAdded:this.styles.wordAdded,wordRemoved:this.styles.wordRemoved},showHighlight:this.shouldHighlightWordDiff()})}else S=typeof g==`string`?so(g,x):g}else S=_?this.renderWordDiff(g,this.props.renderContent):this.props.renderContent&&typeof g==`string`?this.props.renderContent(g):g;let C=`div`;u&&!_?C=`ins`:d&&!_&&(C=`del`);let w=!S&&!p;return(0,m.jsxs)(m.Fragment,{children:[!this.props.hideLineNumbers&&(0,m.jsx)(`td`,{onClick:e&&this.onLineNumberClickProxy(o),className:(0,h.default)(this.styles.gutter,{[this.styles.emptyGutter]:!e,[this.styles.diffAdded]:u,[this.styles.diffRemoved]:d,[this.styles.diffChanged]:f,[this.styles.highlightedGutter]:l}),children:(0,m.jsx)(`pre`,{className:this.styles.lineNumber,children:e})}),!this.props.splitView&&!this.props.hideLineNumbers&&(0,m.jsx)(`td`,{onClick:i&&this.onLineNumberClickProxy(s),className:(0,h.default)(this.styles.gutter,{[this.styles.emptyGutter]:!i,[this.styles.diffAdded]:u,[this.styles.diffRemoved]:d,[this.styles.diffChanged]:f,[this.styles.highlightedGutter]:l}),children:(0,m.jsx)(`pre`,{className:this.styles.lineNumber,children:i})}),this.props.renderGutter?this.props.renderGutter({lineNumber:e??0,type:t??I.DEFAULT,prefix:n,value:r??``,additionalLineNumber:i??void 0,additionalPrefix:a,styles:this.styles}):null,(0,m.jsx)(`td`,{className:(0,h.default)(this.styles.marker,{[this.styles.emptyLine]:w,[this.styles.diffAdded]:u,[this.styles.diffRemoved]:d,[this.styles.diffChanged]:f,[this.styles.highlightedLine]:l}),children:(0,m.jsxs)(`pre`,{children:[u&&`+`,d&&`-`]})}),(0,m.jsx)(`td`,{ref:n===$.LEFT&&!this.state.cumulativeOffsets?this.contentColumnRef:void 0,className:(0,h.default)(this.styles.content,{[this.styles.emptyLine]:w,[this.styles.diffAdded]:u,[this.styles.diffRemoved]:d,[this.styles.diffChanged]:f,[this.styles.highlightedLine]:l,left:n===$.LEFT,right:n===$.RIGHT}),onMouseDown:()=>{let e=document.getElementsByClassName(`right`);for(let t=0;t<e.length;t++)e[t]?.classList.remove(this.styles.noSelect);let t=document.getElementsByClassName(`left`);for(let e=0;e<t.length;e++)t[e]?.classList.remove(this.styles.noSelect);let r=document.getElementsByClassName(n===$.LEFT?`right`:`left`);for(let e=0;e<r.length;e++)r[e]?.classList.add(this.styles.noSelect)},title:u&&!_?`Added line`:d&&!_?`Removed line`:void 0,children:(0,m.jsxs)(C,{className:(0,h.default)(this.styles.contentText,this.styles.contentFlex),children:[p?(0,m.jsx)(`span`,{className:this.styles.lineIndent,children:p}):null,(0,m.jsx)(`span`,{className:this.styles.lineBody,children:S})]})})]})};renderSplitView=({left:e,right:t},n)=>{let{leftValue:r,rightValue:i}=this.getWordDiffValues(e,t,n);return(0,m.jsxs)(`tr`,{className:this.styles.line,children:[this.renderLine(e.lineNumber,e.type,$.LEFT,r),this.renderLine(t.lineNumber,t.type,$.RIGHT,i)]},n)};renderInlineView=({left:e,right:t},n)=>{let{leftValue:r,rightValue:i}=this.getWordDiffValues(e,t,n),o;return e.type===I.REMOVED&&t.type===I.ADDED?(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(`tr`,{className:this.styles.line,children:this.renderLine(e.lineNumber,e.type,$.LEFT,r,null)}),(0,m.jsx)(`tr`,{className:this.styles.line,children:this.renderLine(null,t.type,$.RIGHT,i,t.lineNumber,$.RIGHT)})]},n):(e.type===I.REMOVED&&(o=this.renderLine(e.lineNumber,e.type,$.LEFT,r,null)),e.type===I.DEFAULT&&(o=this.renderLine(e.lineNumber,e.type,$.LEFT,r,t.lineNumber,$.RIGHT)),t.type===I.ADDED&&(o=this.renderLine(null,t.type,$.RIGHT,i,t.lineNumber)),(0,m.jsx)(`tr`,{className:this.styles.line,children:o},n))};onBlockClickProxy=e=>()=>this.onBlockExpand(e);renderSkippedLineIndicator=(e,t,n,r)=>{let{hideLineNumbers:i,splitView:o}=this.props,s=this.props.codeFoldMessageRenderer?this.props.codeFoldMessageRenderer(e,n,r):(0,m.jsxs)(`span`,{className:this.styles.codeFoldContent,children:[`@@ -`,n-e,`,`,e,` +`,r-e,`,`,e,` @@`]}),c=(0,m.jsx)(`td`,{className:this.styles.codeFoldContentContainer,children:(0,m.jsx)(`button`,{type:`button`,className:this.styles.codeFoldExpandButton,onClick:this.onBlockClickProxy(t),tabIndex:0,children:s})}),l=!o&&!i,u=(0,m.jsx)(`td`,{className:this.styles.codeFoldGutter,children:(0,m.jsx)(Xn,{})});return(0,m.jsxs)(`tr`,{className:this.styles.codeFold,onClick:this.onBlockClickProxy(t),role:`button`,tabIndex:0,children:[!i&&u,this.props.renderGutter?(0,m.jsx)(`td`,{className:this.styles.codeFoldGutter}):null,(0,m.jsx)(`td`,{className:(0,h.default)({[this.styles.codeFoldGutter]:l})}),l?(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(`td`,{}),c]}):(0,m.jsxs)(a.Fragment,{children:[c,this.props.renderGutter?(0,m.jsx)(`td`,{}):null,(0,m.jsx)(`td`,{}),(0,m.jsx)(`td`,{}),i?null:(0,m.jsx)(`td`,{})]})]},`${n}-${r}`)};getMemoisedKey=()=>{let{oldValue:e,newValue:t,disableWordDiff:n,compareMethod:r,linesOffset:i,alwaysShowLines:a,extraLinesSurroundingDiff:o}=this.props;return JSON.stringify({oldValue:e,newValue:t,disableWordDiff:n,compareMethod:r,linesOffset:i,alwaysShowLines:a,extraLinesSurroundingDiff:o})};memoisedCompute=async()=>{let{oldValue:e,newValue:t,disableWordDiff:n,compareMethod:r,linesOffset:i}=this.props,a=this.getMemoisedKey();if(this.state.computedDiffResult[a]){this.setState(e=>({...e,isLoading:!1})),this.updateHighlight();return}let o=this.props.infiniteLoading?.containerHeight,s=o?typeof o==`number`?o:parseInt(o,10)||0:0,c=!n&&!!this.props.infiniteLoading&&s>0&&s<2e3,{lineInformation:l,diffLines:u}=await Yn(e,t,n,r,i,this.props.alwaysShowLines,c,this.props.disableWorker),d=this.props.extraLinesSurroundingDiff??3,{lineBlocks:f,blocks:p}=b(l,u,d<0?0:Math.round(d));this.state.computedDiffResult[a]={lineInformation:l,lineBlocks:f,blocks:p},this.setState(e=>({...e,computedDiffResult:this.state.computedDiffResult,isLoading:!1}),()=>{this.updateHighlight(),this.props.infiniteLoading&&requestAnimationFrame(()=>this.recalculateOffsets())})};lineToText=e=>typeof e.rawValue==`string`?e.rawValue:typeof e.value==`string`?e.value:Array.isArray(e.value)?e.value.map(e=>typeof e.value==`string`?e.value:``).join(``):``;buildSideTokens=(e,t,n,r)=>{let i=[];for(let n of e){let e=n[t];e&&e.lineNumber!=null&&i.push({lineNumber:e.lineNumber,text:this.lineToText(e)})}i.sort((e,t)=>e.lineNumber-t.lineNumber);let a=new Map;if(i.length===0)return a;let o=ro(i.map(e=>e.text).join(`
72
+ `),n,r);if(!o)return a;for(let e=0;e<i.length;e++)a.set(i[e].lineNumber,o[e]??[]);return a};resolveHighlightTheme=()=>{let e=this.props.useDarkTheme?qa:Ka;return this.props.highlightTheme?{...e,...this.props.highlightTheme}:e};updateHighlight=async()=>{let{highlightLanguage:e}=this.props;if(!e){this.state.highlightResult&&this.setState({highlightResult:null});return}let t=this.getMemoisedKey(),n=this.state.computedDiffResult[t];if(!n)return;let r=`${t}::${e}::${this.props.useDarkTheme??!1}::${JSON.stringify(this.props.highlightTheme??null)}`;if(this.state.highlightResult?.key===r)return;let i=await eo(e);if(this.props.highlightLanguage!==e||this.getMemoisedKey()!==t)return;if(!i){this.state.highlightResult&&this.setState({highlightResult:null});return}!this.highlightPrecedenceWarned&&this.props.renderContent;let a=this.resolveHighlightTheme(),o=this.buildSideTokens(n.lineInformation,`left`,i,a),s=this.buildSideTokens(n.lineInformation,`right`,i,a);this.setState({highlightResult:{key:r,left:o,right:s}})};static ESTIMATED_ROW_HEIGHT=19;onScroll=()=>{let t=this.state.scrollableContainerRef.current;if(!t||!this.props.infiniteLoading)return;let n=this.getStickyHeaderHeight(),r=Math.max(0,t.scrollTop-n),{cumulativeOffsets:i}=this.state,a=i?this.findLineAtOffset(r,i):Math.floor(r/e.ESTIMATED_ROW_HEIGHT),o=a+Math.ceil(t.clientHeight/e.ESTIMATED_ROW_HEIGHT),s=a<this.lastRenderedRange.start||o>this.lastRenderedRange.end;this.scrollDebounceTimer&&clearTimeout(this.scrollDebounceTimer);let c={};a!==this.state.visibleStartRow&&(c.visibleStartRow=a),s&&!this.state.isScrolling&&(c.isScrolling=!0),Object.keys(c).length>0&&this.setState(c),(this.state.isScrolling||s)&&(this.scrollDebounceTimer=setTimeout(()=>{this.setState({isScrolling:!1})},150))};renderDiff=()=>{let{splitView:t,infiniteLoading:n,showDiffOnly:r}=this.props,{computedDiffResult:i,expandedBlocks:o,visibleStartRow:s,scrollableContainerRef:c,cumulativeOffsets:l}=this.state,{lineInformation:u=[],lineBlocks:d=[],blocks:f=[]}=i[this.getMemoisedKey()]??{},p=0,h=1/0,g=n?.overscan??20;if(n&&c.current){let t=c.current,n=this.getStickyHeaderHeight(),r=Math.max(0,t.scrollTop-n);if(l){let n=l[l.length-1]||0,i=l.length-2;p=Math.max(0,this.findLineAtOffset(r,l)-g),h=this.findLineAtOffset(r+t.clientHeight,l)+g;let a=Math.ceil(t.clientHeight/e.ESTIMATED_ROW_HEIGHT);h=Math.max(h,p+a+g),r+t.clientHeight>=n-g*e.ESTIMATED_ROW_HEIGHT&&(h=i+g)}else{let n=Math.ceil(t.clientHeight/e.ESTIMATED_ROW_HEIGHT);p=Math.max(0,s-g),h=s+n+g}}let _=new Map,v=new Set,y=0;for(let e=0;e<u.length;e++){let t=d[e];if(r&&t!==void 0){if(o.includes(t))_.set(e,y),y++;else{let n=f[t].endLine===e;!v.has(t)&&n&&(v.add(t),_.set(e,y),y++)}}else _.set(e,y),y++}let b=y,x=[],S=0,C=!1,w=-1;v.clear();for(let n=0;n<u.length;n++){let i=u[n],s=_.get(n);if(s!==void 0&&!(s<p)){if(s>h)break;if(C||=(S=l?l[s]||0:s*e.ESTIMATED_ROW_HEIGHT,!0),w=s,r){let e=d[n];if(e!==void 0){let t=f[e].endLine===n;if(!o.includes(e)&&t){x.push((0,m.jsx)(a.Fragment,{children:this.renderSkippedLineIndicator(f[e].lines,e,i.left.lineNumber??0,i.right.lineNumber??0)},n));continue}if(!o.includes(e))continue}}x.push(t?this.renderSplitView(i,n):this.renderInlineView(i,n))}}let T=l?l[l.length-1]||0:b*e.ESTIMATED_ROW_HEIGHT,E=l&&w>=0?T-(l[w+1]||T):0;return this.lastRenderedRange={start:p,end:h},{diffNodes:x,blocks:f,lineInformation:u,totalRenderedRows:b,topPadding:S,bottomPadding:E,totalContentHeight:T,renderedCount:x.length,debug:{visibleRowStart:p,visibleRowEnd:h,totalRows:b,offsetsLength:l?.length??0,renderedCount:x.length,scrollTop:c.current?.scrollTop??0,headerHeight:this.getStickyHeaderHeight(),contentScrollTop:c.current?Math.max(0,c.current.scrollTop-this.getStickyHeaderHeight()):0,clientHeight:c.current?.clientHeight??0}}};componentDidUpdate(e){if(e.oldValue!==this.props.oldValue||e.newValue!==this.props.newValue||e.compareMethod!==this.props.compareMethod||e.disableWordDiff!==this.props.disableWordDiff||e.linesOffset!==this.props.linesOffset){this.wordDiffCache.clear();let e=this.state.scrollableContainerRef.current;e&&(e.scrollTop=0),this.setState(e=>({...e,isLoading:!0,visibleStartRow:0,cumulativeOffsets:null})),this.memoisedCompute()}else(e.highlightLanguage!==this.props.highlightLanguage||e.highlightTheme!==this.props.highlightTheme||e.useDarkTheme!==this.props.useDarkTheme)&&this.updateHighlight()}componentDidMount(){if(this.setState(e=>({...e,isLoading:!0})),this.memoisedCompute(),typeof ResizeObserver<`u`&&this.props.infiniteLoading){this.resizeObserver=new ResizeObserver(()=>{requestAnimationFrame(()=>this.recalculateOffsets())});let e=this.state.scrollableContainerRef.current;e&&this.resizeObserver.observe(e)}}componentWillUnmount(){this.resizeObserver?.disconnect(),this.scrollDebounceTimer&&clearTimeout(this.scrollDebounceTimer)}render=()=>{let{oldValue:e,newValue:t,useDarkTheme:n,leftTitle:r,rightTitle:i,splitView:a,compareMethod:o,hideLineNumbers:s,nonce:c}=this.props;if(typeof o==`string`&&o!==L.JSON&&(typeof e!=`string`||typeof t!=`string`))throw Error(`"oldValue" and "newValue" should be strings`);this.styles=this.computeStyles(this.props.styles??{},n??!1,c??``);let l=this.renderDiff(),u=3,d=4;s&&(--u,--d),this.props.renderGutter&&(u+=1,d+=1);let f=0,p=0;for(let e of l.lineInformation)e.left.type===I.ADDED&&p++,e.right.type===I.ADDED&&p++,e.left.type===I.REMOVED&&f++,e.right.type===I.REMOVED&&f++;let g=f+p,_=Math.round(p/g*100),v=[];for(let e=0;e<5;e++)_>e*20?v.push((0,m.jsx)(`span`,{className:(0,h.default)(this.styles.block,this.styles.blockAddition)},e)):v.push((0,m.jsx)(`span`,{className:(0,h.default)(this.styles.block,this.styles.blockDeletion)},e));let y=this.state.expandedBlocks.length===l.blocks.length,b=this.props.loadingElement,x=this.props.infiniteLoading?{overflowY:`scroll`,overflowX:`hidden`,height:this.props.infiniteLoading.containerHeight}:{},S=!!this.props.infiniteLoading&&!this.state.cumulativeOffsets,C=(0,m.jsxs)(`table`,{className:(0,h.default)(this.styles.diffContainer,{[this.styles.splitView]:a,[this.styles.noWrap]:S}),onMouseUp:()=>{},children:[(0,m.jsxs)(`colgroup`,{children:[!this.props.hideLineNumbers&&(0,m.jsx)(`col`,{width:`50px`}),!a&&!this.props.hideLineNumbers&&(0,m.jsx)(`col`,{width:`50px`}),this.props.renderGutter&&(0,m.jsx)(`col`,{width:`50px`}),(0,m.jsx)(`col`,{width:`28px`}),(0,m.jsx)(`col`,{width:`auto`}),a&&(0,m.jsxs)(m.Fragment,{children:[!this.props.hideLineNumbers&&(0,m.jsx)(`col`,{width:`50px`}),this.props.renderGutter&&(0,m.jsx)(`col`,{width:`50px`}),(0,m.jsx)(`col`,{width:`28px`}),(0,m.jsx)(`col`,{width:`auto`})]})]}),(0,m.jsx)(`tbody`,{children:l.diffNodes})]}),w=(this.state.isLoading||this.state.isScrolling)&&!!b;return(0,m.jsxs)(`div`,{style:{position:`relative`},children:[w&&(0,m.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,bottom:0,zIndex:3},children:(0,m.jsx)(b,{})}),(0,m.jsxs)(`div`,{style:{...x,position:`relative`},onScroll:this.onScroll,ref:this.state.scrollableContainerRef,children:[(!this.props.hideSummary||r||i)&&(0,m.jsxs)(`div`,{ref:this.stickyHeaderRef,className:this.styles.stickyHeader,children:[!this.props.hideSummary&&(0,m.jsxs)(`div`,{className:this.styles.summary,role:`banner`,children:[(0,m.jsx)(`button`,{type:`button`,className:this.styles.allExpandButton,onClick:()=>{this.setState({expandedBlocks:y?[]:l.blocks.map(e=>e.index)},()=>this.recalculateOffsets())},children:y?(0,m.jsx)(Di,{}):(0,m.jsx)(Xn,{})}),` `,g,(0,m.jsx)(`div`,{style:{display:`flex`,gap:`1px`},children:v}),this.props.summary?(0,m.jsx)(`span`,{children:this.props.summary}):null]}),(r||i)&&(0,m.jsxs)(`div`,{className:this.styles.columnHeaders,children:[(0,m.jsx)(`div`,{className:this.styles.titleBlock,children:r?(0,m.jsx)(`pre`,{className:this.styles.contentText,children:r}):null}),a&&(0,m.jsx)(`div`,{className:this.styles.titleBlock,children:i?(0,m.jsx)(`pre`,{className:this.styles.contentText,children:i}):null})]})]}),this.props.infiniteLoading?(0,m.jsx)(`div`,{style:{height:l.totalContentHeight,position:`relative`},children:(0,m.jsx)(`div`,{style:{position:`absolute`,top:l.topPadding,left:0,right:0,visibility:this.state.isScrolling?`hidden`:`visible`},children:C})}):C,(0,m.jsx)(`span`,{ref:this.charMeasureRef,style:{position:`absolute`,top:0,left:`-9999px`,visibility:`hidden`,whiteSpace:`pre`,fontFamily:`monospace`,fontSize:12},"aria-hidden":`true`,children:`M`}),this.props.infiniteLoading&&this.props.showDebugInfo&&(0,m.jsxs)(`div`,{style:{position:`fixed`,top:10,right:10,background:`rgba(0,0,0,0.85)`,color:`#0f0`,padding:`10px`,fontFamily:`monospace`,fontSize:`11px`,zIndex:9999,borderRadius:`4px`,maxWidth:`300px`,lineHeight:1.4},children:[(0,m.jsx)(`div`,{style:{fontWeight:`bold`,marginBottom:`5px`,color:`#fff`},children:`Debug Info`}),(0,m.jsxs)(`div`,{children:[`scrollTop: `,l.debug.scrollTop]}),(0,m.jsxs)(`div`,{children:[`headerHeight: `,l.debug.headerHeight]}),(0,m.jsxs)(`div`,{children:[`contentScrollTop: `,l.debug.contentScrollTop]}),(0,m.jsxs)(`div`,{children:[`clientHeight: `,l.debug.clientHeight]}),(0,m.jsxs)(`div`,{style:{marginTop:`5px`,borderTop:`1px solid #444`,paddingTop:`5px`},children:[(0,m.jsxs)(`div`,{children:[`visibleRowStart: `,l.debug.visibleRowStart]}),(0,m.jsxs)(`div`,{children:[`visibleRowEnd: `,l.debug.visibleRowEnd]})]}),(0,m.jsxs)(`div`,{style:{marginTop:`5px`,borderTop:`1px solid #444`,paddingTop:`5px`},children:[(0,m.jsxs)(`div`,{children:[`totalRows: `,l.debug.totalRows]}),(0,m.jsxs)(`div`,{children:[`offsetsLength: `,l.debug.offsetsLength]}),(0,m.jsxs)(`div`,{children:[`renderedCount: `,l.debug.renderedCount]})]}),(0,m.jsxs)(`div`,{style:{marginTop:`5px`,borderTop:`1px solid #444`,paddingTop:`5px`},children:[(0,m.jsxs)(`div`,{children:[`topPadding: `,l.topPadding.toFixed(0)]}),(0,m.jsxs)(`div`,{children:[`bottomPadding: `,l.bottomPadding.toFixed(0)]}),(0,m.jsxs)(`div`,{children:[`totalContentHeight: `,l.totalContentHeight.toFixed(0)]})]}),(0,m.jsxs)(`div`,{style:{marginTop:`5px`,borderTop:`1px solid #444`,paddingTop:`5px`,color:`#ff0`},children:[(0,m.jsxs)(`div`,{children:[`cumulativeOffsets: `,this.state.cumulativeOffsets?`SET`:`NULL`]}),(0,m.jsxs)(`div`,{children:[`columnWidth: `,this.state.contentColumnWidth?.toFixed(0)??`N/A`,`px`]}),(0,m.jsxs)(`div`,{children:[`charWidth: `,this.state.charWidth?.toFixed(2)??`N/A`,`px`]}),(0,m.jsxs)(`div`,{children:[`charsPerRow: `,this.state.contentColumnWidth&&this.state.charWidth?Math.floor(this.state.contentColumnWidth/this.state.charWidth):`N/A`]})]}),this.state.cumulativeOffsets&&(0,m.jsxs)(`div`,{style:{marginTop:`5px`,borderTop:`1px solid #444`,paddingTop:`5px`,color:`#0ff`,fontSize:`10px`},children:[(0,m.jsxs)(`div`,{children:[`offsets[`,l.debug.visibleRowEnd,`]: `,this.state.cumulativeOffsets[l.debug.visibleRowEnd]?.toFixed(0)??`N/A`]}),(0,m.jsxs)(`div`,{children:[`offsets[`,l.debug.totalRows-1,`]: `,this.state.cumulativeOffsets[l.debug.totalRows-1]?.toFixed(0)??`N/A`]}),(0,m.jsxs)(`div`,{children:[`offsets[`,l.debug.totalRows,`]: `,this.state.cumulativeOffsets[l.debug.totalRows]?.toFixed(0)??`N/A`]}),(0,m.jsxs)(`div`,{style:{marginTop:`3px`},children:[`viewportEnd: `,(l.debug.contentScrollTop+l.debug.clientHeight).toFixed(0)]}),(0,m.jsxs)(`div`,{style:{marginTop:`3px`,color:`#f0f`},children:[`scrollHeight: `,this.state.scrollableContainerRef.current?.scrollHeight??`N/A`]}),(0,m.jsxs)(`div`,{children:[`maxScrollTop: `,(this.state.scrollableContainerRef.current?.scrollHeight??0)-l.debug.clientHeight]})]})]})]})]})}},mo=t({WORKER_CODE:()=>ho}),ho=`"use strict";(()=>{var hr=Object.defineProperty;var mr=(i,n)=>{for(var t in n)hr(i,t,{get:n[t],enumerable:!0})};var In={};mr(In,{Diff:()=>$,FILE_HEADERS_ONLY:()=>Ai,INCLUDE_HEADERS:()=>$e,OMIT_HEADERS:()=>xi,applyPatch:()=>Ln,applyPatches:()=>yi,arrayDiff:()=>bn,canonicalize:()=>Le,characterDiff:()=>ln,convertChangesToDMP:()=>vi,convertChangesToXML:()=>Si,createPatch:()=>Ci,createTwoFilesPatch:()=>Nn,cssDiff:()=>xn,diffArrays:()=>pi,diffChars:()=>ri,diffCss:()=>ai,diffJson:()=>di,diffLines:()=>ee,diffSentences:()=>si,diffTrimmedLines:()=>ci,diffWords:()=>ui,diffWordsWithSpace:()=>hn,formatPatch:()=>Ne,jsonDiff:()=>vn,lineDiff:()=>ze,parsePatch:()=>ke,reversePatch:()=>kn,sentenceDiff:()=>wn,structuredPatch:()=>Ke,wordDiff:()=>dn,wordsWithSpaceDiff:()=>pn});var $=class{diff(n,t,l={}){let o;typeof l=="function"?(o=l,l={}):"callback"in l&&(o=l.callback);let u=this.castInput(n,l),f=this.castInput(t,l),c=this.removeEmpty(this.tokenize(u,l)),d=this.removeEmpty(this.tokenize(f,l));return this.diffWithOptionsObj(c,d,l,o)}diffWithOptionsObj(n,t,l,o){var u;let f=S=>{if(S=this.postProcess(S,l),o){setTimeout(function(){o(S)},0);return}else return S},c=t.length,d=n.length,s=1,a=c+d;l.maxEditLength!=null&&(a=Math.min(a,l.maxEditLength));let m=(u=l.timeout)!==null&&u!==void 0?u:1/0,I=Date.now()+m,R=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(R[0],t,n,0,l);if(R[0].oldPos+1>=d&&v+1>=c)return f(this.buildValues(R[0].lastComponent,t,n));let g=-1/0,N=1/0,O=()=>{for(let S=Math.max(g,-s);S<=Math.min(N,s);S+=2){let b,_=R[S-1],P=R[S+1];_&&(R[S-1]=void 0);let U=!1;if(P){let Y=P.oldPos-S;U=P&&0<=Y&&Y<c}let q=_&&_.oldPos+1<d;if(!U&&!q){R[S]=void 0;continue}if(!q||U&&_.oldPos<P.oldPos?b=this.addToPath(P,!0,!1,0,l):b=this.addToPath(_,!1,!0,1,l),v=this.extractCommon(b,t,n,S,l),b.oldPos+1>=d&&v+1>=c)return f(this.buildValues(b.lastComponent,t,n))||!0;R[S]=b,b.oldPos+1>=d&&(N=Math.min(N,S-1)),v+1>=c&&(g=Math.max(g,S+1))}s++};if(o)(function S(){setTimeout(function(){if(s>a||Date.now()>I)return o(void 0);O()||S()},0)})();else for(;s<=a&&Date.now()<=I;){let S=O();if(S)return S}}addToPath(n,t,l,o,u){let f=n.lastComponent;return f&&!u.oneChangePerToken&&f.added===t&&f.removed===l?{oldPos:n.oldPos+o,lastComponent:{count:f.count+1,added:t,removed:l,previousComponent:f.previousComponent}}:{oldPos:n.oldPos+o,lastComponent:{count:1,added:t,removed:l,previousComponent:f}}}extractCommon(n,t,l,o,u){let f=t.length,c=l.length,d=n.oldPos,s=d-o,a=0;for(;s+1<f&&d+1<c&&this.equals(l[d+1],t[s+1],u);)s++,d++,a++,u.oneChangePerToken&&(n.lastComponent={count:1,previousComponent:n.lastComponent,added:!1,removed:!1});return a&&!u.oneChangePerToken&&(n.lastComponent={count:a,previousComponent:n.lastComponent,added:!1,removed:!1}),n.oldPos=d,s}equals(n,t,l){return l.comparator?l.comparator(n,t):n===t||!!l.ignoreCase&&n.toLowerCase()===t.toLowerCase()}removeEmpty(n){let t=[];for(let l=0;l<n.length;l++)n[l]&&t.push(n[l]);return t}castInput(n,t){return n}tokenize(n,t){return Array.from(n)}join(n){return n.join("")}postProcess(n,t){return n}get useLongestToken(){return!1}buildValues(n,t,l){let o=[],u;for(;n;)o.push(n),u=n.previousComponent,delete n.previousComponent,n=u;o.reverse();let f=o.length,c=0,d=0,s=0;for(;c<f;c++){let a=o[c];if(a.removed)a.value=this.join(l.slice(s,s+a.count)),s+=a.count;else{if(!a.added&&this.useLongestToken){let m=t.slice(d,d+a.count);m=m.map(function(I,R){let v=l[s+R];return v.length>I.length?v:I}),a.value=this.join(m)}else a.value=this.join(t.slice(d,d+a.count));d+=a.count,a.added||(s+=a.count)}}return o}};var tn=class extends \${},ln=new tn;function ri(i,n,t){return ln.diff(i,n,t)}function on(i,n){let t;for(t=0;t<i.length&&t<n.length;t++)if(i[t]!=n[t])return i.slice(0,t);return i.slice(0,t)}function un(i,n){let t;if(!i||!n||i[i.length-1]!=n[n.length-1])return"";for(t=0;t<i.length&&t<n.length;t++)if(i[i.length-(t+1)]!=n[n.length-(t+1)])return i.slice(-t);return i.slice(-t)}function Ye(i,n,t){if(i.slice(0,n.length)!=n)throw Error(\`string \${JSON.stringify(i)} doesn't start with prefix \${JSON.stringify(n)}; this is a bug\`);return t+i.slice(n.length)}function Ue(i,n,t){if(!n)return i+t;if(i.slice(-n.length)!=n)throw Error(\`string \${JSON.stringify(i)} doesn't end with suffix \${JSON.stringify(n)}; this is a bug\`);return i.slice(0,-n.length)+t}function xe(i,n){return Ye(i,n,"")}function Te(i,n){return Ue(i,n,"")}function fn(i,n){return n.slice(0,gr(i,n))}function gr(i,n){let t=0;i.length>n.length&&(t=i.length-n.length);let l=n.length;i.length<n.length&&(l=i.length);let o=Array(l),u=0;o[0]=0;for(let f=1;f<l;f++){for(n[f]==n[u]?o[f]=o[u]:o[f]=u;u>0&&n[f]!=n[u];)u=o[u];n[f]==n[u]&&u++}u=0;for(let f=t;f<i.length;f++){for(;u>0&&i[f]!=n[u];)u=o[u];i[f]==n[u]&&u++}return u}function ti(i){return i.includes(\`\\r
73
+ \`)&&!i.startsWith(\`
74
+ \`)&&!i.match(/[^\\r]\\n/)}function li(i){return!i.includes(\`\\r
75
+ \`)&&i.includes(\`
76
+ \`)}function cn(i,n){let t=[];for(let l of Array.from(n.segment(i))){let o=l.segment;t.length&&/\\s/.test(t[t.length-1])&&/\\s/.test(o)?t[t.length-1]+=o:t.push(o)}return t}function Be(i,n){if(n)return Ce(i,n)[1];let t;for(t=i.length-1;t>=0&&i[t].match(/\\s/);t--);return i.substring(t+1)}function he(i,n){if(n)return Ce(i,n)[0];let t=i.match(/^\\s*/);return t?t[0]:""}function Ce(i,n){if(!n)return[he(i),Be(i)];if(n.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');let t=cn(i,n),l=t[0],o=t[t.length-1],u=/\\s/.test(l)?l:"",f=/\\s/.test(o)?o:"";return[u,f]}var Ge="a-zA-Z0-9_\\\\u{AD}\\\\u{C0}-\\\\u{D6}\\\\u{D8}-\\\\u{F6}\\\\u{F8}-\\\\u{2C6}\\\\u{2C8}-\\\\u{2D7}\\\\u{2DE}-\\\\u{2FF}\\\\u{1E00}-\\\\u{1EFF}",yr=new RegExp(\`[\${Ge}]+|\\\\s+|[^\${Ge}]\`,"ug"),sn=class extends \${equals(n,t,l){return l.ignoreCase&&(n=n.toLowerCase(),t=t.toLowerCase()),n.trim()===t.trim()}tokenize(n,t={}){let l;if(t.intlSegmenter){let f=t.intlSegmenter;if(f.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');l=cn(n,f)}else l=n.match(yr)||[];let o=[],u=null;return l.forEach(f=>{/\\s/.test(f)?u==null?o.push(f):o.push(o.pop()+f):u!=null&&/\\s/.test(u)?o[o.length-1]==u?o.push(o.pop()+f):o.push(u+f):o.push(f),u=f}),o}join(n){return n.map((t,l)=>l==0?t:t.replace(/^\\s+/,"")).join("")}postProcess(n,t){if(!n||t.oneChangePerToken)return n;let l=null,o=null,u=null;return n.forEach(f=>{f.added?o=f:f.removed?u=f:((o||u)&&oi(l,u,o,f,t.intlSegmenter),l=f,o=null,u=null)}),(o||u)&&oi(l,u,o,null,t.intlSegmenter),n}},dn=new sn;function ui(i,n,t){return t?.ignoreWhitespace!=null&&!t.ignoreWhitespace?hn(i,n,t):dn.diff(i,n,t)}function oi(i,n,t,l,o){if(n&&t){let[u,f]=Ce(n.value,o),[c,d]=Ce(t.value,o);if(i){let s=on(u,c);i.value=Ue(i.value,c,s),n.value=xe(n.value,s),t.value=xe(t.value,s)}if(l){let s=un(f,d);l.value=Ye(l.value,d,s),n.value=Te(n.value,s),t.value=Te(t.value,s)}}else if(t){if(i){let u=he(t.value,o);t.value=t.value.substring(u.length)}if(l){let u=he(l.value,o);l.value=l.value.substring(u.length)}}else if(i&&l){let u=he(l.value,o),[f,c]=Ce(n.value,o),d=on(u,f);n.value=xe(n.value,d);let s=un(xe(u,d),c);n.value=Te(n.value,s),l.value=Ye(l.value,u,s),i.value=Ue(i.value,u,u.slice(0,u.length-s.length))}else if(l){let u=he(l.value,o),f=Be(n.value,o),c=fn(f,u);n.value=Te(n.value,c)}else if(i){let u=Be(i.value,o),f=he(n.value,o),c=fn(u,f);n.value=xe(n.value,c)}}var an=class extends \${tokenize(n){let t=new RegExp(\`(\\\\r?\\\\n)|[\${Ge}]+|[^\\\\S\\\\n\\\\r]+|[^\${Ge}]\`,"ug");return n.match(t)||[]}},pn=new an;function hn(i,n,t){return pn.diff(i,n,t)}function fi(i,n){if(typeof i=="function")n.callback=i;else if(i)for(let t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t]);return n}var mn=class extends \${constructor(){super(...arguments),this.tokenize=gn}equals(n,t,l){return l.ignoreWhitespace?((!l.newlineIsToken||!n.includes(\`
77
+ \`))&&(n=n.trim()),(!l.newlineIsToken||!t.includes(\`
78
+ \`))&&(t=t.trim())):l.ignoreNewlineAtEof&&!l.newlineIsToken&&(n.endsWith(\`
79
+ \`)&&(n=n.slice(0,-1)),t.endsWith(\`
80
+ \`)&&(t=t.slice(0,-1))),super.equals(n,t,l)}},ze=new mn;function ee(i,n,t){return ze.diff(i,n,t)}function ci(i,n,t){return t=fi(t,{ignoreWhitespace:!0}),ze.diff(i,n,t)}function gn(i,n){n.stripTrailingCr&&(i=i.replace(/\\r\\n/g,\`
81
+ \`));let t=[],l=i.split(/(\\n|\\r\\n)/);l[l.length-1]||l.pop();for(let o=0;o<l.length;o++){let u=l[o];o%2&&!n.newlineIsToken?t[t.length-1]+=u:t.push(u)}return t}function wr(i){return i=="."||i=="!"||i=="?"}var yn=class extends \${tokenize(n){var t;let l=[],o=0;for(let u=0;u<n.length;u++){if(u==n.length-1){l.push(n.slice(o));break}if(wr(n[u])&&n[u+1].match(/\\s/)){for(l.push(n.slice(o,u+1)),u=o=u+1;!((t=n[u+1])===null||t===void 0)&&t.match(/\\s/);)u++;l.push(n.slice(o,u+1)),o=u+1}}return l}},wn=new yn;function si(i,n,t){return wn.diff(i,n,t)}var An=class extends \${tokenize(n){return n.split(/([{}:;,]|\\s+)/)}},xn=new An;function ai(i,n,t){return xn.diff(i,n,t)}var Cn=class extends \${constructor(){super(...arguments),this.tokenize=gn}get useLongestToken(){return!0}castInput(n,t){let{undefinedReplacement:l,stringifyReplacer:o=(u,f)=>typeof f>"u"?l:f}=t;return typeof n=="string"?n:JSON.stringify(Le(n,null,null,o),null," ")}equals(n,t,l){return super.equals(n.replace(/,([\\r\\n])/g,"$1"),t.replace(/,([\\r\\n])/g,"$1"),l)}},vn=new Cn;function di(i,n,t){return vn.diff(i,n,t)}function Le(i,n,t,l,o){n=n||[],t=t||[],l&&(i=l(o===void 0?"":o,i));let u;for(u=0;u<n.length;u+=1)if(n[u]===i)return t[u];let f;if(Object.prototype.toString.call(i)==="[object Array]"){for(n.push(i),f=new Array(i.length),t.push(f),u=0;u<i.length;u+=1)f[u]=Le(i[u],n,t,l,String(u));return n.pop(),t.pop(),f}if(i&&i.toJSON&&(i=i.toJSON()),typeof i=="object"&&i!==null){n.push(i),f={},t.push(f);let c=[],d;for(d in i)Object.prototype.hasOwnProperty.call(i,d)&&c.push(d);for(c.sort(),u=0;u<c.length;u+=1)d=c[u],f[d]=Le(i[d],n,t,l,d);n.pop(),t.pop()}else f=i;return f}var Sn=class extends \${tokenize(n){return n.slice()}join(n){return n}removeEmpty(n){return n}},bn=new Sn;function pi(i,n,t){return bn.diff(i,n,t)}function En(i){return Array.isArray(i)?i.map(n=>En(n)):Object.assign(Object.assign({},i),{hunks:i.hunks.map(n=>Object.assign(Object.assign({},n),{lines:n.lines.map((t,l)=>{var o;return t.startsWith("\\\\")||t.endsWith("\\r")||!((o=n.lines[l+1])===null||o===void 0)&&o.startsWith("\\\\")?t:t+"\\r"})}))})}function Tn(i){return Array.isArray(i)?i.map(n=>Tn(n)):Object.assign(Object.assign({},i),{hunks:i.hunks.map(n=>Object.assign(Object.assign({},n),{lines:n.lines.map(t=>t.endsWith("\\r")?t.substring(0,t.length-1):t)}))})}function hi(i){return Array.isArray(i)||(i=[i]),!i.some(n=>n.hunks.some(t=>t.lines.some(l=>!l.startsWith("\\\\")&&l.endsWith("\\r"))))}function mi(i){return Array.isArray(i)||(i=[i]),i.some(n=>n.hunks.some(t=>t.lines.some(l=>l.endsWith("\\r"))))&&i.every(n=>n.hunks.every(t=>t.lines.every((l,o)=>{var u;return l.startsWith("\\\\")||l.endsWith("\\r")||((u=t.lines[o+1])===null||u===void 0?void 0:u.startsWith("\\\\"))})))}function ke(i){let n=i.split(/\\n/),t=[],l=0;function o(v){return/^diff --git /.test(v)}function u(v){return o(v)||/^Index:\\s/.test(v)||/^diff(?: -r \\w+)+\\s/.test(v)}function f(v){return/^(---|\\+\\+\\+)\\s/.test(v)}function c(v){return/^@@\\s/.test(v)}function d(){var v;let g={};g.hunks=[],t.push(g);let N=!1;for(;l<n.length;){let O=n[l];if(f(O)||c(O))break;if(o(O)){if(N)return;N=!0,g.isGit=!0;let S=s(O);for(S&&(g.oldFileName=S.oldFileName,g.newFileName=S.newFileName),l++;l<n.length;){let b=n[l];if(f(b)||c(b)||u(b))break;let _=/^rename from (.*)/.exec(b);_&&(g.oldFileName="a/"+a(_[1]),g.isRename=!0);let P=/^rename to (.*)/.exec(b);P&&(g.newFileName="b/"+a(P[1]),g.isRename=!0);let U=/^copy from (.*)/.exec(b);U&&(g.oldFileName="a/"+a(U[1]),g.isCopy=!0);let q=/^copy to (.*)/.exec(b);q&&(g.newFileName="b/"+a(q[1]),g.isCopy=!0);let Y=/^new file mode (\\d+)/.exec(b);Y&&(g.isCreate=!0,g.newMode=Y[1]);let J=/^deleted file mode (\\d+)/.exec(b);J&&(g.isDelete=!0,g.oldMode=J[1]);let re=/^old mode (\\d+)/.exec(b);re&&(g.oldMode=re[1]);let ie=/^new mode (\\d+)/.exec(b);ie&&(g.newMode=ie[1]),/^Binary files /.test(b)&&(g.isBinary=!0),l++}continue}else if(u(O)){if(N)return;N=!0;let S=/^(?:Index:|diff(?: -r \\w+)+)\\s+/.exec(O);S&&(g.index=O.substring(S[0].length).trim())}l++}if(I(g),I(g),g.oldFileName===void 0!=(g.newFileName===void 0))throw new Error("Missing "+(g.oldFileName!==void 0?'"+++ ..."':'"--- ..."')+" file header for "+((v=g.oldFileName)!==null&&v!==void 0?v:g.newFileName));for(;l<n.length;){let O=n[l];if(u(O)||f(O)||/^===================================================================/.test(O))break;c(O)?g.hunks.push(R()):l++}}function s(v){let g=v.substring(11);if(g.startsWith('"')){let O=m(g);if(O===null)return null;let S=g.substring(O.rawLength+1),b;if(S.startsWith('"')){let _=m(S);if(_===null)return null;b=_.fileName}else b=S;return{oldFileName:O.fileName,newFileName:b}}let N=g.indexOf('"');if(N>0){let O=g.substring(0,N-1),S=m(g.substring(N));return S===null?null:{oldFileName:O,newFileName:S.fileName}}if(g.startsWith("a/")){let O=[],S=0;for(;S=g.indexOf(" b/",S+1),S!==-1;)O.push(S);if(O.length>0){let b=O[Math.floor(O.length/2)];return{oldFileName:g.substring(0,b),newFileName:g.substring(b+1)}}}return null}function a(v){if(v.startsWith('"')){let g=m(v);if(g)return g.fileName}return v}function m(v){if(!v.startsWith('"'))return null;let g="",N=1;for(;N<v.length;){if(v[N]==='"')return{fileName:g,rawLength:N+1};if(v[N]==="\\\\"&&N+1<v.length)switch(N++,v[N]){case"a":g+="\\x07";break;case"b":g+="\\b";break;case"f":g+="\\f";break;case"n":g+=\`
82
+ \`;break;case"r":g+="\\r";break;case"t":g+=" ";break;case"v":g+="\\v";break;case"\\\\":g+="\\\\";break;case'"':g+='"';break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{if(N+2>=v.length||v[N+1]<"0"||v[N+1]>"7"||v[N+2]<"0"||v[N+2]>"7")return null;let O=[parseInt(v.substring(N,N+3),8)];for(N+=3;v[N]==="\\\\"&&v[N+1]>="0"&&v[N+1]<="7";){if(N+3>=v.length||v[N+2]<"0"||v[N+2]>"7"||v[N+3]<"0"||v[N+3]>"7")return null;O.push(parseInt(v.substring(N+1,N+4),8)),N+=4}g+=new TextDecoder("utf-8").decode(new Uint8Array(O));continue}default:return null}else g+=v[N];N++}return null}function I(v){let g=/^(---|\\+\\+\\+)\\s+/.exec(n[l]);if(g){let N=g[1],O=n[l].substring(3).trim().split(" ",2),S=(O[1]||"").trim(),b=O[0];b.startsWith('"')?b=a(b):b=b.replace(/\\\\\\\\/g,"\\\\"),N==="---"?(v.oldFileName=b,v.oldHeader=S):(v.newFileName=b,v.newHeader=S),l++}}function R(){var v;let g=l,N=n[l++],O=N.split(/@@ -(\\d+)(?:,(\\d+))? \\+(\\d+)(?:,(\\d+))? @@/),S={oldStart:+O[1],oldLines:typeof O[2]>"u"?1:+O[2],newStart:+O[3],newLines:typeof O[4]>"u"?1:+O[4],lines:[]};S.oldLines===0&&(S.oldStart+=1),S.newLines===0&&(S.newStart+=1);let b=0,_=0;for(;l<n.length&&(_<S.oldLines||b<S.newLines||!((v=n[l])===null||v===void 0)&&v.startsWith("\\\\"));l++){let P=n[l].length==0&&l!=n.length-1?" ":n[l][0];if(P==="+"||P==="-"||P===" "||P==="\\\\")S.lines.push(n[l]),P==="+"?b++:P==="-"?_++:P===" "&&(b++,_++);else throw new Error(\`Hunk at line \${g+1} contained invalid line \${n[l]}\`)}if(!b&&S.newLines===1&&(S.newLines=0),!_&&S.oldLines===1&&(S.oldLines=0),b!==S.newLines)throw new Error("Added line count did not match for hunk at line "+(g+1));if(_!==S.oldLines)throw new Error("Removed line count did not match for hunk at line "+(g+1));if(l<n.length&&n[l]&&/^[+ -]/.test(n[l])&&!f(n[l]))throw new Error("Hunk at line "+(g+1)+" has more lines than expected (expected "+S.oldLines+" old lines and "+S.newLines+" new lines)");return S}for(;l<n.length;)d();return t}function gi(i,n,t){let l=!0,o=!1,u=!1,f=1;return function c(){if(l&&!u){if(o?f++:l=!1,i+f<=t)return i+f;u=!0}if(!o)return u||(l=!0),n<=i-f?i-f++:(o=!0,c())}}function Ln(i,n,t={}){let l;if(typeof n=="string"?l=ke(n):Array.isArray(n)?l=n:l=[n],l.length>1)throw new Error("applyPatch only works with a single input.");return Ar(i,l[0],t)}function Ar(i,n,t={}){(t.autoConvertLineEndings||t.autoConvertLineEndings==null)&&(ti(i)&&hi(n)?n=En(n):li(i)&&mi(n)&&(n=Tn(n)));let l=i.split(\`
83
+ \`),o=n.hunks,u=t.compareLine||((v,g,N,O)=>g===O),f=t.fuzzFactor||0,c=0;if(f<0||!Number.isInteger(f))throw new Error("fuzzFactor must be a non-negative integer");if(!o.length)return i;let d="",s=!1,a=!1;for(let v=0;v<o[o.length-1].lines.length;v++){let g=o[o.length-1].lines[v];g[0]=="\\\\"&&(d[0]=="+"?s=!0:d[0]=="-"&&(a=!0)),d=g}if(s){if(a){if(!f&&l[l.length-1]=="")return!1}else if(l[l.length-1]=="")l.pop();else if(!f)return!1}else if(a){if(l[l.length-1]!="")l.push("");else if(!f)return!1}function m(v,g,N,O=0,S=!0,b=[],_=0){let P=0,U=!1;for(;O<v.length;O++){let q=v[O],Y=q.length>0?q[0]:" ",J=q.length>0?q.substr(1):q;if(Y==="-")if(u(g+1,l[g],Y,J))g++,P=0;else return!N||l[g]==null?null:(b[_]=l[g],m(v,g+1,N-1,O,!1,b,_+1));if(Y==="+"){if(!S)return null;b[_]=J,_++,P=0,U=!0}if(Y===" ")if(P++,b[_]=l[g],u(g+1,l[g],Y,J))_++,S=!0,U=!1,g++;else return U||!N?null:l[g]&&(m(v,g+1,N-1,O+1,!1,b,_+1)||m(v,g+1,N-1,O,!1,b,_+1))||m(v,g,N-1,O+1,!1,b,_)}return _-=P,g-=P,b.length=_,{patchedLines:b,oldLineLastI:g-1}}let I=[],R=0;for(let v=0;v<o.length;v++){let g=o[v],N,O=l.length-g.oldLines+f,S;for(let b=0;b<=f;b++){S=g.oldStart+R-1;let _=gi(S,c,O);for(;S!==void 0&&(N=m(g.lines,S,b),!N);S=_());if(N)break}if(!N)return!1;for(let b=c;b<S;b++)I.push(l[b]);for(let b=0;b<N.patchedLines.length;b++){let _=N.patchedLines[b];I.push(_)}c=N.oldLineLastI+1,R=S+1-g.oldStart}for(let v=c;v<l.length;v++)I.push(l[v]);return I.join(\`
84
+ \`)}function yi(i,n){let t=typeof i=="string"?ke(i):i,l=0;function o(){let u=t[l++];if(!u)return n.complete();n.loadFile(u,function(f,c){if(f)return n.complete(f);let d=Ln(c,u,n);n.patched(u,d,function(s){if(s)return n.complete(s);o()})})}o()}function wi(i){return i===void 0||i==="/dev/null"?i:i.startsWith("a/")?"b/"+i.slice(2):i.startsWith("b/")?"a/"+i.slice(2):i}function kn(i){if(Array.isArray(i))return i.map(t=>kn(t)).reverse();let n=Object.assign(Object.assign({},i),{oldFileName:i.isGit?wi(i.newFileName):i.newFileName,oldHeader:i.newHeader,newFileName:i.isGit?wi(i.oldFileName):i.oldFileName,newHeader:i.oldHeader,oldMode:i.newMode,newMode:i.oldMode,isCreate:i.isDelete,isDelete:i.isCreate,hunks:i.hunks.map(t=>({oldLines:t.newLines,oldStart:t.newStart,newLines:t.oldLines,newStart:t.oldStart,lines:t.lines.map(l=>l.startsWith("-")?\`+\${l.slice(1)}\`:l.startsWith("+")?\`-\${l.slice(1)}\`:l)}))});return i.isCopy&&(n.newFileName="/dev/null",n.newHeader=void 0,n.isDelete=!0,delete n.isCreate,delete n.isCopy,delete n.isRename,n.hunks=[]),n}function xr(i){for(let n=0;n<i.length;n++)if(i[n]<" "||i[n]>"~"||i[n]==='"'||i[n]==="\\\\")return!0;return!1}function ae(i){if(!xr(i))return i;let n='"',t=new TextEncoder().encode(i),l=0;for(;l<t.length;){let o=t[l];o===7?n+="\\\\a":o===8?n+="\\\\b":o===9?n+="\\\\t":o===10?n+="\\\\n":o===11?n+="\\\\v":o===12?n+="\\\\f":o===13?n+="\\\\r":o===34?n+='\\\\"':o===92?n+="\\\\\\\\":o>=32&&o<=126?n+=String.fromCharCode(o):n+="\\\\"+o.toString(8).padStart(3,"0"),l++}return n+='"',n}var $e={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0},Ai={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!0},xi={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!1};function Ke(i,n,t,l,o,u,f){let c;f?typeof f=="function"?c={callback:f}:c=f:c={},typeof c.context>"u"&&(c.context=4);let d=c.context;if(c.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(c.callback){let{callback:a}=c;ee(t,l,Object.assign(Object.assign({},c),{callback:m=>{let I=s(m);a(I)}}))}else return s(ee(t,l,c));function s(a){if(!a)return;a.push({value:"",lines:[]});function m(S){return S.map(function(b){return" "+b})}let I=[],R=0,v=0,g=[],N=1,O=1;for(let S=0;S<a.length;S++){let b=a[S],_=b.lines||Cr(b.value);if(b.lines=_,b.added||b.removed){if(!R){let P=a[S-1];R=N,v=O,P&&(g=d>0?m(P.lines.slice(-d)):[],R-=g.length,v-=g.length)}for(let P of _)g.push((b.added?"+":"-")+P);b.added?O+=_.length:N+=_.length}else{if(R)if(_.length<=d*2&&S<a.length-2)for(let P of m(_))g.push(P);else{let P=Math.min(_.length,d);for(let q of m(_.slice(0,P)))g.push(q);let U={oldStart:R,oldLines:N-R+P,newStart:v,newLines:O-v+P,lines:g};I.push(U),R=0,v=0,g=[]}N+=_.length,O+=_.length}}for(let S of I)for(let b=0;b<S.lines.length;b++)S.lines[b].endsWith(\`
85
+ \`)?S.lines[b]=S.lines[b].slice(0,-1):(S.lines.splice(b+1,0,"\\\"),b++);return{oldFileName:i,newFileName:n,oldHeader:o,newHeader:u,hunks:I}}}function Ne(i,n){var t,l,o,u,f,c;if(n||(n=$e),Array.isArray(i)){if(i.length>1&&!n.includeFileHeaders&&!i.every(a=>a.isGit))throw new Error("Cannot omit file headers on a multi-file patch. (The result would be unparseable; how would a tool trying to apply the patch know which changes are to which file?)");return i.map(a=>Ne(a,n)).join(\`
86
+ \`)}let d=[];if(i.isGit){if(n=$e,!i.oldFileName)throw new Error("oldFileName must be specified for Git patches");if(!i.newFileName)throw new Error("newFileName must be specified for Git patches");let a=i.oldFileName,m=i.newFileName;i.isCreate&&a==="/dev/null"?a=m.replace(/^b\\//,"a/"):i.isDelete&&m==="/dev/null"&&(m=a.replace(/^a\\//,"b/")),d.push("diff --git "+ae(a)+" "+ae(m)),i.isDelete&&d.push("deleted file mode "+((t=i.oldMode)!==null&&t!==void 0?t:"100644")),i.isCreate&&d.push("new file mode "+((l=i.newMode)!==null&&l!==void 0?l:"100644")),i.oldMode&&i.newMode&&!i.isDelete&&!i.isCreate&&(d.push("old mode "+i.oldMode),d.push("new mode "+i.newMode)),i.isRename&&(d.push("rename from "+ae(((o=i.oldFileName)!==null&&o!==void 0?o:"").replace(/^a\\//,""))),d.push("rename to "+ae(((u=i.newFileName)!==null&&u!==void 0?u:"").replace(/^b\\//,"")))),i.isCopy&&(d.push("copy from "+ae(((f=i.oldFileName)!==null&&f!==void 0?f:"").replace(/^a\\//,""))),d.push("copy to "+ae(((c=i.newFileName)!==null&&c!==void 0?c:"").replace(/^b\\//,""))))}else n.includeIndex&&i.oldFileName==i.newFileName&&i.oldFileName!==void 0&&d.push("Index: "+i.oldFileName),n.includeUnderline&&d.push("===================================================================");let s=i.hunks.length>0;n.includeFileHeaders&&i.oldFileName!==void 0&&i.newFileName!==void 0&&(!i.isGit||s)&&(d.push("--- "+ae(i.oldFileName)+(i.oldHeader?" "+i.oldHeader:"")),d.push("+++ "+ae(i.newFileName)+(i.newHeader?" "+i.newHeader:"")));for(let a=0;a<i.hunks.length;a++){let m=i.hunks[a],I=m.oldLines===0?m.oldStart-1:m.oldStart,R=m.newLines===0?m.newStart-1:m.newStart;d.push("@@ -"+I+","+m.oldLines+" +"+R+","+m.newLines+" @@");for(let v of m.lines)d.push(v)}return d.join(\`
87
+ \`)+\`
88
+ \`}function Nn(i,n,t,l,o,u,f){if(typeof f=="function"&&(f={callback:f}),f?.callback){let{callback:c}=f;Ke(i,n,t,l,o,u,Object.assign(Object.assign({},f),{callback:d=>{c(d?Ne(d,f.headerOptions):void 0)}}))}else{let c=Ke(i,n,t,l,o,u,f);return c?Ne(c,f?.headerOptions):void 0}}function Ci(i,n,t,l,o,u){return Nn(i,i,n,t,l,o,u)}function Cr(i){let n=i.endsWith(\`
89
+ \`),t=i.split(\`
90
+ \`).map(l=>l+\`
91
+ \`);return n?t.pop():t.push(t.pop().slice(0,-1)),t}function vi(i){let n=[],t,l;for(let o=0;o<i.length;o++)t=i[o],t.added?l=1:t.removed?l=-1:l=0,n.push([l,t.value]);return n}function Si(i){let n=[];for(let t=0;t<i.length;t++){let l=i[t];l.added?n.push("<ins>"):l.removed&&n.push("<del>"),n.push(vr(l.value)),l.added?n.push("</ins>"):l.removed&&n.push("</del>")}return n.join("")}function vr(i){let n=i;return n=n.replace(/&/g,"&amp;"),n=n.replace(/</g,"&lt;"),n=n.replace(/>/g,"&gt;"),n=n.replace(/"/g,"&quot;"),n}function Sr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var K={},Je={},de={},bi;function Ie(){if(bi)return de;bi=1;function i(f){return typeof f>"u"||f===null}function n(f){return typeof f=="object"&&f!==null}function t(f){return Array.isArray(f)?f:i(f)?[]:[f]}function l(f,c){if(c){let d=Object.keys(c);for(let s=0,a=d.length;s<a;s+=1){let m=d[s];f[m]=c[m]}}return f}function o(f,c){let d="";for(let s=0;s<c;s+=1)d+=f;return d}function u(f){return f===0&&Number.NEGATIVE_INFINITY===1/f}return de.isNothing=i,de.isObject=n,de.toArray=t,de.repeat=o,de.isNegativeZero=u,de.extend=l,de}var On,Ei;function Oe(){if(Ei)return On;Ei=1;function i(t,l){let o="",u=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(o+='in "'+t.mark.name+'" '),o+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!l&&t.mark.snippet&&(o+=\`
92
+
93
+ \`+t.mark.snippet),u+" "+o):u}function n(t,l){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=l,this.message=i(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(l){return this.name+": "+i(this,l)},On=n,On}var _n,Ti;function br(){if(Ti)return _n;Ti=1;let i=Ie();function n(o,u,f,c,d){let s="",a="",m=Math.floor(d/2)-1;return c-u>m&&(s=" ... ",u=c-m+s.length),f-c>m&&(a=" ...",f=c+m-a.length),{str:s+o.slice(u,f).replace(/\\t/g,"\\u2192")+a,pos:c-u+s.length}}function t(o,u){return i.repeat(" ",u-o.length)+o}function l(o,u){if(u=Object.create(u||null),!o.buffer)return null;u.maxLength||(u.maxLength=79),typeof u.indent!="number"&&(u.indent=1),typeof u.linesBefore!="number"&&(u.linesBefore=3),typeof u.linesAfter!="number"&&(u.linesAfter=2);let f=/\\r?\\n|\\r|\\0/g,c=[0],d=[],s,a=-1;for(;s=f.exec(o.buffer);)d.push(s.index),c.push(s.index+s[0].length),o.position<=s.index&&a<0&&(a=c.length-2);a<0&&(a=c.length-1);let m="",I=Math.min(o.line+u.linesAfter,d.length).toString().length,R=u.maxLength-(u.indent+I+3);for(let g=1;g<=u.linesBefore&&!(a-g<0);g++){let N=n(o.buffer,c[a-g],d[a-g],o.position-(c[a]-c[a-g]),R);m=i.repeat(" ",u.indent)+t((o.line-g+1).toString(),I)+" | "+N.str+\`
94
+ \`+m}let v=n(o.buffer,c[a],d[a],o.position,R);m+=i.repeat(" ",u.indent)+t((o.line+1).toString(),I)+" | "+v.str+\`
95
+ \`,m+=i.repeat("-",u.indent+I+3+v.pos)+\`^
96
+ \`;for(let g=1;g<=u.linesAfter&&!(a+g>=d.length);g++){let N=n(o.buffer,c[a+g],d[a+g],o.position-(c[a]-c[a+g]),R);m+=i.repeat(" ",u.indent)+t((o.line+g+1).toString(),I)+" | "+N.str+\`
97
+ \`}return m.replace(/\\n$/,"")}return _n=l,_n}var Fn,Li;function Q(){if(Li)return Fn;Li=1;let i=Oe(),n=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],t=["scalar","sequence","mapping"];function l(u){let f={};return u!==null&&Object.keys(u).forEach(function(c){u[c].forEach(function(d){f[String(d)]=c})}),f}function o(u,f){if(f=f||{},Object.keys(f).forEach(function(c){if(n.indexOf(c)===-1)throw new i('Unknown option "'+c+'" is met in definition of "'+u+'" YAML type.')}),this.options=f,this.tag=u,this.kind=f.kind||null,this.resolve=f.resolve||function(){return!0},this.construct=f.construct||function(c){return c},this.instanceOf=f.instanceOf||null,this.predicate=f.predicate||null,this.represent=f.represent||null,this.representName=f.representName||null,this.defaultStyle=f.defaultStyle||null,this.multi=f.multi||!1,this.styleAliases=l(f.styleAliases||null),t.indexOf(this.kind)===-1)throw new i('Unknown kind "'+this.kind+'" is specified for "'+u+'" YAML type.')}return Fn=o,Fn}var Rn,ki;function Ji(){if(ki)return Rn;ki=1;let i=Oe(),n=Q();function t(u,f){let c=[];return u[f].forEach(function(d){let s=c.length;c.forEach(function(a,m){a.tag===d.tag&&a.kind===d.kind&&a.multi===d.multi&&(s=m)}),c[s]=d}),c}function l(){let u={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function f(c){c.multi?(u.multi[c.kind].push(c),u.multi.fallback.push(c)):u[c.kind][c.tag]=u.fallback[c.tag]=c}for(let c=0,d=arguments.length;c<d;c+=1)arguments[c].forEach(f);return u}function o(u){return this.extend(u)}return o.prototype.extend=function(f){let c=[],d=[];if(f instanceof n)d.push(f);else if(Array.isArray(f))d=d.concat(f);else if(f&&(Array.isArray(f.implicit)||Array.isArray(f.explicit)))f.implicit&&(c=c.concat(f.implicit)),f.explicit&&(d=d.concat(f.explicit));else throw new i("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");c.forEach(function(a){if(!(a instanceof n))throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new i("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),d.forEach(function(a){if(!(a instanceof n))throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let s=Object.create(o.prototype);return s.implicit=(this.implicit||[]).concat(c),s.explicit=(this.explicit||[]).concat(d),s.compiledImplicit=t(s,"implicit"),s.compiledExplicit=t(s,"explicit"),s.compiledTypeMap=l(s.compiledImplicit,s.compiledExplicit),s},Rn=o,Rn}var Mn,Ni;function Qi(){if(Ni)return Mn;Ni=1;let i=Q();return Mn=new i("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),Mn}var Dn,Ii;function Xi(){if(Ii)return Dn;Ii=1;let i=Q();return Dn=new i("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),Dn}var Pn,Oi;function Vi(){if(Oi)return Pn;Oi=1;let i=Q();return Pn=new i("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),Pn}var Wn,_i;function Zi(){if(_i)return Wn;_i=1;let i=Ji();return Wn=new i({explicit:[Qi(),Xi(),Vi()]}),Wn}var Hn,Fi;function er(){if(Fi)return Hn;Fi=1;let i=Q();function n(o){if(o===null)return!0;let u=o.length;return u===1&&o==="~"||u===4&&(o==="null"||o==="Null"||o==="NULL")}function t(){return null}function l(o){return o===null}return Hn=new i("tag:yaml.org,2002:null",{kind:"scalar",resolve:n,construct:t,predicate:l,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Hn}var qn,Ri;function nr(){if(Ri)return qn;Ri=1;let i=Q();function n(o){if(o===null)return!1;let u=o.length;return u===4&&(o==="true"||o==="True"||o==="TRUE")||u===5&&(o==="false"||o==="False"||o==="FALSE")}function t(o){return o==="true"||o==="True"||o==="TRUE"}function l(o){return Object.prototype.toString.call(o)==="[object Boolean]"}return qn=new i("tag:yaml.org,2002:bool",{kind:"scalar",resolve:n,construct:t,predicate:l,represent:{lowercase:function(o){return o?"true":"false"},uppercase:function(o){return o?"TRUE":"FALSE"},camelcase:function(o){return o?"True":"False"}},defaultStyle:"lowercase"}),qn}var jn,Mi;function ir(){if(Mi)return jn;Mi=1;let i=Ie(),n=Q();function t(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102}function l(s){return s>=48&&s<=55}function o(s){return s>=48&&s<=57}function u(s){if(s===null)return!1;let a=s.length,m=0,I=!1;if(!a)return!1;let R=s[m];if((R==="-"||R==="+")&&(R=s[++m]),R==="0"){if(m+1===a)return!0;if(R=s[++m],R==="b"){for(m++;m<a;m++){if(R=s[m],R!=="0"&&R!=="1")return!1;I=!0}return I&&isFinite(f(s))}if(R==="x"){for(m++;m<a;m++){if(!t(s.charCodeAt(m)))return!1;I=!0}return I&&isFinite(f(s))}if(R==="o"){for(m++;m<a;m++){if(!l(s.charCodeAt(m)))return!1;I=!0}return I&&isFinite(f(s))}}for(;m<a;m++){if(!o(s.charCodeAt(m)))return!1;I=!0}return I?isFinite(f(s)):!1}function f(s){let a=s,m=1,I=a[0];if((I==="-"||I==="+")&&(I==="-"&&(m=-1),a=a.slice(1),I=a[0]),a==="0")return 0;if(I==="0"){if(a[1]==="b")return m*parseInt(a.slice(2),2);if(a[1]==="x")return m*parseInt(a.slice(2),16);if(a[1]==="o")return m*parseInt(a.slice(2),8)}return m*parseInt(a,10)}function c(s){return f(s)}function d(s){return Object.prototype.toString.call(s)==="[object Number]"&&s%1===0&&!i.isNegativeZero(s)}return jn=new n("tag:yaml.org,2002:int",{kind:"scalar",resolve:u,construct:c,predicate:d,represent:{binary:function(s){return s>=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0o"+s.toString(8):"-0o"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),jn}var Yn,Di;function rr(){if(Di)return Yn;Di=1;let i=Ie(),n=Q(),t=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))$"),l=new RegExp("^(?:[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))$");function o(s){return s===null||!t.test(s)?!1:isFinite(parseFloat(s,10))?!0:l.test(s)}function u(s){let a=s.toLowerCase(),m=a[0]==="-"?-1:1;return"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?m===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:m*parseFloat(a,10)}let f=/^[-+]?[0-9]+e/;function c(s,a){if(isNaN(s))switch(a){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(a){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(a){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(s))return"-0.0";let m=s.toString(10);return f.test(m)?m.replace("e",".e"):m}function d(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!==0||i.isNegativeZero(s))}return Yn=new n("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:u,predicate:d,represent:c,defaultStyle:"lowercase"}),Yn}var Un,Pi;function tr(){return Pi||(Pi=1,Un=Zi().extend({implicit:[er(),nr(),ir(),rr()]})),Un}var Bn,Wi;function lr(){return Wi||(Wi=1,Bn=tr()),Bn}var Gn,Hi;function or(){if(Hi)return Gn;Hi=1;let i=Q(),n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\\\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\\\.([0-9]*))?(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function l(f){return f===null?!1:n.exec(f)!==null||t.exec(f)!==null}function o(f){let c=0,d=null,s=n.exec(f);if(s===null&&(s=t.exec(f)),s===null)throw new Error("Date resolve error");let a=+s[1],m=+s[2]-1,I=+s[3];if(!s[4])return new Date(Date.UTC(a,m,I));let R=+s[4],v=+s[5],g=+s[6];if(s[7]){for(c=s[7].slice(0,3);c.length<3;)c+="0";c=+c}if(s[9]){let O=+s[10],S=+(s[11]||0);d=(O*60+S)*6e4,s[9]==="-"&&(d=-d)}let N=new Date(Date.UTC(a,m,I,R,v,g,c));return d&&N.setTime(N.getTime()-d),N}function u(f){return f.toISOString()}return Gn=new i("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:l,construct:o,instanceOf:Date,represent:u}),Gn}var zn,qi;function ur(){if(qi)return zn;qi=1;let i=Q();function n(t){return t==="<<"||t===null}return zn=new i("tag:yaml.org,2002:merge",{kind:"scalar",resolve:n}),zn}var $n,ji;function fr(){if(ji)return $n;ji=1;let i=Q(),n=\`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
98
+ \\r\`;function t(f){if(f===null)return!1;let c=0,d=f.length,s=n;for(let a=0;a<d;a++){let m=s.indexOf(f.charAt(a));if(!(m>64)){if(m<0)return!1;c+=6}}return c%8===0}function l(f){let c=f.replace(/[\\r\\n=]/g,""),d=c.length,s=n,a=0,m=[];for(let R=0;R<d;R++)R%4===0&&R&&(m.push(a>>16&255),m.push(a>>8&255),m.push(a&255)),a=a<<6|s.indexOf(c.charAt(R));let I=d%4*6;return I===0?(m.push(a>>16&255),m.push(a>>8&255),m.push(a&255)):I===18?(m.push(a>>10&255),m.push(a>>2&255)):I===12&&m.push(a>>4&255),new Uint8Array(m)}function o(f){let c="",d=0,s=f.length,a=n;for(let I=0;I<s;I++)I%3===0&&I&&(c+=a[d>>18&63],c+=a[d>>12&63],c+=a[d>>6&63],c+=a[d&63]),d=(d<<8)+f[I];let m=s%3;return m===0?(c+=a[d>>18&63],c+=a[d>>12&63],c+=a[d>>6&63],c+=a[d&63]):m===2?(c+=a[d>>10&63],c+=a[d>>4&63],c+=a[d<<2&63],c+=a[64]):m===1&&(c+=a[d>>2&63],c+=a[d<<4&63],c+=a[64],c+=a[64]),c}function u(f){return Object.prototype.toString.call(f)==="[object Uint8Array]"}return $n=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:t,construct:l,predicate:u,represent:o}),$n}var Kn,Yi;function cr(){if(Yi)return Kn;Yi=1;let i=Q(),n=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function l(u){if(u===null)return!0;let f=[],c=u;for(let d=0,s=c.length;d<s;d+=1){let a=c[d],m=!1;if(t.call(a)!=="[object Object]")return!1;let I;for(I in a)if(n.call(a,I))if(!m)m=!0;else return!1;if(!m)return!1;if(f.indexOf(I)===-1)f.push(I);else return!1}return!0}function o(u){return u!==null?u:[]}return Kn=new i("tag:yaml.org,2002:omap",{kind:"sequence",resolve:l,construct:o}),Kn}var Jn,Ui;function sr(){if(Ui)return Jn;Ui=1;let i=Q(),n=Object.prototype.toString;function t(o){if(o===null)return!0;let u=o,f=new Array(u.length);for(let c=0,d=u.length;c<d;c+=1){let s=u[c];if(n.call(s)!=="[object Object]")return!1;let a=Object.keys(s);if(a.length!==1)return!1;f[c]=[a[0],s[a[0]]]}return!0}function l(o){if(o===null)return[];let u=o,f=new Array(u.length);for(let c=0,d=u.length;c<d;c+=1){let s=u[c],a=Object.keys(s);f[c]=[a[0],s[a[0]]]}return f}return Jn=new i("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:t,construct:l}),Jn}var Qn,Bi;function ar(){if(Bi)return Qn;Bi=1;let i=Q(),n=Object.prototype.hasOwnProperty;function t(o){if(o===null)return!0;let u=o;for(let f in u)if(n.call(u,f)&&u[f]!==null)return!1;return!0}function l(o){return o!==null?o:{}}return Qn=new i("tag:yaml.org,2002:set",{kind:"mapping",resolve:t,construct:l}),Qn}var Xn,Gi;function Zn(){return Gi||(Gi=1,Xn=lr().extend({implicit:[or(),ur()],explicit:[fr(),cr(),sr(),ar()]})),Xn}var zi;function Er(){if(zi)return Je;zi=1;let i=Ie(),n=Oe(),t=br(),l=Zn(),o=Object.prototype.hasOwnProperty,u=1,f=2,c=3,d=4,s=1,a=2,m=3,I=/[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/,R=/[\\x85\\u2028\\u2029]/,v=/[,\\[\\]{}]/,g=/^(?:!|!!|![0-9A-Za-z-]+!)$/,N=/^(?:!|[^,\\[\\]{}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;/?:@&=+$,_.!~*'()\\[\\]])*$/i;function O(e){return Object.prototype.toString.call(e)}function S(e){return e===10||e===13}function b(e){return e===9||e===32}function _(e){return e===9||e===32||e===10||e===13}function P(e){return e===44||e===91||e===93||e===123||e===125}function U(e){if(e>=48&&e<=57)return e-48;let p=e|32;return p>=97&&p<=102?p-97+10:-1}function q(e){return e===120?2:e===117?4:e===85?8:0}function Y(e){return e>=48&&e<=57?e-48:-1}function J(e){switch(e){case 48:return"\\0";case 97:return"\\x07";case 98:return"\\b";case 116:return" ";case 9:return" ";case 110:return\`
99
+ \`;case 118:return"\\v";case 102:return"\\f";case 114:return"\\r";case 101:return"\\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\\\";case 78:return"\\x85";case 95:return"\\xA0";case 76:return"\\u2028";case 80:return"\\u2029";default:return""}}function re(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function ie(e,p,w){p==="__proto__"?Object.defineProperty(e,p,{configurable:!0,enumerable:!0,writable:!0,value:w}):e[p]=w}let me=new Array(256),X=new Array(256);for(let e=0;e<256;e++)me[e]=J(e)?1:0,X[e]=J(e);function z(e,p){this.input=e,this.filename=p.filename||null,this.schema=p.schema||l,this.onWarning=p.onWarning||null,this.legacy=p.legacy||!1,this.json=p.json||!1,this.listener=p.listener||null,this.maxDepth=typeof p.maxDepth=="number"?p.maxDepth:100,this.maxTotalMergeKeys=typeof p.maxTotalMergeKeys=="number"?p.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function ge(e,p){let w={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return w.snippet=t(w),new n(p,w)}function D(e,p){throw ge(e,p)}function ce(e,p){e.onWarning&&e.onWarning.call(null,ge(e,p))}function Z(e,p,w){let C=e.anchorMapTransactions;if(C.length!==0){let y=C[C.length-1];o.call(y,p)||(y[p]={existed:o.call(e.anchorMap,p),value:e.anchorMap[p]})}e.anchorMap[p]=w}function Xe(e){e.anchorMapTransactions.push(Object.create(null))}function pe(e){let p=e.anchorMapTransactions.pop(),w=e.anchorMapTransactions;if(w.length===0)return;let C=w[w.length-1],y=Object.keys(p);for(let k=0,r=y.length;k<r;k+=1){let h=y[k];o.call(C,h)||(C[h]=p[h])}}function Ve(e){let p=e.anchorMapTransactions.pop(),w=Object.keys(p);for(let C=w.length-1;C>=0;C-=1){let y=p[w[C]];y.existed?e.anchorMap[w[C]]=y.value:delete e.anchorMap[w[C]]}}function ve(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function ye(e,p){e.position=p.position,e.line=p.line,e.lineStart=p.lineStart,e.lineIndent=p.lineIndent,e.firstTabInLine=p.firstTabInLine,e.tag=p.tag,e.anchor=p.anchor,e.kind=p.kind,e.result=p.result}let _e={YAML:function(p,w,C){p.version!==null&&D(p,"duplication of %YAML directive"),C.length!==1&&D(p,"YAML directive accepts exactly one argument");let y=/^([0-9]+)\\.([0-9]+)$/.exec(C[0]);y===null&&D(p,"ill-formed argument of the YAML directive");let k=parseInt(y[1],10),r=parseInt(y[2],10);k!==1&&D(p,"unacceptable YAML version of the document"),p.version=C[0],p.checkLineBreaks=r<2,r!==1&&r!==2&&ce(p,"unsupported YAML version of the document")},TAG:function(p,w,C){let y;C.length!==2&&D(p,"TAG directive accepts exactly two arguments");let k=C[0];y=C[1],g.test(k)||D(p,"ill-formed tag handle (first argument) of the TAG directive"),o.call(p.tagMap,k)&&D(p,'there is a previously declared suffix for "'+k+'" tag handle'),N.test(y)||D(p,"ill-formed tag prefix (second argument) of the TAG directive");try{y=decodeURIComponent(y)}catch{D(p,"tag prefix is malformed: "+y)}p.tagMap[k]=y}};function V(e,p,w,C){if(p<w){let y=e.input.slice(p,w);if(C)for(let k=0,r=y.length;k<r;k+=1){let h=y.charCodeAt(k);h===9||h>=32&&h<=1114111||D(e,"expected valid JSON character")}else I.test(y)&&D(e,"the stream contains non-printable characters");e.result+=y}}function se(e,p,w,C){i.isObject(w)||D(e,"cannot merge mappings; the provided source object is unacceptable");let y=Object.keys(w);for(let k=0,r=y.length;k<r;k+=1){let h=y[k];e.maxTotalMergeKeys!==-1&&++e.totalMergeKeys>e.maxTotalMergeKeys&&D(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),o.call(p,h)||(ie(p,h,w[h]),C[h]=!0)}}function te(e,p,w,C,y,k,r,h,T){if(Array.isArray(y)){y=Array.prototype.slice.call(y);for(let A=0,x=y.length;A<x;A+=1)Array.isArray(y[A])&&D(e,"nested arrays are not supported inside keys"),typeof y=="object"&&O(y[A])==="[object Object]"&&(y[A]="[object Object]")}if(typeof y=="object"&&O(y)==="[object Object]"&&(y="[object Object]"),y=String(y),p===null&&(p={}),C==="tag:yaml.org,2002:merge")if(Array.isArray(k))for(let A=0,x=k.length;A<x;A+=1)se(e,p,k[A],w);else se(e,p,k,w);else!e.json&&!o.call(w,y)&&o.call(p,y)&&(e.line=r||e.line,e.lineStart=h||e.lineStart,e.position=T||e.position,D(e,"duplicated mapping key")),ie(p,y,k),delete w[y];return p}function we(e){let p=e.input.charCodeAt(e.position);p===10?e.position++:p===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):D(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function G(e,p,w){let C=0,y=e.input.charCodeAt(e.position);for(;y!==0;){for(;b(y);)y===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),y=e.input.charCodeAt(++e.position);if(p&&y===35)do y=e.input.charCodeAt(++e.position);while(y!==10&&y!==13&&y!==0);if(S(y))for(we(e),y=e.input.charCodeAt(e.position),C++,e.lineIndent=0;y===32;)e.lineIndent++,y=e.input.charCodeAt(++e.position);else break}return w!==-1&&C!==0&&e.lineIndent<w&&ce(e,"deficient indentation"),C}function Ae(e){let p=e.position,w=e.input.charCodeAt(p);return!!((w===45||w===46)&&w===e.input.charCodeAt(p+1)&&w===e.input.charCodeAt(p+2)&&(p+=3,w=e.input.charCodeAt(p),w===0||_(w)))}function le(e,p){p===1?e.result+=" ":p>1&&(e.result+=i.repeat(\`
100
+ \`,p-1))}function Fe(e,p,w){let C,y,k,r,h,T,A=e.kind,x=e.result,L=e.input.charCodeAt(e.position);if(_(L)||P(L)||L===35||L===38||L===42||L===33||L===124||L===62||L===39||L===34||L===37||L===64||L===96)return!1;if(L===63||L===45){let E=e.input.charCodeAt(e.position+1);if(_(E)||w&&P(E))return!1}for(e.kind="scalar",e.result="",C=y=e.position,k=!1;L!==0;){if(L===58){let E=e.input.charCodeAt(e.position+1);if(_(E)||w&&P(E))break}else if(L===35){let E=e.input.charCodeAt(e.position-1);if(_(E))break}else{if(e.position===e.lineStart&&Ae(e)||w&&P(L))break;if(S(L))if(r=e.line,h=e.lineStart,T=e.lineIndent,G(e,!1,-1),e.lineIndent>=p){k=!0,L=e.input.charCodeAt(e.position);continue}else{e.position=y,e.line=r,e.lineStart=h,e.lineIndent=T;break}}k&&(V(e,C,y,!1),le(e,e.line-r),C=y=e.position,k=!1),b(L)||(y=e.position+1),L=e.input.charCodeAt(++e.position)}return V(e,C,y,!1),e.result?!0:(e.kind=A,e.result=x,!1)}function Re(e,p){let w,C,y=e.input.charCodeAt(e.position);if(y!==39)return!1;for(e.kind="scalar",e.result="",e.position++,w=C=e.position;(y=e.input.charCodeAt(e.position))!==0;)if(y===39)if(V(e,w,e.position,!0),y=e.input.charCodeAt(++e.position),y===39)w=e.position,e.position++,C=e.position;else return!0;else S(y)?(V(e,w,C,!0),le(e,G(e,!1,p)),w=C=e.position):e.position===e.lineStart&&Ae(e)?D(e,"unexpected end of the document within a single quoted scalar"):(e.position++,b(y)||(C=e.position));D(e,"unexpected end of the stream within a single quoted scalar")}function Se(e,p){let w,C,y,k=e.input.charCodeAt(e.position);if(k!==34)return!1;for(e.kind="scalar",e.result="",e.position++,w=C=e.position;(k=e.input.charCodeAt(e.position))!==0;){if(k===34)return V(e,w,e.position,!0),e.position++,!0;if(k===92){if(V(e,w,e.position,!0),k=e.input.charCodeAt(++e.position),S(k))G(e,!1,p);else if(k<256&&me[k])e.result+=X[k],e.position++;else if((y=q(k))>0){let r=y,h=0;for(;r>0;r--)k=e.input.charCodeAt(++e.position),(y=U(k))>=0?h=(h<<4)+y:D(e,"expected hexadecimal character");e.result+=re(h),e.position++}else D(e,"unknown escape sequence");w=C=e.position}else S(k)?(V(e,w,C,!0),le(e,G(e,!1,p)),w=C=e.position):e.position===e.lineStart&&Ae(e)?D(e,"unexpected end of the document within a double quoted scalar"):(e.position++,b(k)||(C=e.position))}D(e,"unexpected end of the stream within a double quoted scalar")}function Me(e,p){let w=!0,C,y,k,r=e.tag,h,T=e.anchor,A,x,L,E,M=Object.create(null),F,W,H,j=e.input.charCodeAt(e.position);if(j===91)A=93,E=!1,h=[];else if(j===123)A=125,E=!0,h={};else return!1;for(e.anchor!==null&&Z(e,e.anchor,h),j=e.input.charCodeAt(++e.position);j!==0;){if(G(e,!0,p),j=e.input.charCodeAt(e.position),j===A)return e.position++,e.tag=r,e.anchor=T,e.kind=E?"mapping":"sequence",e.result=h,!0;if(w?j===44&&D(e,"expected the node content, but found ','"):D(e,"missed comma between flow collection entries"),W=F=H=null,x=L=!1,j===63){let B=e.input.charCodeAt(e.position+1);_(B)&&(x=L=!0,e.position++,G(e,!0,p))}C=e.line,y=e.lineStart,k=e.position,ue(e,p,u,!1,!0),W=e.tag,F=e.result,G(e,!0,p),j=e.input.charCodeAt(e.position),(L||e.line===C)&&j===58&&(x=!0,j=e.input.charCodeAt(++e.position),G(e,!0,p),ue(e,p,u,!1,!0),H=e.result),E?te(e,h,M,W,F,H,C,y,k):x?h.push(te(e,null,M,W,F,H,C,y,k)):h.push(F),G(e,!0,p),j=e.input.charCodeAt(e.position),j===44?(w=!0,j=e.input.charCodeAt(++e.position)):w=!1}D(e,"unexpected end of the stream within a flow collection")}function De(e,p){let w,C=s,y=!1,k=!1,r=p,h=0,T=!1,A,x=e.input.charCodeAt(e.position);if(x===124)w=!1;else if(x===62)w=!0;else return!1;for(e.kind="scalar",e.result="";x!==0;)if(x=e.input.charCodeAt(++e.position),x===43||x===45)s===C?C=x===43?m:a:D(e,"repeat of a chomping mode identifier");else if((A=Y(x))>=0)A===0?D(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):k?D(e,"repeat of an indentation width identifier"):(r=p+A-1,k=!0);else break;if(b(x)){do x=e.input.charCodeAt(++e.position);while(b(x));if(x===35)do x=e.input.charCodeAt(++e.position);while(!S(x)&&x!==0)}for(;x!==0;){for(we(e),e.lineIndent=0,x=e.input.charCodeAt(e.position);(!k||e.lineIndent<r)&&x===32;)e.lineIndent++,x=e.input.charCodeAt(++e.position);if(!k&&e.lineIndent>r&&(r=e.lineIndent),S(x)){h++;continue}if(!k&&r===0&&D(e,"missing indentation for block scalar"),e.lineIndent<r){C===m?e.result+=i.repeat(\`
101
+ \`,y?1+h:h):C===s&&y&&(e.result+=\`
102
+ \`);break}w?b(x)?(T=!0,e.result+=i.repeat(\`
103
+ \`,y?1+h:h)):T?(T=!1,e.result+=i.repeat(\`
104
+ \`,h+1)):h===0?y&&(e.result+=" "):e.result+=i.repeat(\`
105
+ \`,h):e.result+=i.repeat(\`
106
+ \`,y?1+h:h),y=!0,k=!0,h=0;let L=e.position;for(;!S(x)&&x!==0;)x=e.input.charCodeAt(++e.position);V(e,L,e.position,!1)}return!0}function oe(e,p){let w=e.tag,C=e.anchor,y=[],k=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&Z(e,e.anchor,y);let r=e.input.charCodeAt(e.position);for(;r!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,D(e,"tab characters must not be used in indentation")),r===45);){let h=e.input.charCodeAt(e.position+1);if(!_(h))break;if(k=!0,e.position++,G(e,!0,-1)&&e.lineIndent<=p){y.push(null),r=e.input.charCodeAt(e.position);continue}let T=e.line;if(ue(e,p,c,!1,!0),y.push(e.result),G(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===T||e.lineIndent>p)&&r!==0)D(e,"bad indentation of a sequence entry");else if(e.lineIndent<p)break}return k?(e.tag=w,e.anchor=C,e.kind="sequence",e.result=y,!0):!1}function Pe(e,p,w){let C,y,k,r,h=e.tag,T=e.anchor,A={},x=Object.create(null),L=null,E=null,M=null,F=!1,W=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&Z(e,e.anchor,A);let H=e.input.charCodeAt(e.position);for(;H!==0;){!F&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,D(e,"tab characters must not be used in indentation"));let j=e.input.charCodeAt(e.position+1),B=e.line;if((H===63||H===58)&&_(j))H===63?(F&&(te(e,A,x,L,E,null,y,k,r),L=E=M=null),W=!0,F=!0,C=!0):F?(F=!1,C=!0):D(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,H=j;else{if(y=e.line,k=e.lineStart,r=e.position,!ue(e,w,f,!1,!0))break;if(e.line===B){for(H=e.input.charCodeAt(e.position);b(H);)H=e.input.charCodeAt(++e.position);if(H===58)H=e.input.charCodeAt(++e.position),_(H)||D(e,"a whitespace character is expected after the key-value separator within a block mapping"),F&&(te(e,A,x,L,E,null,y,k,r),L=E=M=null),W=!0,F=!1,C=!1,L=e.tag,E=e.result;else if(W)D(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=h,e.anchor=T,!0}else if(W)D(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=h,e.anchor=T,!0}if((e.line===B||e.lineIndent>p)&&(F&&(y=e.line,k=e.lineStart,r=e.position),ue(e,p,d,!0,C)&&(F?E=e.result:M=e.result),F||(te(e,A,x,L,E,M,y,k,r),L=E=M=null),G(e,!0,-1),H=e.input.charCodeAt(e.position)),(e.line===B||e.lineIndent>p)&&H!==0)D(e,"bad indentation of a mapping entry");else if(e.lineIndent<p)break}return F&&te(e,A,x,L,E,null,y,k,r),W&&(e.tag=h,e.anchor=T,e.kind="mapping",e.result=A),W}function Ze(e){let p=!1,w=!1,C,y,k=e.input.charCodeAt(e.position);if(k!==33)return!1;e.tag!==null&&D(e,"duplication of a tag property"),k=e.input.charCodeAt(++e.position),k===60?(p=!0,k=e.input.charCodeAt(++e.position)):k===33?(w=!0,C="!!",k=e.input.charCodeAt(++e.position)):C="!";let r=e.position;if(p){do k=e.input.charCodeAt(++e.position);while(k!==0&&k!==62);e.position<e.length?(y=e.input.slice(r,e.position),k=e.input.charCodeAt(++e.position)):D(e,"unexpected end of the stream within a verbatim tag")}else{for(;k!==0&&!_(k);)k===33&&(w?D(e,"tag suffix cannot contain exclamation marks"):(C=e.input.slice(r-1,e.position+1),g.test(C)||D(e,"named tag handle cannot contain such characters"),w=!0,r=e.position+1)),k=e.input.charCodeAt(++e.position);y=e.input.slice(r,e.position),v.test(y)&&D(e,"tag suffix cannot contain flow indicator characters")}y&&!N.test(y)&&D(e,"tag name cannot contain such characters: "+y);try{y=decodeURIComponent(y)}catch{D(e,"tag name is malformed: "+y)}return p?e.tag=y:o.call(e.tagMap,C)?e.tag=e.tagMap[C]+y:C==="!"?e.tag="!"+y:C==="!!"?e.tag="tag:yaml.org,2002:"+y:D(e,'undeclared tag handle "'+C+'"'),!0}function We(e){let p=e.input.charCodeAt(e.position);if(p!==38)return!1;e.anchor!==null&&D(e,"duplication of an anchor property"),p=e.input.charCodeAt(++e.position);let w=e.position;for(;p!==0&&!_(p)&&!P(p);)p=e.input.charCodeAt(++e.position);return e.position===w&&D(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(w,e.position),!0}function He(e){let p=e.input.charCodeAt(e.position);if(p!==42)return!1;p=e.input.charCodeAt(++e.position);let w=e.position;for(;p!==0&&!_(p)&&!P(p);)p=e.input.charCodeAt(++e.position);e.position===w&&D(e,"name of an alias node must contain at least one character");let C=e.input.slice(w,e.position);return o.call(e.anchorMap,C)||D(e,'unidentified alias "'+C+'"'),e.result=e.anchorMap[C],G(e,!0,-1),!0}function en(e,p,w,C){let y=ve(e);return Xe(e),ye(e,p),e.tag=null,e.anchor=null,e.kind=null,e.result=null,Pe(e,w,C)&&e.kind==="mapping"?(pe(e),!0):(Ve(e),ye(e,y),!1)}function ue(e,p,w,C,y){let k,r,h=1,T=!1,A=!1,x=null,L,E,M;e.depth>=e.maxDepth&&D(e,"nesting exceeded maxDepth ("+e.maxDepth+")"),e.depth+=1,e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let F=k=r=d===w||c===w;if(C&&G(e,!0,-1)&&(T=!0,e.lineIndent>p?h=1:e.lineIndent===p?h=0:e.lineIndent<p&&(h=-1)),h===1)for(;;){let W=e.input.charCodeAt(e.position),H=ve(e);if(T&&(W===33&&e.tag!==null||W===38&&e.anchor!==null)||!Ze(e)&&!We(e))break;x===null&&(x=H),G(e,!0,-1)?(T=!0,r=F,e.lineIndent>p?h=1:e.lineIndent===p?h=0:e.lineIndent<p&&(h=-1)):r=!1}if(r&&(r=T||y),h===1||d===w)if(u===w||f===w?E=p:E=p+1,M=e.position-e.lineStart,h===1)if(r&&(oe(e,M)||Pe(e,M,E))||Me(e,E))A=!0;else{let W=e.input.charCodeAt(e.position);x!==null&&F&&!r&&W!==124&&W!==62&&en(e,x,x.position-x.lineStart,E)||k&&De(e,E)||Re(e,E)||Se(e,E)?A=!0:He(e)?(A=!0,(e.tag!==null||e.anchor!==null)&&D(e,"alias node should not have any properties")):Fe(e,E,u===w)&&(A=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&Z(e,e.anchor,e.result)}else h===0&&(A=r&&oe(e,M));if(e.tag===null)e.anchor!==null&&Z(e,e.anchor,e.result);else if(e.tag==="?"){e.result!==null&&e.kind!=="scalar"&&D(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"');for(let W=0,H=e.implicitTypes.length;W<H;W+=1)if(L=e.implicitTypes[W],L.resolve(e.result)){e.result=L.construct(e.result),e.tag=L.tag,e.anchor!==null&&Z(e,e.anchor,e.result);break}}else if(e.tag!=="!"){if(o.call(e.typeMap[e.kind||"fallback"],e.tag))L=e.typeMap[e.kind||"fallback"][e.tag];else{L=null;let W=e.typeMap.multi[e.kind||"fallback"];for(let H=0,j=W.length;H<j;H+=1)if(e.tag.slice(0,W[H].tag.length)===W[H].tag){L=W[H];break}}L||D(e,"unknown tag !<"+e.tag+">"),e.result!==null&&L.kind!==e.kind&&D(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+L.kind+'", not "'+e.kind+'"'),L.resolve(e.result,e.tag)?(e.result=L.construct(e.result,e.tag),e.anchor!==null&&Z(e,e.anchor,e.result)):D(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.depth-=1,e.tag!==null||e.anchor!==null||A}function nn(e){let p=e.position,w=!1,C;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(C=e.input.charCodeAt(e.position))!==0&&(G(e,!0,-1),C=e.input.charCodeAt(e.position),!(e.lineIndent>0||C!==37));){w=!0,C=e.input.charCodeAt(++e.position);let y=e.position;for(;C!==0&&!_(C);)C=e.input.charCodeAt(++e.position);let k=e.input.slice(y,e.position),r=[];for(k.length<1&&D(e,"directive name must not be less than one character in length");C!==0;){for(;b(C);)C=e.input.charCodeAt(++e.position);if(C===35){do C=e.input.charCodeAt(++e.position);while(C!==0&&!S(C));break}if(S(C))break;for(y=e.position;C!==0&&!_(C);)C=e.input.charCodeAt(++e.position);r.push(e.input.slice(y,e.position))}C!==0&&we(e),o.call(_e,k)?_e[k](e,k,r):ce(e,'unknown document directive "'+k+'"')}if(G(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,G(e,!0,-1)):w&&D(e,"directives end mark is expected"),ue(e,e.lineIndent-1,d,!1,!0),G(e,!0,-1),e.checkLineBreaks&&R.test(e.input.slice(p,e.position))&&ce(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Ae(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,G(e,!0,-1));return}e.position<e.length-1&&D(e,"end of the stream or a document separator is expected")}function qe(e,p){e=String(e),p=p||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=\`
107
+ \`),e.charCodeAt(0)===65279&&(e=e.slice(1)));let w=new z(e,p),C=e.indexOf("\\0");for(C!==-1&&(w.position=C,D(w,"null byte is not allowed in input")),w.input+="\\0";w.input.charCodeAt(w.position)===32;)w.lineIndent+=1,w.position+=1;for(;w.position<w.length-1;)nn(w);return w.documents}function je(e,p,w){p!==null&&typeof p=="object"&&typeof w>"u"&&(w=p,p=null);let C=qe(e,w);if(typeof p!="function")return C;for(let y=0,k=C.length;y<k;y+=1)p(C[y])}function rn(e,p){let w=qe(e,p);if(w.length!==0){if(w.length===1)return w[0];throw new n("expected a single document in the stream, but found more")}}return Je.loadAll=je,Je.load=rn,Je}var Vn={},$i;function Tr(){if($i)return Vn;$i=1;let i=Ie(),n=Oe(),t=Zn(),l=Object.prototype.toString,o=Object.prototype.hasOwnProperty,u=65279,f=9,c=10,d=13,s=32,a=33,m=34,I=35,R=37,v=38,g=39,N=42,O=44,S=45,b=58,_=61,P=62,U=63,q=64,Y=91,J=93,re=96,ie=123,me=124,X=125,z={};z[0]="\\\\0",z[7]="\\\\a",z[8]="\\\\b",z[9]="\\\\t",z[10]="\\\\n",z[11]="\\\\v",z[12]="\\\\f",z[13]="\\\\r",z[27]="\\\\e",z[34]='\\\\"',z[92]="\\\\\\\\",z[133]="\\\\N",z[160]="\\\\_",z[8232]="\\\\L",z[8233]="\\\\P";let ge=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],D=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\\.[0-9_]*)?$/;function ce(r,h){if(h===null)return{};let T={},A=Object.keys(h);for(let x=0,L=A.length;x<L;x+=1){let E=A[x],M=String(h[E]);E.slice(0,2)==="!!"&&(E="tag:yaml.org,2002:"+E.slice(2));let F=r.compiledTypeMap.fallback[E];F&&o.call(F.styleAliases,M)&&(M=F.styleAliases[M]),T[E]=M}return T}function Z(r){let h,T,A=r.toString(16).toUpperCase();if(r<=255)h="x",T=2;else if(r<=65535)h="u",T=4;else if(r<=4294967295)h="U",T=8;else throw new n("code point within a string may not be greater than 0xFFFFFFFF");return"\\\\"+h+i.repeat("0",T-A.length)+A}let Xe=1,pe=2;function Ve(r){this.schema=r.schema||t,this.indent=Math.max(1,r.indent||2),this.noArrayIndent=r.noArrayIndent||!1,this.skipInvalid=r.skipInvalid||!1,this.flowLevel=i.isNothing(r.flowLevel)?-1:r.flowLevel,this.styleMap=ce(this.schema,r.styles||null),this.sortKeys=r.sortKeys||!1,this.lineWidth=r.lineWidth||80,this.noRefs=r.noRefs||!1,this.noCompatMode=r.noCompatMode||!1,this.condenseFlow=r.condenseFlow||!1,this.quotingType=r.quotingType==='"'?pe:Xe,this.forceQuotes=r.forceQuotes||!1,this.replacer=typeof r.replacer=="function"?r.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function ve(r,h){let T=i.repeat(" ",h),A=0,x="",L=r.length;for(;A<L;){let E,M=r.indexOf(\`
108
+ \`,A);M===-1?(E=r.slice(A),A=L):(E=r.slice(A,M+1),A=M+1),E.length&&E!==\`
109
+ \`&&(x+=T),x+=E}return x}function ye(r,h){return\`
110
+ \`+i.repeat(" ",r.indent*h)}function _e(r,h){for(let T=0,A=r.implicitTypes.length;T<A;T+=1)if(r.implicitTypes[T].resolve(h))return!0;return!1}function V(r){return r===s||r===f}function se(r){return r>=32&&r<=126||r>=161&&r<=55295&&r!==8232&&r!==8233||r>=57344&&r<=65533&&r!==u||r>=65536&&r<=1114111}function te(r){return se(r)&&r!==u&&r!==d&&r!==c}function we(r,h,T){let A=te(r),x=A&&!V(r);return(T?A:A&&r!==O&&r!==Y&&r!==J&&r!==ie&&r!==X)&&r!==I&&!(h===b&&!x)||te(h)&&!V(h)&&r===I||h===b&&x}function G(r){return se(r)&&r!==u&&!V(r)&&r!==S&&r!==U&&r!==b&&r!==O&&r!==Y&&r!==J&&r!==ie&&r!==X&&r!==I&&r!==v&&r!==N&&r!==a&&r!==me&&r!==_&&r!==P&&r!==g&&r!==m&&r!==R&&r!==q&&r!==re}function Ae(r){return!V(r)&&r!==b}function le(r,h){let T=r.charCodeAt(h),A;return T>=55296&&T<=56319&&h+1<r.length&&(A=r.charCodeAt(h+1),A>=56320&&A<=57343)?(T-55296)*1024+A-56320+65536:T}function Fe(r){return/^\\n* /.test(r)}let Re=1,Se=2,Me=3,De=4,oe=5;function Pe(r,h,T,A,x,L,E,M){let F,W=0,H=null,j=!1,B=!1,ii=A!==-1,be=-1,Ee=G(le(r,0))&&Ae(le(r,r.length-1));if(h||E)for(F=0;F<r.length;W>=65536?F+=2:F++){if(W=le(r,F),!se(W))return oe;Ee=Ee&&we(W,H,M),H=W}else{for(F=0;F<r.length;W>=65536?F+=2:F++){if(W=le(r,F),W===c)j=!0,ii&&(B=B||F-be-1>A&&r[be+1]!==" ",be=F);else if(!se(W))return oe;Ee=Ee&&we(W,H,M),H=W}B=B||ii&&F-be-1>A&&r[be+1]!==" "}return!j&&!B?Ee&&!E&&!x(r)?Re:L===pe?oe:Se:T>9&&Fe(r)?oe:E?L===pe?oe:Se:B?De:Me}function Ze(r,h,T,A,x){r.dump=(function(){if(h.length===0)return r.quotingType===pe?'""':"''";if(!r.noCompatMode&&(ge.indexOf(h)!==-1||D.test(h)))return r.quotingType===pe?'"'+h+'"':"'"+h+"'";let L=r.indent*Math.max(1,T),E=r.lineWidth===-1?-1:Math.max(Math.min(r.lineWidth,40),r.lineWidth-L),M=A||r.flowLevel>-1&&T>=r.flowLevel;function F(W){return _e(r,W)}switch(Pe(h,M,r.indent,E,F,r.quotingType,r.forceQuotes&&!A,x)){case Re:return h;case Se:return"'"+h.replace(/'/g,"''")+"'";case Me:return"|"+We(h,r.indent)+He(ve(h,L));case De:return">"+We(h,r.indent)+He(ve(en(h,E),L));case oe:return'"'+nn(h)+'"';default:throw new n("impossible error: invalid scalar style")}})()}function We(r,h){let T=Fe(r)?String(h):"",A=r[r.length-1]===\`
111
+ \`,L=A&&(r[r.length-2]===\`
112
+ \`||r===\`
113
+ \`)?"+":A?"":"-";return T+L+\`
114
+ \`}function He(r){return r[r.length-1]===\`
115
+ \`?r.slice(0,-1):r}function en(r,h){let T=/(\\n+)([^\\n]*)/g,A=(function(){let M=r.indexOf(\`
116
+ \`);return M=M!==-1?M:r.length,T.lastIndex=M,ue(r.slice(0,M),h)})(),x=r[0]===\`
117
+ \`||r[0]===" ",L,E;for(;E=T.exec(r);){let M=E[1],F=E[2];L=F[0]===" ",A+=M+(!x&&!L&&F!==""?\`
118
+ \`:"")+ue(F,h),x=L}return A}function ue(r,h){if(r===""||r[0]===" ")return r;let T=/ [^ ]/g,A,x=0,L,E=0,M=0,F="";for(;A=T.exec(r);)M=A.index,M-x>h&&(L=E>x?E:M,F+=\`
119
+ \`+r.slice(x,L),x=L+1),E=M;return F+=\`
120
+ \`,r.length-x>h&&E>x?F+=r.slice(x,E)+\`
121
+ \`+r.slice(E+1):F+=r.slice(x),F.slice(1)}function nn(r){let h="",T=0;for(let A=0;A<r.length;T>=65536?A+=2:A++){T=le(r,A);let x=z[T];!x&&se(T)?(h+=r[A],T>=65536&&(h+=r[A+1])):h+=x||Z(T)}return h}function qe(r,h,T){let A="",x=r.tag;for(let L=0,E=T.length;L<E;L+=1){let M=T[L];r.replacer&&(M=r.replacer.call(T,String(L),M)),(w(r,h,M,!1,!1)||typeof M>"u"&&w(r,h,null,!1,!1))&&(A!==""&&(A+=","+(r.condenseFlow?"":" ")),A+=r.dump)}r.tag=x,r.dump="["+A+"]"}function je(r,h,T,A){let x="",L=r.tag;for(let E=0,M=T.length;E<M;E+=1){let F=T[E];r.replacer&&(F=r.replacer.call(T,String(E),F)),(w(r,h+1,F,!0,!0,!1,!0)||typeof F>"u"&&w(r,h+1,null,!0,!0,!1,!0))&&((!A||x!=="")&&(x+=ye(r,h)),r.dump&&c===r.dump.charCodeAt(0)?x+="-":x+="- ",x+=r.dump)}r.tag=L,r.dump=x||"[]"}function rn(r,h,T){let A="",x=r.tag,L=Object.keys(T);for(let E=0,M=L.length;E<M;E+=1){let F="";A!==""&&(F+=", "),r.condenseFlow&&(F+='"');let W=L[E],H=T[W];r.replacer&&(H=r.replacer.call(T,W,H)),w(r,h,W,!1,!1)&&(r.dump.length>1024&&(F+="? "),F+=r.dump+(r.condenseFlow?'"':"")+":"+(r.condenseFlow?"":" "),w(r,h,H,!1,!1)&&(F+=r.dump,A+=F))}r.tag=x,r.dump="{"+A+"}"}function e(r,h,T,A){let x="",L=r.tag,E=Object.keys(T);if(r.sortKeys===!0)E.sort();else if(typeof r.sortKeys=="function")E.sort(r.sortKeys);else if(r.sortKeys)throw new n("sortKeys must be a boolean or a function");for(let M=0,F=E.length;M<F;M+=1){let W="";(!A||x!=="")&&(W+=ye(r,h));let H=E[M],j=T[H];if(r.replacer&&(j=r.replacer.call(T,H,j)),!w(r,h+1,H,!0,!0,!0))continue;let B=r.tag!==null&&r.tag!=="?"||r.dump&&r.dump.length>1024;B&&(r.dump&&c===r.dump.charCodeAt(0)?W+="?":W+="? "),W+=r.dump,B&&(W+=ye(r,h)),w(r,h+1,j,!0,B)&&(r.dump&&c===r.dump.charCodeAt(0)?W+=":":W+=": ",W+=r.dump,x+=W)}r.tag=L,r.dump=x||"{}"}function p(r,h,T){let A=T?r.explicitTypes:r.implicitTypes;for(let x=0,L=A.length;x<L;x+=1){let E=A[x];if((E.instanceOf||E.predicate)&&(!E.instanceOf||typeof h=="object"&&h instanceof E.instanceOf)&&(!E.predicate||E.predicate(h))){if(T?E.multi&&E.representName?r.tag=E.representName(h):r.tag=E.tag:r.tag="?",E.represent){let M=r.styleMap[E.tag]||E.defaultStyle,F;if(l.call(E.represent)==="[object Function]")F=E.represent(h,M);else if(o.call(E.represent,M))F=E.represent[M](h,M);else throw new n("!<"+E.tag+'> tag resolver accepts not "'+M+'" style');r.dump=F}return!0}}return!1}function w(r,h,T,A,x,L,E){r.tag=null,r.dump=T,p(r,T,!1)||p(r,T,!0);let M=l.call(r.dump),F=A;A&&(A=r.flowLevel<0||r.flowLevel>h);let W=M==="[object Object]"||M==="[object Array]",H,j;if(W&&(H=r.duplicates.indexOf(T),j=H!==-1),(r.tag!==null&&r.tag!=="?"||j||r.indent!==2&&h>0)&&(x=!1),j&&r.usedDuplicates[H])r.dump="*ref_"+H;else{if(W&&j&&!r.usedDuplicates[H]&&(r.usedDuplicates[H]=!0),M==="[object Object]")A&&Object.keys(r.dump).length!==0?(e(r,h,r.dump,x),j&&(r.dump="&ref_"+H+r.dump)):(rn(r,h,r.dump),j&&(r.dump="&ref_"+H+" "+r.dump));else if(M==="[object Array]")A&&r.dump.length!==0?(r.noArrayIndent&&!E&&h>0?je(r,h-1,r.dump,x):je(r,h,r.dump,x),j&&(r.dump="&ref_"+H+r.dump)):(qe(r,h,r.dump),j&&(r.dump="&ref_"+H+" "+r.dump));else if(M==="[object String]")r.tag!=="?"&&Ze(r,r.dump,h,L,F);else{if(M==="[object Undefined]")return!1;if(r.skipInvalid)return!1;throw new n("unacceptable kind of an object to dump "+M)}if(r.tag!==null&&r.tag!=="?"){let B=encodeURI(r.tag[0]==="!"?r.tag.slice(1):r.tag).replace(/!/g,"%21");r.tag[0]==="!"?B="!"+B:B.slice(0,18)==="tag:yaml.org,2002:"?B="!!"+B.slice(18):B="!<"+B+">",r.dump=B+" "+r.dump}}return!0}function C(r,h){let T=[],A=[];y(r,T,A);let x=A.length;for(let L=0;L<x;L+=1)h.duplicates.push(T[A[L]]);h.usedDuplicates=new Array(x)}function y(r,h,T){if(r!==null&&typeof r=="object"){let A=h.indexOf(r);if(A!==-1)T.indexOf(A)===-1&&T.push(A);else if(h.push(r),Array.isArray(r))for(let x=0,L=r.length;x<L;x+=1)y(r[x],h,T);else{let x=Object.keys(r);for(let L=0,E=x.length;L<E;L+=1)y(r[x[L]],h,T)}}}function k(r,h){h=h||{};let T=new Ve(h);T.noRefs||C(r,T);let A=r;return T.replacer&&(A=T.replacer.call({"":A},"",A)),w(T,0,A,!0,!0)?T.dump+\`
122
+ \`:""}return Vn.dump=k,Vn}var Ki;function Lr(){if(Ki)return K;Ki=1;let i=Er(),n=Tr();function t(l,o){return function(){throw new Error("Function yaml."+l+" is removed in js-yaml 4. Use yaml."+o+" instead, which is now safe by default.")}}return K.Type=Q(),K.Schema=Ji(),K.FAILSAFE_SCHEMA=Zi(),K.JSON_SCHEMA=tr(),K.CORE_SCHEMA=lr(),K.DEFAULT_SCHEMA=Zn(),K.load=i.load,K.loadAll=i.loadAll,K.dump=n.dump,K.YAMLException=Oe(),K.types={binary:fr(),float:rr(),map:Vi(),null:er(),pairs:sr(),set:ar(),timestamp:or(),bool:nr(),int:ir(),merge:ur(),omap:cr(),seq:Xi(),str:Qi()},K.safeLoad=t("safeLoad","load"),K.safeLoadAll=t("safeLoadAll","loadAll"),K.safeDump=t("safeDump","dump"),K}var kr=Lr(),Nr=Sr(kr),{Type:Rt,Schema:Mt,FAILSAFE_SCHEMA:Dt,JSON_SCHEMA:Pt,CORE_SCHEMA:Wt,DEFAULT_SCHEMA:Ht,load:ei,loadAll:qt,dump:Qe,YAMLException:jt,types:Yt,safeLoad:Ut,safeLoadAll:Bt,safeDump:Gt}=Nr;var Or=In;function ne(i,n){return n==="yaml"?Qe(i,{indent:2,lineWidth:-1,noRefs:!0}).trimEnd():JSON.stringify(i,null,2)}function _r(i,n,t="json"){let l=ne(i,t),o=ne(n,t);return l===o?[{value:l}]:ni(i,n,0,t)}function Fr(i,n){return _r(i,n,"json")}function Rr(i,n){try{let t=JSON.parse(i),l=JSON.parse(n),o=JSON.stringify(t),u=JSON.stringify(l);return o===u?[{value:i}]:ee(i,n,{newlineIsToken:!1})}catch{return ee(i,n,{newlineIsToken:!1})}}function Mr(i,n){let t=ei(i),l=ei(n),o=Qe(t,{indent:2,lineWidth:-1,noRefs:!0}),u=Qe(l,{indent:2,lineWidth:-1,noRefs:!0});return o===u?[{value:i}]:ee(i,n,{newlineIsToken:!1})}function ni(i,n,t,l="json"){let o=ne(i,l),u=ne(n,l);return o===u?[{value:fe(o,t,l)}]:typeof i=="object"&&i!==null&&typeof n=="object"&&n!==null&&!Array.isArray(i)&&!Array.isArray(n)?Dr(i,n,t,l):Array.isArray(i)&&Array.isArray(n)?Pr(i,n,t,l):Wr(o,u,t,l)}function Dr(i,n,t,l="json"){let o=[],u=" ".repeat(t),f=" ".repeat(t+1),c=new Set(Object.keys(i)),d=Object.keys(n),s=[...c].filter(m=>!(m in n)),a=[...d,...s];o.push({value:\`{
123
+ \`});for(let m=0;m<a.length;m++){let I=a[m],v=m===a.length-1?"":",",g=I in i,N=I in n;if(g&&N){let O=ne(i[I],l),S=ne(n[I],l);if(O===S){let b=fe(O,t+1);o.push({value:f+JSON.stringify(I)+": "+b+v+\`
124
+ \`})}else{let b=f+JSON.stringify(I)+": ",_=ni(i[I],n[I],t+1,l);if(_.length>0)if(!_[0].removed&&!_[0].added)_[0].value=b+_[0].value;else{let P=_.find(q=>q.removed),U=_.find(q=>q.added);P&&(P.value=b+P.value),U&&(U.value=b+U.value)}if(v&&_.length>0){let P=_[_.length-1];P.value=P.value.replace(/\\n$/,v+\`
125
+ \`)}o.push(..._)}}else if(g){let O=fe(ne(i[I],l),t+1);o.push({removed:!0,value:f+JSON.stringify(I)+": "+O+v+\`
126
+ \`})}else{let O=fe(ne(n[I],l),t+1);o.push({added:!0,value:f+JSON.stringify(I)+": "+O+v+\`
127
+ \`})}}return o.push({value:u+\`}
128
+ \`}),o}function Pr(i,n,t,l="json"){let o=[],u=" ".repeat(t),f=" ".repeat(t+1);o.push({value:\`[
129
+ \`});let c=Math.max(i.length,n.length);for(let d=0;d<c;d++){let a=d===c-1?"":",";if(d>=i.length){let m=fe(ne(n[d],l),t+1);o.push({added:!0,value:f+m+a+\`
130
+ \`})}else if(d>=n.length){let m=fe(ne(i[d],l),t+1);o.push({removed:!0,value:f+m+a+\`
131
+ \`})}else{let m=ne(i[d],l),I=ne(n[d],l);if(m===I){let R=fe(m,t+1);o.push({value:f+R+a+\`
132
+ \`})}else{let R=ni(i[d],n[d],t+1,l);if(R.length>0&&(R[0].value=f+R[0].value),a&&R.length>0){let v=R[R.length-1];v.value=v.value.replace(/\\n$/,a+\`
133
+ \`)}o.push(...R)}}}return o.push({value:u+\`]
134
+ \`}),o}function Wr(i,n,t,l="json"){let o=fe(i,t),u=fe(n,t);return ee(o,u).map(c=>({value:c.value,added:c.added,removed:c.removed}))}function fe(i,n,t="json"){if(n===0)return i;let l=" ".repeat(n);return i.split(\`
135
+ \`).map((o,u)=>u===0?o:l+o).join(\`
136
+ \`)}var dr=i=>i===""?[]:i.replace(/\\n$/,"").split(\`
137
+ \`),Hr=(i,n,t="diffChars")=>{let o=(typeof t=="string"?Or[t]:t)(i,n),u={left:[],right:[]};return o.forEach(({added:f,removed:c,value:d})=>{if(f)u.right.push({type:1,value:d});else if(c)u.left.push({type:2,value:d});else{let s={type:0,value:d};u.right.push(s),u.left.push(s)}}),u},pr=(i,n,t=!1,l="diffChars",o=0,u=[],f=!1)=>{let c=[];if(typeof i=="string"&&typeof n=="string")if(l==="diffJson")c=Rr(i,n);else if(l==="diffYaml")try{c=Mr(i,n)}catch{c=ee(i,n,{newlineIsToken:!1})}else c=ee(i,n,{newlineIsToken:!1});else c=Fr(i,n);let d=o,s=o,a=[],m=0,I=[],R=[],v=(g,N,O,S,b)=>dr(g).map((P,U)=>{let q={},Y={};if(!(R.includes(\`\${N}-\${U}\`)||b&&U!==0)){if(O||S){let J=!0;if(S){s+=1,q.lineNumber=s,q.type=2,q.value=P||" ";let re=c[N+1];if(re?.added){let ie=dr(re.value)[U];if(ie){let me=v(ie,N,!0,!1,!0),{value:X,lineNumber:z,type:ge}=me[0].right;if(R.push(\`\${N+1}-\${U}\`),Y.lineNumber=z,q.value===X)J=!1,Y.type=0,q.type=0,Y.value=X;else{Y.type=ge;let D=500,ce=P.length>D||X.length>D;if(t||ce)Y.value=X;else if(f)q.rawValue=P,q.value=P,Y.rawValue=X,Y.value=X;else{let Z=Hr(P,X,l);Y.value=Z.right,q.value=Z.left}}}}}else d+=1,Y.lineNumber=d,Y.type=1,Y.value=P;J&&!b&&(I.includes(m)||I.push(m))}else s+=1,d+=1,q.lineNumber=s,q.type=0,q.value=P,Y.lineNumber=d,Y.type=0,Y.value=P;return(u?.includes(\`L-\${q.lineNumber}\`)||u?.includes(\`R-\${Y.lineNumber}\`)&&!I.includes(m))&&I.push(m),b||(m+=1),{right:Y,left:q}}}).filter(P=>P!=null);return c.forEach(({added:g,removed:N,value:O},S)=>{a=[...a,...v(O,S,g,N)]}),{lineInformation:a,diffLines:I}};self.onmessage=i=>{let{oldString:n,newString:t,disableWordDiff:l,lineCompareMethod:o,linesOffset:u,showLines:f,deferWordDiff:c}=i.data,d=pr(n,t,l,o,u,f,c);self.postMessage(d)};})();
138
+ `;export{f as a,se as i,Sa as n,u as o,pe as r,i as s,co as t};