tocco-admin 3.16.62 → 3.16.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +5 -0
- package/dist/chunk-45200.3c7d5784a5f2f9fb30b8.js +6 -0
- package/dist/chunk-55348.c0877e03ae7238dd017f.js +1 -0
- package/dist/chunk-61477.e2a285a041744da3c4f6.js +1 -0
- package/dist/chunk-72969.1971e80bd998e7416e0c.js +19 -0
- package/dist/chunk-75480.269307e6f2c9811bf5b1.js +1 -0
- package/dist/chunk-80466.92b41f37855f8e49f159.js +1 -0
- package/dist/chunk-86330.747bac3369e1407b3384.js +1 -0
- package/dist/chunk-vendor-icons.30d017abbb317fcc4709.js +1 -0
- package/dist/index.js +11 -11
- package/package.json +1 -1
- package/dist/chunk-39643.72825666a00f06e6a376.js +0 -1
- package/dist/chunk-55348.791ff277d1b62ebf493a.js +0 -1
- package/dist/chunk-63659.1c034f19e5cb1b3bb845.js +0 -6
- package/dist/chunk-72969.d4cb6c9e32c1eb5eedda.js +0 -19
- package/dist/chunk-vendor-icons.3a40ac0b7a832493eb75.js +0 -1
package/changelog.md
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[45200],{46942(e,t){var n;
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},45200(e,t,n){"use strict";n.r(t),n.d(t,{DiffMethod:()=>Ut,LineNumberPrefix:()=>ar,computeStyles:()=>Si,default:()=>ur,defaultDarkHighlightTheme:()=>Ki,defaultDarkThemeVariables:()=>Ai,defaultLightHighlightTheme:()=>Ji,defaultLightThemeVariables:()=>Ci});var i={};n.r(i),n.d(i,{Diff:()=>a,FILE_HEADERS_ONLY:()=>Q,INCLUDE_HEADERS:()=>Z,OMIT_HEADERS:()=>X,applyPatch:()=>U,applyPatches:()=>q,arrayDiff:()=>V,canonicalize:()=>B,characterDiff:()=>c,convertChangesToDMP:()=>oe,convertChangesToXML:()=>se,createPatch:()=>ie,createTwoFilesPatch:()=>ne,cssDiff:()=>M,diffArrays:()=>$,diffChars:()=>u,diffCss:()=>R,diffJson:()=>W,diffLines:()=>E,diffSentences:()=>F,diffTrimmedLines:()=>L,diffWords:()=>S,diffWordsWithSpace:()=>N,formatPatch:()=>te,jsonDiff:()=>H,lineDiff:()=>O,parsePatch:()=>_,reversePatch:()=>J,sentenceDiff:()=>I,structuredPatch:()=>ee,wordDiff:()=>A,wordsWithSpaceDiff:()=>T});var r=n(74848),o=n(46942),s=n(4883),l=n(41811);class a{diff(e,t,n={}){let i;"function"==typeof n?(i=n,n={}):"callback"in n&&(i=n.callback);const r=this.castInput(e,n),o=this.castInput(t,n),s=this.removeEmpty(this.tokenize(r,n)),l=this.removeEmpty(this.tokenize(o,n));return this.diffWithOptionsObj(s,l,n,i)}diffWithOptionsObj(e,t,n,i){var r;const o=e=>(e=this.postProcess(e,n),i?void setTimeout((function(){i(e)}),0):e),s=t.length,l=e.length;let a=1,c=s+l;null!=n.maxEditLength&&(c=Math.min(c,n.maxEditLength));const u=null!==(r=n.timeout)&&void 0!==r?r:1/0,d=Date.now()+u,f=[{oldPos:-1,lastComponent:void 0}];let h=this.extractCommon(f[0],t,e,0,n);if(f[0].oldPos+1>=l&&h+1>=s)return o(this.buildValues(f[0].lastComponent,t,e));let p=-1/0,g=1/0;const m=()=>{for(let i=Math.max(p,-a);i<=Math.min(g,a);i+=2){let r;const a=f[i-1],c=f[i+1];a&&(f[i-1]=void 0);let u=!1;if(c){const e=c.oldPos-i;u=c&&0<=e&&e<s}const d=a&&a.oldPos+1<l;if(u||d){if(r=!d||u&&a.oldPos<c.oldPos?this.addToPath(c,!0,!1,0,n):this.addToPath(a,!1,!0,1,n),h=this.extractCommon(r,t,e,i,n),r.oldPos+1>=l&&h+1>=s)return o(this.buildValues(r.lastComponent,t,e))||!0;f[i]=r,r.oldPos+1>=l&&(g=Math.min(g,i-1)),h+1>=s&&(p=Math.max(p,i+1))}else f[i]=void 0}a++};if(i)!function e(){setTimeout((function(){if(a>c||Date.now()>d)return i(void 0);m()||e()}),0)}();else for(;a<=c&&Date.now()<=d;){const e=m();if(e)return e}}addToPath(e,t,n,i,r){const o=e.lastComponent;return o&&!r.oneChangePerToken&&o.added===t&&o.removed===n?{oldPos:e.oldPos+i,lastComponent:{count:o.count+1,added:t,removed:n,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+i,lastComponent:{count:1,added:t,removed:n,previousComponent:o}}}extractCommon(e,t,n,i,r){const o=t.length,s=n.length;let l=e.oldPos,a=l-i,c=0;for(;a+1<o&&l+1<s&&this.equals(n[l+1],t[a+1],r);)a++,l++,c++,r.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return c&&!r.oneChangePerToken&&(e.lastComponent={count:c,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=l,a}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){const 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){const i=[];let r;for(;e;)i.push(e),r=e.previousComponent,delete e.previousComponent,e=r;i.reverse();const o=i.length;let s=0,l=0,a=0;for(;s<o;s++){const e=i[s];if(e.removed)e.value=this.join(n.slice(a,a+e.count)),a+=e.count;else{if(!e.added&&this.useLongestToken){let i=t.slice(l,l+e.count);i=i.map((function(e,t){const i=n[a+t];return i.length>e.length?i:e})),e.value=this.join(i)}else e.value=this.join(t.slice(l,l+e.count));l+=e.count,e.added||(a+=e.count)}}return i}}const c=new class extends a{};function u(e,t,n){return c.diff(e,t,n)}function d(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function f(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 h(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 p(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 g(e,t){return h(e,t,"")}function m(e,t){return p(e,t,"")}function y(e,t){return t.slice(0,function(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let i=t.length;e.length<t.length&&(i=e.length);const r=Array(i);let o=0;r[0]=0;for(let e=1;e<i;e++){for(t[e]==t[o]?r[e]=r[o]:r[e]=o;o>0&&t[e]!=t[o];)o=r[o];t[e]==t[o]&&o++}o=0;for(let i=n;i<e.length;i++){for(;o>0&&e[i]!=t[o];)o=r[o];e[i]==t[o]&&o++}return o}(e,t))}function b(e,t){const n=[];for(const i of Array.from(t.segment(e))){const e=i.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}return n}function v(e,t){if(t)return x(e,t)[1];let n;for(n=e.length-1;n>=0&&e[n].match(/\s/);n--);return e.substring(n+1)}function w(e,t){if(t)return x(e,t)[0];const n=e.match(/^\s*/);return n?n[0]:""}function x(e,t){if(!t)return[w(e),v(e)];if("word"!=t.resolvedOptions().granularity)throw new Error('The segmenter passed must have a granularity of "word"');const n=b(e,t),i=n[0],r=n[n.length-1];return[/\s/.test(i)?i:"",/\s/.test(r)?r:""]}const k="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}",C=new RegExp(`[${k}]+|\\s+|[^${k}]`,"ug");const A=new class extends a{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){const i=t.intlSegmenter;if("word"!=i.resolvedOptions().granularity)throw new Error('The segmenter passed must have a granularity of "word"');n=b(e,i)}else n=e.match(C)||[];const i=[];let r=null;return n.forEach((e=>{/\s/.test(e)?null==r?i.push(e):i.push(i.pop()+e):null!=r&&/\s/.test(r)?i[i.length-1]==r?i.push(i.pop()+e):i.push(r+e):i.push(e),r=e})),i}join(e){return e.map(((e,t)=>0==t?e:e.replace(/^\s+/,""))).join("")}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,i=null,r=null;return e.forEach((e=>{e.added?i=e:e.removed?r=e:((i||r)&&j(n,r,i,e,t.intlSegmenter),n=e,i=null,r=null)})),(i||r)&&j(n,r,i,null,t.intlSegmenter),e}};function S(e,t,n){return null==(null==n?void 0:n.ignoreWhitespace)||n.ignoreWhitespace?A.diff(e,t,n):N(e,t,n)}function j(e,t,n,i,r){if(t&&n){const[o,s]=x(t.value,r),[l,a]=x(n.value,r);if(e){const i=d(o,l);e.value=p(e.value,l,i),t.value=g(t.value,i),n.value=g(n.value,i)}if(i){const e=f(s,a);i.value=h(i.value,a,e),t.value=m(t.value,e),n.value=m(n.value,e)}}else if(n){if(e){const e=w(n.value,r);n.value=n.value.substring(e.length)}if(i){const e=w(i.value,r);i.value=i.value.substring(e.length)}}else if(e&&i){const n=w(i.value,r),[o,s]=x(t.value,r),l=d(n,o);t.value=g(t.value,l);const a=f(g(n,l),s);t.value=m(t.value,a),i.value=h(i.value,n,a),e.value=p(e.value,n,n.slice(0,n.length-a.length))}else if(i){const e=w(i.value,r),n=y(v(t.value,r),e);t.value=m(t.value,n)}else if(e){const n=y(v(e.value,r),w(t.value,r));t.value=g(t.value,n)}}const T=new class extends a{tokenize(e){const t=new RegExp(`(\\r?\\n)|[${k}]+|[^\\S\\n\\r]+|[^${k}]`,"ug");return e.match(t)||[]}};function N(e,t,n){return T.diff(e,t,n)}const O=new class extends a{constructor(){super(...arguments),this.tokenize=D}equals(e,t,n){return n.ignoreWhitespace?(n.newlineIsToken&&e.includes("\n")||(e=e.trim()),n.newlineIsToken&&t.includes("\n")||(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith("\n")&&(e=e.slice(0,-1)),t.endsWith("\n")&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function E(e,t,n){return O.diff(e,t,n)}function L(e,t,n){return n=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}(n,{ignoreWhitespace:!0}),O.diff(e,t,n)}function D(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));const n=[],i=e.split(/(\n|\r\n)/);i[i.length-1]||i.pop();for(let e=0;e<i.length;e++){const r=i[e];e%2&&!t.newlineIsToken?n[n.length-1]+=r:n.push(r)}return n}const I=new class extends a{tokenize(e){var t;const n=[];let i=0;for(let o=0;o<e.length;o++){if(o==e.length-1){n.push(e.slice(i));break}if(("."==(r=e[o])||"!"==r||"?"==r)&&e[o+1].match(/\s/)){for(n.push(e.slice(i,o+1)),o=i=o+1;null===(t=e[o+1])||void 0===t?void 0:t.match(/\s/);)o++;n.push(e.slice(i,o+1)),i=o+1}}var r;return n}};function F(e,t,n){return I.diff(e,t,n)}const M=new class extends a{tokenize(e){return e.split(/([{}:;,]|\s+)/)}};function R(e,t,n){return M.diff(e,t,n)}const H=new class extends a{constructor(){super(...arguments),this.tokenize=D}get useLongestToken(){return!0}castInput(e,t){const{undefinedReplacement:n,stringifyReplacer:i=(e,t)=>void 0===t?n:t}=t;return"string"==typeof e?e:JSON.stringify(B(e,null,null,i),null," ")}equals(e,t,n){return super.equals(e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"),n)}};function W(e,t,n){return H.diff(e,t,n)}function B(e,t,n,i,r){let o,s;for(t=t||[],n=n||[],i&&(e=i(void 0===r?"":r,e)),o=0;o<t.length;o+=1)if(t[o]===e)return n[o];if("[object Array]"===Object.prototype.toString.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),o=0;o<e.length;o+=1)s[o]=B(e[o],t,n,i,String(o));return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"==typeof e&&null!==e){t.push(e),s={},n.push(s);const r=[];let l;for(l in e)Object.prototype.hasOwnProperty.call(e,l)&&r.push(l);for(r.sort(),o=0;o<r.length;o+=1)l=r[o],s[l]=B(e[l],t,n,i,l);t.pop(),n.pop()}else s=e;return s}const V=new class extends a{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}};function $(e,t,n){return V.diff(e,t,n)}function P(e){return Array.isArray(e)?e.map((e=>P(e))):Object.assign(Object.assign({},e),{hunks:e.hunks.map((e=>Object.assign(Object.assign({},e),{lines:e.lines.map(((t,n)=>{var i;return t.startsWith("\\")||t.endsWith("\r")||(null===(i=e.lines[n+1])||void 0===i?void 0:i.startsWith("\\"))?t:t+"\r"}))})))})}function G(e){return Array.isArray(e)?e.map((e=>G(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 _(e){const t=e.split(/\n/),n=[];let i=0;function r(e){return/^diff --git /.test(e)}function o(e){return r(e)||/^Index:\s/.test(e)||/^diff(?: -r \w+)+\s/.test(e)}function s(e){return/^(---|\+\+\+)\s/.test(e)}function l(e){return/^@@\s/.test(e)}function a(){var e;const a={hunks:[]};n.push(a);let d=!1;for(;i<t.length;){const e=t[i];if(s(e)||l(e))break;if(r(e)){if(d)return;d=!0,a.isGit=!0;const n=c(e);for(n&&(a.oldFileName=n.oldFileName,a.newFileName=n.newFileName),i++;i<t.length;){const e=t[i];if(s(e)||l(e)||o(e))break;const n=/^rename from (.*)/.exec(e);n&&(a.oldFileName="a/"+u(n[1]),a.isRename=!0);const r=/^rename to (.*)/.exec(e);r&&(a.newFileName="b/"+u(r[1]),a.isRename=!0);const c=/^copy from (.*)/.exec(e);c&&(a.oldFileName="a/"+u(c[1]),a.isCopy=!0);const d=/^copy to (.*)/.exec(e);d&&(a.newFileName="b/"+u(d[1]),a.isCopy=!0);const f=/^new file mode (\d+)/.exec(e);f&&(a.isCreate=!0,a.newMode=f[1]);const h=/^deleted file mode (\d+)/.exec(e);h&&(a.isDelete=!0,a.oldMode=h[1]);const p=/^old mode (\d+)/.exec(e);p&&(a.oldMode=p[1]);const g=/^new mode (\d+)/.exec(e);g&&(a.newMode=g[1]),/^Binary files /.test(e)&&(a.isBinary=!0),i++}}else{if(o(e)){if(d)return;d=!0;const t=/^(?:Index:|diff(?: -r \w+)+)\s+/.exec(e);t&&(a.index=e.substring(t[0].length).trim())}i++}}if(f(a),f(a),void 0===a.oldFileName!=(void 0===a.newFileName))throw new Error("Missing "+(void 0!==a.oldFileName?'"+++ ..."':'"--- ..."')+" file header for "+(null!==(e=a.oldFileName)&&void 0!==e?e:a.newFileName));for(;i<t.length;){const e=t[i];if(o(e)||s(e)||/^===================================================================/.test(e))break;l(e)?a.hunks.push(h()):i++}}function c(e){const t=e.substring(11);if(t.startsWith('"')){const e=d(t);if(null===e)return null;const n=t.substring(e.rawLength+1);let i;if(n.startsWith('"')){const e=d(n);if(null===e)return null;i=e.fileName}else i=n;return{oldFileName:e.fileName,newFileName:i}}const n=t.indexOf('"');if(n>0){const e=t.substring(0,n-1),i=d(t.substring(n));return null===i?null:{oldFileName:e,newFileName:i.fileName}}if(t.startsWith("a/")){const e=[];let n=0;for(;n=t.indexOf(" b/",n+1),-1!==n;)e.push(n);if(e.length>0){const 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('"')){const 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+="";break;case"b":t+="\b";break;case"f":t+="\f";break;case"n":t+="\n";break;case"r":t+="\r";break;case"t":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;const i=[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;i.push(parseInt(e.substring(n+1,n+4),8)),n+=4}t+=new TextDecoder("utf-8").decode(new Uint8Array(i));continue}default:return null}else t+=e[n];n++}return null}function f(e){const n=/^(---|\+\+\+)\s+/.exec(t[i]);if(n){const r=n[1],o=t[i].substring(3).trim().split("\t",2),s=(o[1]||"").trim();let l=o[0];l=l.startsWith('"')?u(l):l.replace(/\\\\/g,"\\"),"---"===r?(e.oldFileName=l,e.oldHeader=s):(e.newFileName=l,e.newHeader=s),i++}}function h(){var e;const n=i,r=t[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),o={oldStart:+r[1],oldLines:void 0===r[2]?1:+r[2],newStart:+r[3],newLines:void 0===r[4]?1:+r[4],lines:[]};0===o.oldLines&&(o.oldStart+=1),0===o.newLines&&(o.newStart+=1);let l=0,a=0;for(;i<t.length&&(a<o.oldLines||l<o.newLines||(null===(e=t[i])||void 0===e?void 0:e.startsWith("\\")));i++){const e=0==t[i].length&&i!=t.length-1?" ":t[i][0];if("+"!==e&&"-"!==e&&" "!==e&&"\\"!==e)throw new Error(`Hunk at line ${n+1} contained invalid line ${t[i]}`);o.lines.push(t[i]),"+"===e?l++:"-"===e?a++:" "===e&&(l++,a++)}if(l||1!==o.newLines||(o.newLines=0),a||1!==o.oldLines||(o.oldLines=0),l!==o.newLines)throw new Error("Added line count did not match for hunk at line "+(n+1));if(a!==o.oldLines)throw new Error("Removed line count did not match for hunk at line "+(n+1));if(i<t.length&&t[i]&&/^[+ -]/.test(t[i])&&!s(t[i]))throw new Error("Hunk at line "+(n+1)+" has more lines than expected (expected "+o.oldLines+" old lines and "+o.newLines+" new lines)");return o}for(;i<t.length;)a();return n}function z(e,t,n){let i=!0,r=!1,o=!1,s=1;return function l(){if(i&&!o){if(r?s++:i=!1,e+s<=n)return e+s;o=!0}if(!r)return o||(i=!0),t<=e-s?e-s++:(r=!0,l())}}function U(e,t,n={}){let i;if(i="string"==typeof t?_(t):Array.isArray(t)?t:[t],i.length>1)throw new Error("applyPatch only works with a single input.");return function(e,t,n={}){(n.autoConvertLineEndings||null==n.autoConvertLineEndings)&&((i=e).includes("\r\n")&&!i.startsWith("\n")&&!i.match(/[^\r]\n/)&&function(e){return Array.isArray(e)||(e=[e]),!e.some((e=>e.hunks.some((e=>e.lines.some((e=>!e.startsWith("\\")&&e.endsWith("\r")))))))}(t)?t=P(t):function(e){return!e.includes("\r\n")&&e.includes("\n")}(e)&&function(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)=>{var i;return t.startsWith("\\")||t.endsWith("\r")||(null===(i=e.lines[n+1])||void 0===i?void 0:i.startsWith("\\"))}))))))}(t)&&(t=G(t)));var i;const r=e.split("\n"),o=t.hunks,s=n.compareLine||((e,t,n,i)=>t===i),l=n.fuzzFactor||0;let a=0;if(l<0||!Number.isInteger(l))throw new Error("fuzzFactor must be a non-negative integer");if(!o.length)return e;let c="",u=!1,d=!1;for(let e=0;e<o[o.length-1].lines.length;e++){const t=o[o.length-1].lines[e];"\\"==t[0]&&("+"==c[0]?u=!0:"-"==c[0]&&(d=!0)),c=t}if(u){if(d){if(!l&&""==r[r.length-1])return!1}else if(""==r[r.length-1])r.pop();else if(!l)return!1}else if(d)if(""!=r[r.length-1])r.push("");else if(!l)return!1;function f(e,t,n,i=0,o=!0,l=[],a=0){let c=0,u=!1;for(;i<e.length;i++){const d=e[i],h=d.length>0?d[0]:" ",p=d.length>0?d.substr(1):d;if("-"===h){if(!s(t+1,r[t],h,p))return n&&null!=r[t]?(l[a]=r[t],f(e,t+1,n-1,i,!1,l,a+1)):null;t++,c=0}if("+"===h){if(!o)return null;l[a]=p,a++,c=0,u=!0}if(" "===h){if(c++,l[a]=r[t],!s(t+1,r[t],h,p))return u||!n?null:r[t]&&(f(e,t+1,n-1,i+1,!1,l,a+1)||f(e,t+1,n-1,i,!1,l,a+1))||f(e,t,n-1,i+1,!1,l,a);a++,o=!0,u=!1,t++}}return a-=c,t-=c,l.length=a,{patchedLines:l,oldLineLastI:t-1}}const h=[];let p=0;for(let e=0;e<o.length;e++){const t=o[e];let n;const i=r.length-t.oldLines+l;let s;for(let e=0;e<=l;e++){s=t.oldStart+p-1;const r=z(s,a,i);for(;void 0!==s&&(n=f(t.lines,s,e),!n);s=r());if(n)break}if(!n)return!1;for(let e=a;e<s;e++)h.push(r[e]);for(let e=0;e<n.patchedLines.length;e++){const t=n.patchedLines[e];h.push(t)}a=n.oldLineLastI+1,p=s+1-t.oldStart}for(let e=a;e<r.length;e++)h.push(r[e]);return h.join("\n")}(e,i[0],n)}function q(e,t){const n="string"==typeof e?_(e):e;let i=0;!function e(){const r=n[i++];if(!r)return t.complete();t.loadFile(r,(function(n,i){if(n)return t.complete(n);const o=U(i,r,t);t.patched(r,o,(function(n){if(n)return t.complete(n);e()}))}))}()}function Y(e){return void 0===e||"/dev/null"===e?e:e.startsWith("a/")?"b/"+e.slice(2):e.startsWith("b/")?"a/"+e.slice(2):e}function J(e){if(Array.isArray(e))return e.map((e=>J(e))).reverse();const t=Object.assign(Object.assign({},e),{oldFileName:e.isGit?Y(e.newFileName):e.newFileName,oldHeader:e.newHeader,newFileName:e.isGit?Y(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 K(e){if(!function(e){for(let t=0;t<e.length;t++)if(e[t]<" "||e[t]>"~"||'"'===e[t]||"\\"===e[t])return!0;return!1}(e))return e;let t='"';const n=(new TextEncoder).encode(e);let i=0;for(;i<n.length;){const e=n[i];t+=7===e?"\\a":8===e?"\\b":9===e?"\\t":10===e?"\\n":11===e?"\\v":12===e?"\\f":13===e?"\\r":34===e?'\\"':92===e?"\\\\":e>=32&&e<=126?String.fromCharCode(e):"\\"+e.toString(8).padStart(3,"0"),i++}return t+='"',t}const Z={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0},Q={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!0},X={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!1};function ee(e,t,n,i,r,o,s){let l;l=s?"function"==typeof s?{callback:s}:s:{},void 0===l.context&&(l.context=4);const a=l.context;if(l.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(!l.callback)return c(E(n,i,l));{const{callback:e}=l;E(n,i,Object.assign(Object.assign({},l),{callback:t=>{const n=c(t);e(n)}}))}function c(n){if(!n)return;function i(e){return e.map((function(e){return" "+e}))}n.push({value:"",lines:[]});const s=[];let l=0,c=0,u=[],d=1,f=1;for(let e=0;e<n.length;e++){const t=n[e],r=t.lines||re(t.value);if(t.lines=r,t.added||t.removed){if(!l){const t=n[e-1];l=d,c=f,t&&(u=a>0?i(t.lines.slice(-a)):[],l-=u.length,c-=u.length)}for(const e of r)u.push((t.added?"+":"-")+e);t.added?f+=r.length:d+=r.length}else{if(l)if(r.length<=2*a&&e<n.length-2)for(const e of i(r))u.push(e);else{const e=Math.min(r.length,a);for(const t of i(r.slice(0,e)))u.push(t);const t={oldStart:l,oldLines:d-l+e,newStart:c,newLines:f-c+e,lines:u};s.push(t),l=0,c=0,u=[]}d+=r.length,f+=r.length}}for(const e of s)for(let t=0;t<e.lines.length;t++)e.lines[t].endsWith("\n")?e.lines[t]=e.lines[t].slice(0,-1):(e.lines.splice(t+1,0,"\"),t++);return{oldFileName:e,newFileName:t,oldHeader:r,newHeader:o,hunks:s}}}function te(e,t){var n,i,r,o,s,l;if(t||(t=Z),Array.isArray(e)){if(e.length>1&&!t.includeFileHeaders&&!e.every((e=>e.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 e.map((e=>te(e,t))).join("\n")}const a=[];if(e.isGit){if(t=Z,!e.oldFileName)throw new Error("oldFileName must be specified for Git patches");if(!e.newFileName)throw new Error("newFileName must be specified for Git patches");let c=e.oldFileName,u=e.newFileName;e.isCreate&&"/dev/null"===c?c=u.replace(/^b\//,"a/"):e.isDelete&&"/dev/null"===u&&(u=c.replace(/^a\//,"b/")),a.push("diff --git "+K(c)+" "+K(u)),e.isDelete&&a.push("deleted file mode "+(null!==(n=e.oldMode)&&void 0!==n?n:"100644")),e.isCreate&&a.push("new file mode "+(null!==(i=e.newMode)&&void 0!==i?i:"100644")),e.oldMode&&e.newMode&&!e.isDelete&&!e.isCreate&&(a.push("old mode "+e.oldMode),a.push("new mode "+e.newMode)),e.isRename&&(a.push("rename from "+K((null!==(r=e.oldFileName)&&void 0!==r?r:"").replace(/^a\//,""))),a.push("rename to "+K((null!==(o=e.newFileName)&&void 0!==o?o:"").replace(/^b\//,"")))),e.isCopy&&(a.push("copy from "+K((null!==(s=e.oldFileName)&&void 0!==s?s:"").replace(/^a\//,""))),a.push("copy to "+K((null!==(l=e.newFileName)&&void 0!==l?l:"").replace(/^b\//,""))))}else t.includeIndex&&e.oldFileName==e.newFileName&&void 0!==e.oldFileName&&a.push("Index: "+e.oldFileName),t.includeUnderline&&a.push("===================================================================");const c=e.hunks.length>0;!t.includeFileHeaders||void 0===e.oldFileName||void 0===e.newFileName||e.isGit&&!c||(a.push("--- "+K(e.oldFileName)+(e.oldHeader?"\t"+e.oldHeader:"")),a.push("+++ "+K(e.newFileName)+(e.newHeader?"\t"+e.newHeader:"")));for(let t=0;t<e.hunks.length;t++){const n=e.hunks[t],i=0===n.oldLines?n.oldStart-1:n.oldStart,r=0===n.newLines?n.newStart-1:n.newStart;a.push("@@ -"+i+","+n.oldLines+" +"+r+","+n.newLines+" @@");for(const e of n.lines)a.push(e)}return a.join("\n")+"\n"}function ne(e,t,n,i,r,o,s){if("function"==typeof s&&(s={callback:s}),!(null==s?void 0:s.callback)){const l=ee(e,t,n,i,r,o,s);if(!l)return;return te(l,null==s?void 0:s.headerOptions)}{const{callback:l}=s;ee(e,t,n,i,r,o,Object.assign(Object.assign({},s),{callback:e=>{l(e?te(e,s.headerOptions):void 0)}}))}}function ie(e,t,n,i,r,o){return ne(e,e,t,n,i,r,o)}function re(e){const t=e.endsWith("\n"),n=e.split("\n").map((e=>e+"\n"));return t?n.pop():n.push(n.pop().slice(0,-1)),n}function oe(e){const t=[];let n,i;for(let r=0;r<e.length;r++)n=e[r],i=n.added?1:n.removed?-1:0,t.push([i,n.value]);return t}function se(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];i.added?t.push("<ins>"):i.removed&&t.push("<del>"),t.push(le(i.value)),i.added?t.push("</ins>"):i.removed&&t.push("</del>")}return t.join("")}function le(e){let t=e;return t=t.replace(/&/g,"&"),t=t.replace(/</g,"<"),t=t.replace(/>/g,">"),t=t.replace(/"/g,"""),t}function ae(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ce,ue,de,fe,he,pe,ge,me,ye,be,ve,we,xe,ke,Ce,Ae,Se,je,Te,Ne,Oe,Ee,Le,De,Ie,Fe,Me,Re,He,We,Be,Ve,$e,Pe,Ge,_e,ze,Ue,qe,Ye,Je,Ke,Ze,Qe,Xe={},et={},tt={};function nt(){if(ce)return tt;function e(e){return null==e}return ce=1,tt.isNothing=e,tt.isObject=function(e){return"object"==typeof e&&null!==e},tt.toArray=function(t){return Array.isArray(t)?t:e(t)?[]:[t]},tt.repeat=function(e,t){let n="";for(let i=0;i<t;i+=1)n+=e;return n},tt.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},tt.extend=function(e,t){if(t){const n=Object.keys(t);for(let i=0,r=n.length;i<r;i+=1){const r=n[i];e[r]=t[r]}}return e},tt}function it(){if(de)return ue;function e(e,t){let n="";const i=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+="\n\n"+e.mark.snippet),i+" "+n):i}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=(new Error).stack||""}return de=1,t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(t){return this.name+": "+e(this,t)},ue=t}function rt(){if(ge)return pe;ge=1;const e=it(),t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];return pe=function(i,r){if(r=r||{},Object.keys(r).forEach((function(n){if(-1===t.indexOf(n))throw new e('Unknown option "'+n+'" is met in definition of "'+i+'" YAML type.')})),this.options=r,this.tag=i,this.kind=r.kind||null,this.resolve=r.resolve||function(){return!0},this.construct=r.construct||function(e){return e},this.instanceOf=r.instanceOf||null,this.predicate=r.predicate||null,this.represent=r.represent||null,this.representName=r.representName||null,this.defaultStyle=r.defaultStyle||null,this.multi=r.multi||!1,this.styleAliases=function(e){const t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(r.styleAliases||null),-1===n.indexOf(this.kind))throw new e('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')},pe}function ot(){if(ye)return me;ye=1;const e=it(),t=rt();function n(e,t){const n=[];return e[t].forEach((function(e){let t=n.length;n.forEach((function(n,i){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=i)})),n[t]=e})),n}function i(e){return this.extend(e)}return i.prototype.extend=function(r){let o=[],s=[];if(r instanceof t)s.push(r);else if(Array.isArray(r))s=s.concat(r);else{if(!r||!Array.isArray(r.implicit)&&!Array.isArray(r.explicit))throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.implicit&&(o=o.concat(r.implicit)),r.explicit&&(s=s.concat(r.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&&"scalar"!==n.loadKind)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.")}));const l=Object.create(i.prototype);return l.implicit=(this.implicit||[]).concat(o),l.explicit=(this.explicit||[]).concat(s),l.compiledImplicit=n(l,"implicit"),l.compiledExplicit=n(l,"explicit"),l.compiledTypeMap=function(){const 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}(l.compiledImplicit,l.compiledExplicit),l},me=i}function st(){if(ve)return be;ve=1;const e=rt();return be=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})}function lt(){if(xe)return we;xe=1;const e=rt();return we=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})}function at(){if(Ce)return ke;Ce=1;const e=rt();return ke=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})}function ct(){if(Se)return Ae;Se=1;const e=ot();return Ae=new e({explicit:[st(),lt(),at()]})}function ut(){if(Te)return je;Te=1;const e=rt();return je=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;const t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})}function dt(){if(Oe)return Ne;Oe=1;const e=rt();return Ne=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})}function ft(){if(Le)return Ee;Le=1;const e=nt(),t=rt();function n(e){return e>=48&&e<=55}function i(e){return e>=48&&e<=57}function r(e){let t=e,n=1,i=t[0];if("-"!==i&&"+"!==i||("-"===i&&(n=-1),t=t.slice(1),i=t[0]),"0"===t)return 0;if("0"===i){if("b"===t[1])return n*parseInt(t.slice(2),2);if("x"===t[1])return n*parseInt(t.slice(2),16);if("o"===t[1])return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}return Ee=new t("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;let o=0,s=!1;if(!t)return!1;let l=e[o];if("-"!==l&&"+"!==l||(l=e[++o]),"0"===l){if(o+1===t)return!0;if(l=e[++o],"b"===l){for(o++;o<t;o++){if(l=e[o],"0"!==l&&"1"!==l)return!1;s=!0}return s&&isFinite(r(e))}if("x"===l){for(o++;o<t;o++){if(!((a=e.charCodeAt(o))>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102))return!1;s=!0}return s&&isFinite(r(e))}if("o"===l){for(o++;o<t;o++){if(!n(e.charCodeAt(o)))return!1;s=!0}return s&&isFinite(r(e))}}for(var a;o<t;o++){if(!i(e.charCodeAt(o)))return!1;s=!0}return!!s&&isFinite(r(e))},construct:function(e){return r(e)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!e.isNegativeZero(t)},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"]}})}function ht(){if(Ie)return De;Ie=1;const e=nt(),t=rt(),n=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),i=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");const r=/^[-+]?[0-9]+e/;return De=new t("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&(!!n.test(e)&&(!!isFinite(parseFloat(e,10))||i.test(e)))},construct:function(e){let t=e.toLowerCase();const n="-"===t[0]?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||e.isNegativeZero(t))},represent:function(t,n){if(isNaN(t))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(t))return"-0.0";const i=t.toString(10);return r.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})}function pt(){return Me?Fe:(Me=1,Fe=ct().extend({implicit:[ut(),dt(),ft(),ht()]}))}function gt(){return He?Re:(He=1,Re=pt())}function mt(){if(Be)return We;Be=1;const e=rt(),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=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]))?))?$");return We=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==t.exec(e)||null!==n.exec(e))},construct:function(e){let i=0,r=null,o=t.exec(e);if(null===o&&(o=n.exec(e)),null===o)throw new Error("Date resolve error");const s=+o[1],l=+o[2]-1,a=+o[3];if(!o[4])return new Date(Date.UTC(s,l,a));const c=+o[4],u=+o[5],d=+o[6];if(o[7]){for(i=o[7].slice(0,3);i.length<3;)i+="0";i=+i}if(o[9]){r=6e4*(60*+o[10]+ +(o[11]||0)),"-"===o[9]&&(r=-r)}const f=new Date(Date.UTC(s,l,a,c,u,d,i));return r&&f.setTime(f.getTime()-r),f},instanceOf:Date,represent:function(e){return e.toISOString()}}),We}function yt(){if($e)return Ve;$e=1;const e=rt();return Ve=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})}function bt(){if(Ge)return Pe;Ge=1;const e=rt(),t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";return Pe=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;let n=0;const i=e.length,r=t;for(let t=0;t<i;t++){const i=r.indexOf(e.charAt(t));if(!(i>64)){if(i<0)return!1;n+=6}}return n%8==0},construct:function(e){const n=e.replace(/[\r\n=]/g,""),i=n.length,r=t;let o=0;const s=[];for(let e=0;e<i;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|r.indexOf(n.charAt(e));const l=i%4*6;return 0===l?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===l?(s.push(o>>10&255),s.push(o>>2&255)):12===l&&s.push(o>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){let n="",i=0;const r=e.length,o=t;for(let t=0;t<r;t++)t%3==0&&t&&(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]),i=(i<<8)+e[t];const s=r%3;return 0===s?(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]):2===s?(n+=o[i>>10&63],n+=o[i>>4&63],n+=o[i<<2&63],n+=o[64]):1===s&&(n+=o[i>>2&63],n+=o[i<<4&63],n+=o[64],n+=o[64]),n}})}function vt(){if(ze)return _e;ze=1;const e=rt(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;return _e=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;const i={},r=e;for(let e=0,o=r.length;e<o;e+=1){const o=r[e];let s,l=!1;if("[object Object]"!==n.call(o))return!1;for(s in o)if(t.call(o,s)){if(l)return!1;l=!0}if(!l)return!1;if(t.call(i,s))return!1;Object.defineProperty(i,s,{value:!0})}return!0},construct:function(e){return null!==e?e:[]}})}function wt(){if(qe)return Ue;qe=1;const e=rt(),t=Object.prototype.toString;return Ue=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;const n=e,i=new Array(n.length);for(let e=0,r=n.length;e<r;e+=1){const r=n[e];if("[object Object]"!==t.call(r))return!1;const o=Object.keys(r);if(1!==o.length)return!1;i[e]=[o[0],r[o[0]]]}return!0},construct:function(e){if(null===e)return[];const t=e,n=new Array(t.length);for(let e=0,i=t.length;e<i;e+=1){const i=t[e],r=Object.keys(i);n[e]=[r[0],i[r[0]]]}return n}})}function xt(){if(Je)return Ye;Je=1;const e=rt(),t=Object.prototype.hasOwnProperty;return Ye=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;const n=e;for(const e in n)if(t.call(n,e)&&null!==n[e])return!1;return!0},construct:function(e){return null!==e?e:{}}})}function kt(){return Ze?Ke:(Ze=1,Ke=gt().extend({implicit:[mt(),yt()],explicit:[bt(),vt(),wt(),xt()]}))}function Ct(){if(Qe)return et;Qe=1;const e=nt(),t=it(),n=function(){if(he)return fe;he=1;const e=nt();function t(e,t,n,i,r){let o="",s="";const l=Math.floor(r/2)-1;return i-t>l&&(o=" ... ",t=i-l+o.length),n-i>l&&(s=" ...",n=i+l-s.length),{str:o+e.slice(t,n).replace(/\t/g,"→")+s,pos:i-t+o.length}}function n(t,n){return e.repeat(" ",n-t.length)+t}return fe=function(i,r){if(r=Object.create(r||null),!i.buffer)return null;r.maxLength||(r.maxLength=79),"number"!=typeof r.indent&&(r.indent=1),"number"!=typeof r.linesBefore&&(r.linesBefore=3),"number"!=typeof r.linesAfter&&(r.linesAfter=2);const o=/\r?\n|\r|\0/g,s=[0],l=[];let a,c=-1;for(;a=o.exec(i.buffer);)l.push(a.index),s.push(a.index+a[0].length),i.position<=a.index&&c<0&&(c=s.length-2);c<0&&(c=s.length-1);let u="";const d=Math.min(i.line+r.linesAfter,l.length).toString().length,f=r.maxLength-(r.indent+d+3);for(let o=1;o<=r.linesBefore&&!(c-o<0);o++){const a=t(i.buffer,s[c-o],l[c-o],i.position-(s[c]-s[c-o]),f);u=e.repeat(" ",r.indent)+n((i.line-o+1).toString(),d)+" | "+a.str+"\n"+u}const h=t(i.buffer,s[c],l[c],i.position,f);u+=e.repeat(" ",r.indent)+n((i.line+1).toString(),d)+" | "+h.str+"\n",u+=e.repeat("-",r.indent+d+3+h.pos)+"^\n";for(let o=1;o<=r.linesAfter&&!(c+o>=l.length);o++){const a=t(i.buffer,s[c+o],l[c+o],i.position-(s[c]-s[c+o]),f);u+=e.repeat(" ",r.indent)+n((i.line+o+1).toString(),d)+" | "+a.str+"\n"}return u.replace(/\n$/,"")},fe}(),i=kt(),r=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[\x85\u2028\u2029]/,l=/[,\[\]{}]/,a=/^(?:!|!!|![0-9A-Za-z-]+!)$/,c=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}function d(e){return 10===e||13===e}function f(e){return 9===e||32===e}function h(e){return 9===e||32===e||10===e||13===e}function p(e){return 44===e||91===e||93===e||123===e||125===e}function g(e){if(e>=48&&e<=57)return e-48;const t=32|e;return t>=97&&t<=102?t-97+10:-1}function m(e){switch(e){case 48:return"\0";case 97:return"";case 98:return"\b";case 116:case 9:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"
";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function y(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}function b(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}const v=new Array(256),w=new Array(256);for(let e=0;e<256;e++)v[e]=m(e)?1:0,w[e]=m(e);function x(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||i,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth="number"==typeof t.maxDepth?t.maxDepth:100,this.maxTotalMergeKeys="number"==typeof t.maxTotalMergeKeys?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 k(e,i){const r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=n(r),new t(i,r)}function C(e,t){throw k(e,t)}function A(e,t){e.onWarning&&e.onWarning.call(null,k(e,t))}function S(e,t,n){const i=e.anchorMapTransactions;if(0!==i.length){const n=i[i.length-1];r.call(n,t)||(n[t]={existed:r.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}function j(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 T(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}const N={YAML:function(e,t,n){null!==e.version&&C(e,"duplication of %YAML directive"),1!==n.length&&C(e,"YAML directive accepts exactly one argument");const i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);null===i&&C(e,"ill-formed argument of the YAML directive");const r=parseInt(i[1],10),o=parseInt(i[2],10);1!==r&&C(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&A(e,"unsupported YAML version of the document")},TAG:function(e,t,n){let i;2!==n.length&&C(e,"TAG directive accepts exactly two arguments");const o=n[0];i=n[1],a.test(o)||C(e,"ill-formed tag handle (first argument) of the TAG directive"),r.call(e.tagMap,o)&&C(e,'there is a previously declared suffix for "'+o+'" tag handle'),c.test(i)||C(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(t){C(e,"tag prefix is malformed: "+i)}e.tagMap[o]=i}};function O(e,t,n,i){if(t<n){const r=e.input.slice(t,n);if(i)for(let t=0,n=r.length;t<n;t+=1){const n=r.charCodeAt(t);9===n||n>=32&&n<=1114111||C(e,"expected valid JSON character")}else o.test(r)&&C(e,"the stream contains non-printable characters");e.result+=r}}function E(t,n,i,o){e.isObject(i)||C(t,"cannot merge mappings; the provided source object is unacceptable");const s=Object.keys(i);for(let e=0,l=s.length;e<l;e+=1){const l=s[e];-1!==t.maxTotalMergeKeys&&++t.totalMergeKeys>t.maxTotalMergeKeys&&C(t,"merge keys exceeded maxTotalMergeKeys ("+t.maxTotalMergeKeys+")"),r.call(n,l)||(b(n,l,i[l]),o[l]=!0)}}function L(e,t,n,i,o,s,l,a,c){if(Array.isArray(o))for(let t=0,n=(o=Array.prototype.slice.call(o)).length;t<n;t+=1)Array.isArray(o[t])&&C(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===u(o[t])&&(o[t]="[object Object]");if("object"==typeof o&&"[object Object]"===u(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(s))for(let i=0,r=s.length;i<r;i+=1)E(e,t,s[i],n);else E(e,t,s,n);else e.json||r.call(n,o)||!r.call(t,o)||(e.line=l||e.line,e.lineStart=a||e.lineStart,e.position=c||e.position,C(e,"duplicated mapping key")),b(t,o,s),delete n[o];return t}function D(e){const t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):C(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function I(e,t,n){let i=0,r=e.input.charCodeAt(e.position);for(;0!==r;){for(;f(r);)9===r&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),r=e.input.charCodeAt(++e.position);if(t&&35===r)do{r=e.input.charCodeAt(++e.position)}while(10!==r&&13!==r&&0!==r);if(!d(r))break;for(D(e),r=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&A(e,"deficient indentation"),i}function F(e){let t=e.position,n=e.input.charCodeAt(t);return!(45!==n&&46!==n||n!==e.input.charCodeAt(t+1)||n!==e.input.charCodeAt(t+2)||(t+=3,n=e.input.charCodeAt(t),0!==n&&!h(n)))}function M(t,n){1===n?t.result+=" ":n>1&&(t.result+=e.repeat("\n",n-1))}function R(e,t){const n=e.tag,i=e.anchor,r=[];let o=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&S(e,e.anchor,r);let s=e.input.charCodeAt(e.position);for(;0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,C(e,"tab characters must not be used in indentation")),45===s);){if(!h(e.input.charCodeAt(e.position+1)))break;if(o=!0,e.position++,I(e,!0,-1)&&e.lineIndent<=t){r.push(null),s=e.input.charCodeAt(e.position);continue}const n=e.line;if($(e,t,3,!1,!0),r.push(e.result),I(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==s)C(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!o&&(e.tag=n,e.anchor=i,e.kind="sequence",e.result=r,!0)}function H(e,t,n){let i,r,o,s;const l=e.tag,a=e.anchor,c={},u=Object.create(null);let d=null,p=null,g=null,m=!1,y=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&S(e,e.anchor,c);let b=e.input.charCodeAt(e.position);for(;0!==b;){m||-1===e.firstTabInLine||(e.position=e.firstTabInLine,C(e,"tab characters must not be used in indentation"));const v=e.input.charCodeAt(e.position+1),w=e.line;if(63!==b&&58!==b||!h(v)){if(r=e.line,o=e.lineStart,s=e.position,!$(e,n,2,!1,!0))break;if(e.line===w){for(b=e.input.charCodeAt(e.position);f(b);)b=e.input.charCodeAt(++e.position);if(58===b)b=e.input.charCodeAt(++e.position),h(b)||C(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(L(e,c,u,d,p,null,r,o,s),d=p=g=null),y=!0,m=!1,i=!1,d=e.tag,p=e.result;else{if(!y)return e.tag=l,e.anchor=a,!0;C(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=l,e.anchor=a,!0;C(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===b?(m&&(L(e,c,u,d,p,null,r,o,s),d=p=g=null),y=!0,m=!0,i=!0):m?(m=!1,i=!0):C(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=v;if((e.line===w||e.lineIndent>t)&&(m&&(r=e.line,o=e.lineStart,s=e.position),$(e,t,4,!0,i)&&(m?p=e.result:g=e.result),m||(L(e,c,u,d,p,g,r,o,s),d=p=g=null),I(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===w||e.lineIndent>t)&&0!==b)C(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&L(e,c,u,d,p,null,r,o,s),y&&(e.tag=l,e.anchor=a,e.kind="mapping",e.result=c),y}function W(e){let t,n,i=!1,o=!1,s=e.input.charCodeAt(e.position);if(33!==s)return!1;null!==e.tag&&C(e,"duplication of a tag property"),s=e.input.charCodeAt(++e.position),60===s?(i=!0,s=e.input.charCodeAt(++e.position)):33===s?(o=!0,t="!!",s=e.input.charCodeAt(++e.position)):t="!";let u=e.position;if(i){do{s=e.input.charCodeAt(++e.position)}while(0!==s&&62!==s);e.position<e.length?(n=e.input.slice(u,e.position),s=e.input.charCodeAt(++e.position)):C(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==s&&!h(s);)33===s&&(o?C(e,"tag suffix cannot contain exclamation marks"):(t=e.input.slice(u-1,e.position+1),a.test(t)||C(e,"named tag handle cannot contain such characters"),o=!0,u=e.position+1)),s=e.input.charCodeAt(++e.position);n=e.input.slice(u,e.position),l.test(n)&&C(e,"tag suffix cannot contain flow indicator characters")}n&&!c.test(n)&&C(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){C(e,"tag name is malformed: "+n)}return i?e.tag=n:r.call(e.tagMap,t)?e.tag=e.tagMap[t]+n:"!"===t?e.tag="!"+n:"!!"===t?e.tag="tag:yaml.org,2002:"+n:C(e,'undeclared tag handle "'+t+'"'),!0}function B(e){let t=e.input.charCodeAt(e.position);if(38!==t)return!1;null!==e.anchor&&C(e,"duplication of an anchor property"),t=e.input.charCodeAt(++e.position);const n=e.position;for(;0!==t&&!h(t)&&!p(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&C(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(n,e.position),!0}function V(e,t,n,i){const o=j(e);return function(e){e.anchorMapTransactions.push(Object.create(null))}(e),T(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,H(e,n,i)&&"mapping"===e.kind?(function(e){const t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(0===n.length)return;const i=n[n.length-1],o=Object.keys(t);for(let e=0,n=o.length;e<n;e+=1){const n=o[e];r.call(i,n)||(i[n]=t[n])}}(e),!0):(function(e){const t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let i=n.length-1;i>=0;i-=1){const r=t[n[i]];r.existed?e.anchorMap[n[i]]=r.value:delete e.anchorMap[n[i]]}}(e),T(e,o),!1)}function $(t,n,i,o,s){let l,a,c,u,m,b=1,x=!1,k=!1,A=null;t.depth>=t.maxDepth&&C(t,"nesting exceeded maxDepth ("+t.maxDepth+")"),t.depth+=1,null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null;const T=l=a=4===i||3===i;if(o&&I(t,!0,-1)&&(x=!0,t.lineIndent>n?b=1:t.lineIndent===n?b=0:t.lineIndent<n&&(b=-1)),1===b)for(;;){const e=t.input.charCodeAt(t.position),i=j(t);if(x&&(33===e&&null!==t.tag||38===e&&null!==t.anchor))break;if(!W(t)&&!B(t))break;null===A&&(A=i),I(t,!0,-1)?(x=!0,a=T,t.lineIndent>n?b=1:t.lineIndent===n?b=0:t.lineIndent<n&&(b=-1)):a=!1}if(a&&(a=x||s),1===b||4===i)if(u=1===i||2===i?n:n+1,m=t.position-t.lineStart,1===b)if(a&&(R(t,m)||H(t,m,u))||function(e,t){let n,i,r,o=!0;const s=e.tag;let l;const a=e.anchor;let c,u,d,f;const p=Object.create(null);let g,m,y,b=e.input.charCodeAt(e.position);if(91===b)c=93,f=!1,l=[];else{if(123!==b)return!1;c=125,f=!0,l={}}for(null!==e.anchor&&S(e,e.anchor,l),b=e.input.charCodeAt(++e.position);0!==b;){if(I(e,!0,t),b=e.input.charCodeAt(e.position),b===c)return e.position++,e.tag=s,e.anchor=a,e.kind=f?"mapping":"sequence",e.result=l,!0;o?44===b&&C(e,"expected the node content, but found ','"):C(e,"missed comma between flow collection entries"),m=g=y=null,u=d=!1,63===b&&h(e.input.charCodeAt(e.position+1))&&(u=d=!0,e.position++,I(e,!0,t)),n=e.line,i=e.lineStart,r=e.position,$(e,t,1,!1,!0),m=e.tag,g=e.result,I(e,!0,t),b=e.input.charCodeAt(e.position),!d&&e.line!==n||58!==b||(u=!0,b=e.input.charCodeAt(++e.position),I(e,!0,t),$(e,t,1,!1,!0),y=e.result),f?L(e,l,p,m,g,y,n,i,r):u?l.push(L(e,null,p,m,g,y,n,i,r)):l.push(g),I(e,!0,t),b=e.input.charCodeAt(e.position),44===b?(o=!0,b=e.input.charCodeAt(++e.position)):o=!1}C(e,"unexpected end of the stream within a flow collection")}(t,u))k=!0;else{const n=t.input.charCodeAt(t.position);null!==A&&T&&!a&&124!==n&&62!==n&&V(t,A,A.position-A.lineStart,u)||l&&function(t,n){let i,r,o=1,s=!1,l=!1,a=n,c=0,u=!1,h=t.input.charCodeAt(t.position);if(124===h)i=!1;else{if(62!==h)return!1;i=!0}for(t.kind="scalar",t.result="";0!==h;)if(h=t.input.charCodeAt(++t.position),43===h||45===h)1===o?o=43===h?3:2:C(t,"repeat of a chomping mode identifier");else{if(!((r=(p=h)>=48&&p<=57?p-48:-1)>=0))break;0===r?C(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?C(t,"repeat of an indentation width identifier"):(a=n+r-1,l=!0)}var p;if(f(h)){do{h=t.input.charCodeAt(++t.position)}while(f(h));if(35===h)do{h=t.input.charCodeAt(++t.position)}while(!d(h)&&0!==h)}for(;0!==h;){for(D(t),t.lineIndent=0,h=t.input.charCodeAt(t.position);(!l||t.lineIndent<a)&&32===h;)t.lineIndent++,h=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>a&&(a=t.lineIndent),d(h)){c++;continue}if(l||0!==a||C(t,"missing indentation for block scalar"),t.lineIndent<a){3===o?t.result+=e.repeat("\n",s?1+c:c):1===o&&s&&(t.result+="\n");break}i?f(h)?(u=!0,t.result+=e.repeat("\n",s?1+c:c)):u?(u=!1,t.result+=e.repeat("\n",c+1)):0===c?s&&(t.result+=" "):t.result+=e.repeat("\n",c):t.result+=e.repeat("\n",s?1+c:c),s=!0,l=!0,c=0;const n=t.position;for(;!d(h)&&0!==h;)h=t.input.charCodeAt(++t.position);O(t,n,t.position,!1)}return!0}(t,u)||function(e,t){let n,i,r=e.input.charCodeAt(e.position);if(39!==r)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(O(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),39!==r)return!0;n=e.position,e.position++,i=e.position}else d(r)?(O(e,n,i,!0),M(e,I(e,!1,t)),n=i=e.position):e.position===e.lineStart&&F(e)?C(e,"unexpected end of the document within a single quoted scalar"):(e.position++,f(r)||(i=e.position));C(e,"unexpected end of the stream within a single quoted scalar")}(t,u)||function(e,t){let n,i,r,o=e.input.charCodeAt(e.position);if(34!==o)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(o=e.input.charCodeAt(e.position));){if(34===o)return O(e,n,e.position,!0),e.position++,!0;if(92===o){if(O(e,n,e.position,!0),o=e.input.charCodeAt(++e.position),d(o))I(e,!1,t);else if(o<256&&v[o])e.result+=w[o],e.position++;else if((r=120===(s=o)?2:117===s?4:85===s?8:0)>0){let t=r,n=0;for(;t>0;t--)o=e.input.charCodeAt(++e.position),(r=g(o))>=0?n=(n<<4)+r:C(e,"expected hexadecimal character");e.result+=y(n),e.position++}else C(e,"unknown escape sequence");n=i=e.position}else d(o)?(O(e,n,i,!0),M(e,I(e,!1,t)),n=i=e.position):e.position===e.lineStart&&F(e)?C(e,"unexpected end of the document within a double quoted scalar"):(e.position++,f(o)||(i=e.position))}var s;C(e,"unexpected end of the stream within a double quoted scalar")}(t,u)?k=!0:!function(e){let t=e.input.charCodeAt(e.position);if(42!==t)return!1;t=e.input.charCodeAt(++e.position);const n=e.position;for(;0!==t&&!h(t)&&!p(t);)t=e.input.charCodeAt(++e.position);e.position===n&&C(e,"name of an alias node must contain at least one character");const i=e.input.slice(n,e.position);return r.call(e.anchorMap,i)||C(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],I(e,!0,-1),!0}(t)?function(e,t,n){let i,r,o,s,l,a;const c=e.kind,u=e.result;let g=e.input.charCodeAt(e.position);if(h(g)||p(g)||35===g||38===g||42===g||33===g||124===g||62===g||39===g||34===g||37===g||64===g||96===g)return!1;if(63===g||45===g){const t=e.input.charCodeAt(e.position+1);if(h(t)||n&&p(t))return!1}for(e.kind="scalar",e.result="",i=r=e.position,o=!1;0!==g;){if(58===g){const t=e.input.charCodeAt(e.position+1);if(h(t)||n&&p(t))break}else if(35===g){if(h(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&F(e)||n&&p(g))break;if(d(g)){if(s=e.line,l=e.lineStart,a=e.lineIndent,I(e,!1,-1),e.lineIndent>=t){o=!0,g=e.input.charCodeAt(e.position);continue}e.position=r,e.line=s,e.lineStart=l,e.lineIndent=a;break}}o&&(O(e,i,r,!1),M(e,e.line-s),i=r=e.position,o=!1),f(g)||(r=e.position+1),g=e.input.charCodeAt(++e.position)}return O(e,i,r,!1),!!e.result||(e.kind=c,e.result=u,!1)}(t,u,1===i)&&(k=!0,null===t.tag&&(t.tag="?")):(k=!0,null===t.tag&&null===t.anchor||C(t,"alias node should not have any properties")),null!==t.anchor&&S(t,t.anchor,t.result)}else 0===b&&(k=a&&R(t,m));if(null===t.tag)null!==t.anchor&&S(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&C(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"');for(let e=0,n=t.implicitTypes.length;e<n;e+=1)if(c=t.implicitTypes[e],c.resolve(t.result)){t.result=c.construct(t.result),t.tag=c.tag,null!==t.anchor&&S(t,t.anchor,t.result);break}}else if("!"!==t.tag){if(r.call(t.typeMap[t.kind||"fallback"],t.tag))c=t.typeMap[t.kind||"fallback"][t.tag];else{c=null;const e=t.typeMap.multi[t.kind||"fallback"];for(let n=0,i=e.length;n<i;n+=1)if(t.tag.slice(0,e[n].tag.length)===e[n].tag){c=e[n];break}}c||C(t,"unknown tag !<"+t.tag+">"),null!==t.result&&c.kind!==t.kind&&C(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+c.kind+'", not "'+t.kind+'"'),c.resolve(t.result,t.tag)?(t.result=c.construct(t.result,t.tag),null!==t.anchor&&S(t,t.anchor,t.result)):C(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),t.depth-=1,null!==t.tag||null!==t.anchor||k}function P(e){const t=e.position;let n,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(n=e.input.charCodeAt(e.position))&&(I(e,!0,-1),n=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==n));){i=!0,n=e.input.charCodeAt(++e.position);let t=e.position;for(;0!==n&&!h(n);)n=e.input.charCodeAt(++e.position);const o=e.input.slice(t,e.position),s=[];for(o.length<1&&C(e,"directive name must not be less than one character in length");0!==n;){for(;f(n);)n=e.input.charCodeAt(++e.position);if(35===n){do{n=e.input.charCodeAt(++e.position)}while(0!==n&&!d(n));break}if(d(n))break;for(t=e.position;0!==n&&!h(n);)n=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==n&&D(e),r.call(N,o)?N[o](e,o,s):A(e,'unknown document directive "'+o+'"')}I(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,I(e,!0,-1)):i&&C(e,"directives end mark is expected"),$(e,e.lineIndent-1,4,!1,!0),I(e,!0,-1),e.checkLineBreaks&&s.test(e.input.slice(t,e.position))&&A(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,I(e,!0,-1)):e.position<e.length-1&&C(e,"end of the stream or a document separator is expected")}function G(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));const n=new x(e,t),i=e.indexOf("\0");for(-1!==i&&(n.position=i,C(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)P(n);return n.documents}return et.loadAll=function(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);const i=G(e,n);if("function"!=typeof t)return i;for(let e=0,n=i.length;e<n;e+=1)t(i[e])},et.load=function(e,n){const i=G(e,n);if(0!==i.length){if(1===i.length)return i[0];throw new t("expected a single document in the stream, but found more")}},et}var At,St,jt={};function Tt(){if(At)return jt;At=1;const e=nt(),t=it(),n=kt(),i=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o=65279,s={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},l=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],a=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function c(n){let i,r;const o=n.toString(16).toUpperCase();if(n<=255)i="x",r=2;else if(n<=65535)i="u",r=4;else{if(!(n<=4294967295))throw new t("code point within a string may not be greater than 0xFFFFFFFF");i="U",r=8}return"\\"+i+e.repeat("0",r-o.length)+o}function u(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=function(e,t){if(null===t)return{};const n={},i=Object.keys(t);for(let o=0,s=i.length;o<s;o+=1){let s=i[o],l=String(t[s]);"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2));const a=e.compiledTypeMap.fallback[s];a&&r.call(a.styleAliases,l)&&(l=a.styleAliases[l]),n[s]=l}return n}(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="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function d(t,n){const i=e.repeat(" ",n);let r=0,o="";const s=t.length;for(;r<s;){let e;const n=t.indexOf("\n",r);-1===n?(e=t.slice(r),r=s):(e=t.slice(r,n+1),r=n+1),e.length&&"\n"!==e&&(o+=i),o+=e}return o}function f(t,n){return"\n"+e.repeat(" ",t.indent*n)}function h(e){return 32===e||9===e}function p(e){return e>=32&&e<=126||e>=161&&e<=55295&&8232!==e&&8233!==e||e>=57344&&e<=65533&&e!==o||e>=65536&&e<=1114111}function g(e){return p(e)&&e!==o&&13!==e&&10!==e}function m(e,t,n){const i=g(e),r=i&&!h(e);return(n?i:i&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!r)||g(t)&&!h(t)&&35===e||58===t&&r}function y(e,t){const n=e.charCodeAt(t);let i;return n>=55296&&n<=56319&&t+1<e.length&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?1024*(n-55296)+i-56320+65536:n}function b(e){return/^\n* /.test(e)}function v(e,t,n,i,r,s,l,a){let c,u=0,d=null,f=!1,g=!1;const v=-1!==i;let w=-1,x=p(k=y(e,0))&&k!==o&&!h(k)&&45!==k&&63!==k&&58!==k&&44!==k&&91!==k&&93!==k&&123!==k&&125!==k&&35!==k&&38!==k&&42!==k&&33!==k&&124!==k&&61!==k&&62!==k&&39!==k&&34!==k&&37!==k&&64!==k&&96!==k&&function(e){return!h(e)&&58!==e}(y(e,e.length-1));var k;if(t||l)for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=y(e,c),!p(u))return 5;x=x&&m(u,d,a),d=u}else{for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=y(e,c),10===u)f=!0,v&&(g=g||c-w-1>i&&" "!==e[w+1],w=c);else if(!p(u))return 5;x=x&&m(u,d,a),d=u}g=g||v&&c-w-1>i&&" "!==e[w+1]}return f||g?n>9&&b(e)?5:l?2===s?5:2:g?4:3:!x||l||r(e)?2===s?5:2:1}function w(e,n,i,r,o){e.dump=function(){if(0===n.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==l.indexOf(n)||a.test(n)))return 2===e.quotingType?'"'+n+'"':"'"+n+"'";const u=e.indent*Math.max(1,i),f=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-u),h=r||e.flowLevel>-1&&i>=e.flowLevel;switch(v(n,h,e.indent,f,(function(t){return function(e,t){for(let n=0,i=e.implicitTypes.length;n<i;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}),e.quotingType,e.forceQuotes&&!r,o)){case 1:return n;case 2:return"'"+n.replace(/'/g,"''")+"'";case 3:return"|"+x(n,e.indent)+k(d(n,u));case 4:return">"+x(n,e.indent)+k(d(function(e,t){const n=/(\n+)([^\n]*)/g;let i,r,o=function(){let i=e.indexOf("\n");return i=-1!==i?i:e.length,n.lastIndex=i,C(e.slice(0,i),t)}(),s="\n"===e[0]||" "===e[0];for(;r=n.exec(e);){const e=r[1],n=r[2];i=" "===n[0],o+=e+(s||i||""===n?"":"\n")+C(n,t),s=i}return o}(n,f),u));case 5:return'"'+function(e){let t="",n=0;for(let i=0;i<e.length;n>=65536?i+=2:i++){n=y(e,i);const r=s[n];!r&&p(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||c(n)}return t}(n)+'"';default:throw new t("impossible error: invalid scalar style")}}()}function x(e,t){const n=b(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function k(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function C(e,t){if(""===e||" "===e[0])return e;const n=/ [^ ]/g;let i,r,o=0,s=0,l=0,a="";for(;i=n.exec(e);)l=i.index,l-o>t&&(r=s>o?s:l,a+="\n"+e.slice(o,r),o=r+1),s=l;return a+="\n",e.length-o>t&&s>o?a+=e.slice(o,s)+"\n"+e.slice(s+1):a+=e.slice(o),a.slice(1)}function A(e,t,n,i){let r="";const o=e.tag;for(let o=0,s=n.length;o<s;o+=1){let s=n[o];e.replacer&&(s=e.replacer.call(n,String(o),s)),(j(e,t+1,s,!0,!0,!1,!0)||void 0===s&&j(e,t+1,null,!0,!0,!1,!0))&&(i&&""===r||(r+=f(e,t)),e.dump&&10===e.dump.charCodeAt(0)?r+="-":r+="- ",r+=e.dump)}e.tag=o,e.dump=r||"[]"}function S(e,n,o){const s=o?e.explicitTypes:e.implicitTypes;for(let l=0,a=s.length;l<a;l+=1){const a=s[l];if((a.instanceOf||a.predicate)&&(!a.instanceOf||"object"==typeof n&&n instanceof a.instanceOf)&&(!a.predicate||a.predicate(n))){if(o?a.multi&&a.representName?e.tag=a.representName(n):e.tag=a.tag:e.tag="?",a.represent){const o=e.styleMap[a.tag]||a.defaultStyle;let s;if("[object Function]"===i.call(a.represent))s=a.represent(n,o);else{if(!r.call(a.represent,o))throw new t("!<"+a.tag+'> tag resolver accepts not "'+o+'" style');s=a.represent[o](n,o)}e.dump=s}return!0}}return!1}function j(e,n,r,o,s,l,a){e.tag=null,e.dump=r,S(e,r,!1)||S(e,r,!0);const c=i.call(e.dump),u=o;o&&(o=e.flowLevel<0||e.flowLevel>n);const d="[object Object]"===c||"[object Array]"===c;let h,p;if(d&&(h=e.duplicates.indexOf(r),p=-1!==h),(null!==e.tag&&"?"!==e.tag||p||2!==e.indent&&n>0)&&(s=!1),p&&e.usedDuplicates[h])e.dump="*ref_"+h;else{if(d&&p&&!e.usedDuplicates[h]&&(e.usedDuplicates[h]=!0),"[object Object]"===c)o&&0!==Object.keys(e.dump).length?(!function(e,n,i,r){let o="";const s=e.tag,l=Object.keys(i);if(!0===e.sortKeys)l.sort();else if("function"==typeof e.sortKeys)l.sort(e.sortKeys);else if(e.sortKeys)throw new t("sortKeys must be a boolean or a function");for(let t=0,s=l.length;t<s;t+=1){let s="";r&&""===o||(s+=f(e,n));const a=l[t];let c=i[a];if(e.replacer&&(c=e.replacer.call(i,a,c)),!j(e,n+1,a,!0,!0,!0))continue;const u=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024;u&&(e.dump&&10===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,u&&(s+=f(e,n)),j(e,n+1,c,!0,u)&&(e.dump&&10===e.dump.charCodeAt(0)?s+=":":s+=": ",s+=e.dump,o+=s)}e.tag=s,e.dump=o||"{}"}(e,n,e.dump,s),p&&(e.dump="&ref_"+h+e.dump)):(!function(e,t,n){let i="";const r=e.tag,o=Object.keys(n);for(let r=0,s=o.length;r<s;r+=1){let s="";""!==i&&(s+=", "),e.condenseFlow&&(s+='"');const l=o[r];let a=n[l];e.replacer&&(a=e.replacer.call(n,l,a)),j(e,t,l,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),j(e,t,a,!1,!1)&&(s+=e.dump,i+=s))}e.tag=r,e.dump="{"+i+"}"}(e,n,e.dump),p&&(e.dump="&ref_"+h+" "+e.dump));else if("[object Array]"===c)o&&0!==e.dump.length?(e.noArrayIndent&&!a&&n>0?A(e,n-1,e.dump,s):A(e,n,e.dump,s),p&&(e.dump="&ref_"+h+e.dump)):(!function(e,t,n){let i="";const r=e.tag;for(let r=0,o=n.length;r<o;r+=1){let o=n[r];e.replacer&&(o=e.replacer.call(n,String(r),o)),(j(e,t,o,!1,!1)||void 0===o&&j(e,t,null,!1,!1))&&(""!==i&&(i+=","+(e.condenseFlow?"":" ")),i+=e.dump)}e.tag=r,e.dump="["+i+"]"}(e,n,e.dump),p&&(e.dump="&ref_"+h+" "+e.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(e.skipInvalid)return!1;throw new t("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&w(e,e.dump,n,l,u)}if(null!==e.tag&&"?"!==e.tag){let t=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21");t="!"===e.tag[0]?"!"+t:"tag:yaml.org,2002:"===t.slice(0,18)?"!!"+t.slice(18):"!<"+t+">",e.dump=t+" "+e.dump}}return!0}function T(e,t){const n=[],i=[];N(e,n,i);const r=i.length;for(let e=0;e<r;e+=1)t.duplicates.push(n[i[e]]);t.usedDuplicates=new Array(r)}function N(e,t,n){if(null!==e&&"object"==typeof e){const i=t.indexOf(e);if(-1!==i)-1===n.indexOf(i)&&n.push(i);else if(t.push(e),Array.isArray(e))for(let i=0,r=e.length;i<r;i+=1)N(e[i],t,n);else{const i=Object.keys(e);for(let r=0,o=i.length;r<o;r+=1)N(e[i[r]],t,n)}}}return jt.dump=function(e,t){const n=new u(t=t||{});n.noRefs||T(e,n);let i=e;return n.replacer&&(i=n.replacer.call({"":i},"",i)),j(n,0,i,!0,!0)?n.dump+"\n":""},jt}var Nt=function(){if(St)return Xe;St=1;const e=Ct(),t=Tt();function n(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}return Xe.Type=rt(),Xe.Schema=ot(),Xe.FAILSAFE_SCHEMA=ct(),Xe.JSON_SCHEMA=pt(),Xe.CORE_SCHEMA=gt(),Xe.DEFAULT_SCHEMA=kt(),Xe.load=e.load,Xe.loadAll=e.loadAll,Xe.dump=t.dump,Xe.YAMLException=it(),Xe.types={binary:bt(),float:ht(),map:at(),null:ut(),pairs:wt(),set:xt(),timestamp:mt(),bool:dt(),int:ft(),merge:yt(),omap:vt(),seq:lt(),str:st()},Xe.safeLoad=n("safeLoad","load"),Xe.safeLoadAll=n("safeLoadAll","loadAll"),Xe.safeDump=n("safeDump","dump"),Xe}();const Ot=ae(Nt),{Type:Et,Schema:Lt,FAILSAFE_SCHEMA:Dt,JSON_SCHEMA:It,CORE_SCHEMA:Ft,DEFAULT_SCHEMA:Mt,load:Rt,loadAll:Ht,dump:Wt,YAMLException:Bt,types:Vt,safeLoad:$t,safeLoadAll:Pt,safeDump:Gt}=Ot,_t=i;var zt,Ut;function qt(e,t){return"yaml"===t?Wt(e,{indent:2,lineWidth:-1,noRefs:!0}).trimEnd():JSON.stringify(e,null,2)}function Yt(e,t){return function(e,t,n="json"){const i=qt(e,n);return i===qt(t,n)?[{value:i}]:Jt(e,t,0,n)}(e,t,"json")}function Jt(e,t,n,i="json"){const r=qt(e,i),o=qt(t,i);return r===o?[{value:Kt(r,n,i)}]:"object"!=typeof e||null===e||"object"!=typeof t||null===t||Array.isArray(e)||Array.isArray(t)?Array.isArray(e)&&Array.isArray(t)?function(e,t,n,i="json"){const r=[],o=" ".repeat(n),s=" ".repeat(n+1);r.push({value:"[\n"});const l=Math.max(e.length,t.length);for(let o=0;o<l;o++){const a=o===l-1?"":",";if(o>=e.length){const e=Kt(qt(t[o],i),n+1);r.push({added:!0,value:s+e+a+"\n"})}else if(o>=t.length){const t=Kt(qt(e[o],i),n+1);r.push({removed:!0,value:s+t+a+"\n"})}else{const l=qt(e[o],i);if(l===qt(t[o],i)){const e=Kt(l,n+1);r.push({value:s+e+a+"\n"})}else{const l=Jt(e[o],t[o],n+1,i);if(l.length>0&&(l[0].value=s+l[0].value),a&&l.length>0){const e=l[l.length-1];e.value=e.value.replace(/\n$/,a+"\n")}r.push(...l)}}}return r.push({value:o+"]\n"}),r}(e,t,n,i):function(e,t,n){const i=Kt(e,n),r=Kt(t,n),o=E(i,r);return o.map((e=>({value:e.value,added:e.added,removed:e.removed})))}(r,o,n,i):function(e,t,n,i="json"){const r=[],o=" ".repeat(n),s=" ".repeat(n+1),l=new Set(Object.keys(e)),a=Object.keys(t),c=[...l].filter((e=>!(e in t))),u=[...a,...c];r.push({value:"{\n"});for(let o=0;o<u.length;o++){const l=u[o],a=o===u.length-1?"":",",c=l in e;if(c&&l in t){const o=qt(e[l],i);if(o===qt(t[l],i)){const e=Kt(o,n+1);r.push({value:s+JSON.stringify(l)+": "+e+a+"\n"})}else{const o=s+JSON.stringify(l)+": ",c=Jt(e[l],t[l],n+1,i);if(c.length>0)if(c[0].removed||c[0].added){const e=c.find((e=>e.removed)),t=c.find((e=>e.added));e&&(e.value=o+e.value),t&&(t.value=o+t.value)}else c[0].value=o+c[0].value;if(a&&c.length>0){const e=c[c.length-1];e.value=e.value.replace(/\n$/,a+"\n")}r.push(...c)}}else if(c){const t=Kt(qt(e[l],i),n+1);r.push({removed:!0,value:s+JSON.stringify(l)+": "+t+a+"\n"})}else{const e=Kt(qt(t[l],i),n+1);r.push({added:!0,value:s+JSON.stringify(l)+": "+e+a+"\n"})}}return r.push({value:o+"}\n"}),r}(e,t,n,i)}function Kt(e,t,n="json"){if(0===t)return e;const i=" ".repeat(t);return e.split("\n").map(((e,t)=>0===t?e:i+e)).join("\n")}!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ADDED=1]="ADDED",e[e.REMOVED=2]="REMOVED",e[e.CHANGED=3]="CHANGED"}(zt||(zt={})),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"}(Ut||(Ut={}));const Zt=e=>{if(""===e)return[];return e.replace(/\n$/,"").split("\n")},Qt=(e,t,n=Ut.CHARS)=>{const i=("string"==typeof n?_t[n]:n)(e,t),r={left:[],right:[]};return i.forEach((({added:e,removed:t,value:n})=>{if(e)r.right.push({type:zt.ADDED,value:n});else if(t)r.left.push({type:zt.REMOVED,value:n});else{const e={type:zt.DEFAULT,value:n};r.right.push(e),r.left.push(e)}})),r},Xt=(e,t,n=!1,i=Ut.CHARS,r=0,o=[],s=!1)=>{let l=[];if("string"==typeof e&&"string"==typeof t)if(i===Ut.JSON)l=function(e,t){try{const n=JSON.parse(e),i=JSON.parse(t);return JSON.stringify(n)===JSON.stringify(i)?[{value:e}]:E(e,t,{newlineIsToken:!1})}catch(n){return E(e,t,{newlineIsToken:!1})}}(e,t);else if(i===Ut.YAML)try{l=function(e,t){const n=Rt(e),i=Rt(t);return Wt(n,{indent:2,lineWidth:-1,noRefs:!0})===Wt(i,{indent:2,lineWidth:-1,noRefs:!0})?[{value:e}]:E(e,t,{newlineIsToken:!1})}(e,t)}catch(n){l=E(e,t,{newlineIsToken:!1})}else l=E(e,t,{newlineIsToken:!1});else l=Yt(e,t);let a=r,c=r,u=[],d=0;const f=[],h=[],p=(e,t,r,u,g)=>Zt(e).map(((e,m)=>{const y={},b={};if(!(h.includes(`${t}-${m}`)||g&&0!==m)){if(r||u){let r=!0;if(u){c+=1,y.lineNumber=c,y.type=zt.REMOVED,y.value=e||" ";const o=l[t+1];if(o?.added){const l=Zt(o.value)[m];if(l){const o=p(l,t,!0,!1,!0),{value:a,lineNumber:c,type:u}=o[0].right;if(h.push(`${t+1}-${m}`),b.lineNumber=c,y.value===a)r=!1,b.type=0,y.type=0,b.value=a;else{b.type=u;const t=500,r=e.length>t||a.length>t;if(n||r)b.value=a;else if(s)y.rawValue=e,y.value=e,b.rawValue=a,b.value=a;else{const t=Qt(e,a,i);b.value=t.right,y.value=t.left}}}}}else a+=1,b.lineNumber=a,b.type=zt.ADDED,b.value=e;r&&!g&&(f.includes(d)||f.push(d))}else c+=1,a+=1,y.lineNumber=c,y.type=zt.DEFAULT,y.value=e,b.lineNumber=a,b.type=zt.DEFAULT,b.value=e;return(o?.includes(`L-${y.lineNumber}`)||o?.includes(`R-${b.lineNumber}`)&&!f.includes(d))&&f.push(d),g||(d+=1),{right:b,left:y}}})).filter((e=>null!=e));return l.forEach((({added:e,removed:t,value:n},i)=>{u=[...u,...p(n,i,e,t)]})),{lineInformation:u,diffLines:f}};let en=null,tn=null;const nn=async(e,t,i=!1,r=Ut.CHARS,o=0,s=[],l=!1,a=!1)=>{const c=()=>Xt(e,t,i,r,o,s,l);if(a)return Promise.resolve(c());const u=await(async()=>{if(null!==en)return en;if(!1===tn)return null;if("undefined"==typeof Worker||"undefined"==typeof Blob||"undefined"==typeof URL)return tn=!1,null;try{const{WORKER_CODE:e}=await n.e(74251).then(n.bind(n,74251)),t=new Blob([e],{type:"application/javascript"});en=URL.createObjectURL(t),tn=!0}catch{tn=!1,en=null}return en})();return u?new Promise((n=>{let a;try{a=new Worker(u)}catch{return tn=!1,void n(c())}a.onmessage=e=>{n(e.data),a.terminate()},a.onerror=()=>{tn=!1,a.terminate(),n(c())},a.postMessage({oldString:e,newString:t,disableWordDiff:i,lineCompareMethod:r,linesOffset:o,showLines:s,deferWordDiff:l})})):Promise.resolve(c())};function rn(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",children:[(0,r.jsx)("title",{children:"expand"}),(0,r.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"})]})}var on=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?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=void 0===e.speedy||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(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),sn=Math.abs,ln=String.fromCharCode,an=Object.assign;function cn(e){return e.trim()}function un(e,t,n){return e.replace(t,n)}function dn(e,t){return e.indexOf(t)}function fn(e,t){return 0|e.charCodeAt(t)}function hn(e,t,n){return e.slice(t,n)}function pn(e){return e.length}function gn(e){return e.length}function mn(e,t){return t.push(e),e}var yn=1,bn=1,vn=0,wn=0,xn=0,kn="";function Cn(e,t,n,i,r,o,s){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:yn,column:bn,length:s,return:""}}function An(e,t){return an(Cn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Sn(){return xn=wn>0?fn(kn,--wn):0,bn--,10===xn&&(bn=1,yn--),xn}function jn(){return xn=wn<vn?fn(kn,wn++):0,bn++,10===xn&&(bn=1,yn++),xn}function Tn(){return fn(kn,wn)}function Nn(){return wn}function On(e,t){return hn(kn,e,t)}function En(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 Ln(e){return yn=bn=1,vn=pn(kn=e),wn=0,[]}function Dn(e){return kn="",e}function In(e){return cn(On(wn-1,Rn(91===e?e+2:40===e?e+1:e)))}function Fn(e){for(;(xn=Tn())&&xn<33;)jn();return En(e)>2||En(xn)>3?"":" "}function Mn(e,t){for(;--t&&jn()&&!(xn<48||xn>102||xn>57&&xn<65||xn>70&&xn<97););return On(e,Nn()+(t<6&&32==Tn()&&32==jn()))}function Rn(e){for(;jn();)switch(xn){case e:return wn;case 34:case 39:34!==e&&39!==e&&Rn(xn);break;case 40:41===e&&Rn(e);break;case 92:jn()}return wn}function Hn(e,t){for(;jn()&&e+xn!==57&&(e+xn!==84||47!==Tn()););return"/*"+On(t,wn-1)+"*"+ln(47===e?e:jn())}function Wn(e){for(;!En(Tn());)jn();return On(e,wn)}var Bn="-ms-",Vn="-moz-",$n="-webkit-",Pn="comm",Gn="rule",_n="decl",zn="@keyframes";function Un(e,t){for(var n="",i=gn(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function qn(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _n:return e.return=e.return||e.value;case Pn:return"";case zn:return e.return=e.value+"{"+Un(e.children,i)+"}";case Gn:e.value=e.props.join(",")}return pn(n=Un(e.children,i))?e.return=e.value+"{"+n+"}":""}function Yn(e){return Dn(Jn("",null,null,null,[""],e=Ln(e),0,[0],e))}function Jn(e,t,n,i,r,o,s,l,a){for(var c=0,u=0,d=s,f=0,h=0,p=0,g=1,m=1,y=1,b=0,v="",w=r,x=o,k=i,C=v;m;)switch(p=b,b=jn()){case 40:if(108!=p&&58==fn(C,d-1)){-1!=dn(C+=un(In(b),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:C+=In(b);break;case 9:case 10:case 13:case 32:C+=Fn(p);break;case 92:C+=Mn(Nn()-1,7);continue;case 47:switch(Tn()){case 42:case 47:mn(Zn(Hn(jn(),Nn()),t,n),a);break;default:C+="/"}break;case 123*g:l[c++]=pn(C)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==y&&(C=un(C,/\f/g,"")),h>0&&pn(C)-d&&mn(h>32?Qn(C+";",i,n,d-1):Qn(un(C," ","")+";",i,n,d-2),a);break;case 59:C+=";";default:if(mn(k=Kn(C,t,n,c,u,r,l,v,w=[],x=[],d),o),123===b)if(0===u)Jn(C,t,k,k,w,o,d,l,x);else switch(99===f&&110===fn(C,3)?100:f){case 100:case 108:case 109:case 115:Jn(e,k,k,i&&mn(Kn(e,k,k,0,0,r,l,v,r,w=[],d),x),r,x,d,l,i?w:x);break;default:Jn(C,k,k,k,[""],x,0,l,x)}}c=u=h=0,g=y=1,v=C="",d=s;break;case 58:d=1+pn(C),h=p;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Sn())continue;switch(C+=ln(b),b*g){case 38:y=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(pn(C)-1)*y,y=1;break;case 64:45===Tn()&&(C+=In(jn())),f=Tn(),u=d=pn(v=C+=Wn(Nn())),b++;break;case 45:45===p&&2==pn(C)&&(g=0)}}return o}function Kn(e,t,n,i,r,o,s,l,a,c,u){for(var d=r-1,f=0===r?o:[""],h=gn(f),p=0,g=0,m=0;p<i;++p)for(var y=0,b=hn(e,d+1,d=sn(g=s[p])),v=e;y<h;++y)(v=cn(g>0?f[y]+" "+b:un(b,/&\f/g,f[y])))&&(a[m++]=v);return Cn(e,t,n,0===r?Gn:l,a,c,u)}function Zn(e,t,n){return Cn(e,t,n,Pn,ln(xn),hn(e,2,-2),0)}function Qn(e,t,n,i){return Cn(e,t,n,_n,hn(e,0,i),hn(e,i+1,-1),i)}var Xn=function(e,t,n){for(var i=0,r=0;i=r,r=Tn(),38===i&&12===r&&(t[n]=1),!En(r);)jn();return On(e,wn)},ei=function(e,t){return Dn(function(e,t){var n=-1,i=44;do{switch(En(i)){case 0:38===i&&12===Tn()&&(t[n]=1),e[n]+=Xn(wn-1,t,n);break;case 2:e[n]+=In(i);break;case 4:if(44===i){e[++n]=58===Tn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ln(i)}}while(i=jn());return e}(Ln(e),t))},ti=new WeakMap,ni=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ti.get(n))&&!i){ti.set(e,!0);for(var r=[],o=ei(t,r),s=n.props,l=0,a=0;l<o.length;l++)for(var c=0;c<s.length;c++,a++)e.props[a]=r[l]?o[l].replace(/&\f/g,s[c]):s[c]+" "+o[l]}}},ii=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ri(e,t){switch(function(e,t){return 45^fn(e,0)?(((t<<2^fn(e,0))<<2^fn(e,1))<<2^fn(e,2))<<2^fn(e,3):0}(e,t)){case 5103:return $n+"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 $n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $n+e+Vn+e+Bn+e+e;case 6828:case 4268:return $n+e+Bn+e+e;case 6165:return $n+e+Bn+"flex-"+e+e;case 5187:return $n+e+un(e,/(\w+).+(:[^]+)/,$n+"box-$1$2"+Bn+"flex-$1$2")+e;case 5443:return $n+e+Bn+"flex-item-"+un(e,/flex-|-self/,"")+e;case 4675:return $n+e+Bn+"flex-line-pack"+un(e,/align-content|flex-|-self/,"")+e;case 5548:return $n+e+Bn+un(e,"shrink","negative")+e;case 5292:return $n+e+Bn+un(e,"basis","preferred-size")+e;case 6060:return $n+"box-"+un(e,"-grow","")+$n+e+Bn+un(e,"grow","positive")+e;case 4554:return $n+un(e,/([^-])(transform)/g,"$1"+$n+"$2")+e;case 6187:return un(un(un(e,/(zoom-|grab)/,$n+"$1"),/(image-set)/,$n+"$1"),e,"")+e;case 5495:case 3959:return un(e,/(image-set\([^]*)/,$n+"$1$`$1");case 4968:return un(un(e,/(.+:)(flex-)?(.*)/,$n+"box-pack:$3"+Bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$n+e+e;case 4095:case 3583:case 4068:case 2532:return un(e,/(.+)-inline(.+)/,$n+"$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(pn(e)-1-t>6)switch(fn(e,t+1)){case 109:if(45!==fn(e,t+4))break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+$n+"$2-$3$1"+Vn+(108==fn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~dn(e,"stretch")?ri(un(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==fn(e,t+1))break;case 6444:switch(fn(e,pn(e)-3-(~dn(e,"!important")&&10))){case 107:return un(e,":",":"+$n)+e;case 101:return un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$n+(45===fn(e,14)?"inline-":"")+"box$3$1"+$n+"$2$3$1"+Bn+"$2box$3")+e}break;case 5936:switch(fn(e,t+11)){case 114:return $n+e+Bn+un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $n+e+Bn+un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $n+e+Bn+un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $n+e+Bn+e+e}return e}var oi=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case _n:e.return=ri(e.value,e.length);break;case zn:return Un([An(e,{value:un(e.value,"@","@"+$n)})],i);case Gn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Un([An(e,{props:[un(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return Un([An(e,{props:[un(t,/:(plac\w+)/,":"+$n+"input-$1")]}),An(e,{props:[un(t,/:(plac\w+)/,":-moz-$1")]}),An(e,{props:[un(t,/:(plac\w+)/,Bn+"input-$1")]})],i)}return""}))}}],si=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,r,o=e.stylisPlugins||oi,s={},l=[];i=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++)s[t[n]]=!0;l.push(e)}));var a,c,u,d,f=[qn,(d=function(e){a.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[ni,ii].concat(o,f),u=gn(c),function(e,t,n,i){for(var r="",o=0;o<u;o++)r+=c[o](e,t,n,i)||"";return r});r=function(e,t,n,i){a=n,function(e){Un(Yn(e),h)}(e?e+"{"+t.styles+"}":t.styles),i&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new on({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return p.sheet.hydrate(l),p};var li={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};function ai(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ci=/[A-Z]|^ms/g,ui=/_EMO_([^_]+?)_([^]*?)_EMO_/g,di=function(e){return 45===e.charCodeAt(1)},fi=function(e){return null!=e&&"boolean"!=typeof e},hi=ai((function(e){return di(e)?e:e.replace(ci,"-$&").toLowerCase()})),pi=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ui,(function(e,t,n){return mi={name:t,styles:n,next:mi},t}))}return 1===li[e]||di(e)||"number"!=typeof t||0===t?t:t+"px"};function gi(e,t,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return mi={name:r.name,styles:r.styles,next:mi},r.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)mi={name:s.name,styles:s.styles,next:mi},s=s.next;return o.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=gi(e,t,n[r])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var l=s;null!=t&&void 0!==t[l]?i+=o+"{"+t[l]+"}":fi(l)&&(i+=hi(o)+":"+pi(o,l)+";")}else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=gi(e,t,s);switch(o){case"animation":case"animationName":i+=hi(o)+":"+a+";";break;default:i+=o+"{"+a+"}"}}else for(var c=0;c<s.length;c++)fi(s[c])&&(i+=hi(o)+":"+pi(o,s[c])+";")}return i}(e,t,n);case"function":if(void 0!==e){var l=mi,a=n(e);return mi=l,gi(e,t,a)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var mi,yi=/label:\s*([^\s;{]+)\s*(;|$)/g;function bi(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,r="";mi=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,r+=gi(n,t,o)):r+=o[0];for(var s=1;s<e.length;s++){if(r+=gi(n,t,e[s]),i)r+=o[s]}yi.lastIndex=0;for(var l,a="";null!==(l=yi.exec(r));)a+="-"+l[1];var c=function(e){for(var t,n=0,i=0,r=e.length;r>=4;++i,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+a;return{name:c,styles:r,next:mi}}function vi(e,t,n){var i="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(i+=n+" ")})),i}function wi(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function xi(e,t,n){var i=[],r=vi(e,i,n);return i.length<2?n:r+t(i)}var ki=function e(t){for(var n="",i=0;i<t.length;i++){var r=t[i];if(null!=r){var o=void 0;switch(typeof r){case"boolean":break;case"object":if(Array.isArray(r))o=e(r);else for(var s in o="",r)r[s]&&s&&(o&&(o+=" "),o+=s);break;default:o=r}o&&(n&&(n+=" "),n+=o)}}return n};const Ci=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"}),Ai=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"}),Si=(e,t=!1,n="")=>{const{variables:i={},...r}=e,o={light:{...Ci,...i.light||{}},dark:{...Ai,...i.dark||{}}},s=t?o.dark:o.light,{css:l,cx:a}=function(e){var t=si(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=bi(n,t.registered,void 0);return function(e,t){!function(e,t,n){var i=e.key+"-"+t.name;!1===n&&void 0===e.registered[i]&&(e.registered[i]=t.styles)}(e,t,!1);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(t,r),t.key+"-"+r.name};return{css:n,cx:function(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];return xi(t.registered,n,ki(i))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=bi(n,t.registered);wi(t,r)},keyframes:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=bi(n,t.registered),o="animation-"+r.name;return wi(t,{name:r.name,styles:"@keyframes "+o+"{"+r.styles+"}"}),o},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:vi.bind(null,t.registered),merge:xi.bind(null,t.registered,n)}}({key:"react-diff",nonce:n}),c=l({width:"auto",overflow:"hidden",padding:0,label:"content"}),u=l({label:"split-view"}),d=l({position:"sticky",top:0,zIndex:2,label:"sticky-header"}),f=l({background:s.diffViewerTitleBackground,color:s.diffViewerTitleColor,padding:"0.5em 1em",display:"flex",alignItems:"center",gap:"0.5em",fontFamily:"monospace",fontSize:12,fill:s.diffViewerTitleColor}),h=l({display:"flex",label:"column-headers"}),p=l({width:"100%",minWidth:"1000px",overflowX:"auto",tableLayout:"fixed",fontSize:12,background:s.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"}}),g=l({overflow:"hidden",width:"100%"}),m=l({color:s.diffViewerColor,whiteSpace:"pre-wrap",fontFamily:"monospace",lineBreak:"anywhere",textDecoration:"none",label:"content-text"}),y=l({display:"flex",alignItems:"baseline",label:"content-flex"}),b=l({whiteSpace:"pre",wordBreak:"keep-all",flex:"0 0 auto",label:"line-indent"}),v=l({flex:"1 1 auto",minWidth:0,label:"line-body"}),w=l({userSelect:"none",label:"unselectable"}),x=l({label:"no-wrap",pre:{whiteSpace:"pre"},[`.${m}`]:{whiteSpace:"pre",lineBreak:"auto"}}),k=l({background:"transparent",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",margin:0,label:"all-expand-button",":hover":{fill:s.addedGutterColor},":focus":{outline:`1px ${s.addedGutterColor} solid`}}),C=l({background:s.diffViewerTitleBackground,padding:"0.5em",lineHeight:"1.4em",height:"2.4em",overflow:"hidden",width:"50%",borderBottom:`1px solid ${s.diffViewerTitleBorderColor}`,boxSizing:"border-box",fontSize:12,label:"title-block",":only-child":{width:"100%"},":last-child:not(:only-child)":{borderLeft:`1px solid ${s.diffViewerTitleBorderColor}`},[`.${m}`]:{color:s.diffViewerTitleColor}}),A=l({color:s.gutterColor,label:"line-number"}),S=l({background:s.removedBackground,color:s.removedColor,pre:{color:s.removedColor},[`.${A}`]:{color:s.removedGutterColor},label:"diff-removed"}),j=l({background:s.addedBackground,color:s.addedColor,pre:{color:s.addedColor},[`.${A}`]:{color:s.addedGutterColor},label:"diff-added"}),T=l({background:s.changedBackground,[`.${A}`]:{color:s.gutterColor},label:"diff-changed"}),N=l({display:"inline",textDecoration:"none",label:"word-diff"}),O=l({background:s.wordAddedBackground,label:"word-added"}),E=l({background:s.wordRemovedBackground,label:"word-removed"}),L=l({backgroundColor:s.codeFoldGutterBackground,label:"code-fold-gutter",minWidth:"50px",width:"50px",padding:0,textAlign:"center",fill:s.codeFoldContentColor}),D=l({padding:0,overflow:"hidden","&&&":{verticalAlign:"middle"},label:"code-fold-content-container"}),I=l({background:s.codeFoldBackground,cursor:"pointer",display:"block",margin:0,padding:0,border:"none",font:"inherit",lineHeight:"inherit",textAlign:"left",fill:s.codeFoldContentColor,label:"code-fold-expand-button"}),F=l({color:s.codeFoldContentColor,fontFamily:"monospace",label:"code-fold-content"}),M=l({display:"block",width:"10px",height:"10px",backgroundColor:"#ddd",borderWidth:"1px",borderStyle:"solid",borderColor:s.diffViewerTitleBorderColor}),R=l({backgroundColor:s.wordAddedBackground}),H=l({backgroundColor:s.wordRemovedBackground}),W=l({backgroundColor:s.codeFoldBackground,fontSize:12,alignItems:"center",userSelect:"none",fontWeight:700,cursor:"pointer",label:"code-fold","& td":{paddingTop:0,paddingBottom:0},"&:hover":{color:s.diffViewerColor,fill:s.diffViewerColor,"& *":{color:s.diffViewerColor,fill:s.diffViewerColor}},a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),B=l({backgroundColor:s.emptyLineBackground,label:"empty-line"}),V=l({width:28,paddingLeft:10,paddingRight:10,paddingTop:0,paddingBottom:0,userSelect:"none",label:"marker",[`&.${j}`]:{pre:{color:s.addedColor}},[`&.${S}`]:{pre:{color:s.removedColor}}}),$=l({background:s.highlightBackground,label:"highlighted-line",[`.${O}, .${E}`]:{backgroundColor:"initial"}}),P=l({label:"highlighted-gutter"}),G=l({userSelect:"none",minWidth:50,width:"50px",padding:"0 10px",whiteSpace:"nowrap",label:"gutter",textAlign:"center",color:s.gutterColor,background:s.gutterBackground,"&:hover":{cursor:"pointer",background:s.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5,textAlign:"center",width:"100%"},[`&.${j}`]:{background:s.addedGutterBackground},[`&.${S}`]:{background:s.removedGutterBackground},[`&.${P}`]:{background:s.highlightGutterBackground,"&:hover":{background:s.highlightGutterBackground}}}),_=l({"&:hover":{background:s.gutterBackground,cursor:"initial"},label:"empty-gutter"}),z={diffContainer:p,diffRemoved:S,diffAdded:j,diffChanged:T,splitView:u,marker:V,highlightedGutter:P,highlightedLine:$,gutter:G,line:l({verticalAlign:"baseline",label:"line",textDecoration:"none",backgroundColor:"transparent",fontSize:12}),lineContent:g,wordDiff:N,wordAdded:O,summary:f,block:M,blockAddition:R,blockDeletion:H,wordRemoved:E,noSelect:w,noWrap:x,codeFoldGutter:L,codeFoldExpandButton:I,codeFoldContentContainer:D,codeFold:W,emptyGutter:_,emptyLine:B,lineNumber:A,contentText:m,contentFlex:y,lineIndent:b,lineBody:v,content:c,column:l({}),codeFoldContent:F,stickyHeader:d,columnHeaders:h,titleBlock:C,allExpandButton:k},U=Object.keys(r).reduce(((e,t)=>({...e,[t]:l(r[t])})),{});return Object.keys(z).reduce(((e,t)=>({...e,[t]:U[t]?a(z[t],U[t]):z[t]})),{})};function ji(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",children:[(0,r.jsx)("title",{children:"fold"}),(0,r.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 Ti=n(25564);const Ni=["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"],Oi={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 Ei(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function Li(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Di(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||Ei(e)}var Ii=n(96206);const Fi=["","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 Mi(e,t){const n=t||{},i="string"==typeof n.additional?n.additional.charCodeAt(0):n.additional,r=[];let o,s,l=0,a=-1,c="";n.position&&("start"in n.position||"indent"in n.position?(s=n.position.indent,o=n.position.start):o=n.position);let u,d=(o?o.line:0)||1,f=(o?o.column:0)||1,h=g();for(l--;++l<=e.length;)if(10===u&&(f=(s?s[a]:0)||1),u=e.charCodeAt(l),38===u){const t=e.charCodeAt(l+1);if(9===t||10===t||12===t||32===t||38===t||60===t||Number.isNaN(t)||i&&t===i){c+=String.fromCharCode(u),f++;continue}const o=l+1;let s,a=o,d=o;if(35===t){d=++a;const t=e.charCodeAt(d);88===t||120===t?(s="hexadecimal",d=++a):s="decimal"}else s="named";let b="",v="",w="";const x="named"===s?Di:"decimal"===s?Ei:Li;for(d--;++d<=e.length;){const t=e.charCodeAt(d);if(!x(t))break;w+=String.fromCharCode(t),"named"===s&&Ni.includes(w)&&(b=w,v=(0,Ii.s)(w))}let k=59===e.charCodeAt(d);if(k){d++;const e="named"===s&&(0,Ii.s)(w);e&&(b=w,v=e)}let C=1+d-o,A="";if(k||!1!==n.nonTerminated)if(w)if("named"===s){if(k&&!v)m(5,1);else if(b!==w&&(d=a+b.length,C=1+d-a,k=!1),!k){const t=b?1:3;if(n.attribute){const n=e.charCodeAt(d);61===n?(m(t,C),v=""):Di(n)?v="":m(t,C)}else m(t,C)}A=v}else{k||m(2,C);let e=Number.parseInt(w,"hexadecimal"===s?16:10);if((p=e)>=55296&&p<=57343||p>1114111)m(7,C),A=String.fromCharCode(65533);else if(e in Oi)m(6,C),A=Oi[e];else{let t="";Ri(e)&&m(6,C),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),A=t+String.fromCharCode(e)}}else"named"!==s&&m(4,C);else;if(A){y(),h=g(),l=d-1,f+=d-o+1,r.push(A);const t=g();t.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,A,{start:h,end:t},e.slice(o-1,d)),h=t}else w=e.slice(o-1,d),c+=w,f+=w.length,l=d-1}else 10===u&&(d++,a++,f=0),Number.isNaN(u)?y():(c+=String.fromCharCode(u),f++);var p;return r.join("");function g(){return{line:d,column:f,offset:l+((o?o.offset:0)||0)}}function m(e,t){let i;n.warning&&(i=g(),i.column+=t,i.offset+=t,n.warning.call(n.warningContext||void 0,Fi[e],i,e))}function y(){c&&(r.push(c),n.text&&n.text.call(n.textContext||void 0,c,{start:h,end:g()}),c="")}}function Ri(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}var Hi=0,Wi={},Bi={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Hi}),e.__id},clone:function e(t,n){var i,r;switch(n=n||{},Bi.util.type(t)){case"Object":if(r=Bi.util.objId(t),n[r])return n[r];for(var o in i={},n[r]=i,t)t.hasOwnProperty(o)&&(i[o]=e(t[o],n));return i;case"Array":return r=Bi.util.objId(t),n[r]?n[r]:(i=[],n[r]=i,t.forEach((function(t,r){i[r]=e(t,n)})),i);default:return t}}},languages:{plain:Wi,plaintext:Wi,text:Wi,txt:Wi,extend:function(e,t){var n=Bi.util.clone(Bi.languages[e]);for(var i in t)n[i]=t[i];return n},insertBefore:function(e,t,n,i){var r=(i=i||Bi.languages)[e],o={};for(var s in r)if(r.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(s)||(o[s]=r[s])}var a=i[e];return i[e]=o,Bi.languages.DFS(Bi.languages,(function(t,n){n===a&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,i,r){r=r||{};var o=Bi.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],i||s);var l=t[s],a=Bi.util.type(l);"Object"!==a||r[o(l)]?"Array"!==a||r[o(l)]||(r[o(l)]=!0,e(l,n,s,r)):(r[o(l)]=!0,e(l,n,null,r))}}},plugins:{},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};if(Bi.hooks.run("before-tokenize",i),!i.grammar)throw new Error('The language "'+i.language+'" has no grammar.');return i.tokens=Bi.tokenize(i.code,i.grammar),Bi.hooks.run("after-tokenize",i),Vi.stringify(Bi.util.encode(i.tokens),i.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var i in n)t[i]=n[i];delete t.rest}var r=new Gi;return _i(r,r.head,e),Pi(e,r,t,r.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=Bi.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=Bi.hooks.all[e];if(n&&n.length)for(var i,r=0;i=n[r++];)i(t)}},Token:Vi};function Vi(e,t,n,i){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length}function $i(e,t,n,i){e.lastIndex=t;var r=e.exec(n);if(r&&i&&r[1]){var o=r[1].length;r.index+=o,r[0]=r[0].slice(o)}return r}function Pi(e,t,n,i,r,o){for(var s in n)if(n.hasOwnProperty(s)&&n[s]){var l=n[s];l=Array.isArray(l)?l:[l];for(var a=0;a<l.length;++a){if(o&&o.cause==s+","+a)return;var c=l[a],u=c.inside,d=!!c.lookbehind,f=!!c.greedy,h=c.alias;if(f&&!c.pattern.global){var p=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,p+"g")}for(var g=c.pattern||c,m=i.next,y=r;m!==t.tail&&!(o&&y>=o.reach);y+=m.value.length,m=m.next){var b=m.value;if(t.length>e.length)return;if(!(b instanceof Vi)){var v,w=1;if(f){if(!(v=$i(g,y,e,d))||v.index>=e.length)break;var x=v.index,k=v.index+v[0].length,C=y;for(C+=m.value.length;x>=C;)C+=(m=m.next).value.length;if(y=C-=m.value.length,m.value instanceof Vi)continue;for(var A=m;A!==t.tail&&(C<k||"string"==typeof A.value);A=A.next)w++,C+=A.value.length;w--,b=e.slice(y,C),v.index-=y}else if(!(v=$i(g,0,b,d)))continue;x=v.index;var S=v[0],j=b.slice(0,x),T=b.slice(x+S.length),N=y+b.length;o&&N>o.reach&&(o.reach=N);var O=m.prev;if(j&&(O=_i(t,O,j),y+=j.length),zi(t,O,w),m=_i(t,O,new Vi(s,u?Bi.tokenize(S,u):S,h,S)),T&&_i(t,m,T),w>1){var E={cause:s+","+a,reach:N};Pi(e,t,n,m.prev,y,E),o&&E.reach>o.reach&&(o.reach=E.reach)}}}}}}function Gi(){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 _i(e,t,n){var i=t.next,r={value:n,prev:t,next:i};return t.next=r,i.prev=r,e.length++,r}function zi(e,t,n){for(var i=t.next,r=0;r<n&&i!==e.tail;r++)i=i.next;t.next=i,i.prev=t,e.length-=r}const Ui=Bi;function qi(){}qi.prototype=Ui;const Yi=new qi;Yi.highlight=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `string` for `value`, got `"+e+"`");let n,i;if(t&&"object"==typeof t)n=t;else{if(i=t,"string"!=typeof i)throw new TypeError("Expected `string` for `name`, got `"+i+"`");if(!Object.hasOwn(Yi.languages,i))throw new Error("Unknown language: `"+i+"` is not registered");n=Yi.languages[i]}return{type:"root",children:Ui.highlight.call(Yi,e,n,i)}},Yi.register=function(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `syntax`, got `"+e+"`");Object.hasOwn(Yi.languages,e.displayName)||e(Yi)},Yi.alias=function(e,t){const n=Yi.languages;let i,r={};"string"==typeof e?t&&(r[e]=t):r=e;for(i in r)if(Object.hasOwn(r,i)){const e=r[i],t="string"==typeof e?[e]:e;let o=-1;for(;++o<t.length;)n[t[o]]=n[i]}},Yi.registered=function(e){if("string"!=typeof e)throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return Object.hasOwn(Yi.languages,e)},Yi.listLanguages=function(){const e=Yi.languages,t=[];let n;for(n in e)Object.hasOwn(e,n)&&"object"==typeof e[n]&&t.push(n);return t},Yi.util.encode=function(e){return e},Yi.Token.stringify=function e(t,n){if("string"==typeof t)return{type:"text",value:t};if(Array.isArray(t)){const i=[];let r=-1;for(;++r<t.length;)null!==t[r]&&void 0!==t[r]&&""!==t[r]&&i.push(e(t[r],n));return i}const i={attributes:{},classes:["token",t.type],content:e(t.content,n),language:n,tag:"span",type:t.type};t.alias&&i.classes.push(..."string"==typeof t.alias?[t.alias]:t.alias);return Yi.hooks.run("wrap",i),(0,Ti.h)(i.tag+"."+i.classes.join("."),function(e){let t;for(t in e)Object.hasOwn(e,t)&&(e[t]=Mi(e[t]));return e}(i.attributes),i.content)};const Ji={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"},Ki={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"},Zi=(e,t)=>{for(let n=t.length-1;n>=0;n--){const i=t[n];if("token"!==i&&e[i])return e[i]}return e.default},Qi={arduino:()=>n.e(32503).then(n.bind(n,32503)),bash:()=>n.e(77801).then(n.bind(n,77801)),basic:()=>n.e(50681).then(n.bind(n,50681)),c:()=>n.e(42618).then(n.bind(n,42618)),clike:()=>n.e(63493).then(n.bind(n,63493)),cpp:()=>n.e(77890).then(n.bind(n,77890)),csharp:()=>n.e(61624).then(n.bind(n,61624)),css:()=>n.e(22284).then(n.bind(n,22284)),diff:()=>n.e(98636).then(n.bind(n,98636)),go:()=>n.e(42969).then(n.bind(n,42969)),ini:()=>n.e(8485).then(n.bind(n,8485)),java:()=>n.e(54855).then(n.bind(n,54855)),javascript:()=>n.e(29848).then(n.bind(n,29848)),json:()=>n.e(86133).then(n.bind(n,86133)),kotlin:()=>n.e(12718).then(n.bind(n,12718)),less:()=>n.e(38066).then(n.bind(n,38066)),lua:()=>n.e(25705).then(n.bind(n,25705)),makefile:()=>n.e(50603).then(n.bind(n,50603)),markdown:()=>n.e(22354).then(n.bind(n,22354)),markup:()=>n.e(1387).then(n.bind(n,1387)),"markup-templating":()=>n.e(74933).then(n.bind(n,74933)),objectivec:()=>n.e(23575).then(n.bind(n,23575)),perl:()=>n.e(65402).then(n.bind(n,65402)),php:()=>n.e(27311).then(n.bind(n,27311)),python:()=>n.e(48645).then(n.bind(n,48645)),r:()=>n.e(69465).then(n.bind(n,69465)),regex:()=>n.e(2188).then(n.bind(n,2188)),ruby:()=>n.e(99359).then(n.bind(n,99359)),rust:()=>n.e(6425).then(n.bind(n,6425)),sass:()=>n.e(95409).then(n.bind(n,95409)),scss:()=>n.e(84899).then(n.bind(n,84899)),sql:()=>n.e(69395).then(n.bind(n,69395)),swift:()=>n.e(38992).then(n.bind(n,38992)),typescript:()=>n.e(83864).then(n.bind(n,83864)),vbnet:()=>n.e(87528).then(n.bind(n,87528)),yaml:()=>n.e(76284).then(n.bind(n,76284))},Xi={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"},er=new Set,tr=new Map,nr=async e=>{const t=(e=>{const t=e.toLowerCase();return Xi[t]??t})(e);if(Yi.registered(t))return t;if(er.has(t))return null;const n=Qi[t];if(!n)return er.add(t),null;let i=tr.get(t);return i||(i=n().then((e=>{Yi.register(e.default)})).catch((()=>{er.add(t)})).finally((()=>{tr.delete(t)})),tr.set(t,i)),await i,Yi.registered(t)?t:null},ir=(e,t,n,i,r)=>{let o=i;for(const i of e)if("text"===i.type){const e=i.value??"";e.length>0&&(r.push({start:o,end:o+e.length,color:n,text:e}),o+=e.length)}else if(i.children){const e=i.properties?.className,s=Array.isArray(e)?Zi(t,e):n;o=ir(i.children,t,s,o,r)}return o},rr=(e,t,n)=>{if(0===e.length)return[];let i;try{i=Yi.highlight(e,t)}catch{return null}const r=[];ir(i.children??[],n,n.default,0,r);return((e,t)=>{const n=Array.from({length:t},(()=>[]));let i=0,r=0;for(const t of e){let e=t.start;for(let o=0;o<t.text.length;o++)if("\n"===t.text[o]){const s=t.start+o;s>e&&n[i]&&n[i].push({start:e-r,end:s-r,color:t.color}),i+=1,r=t.start+o+1,e=r}t.end>e&&n[i]&&n[i].push({start:e-r,end:t.end-r,color:t.color})}return n})(r,e.split("\n").length)},or=(e,t,n,{styles:i,showHighlight:s},l)=>{const a=t?{color:t}:void 0;return n===zt.ADDED?(0,r.jsx)("ins",{className:o(i.wordDiff,{[i.wordAdded]:s}),style:a,children:e},l):n===zt.REMOVED?(0,r.jsx)("del",{className:o(i.wordDiff,{[i.wordRemoved]:s}),style:a,children:e},l):(0,r.jsx)("span",{className:i.wordDiff,style:a,children:e},l)},sr=(e,t)=>0===t.length?[(0,r.jsx)("span",{children:e},0)]:t.map(((t,n)=>(0,r.jsx)("span",{style:{color:t.color},children:e.slice(t.start,t.end)},n))),lr=/^[ \t]+/;var ar;!function(e){e.LEFT="L",e.RIGHT="R"}(ar||(ar={}));class cr extends s.Component{styles;wordDiffCache=new Map;highlightPrecedenceWarned=!1;contentColumnRef=s.createRef();charMeasureRef=s.createRef();stickyHeaderRef=s.createRef();resizeObserver=null;scrollDebounceTimer=null;lastRenderedRange={start:0,end:1/0};static defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:Ut.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0,nonce:""};constructor(e){super(e),this.state={expandedBlocks:[],noSelect:void 0,scrollableContainerRef:s.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(void 0===e.rawValue||void 0===t.rawValue)return{leftValue:e.value,rightValue:t.value};const i=`${n}-${e.rawValue}-${t.rawValue}`;let r=this.wordDiffCache.get(i);if(!r){const n=this.props.compareMethod===Ut.JSON||this.props.compareMethod===Ut.YAML?Ut.CHARS:this.props.compareMethod,o=Qt(e.rawValue,t.rawValue,n);r={left:o.left??[],right:o.right??[]},this.wordDiffCache.set(i,r)}return{leftValue:r.left,rightValue:r.right}};resetCodeBlocks=()=>this.state.expandedBlocks.length>0&&(this.setState({expandedBlocks:[]}),!0);onBlockExpand=e=>{const t=this.state.expandedBlocks.slice();t.push(e),this.setState({expandedBlocks:t},(()=>this.recalculateOffsets()))};getStickyHeaderHeight(){return this.stickyHeaderRef.current?.offsetHeight||0}measureCharWidth(){const e=this.charMeasureRef.current;return e&&e.getBoundingClientRect().width||7.2}measureContentColumnWidth(){const e=this.contentColumnRef.current;if(e&&e.clientWidth>0){const t=window.getComputedStyle(e),n=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),i=e.clientWidth-n;if(i>0)return i}const t=this.state.scrollableContainerRef.current;if(!t||t.clientWidth<=0)return null;const n=t.clientWidth,i=this.props.hideLineNumbers?0:50,r=(this.props.splitView,2),o=this.props.splitView?2:1,s=this.props.splitView?2:1,l=n-(r*i+28*o);return Math.max(100,l/s)}getTextLength(e){return e?"string"==typeof e?e.length:e.reduce(((e,t)=>e+("string"==typeof t.value?t.value.length:0)),0):0}buildCumulativeOffsets(e,t,n,i,r,o,s,l){const a=[0],c=new Set;for(let u=0;u<e.length;u++){const d=e[u];if(r){const e=t[u];if(void 0!==e&&!i.includes(e)){const t=n[e].endLine===u;!c.has(e)&&t&&(c.add(e),a.push(a[a.length-1]+cr.ESTIMATED_ROW_HEIGHT));continue}}const f=d.left?.value?this.getTextLength(d.left.value):0,h=d.right?.value?this.getTextLength(d.right.value):0,p=l?Math.max(f,h):f||h,g=Math.floor(s/o),m=g>0?Math.max(1,Math.ceil(p/g)):1;a.push(a[a.length-1]+m*cr.ESTIMATED_ROW_HEIGHT)}return a}findLineAtOffset(e,t){let n=0,i=t.length-2;for(;n<i;){const r=Math.floor((n+i+1)/2);t[r]<=e?n=r:i=r-1}return n}recalculateOffsets=()=>{if(!this.props.infiniteLoading)return;const e=this.measureContentColumnWidth(),t=this.measureCharWidth();if(!e)return;const n=this.getMemoisedKey(),{lineInformation:i,lineBlocks:r,blocks:o}=this.state.computedDiffResult[n]??{};if(!i)return;const s=this.buildCumulativeOffsets(i,r,o,this.state.expandedBlocks,this.props.showDiffOnly??!0,t,e,this.props.splitView??!0);this.setState({cumulativeOffsets:s,contentColumnWidth:e,charWidth:t},(()=>{this.onScroll()}))};computeStyles=(0,l.A)(Si);onLineNumberClickProxy=e=>this.props.onLineNumberClick?t=>this.props.onLineNumberClick(e,t):()=>{};shouldHighlightWordDiff=()=>{const{compareMethod:e}=this.props;return e===Ut.CHARS||e===Ut.WORDS||e===Ut.WORDS_WITH_SPACE||e===Ut.JSON||e===Ut.YAML};renderWordDiff=(e,t)=>{const n=this.shouldHighlightWordDiff(),i=e.map((e=>"string"==typeof e.value?e.value:"")).join("");if(i.length>500)return[(0,r.jsx)("span",{children:i},"long-line")];if(t){const r=t(i),o=r?.props?.dangerouslySetInnerHTML?.__html;if("string"==typeof o){const t=function(e,t,n){const i=[];let r=0;for(const e of t){const t="string"==typeof e.value?e.value:"";t.length>0&&(i.push({start:r,end:r+t.length,type:e.type??zt.DEFAULT}),r+=t.length)}const o=[];let s=0;for(;s<e.length;)if("<"===e[s]){const t=e.indexOf(">",s);if(-1===t){o.push({type:"text",content:e.slice(s)});break}o.push({type:"tag",content:e.slice(s,t+1)}),s=t+1}else{let t=e.indexOf("<",s);-1===t&&(t=e.length),o.push({type:"text",content:e.slice(s,t)}),s=t}function l(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/ /g," ")}function a(e){return e===zt.ADDED?{open:`<ins class="${n.wordDiff} ${n.wordAdded}">`,close:"</ins>"}:e===zt.REMOVED?{open:`<del class="${n.wordDiff} ${n.wordRemoved}">`,close:"</del>"}:{open:`<span class="${n.wordDiff}">`,close:"</span>"}}let c=0,u="";for(const e of o)if("tag"===e.type)u+=e.content;else{const t=e.content,n=l(t);let r=0,o=0;for(;r<n.length;){const e=c+r,s=i.find((t=>e>=t.start&&e<t.end));if(!s){u+=t[o],o++,r++;continue}const l=s.end-e,d=n.length-r,f=Math.min(l,d);let h=o,p=0;for(;p<f&&h<t.length;){if("&"===t[h]){const e=t.indexOf(";",h);-1!==e&&e-h<10?h=e+1:h++}else h++;p++}const g=t.slice(o,h),m=a(s.type);u+=m?m.open+g+m.close:g,o=h,r+=f}c+=n.length}return u}(o,e,{wordDiff:this.styles.wordDiff,wordAdded:n?this.styles.wordAdded:"",wordRemoved:n?this.styles.wordRemoved:""});return[s.cloneElement(r,{key:"highlighted-diff",dangerouslySetInnerHTML:{__html:t}})]}}return e.map(((e,t)=>{let i;return i="string"==typeof e.value?e.value:void 0,e.type===zt.ADDED?(0,r.jsx)("ins",{className:o(this.styles.wordDiff,{[this.styles.wordAdded]:n}),children:i},t):e.type===zt.REMOVED?(0,r.jsx)("del",{className:o(this.styles.wordDiff,{[this.styles.wordRemoved]:n}),children:i},t):(0,r.jsx)("span",{className:o(this.styles.wordDiff),children:i},t)}))};renderLine=(e,t,n,i,s,l)=>{const a=`${n}-${e}`,c=`${l}-${s}`,u=this.props.highlightLines??[],d=u.includes(a)||u.includes(c),f=t===zt.ADDED,h=t===zt.REMOVED,p=t===zt.CHANGED,{indent:g,rest:m}=function(e){if("string"==typeof e){const t=e.match(lr);return t?{indent:t[0],rest:e.slice(t[0].length)}:{indent:"",rest:e}}if(Array.isArray(e)){const t=e.map((e=>({...e})));let n="",i=0;for(;i<t.length;i++){const e="string"==typeof t[i].value?t[i].value:null;if(null===e)break;const r=e.match(lr);if(!r)break;if(r[0].length!==e.length){n+=r[0],t[i]={...t[i],value:e.slice(r[0].length)};break}n+=e}return n?{indent:n,rest:t.slice(i)}:{indent:"",rest:e}}return{indent:"",rest:e}}(i),y=Array.isArray(m),b=this.state.highlightResult?n===ar.LEFT?this.state.highlightResult.left:this.state.highlightResult.right:null,v=e??s??void 0,w=b&&null!=v?b.get(v):void 0,x=w?((e,t)=>{if(t<=0)return e;const n=[];for(const i of e)i.end<=t||n.push({start:Math.max(i.start,t)-t,end:i.end-t,color:i.color});return n})(w,g.length):void 0;let k;if(x)if(y){const e=m.map((e=>"string"==typeof e.value?e.value:"")).join("");k=e.length>500?sr(e,x):((e,t,n,i)=>{const r=[];let o=0;for(const e of n){const t="string"==typeof e.value?e.value:"";t.length>0&&(r.push({start:o,end:o+t.length,type:e.type??zt.DEFAULT}),o+=t.length)}const s=e.length,l=[];let a=0,c=0,u=0,d=0;for(;u<s;){const n=t[a],o=r[c],f=n?n.end:s,h=o?o.end:s,p=Math.min(f,h,s);if(p<=u)if(f<=u)a+=1;else{if(!(h<=u))break;c+=1}else l.push(or(e.slice(u,p),n?.color,o?o.type:zt.DEFAULT,i,d++)),u=p,f<=u&&(a+=1),h<=u&&(c+=1)}return l})(e,x,m,{styles:{wordDiff:this.styles.wordDiff,wordAdded:this.styles.wordAdded,wordRemoved:this.styles.wordRemoved},showHighlight:this.shouldHighlightWordDiff()})}else k="string"==typeof m?sr(m,x):m;else k=y?this.renderWordDiff(m,this.props.renderContent):this.props.renderContent&&"string"==typeof m?this.props.renderContent(m):m;let C="div";f&&!y?C="ins":h&&!y&&(C="del");const A=!k&&!g;return(0,r.jsxs)(r.Fragment,{children:[!this.props.hideLineNumbers&&(0,r.jsx)("td",{onClick:e&&this.onLineNumberClickProxy(a),className:o(this.styles.gutter,{[this.styles.emptyGutter]:!e,[this.styles.diffAdded]:f,[this.styles.diffRemoved]:h,[this.styles.diffChanged]:p,[this.styles.highlightedGutter]:d}),children:(0,r.jsx)("pre",{className:this.styles.lineNumber,children:e})}),!this.props.splitView&&!this.props.hideLineNumbers&&(0,r.jsx)("td",{onClick:s&&this.onLineNumberClickProxy(c),className:o(this.styles.gutter,{[this.styles.emptyGutter]:!s,[this.styles.diffAdded]:f,[this.styles.diffRemoved]:h,[this.styles.diffChanged]:p,[this.styles.highlightedGutter]:d}),children:(0,r.jsx)("pre",{className:this.styles.lineNumber,children:s})}),this.props.renderGutter?this.props.renderGutter({lineNumber:e??0,type:t??zt.DEFAULT,prefix:n,value:i??"",additionalLineNumber:s??void 0,additionalPrefix:l,styles:this.styles}):null,(0,r.jsx)("td",{className:o(this.styles.marker,{[this.styles.emptyLine]:A,[this.styles.diffAdded]:f,[this.styles.diffRemoved]:h,[this.styles.diffChanged]:p,[this.styles.highlightedLine]:d}),children:(0,r.jsxs)("pre",{children:[f&&"+",h&&"-"]})}),(0,r.jsx)("td",{ref:n!==ar.LEFT||this.state.cumulativeOffsets?void 0:this.contentColumnRef,className:o(this.styles.content,{[this.styles.emptyLine]:A,[this.styles.diffAdded]:f,[this.styles.diffRemoved]:h,[this.styles.diffChanged]:p,[this.styles.highlightedLine]:d,left:n===ar.LEFT,right:n===ar.RIGHT}),onMouseDown:()=>{const e=document.getElementsByClassName("right");for(let t=0;t<e.length;t++)e[t]?.classList.remove(this.styles.noSelect);const t=document.getElementsByClassName("left");for(let e=0;e<t.length;e++)t[e]?.classList.remove(this.styles.noSelect);const i=document.getElementsByClassName(n===ar.LEFT?"right":"left");for(let e=0;e<i.length;e++)i[e]?.classList.add(this.styles.noSelect)},title:f&&!y?"Added line":h&&!y?"Removed line":void 0,children:(0,r.jsxs)(C,{className:o(this.styles.contentText,this.styles.contentFlex),children:[g?(0,r.jsx)("span",{className:this.styles.lineIndent,children:g}):null,(0,r.jsx)("span",{className:this.styles.lineBody,children:k})]})})]})};renderSplitView=({left:e,right:t},n)=>{const{leftValue:i,rightValue:o}=this.getWordDiffValues(e,t,n);return(0,r.jsxs)("tr",{className:this.styles.line,children:[this.renderLine(e.lineNumber,e.type,ar.LEFT,i),this.renderLine(t.lineNumber,t.type,ar.RIGHT,o)]},n)};renderInlineView=({left:e,right:t},n)=>{const{leftValue:i,rightValue:o}=this.getWordDiffValues(e,t,n);let l;return e.type===zt.REMOVED&&t.type===zt.ADDED?(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)("tr",{className:this.styles.line,children:this.renderLine(e.lineNumber,e.type,ar.LEFT,i,null)}),(0,r.jsx)("tr",{className:this.styles.line,children:this.renderLine(null,t.type,ar.RIGHT,o,t.lineNumber,ar.RIGHT)})]},n):(e.type===zt.REMOVED&&(l=this.renderLine(e.lineNumber,e.type,ar.LEFT,i,null)),e.type===zt.DEFAULT&&(l=this.renderLine(e.lineNumber,e.type,ar.LEFT,i,t.lineNumber,ar.RIGHT)),t.type===zt.ADDED&&(l=this.renderLine(null,t.type,ar.RIGHT,o,t.lineNumber)),(0,r.jsx)("tr",{className:this.styles.line,children:l},n))};onBlockClickProxy=e=>()=>this.onBlockExpand(e);renderSkippedLineIndicator=(e,t,n,i)=>{const{hideLineNumbers:l,splitView:a}=this.props,c=this.props.codeFoldMessageRenderer?this.props.codeFoldMessageRenderer(e,n,i):(0,r.jsxs)("span",{className:this.styles.codeFoldContent,children:["@@ -",n-e,",",e," +",i-e,",",e," @@"]}),u=(0,r.jsx)("td",{className:this.styles.codeFoldContentContainer,children:(0,r.jsx)("button",{type:"button",className:this.styles.codeFoldExpandButton,onClick:this.onBlockClickProxy(t),tabIndex:0,children:c})}),d=!a&&!l,f=(0,r.jsx)("td",{className:this.styles.codeFoldGutter,children:(0,r.jsx)(rn,{})});return(0,r.jsxs)("tr",{className:this.styles.codeFold,onClick:this.onBlockClickProxy(t),role:"button",tabIndex:0,children:[!l&&f,this.props.renderGutter?(0,r.jsx)("td",{className:this.styles.codeFoldGutter}):null,(0,r.jsx)("td",{className:o({[this.styles.codeFoldGutter]:d})}),d?(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)("td",{}),u]}):(0,r.jsxs)(s.Fragment,{children:[u,this.props.renderGutter?(0,r.jsx)("td",{}):null,(0,r.jsx)("td",{}),(0,r.jsx)("td",{}),l?null:(0,r.jsx)("td",{})]})]},`${n}-${i}`)};getMemoisedKey=()=>{const{oldValue:e,newValue:t,disableWordDiff:n,compareMethod:i,linesOffset:r,alwaysShowLines:o,extraLinesSurroundingDiff:s}=this.props;return JSON.stringify({oldValue:e,newValue:t,disableWordDiff:n,compareMethod:i,linesOffset:r,alwaysShowLines:o,extraLinesSurroundingDiff:s})};memoisedCompute=async()=>{const{oldValue:e,newValue:t,disableWordDiff:n,compareMethod:i,linesOffset:r}=this.props,o=this.getMemoisedKey();if(this.state.computedDiffResult[o])return this.setState((e=>({...e,isLoading:!1}))),void this.updateHighlight();const s=this.props.infiniteLoading?.containerHeight,l=s?"number"==typeof s?s:parseInt(s,10)||0:0,a=!n&&!!this.props.infiniteLoading&&l>0&&l<2e3,{lineInformation:c,diffLines:u}=await nn(e,t,n,i,r,this.props.alwaysShowLines,a,this.props.disableWorker),d=this.props.extraLinesSurroundingDiff??3,f=d<0?0:Math.round(d),{lineBlocks:h,blocks:p}=function(e,t,n){let i,r=0;const o={},s=[];return e.forEach(((e,l)=>{const a=t.some((e=>e>=l-n&&e<=l+n));a||void 0!==i?!a&&i?(i.endLine=l,i.lines++,o[l]=i.index):i=void 0:(i={index:r,startLine:l,endLine:l,lines:1},s.push(i),o[l]=i.index,r++)})),{lineBlocks:o,blocks:s}}(c,u,f);this.state.computedDiffResult[o]={lineInformation:c,lineBlocks:h,blocks:p},this.setState((e=>({...e,computedDiffResult:this.state.computedDiffResult,isLoading:!1})),(()=>{this.updateHighlight(),this.props.infiniteLoading&&requestAnimationFrame((()=>this.recalculateOffsets()))}))};lineToText=e=>"string"==typeof e.rawValue?e.rawValue:"string"==typeof e.value?e.value:Array.isArray(e.value)?e.value.map((e=>"string"==typeof e.value?e.value:"")).join(""):"";buildSideTokens=(e,t,n,i)=>{const r=[];for(const n of e){const e=n[t];e&&null!=e.lineNumber&&r.push({lineNumber:e.lineNumber,text:this.lineToText(e)})}r.sort(((e,t)=>e.lineNumber-t.lineNumber));const o=new Map;if(0===r.length)return o;const s=rr(r.map((e=>e.text)).join("\n"),n,i);if(!s)return o;for(let e=0;e<r.length;e++)o.set(r[e].lineNumber,s[e]??[]);return o};resolveHighlightTheme=()=>{const e=this.props.useDarkTheme?Ki:Ji;return this.props.highlightTheme?{...e,...this.props.highlightTheme}:e};updateHighlight=async()=>{const{highlightLanguage:e}=this.props;if(!e)return void(this.state.highlightResult&&this.setState({highlightResult:null}));const t=this.getMemoisedKey(),n=this.state.computedDiffResult[t];if(!n)return;const i=`${t}::${e}::${this.props.useDarkTheme??!1}::${JSON.stringify(this.props.highlightTheme??null)}`;if(this.state.highlightResult?.key===i)return;const r=await nr(e);if(this.props.highlightLanguage!==e||this.getMemoisedKey()!==t)return;if(!r)return void(this.state.highlightResult&&this.setState({highlightResult:null}));!this.highlightPrecedenceWarned&&this.props.renderContent;const o=this.resolveHighlightTheme(),s=this.buildSideTokens(n.lineInformation,"left",r,o),l=this.buildSideTokens(n.lineInformation,"right",r,o);this.setState({highlightResult:{key:i,left:s,right:l}})};static ESTIMATED_ROW_HEIGHT=19;onScroll=()=>{const e=this.state.scrollableContainerRef.current;if(!e||!this.props.infiniteLoading)return;const t=this.getStickyHeaderHeight(),n=Math.max(0,e.scrollTop-t),{cumulativeOffsets:i}=this.state,r=i?this.findLineAtOffset(n,i):Math.floor(n/cr.ESTIMATED_ROW_HEIGHT),o=r+Math.ceil(e.clientHeight/cr.ESTIMATED_ROW_HEIGHT),s=r<this.lastRenderedRange.start||o>this.lastRenderedRange.end;this.scrollDebounceTimer&&clearTimeout(this.scrollDebounceTimer);const l={};r!==this.state.visibleStartRow&&(l.visibleStartRow=r),s&&!this.state.isScrolling&&(l.isScrolling=!0),Object.keys(l).length>0&&this.setState(l),(this.state.isScrolling||s)&&(this.scrollDebounceTimer=setTimeout((()=>{this.setState({isScrolling:!1})}),150))};renderDiff=()=>{const{splitView:e,infiniteLoading:t,showDiffOnly:n}=this.props,{computedDiffResult:i,expandedBlocks:o,visibleStartRow:l,scrollableContainerRef:a,cumulativeOffsets:c}=this.state,u=this.getMemoisedKey(),{lineInformation:d=[],lineBlocks:f=[],blocks:h=[]}=i[u]??{};let p=0,g=1/0;const m=t?.overscan??20;if(t&&a.current){const e=a.current,t=this.getStickyHeaderHeight(),n=Math.max(0,e.scrollTop-t);if(c){const t=c[c.length-1]||0,i=c.length-2;p=Math.max(0,this.findLineAtOffset(n,c)-m),g=this.findLineAtOffset(n+e.clientHeight,c)+m;const r=Math.ceil(e.clientHeight/cr.ESTIMATED_ROW_HEIGHT);g=Math.max(g,p+r+m),n+e.clientHeight>=t-m*cr.ESTIMATED_ROW_HEIGHT&&(g=i+m)}else{const t=Math.ceil(e.clientHeight/cr.ESTIMATED_ROW_HEIGHT);p=Math.max(0,l-m),g=l+t+m}}const y=new Map,b=new Set;let v=0;for(let e=0;e<d.length;e++){const t=f[e];if(n&&void 0!==t)if(o.includes(t))y.set(e,v),v++;else{const n=h[t].endLine===e;!b.has(t)&&n&&(b.add(t),y.set(e,v),v++)}else y.set(e,v),v++}const w=v,x=[];let k=0,C=!1,A=-1;b.clear();for(let t=0;t<d.length;t++){const i=d[t],l=y.get(t);if(void 0!==l&&!(l<p)){if(l>g)break;if(C||(k=c?c[l]||0:l*cr.ESTIMATED_ROW_HEIGHT,C=!0),A=l,n){const e=f[t];if(void 0!==e){const n=h[e].endLine===t;if(!o.includes(e)&&n){x.push((0,r.jsx)(s.Fragment,{children:this.renderSkippedLineIndicator(h[e].lines,e,i.left.lineNumber??0,i.right.lineNumber??0)},t));continue}if(!o.includes(e))continue}}x.push(e?this.renderSplitView(i,t):this.renderInlineView(i,t))}}const S=c?c[c.length-1]||0:w*cr.ESTIMATED_ROW_HEIGHT,j=c&&A>=0?S-(c[A+1]||S):0;return this.lastRenderedRange={start:p,end:g},{diffNodes:x,blocks:h,lineInformation:d,totalRenderedRows:w,topPadding:k,bottomPadding:j,totalContentHeight:S,renderedCount:x.length,debug:{visibleRowStart:p,visibleRowEnd:g,totalRows:w,offsetsLength:c?.length??0,renderedCount:x.length,scrollTop:a.current?.scrollTop??0,headerHeight:this.getStickyHeaderHeight(),contentScrollTop:a.current?Math.max(0,a.current.scrollTop-this.getStickyHeaderHeight()):0,clientHeight:a.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();const 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(),"undefined"!=typeof ResizeObserver&&this.props.infiniteLoading){this.resizeObserver=new ResizeObserver((()=>{requestAnimationFrame((()=>this.recalculateOffsets()))}));const e=this.state.scrollableContainerRef.current;e&&this.resizeObserver.observe(e)}}componentWillUnmount(){this.resizeObserver?.disconnect(),this.scrollDebounceTimer&&clearTimeout(this.scrollDebounceTimer)}render=()=>{const{oldValue:e,newValue:t,useDarkTheme:n,leftTitle:i,rightTitle:s,splitView:l,compareMethod:a,hideLineNumbers:c,nonce:u}=this.props;if("string"==typeof a&&a!==Ut.JSON&&("string"!=typeof e||"string"!=typeof t))throw Error('"oldValue" and "newValue" should be strings');this.styles=this.computeStyles(this.props.styles??{},n??!1,u??"");const d=this.renderDiff();let f=3,h=4;c&&(f-=1,h-=1),this.props.renderGutter&&(f+=1,h+=1);let p=0,g=0;for(const e of d.lineInformation)e.left.type===zt.ADDED&&g++,e.right.type===zt.ADDED&&g++,e.left.type===zt.REMOVED&&p++,e.right.type===zt.REMOVED&&p++;const m=p+g,y=Math.round(g/m*100),b=[];for(let e=0;e<5;e++)y>20*e?b.push((0,r.jsx)("span",{className:o(this.styles.block,this.styles.blockAddition)},e)):b.push((0,r.jsx)("span",{className:o(this.styles.block,this.styles.blockDeletion)},e));const v=this.state.expandedBlocks.length===d.blocks.length,w=this.props.loadingElement,x=this.props.infiniteLoading?{overflowY:"scroll",overflowX:"hidden",height:this.props.infiniteLoading.containerHeight}:{},k=!!this.props.infiniteLoading&&!this.state.cumulativeOffsets,C=(0,r.jsxs)("table",{className:o(this.styles.diffContainer,{[this.styles.splitView]:l,[this.styles.noWrap]:k}),onMouseUp:()=>{},children:[(0,r.jsxs)("colgroup",{children:[!this.props.hideLineNumbers&&(0,r.jsx)("col",{width:"50px"}),!l&&!this.props.hideLineNumbers&&(0,r.jsx)("col",{width:"50px"}),this.props.renderGutter&&(0,r.jsx)("col",{width:"50px"}),(0,r.jsx)("col",{width:"28px"}),(0,r.jsx)("col",{width:"auto"}),l&&(0,r.jsxs)(r.Fragment,{children:[!this.props.hideLineNumbers&&(0,r.jsx)("col",{width:"50px"}),this.props.renderGutter&&(0,r.jsx)("col",{width:"50px"}),(0,r.jsx)("col",{width:"28px"}),(0,r.jsx)("col",{width:"auto"})]})]}),(0,r.jsx)("tbody",{children:d.diffNodes})]}),A=(this.state.isLoading||this.state.isScrolling)&&!!w;return(0,r.jsxs)("div",{style:{position:"relative"},children:[A&&(0,r.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:3},children:(0,r.jsx)(w,{})}),(0,r.jsxs)("div",{style:{...x,position:"relative"},onScroll:this.onScroll,ref:this.state.scrollableContainerRef,children:[(!this.props.hideSummary||i||s)&&(0,r.jsxs)("div",{ref:this.stickyHeaderRef,className:this.styles.stickyHeader,children:[!this.props.hideSummary&&(0,r.jsxs)("div",{className:this.styles.summary,role:"banner",children:[(0,r.jsx)("button",{type:"button",className:this.styles.allExpandButton,onClick:()=>{this.setState({expandedBlocks:v?[]:d.blocks.map((e=>e.index))},(()=>this.recalculateOffsets()))},children:v?(0,r.jsx)(ji,{}):(0,r.jsx)(rn,{})})," ",m,(0,r.jsx)("div",{style:{display:"flex",gap:"1px"},children:b}),this.props.summary?(0,r.jsx)("span",{children:this.props.summary}):null]}),(i||s)&&(0,r.jsxs)("div",{className:this.styles.columnHeaders,children:[(0,r.jsx)("div",{className:this.styles.titleBlock,children:i?(0,r.jsx)("pre",{className:this.styles.contentText,children:i}):null}),l&&(0,r.jsx)("div",{className:this.styles.titleBlock,children:s?(0,r.jsx)("pre",{className:this.styles.contentText,children:s}):null})]})]}),this.props.infiniteLoading?(0,r.jsx)("div",{style:{height:d.totalContentHeight,position:"relative"},children:(0,r.jsx)("div",{style:{position:"absolute",top:d.topPadding,left:0,right:0,visibility:this.state.isScrolling?"hidden":"visible"},children:C})}):C,(0,r.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,r.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,r.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",color:"#fff"},children:"Debug Info"}),(0,r.jsxs)("div",{children:["scrollTop: ",d.debug.scrollTop]}),(0,r.jsxs)("div",{children:["headerHeight: ",d.debug.headerHeight]}),(0,r.jsxs)("div",{children:["contentScrollTop: ",d.debug.contentScrollTop]}),(0,r.jsxs)("div",{children:["clientHeight: ",d.debug.clientHeight]}),(0,r.jsxs)("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px"},children:[(0,r.jsxs)("div",{children:["visibleRowStart: ",d.debug.visibleRowStart]}),(0,r.jsxs)("div",{children:["visibleRowEnd: ",d.debug.visibleRowEnd]})]}),(0,r.jsxs)("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px"},children:[(0,r.jsxs)("div",{children:["totalRows: ",d.debug.totalRows]}),(0,r.jsxs)("div",{children:["offsetsLength: ",d.debug.offsetsLength]}),(0,r.jsxs)("div",{children:["renderedCount: ",d.debug.renderedCount]})]}),(0,r.jsxs)("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px"},children:[(0,r.jsxs)("div",{children:["topPadding: ",d.topPadding.toFixed(0)]}),(0,r.jsxs)("div",{children:["bottomPadding: ",d.bottomPadding.toFixed(0)]}),(0,r.jsxs)("div",{children:["totalContentHeight: ",d.totalContentHeight.toFixed(0)]})]}),(0,r.jsxs)("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px",color:"#ff0"},children:[(0,r.jsxs)("div",{children:["cumulativeOffsets: ",this.state.cumulativeOffsets?"SET":"NULL"]}),(0,r.jsxs)("div",{children:["columnWidth: ",this.state.contentColumnWidth?.toFixed(0)??"N/A","px"]}),(0,r.jsxs)("div",{children:["charWidth: ",this.state.charWidth?.toFixed(2)??"N/A","px"]}),(0,r.jsxs)("div",{children:["charsPerRow: ",this.state.contentColumnWidth&&this.state.charWidth?Math.floor(this.state.contentColumnWidth/this.state.charWidth):"N/A"]})]}),this.state.cumulativeOffsets&&(0,r.jsxs)("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px",color:"#0ff",fontSize:"10px"},children:[(0,r.jsxs)("div",{children:["offsets[",d.debug.visibleRowEnd,"]: ",this.state.cumulativeOffsets[d.debug.visibleRowEnd]?.toFixed(0)??"N/A"]}),(0,r.jsxs)("div",{children:["offsets[",d.debug.totalRows-1,"]: ",this.state.cumulativeOffsets[d.debug.totalRows-1]?.toFixed(0)??"N/A"]}),(0,r.jsxs)("div",{children:["offsets[",d.debug.totalRows,"]: ",this.state.cumulativeOffsets[d.debug.totalRows]?.toFixed(0)??"N/A"]}),(0,r.jsxs)("div",{style:{marginTop:"3px"},children:["viewportEnd: ",(d.debug.contentScrollTop+d.debug.clientHeight).toFixed(0)]}),(0,r.jsxs)("div",{style:{marginTop:"3px",color:"#f0f"},children:["scrollHeight: ",this.state.scrollableContainerRef.current?.scrollHeight??"N/A"]}),(0,r.jsxs)("div",{children:["maxScrollTop: ",(this.state.scrollableContainerRef.current?.scrollHeight??0)-d.debug.clientHeight]})]})]})]})]})}}const ur=cr}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55348],{55348(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>zn});var r,i,o,a,s,c=n(64467),l=n(9871),u=n(6730),d=n(6192),p=n(12199),y=n(97699),f=n(71468),h="history/UPDATE_HISTORY",v="history/SET_MODEL_NAME",m="history/SET_CURRENT_ENTITY",g="history/SET_VIEW",b="history/SET_BREADCRUMBS_INFO",A=function(e){return{type:b,payload:{breadcrumbsInfo:e}}},x=n(4883),w=n(44581),O=n(73615),T="historyEntityOverview/INITIALIZE_ENTITY_OVERVIEW",j="historyEntityOverview/SET_SEARCH_FORM",S="historyEntityOverview/SET_LIST_FORM",P="historyEntityOverview/ADD_ENTRY",E="historyEntityOverview/SET_MAX_AGE",C=function(e){return{type:j,payload:{searchForm:e}}},k=function(e){return{type:S,payload:{listForm:e}}},D=function(e,t){return{type:P,payload:{pk:e,entry:t}}},_=function(e){return{type:E,payload:{maxAge:e}}},F=n(88208),N=n(5544),R=n(144),I=n(38978),L=n(15115),M=n(57528),J=n(51510),V=n(57488),W=n(23366),H=J.Ay.div.withConfig({displayName:"StyledPaneWrapper"})(r||(r=(0,M.A)(["\n display: flex;\n height: 100%;\n flex-direction: column;\n"]))),B=J.Ay.div.withConfig({displayName:"StyledListView"})(i||(i=(0,M.A)(["\n display: grid;\n grid-template-rows: [action-start] auto [table-start] minmax(0, 1fr);\n height: 100%;\n width: 100%;\n"]))),z=J.Ay.div.withConfig({displayName:"StyledListWrapper"})(o||(o=(0,M.A)(["\n grid-row-start: table-start;\n border-radius: ",";\n overflow: clip;\n margin-bottom: ",";\n"])),V.t7.radii("large"),V.t7.space("outerPadding")),q=(0,J.Ay)(W.Fu).withConfig({displayName:"StyledSidepanelContent"})(a||(a=(0,M.A)(["\n overflow-x: auto;\n"]))),G=n(74848);const Q=function(e){var t=e.SidepanelComponent,n=e.DetailComponent,r=(0,x.useState)(!1),i=(0,N.A)(r,2),o=i[0],a=i[1];return(0,G.jsx)(H,{children:(0,G.jsxs)(R.A,{sidepanelPosition:"left",sidepanelCollapsed:o,setSidepanelCollapsed:a,scrollBehaviour:"inline",children:[(0,G.jsxs)(I.A,{children:[s||(s=(0,G.jsx)(L.A,{})),t]}),(0,G.jsx)(q,{children:(0,G.jsx)(B,{children:(0,G.jsx)(z,{children:n})})})]})})};var U,Y,K="historyTable/SET_CURRENT_PAGE",Z="historyTable/LOAD_NEW_PAGE",X="historyTable/SET_TOTAL_COUNT",$="historyTable/SET_SEARCH_FIELDS",ee="historyTable/SET_TABLE_DATA",te="historyTable/SET_LOADING",ne="historyTable/ON_SELECT_CHANGE",re="historyTable/SET_SELECTION",ie=function(e){return{type:X,payload:{totalCount:e}}},oe=function(e){return{type:ee,payload:{tableData:e}}},ae=function(e){return{type:te,payload:{loading:e}}},se=function(e){return{type:re,payload:{selection:e}}},ce=n(60895),le=n.n(ce),ue=n(17678),de=n(26166),pe=n(31934),ye=J.Ay.div.withConfig({displayName:"Box"})(U||(U=(0,M.A)(["\n background-color: ",";\n overflow-y: auto;\n padding: "," "," "," ",";\n position: relative;\n border-radius: 0;\n\n "," {\n margin-bottom: 0;\n }\n\n &:first-of-type {\n z-index: 2; /* higher than StyledTether to prevent cover on scroll */\n }\n"])),V.t7.color("paper"),de.A.space(-.75),de.A.space(-.375),de.A.space(-1.1),de.A.space(-.375),pe.A);J.Ay.div.withConfig({displayName:"StyledExtendSearchButtonWrapper"})(Y||(Y=(0,M.A)(["\n && {\n width: 100%;\n text-align: center;\n }\n"])));const fe=function(e){var t=e.searchFormDefinition,n=e.setSearchFields,r=e.setCurrentPage,i=(0,x.useCallback)((function(e){var t=e.values,i=e.event,o=Object.keys(t).length>0;"init"===i?(r(1),n(o?t:{})):le()((function(){r(1),n(o?t:{})}),500)}),[n,r]);return t.children?(0,G.jsx)(ye,{children:(0,G.jsx)(ue.A,{form:t,noButtons:!0,validate:!1,mappingType:"search",mode:"search",onChange:i,onSubmit:i,labelPosition:"inside"})}):null};var he={setSearchFields:function(e){return{type:$,payload:{searchFields:e}}},setCurrentPage:function(e){return{type:K,payload:{currentPage:e}}}};const ve=(0,f.Ng)((function(){return{}}),he)(fe);var me,ge,be,Ae=n(40559),xe=n(16172),we=n(41394),Oe=n(11341),Te=function(e){return!e.hidden},je=function(e,t){return{username:t.username,entityModel:e,entityKey:t.entity_key,ipAddress:t.ip_address,operation:t.operation,dateFrom:Se(t,"from"),dateTo:Se(t,"to")}},Se=function(e,t){var n;return null!=e&&null!==(n=e.date)&&void 0!==n&&n.isRangeValue?e.date[t]:null!=e&&e.date?"to"===t?(0,xe.f)(null==e?void 0:e.date,1).toISOString():(0,we.H)(null==e?void 0:e.date).toISOString():null==e?void 0:e.date},Pe=n(48235),Ee=n(1671),Ce=J.Ay.div.withConfig({displayName:"StyledTableWrapper"})(me||(me=(0,M.A)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n\n && th {\n border-bottom: 3px solid ",";\n padding: "," 0 "," 0;\n }\n"])),V.t7.color("backgroundBody"),de.A.space(-1.1),de.A.space(-1.1)),ke=(J.Ay.div.withConfig({displayName:"StyledColumnContentWrapper"})(ge||(ge=(0,M.A)(["\n display: flex;\n align-items: center;\n\n > * {\n margin-right: ",";\n }\n"])),de.A.space(-2)),J.Ay.div.withConfig({displayName:"StyledCell"})(be||(be=(0,M.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n "," {\n margin-right: 10px;\n }\n"])),Ee.NR)),De=function(e){var t=e.column,n=e.rowData;return null!=t&&t.children?(0,G.jsx)(G.Fragment,{children:t.children.map((function(e){var t=e.path,r=e.dataType,i=e.id,o=Pe.A.factory("list",r),a=n[t];return(0,G.jsx)(ke,{children:(0,G.jsx)(o,{type:r,mappingType:"list",formField:e,value:a,breakWords:!1})},i)}))}):null};const _e=function(e){var t=e.tableData,n=e.listFormDefinition,r=e.totalCount,i=e.currentPage,o=e.recordsPerPage,a=e.loadNewPage,s=e.selection,c=e.onSelectChange,l=e.selectionStyle,u=e.loading,d=e.onRowClick;if(!n.children)return null;var p=function(e,t){return e.table.children.map((function(e){return{id:e.id,label:e.label,dynamic:!0,sorting:{sortable:!1},shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,children:e.children.filter(Te),resizable:!e.widthFixed,fixedPosition:!0,alignment:"left",CellRenderer:t}}))}({table:n.children.find((function(e){return e.componentType===Oe.A.componentTypes.TABLE}))},De);return(0,G.jsx)(Ce,{children:(0,G.jsx)(Ae.A,{columns:p,data:t,scrollBehaviour:"inline",paginationInfo:{currentPage:i,recordsPerPage:o,totalCount:r},onPageChange:a,selectionStyle:l,selection:s,onSelectionChange:c,hasSelectionHeader:!1,onRowClick:d,clickable:Boolean(d),dataLoadingInProgress:u})})};var Fe={loadNewPage:function(e){return{type:Z,payload:{newPage:e}}},onSelectChange:function(e,t){return{type:ne,payload:{keys:e,isSelected:t}}}};const Ne=(0,f.Ng)((function(e){return{loading:e.historyTable.loading,tableData:e.historyTable.tableData,totalCount:e.historyTable.totalCount,currentPage:e.historyTable.currentPage,recordsPerPage:e.historyTable.recordsPerPage,selection:e.historyTable.selection}}),Fe)(_e);var Re=n(53986),Ie=["theme"];function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Me=(0,x.lazy)((function(){return Promise.all([n.e(61477),n.e(45200)]).then(n.bind(n,45200))}));const Je=(0,J.SL)((function(e){var t=e.theme,n=(0,Re.A)(e,Ie);return(0,G.jsx)(Me,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hideSummary:!0,useDarkTheme:t.diffViewerDarkTheme,styles:{variables:{light:t.diffViewer,dark:t.diffViewer},diffContainer:{position:"absolute"},codeFold:{color:t.colors.text},lineNumber:{color:t.colors.text},titleBlock:{height:"auto"}}},n))}));var Ve,We,He,Be,ze,qe,Ge,Qe,Ue,Ye=n(17819),Ke=n(5016),Ze=J.Ay.div.withConfig({displayName:"StyledSidepanelSearchWrapper"})(Ve||(Ve=(0,M.A)(["\n display: grid;\n position: relative;\n grid-template-rows: auto 1fr;\n flex: 1;\n margin-bottom: ",";\n"])),V.t7.space("outerPadding")),Xe=J.Ay.div.withConfig({displayName:"StyledSearchFormWrapper"})(We||(We=(0,M.A)(["\n margin-bottom: 4px;\n"]))),$e=J.Ay.div.withConfig({displayName:"StyledTableWrapper"})(He||(He=(0,M.A)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n border-radius: 0 0 "," ",";\n\n "," {\n overflow-x: hidden;\n }\n"])),V.t7.radii("large"),V.t7.radii("large"),Ye.dm),et=J.Ay.div.withConfig({displayName:"StyledContainer"})(Be||(Be=(0,M.A)(["\n height: 100%;\n background-color: ",";\n position: relative;\n border-radius: ",";\n overflow: clip;\n"])),V.t7.color("paper"),V.t7.radii("medium")),tt=J.Ay.div.withConfig({displayName:"StyledHintContainer"})(ze||(ze=(0,M.A)(["\n background-color: ",";\n height: 100%;\n padding: ",";\n text-align: center;\n"])),V.t7.color("paper"),de.A.space(1)),nt=J.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(qe||(qe=(0,M.A)(["\n text-align: center;\n display: block;\n"]))),rt=(0,J.Ay)(Ke.oY).withConfig({displayName:"StyledTitleText"})(Ge||(Ge=(0,M.A)(["\n && {\n margin-left: ",";\n }\n"])),de.A.space(-1.37)),it=J.Ay.div.withConfig({displayName:"StyledDiffViewerWrapper"})(Qe||(Qe=(0,M.A)(["\n position: relative;\n overflow: auto;\n flex: 1;\n"]))),ot=n(76956),at=function(e){return(0,G.jsxs)(nt,{children:[(0,G.jsx)(ot.A,{value:null==e?void 0:e.created,type:"datetime"}),(0,G.jsxs)(rt,{children:["(",null==e?void 0:e.commitId,")"]}),Ue||(Ue=(0,G.jsx)("br",{})),(0,G.jsxs)(rt,{children:[null==e?void 0:e.username,"@",null==e?void 0:e.ipAddress]})]})};const st=function(e){var t=e.selection,n=e.entries[t[0]];return(0,G.jsx)(F.A,{required:[n],children:(0,G.jsx)(it,{children:(0,G.jsx)(Je,{oldValue:null==n?void 0:n.xmlContent,newValue:null==n?void 0:n.xmlContent,splitView:!1,showDiffOnly:!1,hideLineNumbers:!0,leftTitle:at(n)})})})};var ct=n(60436),lt=n(87046),ut=n(56375),dt=function(e){return null==e?void 0:e.replaceAll(' changed="true"',"")};const pt=function(e){var t=e.selection,n=e.entries,r=(0,ct.A)(t).sort((function(e,t){return e-t})),i=(0,N.A)(r,2),o=i[0],a=i[1],s=n[o],c=n[a];return(0,G.jsx)(F.A,{required:[s,c],children:(0,G.jsx)(it,{children:(0,G.jsx)(Je,{oldValue:dt(null==s?void 0:s.xmlContent),newValue:dt(null==c?void 0:c.xmlContent),leftTitle:at(s),rightTitle:at(c),compareMethod:"diffWords",codeFoldMessageRenderer:function(e){return(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.moreLines",values:{number:e}})})}})})})};var yt;const ft=function(e){var t=e.maxAge;return(0,G.jsxs)(tt,{children:[yt||(yt=(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.overviewEmpty"})})),(0,G.jsx)(ut.Ay.P,{children:(0,G.jsx)(lt.sA,{id:"client.actions.history.maxAge",values:{months:t}})})]})};const ht=function(e){var t=e.initializeEntityOverview,n=e.searchFormDefinition,r=e.listFormDefinition,i=e.entries,o=e.selection,a=e.maxAge;(0,x.useEffect)((function(){t()}),[t]);var s=(0,G.jsxs)(Ze,{children:[(0,G.jsx)(Xe,{children:(0,G.jsx)(ve,{searchFormDefinition:n})}),(0,G.jsx)($e,{children:(0,G.jsx)(Ne,{listFormDefinition:r,selectionStyle:"multi"})})]}),c=(0,G.jsxs)(et,{children:[0===o.length&&(0,G.jsx)(ft,{maxAge:a}),1===o.length&&(0,G.jsx)(st,{selection:o,entries:i}),2===o.length&&(0,G.jsx)(pt,{selection:o,entries:i})]});return(0,G.jsx)(F.A,{required:[n,r],children:(0,G.jsx)(Q,{SidepanelComponent:s,DetailComponent:c})})};var vt={initializeEntityOverview:function(){return{type:T}}};const mt=(0,f.Ng)((function(e){return{searchFormDefinition:e.historyEntityOverview.searchForm,listFormDefinition:e.historyEntityOverview.listForm,selection:e.historyTable.selection,entries:e.historyEntityOverview.entries,maxAge:e.historyEntityOverview.maxAge}}),vt)(ht);var gt="historyModelOverview/INITIALIZE_MODEL_OVERVIEW",bt="historyModelOverview/SET_SEARCH_FORM",At="historyModelOverview/SET_LIST_FORM",xt=function(e){return{type:bt,payload:{searchForm:e}}},wt=function(e){return{type:At,payload:{listForm:e}}};const Ot=function(e){var t=e.initializeModelOverview,n=e.modelName,r=e.tableData,i=e.searchFormDefinition,o=e.listFormDefinition,a=e.setSelection,s=(0,w.Zp)();(0,x.useEffect)((function(){t(),a([])}),[t,a]);var c=(0,G.jsx)(Ne,{listFormDefinition:o,selectionStyle:"none",onRowClick:function(e){var t=r.find((function(t){return t.__key===e}));s("/history/".concat(n,"/").concat(t.entity_key)),a([e])}});return(0,G.jsx)(F.A,{required:[i,o],children:(0,G.jsx)(Q,{SidepanelComponent:(0,G.jsx)(ve,{searchFormDefinition:i}),DetailComponent:c})})};var Tt={initializeModelOverview:function(){return{type:gt}},setSelection:se};const jt=(0,f.Ng)((function(e){return{modelName:e.history.modelName,tableData:e.historyTable.tableData,searchFormDefinition:e.historyModelOverview.searchForm,listFormDefinition:e.historyModelOverview.listForm}}),Tt)(Ot);var St,Pt;const Et=function(e){var t=e.updateHistory,n=e.view,r=e.breadcrumbsInfo,i=(0,w.zy)();return(0,x.useEffect)((function(){t(i.pathname)}),[t,i.pathname]),(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(O.A,{breadcrumbsInfo:r,updateDocumentTitle:!0,showToccoHome:!0}),"entityOverview"===n?St||(St=(0,G.jsx)(mt,{})):Pt||(Pt=(0,G.jsx)(jt,{}))]})};var Ct={updateHistory:function(e){return{type:h,payload:{pathname:e}}}};const kt=(0,f.Ng)((function(e){return{view:e.history.view,breadcrumbsInfo:e.history.breadcrumbsInfo}}),Ct)(Et);var Dt=n(98671),_t={modelName:void 0,currentEntity:void 0,view:void 0,breadcrumbsInfo:[]},Ft=(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},v,Dt.A.singleTransferReducer("modelName")),m,Dt.A.singleTransferReducer("currentEntity")),g,Dt.A.singleTransferReducer("view")),b,Dt.A.singleTransferReducer("breadcrumbsInfo"));const Nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_t,t=arguments.length>1?arguments[1]:void 0,n=Ft[t.type];return n?n(e,t):e};var Rt=n(54756),It=n.n(Rt),Lt=n(69917),Mt=n(93750),Jt=n(33779),Vt=It().mark(Bt),Wt=It().mark(qt),Ht=function(e,t){return e.app.messages[t]};function Bt(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(h,zt)]);case 1:case"end":return e.stop()}}),Vt)}function zt(e){var t=e.payload.pathname;return It().mark((function e(){var n;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.T1)(Jt.A.extractParamsFromPath,"/history/:model{/:key}?",t);case 1:return n=e.sent,e.next=2,(0,Lt.yJ)((o=n.model,{type:v,payload:{modelName:o}}));case 2:return e.next=3,(0,Lt.yJ)((i=n.key?"entityOverview":"modelOverview",{type:g,payload:{view:i}}));case 3:return e.next=4,(0,Lt.yJ)((r=n.key,{type:m,payload:{currentEntity:r}}));case 4:return e.next=5,(0,Lt.T1)(qt,n.model,n.key);case 5:case"end":return e.stop()}var r,i,o}),e)}))()}function qt(e,t){var n,r,i,o,a;return It().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,(0,Lt.Lt)(Ht,"client.actions.history.title");case 1:return n=s.sent,s.next=2,(0,Lt.T1)(Mt.A.fetchModel,e);case 2:if(r=s.sent,i=[{display:"".concat(n," - ").concat(r.label),path:"history/".concat(e),title:"".concat(n," - ").concat(r.label),type:"list"}],!t){s.next=4;break}return s.next=3,(0,Lt.T1)(Mt.A.fetchDisplay,e,t);case 3:o=s.sent,a=o?"".concat(t," (").concat(o,")"):t,i.push({display:a,title:"".concat(n," - ").concat(r.label," - ").concat(a)});case 4:return s.next=5,(0,Lt.yJ)(A(i));case 5:case"end":return s.stop()}}),Wt)}function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ut={searchForm:void 0,listForm:void 0,entries:{},maxAge:void 0},Yt=(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},j,Dt.A.singleTransferReducer("searchForm")),S,Dt.A.singleTransferReducer("listForm")),P,(function(e,t){var n=t.payload,r=n.pk,i=n.entry;return Qt(Qt({},e),{},{entries:Qt(Qt({},e.entries),{},(0,c.A)({},r,i))})})),E,Dt.A.singleTransferReducer("maxAge"));const Kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ut,t=arguments.length>1?arguments[1]:void 0,n=Yt[t.type];return n?n(e,t):e};function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $t(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return en(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?en(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tn=It().mark(sn),nn=It().mark(cn),rn=It().mark(un),on=It().mark(dn),an=function(e){return e.historyEntityOverview};function sn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(T,cn),(0,Lt.p8)(re,ln)]);case 1:case"end":return e.stop()}}),tn)}function cn(){var e,t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Q7)([(0,Lt.T1)(Mt.A.fetchForm,"History_action_entity_overview","search"),(0,Lt.T1)(Mt.A.fetchForm,"History_action_entity_overview","list"),(0,Lt.T1)(dn)]);case 1:return e=i.sent,t=(0,N.A)(e,2),n=t[0],r=t[1],i.next=2,(0,Lt.yJ)(C(n));case 2:return i.next=3,(0,Lt.yJ)(k(r));case 3:case"end":return i.stop()}}),nn)}function ln(e){var t=e.payload.selection;return It().mark((function e(){var n,r,i,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=$t(t),e.prev=1,n.s();case 2:if((r=n.n()).done){e.next=4;break}return i=r.value,e.next=3,(0,Lt.T1)(un,i);case 3:e.next=2;break;case 4:e.next=6;break;case 5:e.prev=5,o=e.catch(1),n.e(o);case 6:return e.prev=6,n.f(),e.finish(6);case 7:case"end":return e.stop()}}),e,null,[[1,5,6,7]])}))()}function un(e){var t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Lt)(an);case 1:if(t=i.sent,!t.entries[e]){i.next=2;break}return i.abrupt("return");case 2:return i.prev=2,i.next=3,(0,Lt.T1)(Mt.A.requestSaga,"actions/history/".concat(e),{method:"GET"});case 3:return n=i.sent,r=Xt({xmlContent:n.body.xmlContent},n.body.entry),i.next=4,(0,Lt.yJ)(D(e,r));case 4:i.next=6;break;case 5:return i.prev=5,i.catch(2),i.next=6,(0,Lt.yJ)(d.A.toaster({type:"error",title:"client.actions.history.error.table.header",body:"client.actions.history.error.table.body"}));case 6:case"end":return i.stop()}}),rn,null,[[2,5]])}function dn(){var e,t;return It().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,(0,Lt.Lt)(an);case 1:if(e=n.sent,e.maxAge){n.next=3;break}return n.next=2,(0,Lt.T1)(Mt.A.requestSaga,"actions/history",{method:"GET"});case 2:return t=n.sent,n.next=3,(0,Lt.yJ)(_(t.body.maxAge));case 3:case"end":return n.stop()}}),on)}var pn={searchForm:void 0,listForm:void 0},yn=(0,c.A)((0,c.A)({},bt,Dt.A.singleTransferReducer("searchForm")),At,Dt.A.singleTransferReducer("listForm"));const fn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pn,t=arguments.length>1?arguments[1]:void 0,n=yn[t.type];return n?n(e,t):e};var hn=It().mark(mn),vn=It().mark(gn);function mn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(gt,gn)]);case 1:case"end":return e.stop()}}),hn)}function gn(){var e,t,n,r;return It().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,(0,Lt.Q7)([(0,Lt.T1)(Mt.A.fetchForm,"History_action_model_overview","search"),(0,Lt.T1)(Mt.A.fetchForm,"History_action_model_overview","list")]);case 1:return e=i.sent,t=(0,N.A)(e,2),n=t[0],r=t[1],i.next=2,(0,Lt.yJ)(xt(n));case 2:return i.next=3,(0,Lt.yJ)(wt(r));case 3:case"end":return i.stop()}}),vn)}var bn={totalCount:0,currentPage:1,recordsPerPage:25,searchFields:{},loading:!1,tableData:[],selection:[]},An=(0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)({},te,Dt.A.singleTransferReducer("loading")),X,Dt.A.singleTransferReducer("totalCount")),K,Dt.A.singleTransferReducer("currentPage")),Z,Dt.A.mappingTransferReducer("newPage","currentPage")),$,Dt.A.singleTransferReducer("searchFields")),ee,Dt.A.singleTransferReducer("tableData")),re,Dt.A.singleTransferReducer("selection"));const xn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:bn,t=arguments.length>1?arguments[1]:void 0,n=An[t.type];return n?n(e,t):e};var wn=n(63375),On=n.n(wn),Tn=function(e,t,n){return n?On()([].concat((0,ct.A)(e),(0,ct.A)(t))).slice(-2):e.filter((function(e){return!t.includes(e)}))};function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pn=It().mark(Dn),En=It().mark(Fn),Cn=function(e){return e.history},kn=function(e){return e.historyTable};function Dn(){return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Q7)([(0,Lt.p8)(ne,_n),(0,Lt.p8)($,Fn),(0,Lt.p8)(Z,Fn)]);case 1:case"end":return e.stop()}}),Pn)}function _n(e){var t=e.payload,n=t.keys,r=t.isSelected;return It().mark((function e(){var t,i,o;return It().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,Lt.Lt)(kn);case 1:return t=e.sent,i=t.selection,e.next=2,(0,Lt.T1)(Tn,i,n,r);case 2:return o=e.sent,e.next=3,(0,Lt.yJ)(se(o));case 3:case"end":return e.stop()}}),e)}))()}function Fn(){var e,t,n,r,i,o,a,s,c,l,u;return It().wrap((function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=1,(0,Lt.Lt)(Cn);case 1:return e=p.sent,t=e.modelName,n=e.currentEntity,p.next=2,(0,Lt.Lt)(kn);case 2:return r=p.sent,i=r.recordsPerPage,o=r.currentPage,a=r.searchFields,s=Sn(Sn(Sn({},je(t,a)),n?{entityKey:n}:{}),{},{offset:(o-1)*i,limit:i}),p.prev=3,p.next=4,(0,Lt.yJ)(ae(!0));case 4:return p.next=5,(0,Lt.T1)(Mt.A.requestSaga,"/actions/history",{method:"POST",body:s});case 5:return c=p.sent,l=c.body.entries,u=c.body.totalCount,p.next=6,(0,Lt.yJ)(oe(l.map((function(e){return{__key:(t=e).pk,entity_key:t.entityKey,operation:t.operation,username:t.username,ip_address:t.ipAddress,date:t.created};var t}))));case 6:return p.next=7,(0,Lt.yJ)(ie(u));case 7:return p.next=8,(0,Lt.yJ)(ae(!1));case 8:p.next=13;break;case 9:return p.prev=9,p.catch(3),p.next=10,(0,Lt.yJ)(d.A.toaster({type:"error",title:"client.actions.history.error.table.header",body:"client.actions.history.error.table.body"}));case 10:return p.next=11,(0,Lt.yJ)(oe([]));case 11:return p.next=12,(0,Lt.yJ)(ie(0));case 12:return p.next=13,(0,Lt.yJ)(ae(!1));case 13:case"end":return p.stop()}}),En,null,[[3,9]])}const Nn={history:Nt,historyEntityOverview:Kt,historyModelOverview:fn,historyTable:xn};var Rn,In=[Bt,sn,mn,Dn],Ln="history",Mn=["emitAction"],Jn=function(e,t,n,r){var i=Rn||(Rn=(0,G.jsx)(kt,{})),o=l.A.createStore(Nn,In,t,Ln);u.A.addToStore(o,(function(e){return e.input.emitAction}));var a=!(null!=n&&n.emitAction);return d.A.addToStore(o,a),y.A.addToStore(o,a,["console","remote","notification"]),p.A.addToStore(o,(function(e){return l.A.getEvents(Mn,e.input)})),l.A.createApp(Ln,i,o,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common","actions",Ln]})},Vn=function(e){return l.A.useApp({initApp:Jn,props:e,packageName:Ln}).component};Vn.propTypes={};const Wn=Vn;function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const Bn=function(e){return(0,G.jsx)(Wn,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(n),!0).forEach((function(t){(0,c.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))},zn={container:Bn}},20085(e){e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}},60895(e,t,n){var r=n(20085),i=n(69302),o=n(99374),a=i((function(e,t,n){return r(e,o(t)||0,n)}));e.exports=a}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[61477],{72282(n,l,e){function o(n){const l=[],e=String(n||"");let o=e.indexOf(","),t=0,a=!1;for(;!a;){-1===o&&(o=e.length,a=!0);const n=e.slice(t,o).trim();!n&&a||l.push(n),t=o+1,o=e.indexOf(",",t)}return l}function t(n,l){const e=l||{};return(""===n[n.length-1]?[...n,""]:n).join((e.padRight?" ":"")+","+(!1===e.padLeft?"":" ")).trim()}e.d(l,{A:()=>t,q:()=>o})},96206(n,l,e){e.d(l,{s:()=>t});const o=document.createElement("i");function t(n){const l="&"+n+";";o.innerHTML=l;const e=o.textContent;return(59!==e.charCodeAt(e.length-1)||"semi"===n)&&(e!==l&&e)}},25564(n,l,e){e.d(l,{h:()=>g,s:()=>h});var o=e(89150),t=e(72282);const a=/[#.]/g;var r=e(91775),i=e(77457),u=e(72485);function s(n,l,e){const o=e?function(n){const l=new Map;for(const e of n)l.set(e.toLowerCase(),e);return l}(e):void 0;return function(e,t,...r){let i;if(null==e){i={type:"root",children:[]};const n=t;r.unshift(n)}else{i=function(n,l){const e=n||"",o={};let t,r,i=0;for(;i<e.length;){a.lastIndex=i;const n=a.exec(e),l=e.slice(i,n?n.index:e.length);l&&(t?"#"===t?o.id=l:Array.isArray(o.className)?o.className.push(l):o.className=[l]:r=l,i+=l.length),n&&(t=n[0],i++)}return{type:"element",tagName:r||l||"div",properties:o,children:[]}}(e,l);const u=i.tagName.toLowerCase(),s=o?o.get(u):void 0;if(i.tagName=s||u,function(n){if(null===n||"object"!=typeof n||Array.isArray(n))return!0;if("string"!=typeof n.type)return!1;const l=n,e=Object.keys(n);for(const n of e){const e=l[n];if(e&&"object"==typeof e){if(!Array.isArray(e))return!0;const n=e;for(const l of n)if("number"!=typeof l&&"string"!=typeof l)return!0}}if("children"in n&&Array.isArray(n.children))return!0;return!1}(t))r.unshift(t);else for(const[l,e]of Object.entries(t))c(n,i.properties,l,e)}for(const n of r)p(i.children,n);return"element"===i.type&&"template"===i.tagName&&(i.content={type:"root",children:i.children},i.children=[]),i}}function c(n,l,e,o){const a=(0,r.I)(n,e);let i;if(null!=o){if("number"==typeof o){if(Number.isNaN(o))return;i=o}else i="boolean"==typeof o?o:"string"==typeof o?a.spaceSeparated?(0,u.q)(o):a.commaSeparated?(0,t.q)(o):a.commaOrSpaceSeparated?(0,u.q)((0,t.q)(o).join(" ")):d(a,a.property,o):Array.isArray(o)?[...o]:"style"===a.property?function(n){const l=[];for(const[e,o]of Object.entries(n))l.push([e,o].join(": "));return l.join("; ")}(o):String(o);if(Array.isArray(i)){const n=[];for(const l of i)n.push(d(a,a.property,l));i=n}"className"===a.property&&Array.isArray(l.className)&&(i=l.className.concat(i)),l[a.property]=i}}function p(n,l){if(null==l);else if("number"==typeof l||"string"==typeof l)n.push({type:"text",value:String(l)});else if(Array.isArray(l))for(const e of l)p(n,e);else{if("object"!=typeof l||!("type"in l))throw new Error("Expected node, nodes, or string, got `"+l+"`");"root"===l.type?p(n,l.children):n.push(l)}}function d(n,l,e){if("string"==typeof e){if(n.number&&e&&!Number.isNaN(Number(e)))return Number(e);if((n.boolean||n.overloadedBoolean)&&(""===e||(0,i.S)(e)===(0,i.S)(l)))return!0}return e}const g=s(o.qy,"div"),h=s(o.JW,"g",["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"])},89150(n,l,e){e.d(l,{qy:()=>y,JW:()=>v});class o{constructor(n,l,e){this.normal=l,this.property=n,e&&(this.space=e)}}function t(n,l){const e={},t={};for(const l of n)Object.assign(e,l.property),Object.assign(t,l.normal);return new o(e,t,l)}o.prototype.normal={},o.prototype.property={},o.prototype.space=void 0;var a=e(77457),r=e(75147);function i(n){const l={},e={};for(const[o,t]of Object.entries(n.properties)){const i=new r.E(o,n.transform(n.attributes||{},o),t,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(i.mustUseProperty=!0),l[o]=i,e[(0,a.S)(o)]=o,e[(0,a.S)(i.attribute)]=o}return new o(l,e,n.space)}var u=e(65018);const s=i({properties:{ariaActiveDescendant:null,ariaAtomic:u.rt,ariaAutoComplete:null,ariaBusy:u.rt,ariaChecked:u.rt,ariaColCount:u.ai,ariaColIndex:u.ai,ariaColSpan:u.ai,ariaControls:u.OM,ariaCurrent:null,ariaDescribedBy:u.OM,ariaDetails:null,ariaDisabled:u.rt,ariaDropEffect:u.OM,ariaErrorMessage:null,ariaExpanded:u.rt,ariaFlowTo:u.OM,ariaGrabbed:u.rt,ariaHasPopup:null,ariaHidden:u.rt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:u.OM,ariaLevel:u.ai,ariaLive:null,ariaModal:u.rt,ariaMultiLine:u.rt,ariaMultiSelectable:u.rt,ariaOrientation:null,ariaOwns:u.OM,ariaPlaceholder:null,ariaPosInSet:u.ai,ariaPressed:u.rt,ariaReadOnly:u.rt,ariaRelevant:null,ariaRequired:u.rt,ariaRoleDescription:u.OM,ariaRowCount:u.ai,ariaRowIndex:u.ai,ariaRowSpan:u.ai,ariaSelected:u.rt,ariaSetSize:u.ai,ariaSort:null,ariaValueMax:u.ai,ariaValueMin:u.ai,ariaValueNow:u.ai,ariaValueText:null,role:null},transform:(n,l)=>"role"===l?l:"aria-"+l.slice(4).toLowerCase()});function c(n,l){return l in n?n[l]:l}function p(n,l){return c(n,l.toLowerCase())}const d=i({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u.$w,acceptCharset:u.OM,accessKey:u.OM,action:null,allow:null,allowFullScreen:u.zM,allowPaymentRequest:u.zM,allowUserMedia:u.zM,alpha:u.zM,alt:null,as:null,async:u.zM,autoCapitalize:null,autoComplete:u.OM,autoFocus:u.zM,autoPlay:u.zM,blocking:u.OM,capture:null,charSet:null,checked:u.zM,cite:null,className:u.OM,closedBy:null,colorSpace:null,cols:u.ai,colSpan:u.ai,command:null,commandFor:null,content:null,contentEditable:u.rt,controls:u.zM,controlsList:u.OM,coords:u.ai|u.$w,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u.zM,defer:u.zM,dir:null,dirName:null,disabled:u.zM,download:u.W$,draggable:u.rt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u.zM,formTarget:null,headers:u.OM,height:u.ai,hidden:u.W$,high:u.ai,href:null,hrefLang:null,htmlFor:u.OM,httpEquiv:u.OM,id:null,imageSizes:null,imageSrcSet:null,inert:u.zM,inputMode:null,integrity:null,is:null,isMap:u.zM,itemId:null,itemProp:u.OM,itemRef:u.OM,itemScope:u.zM,itemType:u.OM,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u.zM,low:u.ai,manifest:null,max:null,maxLength:u.ai,media:null,method:null,min:null,minLength:u.ai,multiple:u.zM,muted:u.zM,name:null,nonce:null,noModule:u.zM,noValidate:u.zM,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:u.zM,optimum:u.ai,pattern:null,ping:u.OM,placeholder:null,playsInline:u.zM,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:u.zM,referrerPolicy:null,rel:u.OM,required:u.zM,reversed:u.zM,rows:u.ai,rowSpan:u.ai,sandbox:u.OM,scope:null,scoped:u.zM,seamless:u.zM,selected:u.zM,shadowRootClonable:u.zM,shadowRootCustomElementRegistry:u.zM,shadowRootDelegatesFocus:u.zM,shadowRootMode:null,shadowRootSerializable:u.zM,shape:null,size:u.ai,sizes:null,slot:null,span:u.ai,spellCheck:u.rt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:u.ai,step:null,style:null,tabIndex:u.ai,target:null,title:null,translate:null,type:null,typeMustMatch:u.zM,useMap:null,value:u.rt,width:u.ai,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:u.OM,axis:null,background:null,bgColor:null,border:u.ai,borderColor:null,bottomMargin:u.ai,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u.zM,declare:u.zM,event:null,face:null,frame:null,frameBorder:null,hSpace:u.ai,leftMargin:u.ai,link:null,longDesc:null,lowSrc:null,marginHeight:u.ai,marginWidth:u.ai,noResize:u.zM,noHref:u.zM,noShade:u.zM,noWrap:u.zM,object:null,profile:null,prompt:null,rev:null,rightMargin:u.ai,rules:null,scheme:null,scrolling:u.rt,standby:null,summary:null,text:null,topMargin:u.ai,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u.ai,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:u.zM,disablePictureInPicture:u.zM,disableRemotePlayback:u.zM,exportParts:u.$w,part:u.OM,prefix:null,property:null,results:u.ai,security:null,unselectable:null},space:"html",transform:p}),g=i({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:u.YN,accentHeight:u.ai,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:u.ai,amplitude:u.ai,arabicForm:null,ascent:u.ai,attributeName:null,attributeType:null,azimuth:u.ai,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:u.ai,by:null,calcMode:null,capHeight:u.ai,className:u.OM,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:u.ai,diffuseConstant:u.ai,direction:null,display:null,dur:null,divisor:u.ai,dominantBaseline:null,download:u.zM,dx:null,dy:null,edgeMode:null,editable:null,elevation:u.ai,enableBackground:null,end:null,event:null,exponent:u.ai,externalResourcesRequired:null,fill:null,fillOpacity:u.ai,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:u.$w,g2:u.$w,glyphName:u.$w,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:u.ai,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:u.ai,horizOriginX:u.ai,horizOriginY:u.ai,id:null,ideographic:u.ai,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:u.ai,k:u.ai,k1:u.ai,k2:u.ai,k3:u.ai,k4:u.ai,kernelMatrix:u.YN,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:u.ai,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:u.ai,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:u.ai,overlineThickness:u.ai,paintOrder:null,panose1:null,path:null,pathLength:u.ai,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u.OM,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:u.ai,pointsAtY:u.ai,pointsAtZ:u.ai,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:u.YN,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:u.YN,rev:u.YN,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:u.YN,requiredFeatures:u.YN,requiredFonts:u.YN,requiredFormats:u.YN,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:u.ai,specularExponent:u.ai,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:u.ai,strikethroughThickness:u.ai,string:null,stroke:null,strokeDashArray:u.YN,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:u.ai,strokeOpacity:u.ai,strokeWidth:null,style:null,surfaceScale:u.ai,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:u.YN,tabIndex:u.ai,tableValues:null,target:null,targetX:u.ai,targetY:u.ai,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:u.YN,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:u.ai,underlineThickness:u.ai,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:u.ai,values:null,vAlphabetic:u.ai,vMathematical:u.ai,vectorEffect:null,vHanging:u.ai,vIdeographic:u.ai,version:null,vertAdvY:u.ai,vertOriginX:u.ai,vertOriginY:u.ai,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:u.ai,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),h=i({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(n,l)=>"xlink:"+l.slice(5).toLowerCase()}),f=i({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:p}),m=i({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(n,l)=>"xml:"+l.slice(3).toLowerCase()}),y=t([s,d,h,f,m],"html"),v=t([s,g,h,f,m],"svg")},91775(n,l,e){e.d(l,{I:()=>s});var o=e(75147),t=e(48627),a=e(77457);const r=/[A-Z]/g,i=/-[a-z]/g,u=/^data[-\w.:]+$/i;function s(n,l){const e=(0,a.S)(l);let s=l,d=t.R;if(e in n.normal)return n.property[n.normal[e]];if(e.length>4&&"data"===e.slice(0,4)&&u.test(l)){if("-"===l.charAt(4)){const n=l.slice(5).replace(i,p);s="data"+n.charAt(0).toUpperCase()+n.slice(1)}else{const n=l.slice(4);if(!i.test(n)){let e=n.replace(r,c);"-"!==e.charAt(0)&&(e="-"+e),l="data"+e}}d=o.E}return new d(s,l)}function c(n){return"-"+n.toLowerCase()}function p(n){return n.charAt(1).toUpperCase()}},77457(n,l,e){function o(n){return n.toLowerCase()}e.d(l,{S:()=>o})},75147(n,l,e){e.d(l,{E:()=>i});var o=e(48627),t=e(65018),a={};e.r(a),e.d(a,{boolean:()=>t.zM,booleanish:()=>t.rt,commaOrSpaceSeparated:()=>t.YN,commaSeparated:()=>t.$w,number:()=>t.ai,overloadedBoolean:()=>t.W$,spaceSeparated:()=>t.OM});const r=Object.keys(a);class i extends o.R{constructor(n,l,e,o){let t=-1;if(super(n,l),u(this,"space",o),"number"==typeof e)for(;++t<r.length;){const n=r[t];u(this,r[t],(e&a[n])===a[n])}}}function u(n,l,e){e&&(n[l]=e)}i.prototype.defined=!0},48627(n,l,e){e.d(l,{R:()=>o});class o{constructor(n,l){this.attribute=l,this.property=n}}o.prototype.attribute="",o.prototype.booleanish=!1,o.prototype.boolean=!1,o.prototype.commaOrSpaceSeparated=!1,o.prototype.commaSeparated=!1,o.prototype.defined=!1,o.prototype.mustUseProperty=!1,o.prototype.number=!1,o.prototype.overloadedBoolean=!1,o.prototype.property="",o.prototype.spaceSeparated=!1,o.prototype.space=void 0},65018(n,l,e){e.r(l);let o=0;const t=p(),a=p(),r=p(),i=p(),u=p(),s=p(),c=p();function p(){return 2**++o}e.d(l,["$w",0,s,"OM",0,u,"W$",0,r,"YN",0,c,"ai",0,i,"rt",0,a,"zM",0,t])},72485(n,l,e){function o(n){const l=String(n||"").trim();return l?l.split(/[ \t\n\r\f]+/g):[]}function t(n){return n.join(" ").trim()}e.d(l,{A:()=>t,q:()=>o})}}]);
|