@sap/ux-specification 1.96.0 → 1.96.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/CHANGELOG.md +45 -4
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/styleDocu.css +4 -5
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  5. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  6. package/dist/documentation/v2/v2-ListReport.html +1 -1
  7. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  8. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  9. package/dist/documentation/v4/v4-AnalyticalListPage.html +1 -1
  10. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  11. package/dist/documentation/v4/v4-ListReport.html +1 -1
  12. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  13. package/dist/index-min.js +1 -1
  14. package/dist/schemas/v2/AnalyticalListPageConfig.json +10 -38
  15. package/dist/schemas/v2/ListReportConfig.json +5 -28
  16. package/dist/schemas/v2/ObjectPageConfig.json +150 -48
  17. package/dist/schemas/v2/OverviewPageConfig.json +258 -196
  18. package/dist/schemas/v4/AnalyticalListPageConfig.json +18 -2
  19. package/dist/schemas/v4/ListReportConfig.json +18 -2
  20. package/dist/schemas/v4/ObjectPageConfig.json +0 -20
  21. package/dist/scripts/extractDocu.js +18 -8
  22. package/dist/scripts/extractDocu.js.map +1 -1
  23. package/dist/scripts/runDocu.js +105 -89
  24. package/dist/scripts/runDocu.js.map +1 -1
  25. package/dist/specification/v2/index-min.js +1 -1
  26. package/dist/src/apiTypes.d.ts +4 -3
  27. package/dist/src/apiTypes.js +3 -1
  28. package/dist/src/apiTypes.js.map +1 -1
  29. package/dist/src/specification/v2/controls/{ObjectPageHeaderAction.d.ts → Action.d.ts} +30 -3
  30. package/dist/src/specification/v2/controls/{FormAction.js → Action.js} +1 -1
  31. package/dist/src/specification/v2/controls/Action.js.map +1 -0
  32. package/dist/src/specification/v2/controls/Card.d.ts +20 -72
  33. package/dist/src/specification/v2/controls/Card.js.map +1 -1
  34. package/dist/src/specification/v2/controls/FilterBar.d.ts +4 -0
  35. package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +2 -2
  36. package/dist/src/specification/v2/controls/{FormAction.d.ts → ObjectPageFooterAction.d.ts} +4 -3
  37. package/dist/src/specification/v2/controls/{ObjectPageHeaderAction.js → ObjectPageFooterAction.js} +1 -1
  38. package/dist/src/specification/v2/controls/ObjectPageFooterAction.js.map +1 -0
  39. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -2
  40. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  41. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -5
  42. package/dist/src/specification/v2/controls/Table.d.ts +1 -9
  43. package/dist/src/specification/v2/controls/ToolBar.d.ts +2 -2
  44. package/dist/src/specification/v2/controls/index.d.ts +8 -9
  45. package/dist/src/specification/v2/controls/index.js +2 -2
  46. package/dist/src/specification/v2/controls/index.js.map +1 -1
  47. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +2 -2
  48. package/dist/src/specification/v4/controls/Table.d.ts +2 -2
  49. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +8 -19
  50. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +2 -1
  51. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  52. package/dist/src/sync/common/generate/objectPage.js +12 -8
  53. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  54. package/dist/src/sync/common/utils.d.ts +1 -1
  55. package/dist/src/sync/common/utils.js.map +1 -1
  56. package/dist/src/sync/v2/export/controls/Action.d.ts +14 -0
  57. package/dist/src/sync/v2/export/controls/Action.js +74 -0
  58. package/dist/src/sync/v2/export/controls/Action.js.map +1 -0
  59. package/dist/src/sync/v2/export/controls/Card.d.ts +3 -7
  60. package/dist/src/sync/v2/export/controls/Card.js +15 -43
  61. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  62. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +1 -0
  63. package/dist/src/sync/v2/export/controls/FilterBar.js +10 -0
  64. package/dist/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  65. package/dist/src/sync/v2/export/controls/Fragment.js +5 -4
  66. package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
  67. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +9 -0
  68. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +62 -0
  69. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  70. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +11 -29
  71. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  72. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +2 -1
  73. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +3 -0
  74. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  75. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +9 -0
  76. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +59 -0
  77. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  78. package/dist/src/sync/v2/export/controls/Table.d.ts +3 -4
  79. package/dist/src/sync/v2/export/controls/Table.js +4 -21
  80. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  81. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +4 -0
  82. package/dist/src/sync/v2/export/controls/ToolBar.js +6 -0
  83. package/dist/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  84. package/dist/src/sync/v2/export/controls/index.d.ts +12 -8
  85. package/dist/src/sync/v2/export/controls/index.js +12 -8
  86. package/dist/src/sync/v2/export/controls/index.js.map +1 -1
  87. package/dist/src/sync/v2/export/export.js +1 -1
  88. package/dist/src/sync/v2/export/export.js.map +1 -1
  89. package/dist/src/sync/v2/generate/objectPage.d.ts +0 -1
  90. package/dist/src/sync/v2/generate/objectPage.js +188 -111
  91. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  92. package/dist/src/sync/v2/generate/utils.d.ts +3 -3
  93. package/dist/src/sync/v2/generate/utils.js +22 -14
  94. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  95. package/dist/src/sync/v2/import/common/index.d.ts +8 -1
  96. package/dist/src/sync/v2/import/common/index.js +107 -43
  97. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  98. package/dist/src/sync/v2/import/pages/listReport.js +31 -0
  99. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  100. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  101. package/dist/src/sync/v2/import/pages/objectPage.js +303 -238
  102. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  103. package/dist/src/sync/v2/import/utils.d.ts +1 -1
  104. package/dist/src/sync/v2/import/utils.js +2 -2
  105. package/dist/src/sync/v2/import/utils.js.map +1 -1
  106. package/dist/src/sync/v2/types.d.ts +21 -2
  107. package/dist/src/sync/v2/types.js +7 -0
  108. package/dist/src/sync/v2/types.js.map +1 -1
  109. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js +5 -1
  110. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
  111. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +2 -2
  112. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +3 -2
  113. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +3 -10
  114. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  115. package/dist/src/sync/v4/export/controls/Table.js +1 -1
  116. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +3 -1
  117. package/dist/src/sync/v4/export/controls/TableColumn.js +5 -2
  118. package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  119. package/dist/src/sync/v4/export/export.js +3 -0
  120. package/dist/src/sync/v4/export/export.js.map +1 -1
  121. package/dist/src/sync/v4/import/pages/listReport.d.ts +1 -3
  122. package/dist/src/sync/v4/import/pages/listReport.js +27 -17
  123. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  124. package/dist/src/sync/v4/import/pages/objectPage.js +10 -12
  125. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  126. package/dist/src/sync/v4/utils/utils.js +5 -1
  127. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  128. package/package.json +6 -8
  129. package/dist/src/specification/v2/controls/FormAction.js.map +0 -1
  130. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js.map +0 -1
package/dist/index-min.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index-min.js.LICENSE.txt */
2
- (()=>{var e={601:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},8938:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},7740:e=>{"use strict";e.exports={i8:"3.1.6"}},921:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const a=n(5747);t.FILE_SYSTEM_ADAPTER={lstat:a.lstat,stat:a.stat,lstatSync:a.lstatSync,statSync:a.statSync,readdir:a.readdir,readdirSync:a.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},5354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const n=process.versions.node.split("."),a=parseInt(n[0],10),r=parseInt(n[1],10),i=a>10,o=10===a&&r>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=i||o},3453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const a=n(7346),r=n(938),i=n(4643);function o(e={}){return e instanceof i.default?e:new i.default(e)}t.Settings=i.default,t.scandir=function(e,t,n){if("function"==typeof t)return a.read(e,o(),t);a.read(e,o(t),n)},t.scandirSync=function(e,t){const n=o(t);return r.read(e,n)}},7346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const a=n(1992),r=n(1670),i=n(5354),o=n(869),s=n(4514);function c(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((a,i)=>{if(null!==a)return u(n,a);const c=i.map((n=>({dirent:n,name:n.name,path:s.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return p(n,c);const l=c.map((e=>function(e,t){return n=>{if(!e.dirent.isSymbolicLink())return n(null,e);t.fs.stat(e.path,((a,r)=>null!==a?t.throwErrorOnBrokenSymbolicLink?n(a):n(null,e):(e.dirent=o.fs.createDirentFromStats(e.name,r),n(null,e))))}}(e,t)));r(l,((e,t)=>{if(null!==e)return u(n,e);p(n,t)}))}))}function l(e,t,n){t.fs.readdir(e,((i,c)=>{if(null!==i)return u(n,i);const l=c.map((n=>s.joinPathSegments(e,n,t.pathSegmentSeparator))),f=l.map((e=>n=>a.stat(e,t.fsStatSettings,n)));r(f,((e,a)=>{if(null!==e)return u(n,e);const r=[];c.forEach(((e,n)=>{const i=a[n],s={name:e,path:l[n],dirent:o.fs.createDirentFromStats(e,i)};t.stats&&(s.stats=i),r.push(s)})),p(n,r)}))}))}function u(e,t){e(t)}function p(e,t){e(null,t)}t.read=function(e,t,n){return!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?c(e,t,n):l(e,t,n)},t.readdirWithFileTypes=c,t.readdir=l},4514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t}},938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const a=n(1992),r=n(5354),i=n(869),o=n(4514);function s(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const a={dirent:n,name:n.name,path:o.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(a.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(a.path);a.dirent=i.fs.createDirentFromStats(a.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return a}))}function c(e,t){return t.fs.readdirSync(e).map((n=>{const r=o.joinPathSegments(e,n,t.pathSegmentSeparator),s=a.statSync(r,t.fsStatSettings),c={name:n,path:r,dirent:i.fs.createDirentFromStats(n,s)};return t.stats&&(c.stats=s),c}))}t.read=function(e,t){return!t.stats&&r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?s(e,t):c(e,t)},t.readdirWithFileTypes=s,t.readdir=c},4643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(1992),i=n(921);t.default=class Settings{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=i.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,a.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},2526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new DirentFromStats(e,t)}},869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const a=n(2526);t.fs=a},6963:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const a=n(5747);t.FILE_SYSTEM_ADAPTER={lstat:a.lstat,stat:a.stat,lstatSync:a.lstatSync,statSync:a.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},1992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const a=n(4820),r=n(6728),i=n(3326);function o(e={}){return e instanceof i.default?e:new i.default(e)}t.Settings=i.default,t.stat=function(e,t,n){if("function"==typeof t)return a.read(e,o(),t);a.read(e,o(t),n)},t.statSync=function(e,t){const n=o(t);return r.read(e,n)}},4820:(e,t)=>{"use strict";function n(e,t){e(t)}function a(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,r){t.fs.lstat(e,((i,o)=>null!==i?n(r,i):o.isSymbolicLink()&&t.followSymbolicLink?void t.fs.stat(e,((e,i)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?n(r,e):a(r,o);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),a(r,i)})):a(r,o)))}},6728:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}},3326:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6963);t.default=class Settings{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=a.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},4833:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const a=n(9428),r=n(927),i=n(4440),o=n(2134);function s(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.walk=function(e,t,n){if("function"==typeof t)return new a.default(e,s()).read(t);new a.default(e,s(t)).read(n)},t.walkSync=function(e,t){const n=s(t);return new i.default(e,n).read()},t.walkStream=function(e,t){const n=s(t);return new r.default(e,n).read()}},9428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5749);t.default=class AsyncProvider{constructor(e,t){this._root=e,this._settings=t,this._reader=new a.default(this._root,this._settings),this._storage=new Set}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.add(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,[...this._storage])})),this._reader.read()}}},927:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2413),r=n(5749);t.default=class StreamProvider{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._stream=new a.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}}},4440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9359);t.default=class SyncProvider{constructor(e,t){this._root=e,this._settings=t,this._reader=new a.default(this._root,this._settings)}read(){return this._reader.read()}}},5749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8614),r=n(3453),i=n(1582),o=n(8488),s=n(7236);class AsyncReader extends s.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=r.scandir,this._emitter=new a.EventEmitter,this._queue=i(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,a)=>{if(null!==n)return t(n,void 0);for(const t of a)this._handleEntry(t,e.base);t(null,void 0)}))}_handleError(e){!this._isDestroyed&&o.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=o.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),o.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&o.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=AsyncReader},8488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t}},7236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8488);t.default=class Reader{constructor(e,t){this._root=e,this._settings=t,this._root=a.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},9359:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3453),r=n(8488),i=n(7236);class SyncReader extends i.default{constructor(){super(...arguments),this._scandir=a.scandirSync,this._storage=new Set,this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),[...this._storage]}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(r.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=r.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),r.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&r.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,e.path)}_pushToStorage(e){this._storage.add(e)}}t.default=SyncReader},2134:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(3453);t.default=class Settings{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,1/0),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,a.sep),this.fsScandirSettings=new r.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},4350:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(9335),t)},9335:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.revertTermToGenericType=t.convertTypes=t.defaultReferences=void 0;var a,r=function(e,t,n,a,r){this.path=e.Path,this.type="Path",this.$target=t,this.term=r,this.annotationType=a,this.annotationsTerm=n};function i(e,t){if(e.reverseReferenceMap||(e.reverseReferenceMap=e.reduce((function(e,t){return e[t.namespace]=t,e}),{})),!t)return t;var n=t.lastIndexOf("."),a=t.substr(0,n),r=t.substr(n+1),o=e.reverseReferenceMap[a];if(o)return o.alias+"."+r;if(-1!==t.indexOf("@")){var s=t.split("@");return s[0]+"@"+i(e,s.slice(1).join("@"))}return t}function o(e,t){if(e.referenceMap||(e.referenceMap=e.reduce((function(e,t){return e[t.alias]=t,e}),{})),!t)return t;var n=t.split("."),a=n[0],r=n.slice(1),i=e.referenceMap[a];if(i)return i.namespace+"."+r.join(".");if(-1!==t.indexOf("@")){var s=t.split("@");return s[0]+"@"+o(e,s.slice(1).join("@"))}return t}function s(e,n){return n.startsWith("@")?e+o(t.defaultReferences,n):e+"/"+n}function c(e,t){b[e]?b[e].push(t):b[e]=[t]}function l(e,t,n,a,r,i,o){if(void 0===a&&(a=!1),void 0===r&&(r=!1),n){var u=[];t&&"Property"===t._type&&(t=e[t.fullyQualifiedName.split("/")[0]]);var p=(n=s(t.fullyQualifiedName,n)).split("/"),f=[];p.forEach((function(e){if(-1!==e.indexOf("@")){var t=e.split("@"),n=t[0],a=t[1];f.push(n),f.push("@"+a)}else f.push(e)}));var d=n,h=t,g=f.reduce((function(n,a){if("$Type"===a&&"EntityType"===n._type)return n;if(0===a.length)return n&&"EntitySet"===n._type&&n.entityType&&(r&&u.push(n),n=n.entityType),n&&"NavigationProperty"===n._type&&n.targetType&&(r&&u.push(n),n=n.targetType),n;if(r&&null!=n&&u.push(n),n){if("EntitySet"===n._type&&"$Type"===a)return n=n.targetType;if("EntitySet"===n._type&&n.entityType)d=s(n.entityTypeName,a);else if("NavigationProperty"===n._type&&n.targetTypeName)d=s(n.targetTypeName,a);else if("NavigationProperty"===n._type&&n.targetType)d=s(n.targetType.fullyQualifiedName,a);else if("Property"===n._type)d=n.targetType?s(n.targetType.fullyQualifiedName,a):s(n.fullyQualifiedName,a);else if("Action"===n._type&&n.isBound)d=s(n.fullyQualifiedName,a),e[d]||(d=s(n.sourceType,a));else if("ActionParameter"===n._type&&n.isEntitySet)d=s(n.type,a);else if("ActionParameter"!==n._type||n.isEntitySet){if(d=s(n.fullyQualifiedName,a),"name"!==a&&void 0!==n[a])return n[a];if("$AnnotationPath"===a&&n.$target){var i=e[n.fullyQualifiedName.split("@")[0]];return(o=l(e,i,n.value,!1,!0)).visitedObjects.forEach((function(e){-1===u.indexOf(e)&&u.push(e)})),o.target}var o;if("$Path"===a&&n.$target)return(h=u.concat().reverse().find((function(e){return"EntityType"===e._type||"EntitySet"===e._type||"NavigationProperty"===e._type})))?((o=l(e,h,n.path,!1,!0)).visitedObjects.forEach((function(e){-1===u.indexOf(e)&&u.push(e)})),o.target):n.$target;if(a.startsWith("$Path")&&n.$target){var c=n.$target;d=s(c.fullyQualifiedName,a.substr(5))}else if(n.hasOwnProperty("$Type")&&!e[d]){var p=e[n.fullyQualifiedName.split("@")[0]];p&&(d=s(p.fullyQualifiedName,a))}}else if(d=s(t.fullyQualifiedName.substr(0,t.fullyQualifiedName.lastIndexOf("/")),a),!e[d]){var f=t.fullyQualifiedName.lastIndexOf("/");-1===f&&(f=t.fullyQualifiedName.length),d=s(e[t.fullyQualifiedName.substr(0,f)].sourceType,a)}}else d=a;return e[d]}),null);if(!g)if(o&&i)c(n,{message:"Unable to resolve the path expression: \n"+n+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+o+">\n<Record Type = "+i+">\n<AnnotationPath = "+n+">"});else c(n,{message:"Unable to resolve the path expression: "+n+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+p[0]+">\n<PropertyValue Path= "+p[1]+">"});return a?d:r?{visitedObjects:u,target:g}:g}}function u(e){return-1!==e.indexOf("@")}function p(e,t,n,a,s,c,p,f,g,m){if(void 0!==e)switch(e.type){case"String":return e.String;case"Int":return e.Int;case"Bool":return e.Bool;case"Decimal":return e.Decimal;case"Date":return e.Date;case"EnumMember":return i(n.references,e.EnumMember);case"PropertyPath":return{type:"PropertyPath",value:e.PropertyPath,fullyQualifiedName:t,$target:l(s,a,e.PropertyPath,!1,!1,g,m)};case"NavigationPropertyPath":return{type:"NavigationPropertyPath",value:e.NavigationPropertyPath,fullyQualifiedName:t,$target:l(s,a,e.NavigationPropertyPath,!1,!1,g,m)};case"AnnotationPath":var y=l(s,a,o(n.references,e.AnnotationPath),!0,!1,g,m),v={type:"AnnotationPath",value:e.AnnotationPath,fullyQualifiedName:t,$target:y,annotationType:g,annotationsTerm:m,term:"",path:""};return c.push({inline:!1,toResolve:v}),v;case"Path":var b=l(s,a,e.Path,!0,!1,g,m),P=new r(e,b,m,g,"");return c.push({inline:u(e.Path),toResolve:P}),P;case"Record":return d(e.Record,t,n,a,s,c,p,f,g,m);case"Collection":return h(e.Collection,t,n,a,s,c,p,f,g,m);case"Apply":case"Null":case"Not":case"Eq":case"Ne":case"Gt":case"Ge":case"Lt":case"Le":case"If":case"And":case"Or":return e}}function f(e,t,n){var r=a[e];return c(n+"/"+e,{isError:!1,message:"The type of the record used within the term "+e+" was not defined and was inferred as "+r+'.\nHint: If possible, try to maintain the Type property for each Record.\n<Annotations Target="'+n+'">\n\t<Annotation Term="'+e+'">\n\t\t<Record>...</Record>\n\t</Annotation>\n</Annotations>'}),r}function d(e,t,n,a,r,i,s,c,l,u){var d={$Type:!e.type&&u?f(u,0,a.fullyQualifiedName):o(n.references,e.type),fullyQualifiedName:t},h={};if(e.annotations&&Array.isArray(e.annotations)){var g={target:t,annotations:e.annotations,__source:s};c.push(g)}return e.propertyValues&&e.propertyValues.forEach((function(e){if(h[e.name]=p(e.value,t+"/"+e.name,n,a,r,i,s,c,l,u),e.annotations&&Array.isArray(e.annotations)){var o={target:t+"/"+e.name,annotations:e.annotations,__source:s};c.push(o)}!h.hasOwnProperty("Action")||"com.sap.vocabularies.UI.v1.DataFieldForAction"!==d.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithAction"!==d.$Type||(h.ActionTarget=a.actions&&a.actions[h.Action]||r[h.Action],h.ActionTarget||v.push({message:"Unable to resolve the action "+h.Action+" defined for "+d.fullyQualifiedName}))})),Object.assign(d,h)}function h(e,t,n,a,i,o,s,c,p,f){switch(function(e){var t=e.type;if(void 0===t&&e.length>0){var n=e[0];n.hasOwnProperty("PropertyPath")?t="PropertyPath":n.hasOwnProperty("Path")?t="Path":n.hasOwnProperty("AnnotationPath")?t="AnnotationPath":n.hasOwnProperty("NavigationPropertyPath")?t="NavigationPropertyPath":"object"==typeof n&&(n.hasOwnProperty("type")||n.hasOwnProperty("propertyValues"))?t="Record":"string"==typeof n&&(t="String")}else void 0===t&&(t="EmptyCollection");return t}(e)){case"PropertyPath":return e.map((function(e,n){return{type:"PropertyPath",value:e.PropertyPath,fullyQualifiedName:t+"/"+n,$target:l(i,a,e.PropertyPath,!1,!1,p,f)}}));case"Path":return e.map((function(e){var t=l(i,a,e.Path,!0,!1,p,f),n=new r(e,t,f,p,"");return o.push({inline:u(e.Path),toResolve:n}),n}));case"AnnotationPath":return e.map((function(e,n){var r=l(i,a,e.AnnotationPath,!0,!1,p,f),s={type:"AnnotationPath",value:e.AnnotationPath,fullyQualifiedName:t+"/"+n,$target:r,annotationType:p,annotationsTerm:f,term:"",path:""};return o.push({inline:!1,toResolve:s}),s}));case"NavigationPropertyPath":return e.map((function(e,n){return{type:"NavigationPropertyPath",value:e.NavigationPropertyPath,fullyQualifiedName:t+"/"+n,$target:l(i,a,e.NavigationPropertyPath,!1,!1,p,f)}}));case"Record":return e.map((function(e,r){return d(e,t+"/"+r,n,a,i,o,s,c,p,f)}));case"Apply":case"Null":case"If":case"Eq":case"Ne":case"Lt":case"Gt":case"Le":case"Ge":case"Not":case"And":case"Or":return e.map((function(e){return e}));case"String":return e.map((function(e){return"string"==typeof e||void 0===e?e:e.String}));default:if(0===e.length)return[];throw new Error("Unsupported case")}}function g(e,t,n,a,r,i,s){if(e.record){var c=e.record.type?o(t.references,e.record.type):f(e.term,0,n.fullyQualifiedName),l={$Type:c,fullyQualifiedName:e.fullyQualifiedName,qualifier:e.qualifier},u={};return e.record.propertyValues.forEach((function(o){u[o.name]=p(o.value,e.fullyQualifiedName+"/"+o.name,t,n,a,r,i,s,c,e.term),!u.hasOwnProperty("Action")||e.record&&"com.sap.vocabularies.UI.v1.DataFieldForAction"!==l.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithAction"!==l.$Type||(u.ActionTarget=n.actions&&n.actions[u.Action]||a[u.Action],u.ActionTarget||v.push({message:"Unable to resolve the action "+u.Action+" defined for "+e.fullyQualifiedName}))})),Object.assign(l,u)}if(void 0===e.collection)return!e.value||p(e.value,e.fullyQualifiedName,t,n,a,r,i,s,"",e.term);if(e.collection){var d=h(e.collection,e.fullyQualifiedName,t,n,a,r,i,s,"",e.term);return d.fullyQualifiedName=e.fullyQualifiedName,d}throw new Error("Unsupported case")}function m(e,t,n){e.forEach((function(e){e.navigationProperties=e.navigationProperties.map((function(e){var a={_type:"NavigationProperty",name:e.name,fullyQualifiedName:e.fullyQualifiedName,partner:e.hasOwnProperty("partner")?e.partner:void 0,isCollection:!!e.hasOwnProperty("isCollection")&&e.isCollection,containsTarget:!!e.hasOwnProperty("containsTarget")&&e.containsTarget,referentialConstraint:e.referentialConstraint?e.referentialConstraint:[],annotations:{}};if(e.targetTypeName)a.targetType=n[e.targetTypeName];else if(e.relationship){var r=t.find((function(t){return t.fullyQualifiedName===e.relationship}));if(r){var i=r.associationEnd.find((function(t){return t.role===e.toRole}));i&&(a.targetType=n[i.type],a.isCollection="*"===i.multiplicity)}}a.targetType&&(a.targetTypeName=a.targetType.fullyQualifiedName);var o=a;return n[o.fullyQualifiedName]=o,o})),e.resolvePath=function(e,t){return function(n,a){return l(t,e,n,!1,a,"","")}}(e,n)}))}function y(e,t){var n=i(e,t),a=n.lastIndexOf(".");return[n.substr(0,a),n.substr(a+1)]}!function(e){e["Org.OData.Authorization.V1.SecuritySchemes"]="Org.OData.Authorization.V1.SecurityScheme",e["Org.OData.Authorization.V1.Authorizations"]="Org.OData.Authorization.V1.Authorization",e["Org.OData.Core.V1.Revisions"]="Org.OData.Core.V1.RevisionType",e["Org.OData.Core.V1.Links"]="Org.OData.Core.V1.Link",e["Org.OData.Core.V1.Example"]="Org.OData.Core.V1.ExampleValue",e["Org.OData.Core.V1.Messages"]="Org.OData.Core.V1.MessageType",e["Org.OData.Core.V1.ValueException"]="Org.OData.Core.V1.ValueExceptionType",e["Org.OData.Core.V1.ResourceException"]="Org.OData.Core.V1.ResourceExceptionType",e["Org.OData.Core.V1.DataModificationException"]="Org.OData.Core.V1.DataModificationExceptionType",e["Org.OData.Core.V1.IsLanguageDependent"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.DereferenceableIDs"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.ConventionalIDs"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.Permissions"]="Org.OData.Core.V1.Permission",e["Org.OData.Core.V1.DefaultNamespace"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.Immutable"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.Computed"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.ComputedDefaultValue"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.IsURL"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.IsMediaType"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.ContentDisposition"]="Org.OData.Core.V1.ContentDispositionType",e["Org.OData.Core.V1.OptimisticConcurrency"]="Edm.PropertyPath",e["Org.OData.Core.V1.AdditionalProperties"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.AutoExpand"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.AutoExpandReferences"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.MayImplement"]="Org.OData.Core.V1.QualifiedTypeName",e["Org.OData.Core.V1.Ordered"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.PositionalInsert"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.AlternateKeys"]="Org.OData.Core.V1.AlternateKey",e["Org.OData.Core.V1.OptionalParameter"]="Org.OData.Core.V1.OptionalParameterType",e["Org.OData.Core.V1.OperationAvailable"]="Edm.Boolean",e["Org.OData.Core.V1.SymbolicName"]="Org.OData.Core.V1.SimpleIdentifier",e["Org.OData.Capabilities.V1.ConformanceLevel"]="Org.OData.Capabilities.V1.ConformanceLevelType",e["Org.OData.Capabilities.V1.AsynchronousRequestsSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.BatchContinueOnErrorSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.IsolationSupported"]="Org.OData.Capabilities.V1.IsolationLevel",e["Org.OData.Capabilities.V1.CrossJoinSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.CallbackSupported"]="Org.OData.Capabilities.V1.CallbackType",e["Org.OData.Capabilities.V1.ChangeTracking"]="Org.OData.Capabilities.V1.ChangeTrackingType",e["Org.OData.Capabilities.V1.CountRestrictions"]="Org.OData.Capabilities.V1.CountRestrictionsType",e["Org.OData.Capabilities.V1.NavigationRestrictions"]="Org.OData.Capabilities.V1.NavigationRestrictionsType",e["Org.OData.Capabilities.V1.IndexableByKey"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.TopSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.SkipSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.ComputeSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.SelectSupport"]="Org.OData.Capabilities.V1.SelectSupportType",e["Org.OData.Capabilities.V1.BatchSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.BatchSupport"]="Org.OData.Capabilities.V1.BatchSupportType",e["Org.OData.Capabilities.V1.FilterRestrictions"]="Org.OData.Capabilities.V1.FilterRestrictionsType",e["Org.OData.Capabilities.V1.SortRestrictions"]="Org.OData.Capabilities.V1.SortRestrictionsType",e["Org.OData.Capabilities.V1.ExpandRestrictions"]="Org.OData.Capabilities.V1.ExpandRestrictionsType",e["Org.OData.Capabilities.V1.SearchRestrictions"]="Org.OData.Capabilities.V1.SearchRestrictionsType",e["Org.OData.Capabilities.V1.KeyAsSegmentSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.QuerySegmentSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.InsertRestrictions"]="Org.OData.Capabilities.V1.InsertRestrictionsType",e["Org.OData.Capabilities.V1.DeepInsertSupport"]="Org.OData.Capabilities.V1.DeepInsertSupportType",e["Org.OData.Capabilities.V1.UpdateRestrictions"]="Org.OData.Capabilities.V1.UpdateRestrictionsType",e["Org.OData.Capabilities.V1.DeepUpdateSupport"]="Org.OData.Capabilities.V1.DeepUpdateSupportType",e["Org.OData.Capabilities.V1.DeleteRestrictions"]="Org.OData.Capabilities.V1.DeleteRestrictionsType",e["Org.OData.Capabilities.V1.CollectionPropertyRestrictions"]="Org.OData.Capabilities.V1.CollectionPropertyRestrictionsType",e["Org.OData.Capabilities.V1.OperationRestrictions"]="Org.OData.Capabilities.V1.OperationRestrictionsType",e["Org.OData.Capabilities.V1.AnnotationValuesInQuerySupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.ModificationQueryOptions"]="Org.OData.Capabilities.V1.ModificationQueryOptionsType",e["Org.OData.Capabilities.V1.ReadRestrictions"]="Org.OData.Capabilities.V1.ReadRestrictionsType",e["Org.OData.Capabilities.V1.CustomHeaders"]="Org.OData.Capabilities.V1.CustomParameter",e["Org.OData.Capabilities.V1.CustomQueryOptions"]="Org.OData.Capabilities.V1.CustomParameter",e["Org.OData.Capabilities.V1.MediaLocationUpdateSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Aggregation.V1.ApplySupported"]="Org.OData.Aggregation.V1.ApplySupportedType",e["Org.OData.Aggregation.V1.Groupable"]="Org.OData.Core.V1.Tag",e["Org.OData.Aggregation.V1.Aggregatable"]="Org.OData.Core.V1.Tag",e["Org.OData.Aggregation.V1.ContextDefiningProperties"]="Edm.PropertyPath",e["Org.OData.Aggregation.V1.LeveledHierarchy"]="Edm.PropertyPath",e["Org.OData.Aggregation.V1.RecursiveHierarchy"]="Org.OData.Aggregation.V1.RecursiveHierarchyType",e["Org.OData.Aggregation.V1.AvailableOnAggregates"]="Org.OData.Aggregation.V1.AvailableOnAggregatesType",e["Org.OData.Validation.V1.Minimum"]="Edm.PrimitiveType",e["Org.OData.Validation.V1.Maximum"]="Edm.PrimitiveType",e["Org.OData.Validation.V1.Exclusive"]="Org.OData.Core.V1.Tag",e["Org.OData.Validation.V1.AllowedValues"]="Org.OData.Validation.V1.AllowedValue",e["Org.OData.Validation.V1.MultipleOf"]="Edm.Decimal",e["Org.OData.Validation.V1.Constraint"]="Org.OData.Validation.V1.ConstraintType",e["Org.OData.Validation.V1.ItemsOf"]="Org.OData.Validation.V1.ItemsOfType",e["Org.OData.Validation.V1.OpenPropertyTypeConstraint"]="Org.OData.Core.V1.QualifiedTypeName",e["Org.OData.Validation.V1.DerivedTypeConstraint"]="Org.OData.Core.V1.QualifiedTypeName",e["Org.OData.Validation.V1.AllowedTerms"]="Org.OData.Core.V1.QualifiedTermName",e["Org.OData.Validation.V1.ApplicableTerms"]="Org.OData.Core.V1.QualifiedTermName",e["Org.OData.Validation.V1.MaxItems"]="Edm.Int64",e["Org.OData.Validation.V1.MinItems"]="Edm.Int64",e["Org.OData.Measures.V1.Scale"]="Edm.Byte",e["Org.OData.Measures.V1.DurationGranularity"]="Org.OData.Measures.V1.DurationGranularityType",e["com.sap.vocabularies.Analytics.v1.Dimension"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.Measure"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.AccumulativeMeasure"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.RolledUpPropertyCount"]="Edm.Int16",e["com.sap.vocabularies.Analytics.v1.PlanningAction"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.AggregatedProperties"]="com.sap.vocabularies.Analytics.v1.AggregatedPropertyType",e["com.sap.vocabularies.Common.v1.ServiceVersion"]="Edm.Int32",e["com.sap.vocabularies.Common.v1.ServiceSchemaVersion"]="Edm.Int32",e["com.sap.vocabularies.Common.v1.TextFor"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.IsLanguageIdentifier"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.TextFormat"]="com.sap.vocabularies.Common.v1.TextFormatType",e["com.sap.vocabularies.Common.v1.IsDigitSequence"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsUpperCase"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCurrency"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsUnit"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.UnitSpecificScale"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.UnitSpecificPrecision"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.SecondaryKey"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.MinOccurs"]="Edm.Int64",e["com.sap.vocabularies.Common.v1.MaxOccurs"]="Edm.Int64",e["com.sap.vocabularies.Common.v1.AssociationEntity"]="Edm.NavigationPropertyPath",e["com.sap.vocabularies.Common.v1.DerivedNavigation"]="Edm.NavigationPropertyPath",e["com.sap.vocabularies.Common.v1.Masked"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.MaskedAlways"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.SemanticObjectMapping"]="com.sap.vocabularies.Common.v1.SemanticObjectMappingType",e["com.sap.vocabularies.Common.v1.IsInstanceAnnotation"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.FilterExpressionRestrictions"]="com.sap.vocabularies.Common.v1.FilterExpressionRestrictionType",e["com.sap.vocabularies.Common.v1.FieldControl"]="com.sap.vocabularies.Common.v1.FieldControlType",e["com.sap.vocabularies.Common.v1.Application"]="com.sap.vocabularies.Common.v1.ApplicationType",e["com.sap.vocabularies.Common.v1.Timestamp"]="Edm.DateTimeOffset",e["com.sap.vocabularies.Common.v1.ErrorResolution"]="com.sap.vocabularies.Common.v1.ErrorResolutionType",e["com.sap.vocabularies.Common.v1.Messages"]="Edm.ComplexType",e["com.sap.vocabularies.Common.v1.numericSeverity"]="com.sap.vocabularies.Common.v1.NumericMessageSeverityType",e["com.sap.vocabularies.Common.v1.MaximumNumericMessageSeverity"]="com.sap.vocabularies.Common.v1.NumericMessageSeverityType",e["com.sap.vocabularies.Common.v1.IsActionCritical"]="Edm.Boolean",e["com.sap.vocabularies.Common.v1.Attributes"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.RelatedRecursiveHierarchy"]="Edm.AnnotationPath",e["com.sap.vocabularies.Common.v1.Interval"]="com.sap.vocabularies.Common.v1.IntervalType",e["com.sap.vocabularies.Common.v1.ResultContext"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.WeakReferentialConstraint"]="com.sap.vocabularies.Common.v1.WeakReferentialConstraintType",e["com.sap.vocabularies.Common.v1.IsNaturalPerson"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.ValueList"]="com.sap.vocabularies.Common.v1.ValueListType",e["com.sap.vocabularies.Common.v1.ValueListRelevantQualifiers"]="com.sap.vocabularies.Common.v1.SimpleIdentifier",e["com.sap.vocabularies.Common.v1.ValueListWithFixedValues"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.ValueListMapping"]="com.sap.vocabularies.Common.v1.ValueListMappingType",e["com.sap.vocabularies.Common.v1.IsCalendarYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarHalfyear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarMonth"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsDayOfCalendarMonth"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsDayOfCalendarYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearHalfyear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearMonth"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarDate"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalPeriod"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearPeriod"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsDayOfFiscalYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearVariant"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.MutuallyExclusiveTerm"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.DraftRoot"]="com.sap.vocabularies.Common.v1.DraftRootType",e["com.sap.vocabularies.Common.v1.DraftNode"]="com.sap.vocabularies.Common.v1.DraftNodeType",e["com.sap.vocabularies.Common.v1.DraftActivationVia"]="com.sap.vocabularies.Common.v1.SimpleIdentifier",e["com.sap.vocabularies.Common.v1.EditableFieldFor"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.SemanticKey"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.SideEffects"]="com.sap.vocabularies.Common.v1.SideEffectsType",e["com.sap.vocabularies.Common.v1.DefaultValuesFunction"]="com.sap.vocabularies.Common.v1.QualifiedName",e["com.sap.vocabularies.Common.v1.FilterDefaultValue"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.FilterDefaultValueHigh"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.SortOrder"]="com.sap.vocabularies.Common.v1.SortOrderType",e["com.sap.vocabularies.Common.v1.RecursiveHierarchy"]="com.sap.vocabularies.Common.v1.RecursiveHierarchyType",e["com.sap.vocabularies.Common.v1.CreatedAt"]="Edm.DateTimeOffset",e["com.sap.vocabularies.Common.v1.CreatedBy"]="com.sap.vocabularies.Common.v1.UserID",e["com.sap.vocabularies.Common.v1.ChangedAt"]="Edm.DateTimeOffset",e["com.sap.vocabularies.Common.v1.ChangedBy"]="com.sap.vocabularies.Common.v1.UserID",e["com.sap.vocabularies.Common.v1.ApplyMultiUnitBehaviorForSortingAndFiltering"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.CodeList.v1.CurrencyCodes"]="com.sap.vocabularies.CodeList.v1.CodeListSource",e["com.sap.vocabularies.CodeList.v1.UnitsOfMeasure"]="com.sap.vocabularies.CodeList.v1.CodeListSource",e["com.sap.vocabularies.CodeList.v1.StandardCode"]="Edm.PropertyPath",e["com.sap.vocabularies.CodeList.v1.ExternalCode"]="Edm.PropertyPath",e["com.sap.vocabularies.CodeList.v1.IsConfigurationDeprecationCode"]="Edm.Boolean",e["com.sap.vocabularies.Communication.v1.Contact"]="com.sap.vocabularies.Communication.v1.ContactType",e["com.sap.vocabularies.Communication.v1.Address"]="com.sap.vocabularies.Communication.v1.AddressType",e["com.sap.vocabularies.Communication.v1.IsEmailAddress"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Communication.v1.IsPhoneNumber"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Communication.v1.Event"]="com.sap.vocabularies.Communication.v1.EventData",e["com.sap.vocabularies.Communication.v1.Task"]="com.sap.vocabularies.Communication.v1.TaskData",e["com.sap.vocabularies.Communication.v1.Message"]="com.sap.vocabularies.Communication.v1.MessageData",e["com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"]="com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchyType",e["com.sap.vocabularies.PersonalData.v1.EntitySemantics"]="com.sap.vocabularies.PersonalData.v1.EntitySemanticsType",e["com.sap.vocabularies.PersonalData.v1.FieldSemantics"]="com.sap.vocabularies.PersonalData.v1.FieldSemanticsType",e["com.sap.vocabularies.PersonalData.v1.IsPotentiallyPersonal"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Session.v1.StickySessionSupported"]="com.sap.vocabularies.Session.v1.StickySessionSupportedType",e["com.sap.vocabularies.UI.v1.HeaderInfo"]="com.sap.vocabularies.UI.v1.HeaderInfoType",e["com.sap.vocabularies.UI.v1.Identification"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.Badge"]="com.sap.vocabularies.UI.v1.BadgeType",e["com.sap.vocabularies.UI.v1.LineItem"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.StatusInfo"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.FieldGroup"]="com.sap.vocabularies.UI.v1.FieldGroupType",e["com.sap.vocabularies.UI.v1.ConnectedFields"]="com.sap.vocabularies.UI.v1.ConnectedFieldsType",e["com.sap.vocabularies.UI.v1.GeoLocations"]="com.sap.vocabularies.UI.v1.GeoLocationType",e["com.sap.vocabularies.UI.v1.GeoLocation"]="com.sap.vocabularies.UI.v1.GeoLocationType",e["com.sap.vocabularies.UI.v1.Contacts"]="Edm.AnnotationPath",e["com.sap.vocabularies.UI.v1.MediaResource"]="com.sap.vocabularies.UI.v1.MediaResourceType",e["com.sap.vocabularies.UI.v1.DataPoint"]="com.sap.vocabularies.UI.v1.DataPointType",e["com.sap.vocabularies.UI.v1.KPI"]="com.sap.vocabularies.UI.v1.KPIType",e["com.sap.vocabularies.UI.v1.Chart"]="com.sap.vocabularies.UI.v1.ChartDefinitionType",e["com.sap.vocabularies.UI.v1.ValueCriticality"]="com.sap.vocabularies.UI.v1.ValueCriticalityType",e["com.sap.vocabularies.UI.v1.CriticalityLabels"]="com.sap.vocabularies.UI.v1.CriticalityLabelType",e["com.sap.vocabularies.UI.v1.SelectionFields"]="Edm.PropertyPath",e["com.sap.vocabularies.UI.v1.Facets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.HeaderFacets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.QuickViewFacets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.QuickCreateFacets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.FilterFacets"]="com.sap.vocabularies.UI.v1.ReferenceFacet",e["com.sap.vocabularies.UI.v1.SelectionPresentationVariant"]="com.sap.vocabularies.UI.v1.SelectionPresentationVariantType",e["com.sap.vocabularies.UI.v1.PresentationVariant"]="com.sap.vocabularies.UI.v1.PresentationVariantType",e["com.sap.vocabularies.UI.v1.SelectionVariant"]="com.sap.vocabularies.UI.v1.SelectionVariantType",e["com.sap.vocabularies.UI.v1.ThingPerspective"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.IsSummary"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.PartOfPreview"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.Map"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.Gallery"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.IsImageURL"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.IsImage"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.MultiLineText"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.TextArrangement"]="com.sap.vocabularies.UI.v1.TextArrangementType",e["com.sap.vocabularies.UI.v1.Importance"]="com.sap.vocabularies.UI.v1.ImportanceType",e["com.sap.vocabularies.UI.v1.Hidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.CreateHidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.UpdateHidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.DeleteHidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.HiddenFilter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.DataFieldDefault"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.Criticality"]="com.sap.vocabularies.UI.v1.CriticalityType",e["com.sap.vocabularies.UI.v1.CriticalityCalculation"]="com.sap.vocabularies.UI.v1.CriticalityCalculationType",e["com.sap.vocabularies.UI.v1.Emphasized"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.OrderBy"]="Edm.PropertyPath",e["com.sap.vocabularies.UI.v1.ParameterDefaultValue"]="Edm.PrimitiveType",e["com.sap.vocabularies.UI.v1.RecommendationState"]="com.sap.vocabularies.UI.v1.RecommendationStateType",e["com.sap.vocabularies.UI.v1.RecommendationList"]="com.sap.vocabularies.UI.v1.RecommendationListType",e["com.sap.vocabularies.UI.v1.ExcludeFromNavigationContext"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.HTML5.v1.CssDefaults"]="com.sap.vocabularies.HTML5.v1.CssDefaultsType"}(a||(a={})),t.defaultReferences=[{alias:"Capabilities",namespace:"Org.OData.Capabilities.V1",uri:""},{alias:"Aggregation",namespace:"Org.OData.Aggregation.V1",uri:""},{alias:"Validation",namespace:"Org.OData.Validation.V1",uri:""},{namespace:"Org.OData.Core.V1",alias:"Core",uri:""},{namespace:"Org.OData.Measures.V1",alias:"Measures",uri:""},{namespace:"com.sap.vocabularies.Common.v1",alias:"Common",uri:""},{namespace:"com.sap.vocabularies.UI.v1",alias:"UI",uri:""},{namespace:"com.sap.vocabularies.Session.v1",alias:"Session",uri:""},{namespace:"com.sap.vocabularies.Analytics.v1",alias:"Analytics",uri:""},{namespace:"com.sap.vocabularies.CodeList.v1",alias:"CodeList",uri:""},{namespace:"com.sap.vocabularies.PersonalData.v1",alias:"PersonalData",uri:""},{namespace:"com.sap.vocabularies.Communication.v1",alias:"Communication",uri:""},{namespace:"com.sap.vocabularies.HTML5.v1",alias:"HTML5",uri:""}];var v=[],b={};function P(e,t){var n;if("string"==typeof t){var a=t.match(/(\w+)\.\w+\/.*/);n=a&&e.find((function(e){return e.alias===a[1]}))?{type:"EnumMember",EnumMember:t}:{type:"String",String:t}}else Array.isArray(t)?n={type:"Collection",Collection:t.map((function(t){return S(e,t)}))}:"boolean"==typeof t?n={type:"Bool",Bool:t}:"number"==typeof t?n=t.toString()===t.toFixed()?{type:"Int",Int:t}:{type:"Decimal",Decimal:t}:"object"==typeof t&&t.isDecimal&&t.isDecimal()?n={type:"Decimal",Decimal:t.valueOf()}:"Path"===t.type?n={type:"Path",Path:t.path}:"AnnotationPath"===t.type?n={type:"AnnotationPath",AnnotationPath:t.value}:"Apply"===t.type?n={type:"Apply",Apply:t.Apply}:"Null"===t.type?n={type:"Null"}:"PropertyPath"===t.type?n={type:"PropertyPath",PropertyPath:t.value}:"NavigationPropertyPath"===t.type?n={type:"NavigationPropertyPath",NavigationPropertyPath:t.value}:Object.prototype.hasOwnProperty.call(t,"$Type")&&(n={type:"Record",Record:S(e,t)});return n}function S(e,t){if("string"==typeof t)return t;if("object"==typeof t){if(t.hasOwnProperty("$Type")){var n={type:t.$Type,propertyValues:[]};return Object.keys(t).forEach((function(a){if("$Type"!==a&&"term"!==a&&"__source"!==a&&"qualifier"!==a&&"ActionTarget"!==a&&"fullyQualifiedName"!==a&&"annotations"!==a){var r=t[a];n.propertyValues.push({name:a,value:P(e,r)})}else if("annotations"===a){var i=t[a];n.annotations=[],Object.keys(i).filter((function(e){return"_annotations"!==e})).forEach((function(t){Object.keys(i[t]).forEach((function(a){var r,s=T(e,i[t][a]);if(!s.term){var c=o(e,t+"."+a);if(c){var l=c.split("#");s.term=l[0],l.length>1&&(s.qualifier=l[1])}}null===(r=n.annotations)||void 0===r||r.push(s)}))}))}})),n}if("PropertyPath"===t.type)return{type:"PropertyPath",PropertyPath:t.value};if("AnnotationPath"===t.type)return{type:"AnnotationPath",AnnotationPath:t.value};if("NavigationPropertyPath"===t.type)return{type:"NavigationPropertyPath",NavigationPropertyPath:t.value}}}function T(e,t){var a={term:t.term,qualifier:t.qualifier};if(Array.isArray(t)){if(t.hasOwnProperty("annotations")){a.annotations=[];var r=t.annotations;Object.keys(r).filter((function(e){return"_annotations"!==e})).forEach((function(t){Object.keys(r[t]).forEach((function(n){var i,s=T(e,r[t][n]);if(!s.term){var c=o(e,t+"."+n);if(c){var l=c.split("#");s.term=l[0],l.length>1&&(s.qualifier=l[1])}}null===(i=a.annotations)||void 0===i||i.push(s)}))}))}return n(n({},a),{collection:t.map((function(t){return S(e,t)}))})}return t.hasOwnProperty("$Type")?n(n({},a),{record:S(e,t)}):n(n({},a),{value:P(e,t)})}t.convertTypes=function(e){v=[];var n=function(e){var t={};return e.schema.entityContainer&&e.schema.entityContainer.fullyQualifiedName&&(t[e.schema.entityContainer.fullyQualifiedName]=e.schema.entityContainer),e.schema.entitySets.forEach((function(e){t[e.fullyQualifiedName]=e})),e.schema.actions.forEach((function(e){if(t[e.fullyQualifiedName]=e,e.isBound){var n=e.fullyQualifiedName.split("(")[0];t[n]||(t[n]={_type:"UnboundGenericAction",actions:[]}),t[n].actions.push(e)}e.parameters.forEach((function(e){t[e.fullyQualifiedName]=e}))})),e.schema.complexTypes.forEach((function(e){t[e.fullyQualifiedName]=e,e.properties.forEach((function(e){t[e.fullyQualifiedName]=e}))})),e.schema.entityTypes.forEach((function(e){t[e.fullyQualifiedName]=e,e.entityProperties.forEach((function(e){if(t[e.fullyQualifiedName]=e,-1===e.type.indexOf("Edm")){var n=t[e.type];n&&n.properties&&n.properties.forEach((function(n){var a=Object.assign(n,{_type:"Property",fullyQualifiedName:e.fullyQualifiedName+"/"+n.name});t[a.fullyQualifiedName]=a}))}})),e.navigationProperties.forEach((function(e){t[e.fullyQualifiedName]=e}))})),Object.keys(e.schema.annotations).forEach((function(n){e.schema.annotations[n].forEach((function(n){var a=o(e.references,n.target);n.annotations.forEach((function(n){var r=a+"@"+o(e.references,n.term);n.qualifier&&(r+="#"+n.qualifier),t[r]=n,n.fullyQualifiedName=r}))}))})),t}(e);m(e.schema.entityTypes,e.schema.associations,n),e.schema.entityContainer.annotations||(e.schema.entityContainer.annotations={}),function(e,t,n){t.forEach((function(t){if(t.annotations||(t.annotations={}),t.isBound){var a=n[t.sourceType];t.sourceEntityType=a,a&&(a.actions||(a.actions={}),a.actions[t.name]=t,a.actions[e+"."+t.name]=t),t.returnEntityType=n[t.returnType]}}))}(e.schema.namespace,e.schema.actions,n),function(e,t,n){e.forEach((function(e){e.entityType=t[e.entityTypeName],e.entityType||(e.entityType=t[o(n,e.entityTypeName)]),e.annotations||(e.annotations={}),e.entityType.annotations||(e.entityType.annotations={}),e.entityType.keys.forEach((function(e){e.isKey=!0}))}))}(e.schema.entitySets,n,e.references),function(e,t,n){void 0===e&&(e=[]),e.forEach((function(e){e.type=t[e.typeName],e.type||(e.type=t[o(n,e.typeName)]),e.annotations||(e.annotations={}),e.type.annotations||(e.type.annotations={}),e.type.keys.forEach((function(e){e.isKey=!0}))}))}(e.schema.singletons,n,e.references),function(e,t){function n(e){if(e.annotations||(e.annotations={}),-1===e.type.indexOf("Edm")){var a=void 0;if(e.type.startsWith("Collection")){var r=e.type.substr(11,e.type.length-12);a=t[r]}else a=t[e.type];a&&(e.targetType=a,a.properties&&a.properties.forEach(n))}}e.forEach((function(e){e.entityProperties.forEach(n)}))}(e.schema.entityTypes,n),function(e,t,n){e.forEach((function(e){e.annotations={},e.properties.forEach((function(e){e.annotations||(e.annotations={})})),e.navigationProperties=e.navigationProperties.map((function(e){e.annotations||(e.annotations={});var a={_type:"NavigationProperty",name:e.name,fullyQualifiedName:e.fullyQualifiedName,partner:e.hasOwnProperty("partner")?e.partner:void 0,isCollection:!!e.hasOwnProperty("isCollection")&&e.isCollection,containsTarget:!!e.hasOwnProperty("containsTarget")&&e.containsTarget,referentialConstraint:e.referentialConstraint?e.referentialConstraint:[]};if(e.targetTypeName)a.targetType=n[e.targetTypeName];else if(e.relationship){var r=t.find((function(t){return t.fullyQualifiedName===e.relationship}));if(r){var i=r.associationEnd.find((function(t){return t.role===e.toRole}));i&&(a.targetType=n[i.type],a.isCollection="*"===i.multiplicity)}}a.targetType&&(a.targetTypeName=a.targetType.fullyQualifiedName);var o=a;return n[o.fullyQualifiedName]=o,o}))}))}(e.schema.complexTypes,e.schema.associations,n);var a=[],r=[];Object.keys(e.schema.annotations).forEach((function(i){e.schema.annotations[i].forEach((function(s){var c=o(e.references,s.target),l=n[c];if(l){if("object"==typeof l){var u=[l],p=!0;"UnboundGenericAction"===l._type&&(u=l.actions,p=!1),u.forEach((function(l){c!==l.fullyQualifiedName&&(c=l.fullyQualifiedName),l.annotations||(l.annotations={}),s.annotations.forEach((function(s){var u,f,d=y(t.defaultReferences,s.term),h=d[0],m=d[1];l.annotations[h]||(l.annotations[h]={}),l.annotations._annotations||(l.annotations._annotations={});var v=m+(s.qualifier?"#"+s.qualifier:"");if(p||void 0===(null===(f=null===(u=l.annotations)||void 0===u?void 0:u[h])||void 0===f?void 0:f[v])){switch(l.annotations[h][v]=g(s,e,l,n,a,i,r),typeof l.annotations[h][v]){case"string":l.annotations[h][v]=new String(l.annotations[h][v]);break;case"boolean":l.annotations[h][v]=new Boolean(l.annotations[h][v])}null!==l.annotations[h][v]&&"object"==typeof l.annotations[h][v]&&(l.annotations[h][v].term=o(t.defaultReferences,h+"."+m),l.annotations[h][v].qualifier=s.qualifier,l.annotations[h][v].__source=i);var b=c+"@"+o(t.defaultReferences,h+"."+v);if(s.annotations&&Array.isArray(s.annotations)){var P={target:b,annotations:s.annotations,__source:i};r.push(P)}else s.annotations&&!l.annotations[h][v].annotations&&(l.annotations[h][v].annotations=s.annotations);l.annotations._annotations[h+"."+v]=l.annotations[h][v],n[b]=l.annotations[h][v]}}))}))}}else c&&-1!==c.indexOf("@")&&(s.__source=i,r.push(s))}))}));var i=[];for(var s in r.forEach((function(r){var s=o(e.references,r.target),c=s.split("@"),l=c[0],u=c[1].split("/");l=l+"@"+u[0];var p=u.slice(1).reduce((function(e,t){return e?e[t]:null}),n[l]);p?"object"==typeof p&&(p.annotations||(p.annotations={}),r.annotations.forEach((function(c){var l=y(t.defaultReferences,c.term),u=l[0],f=l[1];p.annotations[u]||(p.annotations[u]={}),p.annotations._annotations||(p.annotations._annotations={});var d=f+(c.qualifier?"#"+c.qualifier:"");p.annotations[u][d]=g(c,e,p,n,a,r.__source,i),null!==p.annotations[u][d]&&"object"==typeof p.annotations[u][d]&&(p.annotations[u][d].term=o(t.defaultReferences,u+"."+f),p.annotations[u][d].qualifier=c.qualifier,p.annotations[u][d].__source=r.__source),p.annotations._annotations[u+"."+d]=p.annotations[u][d],n[s+"@"+o(t.defaultReferences,u+"."+d)]=p.annotations[u][d]}))):v.push({message:"The following annotation target was not found on the service "+s})})),a.forEach((function(e){var t=e.toResolve,a=t.$target,r=n[a],i=t.annotationsTerm,o=t.annotationType;if(delete t.annotationType,delete t.annotationsTerm,!e.inline||r instanceof String)t.$target=r;else{var s=void 0;for(s in t)delete t[s];Object.assign(t,r)}if(!r)if(t.targetString=a,i&&o){c(a,{message:"Unable to resolve the path expression: "+a+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+i+">\n<Record Type = "+o+">\n<AnnotationPath = "+a+">"})}else{var l=t.term,u=t.path,p=a?a.split("/")[0]:a;c(a,{message:"Unable to resolve the path expression: "+a+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+p+">\n<PropertyValue Property = "+l+" Path= "+u+">"})}})),b)v.push(b[s][0]);e.entitySets=e.schema.entitySets;var u=e.references.filter((function(e){return void 0===t.defaultReferences.find((function(t){return t.namespace===e.namespace}))})),p={version:e.version,annotations:e.schema.annotations,namespace:e.schema.namespace,entityContainer:e.schema.entityContainer,actions:e.schema.actions,entitySets:e.schema.entitySets,singletons:e.schema.singletons,entityTypes:e.schema.entityTypes,complexTypes:e.schema.complexTypes,references:t.defaultReferences.concat(u),diagnostics:v.concat()};return p.resolvePath=function(e,t){return function(n){var a=n.split("/");if(""!==a.shift())throw new Error("Cannot deal with relative path");var r=a.shift(),i=e.entitySets.find((function(e){return e.name===r}));if(!i)return{target:e.entityContainer,objectPath:[e.entityContainer]};if(0===a.length)return{target:i,objectPath:[e.entityContainer,i]};var o=l(t,i,"/"+a.join("/"),!1,!0);return o.target&&o.visitedObjects.push(o.target),{target:o.target,objectPath:o.visitedObjects}}}(p,n),p},t.revertTermToGenericType=T},1014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(5129);Object.defineProperty(t,"parseEDMX",{enumerable:!0,get:function(){return a.parseEDMX}});var r=n(8027);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return r.merge}})},8027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const a=n(1878);t.merge=function(e){const t=new a.MergedParserOutput(e[0]);return e.forEach((e=>{t.addParserOutput(e)})),t}},5129:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEDMX=void 0;const a=n(4139),r=n(1878),i=n(6162),o=n(6511),s=/Collection\(([^)]+)\)/;function c(e,t,n,a){return e.reduce(((e,r)=>{const i={_type:"Property",name:r._attributes.Name,fullyQualifiedName:`${n}/${r._attributes.Name}`,type:r._attributes.Type};if(r._attributes.MaxLength&&(i.maxLength=parseInt(r._attributes.MaxLength)),r._attributes.Precision&&(i.precision=parseInt(r._attributes.Precision)),r._attributes.Scale&&(i.scale=parseInt(r._attributes.Scale)),r._attributes.Nullable&&(i.nullable="false"!==r._attributes.Nullable),r._attributes.DefaultValue)switch(i.type){case"Edm.Int16":case"Edm.Byte":case"Edm.Int32":case"Edm.Int64":i.defaultValue=parseInt(r._attributes.DefaultValue);break;case"Edm.Decimal":i.defaultValue=parseFloat(r._attributes.DefaultValue);break;case"Edm.Boolean":i.defaultValue="true"===r._attributes.DefaultValue;break;default:i.defaultValue=r._attributes.DefaultValue}e.entityProperties.push(i),-1!==t.indexOf(i.name)&&e.entityKeys.push(i);const s=o.convertV2Annotations(r._attributes,"Property",r._attributes.Name);return s.length>0&&a.push(S(i.fullyQualifiedName,s)),e}),{entityProperties:[],entityKeys:[]})}function l(e,t,n,a){return e.reduce(((e,i)=>{const c=i._attributes;if(null!==(f=c).Type&&void 0!==f.Type){const a=c.Type.match(s),o=null!==a,f=a?a[1]:c.Type;e.push({_type:"NavigationProperty",name:c.Name,fullyQualifiedName:`${n}/${c.Name}`,partner:c.Partner,containsTarget:"true"===c.ContainsTarget,isCollection:o,targetTypeName:f,referentialConstraint:(l=r.ensureArray(i.ReferentialConstraint),u=t._attributes.Name,p=f,l.reduce(((e,t)=>(e.push({sourceTypeName:u,sourceProperty:t._attributes.Property,targetTypeName:p,targetProperty:t._attributes.ReferencedProperty}),e)),[]))})}else{const{Relationship:t,ToRole:r,FromRole:i}=c;e.push({_type:"NavigationProperty",name:c.Name,fullyQualifiedName:`${n}/${c.Name}`,relationship:t,toRole:r,fromRole:i});const s=o.convertV2Annotations(c,"Property",c.Name);s.length>0&&a.push(S(`${n}/${c.Name}`,s))}var l,u,p,f;return e}),[])}function u(e){switch(e){case"1":return i.Multiplicity.One;case"0..1":return i.Multiplicity.ZeroOrOne;case"*":return i.Multiplicity.Many}return i.Multiplicity.Unknown}function p(e,t,n=!1){return e.map((e=>{let a=`${r.ensureArray(e.Parameter).filter((t=>t._attributes.Name===e._attributes.EntitySetPath)).map((e=>e._attributes.Type))}`;const i="true"===e._attributes.IsBound;let o=`${e._attributes.Name}()`;return i&&(a||(a=`${r.ensureArray(e.Parameter)[0]._attributes.Type}`),o=`${t}.${e._attributes.Name}(${a})`),{_type:"Action",name:e._attributes.Name,isBound:i,sourceType:a,fullyQualifiedName:o,isFunction:n,parameters:r.ensureArray(e.Parameter).map((t=>({_type:"ActionParameter",fullyQualifiedName:`${o}/${t._attributes.Name}`,type:t._attributes.Type,isEntitySet:t._attributes.Name===e._attributes.EntitySetPath}))),returnType:e.ReturnType?e.ReturnType._attributes.Type:""}}))}function f(e,t,n){return e.map((e=>{const{Annotation:a,_attributes:i,...o}=e,s={};if(i){const a=Object.keys(i).find((e=>"Property"!==e));s.name=i.Property;let c=`${t}/${s.name}`;if(o&&Object.keys(o).length>0?s.value=b(o,c,n):a&&(s.value=v({[a]:i[a]},c,n)),e.Annotation){const t=P(r.ensureArray(e.Annotation),c,n);t&&t.length>0&&n.push(S(c,t))}}return s}))}function d(e,t,n){const a=P(r.ensureArray(e.Annotation),t,n);return a&&a.length>0&&n.push(S(t,a)),{type:e._attributes?E(e._attributes.Type):void 0,propertyValues:f(r.ensureArray(e.PropertyValue),t,n)}}function h(e,t){return null!=e[t]}function g(e,t){switch(t){case"NavigationPropertyPath":return{type:"NavigationPropertyPath",NavigationPropertyPath:e._text};case"PropertyPath":return{type:"PropertyPath",PropertyPath:e._text};case"AnnotationPath":return{type:"AnnotationPath",AnnotationPath:e._text};case"Path":return{type:"Path",Path:e._text}}}function m(e,t,n){if(h(e,"Record")){const a=r.ensureArray(e.Record).map(((e,a)=>d(e,t+"/"+a,n)));return a.type="Record",a}if(h(e,"PropertyPath")){const t=r.ensureArray(e.PropertyPath).map((e=>g(e,"PropertyPath")));return t.type="PropertyPath",t}if(h(e,"NavigationPropertyPath")){const t=r.ensureArray(e.NavigationPropertyPath).map((e=>g(e,"NavigationPropertyPath")));return t.type="NavigationPropertyPath",t}if(h(e,"String")){const t=r.ensureArray(e.String).map((e=>e._text));return t.type="String",t}if(h(e,"AnnotationPath")){const t=r.ensureArray(e.AnnotationPath).map((e=>g(e,"AnnotationPath")));return t.type="AnnotationPath",t}if(h(e,"Path")){const t=r.ensureArray(e.Path).map((e=>g(e,"Path")));return t.type="Path",t}if(h(e,"If")){const t=r.ensureArray(e.If).map((e=>e._text));return t.type="String",t}return 0===Object.keys(e).length||console.error(`Cannot parse ${JSON.stringify(e)}, collection type is not supported`),[]}function y(e,t){return null!=e[t]}function v(e,t,n){const a=Object.keys(e);if(a.length>1)throw new Error(`Too many expressions defined on a single object ${JSON.stringify(e)}`);const r=a[0];switch(r){case"String":return{type:"String",String:e[r]};case"Bool":return{type:"Bool",Bool:"true"===e.Bool};case"Decimal":return{type:"Decimal",Decimal:parseFloat(e.Decimal)};case"Date":return{type:"Date",Date:e.Date};case"Int":return{type:"Int",Int:parseInt(e.Int)};case"Path":return{type:"Path",Path:e.Path};case"PropertyPath":return{type:"PropertyPath",PropertyPath:e.PropertyPath};case"AnnotationPath":return{type:"AnnotationPath",AnnotationPath:e.AnnotationPath};case"NavigationPropertyPath":return{type:"NavigationPropertyPath",NavigationPropertyPath:e.NavigationPropertyPath};case"EnumMember":return{type:"EnumMember",EnumMember:e[r]};case"Collection":return{type:"Collection",Collection:m(e.Collection,t,n)};case"Record":return{type:"Record",Record:d(e.Record,t,n)};case"Apply":return{type:"Apply",Apply:e.Apply};case"Null":return{type:"Null"};default:return console.error("Unsupported inline expression type "+r),{type:"Unknown"}}}function b(e,t,n){const a=Object.keys(e);if(a.length>1)throw new Error(`Too many expressions defined on a single object ${JSON.stringify(e)}`);const r=a[0];switch(r){case"String":return{type:"String",String:e[r]._text};case"Bool":return{type:"Bool",Bool:"true"===e.Bool._text};case"Int":return{type:"Int",Int:parseInt(e.Int._text)};case"Decimal":return{type:"Decimal",Decimal:parseFloat(e.Decimal._text)};case"Path":return{type:"Path",Path:e.Path._text};case"PropertyPath":return{type:"PropertyPath",PropertyPath:e.PropertyPath._text};case"NavigationPropertyPath":return{type:"NavigationPropertyPath",NavigationPropertyPath:e.NavigationPropertyPath._text};case"AnnotationPath":return{type:"AnnotationPath",AnnotationPath:e.AnnotationPath._text};case"EnumMember":return{type:"EnumMember",EnumMember:e[r]._text};case"Collection":return{type:"Collection",Collection:m(e.Collection,t,n)};case"Record":return{type:"Record",Record:d(e.Record,t,n)};case"Apply":return{type:"Apply",Apply:e.Apply};case"Null":return{type:"Null"};default:return console.error("Unsupported expression type "+r),{type:"Unknown"}}}function P(e,t,n){return e.map((e=>function(e,t,n){const{Term:a,Qualifier:i,...o}=e._attributes;let s={term:E(a),qualifier:i},c=`${t}@${E(a)}`;if(""!==i&&void 0!==i&&(c+=`#${i}`),o&&Object.keys(o).length>0&&(s.value=v(o,c,n)),e.Annotation){const t=P(r.ensureArray(e.Annotation),c,n);t&&t.length>0&&n.push(S(c,t))}const l=Object.keys(e).filter((e=>"_attributes"!==e&&"Annotation"!==e));return y(e,"Record")?s.record=d(e.Record,c,n):y(e,"Collection")?s.collection=m(e.Collection,c,n):1===l.length?s.value=b({[l[0]]:e[l[0]]},c,n):l.length>1&&console.error(`Cannot parse ${JSON.stringify(e)}, expression type is not supported`),s}(e,t,n)))}function S(e,t){return{target:e,annotations:t}}function T(e,t){const n=e._attributes.Namespace,a=[],i=function(e,t,n){return e.reduce(((e,a)=>{const i=a.Key?r.ensureArray(a.Key.PropertyRef).map((e=>e._attributes.Name)):[],o=`${n}.${a._attributes.Name}`,{entityProperties:s,entityKeys:u}=c(r.ensureArray(a.Property),i,o,t),p=l(r.ensureArray(a.NavigationProperty),a,o,t);return e.push({_type:"EntityType",name:a._attributes.Name,fullyQualifiedName:o,keys:u,entityProperties:s,navigationProperties:p}),e}),[])}(r.ensureArray(e.EntityType),a,n),s=function(e,t,n){return e.reduce(((e,a)=>{const i=`${n}.${a._attributes.Name}`,{entityProperties:o,entityKeys:s}=c(r.ensureArray(a.Property),[],i,t),u=l(r.ensureArray(a.NavigationProperty),a,i,t);return e.push({_type:"ComplexType",name:a._attributes.Name,fullyQualifiedName:i,properties:o,navigationProperties:u}),e}),[])}(r.ensureArray(e.ComplexType),a,n);let f=[],d=[],h=[],g={},m=[];e.EntityContainer&&(f=function(e,t,n,a){const i=e.map((e=>{const r={_type:"EntitySet",name:e._attributes.Name,entityTypeName:e._attributes.EntityType,navigationPropertyBinding:{},fullyQualifiedName:`${t}.${n}/${e._attributes.Name}`},i=o.convertV2Annotations(e._attributes,"EntitySet",e._attributes.Name);return i.length>0&&a.push(S(r.fullyQualifiedName,i)),r}));return e.forEach((e=>{const t=i.find((t=>t.name===e._attributes.Name));t&&r.ensureArray(e.NavigationPropertyBinding).forEach((e=>{const n=i.find((t=>t.name===e._attributes.Target));n&&(t.navigationPropertyBinding[e._attributes.Path]=n)}))})),i}(r.ensureArray(e.EntityContainer.EntitySet),n,e.EntityContainer._attributes.Name,a),d=function(e,t,n,a){const i=e.map((e=>{const r={_type:"Singleton",name:e._attributes.Name,typeName:e._attributes.Type,nullable:"false"!==e._attributes.Nullable,navigationPropertyBinding:{},fullyQualifiedName:`${t}.${n}/${e._attributes.Name}`},i=o.convertV2Annotations(e._attributes,"Singleton",e._attributes.Name);return i.length>0&&a.push(S(r.fullyQualifiedName,i)),r}));return e.forEach((e=>{const t=i.find((t=>t.name===e._attributes.Name));t&&r.ensureArray(e.NavigationPropertyBinding).forEach((e=>{const n=i.find((t=>t.name===e._attributes.Target));n&&(t.navigationPropertyBinding[e._attributes.Path]=n)}))})),i}(r.ensureArray(e.EntityContainer.Singleton),n,e.EntityContainer._attributes.Name,a),h=function(e,t){return e.map((e=>{const n=`${t}.${e._attributes.Name}`,a=r.ensureArray(e.End).map((e=>({entitySet:e._attributes.EntitySet,role:e._attributes.Role})));return{fullyQualifiedName:n,name:e._attributes.Name,association:e._attributes.Association,associationEnd:a}}))}(r.ensureArray(e.EntityContainer.AssociationSet),n),g={name:e.EntityContainer._attributes.Name,fullyQualifiedName:`${n}.${e.EntityContainer._attributes.Name}`},m=m.concat(function(e,t,n){return e.map((e=>{const a=t.find((t=>t.name===e._attributes.EntitySet));let i=`${n}/${e._attributes.Name}()`;return{_type:"Action",name:e._attributes.Name,isBound:!1,sourceType:a?a.entityTypeName:"",fullyQualifiedName:i,isFunction:!1,parameters:r.ensureArray(e.Parameter).map((e=>({_type:"ActionParameter",fullyQualifiedName:`${i}/${e._attributes.Name}`,type:e._attributes.Type,isEntitySet:!1}))),returnType:e._attributes.ReturnType?e._attributes.ReturnType:""}}))}(r.ensureArray(e.EntityContainer.FunctionImport),f,g.fullyQualifiedName))),m=m.concat(p(r.ensureArray(e.Action),n)),m=m.concat(p(r.ensureArray(e.Function),n,!0));const y=function(e,t){return e.map((e=>{const n=`${t}.${e._attributes.Name}`,a=r.ensureArray(e.End).map((e=>({type:e._attributes.Type,role:e._attributes.Role,multiplicity:u(e._attributes.Multiplicity)})));return{fullyQualifiedName:n,name:e._attributes.Name,associationEnd:a,referentialConstraints:(i=r.ensureArray(e.ReferentialConstraint),o=a,i.reduce(((e,t)=>{let n=o.find((e=>e.role===t.Principal._attributes.Role)),a=o.find((e=>e.role===t.Dependent._attributes.Role));if(n&&a){let i=r.ensureArray(t.Principal.PropertyRef),s=r.ensureArray(t.Dependent.PropertyRef);"1"!==n.multiplicity&&(a=n,n=o.find((e=>e.role===t.Dependent._attributes.Role)),s=i,i=r.ensureArray(t.Dependent.PropertyRef)),i.forEach(((t,r)=>{e.push({sourceTypeName:n.type,sourceProperty:t._attributes.Name,targetTypeName:a.type,targetProperty:s[r]._attributes.Name})}))}return e}),[]))};var i,o}))}(r.ensureArray(e.Association),n);var v,b;h.length>0&&f.forEach((e=>{const t=i.find((t=>t.fullyQualifiedName===e.entityTypeName));null==t||t.navigationProperties.forEach((t=>{const n=t,a=h.find((e=>e.association===n.relationship));if(a){const n=a.associationEnd.map((e=>f.find((t=>t.name===e.entitySet)))).find((t=>(null==t?void 0:t.fullyQualifiedName)!==e.fullyQualifiedName));n&&(e.navigationPropertyBinding[t.name]=n)}}))})),y.length>0&&i.forEach((e=>{e.navigationProperties.forEach((e=>{const t=e,n=y.find((e=>e.fullyQualifiedName===t.relationship));n&&n.referentialConstraints&&(t.referentialConstraint=n.referentialConstraints)}))})),v=r.ensureArray(e.Annotations),b=a,v.filter((e=>void 0!==e._attributes)).forEach((e=>{b.push(S(e._attributes.Target,P(r.ensureArray(e.Annotation),e._attributes.Target,b)))}));var T={};return T[t]=a,{associations:y,associationSets:h,annotations:T,entityContainer:g,namespace:n,entitySets:f,singletons:d,complexTypes:s,actions:m,entityTypes:i}}let O={};function E(e){if(!e)return e;const[t,n]=e.split("."),a=O[t];if(a)return`${a.namespace}.${n}`;if(-1!==e.indexOf("@")){const[t,n]=e.split("@");return`${t}@${E(n)}`}return e}t.parseEDMX=function(e,t="serviceFile"){const n=a.xml2js(e,{compact:!0}),i=r.ensureArray(n["edmx:Edmx"]["edmx:DataServices"].Schema),o=function(e,t){const n=e.reduce(((e,t)=>(r.ensureArray(t["edmx:Include"]).forEach((n=>{e.push({uri:t._attributes.Uri,alias:n._attributes.Alias,namespace:n._attributes.Namespace})})),e)),[]);return t.forEach((e=>{e&&e._attributes.Alias&&n.push({uri:"",alias:e._attributes.Alias,namespace:e._attributes.Namespace})})),n}(r.ensureArray(n["edmx:Edmx"]["edmx:Reference"]),i);O=o.reduce(((e,t)=>(e[t.alias]=t,e)),{});const s=i.map((e=>T(e,t)));return new r.ParserOutputInstance(t,n["edmx:Edmx"]._attributes.Version,function(e){if(1===e.length)return e[0];const t=e.reduce(((e,t)=>e.concat(t.associations)),[]),n=e.reduce(((e,t)=>e.concat(t.associationSets)),[]),a=e.reduce(((e,t)=>e.concat(t.entitySets)),[]),r=e.reduce(((e,t)=>e.concat(t.singletons)),[]),i=e.reduce(((e,t)=>e.concat(t.entityTypes)),[]),o=e.reduce(((e,t)=>e.concat(t.actions)),[]),s=e.reduce(((e,t)=>e.concat(t.complexTypes)),[]);let c,l,u={};return e.forEach((e=>{u=Object.assign(u,e.annotations)})),e.forEach((e=>{e.entityContainer&&Object.keys(e.entityContainer).length>0&&(c=e.entityContainer,l=e.namespace)})),n.length>0&&a.forEach((e=>{const t=i.find((t=>t.fullyQualifiedName===e.entityTypeName));null==t||t.navigationProperties.forEach((t=>{const r=t,i=n.find((e=>e.association===r.relationship));if(i){const n=i.associationEnd.map((e=>a.find((t=>t.name===e.entitySet)))).find((t=>(null==t?void 0:t.fullyQualifiedName)!==e.fullyQualifiedName));n&&(e.navigationPropertyBinding[t.name]=n)}}))})),t.length>0&&i.forEach((e=>{e.navigationProperties.forEach((e=>{const n=e,a=t.find((e=>e.fullyQualifiedName===n.relationship));a&&a.referentialConstraints&&(n.referentialConstraint=a.referentialConstraints)}))})),{associations:t,associationSets:n,annotations:u,entityContainer:c,namespace:l,entitySets:a,singletons:r,complexTypes:s,actions:o,entityTypes:i}}(s),o)}},1878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MergedParserOutput=t.ParserOutputInstance=t.ensureArray=void 0,t.ensureArray=function(e){return null==e?[]:Array.isArray(e)?e:[e]};t.ParserOutputInstance=class ParserOutputInstance{constructor(e,t,n,a){this.identification=e,this.references=a,this.version=t,this.schema=n}unalias(e){if(!e)return e;const[t,n]=e.split("."),a=this.references.find((e=>e.alias===t));if(a)return`${a.namespace}.${n}`;if(-1!==e.indexOf("@")){const[t,n]=e.split("@");return`${t}@${this.unalias(n)}`}return e}};t.MergedParserOutput=class MergedParserOutput{constructor(e){this._references=[],this._parserOutput=[],this._annotations={},this._associations=[],this._associationSets=[],this._entitySets=[],this._singletons=[],this._actions=[],this._entityContainer={},this._entityTypes=[],this._complexTypes=[],this.identification="mergedParserInstance",this.version=e.version,this._namespace=e.schema.namespace}get references(){return this._references}get schema(){return{associations:this._associations,associationSets:this._associationSets,annotations:this._annotations,entityContainer:this._entityContainer,namespace:this._namespace,entitySets:this._entitySets,singletons:this._singletons,complexTypes:this._complexTypes,actions:this._actions,entityTypes:this._entityTypes}}addParserOutput(e){this._parserOutput.push(e),this._references=this._references.concat(e.references),this._associations=this._associations.concat(e.schema.associations),this._associationSets=this._associationSets.concat(e.schema.associationSets),this._annotations=Object.assign(this._annotations,e.schema.annotations),this._entitySets=this._entitySets.concat(e.schema.entitySets),this._singletons=this._singletons.concat(e.schema.singletons),this._actions=this._actions.concat(e.schema.actions),this._entityTypes=this._entityTypes.concat(e.schema.entityTypes),this._complexTypes=this._complexTypes.concat(e.schema.complexTypes),this._entityContainer=Object.assign(this._entityContainer,e.schema.entityContainer)}unalias(e){if(!e)return e;const[t,n]=e.split("."),a=this.references.find((e=>e.alias===t));if(a)return`${a.namespace}.${n}`;if(-1!==e.indexOf("@")){const[t,n]=e.split("@");return`${t}@${this.unalias(n)}`}return e}}},6511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertV2Annotations=void 0,t.convertV2Annotations=function(e,t,n){const a=[];if(e["sap:schema-version"]&&a.push({term:"Org.OData.Core.V1.SchemaVersion",value:{type:"String",String:e["sap:schema-version"]}}),e["sap:creatable"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.InsertRestrictions",record:{propertyValues:[{name:"Insertable",value:{type:"Bool",Bool:"true"===e["sap:creatable"]}}]}}),e["sap:creatable"]&&"NavigationProperty"===t&&a.push({term:"Org.OData.Capabilities.V1.NavigationRestrictions",record:{propertyValues:[{name:"RestrictedProperties",value:{type:"Record",Record:{propertyValues:[{name:"InsertRestrictrions",value:{type:"Record",Record:{propertyValues:[{name:"Insertable",value:{type:"Bool",Bool:"true"===e["sap:creatable"]}}]}}}]}}}]}}),e["sap:creatable-path"]&&"NavigationProperty"===t&&a.push({term:"Org.OData.Capabilities.V1.NavigationRestrictions",record:{propertyValues:[{name:"RestrictedProperties",value:{type:"Record",Record:{propertyValues:[{name:"InsertRestrictrions",value:{type:"Record",Record:{propertyValues:[{name:"Insertable",value:{type:"Path",Path:e["sap:creatable-path"]}}]}}}]}}}]}}),e["sap:updatable"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.UpdateRestrictions",record:{propertyValues:[{name:"Updatable",value:{type:"Bool",Bool:"true"===e["sap:updatable"]}}]}}),e["sap:updatable-path"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.UpdateRestrictions",record:{propertyValues:[{name:"Updatable",value:{type:"Path",Path:e["sap:updatable-path"]}}]}}),e["sap:deletable"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.DeleteRestrictions",record:{propertyValues:[{name:"Deletable",value:{type:"Bool",Bool:"true"===e["sap:updatable"]}}]}}),e["sap:deletable-path"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.DeleteRestrictions",record:{propertyValues:[{name:"Deletable",value:{type:"Path",Path:e["sap:deletable-path"]}}]}}),"true"===e["sap:creatable"]&&"false"===e["sap:updatable"]&&"Property"===t&&a.push({term:"Org.OData.Core.V1.Immutable",value:{type:"Bool",Bool:!0}}),"false"===e["sap:creatable"]&&"false"===e["sap:updatable"]&&"Property"===t&&a.push({term:"Org.OData.Core.V1.Computed",value:{type:"Bool",Bool:!0}}),e["sap:updatable-path"]&&"Property"===t&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"Path",Path:e["sap:updatable-path"]}}),e["sap:searchable"]&&a.push({term:"Org.OData.Capabilities.V1.SearchRestrictions",record:{propertyValues:[{name:"Searachable",value:{type:"Bool",Bool:"true"===e["sap:searchable"]}}]}}),e["sap:pageable"]&&(a.push({term:"Org.OData.Capabilities.V1.TopSupported",value:{type:"Bool",Bool:"true"===e["sap:pageable"]}}),a.push({term:"Org.OData.Capabilities.V1.SkipSupported",value:{type:"Bool",Bool:"true"===e["sap:pageable"]}})),e["sap:topable"]&&a.push({term:"Org.OData.Capabilities.V1.TopSupported",value:{type:"Bool",Bool:"true"===e["sap:topable"]}}),e["sap:requires-filter"]&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"RequiresFilter",value:{type:"Bool",Bool:"true"===e["sap:requires-filter"]}}]}}),e["sap:required-in-filter"]&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"RequiredProperties",value:{type:"Collection",Collection:[{type:"PropertyPath",PropertyPath:n}]}}]}}),"false"===e["sap:filterable"]&&"Property"===t&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"NonFilterableProperties",value:{type:"Collection",Collection:[{type:"PropertyPath",PropertyPath:n}]}}]}}),"false"===e["sap:filterable"]&&"NavigationProperty"===t&&a.push({term:"Org.OData.Capabilities.V1.NavigationRestrictions",record:{propertyValues:[{name:"RestrictedProperties",value:{type:"Collection",Collection:[{type:"Record",propertyValues:[{name:"NavigationProperty",value:{type:"NavigationPropertyPath",NavigationPropertyPath:n}},{name:"FilterRestrictions",value:{type:"Record",Record:{propertyValues:[{name:"Filterable",value:{type:"Bool",Bool:!1}}]}}}]}]}}]}}),e["sap:filter-restricton"]&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"FilterExpressionRestrictions",value:{type:"Collection",Collection:[{type:"Record",propertyValues:[{name:"FilterExpressionRestrictions",value:{type:"String",String:e["sap:filter-restricton"]}},{name:"Property",value:{type:"PropertyPath",PropertyPath:n}}]}]}}]}}),"false"===e["sap:sortable"]&&a.push({term:"Org.OData.Capabilities.V1.SortRestrictions",record:{propertyValues:[{name:"NonSortableProperties",value:{type:"PropertyPath",PropertyPath:n}}]}}),"false"===e["sap:visible"]&&a.push({term:"com.sap.vocabularies.UI.v1.Hidden",value:{type:"Bool",Bool:!0}}),e["sap:label"]&&a.push({term:"com.sap.vocabularies.Common.v1.Label",value:{type:"String",String:e["sap:label"]}}),e["sap:heading"]&&a.push({term:"com.sap.vocabularies.Common.v1.Heading",value:{type:"String",String:e["sap:heading"]}}),e["sap:quickinfo"]&&a.push({term:"com.sap.vocabularies.Common.v1.QuickInfo",value:{type:"String",String:e["sap:quickinfo"]}}),e["sap:text"]&&a.push({term:"com.sap.vocabularies.Common.v1.Text",value:{type:"Path",Path:e["sap:text"]}}),e["sap:unit"]&&(a.push({term:"Org.OData.Measures.V1.Unit",value:{type:"Path",Path:e["sap:unit"]}}),a.push({term:"Org.OData.Measures.V1.ISOCurrency",value:{type:"Path",Path:e["sap:unit"]}})),e["sap:precision"]&&a.push({term:"Org.OData.Measures.V1.Scale",value:{type:"Int",Int:parseInt(e["sap:precision"])}}),"fixed-value"===e["sap:value-list"]&&a.push({term:"com.sap.vocabularies.Common.v1.ValueListWithFixedValues",value:{type:"Bool",Bool:!0}}),"NonNegative"===e["sap:display-format"]&&a.push({term:"com.sap.vocabularies.Common.v1.IsDigitSequence",value:{type:"Bool",Bool:!0}}),"UpperCase"===e["sap:display-format"]&&a.push({term:"com.sap.vocabularies.Common.v1.IsUpperCase",value:{type:"Bool",Bool:!0}}),e["sap:lower-boundary"]||e["sap:upper-boundary"]){const t=[];e["sap:lower-boundary"]&&t.push({name:"LowerBoundary",value:{type:"PropertyPath",PropertyPath:e["sap:lower-boundary"]}}),e["sap:upper-boundary"]&&t.push({name:"UpperBoundary",value:{type:"PropertyPath",PropertyPath:e["sap:upper-boundary"]}}),a.push({term:"com.sap.vocabularies.Common.v1.Interval",record:{propertyValues:t}})}return e["sap:field-control"]&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"Path",Path:e["sap:field-control"]}}),e["sap:applicable-path"]&&a.push({term:"Org.OData.Core.V1.OperationAvailable",value:{type:"Path",Path:e["sap:applicable-path"]}}),e["sap:minoccurs"]&&a.push({term:"com.sap.vocabularies.Common.v1.MinOccurs",value:{type:"Int",Int:parseInt(e["sap:minoccurs"])}}),e["sap:maxoccurs"]&&a.push({term:"com.sap.vocabularies.Common.v1.MaxOccurs",value:{type:"Int",Int:parseInt(e["sap:maxoccurs"])}}),"mandatory"===e["sap:parameter"]&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"EnumMember",EnumMember:"Common.FieldControlType/Mandatory"}}),"optional"===e["sap:parameter"]&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"EnumMember",EnumMember:"Common.FieldControlType/Optional"}}),e["sap:attribute-for"]&&a.push({term:"com.sap.vocabularies.Common.v1.Attributes",value:{type:"Collection",Collection:[{type:"PropertyPath",PropertyPath:n}]}}),a}},9520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomAction=t.enhanceManifestAndGetActionsElementReference=void 0;const a=n(5955),r=n(6244),i=n(4022),o=n(5622),s=n(5179),c=n(1386),l=n(6201);function u(e,t){const n=e["sap.ui5"].routing.targets[t.page];if(n.options=n.options||{},n.options.settings=n.options.settings||{},t.control===i.TargetControl.header||t.control===i.TargetControl.footer)return n.options.settings.content=n.options.settings.content||{},n.options.settings.content[t.control]=n.options.settings.content[t.control]||{},n.options.settings.content[t.control].actions=n.options.settings.content[t.control].actions||{},n.options.settings.content[t.control].actions;{const e=t.navProperty?t.navProperty+"/":"",a=t.qualifier?"#"+t.qualifier:"",r=`${e}${t.control}${a}`;return n.options.settings.controlConfiguration=n.options.settings.controlConfiguration||{},n.options.settings.controlConfiguration[r]=n.options.settings.controlConfiguration[r]||{},n.options.settings.controlConfiguration[r].actions=n.options.settings.controlConfiguration[r].actions||{},n.options.settings.controlConfiguration[r].actions}}t.enhanceManifestAndGetActionsElementReference=u,t.generateCustomAction=function(e,t,n){(0,c.validateVersion)(t.ui5Version),n||(n=(0,r.create)((0,a.create)())),(0,c.validateBasePath)(e,n);const i=(0,o.join)(e,"webapp/manifest.json"),p=n.readJSON(i),f=function(e,t,n){const a=Object.assign(Object.assign({},e),{target:Object.assign({},e.target),settings:Object.assign({},e.settings)});return(0,l.setCommonDefaults)(a,t,n),a.settings.enabled=a.settings.enabled||!0,a.settings.visible=a.settings.visible||!0,a}(t,i,p),d=(0,o.join)(__dirname,"../../templates");!0===f.settings.eventHandler&&(n.copyTpl((0,o.join)(d,"common/EventHandler.js"),(0,o.join)(f.path,`${f.name}.js`),f),f.settings.eventHandler=`${f.ns}.${f.name}.onPress`);const h=u(p,f.target);return Object.assign(h,JSON.parse((0,s.render)(n.read((0,o.join)(d,"action/manifest.action.json")),f))),n.writeJSON(i,p),n}},4022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TargetControl=void 0,function(e){e.header="header",e.footer="footer",e.section="@com.sap.vocabularies.UI.v1.FieldGroup",e.table="@com.sap.vocabularies.UI.v1.LineItem"}(t.TargetControl||(t.TargetControl={}))},8536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomColumn=t.getManifestRoot=void 0;const a=n(1386),r=n(5955),i=n(6244),o=n(5622),s=n(5179),c=n(6201);function l(e){return void 0===e||e>=1.86?(0,o.join)(__dirname,"../../templates/column/1.86"):1.85===e?(0,o.join)(__dirname,"../../templates/column/1.85"):(0,o.join)(__dirname,"../../templates/column/1.84")}t.getManifestRoot=l,t.generateCustomColumn=function(e,t,n){(0,a.validateVersion)(t.ui5Version),n||(n=(0,i.create)((0,r.create)())),(0,a.validateBasePath)(e,n);const u=(0,o.join)(e,"webapp/manifest.json"),p=n.readJSON(u),f=(0,o.join)(__dirname,"../../templates"),d=function(e,t,n){const a=Object.assign({},e);if((0,c.setCommonDefaults)(a,t,n),!0===a.eventHandler&&(a.eventHandler=`${a.ns}.${a.name}.onPress`),a.control)a.content=a.control;else{const e=a.properties&&a.properties.length>0?`{=%{${a.properties.join("} + ' ' + %{")}}}`:"Sample Text";if(a.eventHandler){const t=a.eventHandler.split("."),n=t.pop(),r=t.join("/");a.content=`<Button core:require="{ handler: '${r}'}" text="${e}" press="handler.${n}" />`}else a.content=`<Text text="${e}" />`}return a}(t,u,p);d.eventHandler&&n.copyTpl((0,o.join)(f,"common/EventHandler.js"),(0,o.join)(d.path,`${d.name}.js`),d);const h=l(t.ui5Version),g=(0,s.render)(n.read((0,o.join)(h,"manifest.json")),d);n.extendJSON(u,JSON.parse(g));const m=(0,o.join)(d.path,`${d.name}.fragment.xml`);return n.copyTpl((0,o.join)(f,"column/ext/CustomColumnFragment.xml"),m,d),n}},6201:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCommonDefaults=void 0;const a=n(5622);t.setCommonDefaults=function(e,t,n){const r=e.name[0];return e.name=r.toUpperCase()+e.name.substring(1),e.folder=e.folder||`ext/${r.toLocaleLowerCase()+e.name.substring(1)}`,e.ns=`${n["sap.app"].id}.${e.folder.replace(/\//g,".")}`,e.path=(0,a.join)((0,a.dirname)(t),e.folder),e}},1386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBasePath=t.validateVersion=void 0;const a=n(5622),r=n(5955),i=n(6244);t.validateVersion=function(e){if(e&&e<1.84)throw new Error("SAP Fiori elements for OData v4 is only supported starting with SAPUI5 1.84.");return!0},t.validateBasePath=function(e,t){var n,o,s;t||(t=(0,i.create)((0,r.create)()));const c=(0,a.join)(e,"webapp","manifest.json");if(!t.exists(c))throw new Error(`Invalid project folder. Cannot find required file ${c}`);if(void 0!==(null===(s=null===(o=null===(n=t.readJSON(c)["sap.ui5"])||void 0===n?void 0:n.dependencies)||void 0===o?void 0:o.libs)||void 0===s?void 0:s["sap.fe.templates"])==!1)throw new Error("Dependency sap.fe.templates is missing in the manifest.json. Fiori elements FPM requires the SAP FE libraries.");return!0}},8861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateVersion=t.validateBasePath=t.generateCustomColumn=t.generateCustomAction=t.TargetControl=t.generateCustomPage=void 0;var a=n(8071);Object.defineProperty(t,"generateCustomPage",{enumerable:!0,get:function(){return a.generateCustomPage}});var r=n(4022);Object.defineProperty(t,"TargetControl",{enumerable:!0,get:function(){return r.TargetControl}});var i=n(9520);Object.defineProperty(t,"generateCustomAction",{enumerable:!0,get:function(){return i.generateCustomAction}});var o=n(8536);Object.defineProperty(t,"generateCustomColumn",{enumerable:!0,get:function(){return o.generateCustomColumn}});var s=n(1386);Object.defineProperty(t,"validateBasePath",{enumerable:!0,get:function(){return s.validateBasePath}}),Object.defineProperty(t,"validateVersion",{enumerable:!0,get:function(){return s.validateVersion}})},4822:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enhanceData=void 0;const a=n(6201);t.enhanceData=function(e,t,n){const r=n.readJSON(t),i=(0,a.setCommonDefaults)(e,t,r);return void 0===i.view&&(i.view={title:i.name}),i}},8071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomPage=t.validateCustomPageConfig=t.getTemplateRoot=void 0;const a=n(5622),r=n(5955),i=n(6244),o=n(5179),s=n(4822),c=n(1386);function l(e){return void 0===e||e>=1.94?(0,a.join)(__dirname,"../../templates/page/1.94"):(0,a.join)(__dirname,"../../templates/page/1.84")}function u(e,t,n){var o,s;(0,c.validateVersion)(t.ui5Version),n||(n=(0,i.create)((0,r.create)())),(0,c.validateBasePath)(e,n);const l=n.readJSON((0,a.join)(e,"webapp/manifest.json"));if(t.navigation){if(!(null===(s=null===(o=l["sap.ui5"])||void 0===o?void 0:o.routing)||void 0===s?void 0:s.targets[t.navigation.sourcePage]))throw new Error(`Could not find navigation source ${t.navigation.sourcePage}!`);const e=l["sap.ui5"].routing.routes.find((e=>{var n;return e.name===(null===(n=t.navigation)||void 0===n?void 0:n.sourcePage)}));if(!e||!e.pattern||!e.target)throw new Error(`Missing or invalid routing configuration for navigation source ${t.navigation.sourcePage}!`)}return n}t.getTemplateRoot=l,t.validateCustomPageConfig=u,t.generateCustomPage=function(e,t,n){n=u(e,t,n);const r=(0,a.join)(e,"webapp/manifest.json"),i=(0,s.enhanceData)(t,r,n),c=l(t.ui5Version);return n.extendJSON(r,JSON.parse((0,o.render)(n.read((0,a.join)(c,"manifest.json")),i)),((e,t)=>("routes"===e&&function(e,t){const n={name:`${t.entity}${t.name}`};if(t.navigation){const a=e.find((e=>{var n;return e.name===(null===(n=t.navigation)||void 0===n?void 0:n.sourcePage)}));if(n.pattern=`${null==a?void 0:a.pattern.replace(":?query:","")}/${t.navigation.navEntity}({${t.navigation.navEntity}Key}):?query:`,(null==a?void 0:a.target.constructor)===Array){const e=a.target;n.target=e.length>2?[n.name]:[...e,n.name]}else n.target=n.name}else n.pattern=`${t.entity}({key}):?query:`,n.target=n.name;e.push(n)}(t,i),t))),n.copyTpl((0,a.join)(c,"ext/View.xml"),(0,a.join)(i.path,`${i.name}.view.xml`),i),n.copyTpl((0,a.join)(c,"ext/Controller.js"),(0,a.join)(i.path,`${i.name}.controller.js`),i),n}},6162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Multiplicity=void 0,function(e){e.One="1",e.ZeroOrOne="0..1",e.Many="*",e.Unknown="unknown"}(t.Multiplicity||(t.Multiplicity={}))},2281:(e,t,n)=>{e.exports={change:n(6527)}},6527:e=>{let t=0;const n="changeUtils: ";function a(e){return JSON.stringify({fileName:e.id||("id-"+(new Date).valueOf()+"-"+t++).replace(/-/g,"_")+"_"+e.type,fileType:"change",changeType:e.type,moduleName:"",reference:e.reference,packageName:"",content:e.content||{},selector:{id:e.controlId,idIsLocal:!1,type:e.controlType},layer:e.isCustomer?"CUSTOMER_BASE":"VENDOR",texts:{},namespace:"apps/"+e.reference.replace(".Component","")+"/changes/",projectId:e.projectId,creation:e.creation||(new Date).valueOf(),originalLanguage:"",support:{generator:n+e.creatingTool,service:"",user:"",sapui5Version:e.sapui5Version,sourceChangeFileName:"",compositeCommand:""},oDataInformation:{},dependentSelector:{},validAppVersions:{from:e.appVersion,to:e.appVersion,creation:e.appVersion},jsOnly:!1,variantReference:"",appDescriptorChange:!1})}e.exports={parse:function(e){const t=JSON.parse(e);if(!(t.fileName&&t.changeType&&t.selector&&t.reference&&t.creation&&t.content&&t.layer&&t.support))throw Error("Parsed object does not contain all required parameters");return{id:t.fileName,reference:t.reference,appVersion:t.validAppVersions?t.validAppVersions.creation:"",creation:t.creation,projectId:t.projectId,type:t.changeType,controlId:t.selector.id,controlType:t.selector.type,isCustomer:"CUSTOMER_BASE"===t.layer,creatingTool:t.support.generator.replace(n,""),content:t.content,sapui5Version:t.support.sapui5Version}},createChangeString:function(e,t){if(!e.type||!e.controlId||"boolean"!=typeof e.isCustomer||!e.creatingTool)throw Error("not all property parameters of the change were provided");if(!t)throw Error("no manifest was provided");return e.reference=function(e){const t=e["sap.ui5"];if(t){if(t.appVariantId)return t.appVariantId;if(t.componentName)return(n=t.componentName)&&n.indexOf(".Component")<0&&(n+=".Component"),n}var n;const a=e["sap.app"];if(!a||!a.id)throw Error("app ID could not be determined");return a.id}(t),e.appVersion=function(e){const t=e["sap.app"];if(!t||!t.applicationVersion||!t.applicationVersion.version)throw Error("app version could not be determined");return t.applicationVersion.version}(t),e.projectId=function(e,t){return e&&e["sap.app"]&&e["sap.app"].sourceTemplate&&["ui5template.smartTemplate","ui5template.smarttemplate"].includes(e["sap.app"].sourceTemplate.id)?t:""}(t,e.reference),a(e)},toString:function(e){if(!(e.type&&e.controlId&&"boolean"==typeof e.isCustomer&&e.creatingTool&&e.reference&&e.appVersion))throw Error("not all parameters of the change were provided");return a(e)}}},1199:(e,t,n)=>{"use strict";var a=n(5520),r=n(216),i=n(294),o=n(493),s=n(9003),c=n(8636),l=n(4653),u=n(5701),p=n(7559);e.exports=y,y.prototype.validate=function(e,t){var n;if("string"==typeof e){if(!(n=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var a=this._addSchema(e);n=a.validate||this._compile(a)}var r=n(t);!0!==n.$async&&(this.errors=n.errors);return r},y.prototype.compile=function(e,t){var n=this._addSchema(e,void 0,t);return n.validate||this._compile(n)},y.prototype.addSchema=function(e,t,n,a){if(Array.isArray(e)){for(var i=0;i<e.length;i++)this.addSchema(e[i],void 0,n,a);return this}var o=this._getId(e);if(void 0!==o&&"string"!=typeof o)throw new Error("schema id must be string");return O(this,t=r.normalizeId(t||o)),this._schemas[t]=this._addSchema(e,n,a,!0),this},y.prototype.addMetaSchema=function(e,t,n){return this.addSchema(e,t,n,!0),this},y.prototype.validateSchema=function(e,t){var n=e.$schema;if(void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(!(n=n||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(h)?h:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(n,e);if(!a&&t){var r="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(r);this.logger.error(r)}return a},y.prototype.getSchema=function(e){var t=v(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var n=r.schema.call(e,{schema:{}},t);if(n){var i=n.schema,s=n.root,c=n.baseId,l=a.call(e,i,s,void 0,c);return e._fragments[t]=new o({ref:t,fragment:!0,schema:i,root:s,baseId:c,validate:l}),l}}(this,e)}},y.prototype.removeSchema=function(e){if(e instanceof RegExp)return b(this,this._schemas,e),b(this,this._refs,e),this;switch(typeof e){case"undefined":return b(this,this._schemas),b(this,this._refs),this._cache.clear(),this;case"string":var t=v(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var n=this._opts.serialize,a=n?n(e):e;this._cache.del(a);var i=this._getId(e);i&&(i=r.normalizeId(i),delete this._schemas[i],delete this._refs[i])}return this},y.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t));return this._formats[e]=t,this},y.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var n=void 0===(t=t||{}).separator?", ":t.separator,a=void 0===t.dataVar?"data":t.dataVar,r="",i=0;i<e.length;i++){var o=e[i];o&&(r+=a+o.dataPath+" "+o.message+n)}return r.slice(0,-n.length)},y.prototype._addSchema=function(e,t,n,a){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var i=this._opts.serialize,s=i?i(e):e,c=this._cache.get(s);if(c)return c;a=a||!1!==this._opts.addUsedSchema;var l=r.normalizeId(this._getId(e));l&&a&&O(this,l);var u,p=!1!==this._opts.validateSchema&&!t;p&&!(u=l&&l==r.normalizeId(e.$schema))&&this.validateSchema(e,!0);var f=r.ids.call(this,e),d=new o({id:l,schema:e,localRefs:f,cacheKey:s,meta:n});"#"!=l[0]&&a&&(this._refs[l]=d);this._cache.put(s,d),p&&u&&this.validateSchema(e,!0);return d},y.prototype._compile=function(e,t){if(e.compiling)return e.validate=i,i.schema=e.schema,i.errors=null,i.root=t||i,!0===e.schema.$async&&(i.$async=!0),i;var n,r;e.compiling=!0,e.meta&&(n=this._opts,this._opts=this._metaOpts);try{r=a.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=n)}return e.validate=r,e.refs=r.refs,e.refVal=r.refVal,e.root=r.root,r;function i(){var t=e.validate,n=t.apply(this,arguments);return i.errors=t.errors,n}},y.prototype.compileAsync=n(7850);var f=n(6019);y.prototype.addKeyword=f.add,y.prototype.getKeyword=f.get,y.prototype.removeKeyword=f.remove,y.prototype.validateKeyword=f.validate;var d=n(5587);y.ValidationError=d.Validation,y.MissingRefError=d.MissingRef,y.$dataMetaSchema=u;var h="http://json-schema.org/draft-07/schema",g=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],m=["/properties"];function y(e){if(!(this instanceof y))return new y(e);e=this._opts=p.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:E,warn:E,error:E};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=c(e.format),this._cache=e.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=l(),this._getId=function(e){switch(e.schemaId){case"auto":return T;case"id":return P;default:return S}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=s),this._metaOpts=function(e){for(var t=p.copy(e._opts),n=0;n<g.length;n++)delete t[g[n]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var n=e._opts.formats[t];e.addFormat(t,n)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var n=e._opts.keywords[t];e.addKeyword(t,n)}}(this),function(e){var t;e._opts.$data&&(t=n(601),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var a=n(8938);e._opts.$data&&(a=u(a,m));e.addMetaSchema(a,h,!0),e._refs["http://json-schema.org/schema"]=h}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var n in t)e.addSchema(t[n],n)}(this)}function v(e,t){return t=r.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function b(e,t,n){for(var a in t){var r=t[a];r.meta||n&&!n.test(a)||(e._cache.del(r.cacheKey),delete t[a])}}function P(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function S(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function T(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function O(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function E(){}},294:e=>{"use strict";var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}},7850:(e,t,n)=>{"use strict";var a=n(5587).MissingRef;e.exports=function e(t,n,r){var i=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof n&&(r=n,n=void 0);var o=s(t).then((function(){var e=i._addSchema(t,void 0,n);return e.validate||c(e)}));r&&o.then((function(e){r(null,e)}),r);return o;function s(t){var n=t.$schema;return n&&!i.getSchema(n)?e.call(i,{$ref:n},!0):Promise.resolve()}function c(e){try{return i._compile(e)}catch(t){if(t instanceof a)return function(t){var a=t.missingSchema;if(l(a))throw new Error("Schema "+a+" is loaded but "+t.missingRef+" cannot be resolved");var r=i._loadingSchemas[a];r||(r=i._loadingSchemas[a]=i._opts.loadSchema(a)).then(o,o);return r.then((function(e){if(!l(a))return s(e).then((function(){l(a)||i.addSchema(e,a,void 0,n)}))})).then((function(){return c(e)}));function o(){delete i._loadingSchemas[a]}function l(e){return i._refs[e]||i._schemas[e]}}(t);throw t}}}},5587:(e,t,n)=>{"use strict";var a=n(216);function r(e,t,n){this.message=n||r.message(e,t),this.missingRef=a.url(e,t),this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function i(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:i((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:i(r)},r.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},8636:(e,t,n)=>{"use strict";var a=n(7559),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,s=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,c=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,l=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,p=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,f=/^(?:\/(?:[^~/]|~0|~1)*)*$/,d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function g(e){return e="full"==e?"full":"fast",a.copy(g[e])}function m(e){var t=e.match(r);if(!t)return!1;var n=+t[1],a=+t[2],o=+t[3];return a>=1&&a<=12&&o>=1&&o<=(2==a&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(n)?29:i[a])}function y(e,t){var n=e.match(o);if(!n)return!1;var a=n[1],r=n[2],i=n[3],s=n[5];return(a<=23&&r<=59&&i<=59||23==a&&59==r&&60==i)&&(!t||s)}e.exports=g,g.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":l,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:S,uuid:p,"json-pointer":f,"json-pointer-uri-fragment":d,"relative-json-pointer":h},g.full={date:m,time:y,"date-time":function(e){var t=e.split(v);return 2==t.length&&m(t[0])&&y(t[1],!0)},uri:function(e){return b.test(e)&&c.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":l,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:S,uuid:p,"json-pointer":f,"json-pointer-uri-fragment":d,"relative-json-pointer":h};var v=/t|\s/i;var b=/\/|:/;var P=/[^\\]\\Z/;function S(e){if(P.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},5520:(e,t,n)=>{"use strict";var a=n(216),r=n(7559),i=n(5587),o=n(9003),s=n(2599),c=r.ucs2length,l=n(8926),u=i.Validation;function p(e,t,n){var a=d.call(this,e,t,n);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:e,root:t,baseId:n},{index:a,compiling:!1})}function f(e,t,n){var a=d.call(this,e,t,n);a>=0&&this._compilations.splice(a,1)}function d(e,t,n){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==e&&r.root==t&&r.baseId==n)return a}return-1}function h(e,t){return"var pattern"+e+" = new RegExp("+r.toQuotedString(t[e])+");"}function g(e){return"var default"+e+" = defaults["+e+"];"}function m(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function y(e){return"var customRule"+e+" = customRules["+e+"];"}function v(e,t){if(!e.length)return"";for(var n="",a=0;a<e.length;a++)n+=t(a,e);return n}e.exports=function e(t,n,d,b){var P=this,S=this._opts,T=[void 0],O={},E=[],_={},C=[],A={},I=[];n=n||{schema:t,refVal:T,refs:O};var R=p.call(this,t,n,b),F=this._compilations[R.index];if(R.compiling)return F.callValidate=function e(){var t=F.validate,n=t.apply(this,arguments);return e.errors=t.errors,n};var x=this._formats,w=this.RULES;try{var j=L(t,n,d,b);F.validate=j;var N=F.callValidate;return N&&(N.schema=j.schema,N.errors=null,N.refs=j.refs,N.refVal=j.refVal,N.root=j.root,N.$async=j.$async,S.sourceCode&&(N.source=j.source)),j}finally{f.call(this,t,n,b)}function L(t,o,p,f){var d=!o||o&&o.schema==t;if(o.schema!=n.schema)return e.call(P,t,o,p,f);var b,_=!0===t.$async,A=s({isTop:!0,schema:t,isRoot:d,baseId:f,root:o,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:w,validate:s,util:r,resolve:a,resolveRef:D,usePattern:k,useDefault:$,useCustomRule:B,opts:S,formats:x,logger:P.logger,self:P});A=v(T,m)+v(E,h)+v(C,g)+v(I,y)+A,S.processCode&&(A=S.processCode(A,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",A)(P,w,x,n,T,C,I,l,c,u),T[0]=b}catch(e){throw P.logger.error("Error compiling schema, function code:",A),e}return b.schema=t,b.errors=null,b.refs=O,b.refVal=T,b.root=d?b:o,_&&(b.$async=!0),!0===S.sourceCode&&(b.source={code:A,patterns:E,defaults:C}),b}function D(t,r,i){r=a.url(t,r);var o,s,c=O[r];if(void 0!==c)return M(o=T[c],s="refVal["+c+"]");if(!i&&n.refs){var l=n.refs[r];if(void 0!==l)return M(o=n.refVal[l],s=V(r,o))}s=V(r);var u=a.call(P,L,n,r);if(void 0===u){var p=d&&d[r];p&&(u=a.inlineRef(p,S.inlineRefs)?p:e.call(P,p,n,d,t))}if(void 0!==u)return function(e,t){var n=O[e];T[n]=t}(r,u),M(u,s);!function(e){delete O[e]}(r)}function V(e,t){var n=T.length;return T[n]=t,O[e]=n,"refVal"+n}function M(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function k(e){var t=_[e];return void 0===t&&(t=_[e]=E.length,E[t]=e),"pattern"+t}function $(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return r.toQuotedString(e);case"object":if(null===e)return"null";var t=o(e),n=A[t];return void 0===n&&(n=A[t]=C.length,C[n]=e),"default"+n}}function B(e,t,n,a){if(!1!==P._opts.validateSchema){var r=e.definition.dependencies;if(r&&!r.every((function(e){return Object.prototype.hasOwnProperty.call(n,e)})))throw new Error("parent schema must have all required keywords: "+r.join(","));var i=e.definition.validateSchema;if(i)if(!i(t)){var o="keyword schema is invalid: "+P.errorsText(i.errors);if("log"!=P._opts.validateSchema)throw new Error(o);P.logger.error(o)}}var s,c=e.definition.compile,l=e.definition.inline,u=e.definition.macro;if(c)s=c.call(P,t,n,a);else if(u)s=u.call(P,t,n,a),!1!==S.validateSchema&&P.validateSchema(s,!0);else if(l)s=l.call(P,a,e.keyword,t,n);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var p=I.length;return I[p]=s,{code:"customRule"+p,validate:s}}}},216:(e,t,n)=>{"use strict";var a=n(5858),r=n(8926),i=n(7559),o=n(493),s=n(8125);function c(e,t,n){var a=this._refs[n];if("string"==typeof a){if(!this._refs[a])return c.call(this,e,t,a);a=this._refs[a]}if((a=a||this._schemas[n])instanceof o)return h(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r,i,s,u=l.call(this,t,n);return u&&(r=u.schema,t=u.root,s=u.baseId),r instanceof o?i=r.validate||e.call(this,r.schema,t,void 0,s):void 0!==r&&(i=h(r,this._opts.inlineRefs)?r:e.call(this,r,t,void 0,s)),i}function l(e,t){var n=a.parse(t),r=v(n),i=y(this._getId(e.schema));if(0===Object.keys(e.schema).length||r!==i){var s=P(r),c=this._refs[s];if("string"==typeof c)return u.call(this,e,c,n);if(c instanceof o)c.validate||this._compile(c),e=c;else{if(!((c=this._schemas[s])instanceof o))return;if(c.validate||this._compile(c),s==P(t))return{schema:c,root:e,baseId:i};e=c}if(!e.schema)return;i=y(this._getId(e.schema))}return f.call(this,n,i,e.schema,e)}function u(e,t,n){var a=l.call(this,e,t);if(a){var r=a.schema,i=a.baseId;e=a.root;var o=this._getId(r);return o&&(i=S(i,o)),f.call(this,n,i,r,e)}}e.exports=c,c.normalizeId=P,c.fullPath=y,c.url=S,c.ids=function(e){var t=P(this._getId(e)),n={"":t},o={"":y(t,!1)},c={},l=this;return s(e,{allKeys:!0},(function(e,t,s,u,p,f,d){if(""!==t){var h=l._getId(e),g=n[u],m=o[u]+"/"+p;if(void 0!==d&&(m+="/"+("number"==typeof d?d:i.escapeFragment(d))),"string"==typeof h){h=g=P(g?a.resolve(g,h):h);var y=l._refs[h];if("string"==typeof y&&(y=l._refs[y]),y&&y.schema){if(!r(e,y.schema))throw new Error('id "'+h+'" resolves to more than one schema')}else if(h!=P(m))if("#"==h[0]){if(c[h]&&!r(e,c[h]))throw new Error('id "'+h+'" resolves to more than one schema');c[h]=e}else l._refs[h]=m}n[t]=g,o[t]=m}})),c},c.inlineRef=h,c.schema=l;var p=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function f(e,t,n,a){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var r=e.fragment.split("/"),o=1;o<r.length;o++){var s=r[o];if(s){if(void 0===(n=n[s=i.unescapeFragment(s)]))break;var c;if(!p[s]&&((c=this._getId(n))&&(t=S(t,c)),n.$ref)){var u=S(t,n.$ref),f=l.call(this,a,u);f&&(n=f.schema,a=f.root,t=f.baseId)}}}return void 0!==n&&n!==a.schema?{schema:n,root:a,baseId:t}:void 0}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function h(e,t){return!1!==t&&(void 0===t||!0===t?g(e):t?m(e)<=t:void 0)}function g(e){var t;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&!g(t))return!1}else for(var a in e){if("$ref"==a)return!1;if("object"==typeof(t=e[a])&&!g(t))return!1}return!0}function m(e){var t,n=0;if(Array.isArray(e)){for(var a=0;a<e.length;a++)if("object"==typeof(t=e[a])&&(n+=m(t)),n==1/0)return 1/0}else for(var r in e){if("$ref"==r)return 1/0;if(d[r])n++;else if("object"==typeof(t=e[r])&&(n+=m(t)+1),n==1/0)return 1/0}return n}function y(e,t){return!1!==t&&(e=P(e)),v(a.parse(e))}function v(e){return a.serialize(e).split("#")[0]+"#"}var b=/#\/?$/;function P(e){return e?e.replace(b,""):""}function S(e,t){return t=P(t),a.resolve(e,t)}},4653:(e,t,n)=>{"use strict";var a=n(4478),r=n(7559).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=r(t),e.types=r(["number","integer","string","array","object","boolean","null"]),e.forEach((function(n){n.rules=n.rules.map((function(n){var r;if("object"==typeof n){var i=Object.keys(n)[0];r=n[i],n=i,r.forEach((function(n){t.push(n),e.all[n]=!0}))}return t.push(n),e.all[n]={keyword:n,code:a[n],implements:r}})),e.all.$comment={keyword:"$comment",code:a.$comment},n.type&&(e.types[n.type]=n)})),e.keywords=r(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},493:(e,t,n)=>{"use strict";var a=n(7559);e.exports=function(e){a.copy(e,this)}},7463:e=>{"use strict";e.exports=function(e){for(var t,n=0,a=e.length,r=0;r<a;)n++,(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<a&&56320==(64512&(t=e.charCodeAt(r)))&&r++;return n}},7559:(e,t,n)=>{"use strict";function a(e,t,n,a){var r=a?" !== ":" === ",i=a?" || ":" && ",o=a?"!":"",s=a?"":"!";switch(e){case"null":return t+r+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+i+"typeof "+t+r+'"object"'+i+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+i+s+"("+t+" % 1)"+i+t+r+t+(n?i+o+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+r+'"'+e+'"'+(n?i+o+"isFinite("+t+")":"")+")";default:return"typeof "+t+r+'"'+e+'"'}}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:a,checkDataTypes:function(e,t,n){switch(e.length){case 1:return a(e[0],t,n,!0);default:var r="",o=i(e);for(var s in o.array&&o.object&&(r=o.null?"(":"(!"+t+" || ",r+="typeof "+t+' !== "object")',delete o.null,delete o.array,delete o.object),o.number&&delete o.integer,o)r+=(r?" && ":"")+a(s,t,n,!0);return r}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],a=0;a<t.length;a++){var i=t[a];(r[i]||"array"===e&&"array"===i)&&(n[n.length]=i)}if(n.length)return n}else{if(r[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:i,getProperty:c,escapeQuotes:l,equal:n(8926),ucs2length:n(7463),varOccurences:function(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0},varReplace:function(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0},schemaHasRulesExcept:function(e,t,n){if("boolean"==typeof e)return!e&&"not"!=n;for(var a in e)if(a!=n&&t[a])return!0},schemaUnknownRules:function(e,t){if("boolean"==typeof e)return;for(var n in e)if(!t[n])return n},toQuotedString:u,getPathExpr:function(e,t,n,a){return d(e,n?"'/' + "+t+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,n){var a=u(n?"/"+h(t):c(t));return d(e,a)},getData:function(e,t,n){var a,r,i,o;if(""===e)return"rootData";if("/"==e[0]){if(!p.test(e))throw new Error("Invalid JSON-pointer: "+e);r=e,i="rootData"}else{if(!(o=e.match(f)))throw new Error("Invalid JSON-pointer: "+e);if(a=+o[1],"#"==(r=o[2])){if(a>=t)throw new Error("Cannot access property/index "+a+" levels up, current level is "+t);return n[t-a]}if(a>t)throw new Error("Cannot access data "+a+" levels up, current level is "+t);if(i="data"+(t-a||""),!r)return i}for(var s=i,l=r.split("/"),u=0;u<l.length;u++){var d=l[u];d&&(i+=c(g(d)),s+=" && "+i)}return s},unescapeFragment:function(e){return g(decodeURIComponent(e))},unescapeJsonPointer:g,escapeFragment:function(e){return encodeURIComponent(h(e))},escapeJsonPointer:h};var r=i(["string","number","integer","boolean","null"]);function i(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var o=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function c(e){return"number"==typeof e?"["+e+"]":o.test(e)?"."+e:"['"+l(e)+"']"}function l(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function u(e){return"'"+l(e)+"'"}var p=/^\/(?:[^~]|~0|~1)*$/,f=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function d(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function h(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function g(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},5701:e=>{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,n){for(var a=0;a<n.length;a++){e=JSON.parse(JSON.stringify(e));var r,i=n[a].split("/"),o=e;for(r=1;r<i.length;r++)o=o[i[r]];for(r=0;r<t.length;r++){var s=t[r],c=o[s];c&&(o[s]={anyOf:[c,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},4614:(e,t,n)=>{"use strict";var a=n(8938);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:a.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:a.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},5946:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s;var d="maximum"==t,h=d?"exclusiveMaximum":"exclusiveMinimum",g=e.schema[h],m=e.opts.$data&&g&&g.$data,y=d?"<":">",v=d?">":"<",b=void 0;if(!f&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!m&&void 0!==g&&"number"!=typeof g&&"boolean"!=typeof g)throw new Error(h+" must be number or boolean");if(m){var P=e.util.getData(g.$data,o,e.dataPathArr),S="exclusive"+i,T="exclType"+i,O="exclIsNumber"+i,E="' + "+(A="op"+i)+" + '";r+=" var schemaExcl"+i+" = "+P+"; ",r+=" var "+S+"; var "+T+" = typeof "+(P="schemaExcl"+i)+"; if ("+T+" != 'boolean' && "+T+" != 'undefined' && "+T+" != 'number') { ";var _;b=h;(_=_||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: '"+h+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var C=r;r=_.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+C+"]); ":r+=" validate.errors = ["+C+"]; return false; ":r+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" "+T+" == 'number' ? ( ("+S+" = "+a+" === undefined || "+P+" "+y+"= "+a+") ? "+p+" "+v+"= "+P+" : "+p+" "+v+" "+a+" ) : ( ("+S+" = "+P+" === true) ? "+p+" "+v+"= "+a+" : "+p+" "+v+" "+a+" ) || "+p+" !== "+p+") { var op"+i+" = "+S+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=h,l=e.errSchemaPath+"/"+h,a=P,f=m)}else{E=y;if((O="number"==typeof g)&&f){var A="'"+E+"'";r+=" if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" ( "+a+" === undefined || "+g+" "+y+"= "+a+" ? "+p+" "+v+"= "+g+" : "+p+" "+v+" "+a+" ) || "+p+" !== "+p+") { "}else{O&&void 0===s?(S=!0,b=h,l=e.errSchemaPath+"/"+h,a=g,v+="="):(O&&(a=Math[d?"min":"max"](g,s)),g===(!O||a)?(S=!0,b=h,l=e.errSchemaPath+"/"+h,v+="="):(S=!1,E+="="));A="'"+E+"'";r+=" if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" "+p+" "+v+" "+a+" || "+p+" !== "+p+") { "}}b=b||t,(_=_||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+A+", limit: "+a+", exclusive: "+S+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be "+E+" ",r+=f?"' + "+a:a+"'"),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";C=r;return r=_.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+C+"]); ":r+=" validate.errors = ["+C+"]; return false; ":r+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}},953:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" "+p+".length "+("maxItems"==t?">":"<")+" "+a+") { ";var d=t,h=h||[];h.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxItems"==t?"more":"fewer",r+=" than ",r+=f?"' + "+a+" + '":""+s,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var g=r;return r=h.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},849:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");var d="maxLength"==t?">":"<";r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),!1===e.opts.unicode?r+=" "+p+".length ":r+=" ucs2length("+p+") ",r+=" "+d+" "+a+") { ";var h=t,g=g||[];g.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(h||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be ",r+="maxLength"==t?"longer":"shorter",r+=" than ",r+=f?"' + "+a+" + '":""+s,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var m=r;return r=g.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},6107:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" Object.keys("+p+").length "+("maxProperties"==t?">":"<")+" "+a+") { ";var d=t,h=h||[];h.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxProperties"==t?"more":"fewer",r+=" than ",r+=f?"' + "+a+" + '":""+s,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var g=r;return r=h.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},2809:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.schema[t],i=e.schemaPath+e.util.getProperty(t),o=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),l="";c.level++;var u="valid"+c.level,p=c.baseId,f=!0,d=r;if(d)for(var h,g=-1,m=d.length-1;g<m;)h=d[g+=1],(e.opts.strictKeywords?"object"==typeof h&&Object.keys(h).length>0||!1===h:e.util.schemaHasRules(h,e.RULES.all))&&(f=!1,c.schema=h,c.schemaPath=i+"["+g+"]",c.errSchemaPath=o+"/"+g,a+=" "+e.validate(c)+" ",c.baseId=p,s&&(a+=" if ("+u+") { ",l+="}"));return s&&(a+=f?" if (true) { ":" "+l.slice(0,-1)+" "),a}},3407:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e),h="";d.level++;var g="valid"+d.level;if(o.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}))){var m=d.baseId;a+=" var "+f+" = errors; var "+p+" = false; ";var y=e.compositeRule;e.compositeRule=d.compositeRule=!0;var v=o;if(v)for(var b,P=-1,S=v.length-1;P<S;)b=v[P+=1],d.schema=b,d.schemaPath=s+"["+P+"]",d.errSchemaPath=c+"/"+P,a+=" "+e.validate(d)+" ",d.baseId=m,a+=" "+p+" = "+p+" || "+g+"; if (!"+p+") { ",h+="}";e.compositeRule=d.compositeRule=y,a+=" "+h+" if (!"+p+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else l&&(a+=" if (true) { ");return a}},8667:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.schema[t],i=e.errSchemaPath+"/"+t,o=(e.opts.allErrors,e.util.toQuotedString(r));return!0===e.opts.$comment?a+=" console.log("+o+");":"function"==typeof e.opts.$comment&&(a+=" self._opts.$comment("+o+", "+e.util.toQuotedString(i)+", validate.root.schema);"),a}},737:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f=e.opts.$data&&o&&o.$data;f&&(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; "),f||(a+=" var schema"+r+" = validate.schema"+s+";"),a+="var "+p+" = equal("+u+", schema"+r+"); if (!"+p+") { ";var d=d||[];d.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+r+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to constant' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var h=a;return a=d.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+h+"]); ":a+=" validate.errors = ["+h+"]; return false; ":a+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",l&&(a+=" else { "),a}},5894:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e);d.level++;var h="valid"+d.level,g="i"+r,m=d.dataLevel=e.dataLevel+1,y="data"+m,v=e.baseId,b=e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all);if(a+="var "+f+" = errors;var "+p+";",b){var P=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.schema=o,d.schemaPath=s,d.errSchemaPath=c,a+=" var "+h+" = false; for (var "+g+" = 0; "+g+" < "+u+".length; "+g+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);var S=u+"["+g+"]";d.dataPathArr[m]=g;var T=e.validate(d);d.baseId=v,e.util.varOccurences(T,y)<2?a+=" "+e.util.varReplace(T,y,S)+" ":a+=" var "+y+" = "+S+"; "+T+" ",a+=" if ("+h+") break; } ",e.compositeRule=d.compositeRule=P,a+=" if (!"+h+") {"}else a+=" if ("+u+".length == 0) {";var O=O||[];O.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should contain a valid item' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var E=a;return a=O.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { ",b&&(a+=" errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } "),e.opts.allErrors&&(a+=" } "),a}},1120:e=>{"use strict";e.exports=function(e,t,n){var a,r,i=" ",o=e.level,s=e.dataLevel,c=e.schema[t],l=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,f="data"+(s||""),d="valid"+o,h="errs__"+o,g=e.opts.$data&&c&&c.$data;g?(i+=" var schema"+o+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",r="schema"+o):r=c;var m,y,v,b,P,S=this,T="definition"+o,O=S.definition,E="";if(g&&O.$data){P="keywordValidate"+o;var _=O.validateSchema;i+=" var "+T+" = RULES.custom['"+t+"'].definition; var "+P+" = "+T+".validate;"}else{if(!(b=e.useCustomRule(S,c,e.schema,e)))return;r="validate.schema"+l,P=b.code,m=O.compile,y=O.inline,v=O.macro}var C=P+".errors",A="i"+o,I="ruleErr"+o,R=O.async;if(R&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(i+=C+" = null;"),i+="var "+h+" = errors;var "+d+";",g&&O.$data&&(E+="}",i+=" if ("+r+" === undefined) { "+d+" = true; } else { ",_&&(E+="}",i+=" "+d+" = "+T+".validateSchema("+r+"); if ("+d+") { ")),y)O.statements?i+=" "+b.validate+" ":i+=" "+d+" = "+b.validate+"; ";else if(v){var F=e.util.copy(e);E="";F.level++;var x="valid"+F.level;F.schema=b.validate,F.schemaPath="";var w=e.compositeRule;e.compositeRule=F.compositeRule=!0;var j=e.validate(F).replace(/validate\.schema/g,P);e.compositeRule=F.compositeRule=w,i+=" "+j}else{(V=V||[]).push(i),i="",i+=" "+P+".call( ",e.opts.passContext?i+="this":i+="self",m||!1===O.schema?i+=" , "+f+" ":i+=" , "+r+" , "+f+" , validate.schema"+e.schemaPath+" ",i+=" , (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var N=s?"data"+(s-1||""):"parentData",L=s?e.dataPathArr[s]:"parentDataProperty",D=i+=" , "+N+" , "+L+" , rootData ) ";i=V.pop(),!1===O.errors?(i+=" "+d+" = ",R&&(i+="await "),i+=D+"; "):i+=R?" var "+(C="customErrors"+o)+" = null; try { "+d+" = await "+D+"; } catch (e) { "+d+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } ":" "+C+" = null; "+d+" = "+D+"; "}if(O.modifying&&(i+=" if ("+N+") "+f+" = "+N+"["+L+"];"),i+=""+E,O.valid)p&&(i+=" if (true) { ");else{var V;i+=" if ( ",void 0===O.valid?(i+=" !",i+=v?""+x:""+d):i+=" "+!O.valid+" ",i+=") { ",a=S.keyword,(V=V||[]).push(i),i="",(V=V||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+S.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var M=i;i=V.pop(),!e.compositeRule&&p?e.async?i+=" throw new ValidationError(["+M+"]); ":i+=" validate.errors = ["+M+"]; return false; ":i+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var k=i;i=V.pop(),y?O.errors?"full"!=O.errors&&(i+=" for (var "+A+"="+h+"; "+A+"<errors; "+A+"++) { var "+I+" = vErrors["+A+"]; if ("+I+".dataPath === undefined) "+I+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+I+".schemaPath === undefined) { "+I+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(i+=" "+I+".schema = "+r+"; "+I+".data = "+f+"; "),i+=" } "):!1===O.errors?i+=" "+k+" ":(i+=" if ("+h+" == errors) { "+k+" } else { for (var "+A+"="+h+"; "+A+"<errors; "+A+"++) { var "+I+" = vErrors["+A+"]; if ("+I+".dataPath === undefined) "+I+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+I+".schemaPath === undefined) { "+I+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(i+=" "+I+".schema = "+r+"; "+I+".data = "+f+"; "),i+=" } } "):v?(i+=" var err = ",!1!==e.createErrors?(i+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+S.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; ")):!1===O.errors?i+=" "+k+" ":(i+=" if (Array.isArray("+C+")) { if (vErrors === null) vErrors = "+C+"; else vErrors = vErrors.concat("+C+"); errors = vErrors.length; for (var "+A+"="+h+"; "+A+"<errors; "+A+"++) { var "+I+" = vErrors["+A+"]; if ("+I+".dataPath === undefined) "+I+".dataPath = (dataPath || '') + "+e.errorPath+"; "+I+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(i+=" "+I+".schema = "+r+"; "+I+".data = "+f+"; "),i+=" } } else { "+k+" } "),i+=" } ",p&&(i+=" else { ")}return i}},3995:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e),d="";f.level++;var h="valid"+f.level,g={},m={},y=e.opts.ownProperties;for(S in o)if("__proto__"!=S){var v=o[S],b=Array.isArray(v)?m:g;b[S]=v}a+="var "+p+" = errors;";var P=e.errorPath;for(var S in a+="var missing"+r+";",m)if((b=m[S]).length){if(a+=" if ( "+u+e.util.getProperty(S)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(S)+"') "),l){a+=" && ( ";var T=b;if(T)for(var O=-1,E=T.length-1;O<E;){F=T[O+=1],O&&(a+=" || "),a+=" ( ( "+(N=u+(j=e.util.getProperty(F)))+" === undefined ",y&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(F)+"') "),a+=") && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?F:j)+") ) "}a+=")) { ";var _="missing"+r,C="' + "+_+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(P,_,!0):P+" + "+_);var A=A||[];A.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(S)+"', missingProperty: '"+C+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(S)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var I=a;a=A.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+I+"]); ":a+=" validate.errors = ["+I+"]; return false; ":a+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{a+=" ) { ";var R=b;if(R)for(var F,x=-1,w=R.length-1;x<w;){F=R[x+=1];var j=e.util.getProperty(F),N=(C=e.util.escapeQuotes(F),u+j);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(P,F,e.opts.jsonPointers)),a+=" if ( "+N+" === undefined ",y&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(F)+"') "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(S)+"', missingProperty: '"+C+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(S)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}a+=" } ",l&&(d+="}",a+=" else { ")}e.errorPath=P;var L=f.baseId;for(var S in g){v=g[S];(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0||!1===v:e.util.schemaHasRules(v,e.RULES.all))&&(a+=" "+h+" = true; if ( "+u+e.util.getProperty(S)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(S)+"') "),a+=") { ",f.schema=v,f.schemaPath=s+e.util.getProperty(S),f.errSchemaPath=c+"/"+e.util.escapeFragment(S),a+=" "+e.validate(f)+" ",f.baseId=L,a+=" } ",l&&(a+=" if ("+h+") { ",d+="}"))}return l&&(a+=" "+d+" if ("+p+" == errors) {"),a}},6783:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f=e.opts.$data&&o&&o.$data;f&&(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ");var d="i"+r,h="schema"+r;f||(a+=" var "+h+" = validate.schema"+s+";"),a+="var "+p+";",f&&(a+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"),a+=p+" = false;for (var "+d+"=0; "+d+"<"+h+".length; "+d+"++) if (equal("+u+", "+h+"["+d+"])) { "+p+" = true; break; }",f&&(a+=" } "),a+=" if (!"+p+") { ";var g=g||[];g.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+r+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var m=a;return a=g.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+m+"]); ":a+=" validate.errors = ["+m+"]; return false; ":a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",l&&(a+=" else { "),a}},184:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||"");if(!1===e.opts.format)return l&&(a+=" if (true) { "),a;var p,f=e.opts.$data&&o&&o.$data;f?(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ",p="schema"+r):p=o;var d=e.opts.unknownFormats,h=Array.isArray(d);if(f){a+=" var "+(g="format"+r)+" = formats["+p+"]; var "+(m="isObject"+r)+" = typeof "+g+" == 'object' && !("+g+" instanceof RegExp) && "+g+".validate; var "+(y="formatType"+r)+" = "+m+" && "+g+".type || 'string'; if ("+m+") { ",e.async&&(a+=" var async"+r+" = "+g+".async; "),a+=" "+g+" = "+g+".validate; } if ( ",f&&(a+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),a+=" (","ignore"!=d&&(a+=" ("+p+" && !"+g+" ",h&&(a+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),a+=") || "),a+=" ("+g+" && "+y+" == '"+n+"' && !(typeof "+g+" == 'function' ? ",e.async?a+=" (async"+r+" ? await "+g+"("+u+") : "+g+"("+u+")) ":a+=" "+g+"("+u+") ",a+=" : "+g+".test("+u+"))))) {"}else{var g;if(!(g=e.formats[o])){if("ignore"==d)return e.logger.warn('unknown format "'+o+'" ignored in schema at path "'+e.errSchemaPath+'"'),l&&(a+=" if (true) { "),a;if(h&&d.indexOf(o)>=0)return l&&(a+=" if (true) { "),a;throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}var m,y=(m="object"==typeof g&&!(g instanceof RegExp)&&g.validate)&&g.type||"string";if(m){var v=!0===g.async;g=g.validate}if(y!=n)return l&&(a+=" if (true) { "),a;if(v){if(!e.async)throw new Error("async format in sync schema");a+=" if (!(await "+(b="formats"+e.util.getProperty(o)+".validate")+"("+u+"))) { "}else{a+=" if (! ";var b="formats"+e.util.getProperty(o);m&&(b+=".validate"),a+="function"==typeof g?" "+b+"("+u+") ":" "+b+".test("+u+") ",a+=") { "}}var P=P||[];P.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ",a+=f?""+p:""+e.util.toQuotedString(o),a+=" } ",!1!==e.opts.messages&&(a+=" , message: 'should match format \"",a+=f?"' + "+p+" + '":""+e.util.escapeQuotes(o),a+="\"' "),e.opts.verbose&&(a+=" , schema: ",a+=f?"validate.schema"+s:""+e.util.toQuotedString(o),a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var S=a;return a=P.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+S+"]); ":a+=" validate.errors = ["+S+"]; return false; ":a+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",l&&(a+=" else { "),a}},555:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e);d.level++;var h="valid"+d.level,g=e.schema.then,m=e.schema.else,y=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),v=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),b=d.baseId;if(y||v){var P;d.createErrors=!1,d.schema=o,d.schemaPath=s,d.errSchemaPath=c,a+=" var "+f+" = errors; var "+p+" = true; ";var S=e.compositeRule;e.compositeRule=d.compositeRule=!0,a+=" "+e.validate(d)+" ",d.baseId=b,d.createErrors=!0,a+=" errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.compositeRule=d.compositeRule=S,y?(a+=" if ("+h+") { ",d.schema=e.schema.then,d.schemaPath=e.schemaPath+".then",d.errSchemaPath=e.errSchemaPath+"/then",a+=" "+e.validate(d)+" ",d.baseId=b,a+=" "+p+" = "+h+"; ",y&&v?a+=" var "+(P="ifClause"+r)+" = 'then'; ":P="'then'",a+=" } ",v&&(a+=" else { ")):a+=" if (!"+h+") { ",v&&(d.schema=e.schema.else,d.schemaPath=e.schemaPath+".else",d.errSchemaPath=e.errSchemaPath+"/else",a+=" "+e.validate(d)+" ",d.baseId=b,a+=" "+p+" = "+h+"; ",y&&v?a+=" var "+(P="ifClause"+r)+" = 'else'; ":P="'else'",a+=" } "),a+=" if (!"+p+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+P+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match \"' + "+P+" + '\" schema' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } ",l&&(a+=" else { ")}else l&&(a+=" if (true) { ");return a}},4478:(e,t,n)=>{"use strict";e.exports={$ref:n(1954),allOf:n(2809),anyOf:n(3407),$comment:n(8667),const:n(737),contains:n(5894),dependencies:n(3995),enum:n(6783),format:n(184),if:n(555),items:n(1244),maximum:n(5946),minimum:n(5946),maxItems:n(953),minItems:n(953),maxLength:n(849),minLength:n(849),maxProperties:n(6107),minProperties:n(6107),multipleOf:n(9159),not:n(3537),oneOf:n(9426),pattern:n(2955),properties:n(5224),propertyNames:n(3194),required:n(395),uniqueItems:n(1628),validate:n(2599)}},1244:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e),h="";d.level++;var g="valid"+d.level,m="i"+r,y=d.dataLevel=e.dataLevel+1,v="data"+y,b=e.baseId;if(a+="var "+f+" = errors;var "+p+";",Array.isArray(o)){var P=e.schema.additionalItems;if(!1===P){a+=" "+p+" = "+u+".length <= "+o.length+"; ";var S=c;c=e.errSchemaPath+"/additionalItems",a+=" if (!"+p+") { ";var T=T||[];T.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+o.length+" } ",!1!==e.opts.messages&&(a+=" , message: 'should NOT have more than "+o.length+" items' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var O=a;a=T.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+O+"]); ":a+=" validate.errors = ["+O+"]; return false; ":a+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",c=S,l&&(h+="}",a+=" else { ")}var E=o;if(E)for(var _,C=-1,A=E.length-1;C<A;)if(_=E[C+=1],e.opts.strictKeywords?"object"==typeof _&&Object.keys(_).length>0||!1===_:e.util.schemaHasRules(_,e.RULES.all)){a+=" "+g+" = true; if ("+u+".length > "+C+") { ";var I=u+"["+C+"]";d.schema=_,d.schemaPath=s+"["+C+"]",d.errSchemaPath=c+"/"+C,d.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,!0),d.dataPathArr[y]=C;var R=e.validate(d);d.baseId=b,e.util.varOccurences(R,v)<2?a+=" "+e.util.varReplace(R,v,I)+" ":a+=" var "+v+" = "+I+"; "+R+" ",a+=" } ",l&&(a+=" if ("+g+") { ",h+="}")}if("object"==typeof P&&(e.opts.strictKeywords?"object"==typeof P&&Object.keys(P).length>0||!1===P:e.util.schemaHasRules(P,e.RULES.all))){d.schema=P,d.schemaPath=e.schemaPath+".additionalItems",d.errSchemaPath=e.errSchemaPath+"/additionalItems",a+=" "+g+" = true; if ("+u+".length > "+o.length+") { for (var "+m+" = "+o.length+"; "+m+" < "+u+".length; "+m+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);I=u+"["+m+"]";d.dataPathArr[y]=m;R=e.validate(d);d.baseId=b,e.util.varOccurences(R,v)<2?a+=" "+e.util.varReplace(R,v,I)+" ":a+=" var "+v+" = "+I+"; "+R+" ",l&&(a+=" if (!"+g+") break; "),a+=" } } ",l&&(a+=" if ("+g+") { ",h+="}")}}else if(e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){d.schema=o,d.schemaPath=s,d.errSchemaPath=c,a+=" for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);I=u+"["+m+"]";d.dataPathArr[y]=m;R=e.validate(d);d.baseId=b,e.util.varOccurences(R,v)<2?a+=" "+e.util.varReplace(R,v,I)+" ":a+=" var "+v+" = "+I+"; "+R+" ",l&&(a+=" if (!"+g+") break; "),a+=" }"}return l&&(a+=" "+h+" if ("+f+" == errors) {"),a}},9159:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");r+="var division"+i+";if (",f&&(r+=" "+a+" !== undefined && ( typeof "+a+" != 'number' || "),r+=" (division"+i+" = "+p+" / "+a+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+i+" !== parseInt(division"+i+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var d=d||[];d.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be multiple of ",r+=f?"' + "+a:a+"'"),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var h=r;return r=d.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+h+"]); ":r+=" validate.errors = ["+h+"]; return false; ":r+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},3537:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e);f.level++;var d="valid"+f.level;if(e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){f.schema=o,f.schemaPath=s,f.errSchemaPath=c,a+=" var "+p+" = errors; ";var h,g=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.createErrors=!1,f.opts.allErrors&&(h=f.opts.allErrors,f.opts.allErrors=!1),a+=" "+e.validate(f)+" ",f.createErrors=!0,h&&(f.opts.allErrors=h),e.compositeRule=f.compositeRule=g,a+=" if ("+d+") { ";var m=m||[];m.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var y=a;a=m.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else a+=" var err = ",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(a+=" if (false) { ");return a}},9426:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e),h="";d.level++;var g="valid"+d.level,m=d.baseId,y="prevValid"+r,v="passingSchemas"+r;a+="var "+f+" = errors , "+y+" = false , "+p+" = false , "+v+" = null; ";var b=e.compositeRule;e.compositeRule=d.compositeRule=!0;var P=o;if(P)for(var S,T=-1,O=P.length-1;T<O;)S=P[T+=1],(e.opts.strictKeywords?"object"==typeof S&&Object.keys(S).length>0||!1===S:e.util.schemaHasRules(S,e.RULES.all))?(d.schema=S,d.schemaPath=s+"["+T+"]",d.errSchemaPath=c+"/"+T,a+=" "+e.validate(d)+" ",d.baseId=m):a+=" var "+g+" = true; ",T&&(a+=" if ("+g+" && "+y+") { "+p+" = false; "+v+" = ["+v+", "+T+"]; } else { ",h+="}"),a+=" if ("+g+") { "+p+" = "+y+" = true; "+v+" = "+T+"; }";return e.compositeRule=d.compositeRule=b,a+=h+"if (!"+p+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+v+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+="} else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; }",e.opts.allErrors&&(a+=" } "),a}},2955:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'string') || "),r+=" !"+(f?"(new RegExp("+a+"))":e.usePattern(s))+".test("+p+") ) { ";var d=d||[];d.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",r+=f?""+a:""+e.util.toQuotedString(s),r+=" } ",!1!==e.opts.messages&&(r+=" , message: 'should match pattern \"",r+=f?"' + "+a+" + '":""+e.util.escapeQuotes(s),r+="\"' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+e.util.toQuotedString(s),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var h=r;return r=d.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+h+"]); ":r+=" validate.errors = ["+h+"]; return false; ":r+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},5224:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e),d="";f.level++;var h="valid"+f.level,g="key"+r,m="idx"+r,y=f.dataLevel=e.dataLevel+1,v="data"+y,b="dataProperties"+r,P=Object.keys(o||{}).filter(j),S=e.schema.patternProperties||{},T=Object.keys(S).filter(j),O=e.schema.additionalProperties,E=P.length||T.length,_=!1===O,C="object"==typeof O&&Object.keys(O).length,A=e.opts.removeAdditional,I=_||C||A,R=e.opts.ownProperties,F=e.baseId,x=e.schema.required;if(x&&(!e.opts.$data||!x.$data)&&x.length<e.opts.loopRequired)var w=e.util.toHash(x);function j(e){return"__proto__"!==e}if(a+="var "+p+" = errors;var "+h+" = true;",R&&(a+=" var "+b+" = undefined;"),I){if(a+=R?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+g+" = "+b+"["+m+"]; ":" for (var "+g+" in "+u+") { ",E){if(a+=" var isAdditional"+r+" = !(false ",P.length)if(P.length>8)a+=" || validate.schema"+s+".hasOwnProperty("+g+") ";else{var N=P;if(N)for(var L=-1,D=N.length-1;L<D;)J=N[L+=1],a+=" || "+g+" == "+e.util.toQuotedString(J)+" "}if(T.length){var V=T;if(V)for(var M=-1,k=V.length-1;M<k;)ie=V[M+=1],a+=" || "+e.usePattern(ie)+".test("+g+") "}a+=" ); if (isAdditional"+r+") { "}if("all"==A)a+=" delete "+u+"["+g+"]; ";else{var $=e.errorPath,B="' + "+g+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers)),_)if(A)a+=" delete "+u+"["+g+"]; ";else{a+=" "+h+" = false; ";var U=c;c=e.errSchemaPath+"/additionalProperties",(ne=ne||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+B+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is an invalid additional property":a+="should NOT have additional properties",a+="' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var H=a;a=ne.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+H+"]); ":a+=" validate.errors = ["+H+"]; return false; ":a+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,l&&(a+=" break; ")}else if(C)if("failing"==A){a+=" var "+p+" = errors; ";var K=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=O,f.schemaPath=e.schemaPath+".additionalProperties",f.errSchemaPath=e.errSchemaPath+"/additionalProperties",f.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);var Q=u+"["+g+"]";f.dataPathArr[y]=g;var G=e.validate(f);f.baseId=F,e.util.varOccurences(G,v)<2?a+=" "+e.util.varReplace(G,v,Q)+" ":a+=" var "+v+" = "+Q+"; "+G+" ",a+=" if (!"+h+") { errors = "+p+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+g+"]; } ",e.compositeRule=f.compositeRule=K}else{f.schema=O,f.schemaPath=e.schemaPath+".additionalProperties",f.errSchemaPath=e.errSchemaPath+"/additionalProperties",f.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Q=u+"["+g+"]";f.dataPathArr[y]=g;G=e.validate(f);f.baseId=F,e.util.varOccurences(G,v)<2?a+=" "+e.util.varReplace(G,v,Q)+" ":a+=" var "+v+" = "+Q+"; "+G+" ",l&&(a+=" if (!"+h+") break; ")}e.errorPath=$}E&&(a+=" } "),a+=" } ",l&&(a+=" if ("+h+") { ",d+="}")}var W=e.opts.useDefaults&&!e.compositeRule;if(P.length){var q=P;if(q)for(var J,X=-1,z=q.length-1;X<z;){var Y=o[J=q[X+=1]];if(e.opts.strictKeywords?"object"==typeof Y&&Object.keys(Y).length>0||!1===Y:e.util.schemaHasRules(Y,e.RULES.all)){var Z=e.util.getProperty(J),ee=(Q=u+Z,W&&void 0!==Y.default);f.schema=Y,f.schemaPath=s+Z,f.errSchemaPath=c+"/"+e.util.escapeFragment(J),f.errorPath=e.util.getPath(e.errorPath,J,e.opts.jsonPointers),f.dataPathArr[y]=e.util.toQuotedString(J);G=e.validate(f);if(f.baseId=F,e.util.varOccurences(G,v)<2){G=e.util.varReplace(G,v,Q);var te=Q}else{te=v;a+=" var "+v+" = "+Q+"; "}if(ee)a+=" "+G+" ";else{if(w&&w[J]){a+=" if ( "+te+" === undefined ",R&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(J)+"') "),a+=") { "+h+" = false; ";$=e.errorPath,U=c;var ne,ae=e.util.escapeQuotes(J);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,J,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(ne=ne||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ae+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+ae+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";H=a;a=ne.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+H+"]); ":a+=" validate.errors = ["+H+"]; return false; ":a+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,e.errorPath=$,a+=" } else { "}else l?(a+=" if ( "+te+" === undefined ",R&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(J)+"') "),a+=") { "+h+" = true; } else { "):(a+=" if ("+te+" !== undefined ",R&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(J)+"') "),a+=" ) { ");a+=" "+G+" } "}}l&&(a+=" if ("+h+") { ",d+="}")}}if(T.length){var re=T;if(re)for(var ie,oe=-1,se=re.length-1;oe<se;){Y=S[ie=re[oe+=1]];if(e.opts.strictKeywords?"object"==typeof Y&&Object.keys(Y).length>0||!1===Y:e.util.schemaHasRules(Y,e.RULES.all)){f.schema=Y,f.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ie),f.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ie),a+=R?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+g+" = "+b+"["+m+"]; ":" for (var "+g+" in "+u+") { ",a+=" if ("+e.usePattern(ie)+".test("+g+")) { ",f.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Q=u+"["+g+"]";f.dataPathArr[y]=g;G=e.validate(f);f.baseId=F,e.util.varOccurences(G,v)<2?a+=" "+e.util.varReplace(G,v,Q)+" ":a+=" var "+v+" = "+Q+"; "+G+" ",l&&(a+=" if (!"+h+") break; "),a+=" } ",l&&(a+=" else "+h+" = true; "),a+=" } ",l&&(a+=" if ("+h+") { ",d+="}")}}}return l&&(a+=" "+d+" if ("+p+" == errors) {"),a}},3194:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e);f.level++;var d="valid"+f.level;if(a+="var "+p+" = errors;",e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){f.schema=o,f.schemaPath=s,f.errSchemaPath=c;var h="key"+r,g="idx"+r,m="i"+r,y="' + "+h+" + '",v="data"+(f.dataLevel=e.dataLevel+1),b="dataProperties"+r,P=e.opts.ownProperties,S=e.baseId;P&&(a+=" var "+b+" = undefined; "),a+=P?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+h+" = "+b+"["+g+"]; ":" for (var "+h+" in "+u+") { ",a+=" var startErrs"+r+" = errors; ";var T=h,O=e.compositeRule;e.compositeRule=f.compositeRule=!0;var E=e.validate(f);f.baseId=S,e.util.varOccurences(E,v)<2?a+=" "+e.util.varReplace(E,v,T)+" ":a+=" var "+v+" = "+T+"; "+E+" ",e.compositeRule=f.compositeRule=O,a+=" if (!"+d+") { for (var "+m+"=startErrs"+r+"; "+m+"<errors; "+m+"++) { vErrors["+m+"].propertyName = "+h+"; } var err = ",!1!==e.createErrors?(a+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+y+"' } ",!1!==e.opts.messages&&(a+=" , message: 'property name \\'"+y+"\\' is invalid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),l&&(a+=" break; "),a+=" } }"}return l&&(a+=" if ("+p+" == errors) {"),a}},1954:e=>{"use strict";e.exports=function(e,t,n){var a,r,i=" ",o=e.level,s=e.dataLevel,c=e.schema[t],l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(s||""),f="valid"+o;if("#"==c||"#/"==c)e.isRoot?(a=e.async,r="validate"):(a=!0===e.root.schema.$async,r="root.refVal[0]");else{var d=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===d){var h=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){e.logger.error(h),(v=v||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(i+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var g=i;i=v.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(i+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,h);e.logger.warn(h),u&&(i+=" if (true) { ")}}else if(d.inline){var m=e.util.copy(e);m.level++;var y="valid"+m.level;m.schema=d.schema,m.schemaPath="",m.errSchemaPath=c,i+=" "+e.validate(m).replace(/validate\.schema/g,d.code)+" ",u&&(i+=" if ("+y+") { ")}else a=!0===d.$async||e.async&&!1!==d.$async,r=d.code}if(r){var v;(v=v||[]).push(i),i="",e.opts.passContext?i+=" "+r+".call(this, ":i+=" "+r+"( ",i+=" "+p+", (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var b=i+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(i=v.pop(),a){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(i+=" var "+f+"; "),i+=" try { await "+b+"; ",u&&(i+=" "+f+" = true; "),i+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(i+=" "+f+" = false; "),i+=" } ",u&&(i+=" if ("+f+") { ")}else i+=" if (!"+b+") { if (vErrors === null) vErrors = "+r+".errors; else vErrors = vErrors.concat("+r+".errors); errors = vErrors.length; } ",u&&(i+=" else { ")}return i}},395:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f=e.opts.$data&&o&&o.$data;f&&(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ");var d="schema"+r;if(!f)if(o.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var h=[],g=o;if(g)for(var m,y=-1,v=g.length-1;y<v;){m=g[y+=1];var b=e.schema.properties[m];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(h[h.length]=m)}}else h=o;if(f||h.length){var P=e.errorPath,S=f||h.length>=e.opts.loopRequired,T=e.opts.ownProperties;if(l)if(a+=" var missing"+r+"; ",S){f||(a+=" var "+d+" = validate.schema"+s+"; ");var O="' + "+(R="schema"+r+"["+(C="i"+r)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(P,R,e.opts.jsonPointers)),a+=" var "+p+" = true; ",f&&(a+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"),a+=" for (var "+C+" = 0; "+C+" < "+d+".length; "+C+"++) { "+p+" = "+u+"["+d+"["+C+"]] !== undefined ",T&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", "+d+"["+C+"]) "),a+="; if (!"+p+") break; } ",f&&(a+=" } "),a+=" if (!"+p+") { ",(I=I||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var E=a;a=I.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else{a+=" if ( ";var _=h;if(_)for(var C=-1,A=_.length-1;C<A;){x=_[C+=1],C&&(a+=" || "),a+=" ( ( "+(L=u+(N=e.util.getProperty(x)))+" === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(x)+"') "),a+=") && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?x:N)+") ) "}a+=") { ";var I;O="' + "+(R="missing"+r)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(P,R,!0):P+" + "+R),(I=I||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";E=a;a=I.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else if(S){f||(a+=" var "+d+" = validate.schema"+s+"; ");var R;O="' + "+(R="schema"+r+"["+(C="i"+r)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(P,R,e.opts.jsonPointers)),f&&(a+=" if ("+d+" && !Array.isArray("+d+")) { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+d+" !== undefined) { "),a+=" for (var "+C+" = 0; "+C+" < "+d+".length; "+C+"++) { if ("+u+"["+d+"["+C+"]] === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+d+"["+C+"]) "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",f&&(a+=" } ")}else{var F=h;if(F)for(var x,w=-1,j=F.length-1;w<j;){x=F[w+=1];var N=e.util.getProperty(x),L=(O=e.util.escapeQuotes(x),u+N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(P,x,e.opts.jsonPointers)),a+=" if ( "+L+" === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(x)+"') "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=P}else l&&(a+=" if (true) {");return a}},1628:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f="valid"+i,d=e.opts.$data&&s&&s.$data;if(d?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,(s||d)&&!1!==e.opts.uniqueItems){d&&(r+=" var "+f+"; if ("+a+" === false || "+a+" === undefined) "+f+" = true; else if (typeof "+a+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+p+".length , "+f+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,g=Array.isArray(h);if(!h||"object"==h||"array"==h||g&&(h.indexOf("object")>=0||h.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+p+"[i], "+p+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+p+"[i]; ";var m="checkDataType"+(g?"s":"");r+=" if ("+e.util[m](h,"item",e.opts.strictNumbers,!0)+") continue; ",g&&(r+=" if (typeof item == 'string') item = '\"' + item; "),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",d&&(r+=" } "),r+=" if (!"+f+") { ";var y=y||[];y.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",r+=d?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var v=r;r=y.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { ")}else u&&(r+=" if (true) { ");return r}},2599:e=>{"use strict";e.exports=function(e,t,n){var a="",r=!0===e.schema.$async,i=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),o=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var c="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(c);e.logger.warn(c)}}if(e.isTop&&(a+=" var validate = ",r&&(e.async=!0,a+="async "),a+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",o&&(e.opts.sourceCode||e.opts.processCode)&&(a+=" /*# sourceURL="+o+" */ ")),"boolean"==typeof e.schema||!i&&!e.schema.$ref){t="false schema";var l=e.level,u=e.dataLevel,p=e.schema[t],f=e.schemaPath+e.util.getProperty(t),d=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,g="data"+(u||""),m="valid"+l;if(!1===e.schema){e.isTop?h=!0:a+=" var "+m+" = false; ",(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'boolean schema is false' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";var y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a+=r?" return data; ":" validate.errors = null; return true; ":a+=" var "+m+" = true; ";return e.isTop&&(a+=" }; return validate; "),a}if(e.isTop){var v=e.isTop;l=e.level=0,u=e.dataLevel=0,g="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}a+=" var vErrors = null; ",a+=" var errors = 0; ",a+=" if (rootData === undefined) rootData = data; "}else{l=e.level,g="data"+((u=e.dataLevel)||"");if(o&&(e.baseId=e.resolve.url(e.baseId,o)),r&&!e.async)throw new Error("async schema in sync schema");a+=" var errs_"+l+" = errors;"}m="valid"+l,h=!e.opts.allErrors;var P="",S="",T=e.schema.type,O=Array.isArray(T);if(T&&e.opts.nullable&&!0===e.schema.nullable&&(O?-1==T.indexOf("null")&&(T=T.concat("null")):"null"!=T&&(T=[T,"null"],O=!0)),O&&1==T.length&&(T=T[0],O=!1),e.schema.$ref&&i){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(i=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(a+=" "+e.RULES.all.$comment.code(e,"$comment")),T){if(e.opts.coerceTypes)var E=e.util.coerceToTypes(e.opts.coerceTypes,T);var _=e.RULES.types[T];if(E||O||!0===_||_&&!z(_)){f=e.schemaPath+".type",d=e.errSchemaPath+"/type",f=e.schemaPath+".type",d=e.errSchemaPath+"/type";var C=O?"checkDataTypes":"checkDataType";if(a+=" if ("+e.util[C](T,g,e.opts.strictNumbers,!0)+") { ",E){var A="dataType"+l,I="coerced"+l;a+=" var "+A+" = typeof "+g+"; var "+I+" = undefined; ","array"==e.opts.coerceTypes&&(a+=" if ("+A+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+A+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+I+" = "+g+"; } "),a+=" if ("+I+" !== undefined) ; ";var R=E;if(R)for(var F,x=-1,w=R.length-1;x<w;)"string"==(F=R[x+=1])?a+=" else if ("+A+" == 'number' || "+A+" == 'boolean') "+I+" = '' + "+g+"; else if ("+g+" === null) "+I+" = ''; ":"number"==F||"integer"==F?(a+=" else if ("+A+" == 'boolean' || "+g+" === null || ("+A+" == 'string' && "+g+" && "+g+" == +"+g+" ","integer"==F&&(a+=" && !("+g+" % 1)"),a+=")) "+I+" = +"+g+"; "):"boolean"==F?a+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+I+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+I+" = true; ":"null"==F?a+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+I+" = null; ":"array"==e.opts.coerceTypes&&"array"==F&&(a+=" else if ("+A+" == 'string' || "+A+" == 'number' || "+A+" == 'boolean' || "+g+" == null) "+I+" = ["+g+"]; ");a+=" else { ",(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '",a+=O?""+T.join(","):""+T,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=O?""+T.join(","):""+T,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+f+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } if ("+I+" !== undefined) { ";var j=u?"data"+(u-1||""):"parentData";a+=" "+g+" = "+I+"; ",u||(a+="if ("+j+" !== undefined)"),a+=" "+j+"["+(u?e.dataPathArr[u]:"parentDataProperty")+"] = "+I+"; } "}else{(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '",a+=O?""+T.join(","):""+T,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=O?""+T.join(","):""+T,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+f+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } "}}if(e.schema.$ref&&!i)a+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",h&&(a+=" } if (errors === ",a+=v?"0":"errs_"+l,a+=") { ",S+="}");else{var N=e.RULES;if(N)for(var L=-1,D=N.length-1;L<D;)if(z(_=N[L+=1])){if(_.type&&(a+=" if ("+e.util.checkDataType(_.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==_.type&&e.schema.properties){p=e.schema.properties;var V=Object.keys(p);if(V)for(var M,k=-1,$=V.length-1;k<$;){if(void 0!==(H=p[M=V[k+=1]]).default){var B=g+e.util.getProperty(M);if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+B;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+B+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+B+" === null || "+B+" === '' "),a+=" ) "+B+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(H.default)+" ":a+=" "+JSON.stringify(H.default)+" ",a+="; "}}}else if("array"==_.type&&Array.isArray(e.schema.items)){var U=e.schema.items;if(U){x=-1;for(var H,K=U.length-1;x<K;)if(void 0!==(H=U[x+=1]).default){B=g+"["+x+"]";if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+B;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+B+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+B+" === null || "+B+" === '' "),a+=" ) "+B+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(H.default)+" ":a+=" "+JSON.stringify(H.default)+" ",a+="; "}}}var Q=_.rules;if(Q)for(var G,W=-1,q=Q.length-1;W<q;)if(Y(G=Q[W+=1])){var J=G.code(e,G.keyword,_.type);J&&(a+=" "+J+" ",h&&(P+="}"))}if(h&&(a+=" "+P+" ",P=""),_.type&&(a+=" } ",T&&T===_.type&&!E)){a+=" else { ";var X;f=e.schemaPath+".type",d=e.errSchemaPath+"/type";(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '",a+=O?""+T.join(","):""+T,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=O?""+T.join(","):""+T,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+f+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } "}h&&(a+=" if (errors === ",a+=v?"0":"errs_"+l,a+=") { ",S+="}")}}function z(e){for(var t=e.rules,n=0;n<t.length;n++)if(Y(t[n]))return!0}function Y(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var n=t.implements,a=0;a<n.length;a++)if(void 0!==e.schema[n[a]])return!0}(t)}return h&&(a+=" "+S+" "),v?(r?(a+=" if (errors === 0) return data; ",a+=" else throw new ValidationError(vErrors); "):(a+=" validate.errors = vErrors; ",a+=" return errors === 0; "),a+=" }; return validate;"):a+=" var "+m+" = errors === errs_"+l+";",a}},6019:(e,t,n)=>{"use strict";var a=/^[a-z_$][a-z0-9_$-]*$/i,r=n(1120),i=n(4614);e.exports={add:function(e,t){var n=this.RULES;if(n.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!a.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var i=t.type;if(Array.isArray(i))for(var o=0;o<i.length;o++)c(e,i[o],t);else c(e,i,t);var s=t.metaSchema;s&&(t.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(s,!0))}function c(e,t,a){for(var i,o=0;o<n.length;o++){var s=n[o];if(s.type==t){i=s;break}}i||(i={type:t,rules:[]},n.push(i));var c={keyword:e,definition:a,custom:!0,code:r,implements:a.implements};i.rules.push(c),n.custom[e]=c}return n.keywords[e]=n.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var n=0;n<t.length;n++)for(var a=t[n].rules,r=0;r<a.length;r++)if(a[r].keyword==e){a.splice(r,1);break}return this},validate:function e(t,n){e.errors=null;var a=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(a(t))return!0;if(e.errors=a.errors,n)throw new Error("custom keyword definition is invalid: "+this.errorsText(a.errors));return!1}}},2245:e=>{"use strict";e.exports=(...e)=>[...new Set([].concat(...e))]},7361:e=>{"use strict";function t(e,t,r){e instanceof RegExp&&(e=n(e,r)),t instanceof RegExp&&(t=n(t,r));var i=a(e,t,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+e.length,i[1]),post:r.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function a(e,t,n){var a,r,i,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){for(a=[],i=n.length;u>=0&&!s;)u==c?(a.push(u),c=n.indexOf(e,u+1)):1==a.length?s=[a.pop(),l]:((r=a.pop())<i&&(i=r,o=l),l=n.indexOf(t,u+1)),u=c<l&&c>=0?c:l;a.length&&(s=[i,o])}return s}e.exports=t,t.range=a},1672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["dds","eot","gif","ico","jar","jpeg","jpg","pdf","png","swf","tga","ttf","zip"]},8063:(e,t,n)=>{var a=n(9834),r=n(7361);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return y(function(e){return e.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(s).split("\\,").join(c).split("\\.").join(l)}(e),!0).map(p)};var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function u(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function p(e){return e.split(i).join("\\").split(o).join("{").split(s).join("}").split(c).join(",").split(l).join(".")}function f(e){if(!e)return[""];var t=[],n=r("{","}",e);if(!n)return e.split(",");var a=n.pre,i=n.body,o=n.post,s=a.split(",");s[s.length-1]+="{"+i+"}";var c=f(o);return o.length&&(s[s.length-1]+=c.shift(),s.push.apply(s,c)),t.push.apply(t,s),t}function d(e){return"{"+e+"}"}function h(e){return/^-?0\d/.test(e)}function g(e,t){return e<=t}function m(e,t){return e>=t}function y(e,t){var n=[],i=r("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var o,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),p=c||l,v=i.body.indexOf(",")>=0;if(!p&&!v)return i.post.match(/,.*\}/)?y(e=i.pre+"{"+i.body+s+i.post):[e];if(p)o=i.body.split(/\.\./);else if(1===(o=f(i.body)).length&&1===(o=y(o[0],!1).map(d)).length)return(S=i.post.length?y(i.post,!1):[""]).map((function(e){return i.pre+o[0]+e}));var b,P=i.pre,S=i.post.length?y(i.post,!1):[""];if(p){var T=u(o[0]),O=u(o[1]),E=Math.max(o[0].length,o[1].length),_=3==o.length?Math.abs(u(o[2])):1,C=g;O<T&&(_*=-1,C=m);var A=o.some(h);b=[];for(var I=T;C(I,O);I+=_){var R;if(l)"\\"===(R=String.fromCharCode(I))&&(R="");else if(R=String(I),A){var F=E-R.length;if(F>0){var x=new Array(F+1).join("0");R=I<0?"-"+x+R.slice(1):x+R}}b.push(R)}}else b=a(o,(function(e){return y(e,!1)}));for(var w=0;w<b.length;w++)for(var j=0;j<S.length;j++){var N=P+b[w]+S[j];(!t||p||N)&&n.push(N)}return n}},9111:(e,t,n)=>{"use strict";var a=n(4293).Buffer;function r(){return a.hasOwnProperty("from")&&"function"==typeof a.from}function i(e){if(!a.isBuffer(e))throw new Error("Can only clone Buffer.");if(r())return a.from(e);var t=new a(e.length);return e.copy(t),t}i.hasFrom=r,e.exports=i},4736:(e,t,n)=>{var a=n(5747).Stats;e.exports=function(e){var t=new a;return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}},2059:(e,t,n)=>{"use strict";var a=n(8295).PassThrough,r=n(5822),i=n(5552);function o(e,t){if(!(this instanceof o))return new o(e,t);var n=e._readableState.objectMode;this._original=e,this._clonesCount=1,(t=t||{}).objectMode=n,a.call(this,t),l(e,this),this.on("newListener",s),this.once("resume",c),this._hasListener=!0}function s(e,t){"data"!==e&&"readable"!==e||(this._hasListener=!1,this.removeListener("newListener",s),this.removeListener("resume",c),i.nextTick(u,this))}function c(){this._hasListener=!1,this.removeListener("newListener",s),i.nextTick(u,this)}function l(e,t){function n(){t.end()}e.on("error",(function(a){e.removeListener("close",n),t.destroy(a)})),e.on("close",n)}function u(e){0!=--e._clonesCount||e._readableState.destroyed||(e._original.pipe(e),e._original=void 0)}function p(e,t){if(!(this instanceof p))return new p(e,t);var n=e._readableState.objectMode;(t=t||{}).objectMode=n,this.parent=e,a.call(this,t),l(e,this),e.pipe(this),this.on("newListener",f),this.on("resume",d)}function f(e,t){"data"!==e&&"readable"!==e&&"close"!==e||(i.nextTick(u,this.parent),this.removeListener("newListener",f))}function d(){this.removeListener("newListener",f),i.nextTick(u,this.parent)}r(o,a),o.prototype.clone=function(){if(!this._original)throw new Error("already started");this._clonesCount++,this.removeListener("newListener",s);var e=new p(this);return this._hasListener&&this.on("newListener",s),e},o.prototype._destroy=function(e,t){e||(this.push(null),this.end(),this.emit("close")),i.nextTick(t,e)},r(p,a),p.prototype.clone=function(){return this.parent.clone()},o.isCloneable=function(e){return e instanceof o||e instanceof p},p.prototype._destroy=function(e,t){e||(this.push(null),this.end(),this.emit("close")),i.nextTick(t,e)},e.exports=o},2169:(e,t,n)=>{var a=n(5622);e.exports=function(e,t){if(t)var n=t.map((function(t){return a.resolve(e,t)}));else n=e;var r=n.slice(1).reduce((function(e,t){if(!t.match(/^([A-Za-z]:)?\/|\\/))throw new Error("relative path without a basedir");for(var n=t.split(/\/+|\\+/),a=0;e[a]===n[a]&&a<Math.min(e.length,n.length);a++);return e.slice(0,a)}),n[0].split(/\/+|\\+/));return r.length>1?r.join("/"):"/"}},9834:e=>{e.exports=function(e,n){for(var a=[],r=0;r<e.length;r++){var i=n(e[r],r);t(i)?a.push.apply(a,i):a.push(i)}return a};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},2862:(e,t)=>{function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=Buffer.isBuffer},103:e=>{"use strict";function t(e){return e instanceof Buffer||e instanceof Date||e instanceof RegExp}function n(e){if(e instanceof Buffer){var t=Buffer.alloc?Buffer.alloc(e.length):new Buffer(e.length);return e.copy(t),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}function a(e){var r=[];return e.forEach((function(e,o){"object"==typeof e&&null!==e?Array.isArray(e)?r[o]=a(e):t(e)?r[o]=n(e):r[o]=i({},e):r[o]=e})),r}function r(e,t){return"__proto__"===t?void 0:e[t]}var i=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var e,o,s=arguments[0],c=Array.prototype.slice.call(arguments,1);return c.forEach((function(c){"object"!=typeof c||null===c||Array.isArray(c)||Object.keys(c).forEach((function(l){return o=r(s,l),(e=r(c,l))===s?void 0:"object"!=typeof e||null===e?void(s[l]=e):Array.isArray(e)?void(s[l]=a(e)):t(e)?void(s[l]=n(e)):"object"!=typeof o||null===o||Array.isArray(o)?void(s[l]=i({},e)):void(s[l]=i(o,e))}))})),s}},4225:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function r(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var r={};return n.isMergeableObject(e)&&i(e).forEach((function(t){r[t]=a(e[t],n)})),i(t).forEach((function(i){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(o(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(i,n)(e[i],t[i],n):r[i]=a(t[i],n))})),r}function c(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||r,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=a;var o=Array.isArray(n);return o===Array.isArray(e)?o?i.arrayMerge(e,n,i):s(e,n,i):a(n,i)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var l=c;e.exports=l},4217:(e,t,n)=>{"use strict";const a=n(5622),r=n(5904),i=e=>e.length>1?`{${e.join(",")}}`:e[0],o=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return a.isAbsolute(n)?n:a.join(t,n)},s=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>{return a.posix.join(e,(r=n,o=t.extensions,a.extname(r)?`**/${r}`:`**/${r}.${i(o)}`));var r,o})):t.files?t.files.map((t=>a.posix.join(e,`**/${t}`))):t.extensions?[a.posix.join(e,`**/*.${i(t.extensions)}`)]:[a.posix.join(e,"**")]};e.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await r.isDirectory(o(e,t.cwd))?s(e,t):e)));return[].concat.apply([],n)},e.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>r.isDirectorySync(o(e,t.cwd))?s(e,t):e));return[].concat.apply([],n)}},5904:(e,t,n)=>{"use strict";const{promisify:a}=n(1669),r=n(5747);async function i(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await a(r[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function o(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return r[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}t.isFile=i.bind(null,"stat","isFile"),t.isDirectory=i.bind(null,"stat","isDirectory"),t.isSymlink=i.bind(null,"lstat","isSymbolicLink"),t.isFileSync=o.bind(null,"statSync","isFile"),t.isDirectorySync=o.bind(null,"statSync","isDirectory"),t.isSymlinkSync=o.bind(null,"lstatSync","isSymbolicLink")},5179:(e,t,n)=>{"use strict";var a=n(5747),r=n(5622),i=n(2781),o=!1,s=n(7740).i8,c="locals",l=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],u=l.concat("cache"),p=/^\uFEFF/;function f(e,n){var r;if(n.some((function(n){return r=t.resolveInclude(e,n,!0),a.existsSync(r)})))return r}function d(e,n){var a,r=e.filename,i=arguments.length>1;if(e.cache){if(!r)throw new Error("cache option requires a filename");if(a=t.cache.get(r))return a;i||(n=g(r).toString().replace(p,""))}else if(!i){if(!r)throw new Error("Internal EJS error: no file name or template provided");n=g(r).toString().replace(p,"")}return a=t.compile(n,e),e.cache&&t.cache.set(r,a),a}function h(e,n,a){var r;if(!a){if("function"==typeof t.promiseImpl)return new t.promiseImpl((function(t,a){try{t(r=d(e)(n))}catch(e){a(e)}}));throw new Error("Please provide a callback function")}try{r=d(e)(n)}catch(e){return a(e)}a(null,r)}function g(e){return t.fileLoader(e)}function m(e,n){var r=i.shallowCopy({},n);if(r.filename=function(e,n){var r,i,o=n.views,s=/^[A-Za-z]+:\\|^\//.exec(e);if(s&&s.length)e=e.replace(/^\/*/,""),r=Array.isArray(n.root)?f(e,n.root):t.resolveInclude(e,n.root||"/",!0);else if(n.filename&&(i=t.resolveInclude(e,n.filename),a.existsSync(i)&&(r=i)),!r&&Array.isArray(o)&&(r=f(e,o)),!r&&"function"!=typeof n.includer)throw new Error('Could not find the include file "'+n.escapeFunction(e)+'"');return r}(e,r),"function"==typeof n.includer){var o=n.includer(e,r.filename);if(o&&(o.filename&&(r.filename=o.filename),o.template))return d(r,o.template)}return d(r)}function y(e,t,n,a,r){var i=t.split("\n"),o=Math.max(a-3,0),s=Math.min(i.length,a+3),c=r(n),l=i.slice(o,s).map((function(e,t){var n=t+o+1;return(n==a?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=c,e.message=(c||"ejs")+":"+a+"\n"+l+"\n\n"+e.message,e}function v(e){return e.replace(/;(\s*$)/,"$1")}function b(e,n){n=n||{};var a={};this.templateText=e,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",a.client=n.client||!1,a.escapeFunction=n.escape||n.escapeFunction||i.escapeXML,a.compileDebug=!1!==n.compileDebug,a.debug=!!n.debug,a.filename=n.filename,a.openDelimiter=n.openDelimiter||t.openDelimiter||"<",a.closeDelimiter=n.closeDelimiter||t.closeDelimiter||">",a.delimiter=n.delimiter||t.delimiter||"%",a.strict=n.strict||!1,a.context=n.context,a.cache=n.cache||!1,a.rmWhitespace=n.rmWhitespace,a.root=n.root,a.includer=n.includer,a.outputFunctionName=n.outputFunctionName,a.localsName=n.localsName||t.localsName||c,a.views=n.views,a.async=n.async,a.destructuredLocals=n.destructuredLocals,a.legacyInclude=void 0===n.legacyInclude||!!n.legacyInclude,a.strict?a._with=!1:a._with=void 0===n._with||n._with,this.opts=a,this.regex=this.createRegex()}t.cache=i.cache,t.fileLoader=a.readFileSync,t.localsName=c,t.promiseImpl=new Function("return this;")().Promise,t.resolveInclude=function(e,t,n){var a=r.dirname,i=r.extname,o=(0,r.resolve)(n?t:a(t),e);return i(e)||(o+=".ejs"),o},t.compile=function(e,t){return t&&t.scope&&(o||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),o=!0),t.context||(t.context=t.scope),delete t.scope),new b(e,t).compile()},t.render=function(e,t,n){var a=t||{},r=n||{};return 2==arguments.length&&i.shallowCopyFromList(r,a,l),d(r,e)(a)},t.renderFile=function(){var e,t,n,a=Array.prototype.slice.call(arguments),r=a.shift(),o={filename:r};return"function"==typeof arguments[arguments.length-1]&&(e=a.pop()),a.length?(t=a.shift(),a.length?i.shallowCopy(o,a.pop()):(t.settings&&(t.settings.views&&(o.views=t.settings.views),t.settings["view cache"]&&(o.cache=!0),(n=t.settings["view options"])&&i.shallowCopy(o,n)),i.shallowCopyFromList(o,t,u)),o.filename=r):t={},h(o,t,e)},t.Template=b,t.clearCache=function(){t.cache.reset()},b.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},b.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=i.escapeRegExpChars(this.opts.delimiter),n=i.escapeRegExpChars(this.opts.openDelimiter),a=i.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(/</g,n).replace(/>/g,a),new RegExp(e)},compile:function(){var e,t,n,a=this.opts,o="",s="",c=a.escapeFunction,l=a.filename?JSON.stringify(a.filename):"undefined";if(!this.source){if(this.generateSource(),o+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',a.outputFunctionName&&(o+=" var "+a.outputFunctionName+" = __append;\n"),a.destructuredLocals&&a.destructuredLocals.length){for(var u=" var __locals = ("+a.localsName+" || {}),\n",p=0;p<a.destructuredLocals.length;p++){var f=a.destructuredLocals[p];p>0&&(u+=",\n "),u+=f+" = __locals."+f}o+=u+";\n"}!1!==a._with&&(o+=" with ("+a.localsName+" || {}) {\n",s+=" }\n"),s+=" return __output;\n",this.source=o+this.source+s}e=a.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+l+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,a.client&&(e="escapeFn = escapeFn || "+c.toString()+";\n"+e,a.compileDebug&&(e="rethrow = rethrow || "+y.toString()+";\n"+e)),a.strict&&(e='"use strict";\n'+e),a.debug&&console.log(e),a.compileDebug&&a.filename&&(e=e+"\n//# sourceURL="+l+"\n");try{if(a.async)try{n=new Function("return (async function(){}).constructor;")()}catch(e){throw e instanceof SyntaxError?new Error("This environment does not support async/await"):e}else n=Function;t=new n(a.localsName+", escapeFn, include, rethrow",e)}catch(e){throw e instanceof SyntaxError&&(a.filename&&(e.message+=" in "+a.filename),e.message+=" while compiling ejs\n\n",e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",e.message+="https://github.com/RyanZim/EJS-Lint",a.async||(e.message+="\n",e.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),e}var d=a.client?t:function(e){return t.apply(a.context,[e||{},c,function(t,n){var r=i.shallowCopy({},e);return n&&(r=i.shallowCopy(r,n)),m(t,a)(r)},y])};if(a.filename&&"function"==typeof Object.defineProperty){var h=a.filename,g=r.basename(h,r.extname(h));try{Object.defineProperty(d,"name",{value:g,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}return d},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),n=this.opts.delimiter,a=this.opts.openDelimiter,r=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(i,o){var s;if(0===i.indexOf(a+n)&&0!==i.indexOf(a+n+n)&&(s=t[o+2])!=n+r&&s!="-"+n+r&&s!="_"+n+r)throw new Error('Could not find matching close tag for "'+i+'".');e.scanLine(i)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,a=n.exec(t),r=[];a;)0!==(e=a.index)&&(r.push(t.substring(0,e)),t=t.slice(e)),r.push(a[0]),t=t.slice(a[0].length),a=n.exec(t);return t&&r.push(t),r},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,a=this.opts.openDelimiter,r=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case a+n:case a+n+"_":this.mode=b.modes.EVAL;break;case a+n+"=":this.mode=b.modes.ESCAPED;break;case a+n+"-":this.mode=b.modes.RAW;break;case a+n+"#":this.mode=b.modes.COMMENT;break;case a+n+n:this.mode=b.modes.LITERAL,this.source+=' ; __append("'+e.replace(a+n+n,a+n)+'")\n';break;case n+n+r:this.mode=b.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+r,n+r)+'")\n';break;case n+r:case"-"+n+r:case"_"+n+r:this.mode==b.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case b.modes.EVAL:case b.modes.ESCAPED:case b.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case b.modes.EVAL:this.source+=" ; "+e+"\n";break;case b.modes.ESCAPED:this.source+=" ; __append(escapeFn("+v(e)+"))\n";break;case b.modes.RAW:this.source+=" ; __append("+v(e)+")\n";break;case b.modes.COMMENT:break;case b.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},t.escapeXML=i.escapeXML,t.__express=t.renderFile,t.VERSION=s,t.name="ejs","undefined"!=typeof window&&(window.ejs=t)},2781:(e,t)=>{"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.escapeRegExpChars=function(e){return e?String(e).replace(n,"\\$&"):""};var a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},r=/[&<>'"]/g;function i(e){return a[e]||e}t.escapeXML=function(e){return null==e?"":String(e).replace(r,i)},t.escapeXML.toString=function(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&amp;"\n , "<": "&lt;"\n , ">": "&gt;"\n , \'"\': "&#34;"\n , "\'": "&#39;"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'},t.shallowCopy=function(e,t){for(var n in t=t||{})e[n]=t[n];return e},t.shallowCopyFromList=function(e,t,n){for(var a=0;a<n.length;a++){var r=n[a];void 0!==t[r]&&(e[r]=t[r])}return e},t.cache={_data:{},set:function(e,t){this._data[e]=t},get:function(e){return this._data[e]},remove:function(e){delete this._data[e]},reset:function(){this._data={}}},t.hyphenToCamel=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))}},8926:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var a,r,i;if(Array.isArray(t)){if((a=t.length)!=n.length)return!1;for(r=a;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((a=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=a;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,i[r]))return!1;for(r=a;0!=r--;){var o=i[r];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},272:(e,t,n)=>{"use strict";const a=n(6464),r=n(5790),i=n(6004),o=n(1927),s=(e,t={})=>{let n=[];if(Array.isArray(e))for(let a of e){let e=s.create(a,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(s.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};s.parse=(e,t={})=>o(e,t),s.stringify=(e,t={})=>a("string"==typeof e?s.parse(e,t):e,t),s.compile=(e,t={})=>("string"==typeof e&&(e=s.parse(e,t)),r(e,t)),s.expand=(e,t={})=>{"string"==typeof e&&(e=s.parse(e,t));let n=i(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},s.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?s.compile(e,t):s.expand(e,t),e.exports=s},5790:(e,t,n)=>{"use strict";const a=n(2564),r=n(3951);e.exports=(e,t={})=>{let n=(e,i={})=>{let o=r.isInvalidBrace(i),s=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===s,l=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=r.reduce(e.nodes),i=a(...n,{...t,wrap:!1,toRegex:!0});if(0!==i.length)return n.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(let t of e.nodes)u+=n(t,e);return u};return n(e)}},1331:e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},6004:(e,t,n)=>{"use strict";const a=n(2564),r=n(6464),i=n(3951),o=(e="",t="",n=!1)=>{let a=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?i.flatten(t).map((e=>`{${e}}`)):t;for(let r of e)if(Array.isArray(r))for(let e of r)a.push(o(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),a.push(Array.isArray(e)?o(r,e,n):r+e);return i.flatten(a)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,s=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar)return void u.push(o(u.pop(),r(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(o(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let s=i.reduce(e.nodes);if(i.exceedsLimit(...s,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=a(...s,t);return 0===c.length&&(c=r(e,t)),u.push(o(u.pop(),c)),void(e.nodes=[])}let p=i.encloseBrace(e),f=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,f=d.queue;for(let t=0;t<e.nodes.length;t++){let n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?f.push(o(f.pop(),n.value)):n.nodes&&s(n,e):u.push(o(u.pop(),f,p)):(1===t&&f.push(""),f.push(""))}return f};return i.flatten(s(e))}},1927:(e,t,n)=>{"use strict";const a=n(6464),{MAX_LENGTH:r,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:s,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:f,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:v}=n(1331);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},b="number"==typeof n.maxLength?Math.min(r,n.maxLength):r;if(e.length>b)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${b})`);let P,S={type:"root",input:e,nodes:[]},T=[S],O=S,E=S,_=0,C=e.length,A=0,I=0;const R=()=>e[A++],F=e=>{if("text"===e.type&&"dot"===E.type&&(E.type="text"),!E||"text"!==E.type||"text"!==e.type)return O.nodes.push(e),e.parent=O,e.prev=E,E=e,e;E.value+=e.value};for(F({type:"bos"});A<C;)if(O=T[T.length-1],P=R(),P!==v&&P!==y)if(P!==i)if(P!==h)if(P!==d)if(P!==l)if(P!==u)if(P!==g&&P!==m&&P!==o)if(P!==p)if(P!==f)if(P===s&&I>0){if(O.ranges>0){O.ranges=0;let e=O.nodes.shift();O.nodes=[e,{type:"text",value:a(O)}]}F({type:"comma",value:P}),O.commas++}else if(P===c&&I>0&&0===O.commas){let e=O.nodes;if(0===I||0===e.length){F({type:"text",value:P});continue}if("dot"===E.type){if(O.range=[],E.value+=P,E.type="range",3!==O.nodes.length&&5!==O.nodes.length){O.invalid=!0,O.ranges=0,E.type="text";continue}O.ranges++,O.args=[];continue}if("range"===E.type){e.pop();let t=e[e.length-1];t.value+=E.value+P,E=t,O.ranges--;continue}F({type:"dot",value:P})}else F({type:"text",value:P});else{if("brace"!==O.type){F({type:"text",value:P});continue}let e="close";O=T.pop(),O.close=!0,F({type:e,value:P}),I--,O=T[T.length-1]}else{I++;let e=E.value&&"$"===E.value.slice(-1)||!0===O.dollar;O=F({type:"brace",open:!0,close:!1,dollar:e,depth:I,commas:0,ranges:0,nodes:[]}),T.push(O),F({type:"open",value:P})}else{let e,n=P;for(!0!==t.keepQuotes&&(P="");A<C&&(e=R());)if(e!==i){if(e===n){!0===t.keepQuotes&&(P+=e);break}P+=e}else P+=e+R();F({type:"text",value:P})}else{if("paren"!==O.type){F({type:"text",value:P});continue}O=T.pop(),F({type:"text",value:P}),O=T[T.length-1]}else O=F({type:"paren",nodes:[]}),T.push(O),F({type:"text",value:P});else{_++;let e;for(;A<C&&(e=R());)if(P+=e,e!==d)if(e!==i){if(e===h&&(_--,0===_))break}else P+=R();else _++;F({type:"text",value:P})}else F({type:"text",value:"\\"+P});else F({type:"text",value:(t.keepEscaping?P:"")+R()});do{if(O=T.pop(),"root"!==O.type){O.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=T[T.length-1],t=e.nodes.indexOf(O);e.nodes.splice(t,1,...O.nodes)}}while(T.length>0);return F({type:"eos"}),S}},6464:(e,t,n)=>{"use strict";const a=n(3951);e.exports=(e,t={})=>{let n=(e,r={})=>{let i=t.escapeInvalid&&a.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,s="";if(e.value)return(i||o)&&a.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)s+=n(t);return s};return n(e)}},3951:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,n,a=1,r)=>!1!==r&&(!(!t.isInteger(e)||!t.isInteger(n))&&(Number(n)-Number(e))/Number(a)>=r),t.escapeNode=(e,t=0,n)=>{let a=e.nodes[t];a&&(n&&a.type===n||"open"===a.type||"close"===a.type)&&!0!==a.escaped&&(a.value="\\"+a.value,a.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],n=e=>{for(let a=0;a<e.length;a++){let r=e[a];Array.isArray(r)?n(r,t):void 0!==r&&t.push(r)}return t};return n(e),t}},2564:(e,t,n)=>{"use strict";const a=n(1669),r=n(3267),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,s=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},u=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},p=(e,t,n,a)=>{if(n)return r(e,t,{wrap:!1,...a});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},f=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,a=n.capture?"":"?:";return t?`(${a}${e.join("|")})`:e.join("|")}return r(e,t,n)},d=(...e)=>new RangeError("Invalid range arguments: "+a.inspect(...e)),h=(e,t,n)=>{if(!0===n.strictRanges)throw d([e,t]);return[]},g=(e,t,n=1,a={})=>{let r=Number(e),i=Number(t);if(!Number.isInteger(r)||!Number.isInteger(i)){if(!0===a.strictRanges)throw d([e,t]);return[]}0===r&&(r=0),0===i&&(i=0);let o=r>i,s=String(e),h=String(t),g=String(n);n=Math.max(Math.abs(n),1);let m=c(s)||c(h)||c(g),y=m?Math.max(s.length,h.length,g.length):0,v=!1===m&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,a),b=a.transform||(e=>t=>!0===e?Number(t):String(t))(v);if(a.toRegex&&1===n)return p(u(e,y),u(t,y),!0,a);let P={negatives:[],positives:[]},S=[],T=0;for(;o?r>=i:r<=i;)!0===a.toRegex&&n>1?P[(O=r)<0?"negatives":"positives"].push(Math.abs(O)):S.push(l(b(r,T),y,v)),r=o?r-n:r+n,T++;var O;return!0===a.toRegex?n>1?((e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let n,a=t.capture?"":"?:",r="",i="";return e.positives.length&&(r=e.positives.join("|")),e.negatives.length&&(i=`-(${a}${e.negatives.join("|")})`),n=r&&i?`${r}|${i}`:r||i,t.wrap?`(${a}${n})`:n})(P,a):f(S,null,{wrap:!1,...a}):S},m=(e,t,n,a={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return h(e,t,a);if("function"==typeof n)return m(e,t,1,{transform:n});if(i(n))return m(e,t,0,n);let r={...a};return!0===r.capture&&(r.wrap=!0),n=n||r.step||1,s(n)?s(e)&&s(t)?g(e,t,n,r):((e,t,n=1,a={})=>{if(!s(e)&&e.length>1||!s(t)&&t.length>1)return h(e,t,a);let r=a.transform||(e=>String.fromCharCode(e)),i=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=i>o,l=Math.min(i,o),u=Math.max(i,o);if(a.toRegex&&1===n)return p(l,u,!1,a);let d=[],g=0;for(;c?i>=o:i<=o;)d.push(r(i,g)),i=c?i-n:i+n,g++;return!0===a.toRegex?f(d,null,{wrap:!1,options:a}):d})(e,t,Math.max(Math.abs(n),1),r):null==n||i(n)?m(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,r)};e.exports=m},5407:e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},8575:(e,t,n)=>{"use strict";const a=n(1669),r=n(272),i=n(4973),o=n(557),s=e=>"string"==typeof e&&(""===e||"./"===e),c=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let a=new Set,r=new Set,o=new Set,s=0,c=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o<t.length;o++){let l=i(String(t[o]),{...n,onResult:c},!0),u=l.state.negated||l.state.negatedExtglob;u&&s++;for(let t of e){let e=l(t,!0);(u?!e.isMatch:e.isMatch)&&(u?a.add(e.output):(a.delete(e.output),r.add(e.output)))}}let l=(s===t.length?[...o]:[...r]).filter((e=>!a.has(e)));if(n&&0===l.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return l};c.match=c,c.matcher=(e,t)=>i(e,t),c.any=c.isMatch=(e,t,n)=>i(t,n)(e),c.not=(e,t,n={})=>{t=[].concat(t).map(String);let a=new Set,r=[],i=c(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),r.push(e.output)}});for(let e of r)i.includes(e)||a.add(e);return[...a]},c.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${a.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>c.contains(e,t,n)));if("string"==typeof t){if(s(e)||s(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return c.isMatch(e,t,{...n,contains:!0})},c.matchKeys=(e,t,n)=>{if(!o.isObject(e))throw new TypeError("Expected the first argument to be an object");let a=c(Object.keys(e),t,n),r={};for(let t of a)r[t]=e[t];return r},c.some=(e,t,n)=>{let a=[].concat(e);for(let e of[].concat(t)){let t=i(String(e),n);if(a.some((e=>t(e))))return!0}return!1},c.every=(e,t,n)=>{let a=[].concat(e);for(let e of[].concat(t)){let t=i(String(e),n);if(!a.every((e=>t(e))))return!1}return!0},c.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${a.inspect(e)}"`);return[].concat(t).every((t=>i(t,n)(e)))},c.capture=(e,t,n)=>{let a=o.isWindows(n),r=i.makeRe(String(e),{...n,capture:!0}).exec(a?o.toPosixSlashes(t):t);if(r)return r.slice(1).map((e=>void 0===e?"":e))},c.makeRe=(...e)=>i.makeRe(...e),c.scan=(...e)=>i.scan(...e),c.parse=(e,t)=>{let n=[];for(let a of[].concat(e||[]))for(let e of r(String(a),t))n.push(i.parse(e,t));return n},c.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:r(e,t)},c.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return c.braces(e,{...t,expand:!0})},e.exports=c},3267:(e,t,n)=>{"use strict";const a=n(5407),r=(e,t,n)=>{if(!1===a(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===a(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(r.cache.hasOwnProperty(c))return r.cache[c].result;let l=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(l-u)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let p=h(e)||h(t),f={min:e,max:t,a:l,b:u},d=[],g=[];if(p&&(f.isPadded=p,f.maxLen=String(f.max).length),l<0){g=o(u<0?Math.abs(u):1,Math.abs(l),f,i),l=f.a=0}return u>=0&&(d=o(l,u,f,i)),f.negatives=g,f.positives=d,f.result=function(e,t,n){let a=s(e,t,"-",!1,n)||[],r=s(t,e,"",!1,n)||[],i=s(e,t,"-?",!0,n)||[];return a.concat(i).concat(r).join("|")}(g,d,i),!0===i.capture?f.result=`(${f.result})`:!1!==i.wrap&&d.length+g.length>1&&(f.result=`(?:${f.result})`),r.cache[c]=f,f.result};function i(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let a=function(e,t){let n=[];for(let a=0;a<e.length;a++)n.push([e[a],t[a]]);return n}(e,t),r=a.length,i="",o=0;for(let e=0;e<r;e++){let[t,r]=a[e];t===r?i+=t:"0"!==t||"9"!==r?i+=d(t,r,n):o++}return o&&(i+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:i,count:[o],digits:r}}function o(e,t,n,a){let r,o=function(e,t){let n=1,a=1,r=u(e,n),i=new Set([t]);for(;e<=r&&r<=t;)i.add(r),n+=1,r=u(e,n);for(r=p(t+1,a)-1;e<r&&r<=t;)i.add(r),a+=1,r=p(t+1,a)-1;return i=[...i],i.sort(c),i}(e,t),s=[],l=e;for(let e=0;e<o.length;e++){let t=o[e],c=i(String(l),String(t),a),u="";n.isPadded||!r||r.pattern!==c.pattern?(n.isPadded&&(u=g(t,n,a)),c.string=u+c.pattern+f(c.count),s.push(c),l=t+1,r=c):(r.count.length>1&&r.count.pop(),r.count.push(c.count[0]),r.string=r.pattern+f(r.count),l=t+1)}return s}function s(e,t,n,a,r){let i=[];for(let r of e){let{string:e}=r;a||l(t,"string",e)||i.push(n+e),a&&l(t,"string",e)&&i.push(n+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,n){return e.some((e=>e[t]===n))}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function p(e,t){return e-e%Math.pow(10,t)}function f(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function d(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function h(e){return/^-?(0+)\d/.test(e)}function g(e,t,n){if(!t.isPadded)return e;let a=Math.abs(t.maxLen-String(e).length),r=!1!==n.relaxZeros;switch(a){case 0:return"";case 1:return r?"0?":"0";case 2:return r?"0{0,2}":"00";default:return r?`0{0,${a}}`:`0{${a}}`}}r.cache={},r.clearCache=()=>r.cache={},e.exports=r},9689:(e,t,n)=>{"use strict";const a=n(6197),r=n(7637),i=n(8394),o=n(4790),s=n(9516),c=n(3065);async function l(e,t){p(e);const n=u(e,r.default,t),a=await Promise.all(n);return c.array.flatten(a)}function u(e,t,n){const r=[].concat(e),i=new s.default(n),o=a.generate(r,i),c=new t(i);return o.map(c.read,c)}function p(e){if(![].concat(e).every((e=>c.string.isString(e)&&!c.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){p(e);const n=u(e,o.default,t);return c.array.flatten(n)},e.stream=function(e,t){p(e);const n=u(e,i.default,t);return c.stream.merge(n)},e.generateTasks=function(e,t){p(e);const n=[].concat(e),r=new s.default(t);return a.generate(n,r)},e.isDynamicPattern=function(e,t){p(e);const n=new s.default(t);return c.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return p(e),c.path.escape(e)}}(l||(l={})),e.exports=l},6197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const a=n(3065);function r(e,t,n){const a=s(e);if("."in a){return[l(".",e,t,n)]}return c(a,t,n)}function i(e){return a.pattern.getPositivePatterns(e)}function o(e,t){return a.pattern.getNegativePatterns(e).concat(t).map(a.pattern.convertToPositivePattern)}function s(e){return e.reduce(((e,t)=>{const n=a.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function c(e,t,n){return Object.keys(e).map((a=>l(a,e[a],t,n)))}function l(e,t,n,r){return{dynamic:r,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(a.pattern.convertToNegativePattern))}}t.generate=function(e,t){const n=i(e),s=o(e,t.ignore),c=n.filter((e=>a.pattern.isStaticPattern(e,t))),l=n.filter((e=>a.pattern.isDynamicPattern(e,t))),u=r(c,s,!1),p=r(l,s,!0);return u.concat(p)},t.convertPatternsToTasks=r,t.getPositivePatterns=i,t.getNegativePatternsAsPositive=o,t.groupPatternsByBaseDirectory=s,t.convertPatternGroupsToTasks=c,t.convertPatternGroupToTask=l},7637:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(951),r=n(1646);class ProviderAsync extends r.default{constructor(){super(...arguments),this._reader=new a.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),a=[];return new Promise(((r,i)=>{const o=this.api(t,e,n);o.once("error",i),o.on("data",(e=>a.push(n.transform(e)))),o.once("end",(()=>r(a)))}))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=ProviderAsync},8042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065),r=n(5433);t.default=class DeepFilter{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const a=this._getMatcher(t),r=this._getNegativePatternsRe(n);return t=>this._filter(e,t,a,r)}_getMatcher(e){return new r.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(a.pattern.isAffectDepthOfReadingPattern);return a.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,r){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const i=a.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(i,n)&&this._isSkippedByNegativePatterns(i,r)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;if(""===e)return n;return n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!a.pattern.matchAny(e,t)}}},4273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class EntryFilter{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=a.pattern.convertPatternsToRe(e,this._micromatchOptions),r=a.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,n,r)}_filter(e,t,n){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;const a=this._settings.baseNameMatch?e.name:e.path,r=this._isMatchToPatterns(a,t)&&!this._isMatchToPatterns(e.path,n);return this._settings.unique&&r&&this._createIndexRecord(e),r}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=a.path.makeAbsolute(this._settings.cwd,e);return a.pattern.matchAny(n,t)}_isMatchToPatterns(e,t){const n=a.path.removeLeadingDotSegment(e);return a.pattern.matchAny(n,t)}}},8936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class ErrorFilter{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return a.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},4691:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class Matcher{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const e=a.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(e);this._storage.push({complete:n.length<=1,pattern:t,segments:e,sections:n})}}_getPatternSegments(e){return a.pattern.getPatternParts(e,this._micromatchOptions).map((e=>a.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:a.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return a.array.splitWhen(e,(e=>e.dynamic&&a.pattern.hasGlobStar(e.pattern)))}}},5433:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(4691);class PartialMatcher extends a.default{match(e){const t=e.split("/"),n=t.length,a=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of a){const a=e.sections[0];if(!e.complete&&n>a.length)return!0;if(t.every(((t,n)=>{const a=e.segments[n];return!(!a.dynamic||!a.patternRe.test(t))||!a.dynamic&&a.pattern===t})))return!0}return!1}}t.default=PartialMatcher},1646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(8042),i=n(4273),o=n(8936),s=n(9415);t.default=class Provider{constructor(e){this._settings=e,this.errorFilter=new o.default(this._settings),this.entryFilter=new i.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new r.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new s.default(this._settings)}_getRootDirectory(e){return a.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},8394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2413),r=n(951),i=n(1646);class ProviderStream extends i.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=this.api(t,e,n),i=new a.Readable({objectMode:!0,read:()=>{}});return r.once("error",(e=>i.emit("error",e))).on("data",(e=>i.emit("data",n.transform(e)))).once("end",(()=>i.emit("end"))),i.once("close",(()=>r.destroy())),i}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=ProviderStream},4790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2360),r=n(1646);class ProviderSync extends r.default{constructor(){super(...arguments),this._reader=new a.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=ProviderSync},9415:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class EntryTransformer{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=a.path.makeAbsolute(this._settings.cwd,t),t=a.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},2457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(1992),i=n(3065);t.default=class Reader{constructor(e){this._settings=e,this._fsStatSettings=new r.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return a.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:i.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!i.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2413),r=n(1992),i=n(4833),o=n(2457);class ReaderStream extends o.default{constructor(){super(...arguments),this._walkStream=i.walkStream,this._stat=r.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),r=new a.PassThrough({objectMode:!0});r._write=(a,i,o)=>this._getEntry(n[a],e[a],t).then((e=>{null!==e&&t.entryFilter(e)&&r.push(e),a===n.length-1&&r.end(),o()})).catch(o);for(let e=0;e<n.length;e++)r.write(e);return r}_getEntry(e,t,n){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,a)=>null===e?t(a):n(e)))}))}}t.default=ReaderStream},2360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(1992),r=n(4833),i=n(2457);class ReaderSync extends i.default{constructor(){super(...arguments),this._walkSync=r.walkSync,this._statSync=a.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const a of e){const e=this._getFullEntryPath(a),r=this._getEntry(e,a,t);null!==r&&t.entryFilter(r)&&n.push(r)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=ReaderSync},9516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const a=n(5747),r=n(2087),i=Math.max(r.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:a.lstat,lstatSync:a.lstatSync,stat:a.stat,statSync:a.statSync,readdir:a.readdir,readdirSync:a.readdirSync};t.default=class Settings{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},8213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},t.splitWhen=function(e,t){const n=[[]];let a=0;for(const r of e)t(r)?(a++,n[a]=[]):n[a].push(r);return n}},8925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},6800:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new DirentFromStats(e,t)}},3065:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const a=n(8213);t.array=a;const r=n(8925);t.errno=r;const i=n(6800);t.fs=i;const o=n(3224);t.path=o;const s=n(9496);t.pattern=s;const c=n(3749);t.stream=c;const l=n(7878);t.string=l},3224:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const a=n(5622),r=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return a.resolve(e,t)},t.escape=function(e){return e.replace(r,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e}},9496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const a=n(5622),r=n(8637),i=n(8575),o=n(4973),s=/[*?]|^!/,c=/\[.*]/,l=/(?:^|[^!*+?@])\(.*\|.*\)/,u=/[!*+?@]\(.*\)/,p=/{.*(?:,|\.\.).*}/;function f(e,t={}){return!d(e,t)}function d(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes("\\"))||(!!(s.test(e)||c.test(e)||l.test(e))||(!(!1===t.extglob||!u.test(e))||!(!1===t.braceExpansion||!p.test(e)))))}function h(e){return e.startsWith("!")&&"("!==e[1]}function g(e){return!h(e)}function m(e){return e.endsWith("/**")}function y(e){return i.braces(e,{expand:!0,nodupes:!0})}function v(e,t){return i.makeRe(e,t)}t.isStaticPattern=f,t.isDynamicPattern=d,t.convertToPositivePattern=function(e){return h(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=h,t.isPositivePattern=g,t.getNegativePatterns=function(e){return e.filter(h)},t.getPositivePatterns=function(e){return e.filter(g)},t.getBaseDirectory=function(e){return r(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=m,t.isAffectDepthOfReadingPattern=function(e){const t=a.basename(e);return m(e)||f(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(y(t))),[])},t.expandBraceExpansion=y,t.getPatternParts=function(e,t){let{parts:n}=o.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},t.makeRe=v,t.convertPatternsToRe=function(e,t){return e.map((e=>v(e,t)))},t.matchAny=function(e,t){return t.some((t=>t.test(e)))}},3749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const a=n(1993);function r(e){e.forEach((e=>e.emit("close")))}t.merge=function(e){const t=a(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>r(e))),t.once("end",(()=>r(e))),t}},7878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},9003:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,a="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(n=t.cmp,function(e){return function(t,a){var r={key:t,value:e[t]},i={key:a,value:e[a]};return n(r,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n<t.length;n++)n&&(o+=","),o+=e(t[n])||"null";return o+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(a)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(t)-1,c=Object.keys(t).sort(r&&r(t));for(o="",n=0;n<c.length;n++){var l=c[n],u=e(t[l]);u&&(o&&(o+=","),o+=JSON.stringify(l)+":"+u)}return i.splice(s,1),"{"+o+"}"}}(e)}},1582:(e,t,n)=>{"use strict";var a=n(7174);function r(){}function i(){this.value=null,this.callback=r,this.next=null,this.release=r,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var a=e.callback,i=e.errorHandler,o=e.value;e.value=null,e.callback=r,e.errorHandler&&i(t,o),a.call(e.context,t,n),e.release(e)}}e.exports=function(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),n<1)throw new Error("fastqueue concurrency must be greater than 1");var o=a(i),s=null,c=null,l=0,u=null,p={push:function(n,a){var i=o.get();i.context=e,i.release=f,i.value=n,i.callback=a||r,i.errorHandler=u,l===p.concurrency||p.paused?c?(c.next=i,c=i):(s=i,c=i,p.saturated()):(l++,t.call(e,i.value,i.worked))},drain:r,saturated:r,pause:function(){p.paused=!0},paused:!1,concurrency:n,running:function(){return l},resume:function(){if(!p.paused)return;p.paused=!1;for(var e=0;e<p.concurrency;e++)l++,f()},idle:function(){return 0===l&&0===p.length()},length:function(){var e=s,t=0;for(;e;)e=e.next,t++;return t},getQueue:function(){var e=s,t=[];for(;e;)t.push(e.value),e=e.next;return t},unshift:function(n,a){var i=o.get();i.context=e,i.release=f,i.value=n,i.callback=a||r,l===p.concurrency||p.paused?s?(i.next=s,s=i):(s=i,c=i,p.saturated()):(l++,t.call(e,i.value,i.worked))},empty:r,kill:function(){s=null,c=null,p.drain=r},killAndDrain:function(){s=null,c=null,p.drain(),p.drain=r},error:function(e){u=e}};return p;function f(n){n&&o.release(n);var a=s;a?p.paused?l--:(c===s&&(c=null),s=a.next,a.next=null,t.call(e,a.value,a.worked),null===c&&p.empty()):0==--l&&p.drain()}}},2937:(e,t,n)=>{"use strict";var a=n(1669),r=n(8295).Duplex;function i(e,t){var n,a,o=this,s={sent:!1,chunks:[],size:0};if(!(this instanceof i))return new i(e,t);if(e=e||{},!(t instanceof Function))throw new Error("FirstChunkStream constructor requires a callback as its second argument.");if("number"!=typeof e.chunkLength)throw new Error("FirstChunkStream constructor requires `options.chunkLength` to be a number.");if(e.objectMode)throw new Error("FirstChunkStream doesn't support `objectMode` yet.");function c(e,n,a,r){e?setImmediate((function(){o.removeListener("error",s.errorHandler)})):o.removeListener("error",s.errorHandler),s.sent=!0,t(e,n,a,(function(e,t,n){e?setImmediate((function(){o.emit("error",e)})):t?s.manager.programPush(t,n,r):r()}))}r.call(this,e),s.manager=(a={waitPush:!0,programmedPushs:[],programPush:function(e,t,r){r=r||function(){},a.programmedPushs.push([e,t,r]),setImmediate(a.attemptPush),n.emit("readable"),n.emit("drain")},attemptPush:function(){var e;a.waitPush?a.programmedPushs.length&&(e=a.programmedPushs.shift(),a.waitPush=n.push(e[0],e[1]),e[2]()):setImmediate((function(){n.emit("readable")}))}},(n=this)._read=function(){a.waitPush=!0,setImmediate(a.attemptPush)},a),s.errorHandler=function(e){c(e,Buffer.concat(s.chunks,s.size),s.encoding,(function(){}))},this.on("error",s.errorHandler),this._write=function(t,n,a){s.encoding=n,s.sent?s.manager.programPush(t,s.encoding,a):t.length<e.chunkLength-s.size?(s.chunks.push(t),s.size+=t.length,a()):(s.chunks.push(t.slice(0,e.chunkLength-s.size)),t=t.slice(e.chunkLength-s.size),s.size+=s.chunks[s.chunks.length-1].length,c(null,Buffer.concat(s.chunks,s.size),s.encoding,(function(){t.length?s.manager.programPush(t,s.encoding,a):a()})))},this.on("finish",(function(){if(!s.sent)return c(null,Buffer.concat(s.chunks,s.size),s.encoding,(function(){s.manager.programPush(null,s.encoding)}));s.manager.programPush(null,s.encoding)}))}a.inherits(i,r),e.exports=i},8637:(e,t,n)=>{"use strict";var a=n(3490),r=n(5622).posix.dirname,i="win32"===n(2087).platform(),o=/\\/g,s=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&i&&e.indexOf("/")<0&&(e=e.replace(o,"/")),s.test(e)&&(e+="/"),e+="a";do{e=r(e)}while(a(e)||c.test(e));return e.replace(l,"$1")}},346:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:e.__proto__};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}},2159:(e,t,n)=>{var a,r,i=n(5747),o=n(3489),s=n(4385),c=n(346),l=n(1669);function u(e,t){Object.defineProperty(e,a,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(a=Symbol.for("graceful-fs.queue"),r=Symbol.for("graceful-fs.previous")):(a="___graceful-fs.queue",r="___graceful-fs.previous");var p=function(){};if(l.debuglog?p=l.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(p=function(){var e=l.format.apply(l,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!i[a]){var f=global[a]||[];u(i,f),i.close=function(e){function t(t,n){return e.call(i,t,(function(e){e||g(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,r,{value:e}),t}(i.close),i.closeSync=function(e){function t(t){e.apply(i,arguments),g()}return Object.defineProperty(t,r,{value:e}),t}(i.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){p(i[a]),n(2357).equal(i[a].length,0)}))}function d(e){o(e),e.gracefulify=d,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,a){"function"==typeof n&&(a=n,n=null);return function e(n,a,r){return t(n,a,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof r&&r.apply(this,arguments),g()):h([e,[n,a,r]])}))}(e,n,a)};var n=e.writeFile;e.writeFile=function(e,t,a,r){"function"==typeof a&&(r=a,a=null);return function e(t,a,r,i){return n(t,a,r,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof i&&i.apply(this,arguments),g()):h([e,[t,a,r,i]])}))}(e,t,a,r)};var a=e.appendFile;a&&(e.appendFile=function(e,t,n,r){"function"==typeof n&&(r=n,n=null);return function e(t,n,r,i){return a(t,n,r,(function(a){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?("function"==typeof i&&i.apply(this,arguments),g()):h([e,[t,n,r,i]])}))}(e,t,n,r)});var r=e.readdir;function i(t){return r.apply(e,t)}if(e.readdir=function(e,t,n){var a=[e];"function"!=typeof t?a.push(t):n=t;return a.push((function(e,t){t&&t.sort&&t.sort();!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof n&&n.apply(this,arguments),g()):h([i,[a]])})),i(a)},"v0.8"===process.version.substr(0,4)){var c=s(e);m=c.ReadStream,y=c.WriteStream}var l=e.ReadStream;l&&(m.prototype=Object.create(l.prototype),m.prototype.open=function(){var e=this;b(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var u=e.WriteStream;u&&(y.prototype=Object.create(u.prototype),y.prototype.open=function(){var e=this;b(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return m},set:function(e){m=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return y},set:function(e){y=e},enumerable:!0,configurable:!0});var p=m;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:!0,configurable:!0});var f=y;function m(e,t){return this instanceof m?(l.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}function y(e,t){return this instanceof y?(u.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var v=e.open;function b(e,t,n,a){return"function"==typeof n&&(a=n,n=null),function e(t,n,a,r){return v(t,n,a,(function(i,o){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?("function"==typeof r&&r.apply(this,arguments),g()):h([e,[t,n,a,r]])}))}(e,t,n,a)}return e.open=b,e}function h(e){p("ENQUEUE",e[0].name,e[1]),i[a].push(e)}function g(){var e=i[a].shift();e&&(p("RETRY",e[0].name,e[1]),e[0].apply(null,e[1]))}global[a]||u(global,i[a]),e.exports=d(c(i)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!i.__patched&&(e.exports=d(i),i.__patched=!0)},4385:(e,t,n)=>{var a=n(2413).Stream;e.exports=function(e){return{ReadStream:function t(n,r){if(!(this instanceof t))return new t(n,r);a.call(this);var i=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,r=r||{};for(var o=Object.keys(r),s=0,c=o.length;s<c;s++){var l=o[s];this[l]=r[l]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){i._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return i.emit("error",e),void(i.readable=!1);i.fd=t,i.emit("open",t),i._read()}))},WriteStream:function t(n,r){if(!(this instanceof t))return new t(n,r);a.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,r=r||{};for(var i=Object.keys(r),o=0,s=i.length;o<s;o++){var c=i[o];this[c]=r[c]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},3489:(e,t,n)=>{var a=n(7619),r=process.cwd,i=null,o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=r.call(process)),i};try{process.cwd()}catch(e){}var s=process.chdir;process.chdir=function(e){i=null,s.call(process,e)},e.exports=function(e){a.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,r){e.open(t,a.O_WRONLY|a.O_SYMLINK,n,(function(t,a){t?r&&r(t):e.fchmod(a,n,(function(t){e.close(a,(function(e){r&&r(t||e)}))}))}))},e.lchmodSync=function(t,n){var r,i=e.openSync(t,a.O_WRONLY|a.O_SYMLINK,n),o=!0;try{r=e.fchmodSync(i,n),o=!1}finally{if(o)try{e.closeSync(i)}catch(e){}else e.closeSync(i)}return r}}(e);e.lutimes||function(e){a.hasOwnProperty("O_SYMLINK")?(e.lutimes=function(t,n,r,i){e.open(t,a.O_SYMLINK,(function(t,a){t?i&&i(t):e.futimes(a,n,r,(function(t){e.close(a,(function(e){i&&i(t||e)}))}))}))},e.lutimesSync=function(t,n,r){var i,o=e.openSync(t,a.O_SYMLINK),s=!0;try{i=e.futimesSync(o,n,r),s=!1}finally{if(s)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return i}):(e.lutimes=function(e,t,n,a){a&&process.nextTick(a)},e.lutimesSync=function(){})}(e);e.chown=i(e.chown),e.fchown=i(e.fchown),e.lchown=i(e.lchown),e.chmod=n(e.chmod),e.fchmod=n(e.fchmod),e.lchmod=n(e.lchmod),e.chownSync=s(e.chownSync),e.fchownSync=s(e.fchownSync),e.lchownSync=s(e.lchownSync),e.chmodSync=r(e.chmodSync),e.fchmodSync=r(e.fchmodSync),e.lchmodSync=r(e.lchmodSync),e.stat=c(e.stat),e.fstat=c(e.fstat),e.lstat=c(e.lstat),e.statSync=l(e.statSync),e.fstatSync=l(e.fstatSync),e.lstatSync=l(e.lstatSync),e.lchmod||(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){});e.lchown||(e.lchown=function(e,t,n,a){a&&process.nextTick(a)},e.lchownSync=function(){});"win32"===o&&(e.rename=(t=e.rename,function(n,a,r){var i=Date.now(),o=0;t(n,a,(function s(c){if(c&&("EACCES"===c.code||"EPERM"===c.code)&&Date.now()-i<6e4)return setTimeout((function(){e.stat(a,(function(e,i){e&&"ENOENT"===e.code?t(n,a,s):r(c)}))}),o),void(o<100&&(o+=10));r&&r(c)}))}));var t;function n(t){return t?function(n,a,r){return t.call(e,n,a,(function(e){u(e)&&(e=null),r&&r.apply(this,arguments)}))}:t}function r(t){return t?function(n,a){try{return t.call(e,n,a)}catch(e){if(!u(e))throw e}}:t}function i(t){return t?function(n,a,r,i){return t.call(e,n,a,r,(function(e){u(e)&&(e=null),i&&i.apply(this,arguments)}))}:t}function s(t){return t?function(n,a,r){try{return t.call(e,n,a,r)}catch(e){if(!u(e))throw e}}:t}function c(t){return t?function(n,a,r){function i(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),r&&r.apply(this,arguments)}return"function"==typeof a&&(r=a,a=null),a?t.call(e,n,a,i):t.call(e,n,i)}:t}function l(t){return t?function(n,a){var r=a?t.call(e,n,a):t.call(e,n);return r.uid<0&&(r.uid+=4294967296),r.gid<0&&(r.gid+=4294967296),r}:t}function u(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read=function(t){function n(n,a,r,i,o,s){var c;if(s&&"function"==typeof s){var l=0;c=function(u,p,f){if(u&&"EAGAIN"===u.code&&l<10)return l++,t.call(e,n,a,r,i,o,c);s.apply(this,arguments)}}return t.call(e,n,a,r,i,o,c)}return n.__proto__=t,n}(e.read),e.readSync=(p=e.readSync,function(t,n,a,r,i){for(var o=0;;)try{return p.call(e,t,n,a,r,i)}catch(e){if("EAGAIN"===e.code&&o<10){o++;continue}throw e}});var p}},9154:(e,t,n)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?l(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}n.r(t),n.d(t,{default:()=>Q});var h={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(t,n)}return c(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||h,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,a){return a&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,i({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),m=function(){function e(){o(this,e),this.observers={}}return c(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(this.observers[e]){var r=[].concat(this.observers[e]);r.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function y(){var e,t,n=new Promise((function(n,a){e=n,t=a}));return n.resolve=e,n.reject=t,n}function v(e){return null==e?"":""+e}function b(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function P(e,t,n){function a(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function r(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(r())return{};var o=a(i.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return r()?{}:{obj:e,k:a(i.shift())}}function S(e,t,n){var a=P(e,t,Object);a.obj[a.k]=n}function T(e,t){var n=P(e,t),a=n.obj,r=n.k;if(a)return a[r]}function O(e,t,n){var a=T(e,n);return void 0!==a?a:T(t,n)}function E(e,t,n){for(var a in t)"__proto__"!==a&&"constructor"!==a&&(a in e?"string"==typeof e[a]||e[a]instanceof String||"string"==typeof t[a]||t[a]instanceof String?n&&(e[a]=t[a]):E(e[a],t[a],n):e[a]=t[a]);return e}function _(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function A(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return C[e]})):e}var I="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var a=t.split(n),r=e,i=0;i<a.length;++i){if("string"==typeof r[a[i]]&&i+1<a.length)return;if(void 0===r[a[i]]){for(var o=2,s=a.slice(i,i+o).join(n),c=r[s];void 0===c&&a.length>i+o;)o++,c=r[s=a.slice(i,i+o).join(n)];if(void 0===c)return;if("string"==typeof c)return c;if(s&&"string"==typeof c[s])return c[s];var l=a.slice(i+o).join(n);return l?R(c,l,n):void 0}r=r[a[i]]}return r}}var F=function(e){function t(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,t),n=u(this,p(t).call(this)),I&&m.call(l(n)),n.data=e||{},n.options=a,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return d(t,e),c(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,i=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(o=e.split("."));var s=T(this.data,o);return s||!i||"string"!=typeof n?s:R(this.data&&this.data[e]&&this.data[e][t],n,r)}},{key:"addResource",value:function(e,t,n,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var o=[e,t];n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=t,t=(o=e.split("."))[1]),this.addNamespaces(t),S(this.data,o,a),r.silent||this.emit("added",e,t,n,a)}},{key:"addResources",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)"string"!=typeof n[r]&&"[object Array]"!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});a.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(a=n,n=t,t=(s=e.split("."))[1]),this.addNamespaces(t);var c=T(this.data,s)||{};a?E(c,n,r):c=i({},c,n),S(this.data,s,c),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?i({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(m),x={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,a,r){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,a,r))})),t}},w={},j=function(e){function t(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),n=u(this,p(t).call(this)),I&&m.call(l(n)),b(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,l(n)),n.options=a,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=g.create("translator"),n}return d(t,e),c(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:r};var o=e.split(n);(n!==a||n===a&&this.options.ns.indexOf(o[0])>-1)&&(r=o.shift()),e=o.join(a)}return"string"==typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==a(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var s=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,c=this.extractFromKey(e[e.length-1],n),l=c.key,u=c.namespaces,p=u[u.length-1],f=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var h=n.nsSeparator||this.options.nsSeparator;return p+h+l}return l}var g=this.resolve(e,n),m=g&&g.res,y=g&&g.usedKey||l,v=g&&g.exactUsedKey||l,b=Object.prototype.toString.apply(m),P=["[object Number]","[object Function]","[object RegExp]"],S=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,O="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(T&&m&&O&&P.indexOf(b)<0&&("string"!=typeof S||"[object Array]"!==b)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,m,i({},n,{ns:u})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(s){var E="[object Array]"===b,_=E?[]:{},C=E?v:y;for(var A in m)if(Object.prototype.hasOwnProperty.call(m,A)){var I="".concat(C).concat(s).concat(A);_[A]=this.translate(I,i({},n,{joinArrays:!1,ns:u})),_[A]===I&&(_[A]=m[A])}m=_}}else if(T&&"string"==typeof S&&"[object Array]"===b)(m=m.join(S))&&(m=this.extendTranslation(m,e,n,r));else{var R=!1,F=!1,x=void 0!==n.count&&"string"!=typeof n.count,w=t.hasDefaultValue(n),j=x?this.pluralResolver.getSuffix(f,n.count):"",N=n["defaultValue".concat(j)]||n.defaultValue;!this.isValidLookup(m)&&w&&(R=!0,m=N),this.isValidLookup(m)||(F=!0,m=l);var L=w&&N!==m&&this.options.updateMissing;if(F||R||L){if(this.logger.log(L?"updateKey":"missingKey",f,p,l,L?N:m),s){var D=this.resolve(l,i({},n,{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var V=[],M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&M&&M[0])for(var k=0;k<M.length;k++)V.push(M[k]);else"all"===this.options.saveMissingTo?V=this.languageUtils.toResolveHierarchy(n.lng||this.language):V.push(n.lng||this.language);var $=function(e,t,a){o.options.missingKeyHandler?o.options.missingKeyHandler(e,p,t,L?a:m,L,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,p,t,L?a:m,L,n),o.emit("missingKey",e,p,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&x?V.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(t){$([e],l+t,n["defaultValue".concat(t)]||N)}))})):$(V,l,N))}m=this.extendTranslation(m,e,n,g,r),F&&m===l&&this.options.appendNamespaceToMissingKey&&(m="".concat(p,":").concat(l)),F&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(m))}return m}},{key:"extendTranslation",value:function(e,t,n,a,r){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(i({},n,{interpolation:i({},this.options.interpolation,n.interpolation)}));var s,c=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(c){var l=e.match(this.interpolator.nestingRegexp);s=l&&l.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=i({},this.options.interpolation.defaultVariables,u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),c){var p=e.match(this.interpolator.nestingRegexp);s<(p&&p.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return r&&r[0]===a[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(a[0]," in key: ").concat(t[0])),null):o.translate.apply(o,a.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=x.handle(d,e,t,this.options&&this.options.postProcessPassResolved?i({i18nResolved:a},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,a,r,i,o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var c=o.extractFromKey(e,s),l=c.key;n=l;var u=c.namespaces;o.options.fallbackNS&&(u=u.concat(o.options.fallbackNS));var p=void 0!==s.count&&"string"!=typeof s.count,f=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,d=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);u.forEach((function(e){o.isValidLookup(t)||(i=e,!w["".concat(d[0],"-").concat(e)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(i)&&(w["".concat(d[0],"-").concat(e)]=!0,o.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(n){if(!o.isValidLookup(t)){r=n;var i,c,u=l,d=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(d,l,n,e,s);else p&&(i=o.pluralResolver.getSuffix(n,s.count)),p&&f&&d.push(u+i),f&&d.push(u+="".concat(o.options.contextSeparator).concat(s.context)),p&&d.push(u+=i);for(;c=d.pop();)o.isValidLookup(t)||(a=c,t=o.getResource(n,e,c,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:a,usedLng:r,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,a):this.resourceStore.getResource(e,t,n,a)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}(m);function N(e){return e.charAt(0).toUpperCase()+e.slice(1)}var L=function(){function e(t){o(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return c(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=N(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var a=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(a)||(t=a)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var a=n.getLanguagePartFromCode(e);if(n.isSupportedCode(a))return t=a;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(a))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,a=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),a.forEach((function(e){r.indexOf(e)<0&&i(n.formatLanguageCode(e))})),r}}]),e}(),D=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],V={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function M(){var e={};return D.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:V[t.fc]}}))})),e}var k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=t,this.options=n,this.logger=g.create("pluralResolver"),this.rules=M()}return c(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,a=this.getRule(e);if(a){var r=a.noAbs?a.plurals(t):a.plurals(Math.abs(t)),i=a.numbers[r];this.options.simplifyPluralSuffix&&2===a.numbers.length&&1===a.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===a.numbers.length&&1===a.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),$=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=g.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return c(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:A,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?_(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?_(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?_(t.nestingPrefix):t.nestingPrefixEscaped||_("$t("),this.nestingSuffix=t.nestingSuffix?_(t.nestingSuffix):t.nestingSuffixEscaped||_(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,a){var r,o,s,c=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var p=function(e){if(e.indexOf(c.formatSeparator)<0){var r=O(t,l,e);return c.alwaysFormat?c.format(r,void 0,n,i({},a,t,{interpolationkey:e})):r}var o=e.split(c.formatSeparator),s=o.shift().trim(),u=o.join(c.formatSeparator).trim();return c.format(O(t,l,s),u,n,i({},a,t,{interpolationkey:s}))};this.resetRegExp();var f=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,d=a&&a.interpolation&&a.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return c.escapeValue?u(c.escape(e)):u(e)}}].forEach((function(t){for(s=0;r=t.regex.exec(e);){if(void 0===(o=p(r[1].trim())))if("function"==typeof f){var n=f(e,r,a);o="string"==typeof n?n:""}else{if(d){o=r[0];continue}c.logger.warn("missed to pass in variable ".concat(r[1]," for interpolating ").concat(e)),o=""}else"string"==typeof o||c.useRawValueToEscape||(o=v(o));var i=t.safeValue(o);if(e=e.replace(r[0],i),d?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++s>=c.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,a,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i({},o);function c(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var a=e.split(new RegExp("".concat(n,"[ ]*{"))),r="{".concat(a[1]);e=a[0],r=(r=this.interpolate(r,s)).replace(/'/g,'"');try{s=JSON.parse(r),t&&(s=i({},t,s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(r)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var p=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=p.shift(),l=p,u=!0}if((a=t(c.call(this,n[1].trim(),s),s))&&n[0]===e&&"string"!=typeof a)return a;"string"!=typeof a&&(a=v(a)),a||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),a=""),u&&(a=l.reduce((function(e,t){return r.format(e,t,o.lng,i({},o,{interpolationkey:n[1].trim()}))}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}]),e}();var B=function(e){function t(e,n,a){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o(this,t),r=u(this,p(t).call(this)),I&&m.call(l(r)),r.backend=e,r.store=n,r.services=a,r.languageUtils=a.languageUtils,r.options=i,r.logger=g.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(a,i.backend,i),r}return d(t,e),c(t,[{key:"queueLoad",value:function(e,t,n,a){var r=this,i=[],o=[],s=[],c=[];return e.forEach((function(e){var a=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?o.indexOf(s)<0&&o.push(s):(r.state[s]=1,a=!1,o.indexOf(s)<0&&o.push(s),i.indexOf(s)<0&&i.push(s),c.indexOf(t)<0&&c.push(t)))})),a||s.push(e)})),(i.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:a}),{toLoad:i,pending:o,toLoadLanguages:s,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,n){var a=e.split("|"),r=a[0],i=a[1];t&&this.emit("failedLoading",r,i,t),n&&this.store.addResourceBundle(r,i,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){var a,s,c,l,u,p;a=n.loaded,s=i,l=P(a,[r],Object),u=l.obj,p=l.k,u[p]=u[p]||[],c&&(u[p]=u[p].concat(s)),c||u[p].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){o[e].indexOf(t)<0&&o[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var a=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,o=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,c){s&&c&&r<5?setTimeout((function(){a.read.call(a,e,t,n,r+1,2*i,o)}),i):o(s,c)})):o(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,a,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e.split("|"),r=a[0],i=a[1];this.read(r,i,"read",void 0,void 0,(function(a,o){a&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(r," failed"),a),!a&&o&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(r),o),t.loaded(e,a,o)}))}},{key:"saveMissing",value:function(e,t,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,a,null,i({},o,{isUpdate:r})),e&&e[0]&&this.store.addResource(e[0],t,n,a))}}]),t}(m);function U(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===a(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===a(e[2])||"object"===a(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,a){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function H(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function K(){}const Q=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(o(this,t),e=u(this,p(t).call(this)),I&&m.call(l(e)),e.options=H(n),e.services={},e.logger=g,e.modules={external:[]},a&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,a),u(e,l(e));setTimeout((function(){e.init(n,a)}),0)}return e}return d(t,e),c(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function a(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=i({},U(),this.options,H(t)),this.format=this.options.interpolation.format,n||(n=K),!this.options.isClone){this.modules.logger?g.init(a(this.modules.logger),this.options):g.init(null,this.options);var r=new L(this.options);this.store=new F(this.options.resources,this.options);var o=this.services;o.logger=g,o.resourceStore=this.store,o.languageUtils=r,o.pluralResolver=new k(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),o.interpolator=new $(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new B(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];e.emit.apply(e,[t].concat(a))})),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new j(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];e.emit.apply(e,[t].concat(a))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var l=["addResource","addResources","addResourceBundle","removeResourceBundle"];l.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=y(),p=function(){var t=function(t,a){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(a),n(t,a)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,a=n,r="string"==typeof e?e:this.language;if("function"==typeof e&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return a();var i=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(r)o(r);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return o(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(i,this.options.ns,a)}else a(null)}},{key:"reloadResources",value:function(e,t,n){var a=y();return e||(e=this.languages),t||(t=this.options.ns),n||(n=K),this.services.backendConnector.reload(e,t,(function(e){a.resolve(),n(e)})),a}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&x.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var a=y();this.emit("languageChanging",e);var r=function(r){e||r||!n.services.languageDetector||(r=[]);var i="string"==typeof r?r:n.services.languageUtils.getBestMatchFromCodes(r);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,r){r?(n.language=r,n.languages=n.services.languageUtils.toResolveHierarchy(r),n.translator.changeLanguage(r),n.isLanguageChangingTo=void 0,n.emit("languageChanged",r),n.logger.log("languageChanged",r)):n.isLanguageChangingTo=void 0,a.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),a}},{key:"getFixedT",value:function(e,t){var n=this,r=function e(t,r){var o;if("object"!==a(r)){for(var s=arguments.length,c=new Array(s>2?s-2:0),l=2;l<s;l++)c[l-2]=arguments[l];o=n.options.overloadTranslationOptionHandler([t,r].concat(c))}else o=i({},r);return o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns,n.t(t,o)};return"string"==typeof e?r.lng=e:r.lngs=e,r.ns=t,r}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var a=this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===a.toLowerCase())return!0;var o=function(e,n){var a=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===a||2===a};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(a,e)||(!this.services.backendConnector.backend||!(!o(a,e)||r&&!o(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,a=y();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){a.resolve(),t&&t(e)})),a):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=y();"string"==typeof e&&(e=[e]);var a=this.options.preload||[],r=e.filter((function(e){return a.indexOf(e)<0}));return r.length?(this.options.preload=a.concat(r),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,r=i({},this.options,n,{isClone:!0}),o=new t(r),s=["store","services","language"];return s.forEach((function(t){o[t]=e[t]})),o.services=i({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new j(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];o.emit.apply(o,[e].concat(n))})),o.init(r,a),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(m))},5822:(e,t,n)=>{try{var a=n(1669);if("function"!=typeof a.inherits)throw"";e.exports=a.inherits}catch(t){e.exports=n(9105)}},9105:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},1016:e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},3490:(e,t,n)=>{var a=n(1016),r={"{":"}","(":")","[":"]"},i=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/,o=/\\(.)|(^!|[*?{}()[\]]|\(\?)/;e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(a(e))return!0;var n,s=i;for(t&&!1===t.strict&&(s=o);n=s.exec(e);){if(n[2])return!0;var c=n.index+n[0].length,l=n[1],u=l?r[l]:null;if(l&&u){var p=e.indexOf(u,c);-1!==p&&(c=p+1)}e=e.slice(c)}return!1}},3253:(e,t)=>{e.exports=function(e){for(var t=0;t<e.length;)if(9==e[t]||10==e[t]||13==e[t]||32<=e[t]&&e[t]<=126)t+=1;else if(194<=e[t]&&e[t]<=223&&128<=e[t+1]&&e[t+1]<=191)t+=2;else if(224==e[t]&&160<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191||(225<=e[t]&&e[t]<=236||238==e[t]||239==e[t])&&128<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191||237==e[t]&&128<=e[t+1]&&e[t+1]<=159&&128<=e[t+2]&&e[t+2]<=191)t+=3;else{if(!(240==e[t]&&144<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191&&128<=e[t+3]&&e[t+3]<=191||241<=e[t]&&e[t]<=243&&128<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191&&128<=e[t+3]&&e[t+3]<=191||244==e[t]&&128<=e[t+1]&&e[t+1]<=143&&128<=e[t+2]&&e[t+2]<=191&&128<=e[t+3]&&e[t+3]<=191))return!1;t+=4}return!0}},5092:function(e,t,n){"use strict";var a=this&&this.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(r,i){function o(e){try{c(a.next(e))}catch(e){i(e)}}function s(e){try{c(a.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((a=a.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.isBinaryFileSync=t.isBinaryFile=void 0;const r=n(5747),i=n(1669),o=i.promisify(r.stat),s=i.promisify(r.open),c=i.promisify(r.close),l=512;function u(e,t){if(0===t)return!1;let n=0;const a=Math.min(t,l);if(t>=3&&239===e[0]&&187===e[1]&&191===e[2])return!1;if(t>=4&&0===e[0]&&0===e[1]&&254===e[2]&&255===e[3])return!1;if(t>=4&&255===e[0]&&254===e[1]&&0===e[2]&&0===e[3])return!1;if(t>=4&&132===e[0]&&49===e[1]&&149===e[2]&&51===e[3])return!1;if(a>=5&&"%PDF-"===e.slice(0,5).toString())return!0;if(t>=2&&254===e[0]&&255===e[1])return!1;if(t>=2&&255===e[0]&&254===e[1])return!1;for(let t=0;t<a;t++){if(0===e[t])return!0;if((e[t]<7||e[t]>14)&&(e[t]<32||e[t]>127)){if(e[t]>193&&e[t]<224&&t+1<a){if(t++,e[t]>127&&e[t]<192)continue}else if(e[t]>223&&e[t]<240&&t+2<a&&(t++,e[t]>127&&e[t]<192&&e[t+1]>127&&e[t+1]<192)){t++;continue}if(n++,t>32&&100*n/a>10)return!0}}return 100*n/a>10}function p(e){return"string"==typeof e}function f(e){if(!e.isFile())throw new Error("Path provided was not a file!")}t.isBinaryFile=function(e,t){return a(this,void 0,void 0,(function*(){if(p(e)){f(yield o(e));const t=yield s(e,"r"),n=Buffer.alloc(l);return new Promise(((e,a)=>{r.read(t,n,0,l,0,((r,i,o)=>{c(t),r?a(r):e(u(n,i))}))}))}return void 0===t&&(t=e.length),u(e,t)}))},t.isBinaryFileSync=function(e,t){if(p(e)){f(r.statSync(e));const t=r.openSync(e,"r"),n=Buffer.alloc(l),a=r.readSync(t,n,0,l,0);return r.closeSync(t),u(n,a)}return void 0===t&&(t=e.length),u(e,t)}},8125:e=>{"use strict";var t=e.exports=function(e,t,a){"function"==typeof t&&(a=t,t={}),n(t,"function"==typeof(a=t.cb||a)?a:a.pre||function(){},a.post||function(){},e,"",e)};function n(e,a,r,i,o,s,c,l,u,p){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in a(i,o,s,c,l,u,p),i){var d=i[f];if(Array.isArray(d)){if(f in t.arrayKeywords)for(var h=0;h<d.length;h++)n(e,a,r,d[h],o+"/"+f+"/"+h,s,o,f,i,h)}else if(f in t.propsKeywords){if(d&&"object"==typeof d)for(var g in d)n(e,a,r,d[g],o+"/"+f+"/"+g.replace(/~/g,"~0").replace(/\//g,"~1"),s,o,f,i,g)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,a,r,d,o+"/"+f,s,o,f,i)}r(i,o,s,c,l,u,p)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},4366:e=>{var t="__lodash_hash_undefined__",n="[object Function]",a="[object GeneratorFunction]",r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,o=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,u="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,f=u||p||Function("return this")();var d,h=Array.prototype,g=Function.prototype,m=Object.prototype,y=f["__core-js_shared__"],v=(d=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",b=g.toString,P=m.hasOwnProperty,S=m.toString,T=RegExp("^"+b.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=f.Symbol,E=h.splice,_=V(f,"Map"),C=V(Object,"create"),A=O?O.prototype:void 0,I=A?A.toString:void 0;function R(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function w(e,t){for(var n,a,r=e.length;r--;)if((n=e[r][0])===(a=t)||n!=n&&a!=a)return r;return-1}function j(e){return!(!H(e)||(t=e,v&&v in t))&&(function(e){var t=H(e)?S.call(e):"";return t==n||t==a}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?T:l).test(function(e){if(null!=e){try{return b.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function N(e,t){e=function(e,t){return 1==t.length?e:function(e,t){for(var n=0,a=(t=M(t,e)?[t]:L(t)).length;null!=e&&n<a;)e=e[$(t[n++])];return n&&n==a?e:void 0}(e,function(e,t,n){var a=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++a<r;)i[a]=e[a+t];return i}(t,0,-1))}(e,t=M(t,e)?[t]:L(t));var n,a,r=$((a=(n=t)?n.length:0)?n[a-1]:void 0);return!(null!=e&&P.call(e,r))||delete e[r]}function L(e){return U(e)?e:k(e)}function D(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function V(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}function M(e,t){if(U(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!K(e))||(i.test(e)||!r.test(e)||null!=t&&e in Object(t))}R.prototype.clear=function(){this.__data__=C?C(null):{}},R.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},R.prototype.get=function(e){var n=this.__data__;if(C){var a=n[e];return a===t?void 0:a}return P.call(n,e)?n[e]:void 0},R.prototype.has=function(e){var t=this.__data__;return C?void 0!==t[e]:P.call(t,e)},R.prototype.set=function(e,n){return this.__data__[e]=C&&void 0===n?t:n,this},F.prototype.clear=function(){this.__data__=[]},F.prototype.delete=function(e){var t=this.__data__,n=w(t,e);return!(n<0)&&(n==t.length-1?t.pop():E.call(t,n,1),!0)},F.prototype.get=function(e){var t=this.__data__,n=w(t,e);return n<0?void 0:t[n][1]},F.prototype.has=function(e){return w(this.__data__,e)>-1},F.prototype.set=function(e,t){var n=this.__data__,a=w(n,e);return a<0?n.push([e,t]):n[a][1]=t,this},x.prototype.clear=function(){this.__data__={hash:new R,map:new(_||F),string:new R}},x.prototype.delete=function(e){return D(this,e).delete(e)},x.prototype.get=function(e){return D(this,e).get(e)},x.prototype.has=function(e){return D(this,e).has(e)},x.prototype.set=function(e,t){return D(this,e).set(e,t),this};var k=B((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(K(e))return I?I.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(s,(function(e,t,a,r){n.push(a?r.replace(c,"$1"):t||e)})),n}));function $(e){if("string"==typeof e||K(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function B(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var o=e.apply(this,a);return n.cache=i.set(r,o),o};return n.cache=new(B.Cache||x),n}B.Cache=x;var U=Array.isArray;function H(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function K(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==S.call(e)}e.exports=function(e,t){return null==e||N(e,t)}},4937:(e,t,n)=>{"use strict";const a=n(5179);e.exports=function(e,t,n,r,i){n=n||{},r=r||{},this.append(e,a.render(t.toString(),n,r),i)}},9859:(e,t,n)=>{"use strict";const{EOL:a}=n(2087);e.exports=function(e,t,n){if(n={trimEnd:!0,separator:a,...n},!this.exists(e)&&n.create)return void this.write(e,t);let r=this.read(e);n.trimEnd&&(r=r.replace(/\s+$/,"")),this.write(e,r+n.separator+t)}},5755:(e,t,n)=>{"use strict";const a=n(5747).promises,r=n(5622),{clearFileState:i,isFileStateModified:o,isFileStateDeleted:s,setCommittedFile:c}=n(6268);e.exports=async function(e){const t=this.store.get(e.path);t&&t===e||this.store.add(e),o(e)?(c(e),await async function(e){const t=r.dirname(e.path);try{if(!(await a.stat(t)).isDirectory())throw new Error(`${e.path} is not a directory`)}catch(e){if("ENOENT"!==e.code)throw e;await a.mkdir(t,{recursive:!0})}const n={};e.stat&&(n.mode=e.stat.mode),await a.writeFile(e.path,e.contents,n)}(e)):s(e)&&(c(e),await async function(e){const t=a.rm||a.rmdir;await t(e.path,{recursive:!0})}(e)),i(e)}},6001:(e,t,n)=>{"use strict";const{promisify:a}=n(1669),{pipeline:r}=n(2413),i=a(r),{createPendingFilesPassthrough:o,createCommitTransform:s}=n(8206);e.exports=function(e,t,n){"function"==typeof e?(n=e,e=[],t=void 0):"function"==typeof t&&(n=t,t=void 0),t=t||this.store.stream(),e=e||[];const a=i(t,o(),...e,s(this));return n?a.then((()=>n()),n):a}},3947:(e,t,n)=>{"use strict";const a=n(2357),r=n(5747),i=n(5747).promises,o=n(5622),s=n(8613),c=n(8371),l=n(5179),u=n(1297),p=n(5696);async function f(e,t){const n=await Promise.resolve(e.call(this,t));return Buffer.isBuffer(n)?n:Buffer.from(n)}function d(e,t,n){return t?l.render(e,t,n):e}t.B=async function(e,t,n,l,f){t=o.resolve(t),n=n||{};const h=await async function(e){let t;if("string"!=typeof e)return;t=e;const n=o.resolve(t);try{if((await i.stat(n)).isFile())return n}catch(e){}}(e);if(h)return this._copySingleAsync(h,d(t,l,f),n);const g=u.globify(e),m={...n.globOptions,nodir:!0},y=s.sync(g,m).map((e=>o.resolve(e))),v=[];this.store.each((e=>{s.hasMagic(p(e.path))||0===c([e.path],g).length||y.includes(e.path)||v.push(e.path)}));let b=()=>t;if(Array.isArray(e)||!this.exists(e)||s.hasMagic(p(e))){a(!this.exists(t)||r.statSync(t).isDirectory(),"When copying multiple files, provide a directory as destination");const i=n.processDestinationPath||(e=>e),s=u.getCommonPath(e);b=e=>{const n=o.relative(s,e);return i(o.join(t,n))}}a(n.ignoreNoMatch||y.length>0||v.length>0,"Trying to copy from a source that does not exist: "+e),await Promise.all([...y.map((e=>this._copySingleAsync(e,d(b(e),l,f),n))),...v.map((e=>Promise.resolve(this._copySingle(e,d(b(e),l,f),n))))])},t.i=async function(e,t,n={}){if(!n.processFile)return this._copySingle(e,t,n);const a=await f.call(this,n.processFile,e);if(n.append){if(!this.store.existsInMemory)throw new Error("Current mem-fs is not compatible with append");if(this.store.existsInMemory(t))return void this.append(t,a,{create:!0,...n})}const r=await i.stat(e);this.write(t,a,r)}},2705:(e,t,n)=>{"use strict";const a=n(5179),r=n(5747).promises,{isBinary:i}=n(1297);e.exports=async function(e,t,n,o,s){n=n||{},o=o||{},await this.copyAsync(e,t,{processDestinationPath:e=>e.replace(/.ejs$/,""),...s,processFile:async e=>i(e,null)?r.readFile(e):a.renderFile(e,n,o),process:(e,t,a)=>this._processTpl({contents:e,filename:t,destination:a,context:n,tplSettings:o})},n,o)}},7997:(e,t,n)=>{"use strict";const a=n(5179),{isBinary:r}=n(1297);e.exports.J=function({contents:e,filename:t,context:n,tplSettings:i}){return r(t,e)?e:a.render(e.toString(),n,{filename:t,...i})},e.exports.y=function(e,t,n,a,r){n=n||{},a=a||{},this.copy(e,t,{processDestinationPath:e=>e.replace(/.ejs$/,""),...r,process:(e,t)=>this._processTpl({contents:e,filename:t,context:n,tplSettings:a})},n,a)}},749:(e,t,n)=>{"use strict";const a=n(2357),r=n(5747),i=n(5622),o=n(8613),s=n(8371),c=n(5179),l=n(1297),u=n(5696);t.J=function(e,t,n,p,f){t=i.resolve(t),n=n||{};const d=l.globify(e);let h=[];if(n.noGlob){const e=Array.isArray(d)?d:[d];h=e.filter((e=>r.existsSync(e)))}else{const e={...n.globOptions,nodir:!0};h=o.sync(d,e).map((e=>i.resolve(e)))}const g=[];this.store.each((e=>{o.hasMagic(u(e.path))||0===s([e.path],d).length||h.includes(e.path)||g.push(e.path)}));const m=h.concat(g);let y=()=>t;if(Array.isArray(e)||!this.exists(e)||o.hasMagic(u(e))){a(!this.exists(t)||r.statSync(t).isDirectory(),"When copying multiple files, provide a directory as destination");const o=n.processDestinationPath||(e=>e),s=l.getCommonPath(e);y=e=>{const n=i.relative(s,e);return o(i.join(t,n))}}a(n.ignoreNoMatch||m.length>0,"Trying to copy from a source that does not exist: "+e),m.forEach((e=>{let t=y(e);p&&(t=c.render(t,p,f)),this._copySingle(e,t,n,p,f)}))},t.W=function(e,t,n={}){a(this.exists(e),"Trying to copy from a source that does not exist: "+e);const r=this.store.get(e);let{contents:i}=r;if(n.process&&(i=function(e,t,n){const a=e(t,n);return Buffer.isBuffer(a)?a:Buffer.from(a)}(n.process,r.contents,r.path)),n.append){if(!this.store.existsInMemory)throw new Error("Current mem-fs is not compatible with append");if(this.store.existsInMemory(t))return void this.append(t,i,{create:!0,...n})}this.write(t,i,r.stat)}},7617:(e,t,n)=>{"use strict";const a=n(5622),r=n(8613),i=n(8371),o=n(1297),{setDeletedFileState:s}=n(6268);function c(e,t){const n=t.get(e);s(n),n.contents=null,t.add(n)}e.exports=function(e,t){Array.isArray(e)||(e=[e]),e=e.map((e=>a.resolve(e))),e=o.globify(e);const n=(t=t||{}).globOptions||{};r.sync(e,n).forEach((e=>{c(e,this.store)})),this.store.each((t=>{0!==i([t.path],e).length&&c(t.path,this.store)}))}},1045:(e,t,n)=>{"use strict";const a=n(5622),r=n(5696),i=n(2979),{hasClearedState:o,hasState:s,STATE:c,STATE_CLEARED:l}=n(6268);e.exports=function(e=process.cwd(),t=(e=>o(e)||s(e))){if("string"==typeof t){const e=t;t=t=>i(t.path,e)}return Object.fromEntries(this.store.all().filter((n=>t(n,e))).map((t=>{const n=r(e?a.relative(e,t.path):t.path),i={contents:t.contents?t.contents.toString():t.contents};return t[c]&&(i[c]=t[c]),t[l]&&(i[l]=t[l]),[n,i]})))}},893:e=>{"use strict";e.exports=function(e){return null!==this.store.get(e).contents}},2382:(e,t,n)=>{"use strict";const a=n(103);e.exports=function(e,t,n,r){const i=this.readJSON(e,{}),o=a({},i,t);this.writeJSON(e,o,n,r)}},1618:e=>{"use strict";e.exports=function(e,t,n){this.copy(e,t,n),this.delete(e,n)}},7253:e=>{"use strict";e.exports=function(e,t){if(!this.exists(e))return t;try{return JSON.parse(this.read(e))}catch(t){throw new Error("Could not parse JSON in file: "+e+". Detail: "+t.message)}}},4638:e=>{"use strict";e.exports=function(e,t){t=t||{raw:!1};const n=this.store.get(e);if(null===n.contents){if("defaults"in t)return t.defaults;throw new Error(e+" doesn't exist")}return t.raw?n.contents:n.contents.toString()}},9012:e=>{"use strict";e.exports=function(e,t,n,a){const r=JSON.stringify(t,n||null,a||2)+"\n";return this.write(e,r)}},8369:(e,t,n)=>{"use strict";const a=n(2357),{isFileStateModified:r,setModifiedFileState:i}=n(6268);e.exports=function(e,t,n){a("string"==typeof t||Buffer.isBuffer(t),"Expected `contents` to be a String or a Buffer");const o=this.store.get(e),s=Buffer.isBuffer(t)?t:Buffer.from(t);return r(o)&&Buffer.isBuffer(o.contents)&&s.equals(o.contents)&&(void 0===n||o.stat===n)||(i(o),o.contents=s,o.stat=n,this.store.add(o)),o.contents.toString()}},6244:(e,t,n)=>{"use strict";function a(e){this.store=e}a.prototype.read=n(4638),a.prototype.readJSON=n(7253),a.prototype.exists=n(893),a.prototype.write=n(8369),a.prototype.writeJSON=n(9012),a.prototype.extendJSON=n(2382),a.prototype.append=n(9859),a.prototype.appendTpl=n(4937),a.prototype.delete=n(7617),a.prototype.copy=n(749).J,a.prototype._copySingle=n(749).W,a.prototype.copyTpl=n(7997).y,a.prototype._processTpl=n(7997).J,a.prototype.copyAsync=n(3947).B,a.prototype._copySingleAsync=n(3947).i,a.prototype.copyTplAsync=n(2705),a.prototype.move=n(1618),a.prototype.commit=n(6001),a.prototype.commitFileAsync=n(5755),a.prototype.dump=n(1045),t.create=function(e){return new a(e)},t.State=n(6268)},6268:(e,t,n)=>{const a=n(5747),r="state",i="stateCleared",o="modified",s="deleted",c=(e,t)=>{e.state=t},l=e=>(void 0===e.isNew&&(e.isNew=!a.existsSync(e.path)),e.isNew),u=e=>e.state===o,p=e=>e.state===s,f=e=>{delete e.state};e.exports={STATE:r,STATE_CLEARED:i,STATE_MODIFIED:o,STATE_DELETED:s,isFileStateModified:u,setModifiedFileState:e=>c(e,o),isFileStateDeleted:p,setDeletedFileState:e=>c(e,s),setCommittedFile:e=>{e.committed=!0},isFileCommitted:e=>Boolean(e.committed),isFileNew:l,isFilePending:e=>u(e)||p(e)&&!l(e),resetFileState:f,clearFileState:e=>{e.state&&(e.stateCleared=e.state),f(e),delete e.isNew},hasState:e=>Boolean(e.state),hasClearedState:e=>Boolean(e.stateCleared)}},8206:(e,t,n)=>{const{createTransform:a}=n(1297),{isFilePending:r}=n(6268);e.exports={createPendingFilesPassthrough:()=>a(((e,t,n)=>{n(void 0,r(e)?e:void 0)})),createCommitTransform:e=>a(((t,n,a)=>{e.commitFileAsync(t).then((()=>a())).catch((e=>a(e)))}))}},1297:(e,t,n)=>{"use strict";const a=n(5747),r=n(5622),i=n(2169),o=n(8613),s=n(5696),{Transform:c}=n(2413),{isBinaryFileSync:l}=n(5092),{default:u}=n(3611),{default:p}=n(1672);function f(e){return null!=e&&"!"!==e.charAt(0)}t.getCommonPath=function(e){if(Array.isArray(e))return e=e.filter(f).map(this.getCommonPath.bind(this)),i(e);const t=e.indexOf("*");if(-1!==t)e=e.substring(0,t+1);else if(a.existsSync(e)&&a.statSync(e).isDirectory())return e;return r.dirname(e)},t.globify=function(e){if(Array.isArray(e))return e.reduce(((e,t)=>e.concat(this.globify(s(t)))),[]);if(e=s(e),o.hasMagic(e))return e;if(!a.existsSync(e))return[e,s(r.join(e,"**"))];const t=a.statSync(e);if(t.isFile())return e;if(t.isDirectory())return s(r.join(e,"**"));throw new Error("Only file path or directory path are supported.")},t.createTransform=function(e){return new c({objectMode:!0,transform(...t){return e.apply(this,t)}})},t.isBinary=(e,t)=>{const n=r.extname(e).replace(/^\./,"")||r.basename(e);return!!p.includes(n)||!u.includes(n)&&(a.existsSync(e)&&l(e)||t&&l(Buffer.isBuffer(t)?t:Buffer.from(t)))}},2595:e=>{"use strict";e.exports=(e,...t)=>{const n=new Set([].concat(...t));return e.filter((e=>!n.has(e)))}},9707:e=>{"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]},1936:(e,t,n)=>{"use strict";const{promisify:a}=n(1669),r=n(5747),i=n(5622),o=n(9689),s=n(4149),c=n(9764),l=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],u=a(r.readFile),p=(e,t)=>{const n=c(i.relative(t.cwd,i.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter((e=>!e.startsWith("#"))).map((e=>t=>t.startsWith("!")?"!"+i.posix.join(e,t.slice(1)):i.posix.join(e,t))(n))},f=e=>{const t=s();for(const n of e)t.add(p(n.content,{cwd:n.cwd,fileName:n.filePath}));return t},d=(e,t)=>n=>e.ignores(c(i.relative(t,((e,t)=>{if(e=c(e),i.isAbsolute(t)){if(c(t).startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return i.join(e,t)})(t,n.path||n)))),h=({ignore:e=[],cwd:t=c(process.cwd())}={})=>({ignore:e,cwd:t});e.exports=async e=>{e=h(e);const t=await o("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd}),n=await Promise.all(t.map((t=>(async(e,t)=>{const n=i.join(t,e);return{cwd:t,filePath:n,content:await u(n,"utf8")}})(t,e.cwd)))),a=f(n);return d(a,e.cwd)},e.exports.sync=e=>{e=h(e);const t=o.sync("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd}).map((t=>((e,t)=>{const n=i.join(t,e);return{cwd:t,filePath:n,content:r.readFileSync(n,"utf8")}})(t,e.cwd))),n=f(t);return d(n,e.cwd)}},8613:(e,t,n)=>{"use strict";const a=n(5747),r=n(2245),i=n(1993),o=n(9689),s=n(4217),c=n(1936),{FilterStream:l,UniqueStream:u}=n(7005),p=()=>!1,f=e=>"!"===e[0],d=(e,t)=>{(e=>{if(!e.every((e=>"string"==typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=r([].concat(e))),((e={})=>{if(!e.cwd)return;let t;try{t=a.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(t);const n=[];t={ignore:[],expandDirectories:!0,...t};for(const[a,r]of e.entries()){if(f(r))continue;const i=e.slice(a).filter((e=>f(e))).map((e=>e.slice(1))),o={...t,ignore:t.ignore.concat(i)};n.push({pattern:r,options:o})}return n},h=(e,t)=>e.options.expandDirectories?((e,t)=>{let n={};return e.options.cwd&&(n.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?n={...n,files:e.options.expandDirectories}:"object"==typeof e.options.expandDirectories&&(n={...n,...e.options.expandDirectories}),t(e.pattern,n)})(e,t):[e.pattern],g=e=>e&&e.gitignore?c.sync({cwd:e.cwd,ignore:e.ignore}):p,m=e=>t=>{const{options:n}=e;return n.ignore&&Array.isArray(n.ignore)&&n.expandDirectories&&(n.ignore=s.sync(n.ignore)),{pattern:t,options:n}};e.exports=async(e,t)=>{const n=d(e,t),[i,l]=await Promise.all([(async()=>t&&t.gitignore?c({cwd:t.cwd,ignore:t.ignore}):p)(),(async()=>{const e=await Promise.all(n.map((async e=>{const t=await h(e,s);return Promise.all(t.map(m(e)))})));return r(...e)})()]),u=await Promise.all(l.map((e=>o(e.pattern,e.options))));return r(...u).filter((e=>{return!i((t=e,t.stats instanceof a.Stats?t.path:t));var t}))},e.exports.sync=(e,t)=>{const n=d(e,t),a=[];for(const e of n){const t=h(e,s.sync).map(m(e));a.push(...t)}const i=g(t);let c=[];for(const e of a)c=r(c,o.sync(e.pattern,e.options));return c.filter((e=>!i(e)))},e.exports.stream=(e,t)=>{const n=d(e,t),a=[];for(const e of n){const t=h(e,s.sync).map(m(e));a.push(...t)}const r=g(t),c=new l((e=>!r(e))),p=new u;return i(a.map((e=>o.stream(e.pattern,e.options)))).pipe(c).pipe(p)},e.exports.generateGlobTasks=d,e.exports.hasMagic=(e,t)=>[].concat(e).some((e=>o.isDynamicPattern(e,t))),e.exports.gitignore=c},7005:(e,t,n)=>{"use strict";const{Transform:a}=n(2413);class ObjectTransform extends a{constructor(){super({objectMode:!0})}}e.exports={FilterStream:class FilterStream extends ObjectTransform{constructor(e){super(),this._filter=e}_transform(e,t,n){this._filter(e)&&this.push(e),n()}},UniqueStream:class UniqueStream extends ObjectTransform{constructor(){super(),this._pushed=new Set}_transform(e,t,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}}}},4149:e=>{function t(e){return Array.isArray(e)?e:[e]}const n=/^\s+$/,a=/^\\!/,r=/^\\#/,i=/\r?\n/g,o=/^\.*\/|^\.+$/,s="undefined"!=typeof Symbol?Symbol.for("node-ignore"):"node-ignore",c=/([0-z])-([0-z])/g,l=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(e,t)=>`${t}[^\\/]*`],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,a,r)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(a)}${r}`:"]"===r&&a.length%2==0?`[${(e=>e.replace(c,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${a}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],u=Object.create(null),p=e=>"string"==typeof e;class IgnoreRule{constructor(e,t,n,a){this.origin=e,this.pattern=t,this.negative=n,this.regex=a}}const f=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const o=((e,t,n)=>{const a=u[e];if(a)return a;const r=l.reduce(((t,n)=>t.replace(n[0],n[1].bind(e))),e);return u[e]=n?new RegExp(r,"i"):new RegExp(r)})(e=e.replace(a,"!").replace(r,"#"),0,t);return new IgnoreRule(n,e,i,o)},d=(e,t)=>{throw new t(e)},h=(e,t,n)=>{if(!p(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(h.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},g=e=>o.test(e);h.isNotRelative=g,h.convert=e=>e;class Ignore{constructor({ignorecase:e=!0}={}){var t,n,a;this._rules=[],this._ignorecase=e,t=this,n=s,a=!0,Object.defineProperty(t,n,{value:a}),this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[s])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&p(e)&&!n.test(e)&&0!==e.indexOf("#"))(e)){const t=f(e,this._ignorecase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(p(e)?(e=>e.split(i))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,a=!1;return this._rules.forEach((r=>{const{negative:i}=r;if(a===i&&n!==a||i&&!n&&!a&&!t)return;r.regex.test(e)&&(n=!i,a=i)})),{ignored:n,unignored:a}}_test(e,t,n,a){const r=e&&h.convert(e);return h(r,e,d),this._t(r,t,n,a)}_t(e,t,n,a){if(e in t)return t[e];if(a||(a=e.split("/")),a.pop(),!a.length)return t[e]=this._testOne(e,n);const r=this._t(a.join("/")+"/",t,n,a);return t[e]=r.ignored?r:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const m=e=>new Ignore(e),y=()=>!1;if(m.isPathValid=e=>h(e&&h.convert(e),e,y),m.default=m,e.exports=m,"undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");h.convert=e;const t=/^[a-z]:\//i;h.isNotRelative=e=>t.test(e)||g(e)}},8371:(e,t,n)=>{"use strict";const a=n(2979),r=n(2245),i=n(2595),o=n(9707);e.exports=(e,t,n={})=>{if(e=o(e),t=o(t),0===e.length||0===t.length)return[];let s=[];for(const o of e)for(let e of t){let t=r;"!"===e[0]&&(e=e.slice(1),t=i),s=t(s,a.match([o],e,n))}return s}},5955:(e,t,n)=>{"use strict";var a=n(8614),r=n(5622),i=n(1669),o=n(5762),s=n(3356);const{PassThrough:c}=n(2413);t.create=function(){var e={};function t(t){var n;try{n=o.readSync(t)}catch(e){n=function(e){return new s({cwd:process.cwd(),base:process.cwd(),path:e,contents:null})}(t)}return e[t]=n,n}var n=function(){a.EventEmitter.apply(this,arguments)};return i.inherits(n,a.EventEmitter),n.prototype.get=function(n){return n=r.resolve(n),e[n]||t(n)},n.prototype.existsInMemory=function(t){return t=r.resolve(t),!!e[t]},n.prototype.add=function(t){return e[t.path]=t,this.emit("change",t.path),this},n.prototype.each=function(t){return Object.keys(e).forEach((function(n,a){t(e[n],a)})),this},n.prototype.all=function(){return Object.values(e)},n.prototype.stream=function(){const e=new c({objectMode:!0,autoDestroy:!0});return setImmediate(function(){this.each((t=>e.write(t))),e.end()}.bind(this)),e},new n}},1993:(e,t,n)=>{"use strict";const a=n(2413).PassThrough,r=Array.prototype.slice;function i(e,t){if(Array.isArray(e))for(let n=0,a=e.length;n<a;n++)e[n]=i(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(a(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[],t=r.call(arguments);let n=!1,o=t[t.length-1];o&&!Array.isArray(o)&&null==o.pipe?t.pop():o={};const s=!1!==o.end,c=!0===o.pipeError;null==o.objectMode&&(o.objectMode=!0);null==o.highWaterMark&&(o.highWaterMark=65536);const l=a(o);function u(){for(let t=0,n=arguments.length;t<n;t++)e.push(i(arguments[t],o));return p(),this}function p(){if(n)return;n=!0;let t=e.shift();if(!t)return void process.nextTick(f);Array.isArray(t)||(t=[t]);let a=t.length+1;function r(){--a>0||(n=!1,p())}function i(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),c&&e.removeListener("error",n),r()}function n(e){l.emit("error",e)}if(e._readableState.endEmitted)return r();e.on("merge2UnpipeEnd",t),e.on("end",t),c&&e.on("error",n),e.pipe(l,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)i(t[e]);r()}function f(){n=!1,l.emit("queueDrain"),s&&l.end()}l.setMaxListeners(0),l.add=u,l.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&u.apply(null,t);return l}},2979:(e,t,n)=>{e.exports=f,f.Minimatch=d;var a={sep:"/"};try{a=n(5622)}catch(e){}var r=f.GLOBSTAR=d.GLOBSTAR={},i=n(8063),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="[^/]",c="[^/]*?",l="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var u=/\/+/;function p(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach((function(e){n[e]=t[e]})),Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function f(e,t,n){if("string"!=typeof t)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new d(t,n).match(e))}function d(e,t){if(!(this instanceof d))return new d(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==a.sep&&(e=e.split(a.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function h(e,t){if(t||(t=this instanceof d?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:i(e)}f.filter=function(e,t){return t=t||{},function(n,a,r){return f(n,e,t)}},f.defaults=function(e){if(!e||!Object.keys(e).length)return f;var t=f,n=function(n,a,r){return t.minimatch(n,a,p(e,r))};return n.Minimatch=function(n,a){return new t.Minimatch(n,p(e,a))},n},d.defaults=function(e){return e&&Object.keys(e).length?f.defaults(e).Minimatch:d},d.prototype.debug=function(){},d.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map((function(e){return e.split(u)})),this.debug(this.pattern,n),n=n.map((function(e,t,n){return e.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,n),this.set=n},d.prototype.parseNegate=function(){var e=this.pattern,t=!1,n=this.options,a=0;if(n.nonegate)return;for(var r=0,i=e.length;r<i&&"!"===e.charAt(r);r++)t=!t,a++;a&&(this.pattern=e.substr(a));this.negate=t},f.braceExpand=function(e,t){return h(e,t)},d.prototype.braceExpand=h,d.prototype.parse=function(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===e)return r;if(""===e)return"";var a,i="",u=!!n.nocase,p=!1,f=[],d=[],h=!1,m=-1,y=-1,v="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function P(){if(a){switch(a){case"*":i+=c,u=!0;break;case"?":i+=s,u=!0;break;default:i+="\\"+a}b.debug("clearStateChar %j %j",a,i),a=!1}}for(var S,T=0,O=e.length;T<O&&(S=e.charAt(T));T++)if(this.debug("%s\t%s %s %j",e,T,i,S),p&&l[S])i+="\\"+S,p=!1;else switch(S){case"/":return!1;case"\\":P(),p=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,T,i,S),h){this.debug(" in class"),"!"===S&&T===y+1&&(S="^"),i+=S;continue}b.debug("call clearStateChar %j",a),P(),a=S,n.noext&&P();continue;case"(":if(h){i+="(";continue}if(!a){i+="\\(";continue}f.push({type:a,start:T-1,reStart:i.length,open:o[a].open,close:o[a].close}),i+="!"===a?"(?:(?!(?:":"(?:",this.debug("plType %j %j",a,i),a=!1;continue;case")":if(h||!f.length){i+="\\)";continue}P(),u=!0;var E=f.pop();i+=E.close,"!"===E.type&&d.push(E),E.reEnd=i.length;continue;case"|":if(h||!f.length||p){i+="\\|",p=!1;continue}P(),i+="|";continue;case"[":if(P(),h){i+="\\"+S;continue}h=!0,y=T,m=i.length,i+=S;continue;case"]":if(T===y+1||!h){i+="\\"+S,p=!1;continue}if(h){var _=e.substring(y+1,T);try{RegExp("["+_+"]")}catch(e){var C=this.parse(_,g);i=i.substr(0,m)+"\\["+C[0]+"\\]",u=u||C[1],h=!1;continue}}u=!0,h=!1,i+=S;continue;default:P(),p?p=!1:!l[S]||"^"===S&&h||(i+="\\"),i+=S}h&&(_=e.substr(y+1),C=this.parse(_,g),i=i.substr(0,m)+"\\["+C[0],u=u||C[1]);for(E=f.pop();E;E=f.pop()){var A=i.slice(E.reStart+E.open.length);this.debug("setting tail",i,E),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,n){return n||(n="\\"),t+t+n+"|"})),this.debug("tail=%j\n %s",A,A,E,i);var I="*"===E.type?c:"?"===E.type?s:"\\"+E.type;u=!0,i=i.slice(0,E.reStart)+I+"\\("+A}P(),p&&(i+="\\\\");var R=!1;switch(i.charAt(0)){case".":case"[":case"(":R=!0}for(var F=d.length-1;F>-1;F--){var x=d[F],w=i.slice(0,x.reStart),j=i.slice(x.reStart,x.reEnd-8),N=i.slice(x.reEnd-8,x.reEnd),L=i.slice(x.reEnd);N+=L;var D=w.split("(").length-1,V=L;for(T=0;T<D;T++)V=V.replace(/\)[+*?]?/,"");var M="";""===(L=V)&&t!==g&&(M="$"),i=w+j+L+M+N}""!==i&&u&&(i="(?=.)"+i);R&&(i=v+i);if(t===g)return[i,u];if(!u)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var k=n.nocase?"i":"";try{var $=new RegExp("^"+i+"$",k)}catch(e){return new RegExp("$.")}return $._glob=e,$._src=i,$};var g={};f.makeRe=function(e,t){return new d(e,t||{}).makeRe()},d.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,n=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",a=t.nocase?"i":"",i=e.map((function(e){return e.map((function(e){return e===r?n:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,a)}catch(e){this.regexp=!1}return this.regexp},f.match=function(e,t,n){var a=new d(t,n=n||{});return e=e.filter((function(e){return a.match(e)})),a.options.nonull&&!e.length&&e.push(t),e},d.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var n=this.options;"/"!==a.sep&&(e=e.split(a.sep).join("/"));e=e.split(u),this.debug(this.pattern,"split",e);var r,i,o=this.set;for(this.debug(this.pattern,"set",o),i=e.length-1;i>=0&&!(r=e[i]);i--);for(i=0;i<o.length;i++){var s=o[i],c=e;if(n.matchBase&&1===s.length&&(c=[r]),this.matchOne(c,s,t))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},d.prototype.matchOne=function(e,t,n){var a=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,o=0,s=e.length,c=t.length;i<s&&o<c;i++,o++){this.debug("matchOne loop");var l,u=t[o],p=e[i];if(this.debug(t,u,p),!1===u)return!1;if(u===r){this.debug("GLOBSTAR",[t,u,p]);var f=i,d=o+1;if(d===c){for(this.debug("** at the end");i<s;i++)if("."===e[i]||".."===e[i]||!a.dot&&"."===e[i].charAt(0))return!1;return!0}for(;f<s;){var h=e[f];if(this.debug("\nglobstar while",e,f,t,d,h),this.matchOne(e.slice(f),t.slice(d),n))return this.debug("globstar found match!",f,s,h),!0;if("."===h||".."===h||!a.dot&&"."===h.charAt(0)){this.debug("dot detected!",e,f,t,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!n||(this.debug("\n>>> no match, partial?",e,f,t,d),f!==s))}if("string"==typeof u?(l=a.nocase?p.toLowerCase()===u.toLowerCase():p===u,this.debug("string match",u,p,l)):(l=p.match(u),this.debug("pattern match",u,p,l)),!l)return!1}if(i===s&&o===c)return!0;if(i===s)return n;if(o===c)return i===s-1&&""===e[i];throw new Error("wtf?")}},5696:e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var a="";if(n>4&&"\\"===e[3]){var r=e[2];"?"!==r&&"."!==r||"\\\\"!==e.slice(0,2)||(e=e.slice(2),a="//")}var i=e.split(/[/\\]+/);return!1!==t&&""===i[i.length-1]&&i.pop(),a+i.join("/")}},4973:(e,t,n)=>{"use strict";e.exports=n(6367)},8929:(e,t,n)=>{"use strict";const a=n(5622),r="[^\\\\/]",i="\\.",o="\\/",s="[^/]",c="(?:\\/|$)",l="(?:^|\\/)",u="\\.{1,2}(?:\\/|$)",p={DOT_LITERAL:i,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:o,ONE_CHAR:"(?=.)",QMARK:s,END_ANCHOR:c,DOTS_SLASH:u,NO_DOT:"(?!\\.)",NO_DOTS:`(?!(?:^|\\/)${u})`,NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:l},f={...p,SLASH_LITERAL:"[\\\\/]",QMARK:r,STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:a.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:p}},7494:(e,t,n)=>{"use strict";const a=n(8929),r=n(557),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=a,u=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>r.escapeRegex(e))).join("..")}return n},p=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,f=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const n={...t},f="number"==typeof n.maxLength?Math.min(i,n.maxLength):i;let d=e.length;if(d>f)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${f}`);const h={type:"bos",value:"",output:n.prepend||""},g=[h],m=n.capture?"":"?:",y=r.isWindows(t),v=a.globChars(y),b=a.extglobChars(v),{DOT_LITERAL:P,PLUS_LITERAL:S,SLASH_LITERAL:T,ONE_CHAR:O,DOTS_SLASH:E,NO_DOT:_,NO_DOT_SLASH:C,NO_DOTS_SLASH:A,QMARK:I,QMARK_NO_DOT:R,STAR:F,START_ANCHOR:x}=v,w=e=>`(${m}(?:(?!${x}${e.dot?E:P}).)*?)`,j=n.dot?"":_,N=n.dot?I:R;let L=!0===n.bash?w(n):F;n.capture&&(L=`(${L})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const D={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};e=r.removePrefix(e,D),d=e.length;const V=[],M=[],k=[];let $,B=h;const U=()=>D.index===d-1,H=D.peek=(t=1)=>e[D.index+t],K=D.advance=()=>e[++D.index],Q=()=>e.slice(D.index+1),G=(e="",t=0)=>{D.consumed+=e,D.index+=t},W=e=>{D.output+=null!=e.output?e.output:e.value,G(e.value)},q=()=>{let e=1;for(;"!"===H()&&("("!==H(2)||"?"===H(3));)K(),D.start++,e++;return e%2!=0&&(D.negated=!0,D.start++,!0)},J=e=>{D[e]++,k.push(e)},X=e=>{D[e]--,k.pop()},z=e=>{if("globstar"===B.type){const t=D.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||V.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(D.output=D.output.slice(0,-B.output.length),B.type="star",B.value="*",B.output=L,D.output+=B.output)}if(V.length&&"paren"!==e.type&&!b[e.value]&&(V[V.length-1].inner+=e.value),(e.value||e.output)&&W(e),B&&"text"===B.type&&"text"===e.type)return B.value+=e.value,void(B.output=(B.output||"")+e.value);e.prev=B,g.push(e),B=e},Y=(e,t)=>{const a={...b[t],conditions:1,inner:""};a.prev=B,a.parens=D.parens,a.output=D.output;const r=(n.capture?"(":"")+a.open;J("parens"),z({type:e,value:t,output:D.output?"":O}),z({type:"paren",extglob:!0,value:K(),output:r}),V.push(a)},Z=e=>{let t=e.close+(n.capture?")":"");if("negate"===e.type){let a=L;e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=w(n)),(a!==L||U()||/^\)+$/.test(Q()))&&(t=e.close=`)$))${a}`),"bos"===e.prev.type&&U()&&(D.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:$,output:t}),X("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let a=!1,i=e.replace(c,((e,t,n,r,i,o)=>"\\"===r?(a=!0,e):"?"===r?t?t+r+(i?I.repeat(i.length):""):0===o?N+(i?I.repeat(i.length):""):I.repeat(n.length):"."===r?P.repeat(n.length):"*"===r?t?t+r+(i?L:""):L:t?e:`\\${e}`));return!0===a&&(i=!0===n.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===n.contains?(D.output=e,D):(D.output=r.wrapOutput(i,D,t),D)}for(;!U();){if($=K(),"\0"===$)continue;if("\\"===$){const e=H();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){$+="\\",z({type:"text",value:$});continue}const t=/^\\+/.exec(Q());let a=0;if(t&&t[0].length>2&&(a=t[0].length,D.index+=a,a%2!=0&&($+="\\")),!0===n.unescape?$=K()||"":$+=K()||"",0===D.brackets){z({type:"text",value:$});continue}}if(D.brackets>0&&("]"!==$||"["===B.value||"[^"===B.value)){if(!1!==n.posix&&":"===$){const e=B.value.slice(1);if(e.includes("[")&&(B.posix=!0,e.includes(":"))){const e=B.value.lastIndexOf("["),t=B.value.slice(0,e),n=B.value.slice(e+2),a=o[n];if(a){B.value=t+a,D.backtrack=!0,K(),h.output||1!==g.indexOf(B)||(h.output=O);continue}}}("["===$&&":"!==H()||"-"===$&&"]"===H())&&($=`\\${$}`),"]"!==$||"["!==B.value&&"[^"!==B.value||($=`\\${$}`),!0===n.posix&&"!"===$&&"["===B.value&&($="^"),B.value+=$,W({value:$});continue}if(1===D.quotes&&'"'!==$){$=r.escapeRegex($),B.value+=$,W({value:$});continue}if('"'===$){D.quotes=1===D.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:$});continue}if("("===$){J("parens"),z({type:"paren",value:$});continue}if(")"===$){if(0===D.parens&&!0===n.strictBrackets)throw new SyntaxError(p("opening","("));const e=V[V.length-1];if(e&&D.parens===e.parens+1){Z(V.pop());continue}z({type:"paren",value:$,output:D.parens?")":"\\)"}),X("parens");continue}if("["===$){if(!0!==n.nobracket&&Q().includes("]"))J("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));$=`\\${$}`}z({type:"bracket",value:$});continue}if("]"===$){if(!0===n.nobracket||B&&"bracket"===B.type&&1===B.value.length){z({type:"text",value:$,output:`\\${$}`});continue}if(0===D.brackets){if(!0===n.strictBrackets)throw new SyntaxError(p("opening","["));z({type:"text",value:$,output:`\\${$}`});continue}X("brackets");const e=B.value.slice(1);if(!0===B.posix||"^"!==e[0]||e.includes("/")||($=`/${$}`),B.value+=$,W({value:$}),!1===n.literalBrackets||r.hasRegexChars(e))continue;const t=r.escapeRegex(B.value);if(D.output=D.output.slice(0,-B.value.length),!0===n.literalBrackets){D.output+=t,B.value=t;continue}B.value=`(${m}${t}|${B.value})`,D.output+=B.value;continue}if("{"===$&&!0!==n.nobrace){J("braces");const e={type:"brace",value:$,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};M.push(e),z(e);continue}if("}"===$){const e=M[M.length-1];if(!0===n.nobrace||!e){z({type:"text",value:$,output:$});continue}let t=")";if(!0===e.dots){const e=g.slice(),a=[];for(let t=e.length-1;t>=0&&(g.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&a.unshift(e[t].value);t=u(a,n),D.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=D.output.slice(0,e.outputIndex),a=D.tokens.slice(e.tokensIndex);e.value=e.output="\\{",$=t="\\}",D.output=n;for(const e of a)D.output+=e.output||e.value}z({type:"brace",value:$,output:t}),X("braces"),M.pop();continue}if("|"===$){V.length>0&&V[V.length-1].conditions++,z({type:"text",value:$});continue}if(","===$){let e=$;const t=M[M.length-1];t&&"braces"===k[k.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:$,output:e});continue}if("/"===$){if("dot"===B.type&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",g.pop(),B=h;continue}z({type:"slash",value:$,output:T});continue}if("."===$){if(D.braces>0&&"dot"===B.type){"."===B.value&&(B.output=P);const e=M[M.length-1];B.type="dots",B.output+=$,B.value+=$,e.dots=!0;continue}if(D.braces+D.parens===0&&"bos"!==B.type&&"slash"!==B.type){z({type:"text",value:$,output:P});continue}z({type:"dot",value:$,output:P});continue}if("?"===$){if(!(B&&"("===B.value)&&!0!==n.noextglob&&"("===H()&&"?"!==H(2)){Y("qmark",$);continue}if(B&&"paren"===B.type){const e=H();let t=$;if("<"===e&&!r.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===B.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(Q()))&&(t=`\\${$}`),z({type:"text",value:$,output:t});continue}if(!0!==n.dot&&("slash"===B.type||"bos"===B.type)){z({type:"qmark",value:$,output:R});continue}z({type:"qmark",value:$,output:I});continue}if("!"===$){if(!0!==n.noextglob&&"("===H()&&("?"!==H(2)||!/[!=<:]/.test(H(3)))){Y("negate",$);continue}if(!0!==n.nonegate&&0===D.index){q();continue}}if("+"===$){if(!0!==n.noextglob&&"("===H()&&"?"!==H(2)){Y("plus",$);continue}if(B&&"("===B.value||!1===n.regex){z({type:"plus",value:$,output:S});continue}if(B&&("bracket"===B.type||"paren"===B.type||"brace"===B.type)||D.parens>0){z({type:"plus",value:$});continue}z({type:"plus",value:S});continue}if("@"===$){if(!0!==n.noextglob&&"("===H()&&"?"!==H(2)){z({type:"at",extglob:!0,value:$,output:""});continue}z({type:"text",value:$});continue}if("*"!==$){"$"!==$&&"^"!==$||($=`\\${$}`);const e=s.exec(Q());e&&($+=e[0],D.index+=e[0].length),z({type:"text",value:$});continue}if(B&&("globstar"===B.type||!0===B.star)){B.type="star",B.star=!0,B.value+=$,B.output=L,D.backtrack=!0,D.globstar=!0,G($);continue}let t=Q();if(!0!==n.noextglob&&/^\([^?]/.test(t)){Y("star",$);continue}if("star"===B.type){if(!0===n.noglobstar){G($);continue}const a=B.prev,r=a.prev,i="slash"===a.type||"bos"===a.type,o=r&&("star"===r.type||"globstar"===r.type);if(!0===n.bash&&(!i||t[0]&&"/"!==t[0])){z({type:"star",value:$,output:""});continue}const s=D.braces>0&&("comma"===a.type||"brace"===a.type),c=V.length&&("pipe"===a.type||"paren"===a.type);if(!i&&"paren"!==a.type&&!s&&!c){z({type:"star",value:$,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[D.index+4];if(n&&"/"!==n)break;t=t.slice(3),G("/**",3)}if("bos"===a.type&&U()){B.type="globstar",B.value+=$,B.output=w(n),D.output=B.output,D.globstar=!0,G($);continue}if("slash"===a.type&&"bos"!==a.prev.type&&!o&&U()){D.output=D.output.slice(0,-(a.output+B.output).length),a.output=`(?:${a.output}`,B.type="globstar",B.output=w(n)+(n.strictSlashes?")":"|$)"),B.value+=$,D.globstar=!0,D.output+=a.output+B.output,G($);continue}if("slash"===a.type&&"bos"!==a.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";D.output=D.output.slice(0,-(a.output+B.output).length),a.output=`(?:${a.output}`,B.type="globstar",B.output=`${w(n)}${T}|${T}${e})`,B.value+=$,D.output+=a.output+B.output,D.globstar=!0,G($+K()),z({type:"slash",value:"/",output:""});continue}if("bos"===a.type&&"/"===t[0]){B.type="globstar",B.value+=$,B.output=`(?:^|${T}|${w(n)}${T})`,D.output=B.output,D.globstar=!0,G($+K()),z({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-B.output.length),B.type="globstar",B.output=w(n),B.value+=$,D.output+=B.output,D.globstar=!0,G($);continue}const a={type:"star",value:$,output:L};!0!==n.bash?!B||"bracket"!==B.type&&"paren"!==B.type||!0!==n.regex?(D.index!==D.start&&"slash"!==B.type&&"dot"!==B.type||("dot"===B.type?(D.output+=C,B.output+=C):!0===n.dot?(D.output+=A,B.output+=A):(D.output+=j,B.output+=j),"*"!==H()&&(D.output+=O,B.output+=O)),z(a)):(a.output=$,z(a)):(a.output=".*?","bos"!==B.type&&"slash"!==B.type||(a.output=j+a.output),z(a))}for(;D.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));D.output=r.escapeLast(D.output,"["),X("brackets")}for(;D.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing",")"));D.output=r.escapeLast(D.output,"("),X("parens")}for(;D.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","}"));D.output=r.escapeLast(D.output,"{"),X("braces")}if(!0===n.strictSlashes||"star"!==B.type&&"bracket"!==B.type||z({type:"maybe_slash",value:"",output:`${T}?`}),!0===D.backtrack){D.output="";for(const e of D.tokens)D.output+=null!=e.output?e.output:e.value,e.suffix&&(D.output+=e.suffix)}return D};f.fastpaths=(e,t)=>{const n={...t},o="number"==typeof n.maxLength?Math.min(i,n.maxLength):i,s=e.length;if(s>o)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${o}`);e=l[e]||e;const c=r.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:p,ONE_CHAR:f,DOTS_SLASH:d,NO_DOT:h,NO_DOTS:g,NO_DOTS_SLASH:m,STAR:y,START_ANCHOR:v}=a.globChars(c),b=n.dot?g:h,P=n.dot?m:h,S=n.capture?"":"?:";let T=!0===n.bash?".*?":y;n.capture&&(T=`(${T})`);const O=e=>!0===e.noglobstar?T:`(${S}(?:(?!${v}${e.dot?d:u}).)*?)`,E=e=>{switch(e){case"*":return`${b}${f}${T}`;case".*":return`${u}${f}${T}`;case"*.*":return`${b}${T}${u}${f}${T}`;case"*/*":return`${b}${T}${p}${f}${P}${T}`;case"**":return b+O(n);case"**/*":return`(?:${b}${O(n)}${p})?${P}${f}${T}`;case"**/*.*":return`(?:${b}${O(n)}${p})?${P}${T}${u}${f}${T}`;case"**/.*":return`(?:${b}${O(n)}${p})?${u}${f}${T}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=E(t[1]);if(!n)return;return n+u+t[2]}}},_=r.removePrefix(e,{negated:!1,prefix:""});let C=E(_);return C&&!0!==n.strictSlashes&&(C+=`${p}?`),C},e.exports=f},6367:(e,t,n)=>{"use strict";const a=n(5622),r=n(3803),i=n(7494),o=n(557),s=n(8929),c=(e,t,n=!1)=>{if(Array.isArray(e)){const a=e.map((e=>c(e,t,n)));return e=>{for(const t of a){const n=t(e);if(n)return n}return!1}}const a=(r=e)&&"object"==typeof r&&!Array.isArray(r)&&e.tokens&&e.input;var r;if(""===e||"string"!=typeof e&&!a)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},s=o.isWindows(t),l=a?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=l.state;delete l.state;let p=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=c(i.ignore,e,n)}const f=(n,a=!1)=>{const{isMatch:r,match:o,output:f}=c.test(n,l,t,{glob:e,posix:s}),d={glob:e,state:u,regex:l,posix:s,input:n,output:f,match:o,isMatch:r};return"function"==typeof i.onResult&&i.onResult(d),!1===r?(d.isMatch=!1,!!a&&d):p(n)?("function"==typeof i.onIgnore&&i.onIgnore(d),d.isMatch=!1,!!a&&d):("function"==typeof i.onMatch&&i.onMatch(d),!a||d)};return n&&(f.state=u),f};c.test=(e,t,n,{glob:a,posix:r}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=n||{},s=i.format||(r?o.toPosixSlashes:null);let l=e===a,u=l&&s?s(e):e;return!1===l&&(u=s?s(e):e,l=u===a),!1!==l&&!0!==i.capture||(l=!0===i.matchBase||!0===i.basename?c.matchBase(e,t,n,r):t.exec(u)),{isMatch:Boolean(l),match:l,output:u}},c.matchBase=(e,t,n,r=o.isWindows(n))=>(t instanceof RegExp?t:c.makeRe(t,n)).test(a.basename(e)),c.isMatch=(e,t,n)=>c(t,n)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):i(e,{...t,fastpaths:!1}),c.scan=(e,t)=>r(e,t),c.compileRe=(e,t,n=!1,a=!1)=>{if(!0===n)return e.output;const r=t||{},i=r.contains?"":"^",o=r.contains?"":"$";let s=`${i}(?:${e.output})${o}`;e&&!0===e.negated&&(s=`^(?!${s}).*$`);const l=c.toRegex(s,t);return!0===a&&(l.state=e),l},c.makeRe=(e,t,n=!1,a=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");const r=t||{};let o,s={negated:!1,fastpaths:!0},l="";return e.startsWith("./")&&(e=e.slice(2),l=s.prefix="./"),!1===r.fastpaths||"."!==e[0]&&"*"!==e[0]||(o=i.fastpaths(e,t)),void 0===o?(s=i(e,t),s.prefix=l+(s.prefix||"")):s.output=o,c.compileRe(s,t,n,a)},c.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=s,e.exports=c},3803:(e,t,n)=>{"use strict";const a=n(557),{CHAR_ASTERISK:r,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:s,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:f,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:h,CHAR_QUESTION_MARK:g,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:v}=n(8929),b=e=>e===u||e===o,P=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},S=e.length-1,T=!0===n.parts||!0===n.scanToEnd,O=[],E=[],_=[];let C,A,I=e,R=-1,F=0,x=0,w=!1,j=!1,N=!1,L=!1,D=!1,V=!1,M=!1,k=!1,$=!1,B=0,U={value:"",depth:0,isGlob:!1};const H=()=>R>=S,K=()=>(C=A,I.charCodeAt(++R));for(;R<S;){let e;if(A=K(),A!==o){if(!0===V||A===p){for(B++;!0!==H()&&(A=K());)if(A!==o)if(A!==p){if(!0!==V&&A===c&&(A=K())===c){if(w=U.isBrace=!0,N=U.isGlob=!0,$=!0,!0===T)continue;break}if(!0!==V&&A===s){if(w=U.isBrace=!0,N=U.isGlob=!0,$=!0,!0===T)continue;break}if(A===m&&(B--,0===B)){V=!1,w=U.isBrace=!0,$=!0;break}}else B++;else M=U.backslashes=!0,K();if(!0===T)continue;break}if(A!==u){if(!0!==n.noext){if(!0===(A===h||A===i||A===r||A===g||A===l)&&I.charCodeAt(R+1)===f){if(N=U.isGlob=!0,L=U.isExtglob=!0,$=!0,!0===T){for(;!0!==H()&&(A=K());)if(A!==o){if(A===y){N=U.isGlob=!0,$=!0;break}}else M=U.backslashes=!0,A=K();continue}break}}if(A===r){if(C===r&&(D=U.isGlobstar=!0),N=U.isGlob=!0,$=!0,!0===T)continue;break}if(A===g){if(N=U.isGlob=!0,$=!0,!0===T)continue;break}if(A===d)for(;!0!==H()&&(e=K());)if(e!==o){if(e===v){if(j=U.isBracket=!0,N=U.isGlob=!0,$=!0,!0===T)continue;break}}else M=U.backslashes=!0,K();if(!0===n.nonegate||A!==l||R!==F){if(!0!==n.noparen&&A===f){if(N=U.isGlob=!0,!0===T){for(;!0!==H()&&(A=K());)if(A!==f){if(A===y){$=!0;break}}else M=U.backslashes=!0,A=K();continue}break}if(!0===N){if($=!0,!0===T)continue;break}}else k=U.negated=!0,F++}else{if(O.push(R),E.push(U),U={value:"",depth:0,isGlob:!1},!0===$)continue;if(C===c&&R===F+1){F+=2;continue}x=R+1}}else M=U.backslashes=!0,A=K(),A===p&&(V=!0)}!0===n.noext&&(L=!1,N=!1);let Q=I,G="",W="";F>0&&(G=I.slice(0,F),I=I.slice(F),x-=F),Q&&!0===N&&x>0?(Q=I.slice(0,x),W=I.slice(x)):!0===N?(Q="",W=I):Q=I,Q&&""!==Q&&"/"!==Q&&Q!==I&&b(Q.charCodeAt(Q.length-1))&&(Q=Q.slice(0,-1)),!0===n.unescape&&(W&&(W=a.removeBackslashes(W)),Q&&!0===M&&(Q=a.removeBackslashes(Q)));const q={prefix:G,input:e,start:F,base:Q,glob:W,isBrace:w,isBracket:j,isGlob:N,isExtglob:L,isGlobstar:D,negated:k};if(!0===n.tokens&&(q.maxDepth=0,b(A)||E.push(U),q.tokens=E),!0===n.parts||!0===n.tokens){let t;for(let a=0;a<O.length;a++){const r=t?t+1:F,i=O[a],o=e.slice(r,i);n.tokens&&(0===a&&0!==F?(E[a].isPrefix=!0,E[a].value=G):E[a].value=o,P(E[a]),q.maxDepth+=E[a].depth),0===a&&""===o||_.push(o),t=i}if(t&&t+1<e.length){const a=e.slice(t+1);_.push(a),n.tokens&&(E[E.length-1].value=a,P(E[E.length-1]),q.maxDepth+=E[E.length-1].depth)}q.slashes=O,q.parts=_}return q}},557:(e,t,n)=>{"use strict";const a=n(5622),r="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:c}=n(8929);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>s.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(i,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===a.sep,t.escapeLast=(e,n,a)=>{const r=e.lastIndexOf(n,a);return-1===r?e:"\\"===e[r-1]?t.escapeLast(e,n,r-1):`${e.slice(0,r)}\\${e.slice(r)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let a=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(a=`(?:^(?!${a}).*$)`),a}},5552:e=>{"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,n,a){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var r,i,o=arguments.length;switch(o){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function(){e.call(null,t)}));case 3:return process.nextTick((function(){e.call(null,t,n)}));case 4:return process.nextTick((function(){e.call(null,t,n,a)}));default:for(r=new Array(o-1),i=0;i<r.length;)r[i++]=arguments[i];return process.nextTick((function(){e.apply(null,r)}))}}}:e.exports=process},5101:(e,t,n)=>{"use strict";var a=n(5552),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=p;var i=Object.create(n(2862));i.inherits=n(5822);var o=n(6246),s=n(609);i.inherits(p,o);for(var c=r(s.prototype),l=0;l<c.length;l++){var u=c[l];p.prototype[u]||(p.prototype[u]=s.prototype[u])}function p(e){if(!(this instanceof p))return new p(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||a.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(p.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),p.prototype._destroy=function(e,t){this.push(null),this.end(),a.nextTick(t,e)}},7153:(e,t,n)=>{"use strict";e.exports=i;var a=n(6889),r=Object.create(n(2862));function i(e){if(!(this instanceof i))return new i(e);a.call(this,e)}r.inherits=n(5822),r.inherits(i,a),i.prototype._transform=function(e,t,n){n(null,e)}},6246:(e,t,n)=>{"use strict";var a=n(5552);e.exports=v;var r,i=n(1538);v.ReadableState=y;n(8614).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=n(4804),c=n(682).Buffer,l=global.Uint8Array||function(){};var u=Object.create(n(2862));u.inherits=n(5822);var p=n(1669),f=void 0;f=p&&p.debuglog?p.debuglog("stream"):function(){};var d,h=n(5335),g=n(6946);u.inherits(v,s);var m=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var a=t instanceof(r=r||n(5101));this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:a&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n(8234).s),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function v(e){if(r=r||n(5101),!(this instanceof v))return new v(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function b(e,t,n,a,r){var i,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,O(e)}(e,o)):(r||(i=function(e,t){var n;a=t,c.isBuffer(a)||a instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var a;return n}(o,t)),i?e.emit("error",i):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),a?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):P(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?P(e,o,t,!1):_(e,o)):P(e,o,t,!1))):a||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function P(e,t,n,a){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,a?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&O(e)),_(e,t)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var n,a=this._readableState;return a.objectMode?n=!0:"string"==typeof e&&((t=t||a.defaultEncoding)!==a.encoding&&(e=c.from(e,t),t=""),n=!0),b(this,e,t,!1,n)},v.prototype.unshift=function(e){return b(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return d||(d=n(8234).s),this._readableState.decoder=new d(e),this._readableState.encoding=e,this};var S=8388608;function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?a.nextTick(E,e):E(e))}function E(e){f("emit readable"),e.emit("readable"),R(e)}function _(e,t){t.readingMore||(t.readingMore=!0,a.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function A(e){f("readable nexttick read 0"),e.read(0)}function I(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function F(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var a;e<t.head.data.length?(a=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):a=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,a=1,r=n.data;e-=r.length;for(;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++a,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++a}return t.length-=a,r}(e,t):function(e,t){var n=c.allocUnsafe(e),a=t.head,r=1;a.data.copy(n),e-=a.data.length;for(;a=a.next;){var i=a.data,o=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,o),0===(e-=o)){o===i.length?(++r,a.next?t.head=a.next:t.head=t.tail=null):(t.head=a,a.data=i.slice(o));break}++r}return t.length-=r,n}(e,t);return a}(e,t.buffer,t.decoder),n);var n}function x(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,a.nextTick(w,t,e))}function w(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j(e,t){for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1}v.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?x(this):O(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&x(this),null;var a,r=t.needReadable;return f("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",r=!0),t.ended||t.reading?f("reading or ended",r=!1):r&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(a=e>0?F(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&x(this)),null!==a&&this.emit("data",a),a},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,f("pipe count=%d opts=%j",r.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:v;function c(t,a){f("onunpipe"),t===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,f("cleanup"),e.removeListener("close",m),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",l),n.removeListener("end",v),n.removeListener("data",h),p=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){f("onend"),e.end()}r.endEmitted?a.nextTick(s):n.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,R(e))}}(n);e.on("drain",u);var p=!1;var d=!1;function h(t){f("ondata"),d=!1,!1!==e.write(t)||d||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==j(r.pipes,e))&&!p&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,d=!0),n.pause())}function g(t){f("onerror",t),v(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",y),v()}function y(){f("onfinish"),e.removeListener("close",m),v()}function v(){f("unpipe"),n.unpipe(e)}return n.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",m),e.once("finish",y),e.emit("pipe",n),r.flowing||(f("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var a=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)a[i].emit("unpipe",this,n);return this}var o=j(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},v.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&O(this):a.nextTick(A,this))}return n},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,a.nextTick(I,e,t))}(this,e)),this},v.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,n=this._readableState,a=!1;for(var r in e.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(r){(f("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r)||(n.objectMode||r&&r.length)&&(t.push(r)||(a=!0,e.pause()))})),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var i=0;i<m.length;i++)e.on(m[i],this.emit.bind(this,m[i]));return this._read=function(t){f("wrapped _read",t),a&&(a=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=F},6889:(e,t,n)=>{"use strict";e.exports=o;var a=n(5101),r=Object.create(n(2862));function i(e,t){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),a(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);a.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){c(e,t,n)})):c(this,null,null)}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}r.inherits=n(5822),r.inherits(o,a),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){var a=this._transformState;if(a.writecb=n,a.writechunk=e,a.writeencoding=t,!a.transforming){var r=this._readableState;(a.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;a.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},609:(e,t,n)=>{"use strict";var a=n(5552);function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var a=e.entry;e.entry=null;for(;a;){var r=a.callback;t.pendingcb--,r(n),a=a.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=m;var i,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;m.WritableState=g;var s=Object.create(n(2862));s.inherits=n(5822);var c={deprecate:n(8767)},l=n(4804),u=n(682).Buffer,p=global.Uint8Array||function(){};var f,d=n(6946);function h(){}function g(e,t){i=i||n(5101),e=e||{};var s=t instanceof i;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var p=!1===e.decodeStrings;this.decodeStrings=!p,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(a.nextTick(i,r),a.nextTick(T,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),T(e,t))}(e,n,r,t,i);else{var s=P(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||b(e,n),r?o(v,e,n,s,i):v(e,n,s,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function m(e){if(i=i||n(5101),!(f.call(m,this)||this instanceof i))return new m(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function y(e,t,n,a,r,i,o){t.writelen=a,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,i,t.onwrite),t.sync=!1}function v(e,t,n,a){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,a(),T(e,t)}function b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var a=t.bufferedRequestCount,i=new Array(a),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,y(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,p=n.callback;if(y(e,t,!1,t.objectMode?1:l.length,l,u,p),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),T(e,t)}))}function T(e,t){var n=P(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}s.inherits(m,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===m&&(e&&e._writableState instanceof g)}})):f=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,s=!i.objectMode&&(r=e,u.isBuffer(r)||r instanceof p);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=h),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),a.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a.nextTick(r,o),i=!1),i}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,a,r,i){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n));return t}(t,a,r);a!==o&&(n=!0,r="buffer",a=o)}var s=t.objectMode?1:a.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:a,encoding:r,isBuf:n,callback:i,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,s,a,r,i);return c}(this,i,s,e,t,n)),o},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||b(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,T(e,t),n&&(t.finished?a.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}},5335:(e,t,n)=>{"use strict";var a=n(682).Buffer,r=n(1669);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return a.alloc(0);if(1===this.length)return this.head.data;for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,t.copy(n,r),s+=o.data.length,o=o.next;return i},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},6946:(e,t,n)=>{"use strict";var a=n(5552);function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||a.nextTick(r,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(a.nextTick(r,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},4804:(e,t,n)=>{e.exports=n(2413)},1538:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},682:(e,t,n)=>{var a=n(4293),r=a.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=a:(i(a,t),t.Buffer=o),i(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var a=r(e);return void 0!==t?"string"==typeof n?a.fill(t,n):a.fill(t):a.fill(0),a},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},8234:(e,t,n)=>{"use strict";var a=n(682).Buffer,r=a.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(a.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var a=t.length-1;if(a<n)return 0;var r=o(t[a]);if(r>=0)return r>0&&(e.lastNeed=r-1),r;if(--a<n||-2===r)return 0;if((r=o(t[a]))>=0)return r>0&&(e.lastNeed=r-2),r;if(--a<n||-2===r)return 0;if((r=o(t[a]))>=0)return r>0&&(2===r?r=0:e.lastNeed=r-3),r;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var a=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,a),e.toString("utf8",t,a)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},8295:(e,t,n)=>{var a=n(2413);"disable"===process.env.READABLE_STREAM&&a?(e.exports=a,(t=e.exports=a.Readable).Readable=a.Readable,t.Writable=a.Writable,t.Duplex=a.Duplex,t.Transform=a.Transform,t.PassThrough=a.PassThrough,t.Stream=a):((t=e.exports=n(6246)).Stream=a||t,t.Readable=t,t.Writable=n(609),t.Duplex=n(5101),t.Transform=n(6889),t.PassThrough=n(7153))},2775:()=>{var e;!function(e){!function(t){var n="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),a=r(e);function r(e,t){return function(n,a){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:a}),t&&t(n,a)}}void 0===n.Reflect?n.Reflect=e:a=r(n.Reflect,a),function(e){var t=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,a=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",r=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",i="function"==typeof Object.create,o={__proto__:[]}instanceof Array,s=!i&&!o,c={create:i?function(){return ae(Object.create(null))}:o?function(){return ae({__proto__:null})}:function(){return ae({})},has:s?function(e,n){return t.call(e,n)}:function(e,t){return t in e},get:s?function(e,n){return t.call(e,n)?e[n]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),u="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,p=u||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?ee():Map,f=u||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?te():Set,d=new(u||"function"!=typeof WeakMap?ne():WeakMap);function h(e,t,n,a){if(L(n)){if(!K(e))throw new TypeError;if(!G(t))throw new TypeError;return E(e,t)}if(!K(e))throw new TypeError;if(!M(t))throw new TypeError;if(!M(a)&&!L(a)&&!D(a))throw new TypeError;return D(a)&&(a=void 0),_(e,t,n=H(n),a)}function g(e,t){function n(n,a){if(!M(n))throw new TypeError;if(!L(a)&&!W(a))throw new TypeError;x(e,t,n,a)}return n}function m(e,t,n,a){if(!M(n))throw new TypeError;return L(a)||(a=H(a)),x(e,t,n,a)}function y(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),A(e,t,n)}function v(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),I(e,t,n)}function b(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),R(e,t,n)}function P(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),F(e,t,n)}function S(e,t){if(!M(e))throw new TypeError;return L(t)||(t=H(t)),w(e,t)}function T(e,t){if(!M(e))throw new TypeError;return L(t)||(t=H(t)),j(e,t)}function O(e,t,n){if(!M(t))throw new TypeError;L(n)||(n=H(n));var a=C(t,n,!1);if(L(a))return!1;if(!a.delete(e))return!1;if(a.size>0)return!0;var r=d.get(t);return r.delete(n),r.size>0||d.delete(t),!0}function E(e,t){for(var n=e.length-1;n>=0;--n){var a=(0,e[n])(t);if(!L(a)&&!D(a)){if(!G(a))throw new TypeError;t=a}}return t}function _(e,t,n,a){for(var r=e.length-1;r>=0;--r){var i=(0,e[r])(t,n,a);if(!L(i)&&!D(i)){if(!M(i))throw new TypeError;a=i}}return a}function C(e,t,n){var a=d.get(e);if(L(a)){if(!n)return;a=new p,d.set(e,a)}var r=a.get(t);if(L(r)){if(!n)return;r=new p,a.set(t,r)}return r}function A(e,t,n){if(I(e,t,n))return!0;var a=Z(t);return!D(a)&&A(e,a,n)}function I(e,t,n){var a=C(t,n,!1);return!L(a)&&B(a.has(e))}function R(e,t,n){if(I(e,t,n))return F(e,t,n);var a=Z(t);return D(a)?void 0:R(e,a,n)}function F(e,t,n){var a=C(t,n,!1);if(!L(a))return a.get(e)}function x(e,t,n,a){C(n,a,!0).set(e,t)}function w(e,t){var n=j(e,t),a=Z(e);if(null===a)return n;var r=w(a,t);if(r.length<=0)return n;if(n.length<=0)return r;for(var i=new f,o=[],s=0,c=n;s<c.length;s++){var l=c[s];i.has(l)||(i.add(l),o.push(l))}for(var u=0,p=r;u<p.length;u++){l=p[u];i.has(l)||(i.add(l),o.push(l))}return o}function j(e,t){var n=[],a=C(e,t,!1);if(L(a))return n;for(var r=J(a.keys()),i=0;;){var o=z(r);if(!o)return n.length=i,n;var s=X(o);try{n[i]=s}catch(e){try{Y(r)}finally{throw e}}i++}}function N(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function L(e){return void 0===e}function D(e){return null===e}function V(e){return"symbol"==typeof e}function M(e){return"object"==typeof e?null!==e:"function"==typeof e}function k(e,t){switch(N(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=q(e,a);if(void 0!==r){var i=r.call(e,n);if(M(i))throw new TypeError;return i}return $(e,"default"===n?"number":n)}function $(e,t){if("string"===t){var n=e.toString;if(Q(n))if(!M(r=n.call(e)))return r;if(Q(a=e.valueOf))if(!M(r=a.call(e)))return r}else{var a;if(Q(a=e.valueOf))if(!M(r=a.call(e)))return r;var r,i=e.toString;if(Q(i))if(!M(r=i.call(e)))return r}throw new TypeError}function B(e){return!!e}function U(e){return""+e}function H(e){var t=k(e,3);return V(t)?t:U(t)}function K(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function Q(e){return"function"==typeof e}function G(e){return"function"==typeof e}function W(e){switch(N(e)){case 3:case 4:return!0;default:return!1}}function q(e,t){var n=e[t];if(null!=n){if(!Q(n))throw new TypeError;return n}}function J(e){var t=q(e,r);if(!Q(t))throw new TypeError;var n=t.call(e);if(!M(n))throw new TypeError;return n}function X(e){return e.value}function z(e){var t=e.next();return!t.done&&t}function Y(e){var t=e.return;t&&t.call(e)}function Z(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,a=n&&Object.getPrototypeOf(n);if(null==a||a===Object.prototype)return t;var r=a.constructor;return"function"!=typeof r||r===e?t:r}function ee(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[r]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var a=this._keys.length,r=n+1;r<a;r++)this._keys[r-1]=this._keys[r],this._values[r-1]=this._values[r];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,a)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[r]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function a(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}function te(){return function(){function e(){this._map=new p}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[r]=function(){return this.keys()},e}()}function ne(){var e=16,n=c.create(),a=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var e;do{e="@@WeakMap@@"+l()}while(c.has(n,e));return n[e]=!0,e}function i(e,n){if(!t.call(e,a)){if(!n)return;Object.defineProperty(e,a,{value:c.create()})}return e[a]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):o(new Uint8Array(e),e):o(new Array(e),e)}function l(){var t=s(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",a=0;a<e;++a){var r=t[a];4!==a&&6!==a&&8!==a||(n+="-"),r<16&&(n+="0"),n+=r.toString(16).toLowerCase()}return n}}function ae(e){return e.__=void 0,delete e.__,e}e("decorate",h),e("metadata",g),e("defineMetadata",m),e("hasMetadata",y),e("hasOwnMetadata",v),e("getMetadata",b),e("getOwnMetadata",P),e("getMetadataKeys",S),e("getOwnMetadataKeys",T),e("deleteMetadata",O)}(a)}()}(e||(e={}))},9948:e=>{var t="win32"===process.platform;function n(e,n){var a=e[n];return n>0&&("/"===a||t&&"\\"===a)}e.exports=function(e){var t=e.length-1;if(t<2)return e;for(;n(e,t);)t--;return e.substr(0,t+1)}},7174:e=>{"use strict";e.exports=function(e){var t=new e,n=t;return{get:function(){var a=t;return a.next?t=a.next:(t=new e,n=t),a.next=null,a},release:function(e){n.next=e,n=e}}}},1670:e=>{e.exports=function(e,t){var n,a,r,i=!0;Array.isArray(e)?(n=[],a=e.length):(r=Object.keys(e),n={},a=r.length);function o(e){function a(){t&&t(e,n),t=null}i?process.nextTick(a):a()}function s(e,t,r){n[e]=r,(0==--a||t)&&o(t)}a?r?r.forEach((function(t){e[t]((function(e,n){s(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){s(t,e,n)}))})):o(null);i=!1}},9871:(e,t,n)=>{!function(e){e.parser=function(e,t){return new r(e,t)},e.SAXParser=r,e.SAXStream=o,e.createStream=function(e,t){return new o(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function r(t,n){if(!(this instanceof r))return new r(t,n);var i=this;!function(e){for(var t=0,n=a.length;t<n;t++)e[a[t]]=""}(i),i.q=i.c="",i.bufferCheckPosition=e.MAX_BUFFER_LENGTH,i.opt=n||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!t,i.noscript=!(!t&&!i.opt.noscript),i.state=T.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(l)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),E(i,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),r.prototype={end:function(){R(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return I(n,"Cannot write after close. Assign an onready handler.");if(null===t)return R(n);"object"==typeof t&&(t=t.toString());var r=0,i="";for(;i=M(t,r++),n.c=i,i;)switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case T.BEGIN:if(n.state=T.BEGIN_WHITESPACE,"\ufeff"===i)continue;V(n,i);continue;case T.BEGIN_WHITESPACE:V(n,i);continue;case T.TEXT:if(n.sawRoot&&!n.closedRoot){for(var o=r-1;i&&"<"!==i&&"&"!==i;)(i=M(t,r++))&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(o,r-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(h(i)||n.sawRoot&&!n.closedRoot||F(n,"Text data outside of root node."),"&"===i?n.state=T.TEXT_ENTITY:n.textNode+=i):(n.state=T.OPEN_WAKA,n.startTagPosition=n.position);continue;case T.SCRIPT:"<"===i?n.state=T.SCRIPT_ENDING:n.script+=i;continue;case T.SCRIPT_ENDING:"/"===i?n.state=T.CLOSE_TAG:(n.script+="<"+i,n.state=T.SCRIPT);continue;case T.OPEN_WAKA:if("!"===i)n.state=T.SGML_DECL,n.sgmlDecl="";else if(h(i));else if(y(u,i))n.state=T.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=T.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=T.PROC_INST,n.procInstName=n.procInstBody="";else{if(F(n,"Unencoded <"),n.startTagPosition+1<n.position){var s=n.position-n.startTagPosition;i=new Array(s).join(" ")+i}n.textNode+="<"+i,n.state=T.TEXT}continue;case T.SGML_DECL:"[CDATA["===(n.sgmlDecl+i).toUpperCase()?(_(n,"onopencdata"),n.state=T.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+i==="--"?(n.state=T.COMMENT,n.comment="",n.sgmlDecl=""):"DOCTYPE"===(n.sgmlDecl+i).toUpperCase()?(n.state=T.DOCTYPE,(n.doctype||n.sawRoot)&&F(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(_(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=T.TEXT):g(i)?(n.state=T.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case T.SGML_DECL_QUOTED:i===n.q&&(n.state=T.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case T.DOCTYPE:">"===i?(n.state=T.TEXT,_(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=T.DOCTYPE_DTD:g(i)&&(n.state=T.DOCTYPE_QUOTED,n.q=i));continue;case T.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=T.DOCTYPE);continue;case T.DOCTYPE_DTD:n.doctype+=i,"]"===i?n.state=T.DOCTYPE:g(i)&&(n.state=T.DOCTYPE_DTD_QUOTED,n.q=i);continue;case T.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=T.DOCTYPE_DTD,n.q="");continue;case T.COMMENT:"-"===i?n.state=T.COMMENT_ENDING:n.comment+=i;continue;case T.COMMENT_ENDING:"-"===i?(n.state=T.COMMENT_ENDED,n.comment=A(n.opt,n.comment),n.comment&&_(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=T.COMMENT);continue;case T.COMMENT_ENDED:">"!==i?(F(n,"Malformed comment"),n.comment+="--"+i,n.state=T.COMMENT):n.state=T.TEXT;continue;case T.CDATA:"]"===i?n.state=T.CDATA_ENDING:n.cdata+=i;continue;case T.CDATA_ENDING:"]"===i?n.state=T.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=T.CDATA);continue;case T.CDATA_ENDING_2:">"===i?(n.cdata&&_(n,"oncdata",n.cdata),_(n,"onclosecdata"),n.cdata="",n.state=T.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=T.CDATA);continue;case T.PROC_INST:"?"===i?n.state=T.PROC_INST_ENDING:h(i)?n.state=T.PROC_INST_BODY:n.procInstName+=i;continue;case T.PROC_INST_BODY:if(!n.procInstBody&&h(i))continue;"?"===i?n.state=T.PROC_INST_ENDING:n.procInstBody+=i;continue;case T.PROC_INST_ENDING:">"===i?(_(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=T.TEXT):(n.procInstBody+="?"+i,n.state=T.PROC_INST_BODY);continue;case T.OPEN_TAG:y(p,i)?n.tagName+=i:(x(n),">"===i?N(n):"/"===i?n.state=T.OPEN_TAG_SLASH:(h(i)||F(n,"Invalid character in tag name"),n.state=T.ATTRIB));continue;case T.OPEN_TAG_SLASH:">"===i?(N(n,!0),L(n)):(F(n,"Forward-slash in opening tag not followed by >"),n.state=T.ATTRIB);continue;case T.ATTRIB:if(h(i))continue;">"===i?N(n):"/"===i?n.state=T.OPEN_TAG_SLASH:y(u,i)?(n.attribName=i,n.attribValue="",n.state=T.ATTRIB_NAME):F(n,"Invalid attribute name");continue;case T.ATTRIB_NAME:"="===i?n.state=T.ATTRIB_VALUE:">"===i?(F(n,"Attribute without value"),n.attribValue=n.attribName,j(n),N(n)):h(i)?n.state=T.ATTRIB_NAME_SAW_WHITE:y(p,i)?n.attribName+=i:F(n,"Invalid attribute name");continue;case T.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=T.ATTRIB_VALUE;else{if(h(i))continue;F(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",_(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?N(n):y(u,i)?(n.attribName=i,n.state=T.ATTRIB_NAME):(F(n,"Invalid attribute name"),n.state=T.ATTRIB)}continue;case T.ATTRIB_VALUE:if(h(i))continue;g(i)?(n.q=i,n.state=T.ATTRIB_VALUE_QUOTED):(F(n,"Unquoted attribute value"),n.state=T.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case T.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=T.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}j(n),n.q="",n.state=T.ATTRIB_VALUE_CLOSED;continue;case T.ATTRIB_VALUE_CLOSED:h(i)?n.state=T.ATTRIB:">"===i?N(n):"/"===i?n.state=T.OPEN_TAG_SLASH:y(u,i)?(F(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=T.ATTRIB_NAME):F(n,"Invalid attribute name");continue;case T.ATTRIB_VALUE_UNQUOTED:if(!m(i)){"&"===i?n.state=T.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}j(n),">"===i?N(n):n.state=T.ATTRIB;continue;case T.CLOSE_TAG:if(n.tagName)">"===i?L(n):y(p,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=T.SCRIPT):(h(i)||F(n,"Invalid tagname in closing tag"),n.state=T.CLOSE_TAG_SAW_WHITE);else{if(h(i))continue;v(u,i)?n.script?(n.script+="</"+i,n.state=T.SCRIPT):F(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case T.CLOSE_TAG_SAW_WHITE:if(h(i))continue;">"===i?L(n):F(n,"Invalid characters in closing tag");continue;case T.TEXT_ENTITY:case T.ATTRIB_VALUE_ENTITY_Q:case T.ATTRIB_VALUE_ENTITY_U:var c,l;switch(n.state){case T.TEXT_ENTITY:c=T.TEXT,l="textNode";break;case T.ATTRIB_VALUE_ENTITY_Q:c=T.ATTRIB_VALUE_QUOTED,l="attribValue";break;case T.ATTRIB_VALUE_ENTITY_U:c=T.ATTRIB_VALUE_UNQUOTED,l="attribValue"}";"===i?(n[l]+=D(n),n.entity="",n.state=c):y(n.entity.length?d:f,i)?n.entity+=i:(F(n,"Invalid character in entity name"),n[l]+="&"+n.entity+i,n.entity="",n.state=c);continue;default:throw new Error(n,"Unknown state: "+n.state)}n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),r=0,i=0,o=a.length;i<o;i++){var s=t[a[i]].length;if(s>n)switch(a[i]){case"textNode":C(t);break;case"cdata":_(t,"oncdata",t.cdata),t.cdata="";break;case"script":_(t,"onscript",t.script),t.script="";break;default:I(t,"Max buffer length exceeded: "+a[i])}r=Math.max(r,s)}var c=e.MAX_BUFFER_LENGTH-r;t.bufferCheckPosition=c+t.position}(n);return n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;C(e=this),""!==e.cdata&&(_(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(_(e,"onscript",e.script),e.script="")}};try{t=n(2413).Stream}catch(e){t=function(){}}var i=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function o(e,n){if(!(this instanceof o))return new o(e,n);t.apply(this),this._parser=new r(e,n),this.writable=!0,this.readable=!0;var a=this;this._parser.onend=function(){a.emit("end")},this._parser.onerror=function(e){a.emit("error",e),a._parser.error=null},this._decoder=null,i.forEach((function(e){Object.defineProperty(a,"on"+e,{get:function(){return a._parser["on"+e]},set:function(t){if(!t)return a.removeAllListeners(e),a._parser["on"+e]=t,t;a.on(e,t)},enumerable:!0,configurable:!1})}))}o.prototype=Object.create(t.prototype,{constructor:{value:o}}),o.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=n(4304).StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},o.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},o.prototype.on=function(e,n){var a=this;return a._parser["on"+e]||-1===i.indexOf(e)||(a._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),a.emit.apply(a,t)}),t.prototype.on.call(a,e,n)};var s="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",l={xml:s,xmlns:c},u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function g(e){return'"'===e||"'"===e}function m(e){return">"===e||h(e)}function y(e,t){return e.test(t)}function v(e,t){return!y(e,t)}var b,P,S,T=0;for(var O in e.STATE={BEGIN:T++,BEGIN_WHITESPACE:T++,TEXT:T++,TEXT_ENTITY:T++,OPEN_WAKA:T++,SGML_DECL:T++,SGML_DECL_QUOTED:T++,DOCTYPE:T++,DOCTYPE_QUOTED:T++,DOCTYPE_DTD:T++,DOCTYPE_DTD_QUOTED:T++,COMMENT_STARTING:T++,COMMENT:T++,COMMENT_ENDING:T++,COMMENT_ENDED:T++,CDATA:T++,CDATA_ENDING:T++,CDATA_ENDING_2:T++,PROC_INST:T++,PROC_INST_BODY:T++,PROC_INST_ENDING:T++,OPEN_TAG:T++,OPEN_TAG_SLASH:T++,ATTRIB:T++,ATTRIB_NAME:T++,ATTRIB_NAME_SAW_WHITE:T++,ATTRIB_VALUE:T++,ATTRIB_VALUE_QUOTED:T++,ATTRIB_VALUE_CLOSED:T++,ATTRIB_VALUE_UNQUOTED:T++,ATTRIB_VALUE_ENTITY_Q:T++,ATTRIB_VALUE_ENTITY_U:T++,CLOSE_TAG:T++,CLOSE_TAG_SAW_WHITE:T++,SCRIPT:T++,SCRIPT_ENDING:T++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],a="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=a})),e.STATE)e.STATE[e.STATE[O]]=O;function E(e,t,n){e[t]&&e[t](n)}function _(e,t,n){e.textNode&&C(e),E(e,t,n)}function C(e){e.textNode=A(e.opt,e.textNode),e.textNode&&E(e,"ontext",e.textNode),e.textNode=""}function A(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function I(e,t){return C(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,E(e,"onerror",t),e}function R(e){return e.sawRoot&&!e.closedRoot&&F(e,"Unclosed root tag"),e.state!==T.BEGIN&&e.state!==T.BEGIN_WHITESPACE&&e.state!==T.TEXT&&I(e,"Unexpected end"),C(e),e.c="",e.closed=!0,E(e,"onend"),r.call(e,e.strict,e.opt),e}function F(e,t){if("object"!=typeof e||!(e instanceof r))throw new Error("bad call to strictFail");e.strict&&I(e,t)}function x(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,_(e,"onopentagstart",n)}function w(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),a=n[0],r=n[1];return t&&"xmlns"===e&&(a="xmlns",r=""),{prefix:a,local:r}}function j(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=w(e.attribName,!0),n=t.prefix,a=t.local;if("xmlns"===n)if("xml"===a&&e.attribValue!==s)F(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===a&&e.attribValue!==c)F(e,"xmlns: prefix must be bound to "+c+"\nActual: "+e.attribValue);else{var r=e.tag,i=e.tags[e.tags.length-1]||e;r.ns===i.ns&&(r.ns=Object.create(i.ns)),r.ns[a]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,_(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function N(e,t){if(e.opt.xmlns){var n=e.tag,a=w(e.tagName);n.prefix=a.prefix,n.local=a.local,n.uri=n.ns[a.prefix]||"",n.prefix&&!n.uri&&(F(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=a.prefix);var r=e.tags[e.tags.length-1]||e;n.ns&&r.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){_(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,o=e.attribList.length;i<o;i++){var s=e.attribList[i],c=s[0],l=s[1],u=w(c,!0),p=u.prefix,f=u.local,d=""===p?"":n.ns[p]||"",h={name:c,value:l,prefix:p,local:f,uri:d};p&&"xmlns"!==p&&!d&&(F(e,"Unbound namespace prefix: "+JSON.stringify(p)),h.uri=p),e.tag.attributes[c]=h,_(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),_(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=T.TEXT:e.state=T.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function L(e){if(!e.tagName)return F(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=T.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=T.SCRIPT);_(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var a=n;t--;){if(e.tags[t].name===a)break;F(e,"Unexpected close tag")}if(t<0)return F(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=T.TEXT);e.tagName=n;for(var r=e.tags.length;r-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,_(e,"onclosetag",e.tagName);var o={};for(var s in i.ns)o[s]=i.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==c.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];_(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=T.TEXT}function D(e){var t,n=e.entity,a=n.toLowerCase(),r="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[a]?e.ENTITIES[a]:("#"===(n=a).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),r=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),r=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==n?(F(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function V(e,t){"<"===t?(e.state=T.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(F(e,"Non-whitespace before first tag."),e.textNode=t,e.state=T.TEXT)}function M(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}T=e.STATE,String.fromCodePoint||(b=String.fromCharCode,P=Math.floor,S=function(){var e,t,n=16384,a=[],r=-1,i=arguments.length;if(!i)return"";for(var o="";++r<i;){var s=Number(arguments[r]);if(!isFinite(s)||s<0||s>1114111||P(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?a.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,a.push(e,t)),(r+1===i||a.length>n)&&(o+=b.apply(null,a),a.length=0)}return o},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:S,configurable:!0,writable:!0}):String.fromCodePoint=S)}(t)},9764:e=>{"use strict";e.exports=e=>{const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},6627:(e,t,n)=>{"use strict";const a=n(3253);e.exports=e=>{if(!Buffer.isBuffer(e))throw new TypeError("Expected a Buffer, got "+typeof e);return 239===e[0]&&187===e[1]&&191===e[2]&&a(e)?e.slice(3):e}},8525:(e,t,n)=>{"use strict";var a=n(2937),r=n(6635);e.exports=function(){return a({chunkLength:3},(function(e,t,n,a){e?a(e):a(null,r(t))}))}},6635:(e,t,n)=>{"use strict";var a=n(3253);e.exports=function(e){return"string"==typeof e&&65279===e.charCodeAt(0)?e.slice(1):Buffer.isBuffer(e)&&a(e)&&239===e[0]&&187===e[1]&&191===e[2]?e.slice(3):e}},3611:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["Makefile","Rakefile","ada","adb","ads","applescript","as","ascx","asm","asmx","asp","aspx","atom","bas","bash","bashrc","bat","bbcolors","bdsgroup","bdsproj","bib","bowerrc","c","cbl","cc","cfc","cfg","cfm","cfml","cgi","clj","cls","cmake","cmd","cnf","cob","coffee","coffeekup","conf","cpp","cpt","cpy","crt","cs","csh","cson","csr","css","csslintrc","csv","ctl","curlrc","cxx","dart","dfm","diff","dof","dpk","dproj","dtd","eco","editorconfig","ejs","el","emacs","eml","ent","erb","erl","eslintignore","eslintrc","ex","exs","f","f03","f77","f90","f95","fish","for","fpp","frm","ftn","gemrc","gitattributes","gitconfig","gitignore","gitkeep","gitmodules","go","gpp","gradle","groovy","groupproj","grunit","gtmpl","gvimrc","h","haml","hbs","hgignore","hh","hpp","hrl","hs","hta","htaccess","htc","htm","html","htpasswd","hxx","iced","inc","ini","ino","int","irbrc","itcl","itermcolors","itk","jade","java","jhtm","jhtml","js","jscsrc","jshintignore","jshintrc","json","json5","jsonld","jsp","jspx","jsx","ksh","less","lhs","lisp","log","ls","lsp","lua","m","mak","map","markdown","master","md","mdown","mdwn","mdx","metadata","mht","mhtml","mjs","mk","mkd","mkdn","mkdown","ml","mli","mm","mxml","nfm","nfo","njk","noon","npmignore","npmrc","nvmrc","ops","pas","pasm","patch","pbxproj","pch","pem","pg","php","php3","php4","php5","phpt","phtml","pir","pl","pm","pmc","pod","pot","properties","props","pt","pug","py","r","rake","rb","rdoc","rdoc_options","resx","rhtml","rjs","rlib","rmd","ron","rs","rss","rst","rtf","rvmrc","rxml","s","sass","scala","scm","scss","seestyle","sh","shtml","sls","spec","sql","sqlite","ss","sss","st","strings","sty","styl","stylus","sub","sublime-build","sublime-commands","sublime-completions","sublime-keymap","sublime-macro","sublime-menu","sublime-project","sublime-settings","sublime-workspace","sv","svc","svg","t","tcl","tcsh","terminal","tex","text","textile","tg","tmLanguage","tmTheme","tmpl","tpl","ts","tsv","tsx","tt","tt2","ttml","txt","v","vb","vbs","vh","vhd","vhdl","vim","viminfo","vimrc","vue","webapp","wxml","wxss","x-php","xht","xhtml","xml","xs","xsd","xsl","xslt","yaml","yml","zsh","zshrc"]},5858:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var a=t.length-1,r=1;r<a;++r)t[r]=t[r].slice(1,-1);return t[a]=t[a].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function a(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function r(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function o(e,t){var n=e;if(t)for(var a in t)n[a]=t[a];return n}function s(e){var a="[A-Za-z]",r="[0-9]",i=t(r,"[A-Fa-f]"),o=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),l=e?"[\\uE000-\\uF8FF]":"[]",u=t(a,r,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),p=n(a+t(a,r,"[\\+\\-\\.]")+"*"),f=n(n(o+"|"+t(u,s,"[\\:]"))+"*"),d=(n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("[1-9]"+r)+"|"+r),n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("0?[1-9]"+r)+"|0?0?"+r)),h=n(d+"\\."+d+"\\."+d+"\\."+d),g=n(i+"{1,4}"),m=n(n(g+"\\:"+g)+"|"+h),y=n(n(g+"\\:")+"{6}"+m),v=n("\\:\\:"+n(g+"\\:")+"{5}"+m),b=n(n(g)+"?\\:\\:"+n(g+"\\:")+"{4}"+m),P=n(n(n(g+"\\:")+"{0,1}"+g)+"?\\:\\:"+n(g+"\\:")+"{3}"+m),S=n(n(n(g+"\\:")+"{0,2}"+g)+"?\\:\\:"+n(g+"\\:")+"{2}"+m),T=n(n(n(g+"\\:")+"{0,3}"+g)+"?\\:\\:"+g+"\\:"+m),O=n(n(n(g+"\\:")+"{0,4}"+g)+"?\\:\\:"+m),E=n(n(n(g+"\\:")+"{0,5}"+g)+"?\\:\\:"+g),_=n(n(n(g+"\\:")+"{0,6}"+g)+"?\\:\\:"),C=n([y,v,b,P,S,T,O,E,_].join("|")),A=n(n(u+"|"+o)+"+"),I=(n(C+"\\%25"+A),n(C+n("\\%25|\\%(?!"+i+"{2})")+A)),R=n("[vV]"+i+"+\\."+t(u,s,"[\\:]")+"+"),F=n("\\["+n(I+"|"+C+"|"+R)+"\\]"),x=n(n(o+"|"+t(u,s))+"*"),w=n(F+"|"+h+"(?!"+x+")|"+x),j=n(r+"*"),N=n(n(f+"@")+"?"+w+n("\\:"+j)+"?"),L=n(o+"|"+t(u,s,"[\\:\\@]")),D=n(L+"*"),V=n(L+"+"),M=n(n(o+"|"+t(u,s,"[\\@]"))+"+"),k=n(n("\\/"+D)+"*"),$=n("\\/"+n(V+k)+"?"),B=n(M+k),U=n(V+k),H="(?!"+L+")",K=(n(k+"|"+$+"|"+B+"|"+U+"|"+H),n(n(L+"|"+t("[\\/\\?]",l))+"*")),Q=n(n(L+"|[\\/\\?]")+"*"),G=n(n("\\/\\/"+N+k)+"|"+$+"|"+U+"|"+H),W=n(p+"\\:"+G+n("\\?"+K)+"?"+n("\\#"+Q)+"?"),q=n(n("\\/\\/"+N+k)+"|"+$+"|"+B+"|"+H),J=n(q+n("\\?"+K)+"?"+n("\\#"+Q)+"?");return n(W+"|"+J),n(p+"\\:"+G+n("\\?"+K)+"?"),n(n("\\/\\/("+n("("+f+")@")+"?("+w+")"+n("\\:("+j+")")+"?)")+"?("+k+"|"+$+"|"+U+"|"+H+")"),n("\\?("+K+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+f+")@")+"?("+w+")"+n("\\:("+j+")")+"?)")+"?("+k+"|"+$+"|"+B+"|"+H+")"),n("\\?("+K+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+f+")@")+"?("+w+")"+n("\\:("+j+")")+"?)")+"?("+k+"|"+$+"|"+U+"|"+H+")"),n("\\?("+K+")"),n("\\#("+Q+")"),n("("+f+")@"),n("\\:("+j+")"),{NOT_SCHEME:new RegExp(t("[^]",a,r,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,s),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,c),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+C+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+A+")")+"?\\]?$")}}var c=s(!1),l=s(!0),u=function(){function e(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},f=2147483647,d=36,h=1,g=26,m=38,y=700,v=72,b=128,P="-",S=/^xn--/,T=/[^\0-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=d-h,C=Math.floor,A=String.fromCharCode;function I(e){throw new RangeError(E[e])}function R(e,t){for(var n=[],a=e.length;a--;)n[a]=t(e[a]);return n}function F(e,t){var n=e.split("@"),a="";return n.length>1&&(a=n[0]+"@",e=n[1]),a+R((e=e.replace(O,".")).split("."),t).join(".")}function x(e){for(var t=[],n=0,a=e.length;n<a;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<a){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t}var w=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d},j=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},N=function(e,t,n){var a=0;for(e=n?C(e/y):e>>1,e+=C(e/t);e>_*g>>1;a+=d)e=C(e/_);return C(a+(_+1)*e/(e+m))},L=function(e){var t=[],n=e.length,a=0,r=b,i=v,o=e.lastIndexOf(P);o<0&&(o=0);for(var s=0;s<o;++s)e.charCodeAt(s)>=128&&I("not-basic"),t.push(e.charCodeAt(s));for(var c=o>0?o+1:0;c<n;){for(var l=a,u=1,p=d;;p+=d){c>=n&&I("invalid-input");var m=w(e.charCodeAt(c++));(m>=d||m>C((f-a)/u))&&I("overflow"),a+=m*u;var y=p<=i?h:p>=i+g?g:p-i;if(m<y)break;var S=d-y;u>C(f/S)&&I("overflow"),u*=S}var T=t.length+1;i=N(a-l,T,0==l),C(a/T)>f-r&&I("overflow"),r+=C(a/T),a%=T,t.splice(a++,0,r)}return String.fromCodePoint.apply(String,t)},D=function(e){var t=[],n=(e=x(e)).length,a=b,r=0,i=v,o=!0,s=!1,c=void 0;try{for(var l,u=e[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var p=l.value;p<128&&t.push(A(p))}}catch(e){s=!0,c=e}finally{try{!o&&u.return&&u.return()}finally{if(s)throw c}}var m=t.length,y=m;for(m&&t.push(P);y<n;){var S=f,T=!0,O=!1,E=void 0;try{for(var _,R=e[Symbol.iterator]();!(T=(_=R.next()).done);T=!0){var F=_.value;F>=a&&F<S&&(S=F)}}catch(e){O=!0,E=e}finally{try{!T&&R.return&&R.return()}finally{if(O)throw E}}var w=y+1;S-a>C((f-r)/w)&&I("overflow"),r+=(S-a)*w,a=S;var L=!0,D=!1,V=void 0;try{for(var M,k=e[Symbol.iterator]();!(L=(M=k.next()).done);L=!0){var $=M.value;if($<a&&++r>f&&I("overflow"),$==a){for(var B=r,U=d;;U+=d){var H=U<=i?h:U>=i+g?g:U-i;if(B<H)break;var K=B-H,Q=d-H;t.push(A(j(H+K%Q,0))),B=C(K/Q)}t.push(A(j(B,0))),i=N(r,w,y==m),r=0,++y}}}catch(e){D=!0,V=e}finally{try{!L&&k.return&&k.return()}finally{if(D)throw V}}++r,++a}return t.join("")},V=function(e){return F(e,(function(e){return S.test(e)?L(e.slice(4).toLowerCase()):e}))},M=function(e){return F(e,(function(e){return T.test(e)?"xn--"+D(e):e}))},k={version:"2.1.0",ucs2:{decode:x,encode:function(e){return String.fromCodePoint.apply(String,p(e))}},decode:L,encode:D,toASCII:M,toUnicode:V},$={};function B(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,a=e.length;n<a;){var r=parseInt(e.substr(n+1,2),16);if(r<128)t+=String.fromCharCode(r),n+=3;else if(r>=194&&r<224){if(a-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&r)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(r>=224){if(a-n>=9){var o=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function H(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,B).replace(t.PCT_ENCODED,r)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,B).replace(t.PCT_ENCODED,r)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,B).replace(t.PCT_ENCODED,r)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,B).replace(t.PCT_ENCODED,r)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,B).replace(t.PCT_ENCODED,r)),e}function K(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],a=u(n,2)[1];return a?a.split(".").map(K).join("."):e}function G(e,t){var n=e.match(t.IPV6ADDRESS)||[],a=u(n,3),r=a[1],i=a[2];if(r){for(var o=r.toLowerCase().split("::").reverse(),s=u(o,2),c=s[0],l=s[1],p=l?l.split(":").map(K):[],f=c.split(":").map(K),d=t.IPV4ADDRESS.test(f[f.length-1]),h=d?7:8,g=f.length-h,m=Array(h),y=0;y<h;++y)m[y]=p[y]||f[g+y]||"";d&&(m[h-1]=Q(m[h-1],t));var v=m.reduce((function(e,t,n){if(!t||"0"===t){var a=e[e.length-1];a&&a.index+a.length===n?a.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var P=m.slice(0,v.index),S=m.slice(v.index+v.length);b=P.join(":")+"::"+S.join(":")}else b=m.join(":");return i&&(b+="%"+i),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,q=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},a=!1!==t.iri?l:c;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var r=e.match(W);if(r){q?(n.scheme=r[1],n.userinfo=r[3],n.host=r[4],n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=r[7],n.fragment=r[8],isNaN(n.port)&&(n.port=r[5])):(n.scheme=r[1]||void 0,n.userinfo=-1!==e.indexOf("@")?r[3]:void 0,n.host=-1!==e.indexOf("//")?r[4]:void 0,n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=-1!==e.indexOf("?")?r[7]:void 0,n.fragment=-1!==e.indexOf("#")?r[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?r[4]:void 0)),n.host&&(n.host=G(Q(n.host,a),a)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=$[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)H(n,a);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=k.toASCII(n.host.replace(a.PCT_ENCODED,U).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}H(n,c)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function X(e,t){var n=!1!==t.iri?l:c,a=[];return void 0!==e.userinfo&&(a.push(e.userinfo),a.push("@")),void 0!==e.host&&a.push(G(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"==typeof e.port&&(a.push(":"),a.push(e.port.toString(10))),a.length?a.join(""):void 0}var z=/^\.\.?\//,Y=/^\/\.(\/|$)/,Z=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(z))e=e.replace(z,"");else if(e.match(Y))e=e.replace(Y,"/");else if(e.match(Z))e=e.replace(Z,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var a=n[0];e=e.slice(a.length),t.push(a)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?l:c,a=[],r=$[(t.scheme||e.scheme||"").toLowerCase()];if(r&&r.serialize&&r.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||r&&r.domainHost)try{e.host=t.iri?k.toUnicode(e.host):k.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}H(e,n),"suffix"!==t.reference&&e.scheme&&(a.push(e.scheme),a.push(":"));var i=X(e,t);if(void 0!==i&&("suffix"!==t.reference&&a.push("//"),a.push(i),e.path&&"/"!==e.path.charAt(0)&&a.push("/")),void 0!==e.path){var o=e.path;t.absolutePath||r&&r.absolutePath||(o=te(o)),void 0===i&&(o=o.replace(/^\/\//,"/%2F")),a.push(o)}return void 0!==e.query&&(a.push("?"),a.push(e.query)),void 0!==e.fragment&&(a.push("#"),a.push(e.fragment)),a.join("")}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=te(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=te(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=te(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function re(e,t,n){var a=o({scheme:"null"},n);return ne(ae(J(e,a),J(t,a),a,!0),a)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===a(e)&&(e=J(ne(e,t),t)),e}function oe(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===a(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===a(t)&&(t=ne(t,n)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?l.ESCAPE:c.ESCAPE,B)}function ce(e,t){return e&&e.toString().replace(t&&t.iri?l.PCT_ENCODED:c.PCT_ENCODED,U)}var le={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},ue={scheme:"https",domainHost:le.domainHost,parse:le.parse,serialize:le.serialize},pe={},fe="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",de="[0-9A-Fa-f]",he=n(n("%[EFef]"+de+"%"+de+de+"%"+de+de)+"|"+n("%[89A-Fa-f]"+de+"%"+de+de)+"|"+n("%"+de+de)),ge="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",me=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ye="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ve=new RegExp(fe,"g"),be=new RegExp(he,"g"),Pe=new RegExp(t("[^]",ge,"[\\.]",'[\\"]',me),"g"),Se=new RegExp(t("[^]",fe,ye),"g"),Te=Se;function Oe(e){var t=U(e);return t.match(ve)?t:e}var Ee={scheme:"mailto",parse:function(e,t){var n=e,a=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var r=!1,i={},o=n.query.split("&"),s=0,c=o.length;s<c;++s){var l=o[s].split("=");switch(l[0]){case"to":for(var u=l[1].split(","),p=0,f=u.length;p<f;++p)a.push(u[p]);break;case"subject":n.subject=ce(l[1],t);break;case"body":n.body=ce(l[1],t);break;default:r=!0,i[ce(l[0],t)]=ce(l[1],t)}}r&&(n.headers=i)}n.query=void 0;for(var d=0,h=a.length;d<h;++d){var g=a[d].split("@");if(g[0]=ce(g[0]),t.unicodeSupport)g[1]=ce(g[1],t).toLowerCase();else try{g[1]=k.toASCII(ce(g[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}a[d]=g.join("@")}return n},serialize:function(e,t){var n=e,a=i(e.to);if(a){for(var o=0,s=a.length;o<s;++o){var c=String(a[o]),l=c.lastIndexOf("@"),u=c.slice(0,l).replace(be,Oe).replace(be,r).replace(Pe,B),p=c.slice(l+1);try{p=t.iri?k.toUnicode(p):k.toASCII(ce(p,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}a[o]=u+"@"+p}n.path=a.join(",")}var f=e.headers=e.headers||{};e.subject&&(f.subject=e.subject),e.body&&(f.body=e.body);var d=[];for(var h in f)f[h]!==pe[h]&&d.push(h.replace(be,Oe).replace(be,r).replace(Se,B)+"="+f[h].replace(be,Oe).replace(be,r).replace(Te,B));return d.length&&(n.query=d.join("&")),n}},_e=/^([^\:]+)\:(.*)/,Ce={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(_e),a=e;if(n){var r=t.scheme||a.scheme||"urn",i=n[1].toLowerCase(),o=n[2],s=r+":"+(t.nid||i),c=$[s];a.nid=i,a.nss=o,a.path=void 0,c&&(a=c.parse(a,t))}else a.error=a.error||"URN can not be parsed.";return a},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",a=e.nid,r=n+":"+(t.nid||a),i=$[r];i&&(e=i.serialize(e,t));var o=e,s=e.nss;return o.path=(a||t.nid)+":"+s,o}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ie={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};$[le.scheme]=le,$[ue.scheme]=ue,$[Ee.scheme]=Ee,$[Ce.scheme]=Ce,$[Ie.scheme]=Ie,e.SCHEMES=$,e.pctEncChar=B,e.pctDecChars=U,e.parse=J,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=ae,e.resolve=re,e.normalize=ie,e.equal=oe,e.escapeComponent=se,e.unescapeComponent=ce,Object.defineProperty(e,"__esModule",{value:!0})}(t)},8767:(e,t,n)=>{e.exports=n(1669).deprecate},5762:(e,t,n)=>{"use strict";const a=n(5622),r=n(2159),i=n(6627),o=n(8525),s=n(3356),c=n(9417)(r);t.read=(e,t)=>{const n=(t=t||{}).cwd||process.cwd(),l=t.base||n;return e=a.resolve(n,e),c.stat(e).then((a=>{const u=new s({cwd:n,base:l,path:e,stat:a});return!1===t.read?u:!1===t.buffer?(u.contents=r.createReadStream(e).pipe(o()),u):c.readFile(e).then((e=>(u.contents=i(e),u)))}))},t.readSync=(e,t)=>{const n=(t=t||{}).cwd||process.cwd(),c=t.base||n;let l;return e=a.resolve(n,e),!1!==t.read&&(l=!1===t.buffer?r.createReadStream(e).pipe(o()):i(r.readFileSync(e))),new s({cwd:n,base:c,path:e,stat:r.statSync(e),contents:l})}},9417:e=>{"use strict";var t=function(e,t,n){return function(){for(var a=this,r=new Array(arguments.length),i=0;i<arguments.length;i++)r[i]=arguments[i];return new t((function(t,i){r.push((function(e,a){if(e)i(e);else if(n.multiArgs){for(var r=new Array(arguments.length-1),o=1;o<arguments.length;o++)r[o-1]=arguments[o];t(r)}else t(a)})),e.apply(a,r)}))}},n=e.exports=function(e,n,a){"function"!=typeof n&&(a=n,n=Promise),(a=a||{}).exclude=a.exclude||[/.+Sync$/];var r="function"==typeof e?function(){return a.excludeMain?e.apply(this,arguments):t(e,n,a).apply(this,arguments)}:{};return Object.keys(e).reduce((function(r,i){var o=e[i];return r[i]="function"==typeof o&&function(e){var t=function(t){return"string"==typeof t?e===t:t.test(e)};return a.include?a.include.some(t):!a.exclude.some(t)}(i)?t(o,n,a):o,r}),r)};n.all=n},3356:(e,t,n)=>{"use strict";var a=n(5622),r=n(1669),i=n(4293).Buffer.isBuffer,o=n(2278),s=n(2059),c=n(6972),l=n(4736),u=n(9111),p=n(9948),f=n(9783),d=n(4886),h=n(1380),g=["_contents","_symlink","contents","stat","history","path","_base","base","_cwd","cwd"];function m(e){var t=this;e||(e={}),this.stat=e.stat||null,this.contents=e.contents||null;var n=Array.prototype.slice.call(e.history||[]);e.path&&n.push(e.path),this.history=[],n.forEach((function(e){t.path=e})),this.cwd=e.cwd||process.cwd(),this.base=e.base,this._isVinyl=!0,this._symlink=null,Object.keys(e).forEach((function(n){t.constructor.isCustomProp(n)&&(t[n]=e[n])}))}m.prototype.isBuffer=function(){return i(this.contents)},m.prototype.isStream=function(){return f(this.contents)},m.prototype.isNull=function(){return null===this.contents},m.prototype.isDirectory=function(){return!!this.isNull()&&(!(!this.stat||"function"!=typeof this.stat.isDirectory)&&this.stat.isDirectory())},m.prototype.isSymbolic=function(){return!!this.isNull()&&(!(!this.stat||"function"!=typeof this.stat.isSymbolicLink)&&this.stat.isSymbolicLink())},m.prototype.clone=function(e){var t,n=this;"boolean"==typeof e?e={deep:e,contents:!0}:e?(e.deep=!0===e.deep,e.contents=!1!==e.contents):e={deep:!0,contents:!0},this.isStream()?t=this.contents.clone():this.isBuffer()&&(t=e.contents?u(this.contents):this.contents);var a=new this.constructor({cwd:this.cwd,base:this.base,stat:this.stat?l(this.stat):null,history:this.history.slice(),contents:t});return this.isSymbolic()&&(a.symlink=this.symlink),Object.keys(this).forEach((function(t){n.constructor.isCustomProp(t)&&(a[t]=e.deep?o(n[t],!0):n[t])})),a},m.prototype.inspect=function(){var e=[],t=this.path?this.relative:null;return t&&e.push('"'+t+'"'),this.isBuffer()&&e.push(this.contents.inspect()),this.isStream()&&e.push(h(this.contents)),"<File "+e.join(" ")+">"},r.inspect.custom&&(m.prototype[r.inspect.custom]=m.prototype.inspect),m.isCustomProp=function(e){return-1===g.indexOf(e)},m.isVinyl=function(e){return e&&!0===e._isVinyl||!1},Object.defineProperty(m.prototype,"contents",{get:function(){return this._contents},set:function(e){if(!i(e)&&!f(e)&&null!==e)throw new Error("File.contents can only be a Buffer, a Stream, or null.");f(e)&&!s.isCloneable(e)&&(e=s(e)),this._contents=e}}),Object.defineProperty(m.prototype,"cwd",{get:function(){return this._cwd},set:function(e){if(!e||"string"!=typeof e)throw new Error("cwd must be a non-empty string.");this._cwd=p(d(e))}}),Object.defineProperty(m.prototype,"base",{get:function(){return this._base||this._cwd},set:function(e){if(null!=e){if("string"!=typeof e||!e)throw new Error("base must be a non-empty string, or null/undefined.");(e=p(d(e)))!==this._cwd?this._base=e:delete this._base}else delete this._base}}),Object.defineProperty(m.prototype,"relative",{get:function(){if(!this.path)throw new Error("No path specified! Can not get relative.");return a.relative(this.base,this.path)},set:function(){throw new Error("File.relative is generated from the base and path attributes. Do not modify it.")}}),Object.defineProperty(m.prototype,"dirname",{get:function(){if(!this.path)throw new Error("No path specified! Can not get dirname.");return a.dirname(this.path)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set dirname.");this.path=a.join(e,this.basename)}}),Object.defineProperty(m.prototype,"basename",{get:function(){if(!this.path)throw new Error("No path specified! Can not get basename.");return a.basename(this.path)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set basename.");this.path=a.join(this.dirname,e)}}),Object.defineProperty(m.prototype,"stem",{get:function(){if(!this.path)throw new Error("No path specified! Can not get stem.");return a.basename(this.path,this.extname)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set stem.");this.path=a.join(this.dirname,e+this.extname)}}),Object.defineProperty(m.prototype,"extname",{get:function(){if(!this.path)throw new Error("No path specified! Can not get extname.");return a.extname(this.path)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set extname.");this.path=c(this.path,e)}}),Object.defineProperty(m.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){if("string"!=typeof e)throw new Error("path should be a string.");(e=p(d(e)))&&e!==this.path&&this.history.push(e)}}),Object.defineProperty(m.prototype,"symlink",{get:function(){return this._symlink},set:function(e){if("string"!=typeof e)throw new Error("symlink should be a string");this._symlink=p(d(e))}}),e.exports=m},1380:e=>{"use strict";e.exports=function(e){var t=e.constructor.name;return"Stream"===t&&(t=""),"<"+t+"Stream>"}},9783:e=>{"use strict";e.exports=function(e){return!!e&&"function"==typeof e.pipe}},4886:(e,t,n)=>{"use strict";var a=n(5622);e.exports=function(e){return""===e?e:a.normalize(e)}},2278:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,a;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{a=Promise}catch(e){a=function(){}}function r(i,s,c,l,u){"object"==typeof s&&(c=s.depth,l=s.prototype,u=s.includeNonEnumerable,s=s.circular);var p=[],f=[],d="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var g,m;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,n))g=new n;else if(e(c,a))g=new a((function(e,t){c.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,o(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(d&&Buffer.isBuffer(c))return g=Buffer.allocUnsafe?Buffer.allocUnsafe(c.length):new Buffer(c.length),c.copy(g),g;e(c,Error)?g=Object.create(c):void 0===l?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(l),m=l)}if(s){var y=p.indexOf(c);if(-1!=y)return f[y];p.push(c),f.push(g)}for(var v in e(c,t)&&c.forEach((function(e,t){var n=i(t,h-1),a=i(e,h-1);g.set(n,a)})),e(c,n)&&c.forEach((function(e){var t=i(e,h-1);g.add(t)})),c){var b;m&&(b=Object.getOwnPropertyDescriptor(m,v)),b&&null==b.set||(g[v]=i(c[v],h-1))}if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(c);for(v=0;v<P.length;v++){var S=P[v];(!(O=Object.getOwnPropertyDescriptor(c,S))||O.enumerable||u)&&(g[S]=i(c[S],h-1),O.enumerable||Object.defineProperty(g,S,{enumerable:!1}))}}if(u){var T=Object.getOwnPropertyNames(c);for(v=0;v<T.length;v++){var O,E=T[v];(O=Object.getOwnPropertyDescriptor(c,E))&&O.enumerable||(g[E]=i(c[E],h-1),Object.defineProperty(g,E,{enumerable:!1}))}}return g}(i,c)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return r.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},r.__objToStr=i,r.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},r.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},r.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},r.__getRegExpFlags=o,r}();e.exports&&(e.exports=t)},6972:(e,t,n)=>{"use strict";var a=n(5622);e.exports=function(e,t){if("string"!=typeof e)return e;if(0===e.length)return e;var n,r=a.basename(e,a.extname(e))+t,i=a.join(a.dirname(e),r);return(n=e.slice(0,2))==="."+a.sep||"./"===n?"."+a.sep+i:i}},7725:e=>{e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},4139:(e,t,n)=>{var a=n(5707),r=n(4096),i=n(2160),o=n(1473);e.exports={xml2js:a,xml2json:r,js2xml:i,json2xml:o}},2160:(e,t,n)=>{var a,r,i=n(4314),o=n(7725).isArray;function s(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function c(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,r,a));var i,o,c,l,u=[];for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&void 0!==e[i]&&(l=t.noQuotesForNativeAttributes&&"string"!=typeof e[i]?"":'"',o=(o=""+e[i]).replace(/"/g,"&quot;"),c="attributeNameFn"in t?t.attributeNameFn(i,o,r,a):i,u.push(t.spaces&&t.indentAttributes?s(t,n+1,!1):" "),u.push(c+"="+l+("attributeValueFn"in t?t.attributeValueFn(o,i,r,a):o)+l));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(s(t,n,!1)),u.join("")}function l(e,t,n){return a=e,r="xml",t.ignoreDeclaration?"":"<?xml"+c(e[t.attributesKey],t,n)+"?>"}function u(e,t,n){if(t.ignoreInstruction)return"";var i;for(i in e)if(e.hasOwnProperty(i))break;var o="instructionNameFn"in t?t.instructionNameFn(i,e[i],r,a):i;if("object"==typeof e[i])return a=e,r=o,"<?"+o+c(e[i][t.attributesKey],t,n)+"?>";var s=e[i]?e[i]:"";return"instructionFn"in t&&(s=t.instructionFn(s,i,r,a)),"<?"+o+(s?" "+s:"")+"?>"}function p(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,r,a):e)+"--\x3e"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,r,a):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function d(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,r,a):e)+">"}function h(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,r,a):e)}function g(e,t,n,i){return e.reduce((function(e,o){var l=s(t,n,i&&!e);switch(o.type){case"element":return e+l+function(e,t,n){a=e,r=e.name;var i=[],o="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;i.push("<"+o),e[t.attributesKey]&&i.push(c(e[t.attributesKey],t,n));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return s||(s="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),s?(i.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(i.push(g(e[t.elementsKey],t,n+1)),a=e,r=e.name),i.push(t.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":default:return!0}return!1}(e,t)?"\n"+Array(n+1).join(t.spaces):""),i.push("</"+o+">")):i.push("/>"),i.join("")}(o,t,n);case"comment":return e+l+p(o[t.commentKey],t);case"doctype":return e+l+d(o[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?l:"")+f(o[t.cdataKey],t);case"text":return e+(t.indentText?l:"")+h(o[t.textKey],t);case"instruction":var m={};return m[o[t.nameKey]]=o[t.attributesKey]?o:o[t.instructionKey],e+(t.indentInstruction?l:"")+u(m,t,n)}}),"")}function m(e,t,n){var a;for(a in e)if(e.hasOwnProperty(a))switch(a){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function y(e,t,n,i,o){a=e,r=t;var l="elementNameFn"in n?n.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+l+"></"+l+">":"<"+l+"/>";var u=[];if(t){if(u.push("<"+l),"object"!=typeof e)return u.push(">"+h(e,n)+"</"+l+">"),u.join("");e[n.attributesKey]&&u.push(c(e[n.attributesKey],n,i));var p=m(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(p||(p="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!p)return u.push("/>"),u.join("");u.push(">")}return u.push(v(e,n,i+1,!1)),a=e,r=t,t&&u.push((o?s(n,i,!1):"")+"</"+l+">"),u.join("")}function v(e,t,n,a){var r,i,c,g=[];for(i in e)if(e.hasOwnProperty(i))for(c=o(e[i])?e[i]:[e[i]],r=0;r<c.length;++r){switch(i){case t.declarationKey:g.push(l(c[r],t,n));break;case t.instructionKey:g.push((t.indentInstruction?s(t,n,a):"")+u(c[r],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:g.push((t.indentText?s(t,n,a):"")+h(c[r],t));break;case t.cdataKey:g.push((t.indentCdata?s(t,n,a):"")+f(c[r],t));break;case t.doctypeKey:g.push(s(t,n,a)+d(c[r],t));break;case t.commentKey:g.push(s(t,n,a)+p(c[r],t));break;default:g.push(s(t,n,a)+y(c[r],i,t,n,m(c[r],t)))}a=a&&!g.length}return g.join("")}e.exports=function(e,t){t=function(e){var t=i.copyOptions(e);return i.ensureFlagExists("ignoreDeclaration",t),i.ensureFlagExists("ignoreInstruction",t),i.ensureFlagExists("ignoreAttributes",t),i.ensureFlagExists("ignoreText",t),i.ensureFlagExists("ignoreComment",t),i.ensureFlagExists("ignoreCdata",t),i.ensureFlagExists("ignoreDoctype",t),i.ensureFlagExists("compact",t),i.ensureFlagExists("indentText",t),i.ensureFlagExists("indentCdata",t),i.ensureFlagExists("indentAttributes",t),i.ensureFlagExists("indentInstruction",t),i.ensureFlagExists("fullTagEmptyElement",t),i.ensureFlagExists("noQuotesForNativeAttributes",t),i.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),i.ensureKeyExists("declaration",t),i.ensureKeyExists("instruction",t),i.ensureKeyExists("attributes",t),i.ensureKeyExists("text",t),i.ensureKeyExists("comment",t),i.ensureKeyExists("cdata",t),i.ensureKeyExists("doctype",t),i.ensureKeyExists("type",t),i.ensureKeyExists("name",t),i.ensureKeyExists("elements",t),i.checkFnExists("doctype",t),i.checkFnExists("instruction",t),i.checkFnExists("cdata",t),i.checkFnExists("comment",t),i.checkFnExists("text",t),i.checkFnExists("instructionName",t),i.checkFnExists("elementName",t),i.checkFnExists("attributeName",t),i.checkFnExists("attributeValue",t),i.checkFnExists("attributes",t),i.checkFnExists("fullTagEmptyElement",t),t}(t);var n=[];return a=e,r="_root_",t.compact?n.push(v(e,t,0,!0)):(e[t.declarationKey]&&n.push(l(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(g(e[t.elementsKey],t,0,!n.length))),n.join("")}},1473:(e,t,n)=>{var a=n(2160);e.exports=function(e,t){e instanceof Buffer&&(e=e.toString());var n=null;if("string"==typeof e)try{n=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else n=e;return a(n,t)}},4314:(e,t,n)=>{var a=n(7725).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||a(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},5707:(e,t,n)=>{var a,r,i=n(9871),o=n(4314),s=n(7725).isArray;function c(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function l(e,t){var n;if(a.compact){if(!r[a[e+"Key"]]&&(s(a.alwaysArray)?-1!==a.alwaysArray.indexOf(a[e+"Key"]):a.alwaysArray)&&(r[a[e+"Key"]]=[]),r[a[e+"Key"]]&&!s(r[a[e+"Key"]])&&(r[a[e+"Key"]]=[r[a[e+"Key"]]]),e+"Fn"in a&&"string"==typeof t&&(t=a[e+"Fn"](t,r)),"instruction"===e&&("instructionFn"in a||"instructionNameFn"in a))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in a)t[n]=a.instructionFn(t[n],n,r);else{var i=t[n];delete t[n],t[a.instructionNameFn(n,i,r)]=i}s(r[a[e+"Key"]])?r[a[e+"Key"]].push(t):r[a[e+"Key"]]=t}else{r[a.elementsKey]||(r[a.elementsKey]=[]);var o={};if(o[a.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;o[a.nameKey]="instructionNameFn"in a?a.instructionNameFn(n,t,r):n,a.instructionHasAttributes?(o[a.attributesKey]=t[n][a.attributesKey],"instructionFn"in a&&(o[a.attributesKey]=a.instructionFn(o[a.attributesKey],n,r))):("instructionFn"in a&&(t[n]=a.instructionFn(t[n],n,r)),o[a.instructionKey]=t[n])}else e+"Fn"in a&&(t=a[e+"Fn"](t,r)),o[a[e+"Key"]]=t;a.addParent&&(o[a.parentKey]=r),r[a.elementsKey].push(o)}}function u(e){var t;if("attributesFn"in a&&e&&(e=a.attributesFn(e,r)),(a.trim||"attributeValueFn"in a||"attributeNameFn"in a||a.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(a.trim&&(e[t]=e[t].trim()),a.nativeTypeAttributes&&(e[t]=c(e[t])),"attributeValueFn"in a&&(e[t]=a.attributeValueFn(e[t],t,r)),"attributeNameFn"in a)){var n=e[t];delete e[t],e[a.attributeNameFn(t,e[t],r)]=n}return e}function p(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||a.instructionHasAttributes)){for(var n,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=i.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=u(t)}if("xml"===e.name.toLowerCase()){if(a.ignoreDeclaration)return;r[a.declarationKey]={},Object.keys(t).length&&(r[a.declarationKey][a.attributesKey]=t),a.addParent&&(r[a.declarationKey][a.parentKey]=r)}else{if(a.ignoreInstruction)return;a.trim&&(e.body=e.body.trim());var o={};a.instructionHasAttributes&&Object.keys(t).length?(o[e.name]={},o[e.name][a.attributesKey]=t):o[e.name]=e.body,l("instruction",o)}}function f(e,t){var n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=u(t),"elementNameFn"in a&&(e=a.elementNameFn(e,r)),a.compact){var i;if(n={},!a.ignoreAttributes&&t&&Object.keys(t).length)for(i in n[a.attributesKey]={},t)t.hasOwnProperty(i)&&(n[a.attributesKey][i]=t[i]);!(e in r)&&(s(a.alwaysArray)?-1!==a.alwaysArray.indexOf(e):a.alwaysArray)&&(r[e]=[]),r[e]&&!s(r[e])&&(r[e]=[r[e]]),s(r[e])?r[e].push(n):r[e]=n}else r[a.elementsKey]||(r[a.elementsKey]=[]),(n={})[a.typeKey]="element",n[a.nameKey]=e,!a.ignoreAttributes&&t&&Object.keys(t).length&&(n[a.attributesKey]=t),a.alwaysChildren&&(n[a.elementsKey]=[]),r[a.elementsKey].push(n);n[a.parentKey]=r,r=n}function d(e){a.ignoreText||(e.trim()||a.captureSpacesBetweenElements)&&(a.trim&&(e=e.trim()),a.nativeType&&(e=c(e)),a.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),l("text",e))}function h(e){a.ignoreComment||(a.trim&&(e=e.trim()),l("comment",e))}function g(e){var t=r[a.parentKey];a.addParent||delete r[a.parentKey],r=t}function m(e){a.ignoreCdata||(a.trim&&(e=e.trim()),l("cdata",e))}function y(e){a.ignoreDoctype||(e=e.replace(/^ /,""),a.trim&&(e=e.trim()),l("doctype",e))}function v(e){e.note=e}e.exports=function(e,t){var n=i.parser(!0,{}),s={};if(r=s,a=function(e){return a=o.copyOptions(e),o.ensureFlagExists("ignoreDeclaration",a),o.ensureFlagExists("ignoreInstruction",a),o.ensureFlagExists("ignoreAttributes",a),o.ensureFlagExists("ignoreText",a),o.ensureFlagExists("ignoreComment",a),o.ensureFlagExists("ignoreCdata",a),o.ensureFlagExists("ignoreDoctype",a),o.ensureFlagExists("compact",a),o.ensureFlagExists("alwaysChildren",a),o.ensureFlagExists("addParent",a),o.ensureFlagExists("trim",a),o.ensureFlagExists("nativeType",a),o.ensureFlagExists("nativeTypeAttributes",a),o.ensureFlagExists("sanitize",a),o.ensureFlagExists("instructionHasAttributes",a),o.ensureFlagExists("captureSpacesBetweenElements",a),o.ensureAlwaysArrayExists(a),o.ensureKeyExists("declaration",a),o.ensureKeyExists("instruction",a),o.ensureKeyExists("attributes",a),o.ensureKeyExists("text",a),o.ensureKeyExists("comment",a),o.ensureKeyExists("cdata",a),o.ensureKeyExists("doctype",a),o.ensureKeyExists("type",a),o.ensureKeyExists("name",a),o.ensureKeyExists("elements",a),o.ensureKeyExists("parent",a),o.checkFnExists("doctype",a),o.checkFnExists("instruction",a),o.checkFnExists("cdata",a),o.checkFnExists("comment",a),o.checkFnExists("text",a),o.checkFnExists("instructionName",a),o.checkFnExists("elementName",a),o.checkFnExists("attributeName",a),o.checkFnExists("attributeValue",a),o.checkFnExists("attributes",a),a}(t),n.opt={strictEntities:!0},n.onopentag=f,n.ontext=d,n.oncomment=h,n.onclosetag=g,n.onerror=v,n.oncdata=m,n.ondoctype=y,n.onprocessinginstruction=p,n.write(e).close(),s[a.elementsKey]){var c=s[a.elementsKey];delete s[a.elementsKey],s[a.elementsKey]=c,delete s.text}return s}},4096:(e,t,n)=>{var a=n(4314),r=n(5707);e.exports=function(e,t){var n,i,o;return n=function(e){var t=a.copyOptions(e);return a.ensureSpacesExists(t),t}(t),i=r(e,n),o="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(i,(function(e,t){return e===o?"_":t}),n.spaces):JSON.stringify(i,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},1097:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(4681),r=n(3435),i=n(6272),o=n(1918),s=n(6882),c=n(7505),l=n(4330),u=n(1271),p=n(3517),f=n(5008);var d=n(3435);t.getGenericSchema=d.getGenericSchema,t.generateSchema=function(e){let t;if(e[a.FioriElementsVersion.v2]){const n=e[a.FioriElementsVersion.v2];if(n[r.SchemaType.ListReport]){const{genericSchema:e,entitySet:a,annotations:i,manifest:s,fragments:c,logger:l}=n[r.SchemaType.ListReport];t=o.generateListReportInterfaceV2(e,a,i,s,c,l)}else if(n[r.SchemaType.ObjectPage]){const{genericSchema:e,entitySet:a,annotations:i,manifest:s,fragments:c,logger:l}=n[r.SchemaType.ObjectPage];t=o.generateObjectPageInterfaceV2(e,a,i,s,c,l)}else if(n[r.SchemaType.OverviewPage]){const{genericSchema:e,manifest:a}=n[r.SchemaType.OverviewPage];t=o.generateOVPInterfaceV2(e,a)}else if(n[r.SchemaType.AnalyticalListPage]){const{genericSchema:e,entitySet:a,annotations:i,manifest:s,fragments:c,logger:l}=n[r.SchemaType.AnalyticalListPage];t=o.generateAnalyticalListPageInterfaceV2(e,a,i,s,c,l)}}else if(e[a.FioriElementsVersion.v4]){const n=e[a.FioriElementsVersion.v4];if(n[r.SchemaType.ListReport]){const{genericSchema:e,entitySet:a,annotations:i,logger:o}=n[r.SchemaType.ListReport];t=s.generateListReportInterfaceV4(e,a,i,o)}else if(n[r.SchemaType.ObjectPage]){const{genericSchema:e,entitySet:a,annotations:i,manifest:o,logger:c}=n[r.SchemaType.ObjectPage];t=s.generateObjectPageInterfaceV4(e,a,i,o,c)}else if(n[r.SchemaType.AnalyticalListPage]){const{genericSchema:e,entitySet:a,annotations:i,logger:o}=n[r.SchemaType.AnalyticalListPage];t=s.generateListReportInterfaceV4(e,a,i,o)}}return t},t.exportConfig=function(e){let t;const n={ui5Version:e.ui5Version,layer:e.layer};if(e[a.FioriElementsVersion.v2]){const r=e[a.FioriElementsVersion.v2];t=c.exportPageV2(r,n)}else if(e[a.FioriElementsVersion.v4]){const r=e[a.FioriElementsVersion.v4];t=u.exportPageV4(r,n)}return t},t.importConfig=function(e){let t;if(e[a.FioriElementsVersion.v2]){const n=e[a.FioriElementsVersion.v2];n[r.SchemaType.ListReport]?t=l.createListReportConfig(n[r.SchemaType.ListReport]):n[r.SchemaType.ObjectPage]?t=l.createObjectPageConfigV2(n[r.SchemaType.ObjectPage]):n[r.SchemaType.OverviewPage]?t=l.createOverviewPageConfig(n[r.SchemaType.OverviewPage]):n[r.SchemaType.AnalyticalListPage]&&(t=l.createAnalyticalListPageConfig(n[r.SchemaType.AnalyticalListPage]))}else if(e[a.FioriElementsVersion.v4]){const n=e[a.FioriElementsVersion.v4];n[r.SchemaType.ListReport]?t=p.createListReportConfig(n[r.SchemaType.ListReport]):n[r.SchemaType.ObjectPage]?t=p.createObjectPageConfigV4(n[r.SchemaType.ObjectPage]):n[r.SchemaType.AnalyticalListPage]&&(t=p.createAnalyticalListPageConfig(n[r.SchemaType.AnalyticalListPage]))}return t},t.importProject=async function(e){return await f.importProjectSchemaAndConfig(e)},t.importProjectSchema=async function(e){return await f.importProjectSchema(e)},t.getApiVersion=function(){return{version:"2"}},t.generateCustomExtension=function(e){const t=i.FPMWriterMap.get(e.customExtension);return t&&"function"==typeof t?t(e.basePath,e.data,e.fsEditor):void 0}},6272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3435),n(4681);const a=n(8861);var r;!function(e){e.CustomPage="CustomPage",e.CustomColumn="CustomColumn"}(r=t.CustomExtensionType||(t.CustomExtensionType={})),t.FPMWriterMap=new Map([[r.CustomPage,a.generateCustomPage],[r.CustomColumn,a.generateCustomColumn]])},5921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Error="error",e.Warning="warning",e.Info="info"}(t.LogSeverity||(t.LogSeverity={})),t.LogSeverityLabel={error:"Error",warning:"Warning",info:"Information"},t.log=(e,n,...a)=>{e?e[n.severity](n.message,n.location,...a):n.location?n.location.range?console.log(`${t.LogSeverityLabel[n.severity]}: ${n.message}, location: ${n.location.path}, ${n.location.range}`,...a):console.log(`${t.LogSeverityLabel[n.severity]}: ${n.message}, location: ${n.location.path}`,...a):console.log(`${t.LogSeverityLabel[n.severity]}: ${n.message}`,...a)}},2449:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(9154)),i=a(n(2892)),o=n(1997);t.initI18n=function(e="en"){r.default.init({resources:{en:{translation:i.default}},lng:e,fallbackLng:"en",joinArrays:"\n\n"}),o.initI18n(r.default)}},4027:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6971)),a(n(8517)),a(n(1097)),a(n(6272)),a(n(3435)),a(n(5921)),a(n(2735))},2735:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(5747),i=async e=>new Promise(((t,n)=>{r.readFile(e,{encoding:"utf8"},((e,a)=>{e?n(e):t(a)}))}));t.readDirectory=async e=>new Promise(((t,n)=>{r.readdir(e,{encoding:"utf8"},((e,a)=>{e?n(e):t(a)}))})),t.isDirectory=async e=>new Promise((t=>{r.stat(e,((e,n)=>{t(!e&&n.isDirectory())}))}));const o=async e=>new Promise((t=>{r.exists(e,(e=>{t(e)}))})),s=async e=>await(async e=>JSON.parse(await i(e)))(a.join(e,"manifest.json"));t.getProject=async e=>{const n=a.basename(e),r=a.join(e,"webapp"),c=await s(r);return{root:e,name:n,manifest:c,annotations:await(async(e,t)=>{const n=[],r=e["sap.app"].dataSources;if(r.mainService&&r.mainService.settings&&r.mainService.settings.localUri){const e=a.join(t,r.mainService.settings.localUri);n.push({dataSourceUri:e,fileContent:await i(e)})}if(r&&r.mainService&&r.mainService.settings&&r.mainService.settings.annotations)for(const e of r.mainService.settings.annotations){const o=a.join(t,r[e].settings.localUri);n.push({dataSourceUri:o,fileContent:await i(o)})}if(0===n.length)for(const e in r){const o=r[e];if("ODataAnnotation"===o.type&&o.settings&&o.settings.localUri){const e=a.join(t,o.settings.localUri);n.push({dataSourceUri:e,fileContent:await i(e)})}}return n})(c,r),changes:await(async e=>{const n=[],r=a.join(e,"changes");if(!await o(r))return n;const s=await t.readDirectory(r);for(const t of s)n.push(await i(a.join(e,"changes",t)));return n})(r),fragments:await(async e=>{const n=[],r=a.join(e,"ext","fragments");if(!await o(r))return n;const s=await t.readDirectory(r);for(const e of s){const t=a.join(r,e),o=await i(t);n.push({dataSourceUri:t,fileContent:o})}return n})(r)}}},6971:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4681)),a(n(3404)),a(n(3435)),a(n(6904))},4681:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.ObjectPage="ObjectPage",e.ListReport="ListReport",e.OverviewPage="OverviewPage",e.CustomPage="CustomPage",e.AnalyticalListPage="AnalyticalListPage"}(n=t.PageType||(t.PageType={})),function(e){e.ObjectPage="ObjectPage",e.ListReport="ListReport",e.CustomPage="CustomPage",e.AnalyticalListPage="AnalyticalListPage"}(t.PageTypeV4||(t.PageTypeV4={})),function(e){e.v2="v2",e.v4="v4"}(t.FioriElementsVersion||(t.FioriElementsVersion={})),function(e){e.v2="v2",e.v4="v4"}(t.OdataVersion||(t.OdataVersion={})),t.PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP=new Map([[n.ListReport,"sap.suite.ui.generic.template.ListReport.view.ListReport"],[n.AnalyticalListPage,"sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"],[n.ObjectPage,"sap.suite.ui.generic.template.ObjectPage.view.Details"]])},6904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.OneColumn="OneColumn",e.TwoColumnsBeginExpanded="TwoColumnsBeginExpanded",e.TwoColumnsMidExpanded="TwoColumnsMidExpanded",e.MidColumnFullScreen="MidColumnFullScreen",e.ThreeColumnsMidExpanded="ThreeColumnsMidExpanded",e.ThreeColumnsEndExpanded="ThreeColumnsEndExpanded",e.ThreeColumnsMidExpandedEndHidden="ThreeColumnsMidExpandedEndHidden",e.ThreeColumnsBeginExpandedEndHidden="ThreeColumnsBeginExpandedEndHidden",e.EndColumnFullScreen="EndColumnFullScreen"}(t.FlexibleColumnLayoutType||(t.FlexibleColumnLayoutType={})),function(e){e.Vendor="VENDOR",e.Customer="CUSTOMER_BASE"}(t.FlexChangeLayer||(t.FlexChangeLayer={}))},6442:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.OData="OData",e.ODataAnnotation="ODataAnnotation"}(t.DataSourceType||(t.DataSourceType={})),function(e){e.ui="sap.ui",e.app="sap.app",e.generic="sap.ui.generic.app",e.ovp="sap.ovp",e.ui5="sap.ui5"}(n=t.ManifestSection||(t.ManifestSection={})),t.GENERICAPPSETTINGS=`${n.generic}/settings`},3404:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6442)),a(n(5281))},5281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FIORI_FCL_ROOT_VIEW_NAME="sap.fe.templates.RootContainer.view.Fcl",t.FIORI_FCL_ROOT_ID="appRootView",function(e){e.XML="XML",e.HTML="HTML",e.JS="JS",e.JSON="JSON"}(t.ViewTypes||(t.ViewTypes={})),t.SAPUI5_VIEW_CLASS="sap.ui.core.mvc.View",t.SAPUI5_FRAGMENT_CLASS="sap.ui.core.Fragment"},3435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5747),r=n(5622);var i;!function(e){e.Application="Application",e.ObjectPage="ObjectPage",e.ListReport="ListReport",e.OverviewPage="OverviewPage",e.AnalyticalListPage="AnalyticalListPage"}(i=t.SchemaType||(t.SchemaType={}));t.getGenericSchema=async(e,t)=>{try{const n=((e,t)=>{const n=t===i.Application?i.Application+e.toUpperCase()+".json":t+"Config.json";return r.join(__dirname,"schemas",e,n)})(e,t);return await(async e=>new Promise(((t,n)=>{a.readFile(e,{encoding:"utf8"},((e,a)=>{e?n(e):t(JSON.parse(a))}))})))(n)}catch(n){throw new Error(`No schema available for type: ${t}, version: ${e}. Error was ${n.message}`)}}},3846:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Top="Top",e.Middle="Middle",e.Bottom="Bottom"}(t.TableColumnVerticalAlignment||(t.TableColumnVerticalAlignment={}))},2387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.bar="bar",e.column="column",e.line="line",e.combination="combination",e.pie="pie",e.donut="donut",e.scatter="scatter",e.bubble="bubble",e.heatmap="heatmap",e.bullet="bullet",e.verticalBullet="vertical_bullet",e.stackedBar="stacked_bar",e.stackedColumn="stacked_column",e.stackedCombination="stacked_combination",e.horizontalStackedCombination="horizontal_stacked_combination",e.dualBar="dual_bar",e.dualColumn="dual_column",e.dualLine="dual_line",e.dualStackedBar="dual_stacked_bar",e.dualStackedColumn="dual_stacked_column",e.dualCombination="dual_combination",e.dualStackedCombination="dual_stacked_combination",e.dualHorizontalCombination="dual_horizontal_combination",e.dualHorizontalStackedCombination="dual_horizontal_stacked_combination",e.hundredStackedBar="100_stacked_bar",e.hundredStackedColumn="100_stacked_column",e.hundredDualStackedBar="100_dual_stacked_bar",e.hundredDualStackedColumn="100_dual_stacked_column",e.waterfall="waterfall",e.horizontalWaterfall="horizontal_waterfall"}(t.ChartType||(t.ChartType={}))},6745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.cardBubble="cardBubble",e.cardchartsline="cardchartsline",e.cardchartsdonut="cardchartsdonut"}(t.ChartCardType||(t.ChartCardType={})),function(e){e.analytical="sap.ovp.cards.charts.analytical",e.analyticalv4="sap.ovp.cards.v4.charts.analytical",e.list="sap.ovp.cards.list",e.listv4="sap.ovp.cards.v4.list",e.linklist="sap.ovp.cards.linklist",e.linklistv4="sap.ovp.cards.v4.linklist",e.table="sap.ovp.cards.table",e.tablev4="sap.ovp.cards.v4.table",e.stack="sap.ovp.cards.stack"}(t.CardTemplateType||(t.CardTemplateType={})),t.cardTemplateTypeMap={"sap.ovp.cards.charts.analytical":"AnalyticalCard","sap.ovp.cards.v4.charts.analytical":"AnalyticalCard","sap.ovp.cards.list":"ListCard","sap.ovp.cards.v4.list":"ListCard","sap.ovp.cards.linklist":"LinklistCard","sap.ovp.cards.v4.linklist":"LinklistCard","sap.ovp.cards.table":"TableCard","sap.ovp.cards.v4.table":"TableCard","sap.ovp.cards.stack":"StackCard"},function(e){e.analyticalCardSettings="analyticalCardSettings",e.analyticalCardSettingsv4="analyticalCardSettingsv4",e.listCardSettings="listCardSettings",e.listCardSettingsv4="listCardSettingsv4",e.stackCardSettings="stackCardSettings",e.linkListCardSettings="linkListCardSettings",e.tableCardSettings="tableCardSettings",e.tableCardSettingsv4="tableCardSettingsv4"}(t.CardSettingsType||(t.CardSettingsType={})),function(e){e.average="average",e.max="max",e.min="min",e.sum="sum",e.count="$count"}(t.MeasureAggregateValues||(t.MeasureAggregateValues={})),function(e){e.standard="standard",e.bar="bar",e.carousel="carousel"}(t.ListFlavorType||(t.ListFlavorType={})),function(e){e.extended="extended",e.condensed="condensed"}(t.ListTypeType||(t.ListTypeType={})),function(e){e.ascending="ascending",e.descending="descending"}(t.SortOrderType||(t.SortOrderType={})),function(e){e.standard="standard",e.carousel="carousel"}(t.LinkListFlavorType||(t.LinkListFlavorType={}))},2922:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.DATERANGE="DATERANGE",e.DATE="DATE",e.FROM="FROM",e.TO="TO",e.DAYS="DAYS",e.LASTDAYS="LASTDAYS",e.LASTWEEKS="LASTWEEKS",e.WEEK="WEEK",e.LASTMONTHS="LASTMONTHS",e.MONTH="MONTH",e.QUARTER="QUARTER",e.LASTQUARTERS="LASTQUARTERS",e.LASTYEARS="LASTYEARS",e.LASTYEAR="LASTYEAR",e.YEAR="YEAR",e.NEXTDAYS="NEXTDAYS",e.NEXTWEEKS="NEXTWEEKS",e.NEXTMONTHS="NEXTMONTHS",e.NEXTQUARTERS="NEXTQUARTERS",e.NEXTYEARS="NEXTYEARS",e.NEXT="NEXT",e.SPECIFICMONTH="SPECIFICMONTH",e.YESTERDAY="YESTERDAY",e.YEARTODATE="YEARTODATE",e.TODAY="TODAY",e.TOMORROW="TOMORROW",e.THISWEEK="THISWEEK",e.LASTWEEK="LASTWEEK",e.LAST2WEEKS="LAST2WEEKS",e.LAST3WEEKS="LAST3WEEKS",e.LAST4WEEKS="LAST4WEEKS",e.LAST5WEEKS="LAST5WEEKS",e.NEXTWEEK="NEXTWEEK",e.NEXT2WEEKS="NEXT2WEEKS",e.NEXT3WEEKS="NEXT3WEEKS",e.NEXT4WEEKS="NEXT4WEEKS",e.NEXT5WEEKS="NEXT5WEEKS",e.THISMONTH="THISMONTH",e.LASTMONTH="LASTMONTH",e.NEXTMONTH="NEXTMONTH",e.THISQUARTER="THISQUARTER",e.LASTQUARTER="LASTQUARTER",e.NEXTQUARTER="NEXTQUARTER",e.QUARTER1="QUARTER1",e.QUARTER2="QUARTER2",e.QUARTER3="QUARTER3",e.QUARTER4="QUARTER4",e.TODAYFROMTO="TODAYFROMTO"}(t.DateRangeType||(t.DateRangeType={}))},7876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.AfterFacet="AfterFacet",e.BeforeFacet="BeforeFacet",e.ReplaceFacet="ReplaceFacet"}(t.SectionPosition||(t.SectionPosition={})),function(e){e.XML="XML"}(t.ExtensionFragmentTypes||(t.ExtensionFragmentTypes={}))},9649:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.inline="inline"}(t.CreateMode||(t.CreateMode={}))},2906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.XML="XML"}(t.customColumnViewTypes||(t.customColumnViewTypes={})),function(e){e.ResponsiveTable="ResponsiveTable",e.GridTable="GridTable",e.AnalyticalTable="AnalyticalTable",e.TreeTable="TreeTable"}(t.TableTypeV2||(t.TableTypeV2={})),function(e){e.ResponsiveTableColumnsExtension="ResponsiveTableColumnsExtension",e.AnalyticalTableColumnsExtension="AnalyticalTableColumnsExtension",e.TreeTableColumnsExtension="TreeTableColumnsExtension",e.GridTableColumnsExtension="GridTableColumnsExtension"}(t.TableColumnExtensionTypeV2||(t.TableColumnExtensionTypeV2={})),function(e){e.extension="extension"}(t.Strategy||(t.Strategy={})),function(e){e.charttable="charttable",e.chart="chart",e.table="table"}(t.DefaultContentView||(t.DefaultContentView={})),function(e){e.visual="visual",e.compact="compact"}(t.DefaultFilterMode||(t.DefaultFilterMode={})),function(e){e.always="always",e.never="never",e.ifAnyFilterExist="ifAnyFilterExist"}(t.LoadDataOnAppLaunchSettings||(t.LoadDataOnAppLaunchSettings={}))},6402:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(2922)),a(n(2906)),a(n(7876)),a(n(6745)),a(n(9649)),a(n(2387))},390:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3800)),a(n(6402)),a(n(9809)),a(n(3846))},2505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.fixed="fixed",e.resizable="resizable"}(t.ContainerLayoutType||(t.ContainerLayoutType={}))},3800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(2505))},9809:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(7900))},7900:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4867)),a(n(1374))},1374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5877);t.SAPUI5_VIEW_EXTENSION="sap.ui.viewExtensions",t.SAPUI5_CONTROLLER_EXTENSION="sap.ui.controllerExtensions",t.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE="sap.suite.ui.generic.template.ObjectPage.view.Details",t.SAPUI5_VIEW_EXTENSION_LIST_REPORT="sap.suite.ui.generic.template.ListReport.view.ListReport",t.SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE="sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"},4867:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FE_TEMPLATE_V2="sap.suite.ui.generic.template",t.FE_TEMPLATE_V2_OBJECT_PAGE="sap.suite.ui.generic.template.ObjectPage",t.FE_TEMPLATE_V2_LIST_REPORT="sap.suite.ui.generic.template.ListReport",t.FE_TEMPLATE_V2_ALP="sap.suite.ui.generic.template.AnalyticalListPage"},9734:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e["not-adaptable-visibility"]="not-adaptable-visibility"}(t.DesigntimeValues||(t.DesigntimeValues={}))},8554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Tabs="Tabs",e.Page="Page"}(t.SectionLayoutType||(t.SectionLayoutType={}))},4685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.After="After",e.Before="Before"}(t.SectionPosition||(t.SectionPosition={})),function(e){e.XML="XML"}(t.CustomSectionViewTypesV4||(t.CustomSectionViewTypesV4={}))},7093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Multi="Multi",e.None="None",e.Single="Single",e.Auto="Auto"}(t.SelectionMode||(t.SelectionMode={})),function(e){e.ResponsiveTable="ResponsiveTable",e.GridTable="GridTable",e.AnalyticalTable="AnalyticalTable"}(t.TableTypeV4||(t.TableTypeV4={})),function(e){e.NewPage="NewPage",e.Inline="Inline",e.CreationRow="CreationRow"}(t.TableCreationModeType||(t.TableCreationModeType={})),function(e){e.Disabled="Disabled",e.Enabled="Enabled",e.Auto="Auto"}(t.InitialLoadType||(t.InitialLoadType={}))},8452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.single="single",e.multi="multi"}(t.SelectType||(t.SelectType={}))},1709:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(7093)),a(n(8452)),a(n(9734)),a(n(8554)),a(n(4685))},5877:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(2616)),a(n(1709)),a(n(5113))},5759:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.None="None",e.Control="Control",e.Page="Page"}(t.VariantManagementTypeListReport||(t.VariantManagementTypeListReport={}))},8999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.None="None",e.Control="Control"}(t.VariantManagementTypeObjectPage||(t.VariantManagementTypeObjectPage={}))},2616:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(8999)),a(n(5759))},5113:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(6568))},5817:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.After="After",e.Before="Before",e.End="End"}(t.Placement||(t.Placement={})),function(e){e.Default="Default",e.Adaptation="Adaptation",e.Hidden="Hidden"}(t.Availability||(t.Availability={}))},6568:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(8778)),a(n(8741)),a(n(3404)),a(n(5817))},8741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FIORI_FCL_ROUTER_CLASS="sap.f.routing.Router",function(e){e.BeginColumnPages="beginColumnPages",e.MidColumnPages="midColumnPages",e.EndColumnPages="endColumnPages"}(t.FlexibleColumnLayoutAggregations||(t.FlexibleColumnLayoutAggregations={})),t.SAPUI5_DEPENDENCY_LIB_SAP_F="sap.f"},8778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FE_TEMPLATE_V4="sap.fe.templates",t.FE_TEMPLATE_V4_CUSTOM_PAGE="sap.fe.core.fpm",t.FE_TEMPLATE_V4_OBJECT_PAGE="sap.fe.templates.ObjectPage",t.FE_TEMPLATE_V4_LIST_REPORT="sap.fe.templates.ListReport",t.FE_TEMPLATE_V4_ALP="sap.fe.templates.AnalyticalListPage",t.SAPUI5_FRAGMENT_TYPE_V4="XMLFragment",function(e){e.AfterFacet="AfterFacet",e.BeforeFacet="BeforeFacet"}(t.SectionPositionV4||(t.SectionPositionV4={}))},4093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(8517),i=n(9081),o=n(3435);t.AppProvider=class AppProvider{constructor(e,t,n,r,s,c,l){this.unhandledControllers=[];const u=i.getSchemaFilePath(o.SchemaType.Application);this.app=Object.assign({$schema:u.path,id:e["sap.app"].id,pages:r,home:n,target:{fioriElements:s,odata:s===a.FioriElementsVersion.v2?a.OdataVersion.v2:a.OdataVersion.v4}},c&&{settings:c}),this.schemas=t,this.logger=l}createConfigFiles(){const e={},t={};let n;for(const t in this.app.pages)if(n=this.app.pages[t],n.config){const a=i.getSchemaFilePath(n.pageType,n.entitySet),o=n.config;if(this.schemas[a.filename])o.$schema=a.path;else{const e=i.getSchemaFilePath(n.pageType);o.$schema=e.path}e[`${r.DirName.Pages}/${t}.json`]=o}const a=JSON.parse(JSON.stringify(this.app));for(const e in a.pages)delete a.pages[e].config;return t[r.FileName.App]=a,{appConfig:t,pageConfigs:e}}}},3265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8517),r=n(9081);function i(e){return e.replace(/[^-A-Za-z0-9_.:]/g,(function(e){const t=e.charCodeAt(0).toString(16);return":"+(1===t.length?"0":"")+t}))}var o;t.buildControlIdFromParent=(e,t)=>e+t.join("::"),t.buildControlIdForPage=(e,t,n)=>e+t.join("::")+n[0],t.convertSectionId=(e,t)=>{let n;const r=a.FacetTitlePrefix;return n=void 0!==t?t.split(r)[1]:e.replace(new RegExp("/@","g"),"::").replace(/@com.sap/g,"com.sap"),n},t.escapeId=i,function(e){e.Editable="{ui>/editable}",e.NotEditable="{= !${ui>/editable}}"}(o=t.BindingValue||(t.BindingValue={})),t.buildColumnControlId=(e,n,r,o,s)=>{let c,l="listReport";const u=[...r];n=n.map((function(e){if("sections"===e)for(let e=0;e<u.length;e++){if("sections"===u[e]&&(c=u[e+1],-1!==c.indexOf("LineItem")))return u[e+1]=t.convertSectionId(c,s)+"::Table",u[e+1]}return e})),"sections"===u[0]&&(l=u[1].replace(/::com.sap.vocabularies/g,a.VOCWITHSLASH).replace(/::@com.sap.vocabularies/g,a.VOCWITHSLASH));const p=u[u.length-1].replace(/::com.sap.vocabularies/g,a.VOCWITHSLASH).replace(/::@com.sap.vocabularies/g,a.VOCWITHSLASH).replace("sTarget/@","sTarget::@");let f;const d=p.indexOf(":::");return f=p.startsWith("DataField")&&d>-1?e+"template:::TableColumn:::"+p.substr(0,d)+":::sSmartTableId::"+l.replace("::Table",":3a:3aTable")+":::"+p.substr(d+3):e+n.join("::")+"-"+p,i(f)};const s=(e,t,n,i)=>{const o=t&&t.properties;if(o[n].pattern)return;const s=o[n];let c=s;const l=s.$ref?e.definitions[s.$ref.split(r.DEFINITION_LINK_PREFIX)[1]]:s,u=s.description?s.description:l.description,p=function(e){let t=a.BindingPropertyRegexAsString;if(e.enum){let n;e.enum.forEach((e=>{e.toString().startsWith("{")||(n=n?n+"|"+e.toString():e.toString())})),t=`^(${n})$|${t}`}return e.type&&"boolean"===e.type&&(t=`^(false|true)$|${t}`),t}(l);l.type&&"boolean"===l.type&&(c={enum:[!1,!0]}),i&&c.enum&&i.forEach((e=>{-1===c.enum.indexOf(e)&&c.enum.push(e)})),o[n]={pattern:p,anyOf:[c,{type:"string"}]},u&&(o[n].description=u,delete s.description)};t.addPatternForBindingChangeOfEnumLR=(e,t,n)=>{s(e,t,n)},t.addPatternForBindingChangeOfEnumOP=(e,t,n)=>{const a=Object.values(o);s(e,t,n,a)}},2762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(2775),t.reflectMetadataKey=Symbol("specificationMetadataKey"),t.syncRule=e=>Reflect.metadata(t.reflectMetadataKey,e),t.getReflectMetadata=function(e,n){if(e)return Reflect.getMetadata(t.reflectMetadataKey,e,n)},t.pageLayoutInformation=e=>t=>{t.prototype.pageLayoutInformation=e};const a=Symbol("childId");t.childId=e=>Reflect.metadata(a,e),t.getChildId=(e,t)=>Reflect.getMetadata(a,e,t),t.getPageLayoutInformation=e=>Object.getPrototypeOf(e).pageLayoutInformation,t.validityMetadataKey=Symbol("validityMetadataKey"),t.validity=e=>Reflect.metadata(t.validityMetadataKey,e),t.getTextForDeprecated=function(e,t){let n=e+" is deprecated";return t&&t.deprecated&&(n=t.deprecated.since?n+" since "+t.deprecated.since:n,n=t.deprecated.text?n+". "+t.deprecated.text:n),n}},6785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.MetadataFactory=class MetadataFactory{constructor(e,t,n){this.controls=e,this.pages=t,this.pageTypes=n}createInstance(e,t,n,a){let r=this.controls[a]?this.controls[a]:this.controls[t];r||(r=this.pageTypes[e][a]?this.pageTypes[e][a]:this.pageTypes[e][t]);return r?Object.assign(new r,n):n}createPageInstance(e,t){const n=this.pages[e];return n?Object.assign(new n,t):null}}},4792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(1684);t.exportToFlexChange=function(e,t){return a.createChangeString(e,t)}},5599:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3265)),a(n(2762)),a(n(4792))},1684:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(2281)).default.change,i={isCustomer:!1,sapui5Version:" ",creatingTool:"SAPFioriTools",type:"propertyChange"};t.createChangeString=function(e,t){let n="";try{for(const t in i)void 0===e[t]&&(e[t]=i[t]);n=r.createChangeString(e,t)}catch(e){console.error("Error while create flex change.",e)}return n},t.parseChangeString=function(e){try{return r.parse(e)}catch(e){return!1}},t.fillFlexChangeContent=function(e,t,n,a,r){const i=!n.layer||"CUSTOMER_BASE"===n.layer,o={controlId:r,controlType:t.flex.controlType(),content:{property:a},sapui5Version:n.ui5Version,isCustomer:i};return void 0!==e[a]?t.flex.exportFlexValue?t.flex.exportFlexValue(o,e,a):e[a].toString().startsWith("{")?(o.content.newBinding=e[a],o.type="propertyBindingChange"):o.content.newValue=e[a]:o.content.newValue=null,o}},3917:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(7898)),a(n(9152))},7898:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(1162),r=n(6971),i=n(5008);function o(e,t,n,o,s,c,l,u=!0){var p,f,d,h,g;const m=a.getStableIdPartFromDataField(n),y=l===r.FioriElementsVersion.v2&&m&&m.includes("::")?m.split("::").splice(1).join("::"):m,v=l===r.FioriElementsVersion.v2&&m&&m.includes("::")?m.split("::")[0].replace("DataField","Field"):void 0,b=l===r.FioriElementsVersion.v2?`${v}<${o}::${y}>`:`${o}::${y}`,P=i.prepareRef(`${e}Fields<${o}>`),S=i.prepareRef(`${e}Actions<${o}>`);if(n&&n.$Type){if("com.sap.vocabularies.UI.v1.DataFieldForAction"===n.$Type||"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===n.$Type?u&&e===i.SectionType.Section&&(t.definitions[S].properties[y]={$ref:i.DEFINITION_LINK_PREFIX+b,propertyIndex:parseInt(s)}):t.definitions[P].properties[y]={$ref:i.DEFINITION_LINK_PREFIX+b,propertyIndex:parseInt(s)},t.definitions[b]={type:"object",isViewNode:!0,properties:{},description:i.getDatafieldDescription(n,c.entityType),additionalProperties:!1,annotationType:n.$Type},l===r.FioriElementsVersion.v4&&t.definitions.Field)switch(n.$Type){case"com.sap.vocabularies.UI.v1.DataField":case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":case"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath":case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":t.definitions[b].properties=t.definitions.Field.properties}else if(l===r.FioriElementsVersion.v2&&t.definitions.Field)switch(n.$Type){case"com.sap.vocabularies.UI.v1.DataField":case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":t.definitions[b].properties=t.definitions.Field.properties}"com.sap.vocabularies.UI.v1.DataFieldForAction"===n.$Type&&(null===(p=t.definitions)||void 0===p?void 0:p.FormAction)&&(t.definitions[b].properties=t.definitions.FormAction.properties),(null===(d=null===(f=n.Value)||void 0===f?void 0:f.$target)||void 0===d?void 0:d.type)&&(t.definitions[b].dataType=null===(g=null===(h=n.Value)||void 0===h?void 0:h.$target)||void 0===g?void 0:g.type.replace("Edm.","")),t.definitions[b].annotationPath=`/${c.entityType.fullyQualifiedName}/${n.fullyQualifiedName.split(c.entityType.fullyQualifiedName)[1]}`}}function s(e,t){let n,a,r=e.lastIndexOf("/");if(-1===r&&(r=e.lastIndexOf(".")),r>-1)n=e.substr(r+1),a=e.substr(0,r)+"::"+n;else{n=e;const r=t.fullyQualifiedName.split(t.name)[0];a=r.substr(0,r.length-1)+"::"+n}return{actionName:n,actionId:a}}t.handleForm=function(e,t,n,a,r,s=!0){var c;if(!t.target)return;const l=function(e){let t;return t=e.target&&e.target.qualifier&&e.entityType?`${e.entityType.name}::${e.base}::${e.target.qualifier}`:e.entityType?`${e.entityType.name}::${e.base}`:e.ID,t}(t),u=i.prepareRef(`${e}Form<${l}>`),p=i.prepareRef(`${e}Fields<${l}>`),f=i.prepareRef(`${e}Actions<${l}>`);if(n.properties.form={$ref:i.DEFINITION_LINK_PREFIX+u},e===i.SectionType.Section&&s?(a.definitions[u]={type:"object",properties:{actions:{$ref:i.DEFINITION_LINK_PREFIX+f},fields:{$ref:i.DEFINITION_LINK_PREFIX+p}},isViewNode:!0,description:"Form",additionalProperties:!1},a.definitions[f]={type:"object",properties:{},isViewNode:!0,description:"Actions",additionalProperties:!1}):a.definitions[u]={type:"object",properties:{fields:{$ref:i.DEFINITION_LINK_PREFIX+p}},isViewNode:!0,description:"Form",additionalProperties:!1},(null===(c=t.entityType)||void 0===c?void 0:c.name)&&(a.definitions[u].annotationPath=i.createAnnotationPath(t.entityType.fullyQualifiedName,t.target.term,t.target.qualifier)),a.definitions[p]={type:"object",properties:{},isViewNode:!0,description:"Fields",additionalProperties:!1},t.base===i.FacetBase.Identification)for(const n in t.target){const i=t.target[n];i&&o(e,a,i,l,n,t,r,s)}else for(const n in t.target.Data){o(e,a,t.target.Data[n],l,n,t,r)}},t.replaceAlias=function(e,t){const n=e.indexOf(".")>-1?e.split(".")[0]:void 0;let a=e;if(n){const r=t.references.find((e=>e.alias===n));r&&(a=e.replace(n,r.namespace))}return a},t.getActionNameAndId=s,t.addFooterActions=function(e,t,n){e.definitions.ObjectPageFooter=JSON.parse(JSON.stringify(e.definitions["ObjectPageFooter<GenericFooterActions>"])),e.properties.footer={$ref:`${i.DEFINITION_LINK_PREFIX}ObjectPageFooter`},e.definitions.ObjectPageFooter.properties.actions={$ref:`${i.DEFINITION_LINK_PREFIX}FooterActions`};const a=e.definitions.FooterActions={type:"object",properties:{},description:"Actions",additionalProperties:!1,isViewNode:!0},r=i.findAlias(i.UIVOCABULARY,n),o=r&&t.annotations&&t.annotations[r]&&t.annotations[r].Identification;if(o){const n=o.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification");a.annotationPath=`/${n}`,o.forEach(((r,o)=>{if(r.Determining&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===r.$Type){const{actionName:c,actionId:l}=s(r.Action,t),u=r.Label||c,p=i.prepareRef(`FooterAction<${l}>`);e.definitions[p]={isViewNode:!0,type:"object",properties:{},description:u,annotationPath:`/${n}/${o}`},a.properties[l]={$ref:`${i.DEFINITION_LINK_PREFIX}${p}`}}}))}else a.annotationPath=`/${t.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Identification`;delete e.definitions.GenericFooterActions,delete e.definitions.FooterAction,delete e.definitions["ObjectPageFooter<GenericFooterActions>"]},t.addHeaderActions=function(e,t,n,a){e.definitions.ObjectPageHeader.properties.actions={$ref:`${i.DEFINITION_LINK_PREFIX}HeaderActions`};const r=e.definitions.HeaderActions={type:"object",properties:{},description:"Actions",additionalProperties:!1,isViewNode:!0},o=i.findAlias(i.UIVOCABULARY,n),s=o&&t.annotations&&t.annotations[o]&&t.annotations[o].Identification;s?(r.annotationPath="/"+s.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification"),s.forEach(a(t,e,s,r,n))):r.annotationPath=`/${t.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Identification`,delete e.definitions.GenericActions,delete e.definitions["ObjectPageHeader<GenericActions>"]},t.addCommonHeaderSchema=function(e,t){e.properties.header={$ref:i.DEFINITION_LINK_PREFIX+"ObjectPageHeader"},e.definitions.ObjectPageHeader=JSON.parse(JSON.stringify(e.definitions["ObjectPageHeader<GenericActions>"])),e.definitions.ObjectPageHeader.annotationPath=`/${t.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.HeaderInfo`}},9152:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008);function r(e,t,n){const a=e.annotations.UI;if(!a)return;const r=n.enum?n.enum:[];for(const e in a){const n=a[e];if(t.indexOf(n.term)>-1){const e=n.qualifier?`${n.term}#${n.qualifier}`:`${n.term}`;-1===r.indexOf(e)&&r.push(e)}}r.length>0&&(n.enum=r)}t.addEnumForValidAnnotations=r,t.addEnumForSingleTabVariant=function(e,t,n){r(e,["com.sap.vocabularies.UI.v1.SelectionVariant","com.sap.vocabularies.UI.v1.SelectionPresentationVariant"],t.definitions[n].properties.annotationPath)},t.addEnumForMultiTabVariant=function(e,t,n){const a=t.definitions[n].properties.annotationPath,i=["com.sap.vocabularies.UI.v1.SelectionVariant","com.sap.vocabularies.UI.v1.SelectionPresentationVariant","com.sap.vocabularies.UI.v1.PresentationVariant"];e.entitySets&&e.entitySets.forEach((e=>{r(e.entityType,i,a)}))},t.addEnumForVariantEntitySet=function(e,t,n){const a=t.definitions[n].properties.entitySet;if(e.entitySets){const t=[];e.entitySets.forEach((e=>{t.push(e.name)})),t.length>0&&(a.enum=t)}},t.addEnumForFilterBarAnnotationPath=function(e,t,n){r(e,["com.sap.vocabularies.UI.v1.SelectionVariant"],t.definitions[n].properties.annotationPath)},t.addDefinitionForRelatedFacetKeys=function(e,t,n,r){const i=n.map((e=>{const t=r.find((t=>!!e[t])),n=e[t];return Object.assign(Object.assign({const:n},e.label&&{description:e.label}),e.custom&&{custom:e.custom})}));if(i.length){e.definitions.RelatedFacetKeys={type:"string",oneOf:i};for(const n of t){const t=e.definitions[n],r=t.properties.relatedFacet;t.properties.relatedFacet={anyOf:[{$ref:a.DEFINITION_LINK_PREFIX+"RelatedFacetKeys"},r]}}}},t.addCommonLineItemDefinitions=function(e,t,n,r){let i;e.definitions[r]={type:"object",properties:{},additionalProperties:!1,isViewNode:!0,description:"Columns"};const o="LineItems"===r?"ToolBar":"ObjectPageToolBar",s=`${o}<${r}>`;e.definitions[s]=JSON.parse(JSON.stringify(e.definitions[`${o}`]));const c=`Actions<${a.prepareRef(r)}>`;e.definitions[s].properties.actions.$ref=a.DEFINITION_LINK_PREFIX+c;const l="LineItems"===r?"Actions":"ObjectPageToolBarActions",u=e.definitions[c]=JSON.parse(JSON.stringify(e.definitions[l]));return u.properties={},u.additionalProperties=!1,t&&(i=a.createAnnotationPath(n.fullyQualifiedName,t.term,t.qualifier),e.definitions[r].annotationPath=e.definitions[s].annotationPath=i),{actions:u,lineItemPath:i}},t.addFieldsType=function(e,t,n=""){const r=[],i={},o=`FieldPath${a.prepareRef(n)}`;for(const e of t.entityProperties){const t=e.name;r.push(t),i[t]={$ref:a.DEFINITION_LINK_PREFIX+o}}e.definitions[t.name]={enum:r},e.definitions[o].properties.path={$ref:a.DEFINITION_LINK_PREFIX+t.name};const s=`CreationFieldKeys${a.prepareRef(n)}`;e.definitions[s]={type:"object",properties:i,additionalProperties:!1},e.definitions[`Fields4Dialog${n}`].properties.fields.$ref=a.DEFINITION_LINK_PREFIX+s}},3436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(5921);t.importProperty=function(e,t,n,a,r){const i=e.manifest.key||n,o=e.manifest.import;if(o&&"function"==typeof o){const e=o(t,r);void 0!==e&&(a[n]=e)}else void 0!==t[i]&&(a[n]=t[i])},t.checkDeprecatedProperties=function(e,t,n,i){if(t&&e)for(const o in t){const t=e[o];t&&(r.log(i,{severity:"warning",message:a.getTextForDeprecated(o,t),location:{path:"webapp/manifest.json/",range:n.split("/")}}),delete e[o])}},t.getSectionTitle=function e(t,n){if(!t.$ref||t.title)return t.title&&t.title.startsWith(a.FacetTitlePrefix)?t.title.split(a.FacetTitlePrefix)[1]:t.title?t.title:void 0;e(n.definitions[t.$ref.split(a.DEFINITION_LINK_PREFIX)[1]],n)}},7108:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(6971),o=n(3435),s=a(n(4867)),c=a(n(8778)),l=n(1918),u=n(3073),p=n(4370),f=n(6882),d=n(8083),h=n(8517),g=n(9081),m=r(n(9154)),y=n(5921),v=n(2449);function b(e){const t={Facets:[],LineItems:[]},n=null==e?void 0:e.entityTypes;if(n){const a=g.findAlias(h.UIVOCABULARY,e);for(const e of n){if(!e.annotations||!e.annotations[a])continue;const n=e.name||e.fullyQualifiedName.split(".").pop(),{LineItem:r,Facets:i}=e.annotations[a];r&&!r.qualifier&&r.find((e=>"com.sap.vocabularies.UI.v1.DataField"===e.$Type||"com.sap.vocabularies.UI.v1.DataFieldForAnnotation"===e.$Type))&&t.LineItems.push(n),i&&!i.qualifier&&t.Facets.push(n)}}return t}function P(e,t){return t&&t.entitySets&&t.entitySets.find((t=>t.name===e))}function S(e,t,n){const a=u.getPages(e.manifest[i.ManifestSection.generic].pages,s.FE_TEMPLATE_V2_OBJECT_PAGE);for(const r in a){const o=a[r].entitySet,s=P(o,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,u=g.getSchemaFilePath(i.SchemaType.ObjectPage,(null==s?void 0:s.name)||o),p=g.getSchemaFilePath(i.SchemaType.ObjectPage);n[u.filename]=l.generateObjectPageSchemaV2(e,t[p.filename],c)}}function T(e,t,n){var a;const r=d.getPages(e.manifest,c.FE_TEMPLATE_V4_OBJECT_PAGE);for(const o in r){const s=r[o].options.settings.entitySet,c=P(s,null==e?void 0:e.serviceAVT);c||y.log(e.logger,{severity:"error",message:m.default.t("ENTITYSETNOTFOUND",{entitySet:s}),location:{path:h.METADATAPATH}});const l=c&&(null==c?void 0:c.entityType)&&(null===(a=null==c?void 0:c.entityType)||void 0===a?void 0:a.name),u=g.getSchemaFilePath(i.SchemaType.ObjectPage,(null==c?void 0:c.name)||s),p=g.getSchemaFilePath(i.SchemaType.ObjectPage);n[u.filename]=f.generateObjectPageSchemaV4(e,t[p.filename],l)}}async function O(e,t,n){const a=await async function(e,t){const n={};let a=[];switch(a=[i.SchemaType.Application],e){case g.TemplateType.ListReportObjectPageV2:case g.TemplateType.ListReportObjectPageV4:a.push(i.SchemaType.ListReport,i.SchemaType.ObjectPage);break;case g.TemplateType.AnalyticalListPageV2:case g.TemplateType.AnalyticalListPageV4:a.push(i.SchemaType.AnalyticalListPage,i.SchemaType.ObjectPage);break;case g.TemplateType.OverviewPageV2:a.push(i.SchemaType.OverviewPage)}for(const e of a)n[g.getSchemaFilePath(e).filename]=await o.getGenericSchema(t,e);return n}(n,e.fioriElementsVersion);return e.fioriElementsVersion===i.FioriElementsVersion.v4?function(e,t,n,a){const r={};if(n)if(a===g.TemplateType.ListReportObjectPageV4){const n=d.getPages(e.manifest,c.FE_TEMPLATE_V4_LIST_REPORT);for(const a in n){const o=n[a].options.settings.entitySet,s=P(o,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,l=g.getSchemaFilePath(i.SchemaType.ListReport,(null==s?void 0:s.name)||o),u=g.getSchemaFilePath(i.SchemaType.ListReport);r[l.filename]=f.generateListReportSchemaV4(t[u.filename],c,null==e?void 0:e.serviceAVT,e.logger)}T(e,t,r)}else if(a===g.TemplateType.AnalyticalListPageV4){const n=d.getPages(e.manifest,c.FE_TEMPLATE_V4_ALP);for(const a in n){const o=n[a].options.settings.entitySet,s=P(o,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,l=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage,(null==s?void 0:s.name)||o),u=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage);r[l.filename]=f.generateListReportSchemaV4(t[u.filename],c,null==e?void 0:e.serviceAVT,e.logger)}T(e,t,r)}return Object.assign(Object.assign({},t),r)}(e,a,t,n):function(e,t,n,a){var r;const o={};if(a===g.TemplateType.ListReportObjectPageV2&&n){const n=u.getPages(e.manifest[i.ManifestSection.generic].pages,s.FE_TEMPLATE_V2_LIST_REPORT);for(const a in n){const r=n[a].entitySet,s=P(r,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,u=g.getSchemaFilePath(i.SchemaType.ListReport,(null==s?void 0:s.name)||r),p=g.getSchemaFilePath(i.SchemaType.ListReport);o[u.filename]=l.generateListReportSchemaV2(e,t[p.filename],c)}S(e,t,o)}else if(a===g.TemplateType.AnalyticalListPageV2&&n){const n=u.getPages(e.manifest[i.ManifestSection.generic].pages,s.FE_TEMPLATE_V2_ALP);for(const a in n){const s=n[a].entitySet,c=P(s,null==e?void 0:e.serviceAVT),u=null===(r=null==c?void 0:c.entityType)||void 0===r?void 0:r.name,p=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage,(null==c?void 0:c.name)||s),f=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage);o[p.filename]=l.generateAnalyticalListReportSchemaV2(e,t[f.filename],u)}S(e,t,o)}else if(a===g.TemplateType.OverviewPageV2){const n=g.getSchemaFilePath(i.SchemaType.OverviewPage),a=g.getSchemaFilePath(i.SchemaType.OverviewPage);o[n.filename]=l.generateOVPInterfaceV2(t[a.filename],e.manifest)}return Object.assign(Object.assign({},t),o)}(e,a,t,n)}function E(e,t){let n=[];for(const t of Object.keys(e).sort()){let a;a=t===i.SchemaType.Application?`${h.DirName.Schemas}/${h.FileName.App[0].toUpperCase()}${h.FileName.App.slice(1)}`:`${h.DirName.Schemas}/${t}.json`,n.push({dataSourceUri:a,fileContent:JSON.stringify(e[t],null,4)})}return t&&(n=n.concat(t)),n}t.getEntitySetByEntitySetName=P,t.importProjectSchema=async function(e){v.initI18n();let t=[];const n=g.getVersionFromManifest(e.manifest),a=g.parseAndMergeAndConvert(e.annotations,e.logger),r=b(a),i=g.getTemplateTypeFromManifest(e.manifest,n,e.logger),o={manifest:e.manifest,serviceAVT:a,fragments:e.fragments,fioriElementsVersion:n,logger:e.logger};if(i){t=E(await O(o,r,i))}return t},t.importProjectSchemaAndConfig=async function(e){v.initI18n();let t=[],n=[];const{manifest:a,annotations:r,flex:i,fragments:o,logger:s}=e,c=g.getVersionFromManifest(a),l=g.parseAndMergeAndConvert(r,s),f={manifest:e.manifest,serviceAVT:l,fragments:e.fragments,fioriElementsVersion:c,logger:e.logger},h=b(l),m=g.getTemplateTypeFromManifest(a,c,s);if(m){const e=await O(f,h,m);n=function(e,t,n,a,r){let i;const o=[];switch(a){case g.TemplateType.ListReportObjectPageV2:case g.TemplateType.AnalyticalListPageV2:i=new u.V2AppProvider(e,t,n,r);break;case g.TemplateType.AnalyticalListPageV4:case g.TemplateType.ListReportObjectPageV4:i=new d.V4AppProvider(e,n);break;case g.TemplateType.OverviewPageV2:i=new p.V2OvpProvider(e,n)}if(i){const{appConfig:e,pageConfigs:t}=i.createConfigFiles();for(const t in e)o.push({dataSourceUri:t,fileContent:JSON.stringify(e[t],null,4)});for(const e in t)o.push({dataSourceUri:e,fileContent:JSON.stringify(t[e],null,4)})}return o}(a,i,e,m,o),t=E(e,n)}return t}},5008:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(9081)),a(n(8517)),a(n(5599)),a(n(1684)),a(n(3436)),a(n(3917));var r=n(7108);t.importProjectSchemaAndConfig=r.importProjectSchemaAndConfig,t.importProjectSchema=r.importProjectSchema},8517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.flex="flex",e.manifest="manifest"}(t.ExportArtifacts||(t.ExportArtifacts={})),function(e){e.Schemas=".schemas",e.Pages="pages"}(t.DirName||(t.DirName={})),function(e){e.App="app.json"}(t.FileName||(t.FileName={})),t.FacetTitlePrefix="Facet ID: ",function(e){e.Section="Section",e.HeaderSection="HeaderSection"}(t.SectionType||(t.SectionType={})),function(e){e.Manifest="Manifest",e.FlexChange="FlexChange",e.Annotation="Annotation"}(t.ArtifactType||(t.ArtifactType={})),function(e){e.Table="sap.m.Table",e.TableColumn="sap.m.Column",e.SmartTable="sap.ui.comp.smarttable.SmartTable",e.SmartFilterBar="sap.ui.comp.smartfilterbar.SmartFilterBar",e.SmartChart="sap.ui.comp.smartchart.SmartChart",e.SmartGroup="sap.ui.comp.smartform.SmartGroup",e.Button="sap.m.Button",e.ToolbarButton="sap.m.OverflowToolbarButton",e.Avatar="sap.f.Avatar",e.ObjectPageDynamicHeaderTitle="sap.uxap.ObjectPageDynamicHeaderTitle",e.ObjectPageGridProperties="sap.ui.layout.GridData",e.ObjectPageHeader="sap.uxap.ObjectPageHeader",e.ObjectPageLayout="sap.uxap.ObjectPageLayout",e.HeaderAction="sap.uxap.ObjectPageHeaderActionButton",e.DynamicPage="sap.f.DynamicPage",e.Form="sap.ui.layout.form",e.Chart="sap.suite.ui.microchart",e.Section="sap.uxap.ObjectPageSection",e.SubSection="sap.uxap.ObjectPageSubSection"}(t.ControlType||(t.ControlType={})),function(e){e.LineItem="LineItem",e.CollectionFacet="CollectionFacet",e.Chart="Chart",e.Form="Form",e.Identification="Identification",e.DataPoint="DataPoint",e.Address="Address",e.Contact="Contact",e.Unknown=""}(t.FacetBase||(t.FacetBase={})),t.BindingPropertyRegexAsString="^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",function(e){e.ResponsiveTableColumnsExtension="ResponsiveTableColumnsExtension",e.AnalyticalTableColumnsExtension="AnalyticalTableColumnsExtension",e.TreeTableColumnsExtension="TreeTableColumnsExtension",e.GridTableColumnsExtension="GridTableColumnsExtension",e.ResponsiveTableCellsExtension="ResponsiveTableCellsExtension"}(t.ViewTemplateType||(t.ViewTemplateType={})),t.METADATAPATH="webapp/localService/metadata.xml",t.MANIFESTPATH="webapp/manifest.json",t.VOCWITHSLASH="/@com.sap.vocabularies",t.VOCWITHCOLONS="::@com.sap.vocabularies",t.UIVOCABULARY="com.sap.vocabularies.UI.v1",t.QUICKVARPATH="/quickVariantSelection",t.QUICKVARPATHX="/quickVariantSelectionX",t.DATESETTINGSPATH="/filterSettings/dateSettings",t.TOOLBAR="ToolBar<LineItems>",t.FRAGMENTNAMEPART=".fragment."},9081:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(8517),i=n(4350),o=n(1014),s=n(6971),c=n(3435),l=a(n(9154)),u=n(390),p=n(5877),f=n(5921),d=a(n(4225));var h;function g(e,t,n){var a,r,i,o;if(null===(a=null==e?void 0:e.Common)||void 0===a?void 0:a.Label)if("string"==typeof e.Common.Label)n=e.Common.Label;else if("Path"===e.Common.Label.type){const a=t.resolvePath(e.Common.Label.path);a.value?n=a.value:"string"==typeof(null===(r=a.Common)||void 0===r?void 0:r.Label)&&(n=a.annotations.Common.Label)}else"string"==typeof(null===(o=null===(i=e.Common)||void 0===i?void 0:i.Label)||void 0===o?void 0:o.toString())&&(n=e.Common.Label.toString());return n}function m(e,t){var n,a;let r,i;return e.Value?"string"==typeof e.Value?i=t.entityProperties.find((t=>t.name===e.Value)):(i=t.resolvePath(e.Value.path),i||(i=e.Value.$target)):e.Target&&e.Target.$target&&e.Target.$target.Value&&(i=e.Target.$target.Value.$target),(null===(a=null===(n=null==i?void 0:i.annotations)||void 0===n?void 0:n.Common)||void 0===a?void 0:a.Label)&&(r=g(i.annotations,t,r)),r}function y(e,t,n){const a=m(e,t);return n||a||(e.Value.$target?e.Value.$target.name:e.Value.value||e.Value.path)}function v(e){if(e){const t=`${u.FE_TEMPLATE_V2}.`;return e.split(t)[1]}}function b(e){if(e){const t=`${p.FE_TEMPLATE_V4}.`;return e.split(t)[1]}}function P(e,t){let n=t.references.find((t=>t.namespace===e));return n||(n=t.references.find((t=>t.alias===e))),n||(n=t.references.find((t=>t.alias.toUpperCase()===e.split("SAP__")[e.split("SAP__").length-1].toUpperCase()))),null==n?void 0:n.alias}function S(e,n,a,r,i=s.FioriElementsVersion.v2,o=!1){var c;const u=e.fullyQualifiedName.substr(e.fullyQualifiedName.lastIndexOf("@"));let p=e.ID?e.ID.toString():u,d=n;if("com.sap.vocabularies.UI.v1.CollectionFacet"!==e.$Type&&"Target"in e){const u=t.getAnnotationPropertyValue(e.Target);if(!u)return void f.log(r,{severity:"error",message:l.default.t("NOTARGET",{target:e.Target})});const h=u.split("/"),g=h.length>1?h[0]:"";g&&(d=null===(c=n.resolvePath(g))||void 0===c?void 0:c.targetType),function(e,t,n){const a=(t[1]||t[0]).split("#")[0];if(a.includes(".LineItem")){const t=e.split("::");t[t.length-1]=(n?"":"@")+"com.sap.vocabularies.UI.v1.LineItem",e=t.join("::")}else e=a.replace("@UI",(n?"":"@")+"com.sap.vocabularies.UI.v1")}(p,h,o);const m=function(e,t,n){var a;const r=e[e.length-1],i=r.substring(r.lastIndexOf(".")+1,r.length),o=P(r.substring(0,r.lastIndexOf(".")).replace("@",""),n);return null===(a=null==t?void 0:t.annotations[o])||void 0===a?void 0:a[i]}(h,d,a);if(!m)return;{const e=i===s.FioriElementsVersion.v2?"::":"#";p=function(e,t=!1){return`${t?"":"@"}${e.qualifier?e.term+"#"+e.qualifier:e.term}`}(m,o).replace("#",e)}if(g){p=`${g}${i===s.FioriElementsVersion.v2?"::":"/"}${p}`}}return p=p.replace(/\//gi,"::"),p?Object.assign(Object.assign(Object.assign({key:p},e.Label&&{label:e.Label.toString()}),e.ID&&{ID:e.ID.toString()}),{entityType:d}):void 0}function T(e,t,n,a,i,o=s.FioriElementsVersion.v2,c){var u;const p=S(e,a,t,c,o,!1);if(p)switch(e.$Type){case"com.sap.vocabularies.UI.v1.ReferenceFacet":!function(e,t,n,a,i,o=s.FioriElementsVersion.v2,c){var u,p,d,h,g,m;const y=P(r.UIVOCABULARY,i);let v=e?e.key:"";const b=e.entityType;let S,T;if(v.includes("com.sap.vocabularies.UI.v1.Chart")||v.includes(y+".Chart"))n[v]={base:r.FacetBase.Chart},n[v].entityType=b;else if(v.includes("com.sap.vocabularies.UI.v1.Identification")||v.includes(y+".Identification"))S=v.split(".")[v.split(".").length-1],T=b.annotations[y][S],n[v]={base:r.FacetBase.Identification},n[v].entityType=b,n[v].target=T;else if(a&&(v.includes("com.sap.vocabularies.UI.v1.LineItem")||v.includes(y+".LineItem"))){if(!v.includes("com.sap.vocabularies.UI.v1.LineItem")&&v.includes(".LineItem")){const e=v.split("::");e[e.length-1]="@com.sap.vocabularies.UI.v1.LineItem",v=e.join("::")}n[v]={base:r.FacetBase.LineItem},n[v].target=null===(u=null==t?void 0:t.Target)||void 0===u?void 0:u.$target,n[v].entityType=b}else v.includes("com.sap.vocabularies.UI.v1.FieldGroup")||v.includes(y+".FieldGroup")?(n[v]={base:r.FacetBase.Form},n[v].target=null===(p=null==t?void 0:t.Target)||void 0===p?void 0:p.$target,n[v].entityType=b):v.includes("com.sap.vocabularies.UI.v1.DataPoint")||v.includes(y+".DataPoint")?(n[v]={base:r.FacetBase.DataPoint},n[v].target=null===(d=null==t?void 0:t.Target)||void 0===d?void 0:d.$target,n[v].entityType=b,n[v].Label=null===(h=null==t?void 0:t.Target)||void 0===h?void 0:h.$target.Title):v.includes("com.sap.vocabularies.Communication.v1.Contact")||v.includes(y+".Contact")?(n[v]={base:r.FacetBase.Contact},n[v].target=null===(g=null==t?void 0:t.Target)||void 0===g?void 0:g.$target,n[v].entityType=b):v.includes("com.sap.vocabularies.Communication.v1.Address")||v.includes(y+".Address")?(n[v]={base:r.FacetBase.Address},n[v].target=null===(m=null==t?void 0:t.Target)||void 0===m?void 0:m.$target,n[v].entityType=b):n[v]={base:r.FacetBase.Unknown};n[v]&&(n[v].annotationPath=`/${t.fullyQualifiedName.replace("@com.sap.vocabularies",r.VOCWITHSLASH)}`,t.Label&&(n[v].Label=t.Label),t.ID?n[v].ID=t.ID:o===s.FioriElementsVersion.v4&&f.log(c,{severity:"error",message:l.default.t("NOID4SECTION",{facet:t.fullyQualifiedName})}),e&&e.entityType&&(n[v].entityType=e.entityType))}(p,e,i,a,t,o,c);break;case"com.sap.vocabularies.UI.v1.CollectionFacet":{const s=`/${a.fullyQualifiedName}/${e.fullyQualifiedName.split(a.fullyQualifiedName)[1]}`,l=i[p.key]={base:r.FacetBase.CollectionFacet,facets:{},ID:p.ID,annotationPath:s,Label:p.label};null===(u=e.Facets)||void 0===u||u.forEach((e=>{T(e,t,n,a,l.facets,o,c)}));break}}}function O(e,t){let n;if(e[p.ManifestSection.generic]){const a=e[p.ManifestSection.generic].pages;if(!a)return void f.log(t,{severity:"error",message:l.default.t("NOPAGES",{appId:e["sap.app"].id}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.generic]}});for(const e in a){const t=a[e];if(v(t.component.name)===s.PageType.AnalyticalListPage){n=h.AnalyticalListPageV2;break}if(v(t.component.name)===s.PageType.ListReport){n=h.ListReportObjectPageV2;break}}}else n||f.log(t,{severity:"error",message:l.default.t("NOTEMPLATE",{section:p.ManifestSection.generic}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.generic]}});return n}function E(e,t){let n;const a=e[p.ManifestSection.ui5].routing&&e[p.ManifestSection.ui5].routing.targets;if(a){for(const e in a){const t=b(a[e].name);if(t===s.PageTypeV4.AnalyticalListPage){n=h.AnalyticalListPageV4;break}if(t===s.PageTypeV4.ListReport||t===s.PageTypeV4.ObjectPage){n=h.ListReportObjectPageV4;break}}return n||f.log(t,{severity:"error",message:l.default.t("NOTEMPLATE",{section:p.ManifestSection.ui5}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.ui5,"routing","targets"]}}),n}f.log(t,{severity:"error",message:l.default.t("NOPAGES",{appId:e["sap.app"].id}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.ui5,"routing"]}})}function _(e,t,n){(null==e?void 0:e.ID)?t.title=r.FacetTitlePrefix+e.ID:t.title=n.substr(n.lastIndexOf(".")+1),(null==e?void 0:e.Label)?t.description=e.Label:(null==e?void 0:e.ID)?t.description=e.ID:t.description=n.substr(n.lastIndexOf(".")+1)}!function(e){e.ListReportObjectPageV2="ListReportObjectPageV2",e.ListReportObjectPageV4="ListReportObjectPageV4",e.OverviewPageV2="OverviewPageV2",e.AnalyticalListPageV2="AnalyticalListPageV2",e.AnalyticalListPageV4="AnalyticalListPageV4"}(h=t.TemplateType||(t.TemplateType={})),t.DEFINITION_LINK_PREFIX="#/definitions/",t.createAnnotationPath=(e,t,n)=>{let a=`/${e}/@${t}`;return n&&(a+=`#${n}`),a},t.parseAndMergeAndConvert=function(e,t){const n=[];let a;try{if(e&&e.forEach((function(e){n.push(o.parseEDMX(e.fileContent,e.dataSourceUri))})),n.length>0&&(a=i.convertTypes(o.merge(n))),t&&(null==a?void 0:a.diagnostics))for(const e of a.diagnostics)f.log(t,{severity:"error",message:e.message});return a}catch(e){f.log(t,{severity:"error",message:l.default.t("ANNOERR")},...e)}},t.getAnnotationPropertyValue=e=>(null==e?void 0:e.value)||(null==e?void 0:e.path),t.evaluateCommonLabel=g,t.getLabelForPropertyPath=function(e,t){let n=e.value;return e.$target&&(n=g(e.$target.annotations,t,n)),n},t.getLabelForDataField=m,t.getDatafieldDescription=function(e,t){let n,a,r="";const i=function(e,t){var n,a;if("string"==typeof e)return e;if("object"==typeof e&&e.path){const r=t.resolvePath(e.path);if(!r||0===r.length)return;{const i=r[0];if(null===(a=null===(n=null==i?void 0:i.annotations)||void 0===n?void 0:n.Common)||void 0===a?void 0:a.Label){const n=e;return g(i.annotations,t,n)}}}}(e.Label,t);switch(e.$Type){case"com.sap.vocabularies.UI.v1.DataField":a=e,r=y(a,t,i);break;case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":a=e,n=m(e,t),r=i||n||("string"==typeof a.Value?a.Value:a.Value.path);break;case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":a=e,n=m(e,t),r=i||n||a.Target.$target.Title||a.Target.value;break;case"com.sap.vocabularies.UI.v1.DataFieldForAction":case"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation":a=e,r=i?"string"==typeof i?i:a.Action:e.Action;break;case"com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation":a=e,n=m(e,t),r=n||a.Value.path;break;case"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath":a=e,r=y(a,t,i)}return r},t.getPageTypeV2=v,t.getPageTypeV4=b,t.findAlias=P,t.getSectionFacet=S,t.getManifestSectionByPathV4=(e,t,n,a)=>{let r=e;return t.split("/").forEach((function(e){a&&a===e&&(e=n),r[e]||(r[e]={}),r=r[e]})),r},t.getSchemaKeyOfLineItemRecord=function(e){let n,a,r;switch(e.$Type){case"com.sap.vocabularies.UI.v1.DataField":n=t.getAnnotationPropertyValue(e.Value);break;case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":n="string"==typeof e.Value?e.Value:t.getAnnotationPropertyValue(e.Value);break;case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":a=e.Target.value,a&&(n="DataFieldForAnnotation:::sTarget::"+a.replace("@UI","@com.sap.vocabularies.UI.v1").replace("@Communication","@com.sap.vocabularies.Communication.v1").replace("@Contact","@com.sap.vocabularies.Contact.v1"));break;case"com.sap.vocabularies.UI.v1.DataFieldForAction":e.Inline&&(n="DataFieldForAction:::sAction::"+e.Action);break;case"com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation":r=t.getAnnotationPropertyValue(e.Value),n="DataFieldWithIntentBasedNavigation:::sProperty::"+r+":::sSemanticObject::"+e.SemanticObject+":::sAction::"+e.Action;break;case"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation":e.Inline&&(n="DataFieldForIntentBasedNavigation:::sSemanticObject::"+e.SemanticObject+":::sAction::"+e.Action);break;case"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath":r=t.getAnnotationPropertyValue(e.Value),a=t.getAnnotationPropertyValue(e.Target),n="DataFieldWithNavigationPath:::sProperty::"+r+":::sTarget::"+a}return n},t.getObjectPageHeaderFacets=function(e,t,n=s.FioriElementsVersion.v2,a){const i={};if(!e||!e.annotations)return;const o=P(r.UIVOCABULARY,t),c=o&&e.annotations[o]&&e.annotations[o].HeaderFacets;if(c){const r=e.fullyQualifiedName.lastIndexOf("."),o=e.fullyQualifiedName.substr(0,r);c.forEach((r=>{T(r,t,o,e,i,n,a)}))}return i},t.getObjectPageFacets=function(e,t,n=s.FioriElementsVersion.v2,a){const i={};if(!e||!e.annotations)return;const o=P(r.UIVOCABULARY,t),c=o&&e.annotations[o]&&e.annotations[o].Facets;if(c){const r=e.fullyQualifiedName.lastIndexOf("."),o=e.fullyQualifiedName.substr(0,r);c.forEach((r=>{T(r,t,o,e,i,n,a)}))}return i},t.getVersionFromManifest=function(e){return e[p.ManifestSection.generic]||e[p.ManifestSection.ovp]?s.FioriElementsVersion.v2:s.FioriElementsVersion.v4},t.determineV2Template=O,t.determineV4Template=E,t.getTemplateTypeFromManifest=function(e,t,n){let a;return e[p.ManifestSection.ovp]?a=h.OverviewPageV2:t===s.FioriElementsVersion.v2?a=O(e,n):t===s.FioriElementsVersion.v4?a=E(e,n):a||f.log(n,{severity:"error",message:l.default.t("NOFE"),location:{path:r.MANIFESTPATH}}),a},t.addSectionTitleAndDescription=_,t.createSectionWithoutProperties=function(e,t){if(!e)return;const n={type:"object",properties:{},additionalProperties:!1,annotationPath:e.annotationPath,isViewNode:!0};return _(e,n,t),n},t.getObjectPageFacetSection=function(e,t,n,a=s.FioriElementsVersion.v2,i=!1){const o=P(r.UIVOCABULARY,t);let c=[];if(e){const r=o&&e.annotations&&e.annotations[o]&&e.annotations[o].Facets;return r&&(c=r.reduce((function(r,o){if(i&&!o.ID&&(!("Target"in o)||!o.Target))return r;const s=S(o,e,t,n,a,!0);return s&&r.push(s),r}),c)),c}},t.deleteEmptyStructure=(e,n,a,r)=>{let i=e;const o=n.split("/");o.forEach((function(n){if(n===r&&(n=a),i[n])return 0===Object.keys(i[n]).length?(delete i[n],o.pop(),void t.deleteEmptyStructure(e,o.join("/"),a,r)):void(i=i&&i[n])}))};const C=e=>`${e}`;function A(e,n,a,r,i,o,s){let c;if("array"===r.type)return c=A(e,n,a,r.items,i,o,s),c;const l=function(e,n,a){const r=[];if(e.$ref)r.push(e.$ref.split(t.DEFINITION_LINK_PREFIX)[1]);else if(e.anyOf&&(n&&e.anyOf.forEach((e=>{if(e.$ref){const i=e.$ref.split(t.DEFINITION_LINK_PREFIX)[1];if(a.definitions[i]){const t=a.definitions[i].controlProperty;e.$ref.includes(n[t])&&r.push(i)}}})),0===r.length))return;return r}(r,a,e);return l?(c=function(e,t,n,a,r,i,o,s){var c,l,u;let p={configObject:void 0,targetDefinition:{},title:""};if(e.length){const s=e[e.length-1];if(p.targetDefinition=t.definitions[s],(null===(c=null==p?void 0:p.targetDefinition)||void 0===c?void 0:c.$ref)||"array"===(null===(l=null==p?void 0:p.targetDefinition)||void 0===l?void 0:l.type))return p=A(t,n,a,p.targetDefinition,r,i,o),p;e.length>1&&e.forEach((e=>{""!==e&&(p.targetDefinition.properties=Object.assign(Object.assign({},p.targetDefinition.properties),t.definitions[e].properties))})),p.title=(null===(u=null==p?void 0:p.targetDefinition)||void 0===u?void 0:u.title)?p.targetDefinition.title:n;const f=null==s?void 0:s.split("<")[0],d=a||{};p.configObject=i.createInstance(o,f,d,p.targetDefinition.controlProperty)}else p.targetDefinition=s,p.title=p.targetDefinition.title?p.targetDefinition.title:r,p.configObject=a;return p}(l,e,n,a,i,o,s,r),c):void 0}t.getSchemaFilePath=(e,t)=>{const n={filename:"",path:""};switch(e){case c.SchemaType.Application:n.filename="App",n.path=`./${r.DirName.Schemas}/${n.filename}`;break;case c.SchemaType.ListReport:case c.SchemaType.ObjectPage:n.filename=t?`${e}_${t}`:C(e),n.path=`../${r.DirName.Schemas}/${n.filename}`;break;default:n.filename=C(e),n.path=`../${r.DirName.Schemas}/${n.filename}`}return n.path+=".json",n},t.generatePageId=function(e,t,n,a){if(e===s.PageType.CustomPage){const e=a&&a.split(".");return e&&e[e.length-1]+"Page"}const r=[];return r.push(e),t&&r.push(t),n&&r.push(n),r.join("_")},t.getNextTargetDefinition=A,t.prepareRef=function(e){return e.replace("#","::").replace(/\//g,"::")},t.arrayCombineMerge=(e,t,n)=>{const a=e.slice();return t.forEach(((t,r)=>{void 0===a[r]?a[r]=n.cloneUnlessOtherwiseSpecified(t,n):n.isMergeableObject(t)?a[r]=d.default(e[r],t,n):-1===e.indexOf(t)&&a.push(t)})),a}},1997:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(6354));t.initI18n=function(e){e.addResourceBundle(e.language,"translation",r)}},6088:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(390),o=n(6971),s=n(8517);t.getAppSettingPathV2=e=>`${o.ManifestSection.generic}/pages/${e[0]}/component/settings`,t.getTableSettingPathV2=e=>t.getAppSettingPathV2(e)+"/tableSettings",t.getChartSettingPathV2=e=>t.getAppSettingPathV2(e)+"/chartSettings",t.getDataLoadSettingPathV2=e=>t.getAppSettingPathV2(e)+"/dataLoadSettings",t.getCreationFieldsPathV2=(e,n,a)=>`${t.getTableSettingPathV2(e)}/createWithParameterDialog/fields/${a}`,t.getOVPsettingPath=()=>o.ManifestSection.ovp,t.getCardSettingsPath=e=>{const t=[o.ManifestSection.ovp+"/cards"];return e.forEach((e=>{e in i.CardSettingsType?t.push("settings"):t.push(e)})),t.pop(),t.join("/")},t.getGlobalSettingsPath=e=>{const t=[o.ManifestSection.ovp];return e.forEach((e=>{t.push(e)})),t.pop(),t.join("/")},t.getKPISettingsPath=(e,t,n)=>`${o.ManifestSection.generic}/pages/${e[0]}/component/settings/keyPerformanceIndicators/${n}`,t.getAppRootSettingOBJPath=e=>{const t=[o.ManifestSection.generic];return e.forEach((e=>{t.push("pages/"+e)})),t.join("/")},t.getAppSettingOBJPathV2=e=>{const n=[];return n.push(t.getAppRootSettingOBJPath(e)),n.push("component/settings"),n.join("/")},t.getAppSettingOBJsectionPathV2=(e,n,a)=>{const r=[];r.push(t.getAppRootSettingOBJPath(e));const i=a.replace(s.VOCWITHCOLONS,"::com.sap.vocabularies");return r.push("component/settings/sections/"+i),r.join("/")},t.getTableSettingsOBJsectionPathV2=(e,n,a)=>t.getAppSettingOBJsectionPathV2(e,{},a)+"/tableSettings",t.getChartSettingsOBJsectionPathV2=(e,n,a)=>t.getAppSettingOBJsectionPathV2(e,{},a)+"/chartSettings",t.getViewExtensionsPath=()=>`sap.ui5/extends/extensions/${i.SAPUI5_VIEW_EXTENSION}/${i.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE}`,t.getObjectPageCustomSectionPath=(e,n,a,...r)=>{const i="|",o=a.split(i),s=e[e.length-1].split(i);let c="";4===o.length?c=[o[2],o[3]].join(i):3===o.length&&(c=o[2]);const l=[o[0],s[s.length-1],c].join(i);return r.unshift(l),t.getViewExtensionsPath()+"/"+r.join("/")};class ApplicationV2{}a([r.childId("settings")],ApplicationV2.prototype,"settings",void 0),t.ApplicationV2=ApplicationV2;class AppSettings{}a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"title",void 0),a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"description",void 0),a([r.syncRule({manifest:{path:()=>o.GENERICAPPSETTINGS}}),r.validity({since:"1.50.0"})],AppSettings.prototype,"flexibleColumnLayout",void 0),a([r.syncRule({manifest:{path:()=>o.GENERICAPPSETTINGS}}),r.validity({since:"1.46.0"})],AppSettings.prototype,"forceGlobalRefresh",void 0),a([r.syncRule({manifest:{path:()=>o.GENERICAPPSETTINGS}}),r.validity({since:"1.74.0"})],AppSettings.prototype,"tableColumnVerticalAlignment",void 0),a([r.syncRule({manifest:{path:()=>"sap.ui5"}}),r.validity({since:"1.56.0"})],AppSettings.prototype,"flexEnabled",void 0),t.AppSettings=AppSettings},8722:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(2762),o=n(8517),s=n(6088);t.getSmartChartControlId=e=>e+"chart";class ChartSettings{}a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"showLegendButton",void 0),a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"showDownloadButton",void 0),a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"showChartTypeSelectionButton",void 0),a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,exportFlexValue:(e,t,n)=>{e.content.newValue=t[n].join()},importFlexValue:(e,t,n)=>{e.content.newValue=e.content.newValue,t[n]=e.content.newValue.split(",")},createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"ignoredChartTypes",void 0),a([i.syncRule({manifest:{path:e=>s.getChartSettingPathV2(e)}}),i.validity({since:"1.81.0"})],ChartSettings.prototype,"showDataLabel",void 0),t.ChartSettings=ChartSettings},8378:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088);class KPISettings{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"model",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"entitySet",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"qualifier",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"filterable",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"detailNavigation",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"groupId",void 0),t.KPISettings=KPISettings},5682:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088);class CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"entitySet",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"title",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"subTitle",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"identificationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"selectionAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"presentationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"defaultSpan",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"requireAppAuthorization",void 0),t.CommonCardSettings=CommonCardSettings;class CustomCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"entitySet",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"itemText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"valueSelectionInfo",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"staticContent",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"listType",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"sortBy",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"sortOrder",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"annotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"chartAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"dataPointAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"kpiAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"selectionPresentationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"dynamicSubtitleAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"ignoreSapText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"objectStreamCardsSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"enableLocaleCurrencyFormatting",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"navigation",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showFilterInHeader",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showSortingInHeader",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"imageSupported",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showLineItemDetail",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showLabelText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"customParams",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"chartProperties",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"colorPalette",void 0),t.CustomCard=CustomCard;class ListCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"listCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"tabs",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"listType",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"annotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"valueSelectionInfo",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"sortBy",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"sortOrder",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"addODataSelect",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"dataPointAnnotationPath",void 0),t.ListCard=ListCard;class AnalyticalCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"analyticalCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"chartAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"dataPointAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"valueSelectionInfo",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"tabs",void 0),t.AnalyticalCard=AnalyticalCard;class StackCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"stackCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"itemText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"objectStreamCardsNavigationProperty",void 0),t.StackCard=StackCard;class LinklistCard{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"linkListCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"entitySet",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"title",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"subTitle",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"targetUri",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"sortBy",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"sortOrder",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"headerAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"identificationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"defaultSpan",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"staticContent",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"requireAppAuthorization",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"annotationPath",void 0),t.LinklistCard=LinklistCard;class TableCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"disableTableCardFlexibility",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"tableCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"annotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"listType",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"dataPointAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"selectionPresentationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"valueSelectionInfo",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"tabs",void 0),t.TableCard=TableCard},651:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(5008);class Field{}a([r.syncRule({flex:{controlId:(e,t,n)=>{const a=n.filter((e=>!t.includes(e)))[0].replace("@com.sap","com.sap"),i=n.slice(-1)[0],o=[a,i.includes("::")?i.split("Field::")[1]:i,"GroupElement"];return r.buildControlIdFromParent(e,o)},controlType:()=>i.ControlType.SmartGroup,createFlexChange:r.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],Field.prototype,"visible",void 0),t.Field=Field},296:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(5599),o=n(6088),s=n(5008),c=n(6971);function l(e){if(!e||!e.dateSettings)return;const t=JSON.parse(JSON.stringify(e.dateSettings));if("string"==typeof e.dateSettings.selectedValues&&(t.selectedValues=e.dateSettings.selectedValues.split(",")),e.dateSettings.fields)for(const n in e.dateSettings.fields){t.fields[n]=e.dateSettings.fields[n];const a=e.dateSettings.fields[n].selectedValues;"string"==typeof a&&(t.fields[n].selectedValues=a.split(","));for(const a in e.dateSettings.fields[n].filter){const r=e.dateSettings.fields[n].filter[a];t.fields[n].filter[a]=r,r.equals&&"string"==typeof r.equals&&(t.fields[n].filter[a].equals=r.equals.split(","))}}return t}function u(e,t,n){if(e[n]=JSON.parse(JSON.stringify(t[n])),"selectedValues"===n&&(e[n]=t[n].join()),"fields"===n)for(const a in t[n]){const r=t[n][a];if(r.selectedValues&&(e[n][a].selectedValues=r.selectedValues.join()),r.filter)for(const t in r.filter){const i=r.filter[t];i.equals&&Array.isArray(i.equals)&&(e[n][a].filter[t].equals=i.equals.join())}}}t.importDateSettings=l,t.exportDateSettings=u;class DateRange{}a([r.syncRule({manifest:{path:(e,t)=>t===c.PageType.OverviewPage?o.getOVPsettingPath()+s.DATESETTINGSPATH:o.getAppSettingPathV2(e)+s.DATESETTINGSPATH}}),r.validity({since:"1.77.0"})],DateRange.prototype,"useDateRange",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+s.DATESETTINGSPATH,import:l,export:u}}),r.validity({since:"1.77.0"})],DateRange.prototype,"selectedValues",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+s.DATESETTINGSPATH}}),r.validity({since:"1.77.0"})],DateRange.prototype,"exclude",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+s.DATESETTINGSPATH,import:l,export:u}}),r.validity({since:"1.77.0"})],DateRange.prototype,"fields",void 0),t.DateRange=DateRange;class CommonFilterBar{}a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.38.0"})],CommonFilterBar.prototype,"smartVariantManagement",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.40.0"})],CommonFilterBar.prototype,"liveMode",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.48.0"})],CommonFilterBar.prototype,"variantManagementHidden",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.52.0"})],CommonFilterBar.prototype,"subTitleIfVariantMgmtHidden",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+"/filterSettings",import:l}}),r.validity({since:"1.77.0"})],CommonFilterBar.prototype,"dateSettings",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.28.0"})],CommonFilterBar.prototype,"showClearOnFB",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.38.0"})],CommonFilterBar.prototype,"showFilterConfiguration",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.28.0"})],CommonFilterBar.prototype,"showRestoreOnFB",void 0),t.CommonFilterBar=CommonFilterBar;class AnalyticalListPageFilterBar extends CommonFilterBar{}a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}})],AnalyticalListPageFilterBar.prototype,"showGoButtonOnFilterBar",void 0),t.AnalyticalListPageFilterBar=AnalyticalListPageFilterBar;class ListReportFilterBar extends CommonFilterBar{}a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.86.0"})],ListReportFilterBar.prototype,"annotationPath",void 0),t.ListReportFilterBar=ListReportFilterBar},4834:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o=n(5008),s={controlId:(e,t,n,a)=>{if(a()===i.ControlType.Button){return`${e}action::${n[n.length-1]}::${n[1].replace("@","")}::FormAction`}return r.buildControlIdFromParent(e,t)},controlType:()=>i.ControlType.Button,createFlexChange:r.exportToFlexChange};class FormAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],FormAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"type",void 0),t.FormAction=FormAction;class FieldForAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],FieldForAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],FieldForAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],FieldForAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],FieldForAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s}),r.validity({since:"1.73.0"})],FieldForAction.prototype,"type",void 0),t.FieldForAction=FieldForAction},8049:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(8517),i=n(4139),o=n(4667),s=a(n(9154)),c=n(5921),l=n(390),u=n(1350),p=n(5622);t.FRAGMENT_DEFINITION="core:FragmentDefinition";const f=new Map([[r.ViewTemplateType.AnalyticalTableColumnsExtension,"table:AnalyticalColumn"],[r.ViewTemplateType.ResponsiveTableColumnsExtension,"Column"],[r.ViewTemplateType.TreeTableColumnsExtension,"table:Column"],[r.ViewTemplateType.GridTableColumnsExtension,"table:Column"]]),d=new Map([[l.FE_TEMPLATE_V2_LIST_REPORT,l.SAPUI5_VIEW_EXTENSION_LIST_REPORT],[l.FE_TEMPLATE_V2_ALP,l.SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE],[l.FE_TEMPLATE_V2_OBJECT_PAGE,l.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE]]),h={type:"element",name:"Text",attributes:{text:"Placeholder"}},g=JSON.stringify(h);function m(e){const t=f.keys();for(const n of t){const t=f.get(n);if(e[t])return t}}function y(e){return e[m(e)]}function v(e,t){let n=!1;const a=e.customData||e["table:customData"];if(!a)return!1;let r=a["core:CustomData"]._attributes.value;const i=JSON.parse(r.substr(1,r.length)),o=t.findIndex((e=>e.columnKey===i.columnKey));return!(o<0)&&(n=!0,r='\\{"columnKey": "'+t[o].columnKey+'"',void 0!==t[o].columnIndex&&(r+=', "columnIndex": "'+t[o].columnIndex.toString()+'"'),t[o].leadingProperty&&(r+=', "leadingProperty": "'+t[o].leadingProperty+'"'),r+="}",a["core:CustomData"]._attributes.value=r,e.Text||e.Label||(e.Text={_attributes:{}}),e.Text?e.Text._attributes.text=t[o].text:e.Label&&(e.Label._attributes.text=t[o].text),e._attributes||(e._attributes={}),e._attributes.id=t[o].id,t.splice(o,1),true)}t.getTagNameFromFragmentJSON=m,t.getRootCustomColumnFromFragmentJSON=y,t.deleteColumnFromFragment=function(e,n,a,o){if(o){let s=e[n].fragmentName.substr(a.length+1),c=e.type?e.type.toLowerCase():"xml",l=s.split("."),u=l[l.length-1]+r.FRAGMENTNAMEPART+c;for(let e=0;e<o.length;e++){const n=o[e],a=n.dataSourceUri.split(p.sep);if(a[a.length-1]===u){const e=JSON.parse(i.xml2json(n.fileContent,{compact:!0})),a=m(e[t.FRAGMENT_DEFINITION]);a&&(delete e[t.FRAGMENT_DEFINITION][a],n.fileContent=i.json2xml(JSON.stringify(e),{compact:!0,spaces:4}));break}}const f=e[n.replace(r.ViewTemplateType.ResponsiveTableColumnsExtension,r.ViewTemplateType.ResponsiveTableCellsExtension)];if(f){c=f.type?f.type.toLowerCase():"xml",s=f.fragmentName.substr(a.length+1),l=s.split("."),u=l[l.length-1]+r.FRAGMENTNAMEPART+c;for(let e=0;e<o.length;e++){const t=o[e];if(t.dataSourceUri.endsWith(u)){const e=JSON.parse(i.xml2json(t.fileContent)),n=e.elements[0].elements&&e.elements[0].elements.filter((e=>"element"===e.type));if(n)for(let e=0;e<n.length;e++)JSON.stringify(n[e])===g&&n.splice(e,1);break}}}}},t.exportToFragment=function(e,n,a,l,d,b){var P;const S=e.fragments,T=e.manifest;let O,E;const _=u.getManifestSectionByPathV2(T,n),C=_.type?_.type.toLowerCase():"xml";_.type=C.toUpperCase();for(let e=0;e<a.length;e++)a[e].fragmentName?(_.fragmentName=a[e].fragmentName,_.className=a[e].className,E=(null===(P=a[e].fragmentName)||void 0===P?void 0:P.replace(l,"<root>/webapp").replace(/[.]/g,p.sep))+r.FRAGMENTNAMEPART+C):c.log(b,{severity:"error",message:s.default.t("NOFRAGMENT",{columnKey:a[e].columnKey})});if(n.indexOf(r.ViewTemplateType.ResponsiveTableColumnsExtension)>-1){const e=n.replace(r.ViewTemplateType.ResponsiveTableColumnsExtension,r.ViewTemplateType.ResponsiveTableCellsExtension),t=u.getManifestSectionByPathV2(T,e),i=a.reduce(((e,t)=>t.cellsFragmentName?t:e));i&&i.cellsFragmentName?(t.fragmentName=O=i.cellsFragmentName,t.className=a[0].className,t.type=C.toUpperCase()):u.deleteManifestSectionByPathV2(T,e)}const A=JSON.parse(JSON.stringify(a));let I=_.fragmentName,R=!1,F=!1;const x=I.substr(l.length+1),w=x.split(".");I=w[w.length-1]+r.FRAGMENTNAMEPART+C;const j=null==O?void 0:O.split("."),N=j?j[j.length-1]:null,L=N?N+r.FRAGMENTNAMEPART+C:null;if(S){for(let e=0;e<S.length;e++){const n=S[e];if(n.dataSourceUri.endsWith(I)){let e={};if(R=!0,n.fileContent&&0!==n.fileContent.length){const a=JSON.parse(i.xml2json(n.fileContent,{compact:!0}));if(e=y(a[t.FRAGMENT_DEFINITION]),e)if(Array.isArray(e))for(let t=0;t<e.length;t++){v(e[t],A)||e.splice(t,1)}else{if(!v(e,A)){const n=m(a[t.FRAGMENT_DEFINITION]);n&&(delete a[t.FRAGMENT_DEFINITION][n],e=void 0)}}for(let t=0;t<A.length;t++)if(A[t].fragmentName.endsWith(x)){const n=o.getSingleColumnContent(A[t],d);if(n){const t=y(JSON.parse(i.xml2json(n,{compact:!0})));Array.isArray(e)?e.push(t):e=e?[e,t]:[t]}}const r=f.get(d);a[t.FRAGMENT_DEFINITION][r]=e,n.fileContent=i.json2xml(JSON.stringify(a),{compact:!0,spaces:4})}else n.fileContent=o.getColumnFragmentContent(A,d);break}}F=!O||function(e,t,n){let a=!1;for(let r=0;r<e.length;r++){const s=e[r],c=s.dataSourceUri.split(p.sep);if(c[c.length-1]===t){if(a=!0,s.fileContent&&0!==Object.keys(s.fileContent).length){const e=JSON.parse(i.xml2json(s.fileContent)),t=e.elements[0].elements&&e.elements[0].elements.filter((e=>"element"===e.type));if(!t||Object.keys(t).length!==Object.keys(n).length){if(!t||Object.keys(t).length<Object.keys(n).length){const a=t?Object.keys(t).length:0;e.elements[0].elements||(e.elements[0].elements=[]);for(let t=a;t<Object.keys(n).length;t++)e.elements[0].elements.push(h)}else if(Object.keys(t).length>Object.keys(n).length){let a=Object.keys(t).length-Object.keys(n).length;for(let t=0;t<Object.keys(e.elements[0].elements).length&&(JSON.stringify(e.elements[0].elements[t])!==g||(e.elements[0].elements.splice(t,1),a-=1,0!==a));t++);}s.fileContent=i.json2xml(JSON.stringify(e),{spaces:4})}}else s.fileContent=o.getResponsiveTableCellsFragment(n);break}}return a}(S,L,a)}if(!R){const t={fileContent:o.getColumnFragmentContent(A,d),dataSourceUri:E};e.fragments.push(t)}if(!F){const t={fileContent:o.getResponsiveTableCellsFragment(a),dataSourceUri:E.replace(I,L)};e.fragments.push(t)}},t.getCustomColumnPath=(e,t,n,a)=>{const r=d.get(e.component.name);if(!a){let t=e.component.settings&&e.component.settings.tableSettings&&e.component.settings.tableSettings.type;t||(t="ResponsiveTable"),"sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"===r&&(t="AnalyticalTable"),a=t+"ColumnsExtension"}let i=`${a}|${t}`;n&&(i+="|"+n);return{path:"sap.ui5/extends/extensions/sap.ui.viewExtensions/"+r+"/"+i,viewTemplateType:a}}},919:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6088),i=n(2762);class ObjectPageChart{}a([i.syncRule({manifest:{path:r.getChartSettingsOBJsectionPathV2}}),i.validity({since:"1.78.0"})],ObjectPageChart.prototype,"variantManagement",void 0),t.ObjectPageChart=ObjectPageChart;class GlobalChartSettings{}a([i.syncRule({manifest:{path:e=>r.getAppSettingOBJPathV2(e)+"/chartSettings"}}),i.validity({since:"1.78.0"})],GlobalChartSettings.prototype,"variantManagement",void 0),t.GlobalChartSettings=GlobalChartSettings},708:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(2762),o=n(6088);class BaseCustomSection{}a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath,export:!1,import:(e,t)=>t.split("|")[2]}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"relatedFacet",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath,export:!1,import:(e,t)=>t.split("|")[0]}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"relativePosition",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getObjectPageCustomSectionPath(e,{},n,r.ManifestSection.generic)}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"title",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"className",void 0),t.BaseCustomSection=BaseCustomSection;class ObjectPageCustomSectionFragment extends BaseCustomSection{}a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionFragment.prototype,"fragmentName",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionFragment.prototype,"type",void 0),t.ObjectPageCustomSectionFragment=ObjectPageCustomSectionFragment;class ObjectPageCustomSectionView extends BaseCustomSection{}a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionView.prototype,"viewName",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionView.prototype,"type",void 0),t.ObjectPageCustomSectionView=ObjectPageCustomSectionView},3284:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(6088),o=n(5008);class ObjectPageHeader{}a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.46.0"})],ObjectPageHeader.prototype,"showRelatedApps",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.46.0"})],ObjectPageHeader.prototype,"editableHeaderContent",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.48.0"})],ObjectPageHeader.prototype,"simpleHeaderFacets",void 0),a([r.syncRule({flex:{controlId:(e,t)=>{const n=t.slice(0);return n[t.length-1]="objectImage",r.buildControlIdFromParent(e,n)},controlType:()=>o.ControlType.Avatar,createFlexChange:r.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumOP})],ObjectPageHeader.prototype,"displayShape",void 0),t.ObjectPageHeader=ObjectPageHeader},338:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o=n(5008),s=(e,t,n,a)=>{if(a()===i.ControlType.Button||a()===i.ControlType.HeaderAction){return e+"action::"+n[2]}return r.buildControlIdFromParent(e,t)};class HeaderAction{}a([r.syncRule({flex:{controlId:s,controlType:()=>i.ControlType.HeaderAction,createFlexChange:r.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumOP})],HeaderAction.prototype,"visible",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>i.ControlType.HeaderAction,createFlexChange:r.exportToFlexChange}})],HeaderAction.prototype,"tooltip",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>i.ControlType.HeaderAction,createFlexChange:r.exportToFlexChange}})],HeaderAction.prototype,"icon",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>i.ControlType.HeaderAction,createFlexChange:r.exportToFlexChange}})],HeaderAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>i.ControlType.HeaderAction,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.73.0"})],HeaderAction.prototype,"type",void 0),t.HeaderAction=HeaderAction},8763:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(5599),o=n(8517),s=(e,t)=>{const n=t.slice(0);return n[t.length-1]="objectPage",i.buildControlIdFromParent(e,n)};class ObjectPageLayout{}a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}})],ObjectPageLayout.prototype,"showHeaderContent",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}})],ObjectPageLayout.prototype,"showAnchorBar",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}})],ObjectPageLayout.prototype,"useIconTabBar",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.34.0"})],ObjectPageLayout.prototype,"alwaysShowContentHeader",void 0),t.ObjectPageLayout=ObjectPageLayout},4245:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(5008);t.FacetTitlePrefix="Facet ID: ",t.getTableSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"Table"];return i.buildControlIdFromParent(e,s)},t.getFormSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"FormGroup"];return i.buildControlIdFromParent(e,s)},t.getChartSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"Chart"];return i.buildControlIdFromParent(e,s)},t.getSectionControlId=(e,n,a,r,o)=>{let s=o.replace(t.FacetTitlePrefix,"");s.includes("::")&&(s=a[a.length-1].replace("@",""));const c=[s,"Section"];return i.buildControlIdFromParent(e,c)},t.getSubSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"SubSection"];return i.buildControlIdFromParent(e,s)};class ObjectPageSectionV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionV2.prototype,"visible",void 0),t.ObjectPageSectionV2=ObjectPageSectionV2;class ObjectPageSectionFormV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionFormV2.prototype,"visible",void 0),t.ObjectPageSectionFormV2=ObjectPageSectionFormV2;class ObjectPageSectionChartV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionChartV2.prototype,"visible",void 0),t.ObjectPageSectionChartV2=ObjectPageSectionChartV2;class ObjectPageSectionTableV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionTableV2.prototype,"visible",void 0),t.ObjectPageSectionTableV2=ObjectPageSectionTableV2;class ObjectPageSubSectionV2{}a([r.syncRule({flex:{controlId:t.getSubSectionControlId,controlType:()=>i.ControlType.SubSection,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionV2.prototype,"visible",void 0),t.ObjectPageSubSectionV2=ObjectPageSubSectionV2;class ObjectPageSubSectionFormV2{}a([r.syncRule({flex:{controlId:t.getFormSectionControlId,controlType:()=>i.ControlType.SmartGroup,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionFormV2.prototype,"visible",void 0),t.ObjectPageSubSectionFormV2=ObjectPageSubSectionFormV2;class ObjectPageSubSectionChartV2{}a([r.syncRule({flex:{controlId:t.getChartSectionControlId,controlType:()=>i.ControlType.SmartChart,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionChartV2.prototype,"visible",void 0),t.ObjectPageSubSectionChartV2=ObjectPageSubSectionChartV2;class ObjectPageSubSectionTableV2{}a([r.syncRule({flex:{controlId:t.getTableSectionControlId,controlType:()=>i.ControlType.SmartTable,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionTableV2.prototype,"visible",void 0),t.ObjectPageSubSectionTableV2=ObjectPageSubSectionTableV2},2269:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(6088),o=n(5008),s=n(6138),c=(e,t,n,a,i)=>{const o=n.slice(1,2);let s;return"sap.ui.comp.smarttable.SmartTable"===a()?s="Table":"sap.m.Table"===a()&&(s="responsiveTable"),o.push(s),o[0]=r.convertSectionId(o[0],i),r.buildControlIdFromParent(e,o)};class QuickVariantSelectionOP{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getAppSettingOBJsectionPathV2(e,t,n)+o.QUICKVARPATH}}),r.validity({since:"1.48.0"})],QuickVariantSelectionOP.prototype,"showCounts",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getAppSettingOBJsectionPathV2(e,t,n)+o.QUICKVARPATH}}),r.validity({since:"1.48.0"})],QuickVariantSelectionOP.prototype,"variants",void 0),t.QuickVariantSelectionOP=QuickVariantSelectionOP;class FieldPathOP{}a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getTableSettingsOBJsectionPathV2(e,t,n)+`/createWithParameterDialog/fields/${a}`}}),r.validity({since:"1.77.0"})],FieldPathOP.prototype,"path",void 0),t.FieldPathOP=FieldPathOP;class Fields4DialogOP{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getTableSettingsOBJsectionPathV2(e,t,n)+"/createWithParameterDialog"}}),r.validity({since:"1.77.0"})],Fields4DialogOP.prototype,"fields",void 0),t.Fields4DialogOP=Fields4DialogOP;class ObjectPageCommonTableSettings{constructor(){this.getDeprecated=()=>({tableType:{since:"1.50.0",deprecated:{since:"1.70.0",text:"Use tableSettings.type instead"}}})}}a([r.syncRule({manifest:{key:"createWithParameterDialog",path:i.getTableSettingsOBJsectionPathV2,import:function(e){let t;return e.createWithParameterDialog&&(t=JSON.parse(JSON.stringify(e.createWithParameterDialog))),t},export:s.exportCreateParameters}}),r.validity({since:"1.77.0"})],ObjectPageCommonTableSettings.prototype,"createWithParameterDialog",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.SmartTable,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.28.0"})],ObjectPageCommonTableSettings.prototype,"editable",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.54.0"})],ObjectPageCommonTableSettings.prototype,"multiSelect",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.70.0"})],ObjectPageCommonTableSettings.prototype,"selectAll",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.70.0"})],ObjectPageCommonTableSettings.prototype,"selectionLimit",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.63.0"})],ObjectPageCommonTableSettings.prototype,"quickVariantSelection",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.SmartTable,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.26.0"})],ObjectPageCommonTableSettings.prototype,"useExportToExcel",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.48.5"})],ObjectPageCommonTableSettings.prototype,"createMode",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.61.0"})],ObjectPageCommonTableSettings.prototype,"disableDefaultInlineCreateSort",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.78.0"})],ObjectPageCommonTableSettings.prototype,"variantManagement",void 0),t.ObjectPageCommonTableSettings=ObjectPageCommonTableSettings;class ObjectPageResponsiveTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageResponsiveTable.prototype,"type",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.Table,createFlexChange:r.exportToFlexChange}})],ObjectPageResponsiveTable.prototype,"includeItemInSelection",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.Table,createFlexChange:r.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumOP}),r.validity({since:"1.52.0"})],ObjectPageResponsiveTable.prototype,"popinLayout",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.77.0"})],ObjectPageResponsiveTable.prototype,"inlineDelete",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.Table,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.16.0"})],ObjectPageResponsiveTable.prototype,"growingThreshold",void 0),t.ObjectPageResponsiveTable=ObjectPageResponsiveTable;class ObjectPageAnalyticalTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageAnalyticalTable.prototype,"type",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.67.0"})],ObjectPageAnalyticalTable.prototype,"condensedTableLayout",void 0),t.ObjectPageAnalyticalTable=ObjectPageAnalyticalTable;class ObjectPageGridTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageGridTable.prototype,"type",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.67.0"})],ObjectPageGridTable.prototype,"condensedTableLayout",void 0),t.ObjectPageGridTable=ObjectPageGridTable;class ObjectPageTreeTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageTreeTable.prototype,"type",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.67.0"})],ObjectPageTreeTable.prototype,"condensedTableLayout",void 0),t.ObjectPageTreeTable=ObjectPageTreeTable},6138:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(390),o=n(5008),s=n(5599),c=n(6088);function l(e){if(!e.createWithParameterDialog)return;let t={};return e.createWithParameterDialog&&(t=JSON.parse(JSON.stringify(e.createWithParameterDialog))),t}function u(e,t){t.createWithParameterDialog?e.createWithParameterDialog=JSON.parse(JSON.stringify(t.createWithParameterDialog)):delete e.createWithParameterDialog}t.getSmartTableControlId=(e,t,n,a)=>"sap.m.Table"===a()?e+"responsiveTable":"sap.ui.comp.smarttable.SmartTable"===a()&&e.includes("AnalyticalListPage")?e+"table":s.buildControlIdFromParent(e,t),t.importCreateParameters=l,t.exportCreateParameters=u;class CreateWithFilters{}function p(e){return e.type?e.type:i.TableTypeV2.ResponsiveTable}function f(e,t){t.type&&(e.type||t.type!==i.TableTypeV2.ResponsiveTable)?e.type=t.type:delete e.type}a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+"/createWithFilters"}})],CreateWithFilters.prototype,"strategy",void 0),t.CreateWithFilters=CreateWithFilters,t.exportType=f;class DataLoadSettings{}a([s.syncRule({manifest:{path:e=>c.getDataLoadSettingPathV2(e)}}),s.validity({since:"1.75.2"})],DataLoadSettings.prototype,"loadDataOnAppLaunch",void 0),t.DataLoadSettings=DataLoadSettings;class FieldPath{}a([s.syncRule({manifest:{path:(e,t,n)=>c.getCreationFieldsPathV2(e,t,n)}}),s.validity({since:"1.77.0"})],FieldPath.prototype,"path",void 0),t.FieldPath=FieldPath;class Fields4Dialog{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)+"/createWithParameterDialog"}}),s.validity({since:"1.77.0"})],Fields4Dialog.prototype,"fields",void 0),t.Fields4Dialog=Fields4Dialog;class QuickVariantSelection{}a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATH}}),s.validity({since:"1.48.0"})],QuickVariantSelection.prototype,"showCounts",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATH}}),s.validity({since:"1.48.0"})],QuickVariantSelection.prototype,"variants",void 0),t.QuickVariantSelection=QuickVariantSelection;class QuickVariantSelectionX{}a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATHX}}),s.validity({since:"1.48.0"})],QuickVariantSelectionX.prototype,"showCounts",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATHX}}),s.validity({since:"1.48.0"})],QuickVariantSelectionX.prototype,"enableAutoBinding",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATHX,export:(e,t)=>{if(t.variants)for(const n in t.variants){const a=t.variants[n],r=["type","multiSelect","selectAll","selectionLimit","inlineDelete"];for(const e in a)-1!==r.indexOf(e)&&(a.tableSettings||(a.tableSettings={}),a.tableSettings[e]=a[e],delete a[e]);e.variants?e.variants[n]=a:e.variants={[n]:a}}}}}),s.validity({since:"1.48.0"})],QuickVariantSelectionX.prototype,"variants",void 0),t.QuickVariantSelectionX=QuickVariantSelectionX;class CommonTableSettings{constructor(){this.getDeprecated=()=>({tableType:{since:"1.50.0",deprecated:{since:"1.70.0",text:"Use tableSettings.type instead"}},enableAutoBinding:{since:"1.40.0",deprecated:{since:"1.75.2",text:"Use tableSettings.loadDataOnAppLaunch instead"}}})}}a([s.syncRule({manifest:{key:"createWithParameterDialog",path:e=>c.getTableSettingPathV2(e),import:l,export:u}}),s.validity({since:"1.77.0"})],CommonTableSettings.prototype,"createWithParameterDialog",void 0),a([s.syncRule({flex:{controlId:s.buildControlIdFromParent,controlType:()=>o.ControlType.SmartTable,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.38.0"})],CommonTableSettings.prototype,"showTablePersonalisation",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.SmartTable,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.26.0"})],CommonTableSettings.prototype,"useExportToExcel",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.SmartTable,createFlexChange:s.exportToFlexChange}})],CommonTableSettings.prototype,"fitContainer",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.48.0"})],CommonTableSettings.prototype,"quickVariantSelection",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.48.0"})],CommonTableSettings.prototype,"quickVariantSelectionX",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.38.0"})],CommonTableSettings.prototype,"multiSelect",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.70.0"})],CommonTableSettings.prototype,"selectAll",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.70.0"})],CommonTableSettings.prototype,"selectionLimit",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.75.2"})],CommonTableSettings.prototype,"dataLoadSettings",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.42.0"})],CommonTableSettings.prototype,"condensedTableLayout",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.56.0"})],CommonTableSettings.prototype,"enableTableFilterInPageVariant",void 0),t.CommonTableSettings=CommonTableSettings;class ResponsiveTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],ResponsiveTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.54.0"})],ResponsiveTable.prototype,"createWithFilters",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumLR}),s.validity({since:"1.52.0"})],ResponsiveTable.prototype,"popinLayout",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange}})],ResponsiveTable.prototype,"includeItemInSelection",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.77.0"})],ResponsiveTable.prototype,"inlineDelete",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],ResponsiveTable.prototype,"showDraftToggle",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.16.0"})],ResponsiveTable.prototype,"growingThreshold",void 0),t.ResponsiveTable=ResponsiveTable;class TreeTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],TreeTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],TreeTable.prototype,"showDraftToggle",void 0),t.TreeTable=TreeTable;class AnalyticalTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],AnalyticalTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"qualifier",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.38.0"}),s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"defaultContentView",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"defaultFilterMode",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.60.0"})],AnalyticalTable.prototype,"contentTitle",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"autoHide",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.60.0"})],AnalyticalTable.prototype,"filterDefaultsFromSelectionVariant",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.78.0"})],AnalyticalTable.prototype,"allFiltersAsInParameters",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.54.0"})],AnalyticalTable.prototype,"createWithFilters",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],AnalyticalTable.prototype,"showDraftToggle",void 0),t.AnalyticalTable=AnalyticalTable;class TableALP extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],TableALP.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"qualifier",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.38.0"}),s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"defaultContentView",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"defaultFilterMode",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.60.0"})],TableALP.prototype,"contentTitle",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"autoHide",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.60.0"})],TableALP.prototype,"filterDefaultsFromSelectionVariant",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.78.0"})],TableALP.prototype,"allFiltersAsInParameters",void 0),t.TableALP=TableALP;class ALPResponsiveTable extends TableALP{}a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.16.0"})],ALPResponsiveTable.prototype,"growingThreshold",void 0),t.ALPResponsiveTable=ALPResponsiveTable;t.ALPGridTable=class ALPGridTable extends TableALP{};t.ALPAnalyticalTable=class ALPAnalyticalTable extends TableALP{};class GridTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],GridTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.54.0"})],GridTable.prototype,"createWithFilters",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],GridTable.prototype,"showDraftToggle",void 0),t.GridTable=GridTable},8210:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(8517),i=n(5599),o=n(5008);class TableColumn{}a([i.syncRule({flex:{controlId:i.buildColumnControlId,controlType:()=>r.ControlType.TableColumn,createFlexChange:i.exportToFlexChange}})],TableColumn.prototype,"width",void 0),a([i.syncRule({flex:{controlId:i.buildColumnControlId,controlType:()=>r.ControlType.TableColumn,createFlexChange:i.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumLR})],TableColumn.prototype,"hAlign",void 0),t.TableColumn=TableColumn;t.TableCustomColumn=class TableCustomColumn{}},7040:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(296)),a(n(6138)),a(n(8210)),a(n(8049)),a(n(3284)),a(n(338)),a(n(8763)),a(n(2269)),a(n(651)),a(n(4834)),a(n(5682)),a(n(708)),a(n(919)),a(n(8722)),a(n(8378)),a(n(4245))},2432:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(4225)),i=n(7040),o=n(5008),s=n(3374),c=n(6088),l=n(1350),u=n(1403);function p(e,t){if(e.includes(t)){const n=t.split("|");return 3===n.length?n.push("1"):n[3]=(parseInt(n[3])+1).toString(),p(e,n.join("|"))}return t}function f(e,t,n,a,r,i){a&&(a.properties?y(e,t,n,a.properties,r,i):a.additionalProperties&&y(e,t,n,a.additionalProperties,r,i))}function d(e,t,n,a){return e.createInstance(s.PageType.OverviewPage,a,n,t)}function h(e,t,n,a,r,i,s){e.pop();let c=a;for(const l in t.anyOf)if(t.anyOf[l].$ref){const u=t.anyOf[l].$ref.split(o.DEFINITION_LINK_PREFIX),p=n.definitions[u[u.length-1]],h=e[1];c=d(i,h,a=r[h],"CustomCard"),f(c,s,n,p,i,[...e])}else"object"==typeof t.anyOf[l]&&y(r,s,n,t.anyOf[l].properties,i,[...e,"anyOfObject"]);return c}function g(e,t,n,a,i,c,u){const p=e.manifest.path([...t,n]),f=l.getManifestSectionByPathV2(a.manifest,p);if(n in s.CardSettingsType||"settings"===n)f.settings=r.default(f.settings||{},i||{},{arrayMerge:o.arrayCombineMerge});else if(void 0!==i){const t=e.manifest.export;!1!==t&&(t&&"function"==typeof t?t(f,c,n):"object"!=typeof i||u.includes(n)?f[n]=i:f[n]=r.default(f[n]||{},i||{},{arrayMerge:o.arrayCombineMerge}))}else void 0!==f[n]&&delete f[n]}function m(e,t,n,a){Object.keys(e).forEach((r=>{const i=e[r].template;let o;var c,l;o=Object.values(s.CardTemplateType).includes(i)?Object.keys(t.definitions).filter((n=>{var a,i,o;return(null===(o=null===(i=null===(a=t.definitions[n].properties)||void 0===a?void 0:a.template)||void 0===i?void 0:i.enum)||void 0===o?void 0:o.indexOf(e[r].template))>-1})):["CustomCard"],e[r]=d(n,o[0],e[r],"CustomCard"),c=r,(l=a.manifest[s.ManifestSection.ovp]).cards||(l.cards={}),c in l.cards||(l.cards[c]={}),f(e[r],a,t,t.definitions[o[0]],n,[r])})),Object.keys(a.manifest[s.ManifestSection.ovp].cards).forEach((t=>{e[t]||delete a.manifest[s.ManifestSection.ovp].cards[t]}))}function y(e,t,n,a,r,i){let s,c=!1,l=!1;const u=["colorPalette","tabs"];for(const p in a){s=e[p];let v=o.getReflectMetadata(e,p);if("anyOfObject"===i[i.length-1]&&(c=!0,i.pop()),c&&(s=e[i[i.length-1]][p],v=o.getReflectMetadata(e,i[i.length-1])),"objectProperties"===i[i.length-1]&&(l=!0,i.pop()),l&&(s=e[i[i.length-1]][p],v=o.getReflectMetadata(e,i[i.length-1])),"anyOf"===i[i.length-1]&&(s=h(i,a,n,s,e,r,t)),(null==v?void 0:v.manifest)&&g(v,i,p,t,s,e,u),s&&"object"==typeof s&&a[p])if("cards"===p)m(s,n,r,t);else if(a[p].$ref){const e=a[p].$ref.split(o.DEFINITION_LINK_PREFIX),c=n.definitions[e[e.length-1]];s=d(r,p,s,"settings"===p?"CustomCard":""),f(s,t,n,c,r,[...i,p])}else a[p].anyOf?y(e,t,n,a[p],r,[...i,p,"anyOf"]):void 0!==a[p].properties&&y(e,t,n,a[p].properties,r,[...i,p,"objectProperties"])}}function v(e,t,n,a,r,i,s){let c=a.indexOf("subsections");for(;c>-1;)a.splice(c-1,2),c=a.indexOf("subsections");if(t.flex)!function(e,t,n,a,r,i,s){let c;c=0===t.length?["page"]:t;const l=n.flex.controlId(e.baseId,a,c,n.flex.controlType,r),u=o.fillFlexChangeContent(i,n,e.ui5Version,s,l),p=n.flex.createFlexChange(u,e.exportResults.manifest);e.exportResults.flexChanges.find((e=>{let t=!1,n=JSON.parse(e);n={content:n.content,selector:n.selector};let a=JSON.parse(p);return a={content:a.content,selector:a.selector},JSON.stringify(n)===JSON.stringify(a)&&(t=!0),t}))||e.exportResults.flexChanges.push(p)}(e,a,t,r,i,n,s);else if(t.manifest){const r=function(){let r;return"sections"===a[0]?"custom"===a[1]?r=t.manifest.path(e.pageKeys,{},a[2]):(r=t.manifest.path(e.pageKeys,{},a[1],a[a.length-1]),r=r.replace("/@","::").replace(/VOCWITHCOLONS/g,"::com.sap.vocabularies")):r="table"===a[0]?"columns"===a[1]&&"custom"===a[2]?t.manifest.path(e.pageKeys,e.exportResults.manifest,n.tabKey):t.manifest.path(e.pageKeys,{},a[a.length-1]):"keyPerformanceIndicators"===a[0]?t.manifest.path(e.pageKeys,e.exportResults.manifest,i):t.manifest.path(e.pageKeys),r}();!function(e,t,n,a,r){const i=l.getManifestSectionByPathV2(e.exportResults.manifest,t),s=n.manifest.key||a;if(void 0!==r[a])if("array"!==e.propertyDefinition.type&&e.nextDefinition&&"object"===e.nextDefinition.targetDefinition.type&&e.nextDefinition.targetDefinition.properties)"array"!==e.propertyDefinition.type&&void 0===i[s]&&(i[s]={});else{const e=n.manifest.export;!1!==e&&(e&&"function"==typeof e?e(i,r,a,s):i[s]=r[a])}else Object.prototype.hasOwnProperty.call(i,s)&&delete i[s];o.deleteEmptyStructure(e.exportResults.manifest,t)}(e,r,t,s,n)}}function b(e,t,n,a,r,s,c){const u=e.substr(0,e.lastIndexOf("/")),p=l.getManifestSectionByPathV2(t.manifest,u),f=e.substr(e.lastIndexOf("/")+1);for(const e in p)if(e.startsWith(f)){const l=e.split("|"),u=l[1],f=l[2];if(u===n){const n=null==a?void 0:a.filter((e=>(e.tabKey===f||void 0===f&&""===e.tabKey||f&&r===f)&&e.extensionType===s));if((!n||0===n.length)&&(i.deleteColumnFromFragment(p,e,c,t.fragments),delete p[e],e.startsWith(o.ViewTemplateType.ResponsiveTableColumnsExtension))){const n=e.replace(o.ViewTemplateType.ResponsiveTableColumnsExtension,o.ViewTemplateType.ResponsiveTableCellsExtension);i.deleteColumnFromFragment(p,n,c,t.fragments),delete p[n]}}}}function P(e,t,n,a){const r=a?a.key:void 0,o=(a?a.target:void 0)||e.v2Page.entitySet;for(const n in s.TableColumnExtensionTypeV2){const{path:a}=i.getCustomColumnPath(e.v2Page,o,r,n);a&&b(a,e.exportResults,o,t,r,n,e.appId)}const c={};if(t){for(let a=0;a<t.length;a++){const s=t[a];if(!(s.className&&s.fragmentName&&s.columnKey&&s.extensionType))continue;if(n.properties.fragmentName.pattern){if(!1===new RegExp(n.properties.fragmentName.pattern).test(s.fragmentName))continue}const{path:l,viewTemplateType:u}=i.getCustomColumnPath(e.v2Page,o,s.tabKey||r,s.extensionType);c[l]||(c[l]={viewTemplateType:u,columns:[]}),c[l].columns.push(s)}for(const t in c)i.exportToFragment(e.exportResults,t,c[t].columns,e.appId,c[t].viewTemplateType,e.logger)}}function S(e,t,n,a,r,i){const s=[],f=n.split("|")[1];if(!t)return;for(const e of t){const t=p(s,[e.relativePosition,f,e.relatedFacet].join("|"));s.push(t)}for(let n=0;n<s.length;n++){const c=i.anyOf.find((e=>e.$ref.includes(t[n].constructor.name))).$ref.split(o.DEFINITION_LINK_PREFIX),l=e.appSchema.definitions[c[c.length-1]];_(e,t[n],a,[...r,s[n]],l)}const d=l.getManifestSectionByPathV2(e.exportResults.manifest,c.getViewExtensionsPath());for(const e in d)u.isAssociatedCustomSection(e,f)&&!s.includes(e)&&delete d[e]}function T(e,t){let n;for(let t=e.length-1;t>=0;t--)if("table"===e[t]){n=e[t-1];break}return o.convertSectionId(n,t)}function O(e,t,n,a,r,i,s){Object.keys(e).forEach((c=>{const l=o.getNextTargetDefinition(t.appSchema,n,e[c],a.additionalProperties,r,t.factory,t.pageType);_(t,l.configObject,i,[...s,r],l.targetDefinition,c)}))}function E(e,t,n,a,r,i){let o;const s=u.getTargetFromCustomColumnRef(e.$ref);s&&(o={target:s,key:T(t,n)}),P(a,null==r?void 0:r.custom,i.targetDefinition,o)}function _(e,t,n,a,r,i){let s;if(r&&r.properties)for(const c in r.properties){s=t&&t[c];const l=t&&o.getChildId(t,c),u=l?[...n,l]:n,p=o.getReflectMetadata(t,c),f=e.propertyDefinition=r.properties[c];let d=e.nextDefinition=o.getNextTargetDefinition(e.appSchema,i,s,f,c,e.factory,e.pageType);if(p&&v(e,p,t,[...a],u,i,c),s&&f.additionalProperties&&O(s,e,i,f,c,u,a),void 0!==s&&"object"!=typeof s||!f){if(f&&f.$ref===o.DEFINITION_LINK_PREFIX+"TableCustomColumns"){P(e,[],e.appSchema.definitions.TableCustomColumn);continue}}else{if("array"===f.type&&("sections"===a[0]||"subsections"===a[0])&&"custom"===c){S(e,t[c],e.pageKeys[e.pageKeys.length-1],u,[...a,c],f.items);continue}if(d&&"custom"===c){E(f,a,i,e,t,d);continue}d?_(e,d.configObject,u,[...a,c],d.targetDefinition,d.title):f.anyOf&&f.anyOf.forEach((t=>{d=o.getNextTargetDefinition(e.appSchema,i,s,t,c,e.factory,e.pageType),d&&_(e,d.configObject,u,[...a,c],d.targetDefinition,d.title)}))}}}t.transferManifestEntriesOVP=f,t.assignReflectMetadataRules=d,t.transferManifestEntriesAndFlexChange=_},7505:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(9154)),i=a(n(4366)),o=a(n(1199)),s=n(4027),c=n(3374),l=n(5008),u=n(6088),p=n(1350),f=n(4330),d=n(7072),h=n(2432),g=n(5921),m=e=>({flexChanges:[],manifest:{[s.ManifestSection.generic]:{pages:{}}},fragments:e||[]});function y(e,t){const n=e.page.config,a=e.page.entitySet,r=m(e.fragments),i=new d.MetadataInstanceFactoryV2,o=i.createPageInstance(s.PageType.ObjectPage,n);if(r.manifest=JSON.parse(JSON.stringify(e.manifest)),n){const u=l.getPageLayoutInformation(o),p=`${e.appId}::${u.id}::${a}--`,d=[],g=f.findObjectPageV2(e.manifest[s.ManifestSection.generic].pages,a,d);if(!g)return r;if(n.sections&&function(e,t,n){function a(e,t,n){if(e&&"custom"===t&&Array.isArray(e))for(const t in e)e[t].className===c.SAPUI5_FRAGMENT_CLASS?e[t]=n.createInstance(s.PageType.ObjectPage,"ObjectPageCustomSectionFragment",e[t]):e[t]=n.createInstance(s.PageType.ObjectPage,"ObjectPageCustomSectionView",e[t])}function r(e,t){if(e.subsections){let n;for(const i in e.subsections)n=e.subsections[i],a(n,i,t),r(n,t)}}let i;for(const o in e.sections)i=t.sections[o],a(i,o,n),r(i,n)}(n,o,i),0!==Object.keys(n).length){const n={v2Page:g,exportResults:r,appId:e.appId,baseId:p,appSchema:e.jsonSchema,ui5Version:t,factory:i,pageKeys:d,pageType:s.PageType.ObjectPage,logger:e.logger};h.transferManifestEntriesAndFlexChange(n,o,[],[],e.jsonSchema)}}return r}t.exportPageV2=function(e,t){if(e[s.SchemaType.ListReport])return function(e,t){const n=e.page.config,a=e.page.entitySet,i=m(e.fragments),o=new d.MetadataInstanceFactoryV2,c=o.createPageInstance(s.PageType.ListReport,n),u=l.getPageLayoutInformation(c),p=`${e.appId}::${u.id}::${a}--`,y=[],v=f.findListReportPageV2(e.manifest[s.ManifestSection.generic].pages,y);if(v){if(v.component.settings||(v.component.settings={}),i.manifest=JSON.parse(JSON.stringify(e.manifest)),n&&0!==Object.keys(n).length){const n={v2Page:v,exportResults:i,appId:e.appId,baseId:p,appSchema:e.jsonSchema,ui5Version:t,factory:o,pageKeys:y,pageType:s.PageType.ListReport,logger:e.logger};h.transferManifestEntriesAndFlexChange(n,c,[],[],e.jsonSchema)}return i}g.log(e.logger,{severity:"error",message:r.default.t("NOLR"),location:{path:l.MANIFESTPATH,range:[s.ManifestSection.generic]}})}(e[s.SchemaType.ListReport],t);if(e[s.SchemaType.ObjectPage])return y(e[s.SchemaType.ObjectPage],t);if(e[s.SchemaType.OverviewPage])return(e=>{const t=m();t.manifest=JSON.parse(JSON.stringify(e.manifest));const n=new d.MetadataInstanceFactoryV2,a=n.createPageInstance(s.PageType.OverviewPage,e.page.config),r=new o.default({allErrors:!0}).compile(e.jsonSchema);if(!r(a))for(const e of r.errors){const t=e.params.additionalProperty;"additionalProperties"!==e.keyword||Object.values(c.CardSettingsType).includes(e.params.additionalProperty)||"settings"===t||i.default(a,`${e.dataPath.slice(1)}.${t}`)}return e.page.config&&0!==Object.keys(e.page.config).length&&h.transferManifestEntriesOVP(a,t,e.jsonSchema,e.jsonSchema,n,[]),t})(e[s.SchemaType.OverviewPage]);if(e[s.SchemaType.Application]){const{application:t,manifest:n,jsonSchema:a}=e[s.SchemaType.Application];return((e,t,n)=>{const a=m();a.manifest=JSON.parse(JSON.stringify(t));const r=Object.assign(new u.ApplicationV2,e);r.settings=Object.assign(new u.AppSettings,e.settings);for(const t in n.definitions.AppSettings.properties){const n=l.getReflectMetadata(r.settings,t);if(n&&n.manifest){const r=n.manifest.path(),i=p.getManifestSectionByPathV2(a.manifest,r);e.settings&&void 0!==e.settings[t]?i[t]=e.settings[t]:delete i[t]}}const i=a.manifest[s.ManifestSection.generic]&&a.manifest[s.ManifestSection.generic].pages;return i&&e.pages&&p.transformPageToNewManifestV2(e.home,e.pages,Object.values(i)[0]),a})(t,n,a)}return e[s.SchemaType.AnalyticalListPage]?function(e,t){const n=e.page.config,a=e.page.entitySet,i=m(e.fragments);i.flexChanges=[],i.manifest=JSON.parse(JSON.stringify(e.manifest));const o=new d.MetadataInstanceFactoryV2,c=o.createPageInstance(s.PageType.AnalyticalListPage,n),u=l.getPageLayoutInformation(c),p=`${e.appId}::${u.id}::${a}--`,y=[],v=f.findAnalyticalListPage(e.manifest[s.ManifestSection.generic].pages,y);if(v){if(v.component.settings||(v.component.settings={}),i.manifest=JSON.parse(JSON.stringify(e.manifest)),n&&0!==Object.keys(n).length){const n={v2Page:v,exportResults:i,appId:e.appId,baseId:p,appSchema:e.jsonSchema,ui5Version:t,factory:o,pageKeys:y,pageType:s.PageType.AnalyticalListPage,logger:e.logger};h.transferManifestEntriesAndFlexChange(n,c,[],[],e.jsonSchema)}return i}g.log(e.logger,{severity:"error",message:r.default.t("NOALP"),location:{path:l.MANIFESTPATH,range:[s.ManifestSection.generic]}})}(e[s.SchemaType.AnalyticalListPage],t):void 0}},7072:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=n(390),i=a(n(7040)),o=a(n(2486)),s=n(6785),c=n(6971),l={Table:i.ResponsiveTable,ResponsiveTableWithMultiSelect:i.ResponsiveTable,ResponsiveTableWithInlineDelete:i.ResponsiveTable},u={[r.CardSettingsType.listCardSettings]:i.ListCard,[r.CardSettingsType.listCardSettingsv4]:i.ListCard,[r.CardSettingsType.analyticalCardSettings]:i.AnalyticalCard,[r.CardSettingsType.analyticalCardSettingsv4]:i.AnalyticalCard,[r.CardSettingsType.stackCardSettings]:i.StackCard,[r.CardSettingsType.linkListCardSettings]:i.LinklistCard,[r.CardSettingsType.tableCardSettings]:i.TableCard,[r.CardSettingsType.tableCardSettingsv4]:i.TableCard},p={[c.SAPUI5_VIEW_CLASS]:i.ObjectPageCustomSectionView,[c.SAPUI5_FRAGMENT_CLASS]:i.ObjectPageCustomSectionFragment,Table:i.ObjectPageResponsiveTable,ObjectPageResponsiveTableWithMultiSelect:i.ObjectPageResponsiveTable,ObjectPageResponsiveTableWithInlineDelete:i.ObjectPageResponsiveTable},f={[c.PageType.AnalyticalListPage]:{},[c.PageType.ListReport]:l,[c.PageType.ObjectPage]:p,[c.PageType.OverviewPage]:u};class MetadataInstanceFactoryV2 extends s.MetadataFactory{constructor(){super(i,o,f)}}t.MetadataInstanceFactoryV2=MetadataInstanceFactoryV2},1350:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971);function r(e){return{component:{name:"sap.suite.ui.generic.template."+e}}}function i(e,t,n){if(e)for(const a in e){const r=e[a];if(r.entitySet===t&&r.navigationProperty===n)return r}}t.getManifestSectionByPathV2=(e,t)=>{let n=e;return t.split("/").forEach((function(e){n[e]||(n[e]={}),n=n&&n[e]})),n||{}},t.deleteManifestSectionByPathV2=(e,t)=>{let n=e;for(let e=0;e<t.split("/").length;e++){const a=t.split("/")[e];e===t.split("/").length-1?delete n[a]:n=n&&n[a]}},t.transformPageToNewManifestV2=function e(t,n,o){const s=n[t];if(s&&(s.entitySet&&(o.entitySet=s.entitySet),s.pageType===a.PageType.ListReport&&(o.component.list=!0),s.navigationProperty&&(o.navigationProperty=s.navigationProperty),s.defaultLayoutType?o.defaultLayoutType=s.defaultLayoutType:"defaultLayoutType"in o&&delete o.defaultLayoutType,s.navigation)){for(const t in s.navigation)if(n[t]&&(o.pages&&!Object.values(o.pages)[0]&&(o.pages[`${n[t].pageType}|${n[t].entitySet}`]=r(n[t].pageType)),o.pages||(o.pages={[`${n[t].pageType}|${n[t].entitySet}`]:r(n[t].pageType)}),!Array.isArray(o.pages))){let a=i(o.pages,n[t].entitySet,n[t].navigationProperty);a||(o.pages[`${n[t].pageType}|${n[t].entitySet}`]=a=r(n[t].pageType)),e(t,n,a)}Array.isArray(o.pages)||(o.pages&&Object.keys(o.pages).forEach((e=>{const t=o.pages[e];if("sap.suite.ui.generic.template.ObjectPage"===t.component.name){const a=t.navigationProperty?`ObjectPage_${t.entitySet}_${t.navigationProperty}`:`ObjectPage_${t.entitySet}`;n[a]||delete o.pages[e]}})),s.pageType!==a.PageType.ListReport&&s.pageType!==a.PageType.AnalyticalListPage||0!==Object.keys(s.navigation).length||delete o.pages)}}},3318:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(390),i=n(2762),o=n(2762),s=n(5599),c=n(8517);let l=class AnalyticalListPage{};a([o.syncRule({flex:{controlId:s.buildControlIdForPage,controlType:()=>c.ControlType.DynamicPage,createFlexChange:s.exportToFlexChange}})],l.prototype,"fitContent",void 0),a([i.childId("table")],l.prototype,"table",void 0),a([i.childId("template::SmartFilterBar")],l.prototype,"filterBar",void 0),a([i.childId("analyticalListPageChart")],l.prototype,"chart",void 0),l=a([i.pageLayoutInformation({id:"sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage",pageId:r.FE_TEMPLATE_V2_ALP})],l),t.AnalyticalListPage=l},5972:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(390),i=n(2762),o=n(2762),s=n(5599),c=n(8517);let l=class ListReport{};a([o.syncRule({flex:{controlId:s.buildControlIdForPage,controlType:()=>c.ControlType.DynamicPage,createFlexChange:s.exportToFlexChange}})],l.prototype,"fitContent",void 0),a([i.childId("listReportFilter")],l.prototype,"filterBar",void 0),a([i.childId("listReport")],l.prototype,"table",void 0),l=a([i.pageLayoutInformation({id:r.SAPUI5_VIEW_EXTENSION_LIST_REPORT,pageId:r.FE_TEMPLATE_V2_LIST_REPORT})],l),t.ListReport=l},650:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088),o=n(390);let s=class ObjectPage{};a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.52.0"})],s.prototype,"showConfirmationOnDraftActivate",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.52.1"})],s.prototype,"hideChevronForUnauthorizedExtNav",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.48.0"})],s.prototype,"allowDeepLinking",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.52.0"})],s.prototype,"navToListOnSave",void 0),a([r.childId("header")],s.prototype,"header",void 0),a([r.childId("sections")],s.prototype,"sections",void 0),a([r.childId("layout")],s.prototype,"layout",void 0),a([r.syncRule({manifest:{path:e=>i.getAppRootSettingOBJPath(e)}}),r.validity({since:"1.77.0"})],s.prototype,"defaultLayoutTypeIfExternalNavigation",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e),import:e=>{if("chartSettings"in e)return e.chartSettings},key:"chartSettings"}}),r.validity({since:"1.78.0"})],s.prototype,"globalChartSettings",void 0),s=a([r.pageLayoutInformation({id:o.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE,pageId:o.FE_TEMPLATE_V2_OBJECT_PAGE})],s),t.ObjectPage=s},8607:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088),o=n(296);function s(e){const t={};return t.dateSettings=o.importDateSettings(e.filterSettings),t}function c(e,t){e.filterSettings||(e.filterSettings={});const n="dateSettings";if(void 0===t.filterSettings[n])delete e.filterSettings[n];else if(e.filterSettings[n]=JSON.parse(JSON.stringify(t.filterSettings[n])),t.filterSettings[n].selectedValues&&(e.filterSettings[n].selectedValues=t.filterSettings[n].selectedValues.join()),t.filterSettings[n].fields)for(const a in t.filterSettings[n].fields){const r=t.filterSettings[n].fields[a];if(r.selectedValues&&(e.filterSettings[n].fields[a].selectedValues=r.selectedValues.join()),r.filter)for(const t in r.filter){const i=r.filter[t];i.equals&&Array.isArray(i.equals)&&(e.filterSettings[n].fields[a].filter[t].equals=i.equals.join())}}}t.importFilterSettings=s,t.exportFilterSettings=c;let l=class OverviewPage{};a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"globalFilterModel",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"globalFilterEntityType",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"globalFilterEntitySet",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"containerLayout",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"smartVariantRequired",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"showDateInRelativeFormat",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"enableLiveFilter",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"imageSupported",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"considerAnalyticalParameters",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"refreshIntervalInMinutes",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"useDateRangeType",void 0),a([r.syncRule({manifest:{path:e=>i.getGlobalSettingsPath(e)}}),r.validity({since:"1.80.0"})],l.prototype,"chartSettings",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath(),import:s,export:c}}),r.validity({since:"1.80.0"})],l.prototype,"filterSettings",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"showBasicSearch",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"disableErrorPage",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"bHeaderExpanded",void 0),l=a([r.pageLayoutInformation({id:"sap.suite.ui.generic.template.OverviewPage.view.Details",pageId:"sap.suite.ui.generic.template.OverviewPage"})],l),t.OverviewPage=l},2486:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3318)),a(n(5972)),a(n(650)),a(n(8607))},4667:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(5179),i=n(5747),o=a.join(__dirname,"templates");var s;!function(e){e.XML="xml",e.HTML="html",e.JS="js",e.JSON="json"}(t.ViewTypes||(t.ViewTypes={})),function(e){e.Sapux="src",e.Schemas=".schemas",e.Pages="pages",e.Webapp="webapp",e.Temp=".tmp",e.Changes="changes",e.LocalService="localService",e.Controller="controller",e.View="view",e.Fragment="fragment",e.Ext="ext",e.VSCode=".vscode"}(s=t.DirName||(t.DirName={}));const c=(e,t)=>{const n=i.readFileSync(e,"utf8");return r.render(n,t)},l=e=>e.replace(/[^\w\s-]/gi,"");t.getControllerContent=(e,t,n=!1,r=!1)=>{const i={name:t+"."+l(e),newControllerRouting:r};return c(a.join(o,n?"controllerFcl.js":"controller.js"),i)},t.getViewContent=(e,t,n,r=!1,i=!0)=>{const s=l(e),u={name:s,controllerName:"",page:i};return r&&(u.controllerName=t+".controller."+s),c(a.join(o,"view."+n),u)},t.getFragmentContent=(e,t,n,r=!1)=>{const i=l(e),u={name:i,handler:""};return r&&(u.handler=`${t.replace(/\./g,"/")}/${s.Fragment}/${i}`),c(a.join(o,"fragment."+n),u)},t.getSingleColumnContent=(e,t)=>{const n={id:e.id,text:e.text,columnKey:e.columnKey,columnIndex:void 0!==e.columnIndex?e.columnIndex.toString():void 0,leadingProperty:e.leadingProperty};return c(a.join(o,t+".xml"),n)},t.getColumnFragmentContent=(e,n)=>{let a="";if(a='<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns:table="sap.ui.table" xmlns="sap.m">',e)for(let r=0;r<e.length;r++){const i=e[r];a=a+"\n"+t.getSingleColumnContent(i,n)}return a+"\n</core:FragmentDefinition>"},t.getResponsiveTableCellsFragment=e=>{let t='<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns="sap.m">';if(e)for(let n=0;n<e.length;n++)t+='\n<Text text="Placeholder"></Text>';return t+"\n</core:FragmentDefinition>"},t.getFragmentJsContent=()=>c(a.join(o,"fragment.js"),{})},3026:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(468),i=n(4330),o=n(5008),s=a(n(9154)),c=n(2449),l=n(5921),u=n(3374),p=n(6083);t.generateAnalyticalListReportSchemaV2=function(e,t,n){var a,f,d;c.initI18n();const h=JSON.parse(JSON.stringify(t));h.properties.table.anyOf[0].$ref=o.DEFINITION_LINK_PREFIX+"ALPResponsiveTable<LineItems>";const g=JSON.parse(JSON.stringify(h.definitions.ALPResponsiveTable));g.properties.columns.$ref=o.DEFINITION_LINK_PREFIX+"LineItems",g.properties.toolBar.$ref=o.DEFINITION_LINK_PREFIX+o.TOOLBAR,h.definitions["ALPResponsiveTable<LineItems>"]=g,h.properties.table.anyOf[1].$ref=o.DEFINITION_LINK_PREFIX+"ALPGridTable<LineItems>";const m=JSON.parse(JSON.stringify(h.definitions.ALPGridTable));m.properties.columns.$ref=o.DEFINITION_LINK_PREFIX+"LineItems",m.properties.toolBar.$ref=o.DEFINITION_LINK_PREFIX+o.TOOLBAR,h.definitions["ALPGridTable<LineItems>"]=m,h.properties.table.anyOf[2].$ref=o.DEFINITION_LINK_PREFIX+"ALPAnalyticalTable<LineItems>";const y=JSON.parse(JSON.stringify(h.definitions.ALPAnalyticalTable));y.properties.columns.$ref=o.DEFINITION_LINK_PREFIX+"LineItems",y.properties.toolBar.$ref=o.DEFINITION_LINK_PREFIX+o.TOOLBAR,h.definitions["ALPAnalyticalTable<LineItems>"]=y,r.removeElementsFromEnum(h.definitions.TableColumnExtensionTypeV2.enum,[u.TableColumnExtensionTypeV2.TreeTableColumnsExtension]);const v=null===(a=null==e?void 0:e.serviceAVT.entityTypes)||void 0===a?void 0:a.find((e=>e.name===n));if(v){const t=null===(d=null===(f=null==v?void 0:v.annotations)||void 0===f?void 0:f.UI)||void 0===d?void 0:d.LineItem;r.addLineItemsType(h,t,v),o.addFieldsType(h,v);const n=[],a=i.findAnalyticalListPage(e.manifest[u.ManifestSection.generic].pages,n);if(!a)return void l.log(e.logger,{severity:"error",message:s.default.t("NOALP"),location:{path:u.MANIFESTPATH,range:[u.ManifestSection.generic]}});r.addListReportColumnExtensions(h,v,a,e.manifest,e.fragments),p.addEnumForVariantPaths(v,h,e.serviceAVT),delete h.definitions.ALPGridTable,delete h.definitions.ALPResponsiveTable,delete h.definitions.ALPAnalyticalTable,delete h.definitions.GenericColumns,delete h.definitions.ToolBar,delete h.definitions.Actions}else l.log(e.logger,{severity:"error",message:s.default.t("NOENTITYTYPE",{entityType:n}),location:{path:o.METADATAPATH}});return h}},220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9081),r=n(8289),i=n(6083),o=n(3026),s=n(1353),c=n(4027);t.generateObjectPageInterfaceV2=function(e,t,n,i,o,s){const l=a.parseAndMergeAndConvert(n,s),u={fioriElementsVersion:c.FioriElementsVersion.v2,manifest:i,fragments:o,serviceAVT:l,logger:s};return r.generateObjectPageSchemaV2(u,e,t)},t.generateListReportInterfaceV2=function(e,t,n,r,o,s){const l=a.parseAndMergeAndConvert(n,s),u={fioriElementsVersion:c.FioriElementsVersion.v2,manifest:r,fragments:o,serviceAVT:l,logger:s};return i.generateListReportSchemaV2(u,e,t)},t.generateOVPInterfaceV2=function(e,t){return s.generateOverviewPageSchemaV2(e,t)},t.generateAnalyticalListPageInterfaceV2=function(e,t,n,r,i,s){const l=a.parseAndMergeAndConvert(n,s),u={fioriElementsVersion:c.FioriElementsVersion.v2,manifest:r,fragments:i,serviceAVT:l,logger:s};return o.generateAnalyticalListReportSchemaV2(u,e,t)}},1918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(220);t.generateAnalyticalListPageInterfaceV2=a.generateAnalyticalListPageInterfaceV2,t.generateListReportInterfaceV2=a.generateListReportInterfaceV2,t.generateObjectPageInterfaceV2=a.generateObjectPageInterfaceV2,t.generateOVPInterfaceV2=a.generateOVPInterfaceV2;var r=n(8289);t.generateObjectPageSchemaV2=r.generateObjectPageSchemaV2;var i=n(6083);t.generateListReportSchemaV2=i.generateListReportSchemaV2;var o=n(3026);t.generateAnalyticalListReportSchemaV2=o.generateAnalyticalListReportSchemaV2},6083:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(468),i=n(4330),o=n(5008),s=a(n(9154)),c=n(2449),l=n(3374),u=n(5921),p=n(1205);function f(e,t,n){o.addEnumForSingleTabVariant(e,t,"QuickVariant"),o.addEnumForMultiTabVariant(n,t,"QuickVariantX"),o.addEnumForVariantEntitySet(n,t,"QuickVariantX")}t.addEnumForVariantPaths=f,t.generateListReportSchemaV2=function(e,t,n){c.initI18n();const a=JSON.parse(JSON.stringify(t));a.properties.table.anyOf[0].$ref=o.DEFINITION_LINK_PREFIX+p.MULTISELECTTABLE,a.properties.table.anyOf[1].$ref=o.DEFINITION_LINK_PREFIX+p.INLINEDELETETABLE,a.properties.table.anyOf[2].$ref=o.DEFINITION_LINK_PREFIX+p.TREETABLE,a.properties.table.anyOf[3].$ref=o.DEFINITION_LINK_PREFIX+p.ANALYTICALTABLE,a.properties.table.anyOf[4].$ref=o.DEFINITION_LINK_PREFIX+p.GRIDTABLE;const d=JSON.parse(JSON.stringify(t.definitions.ResponsiveTableWithMultiSelect)),h=JSON.parse(JSON.stringify(t.definitions.ResponsiveTableWithInlineDelete)),g=JSON.parse(JSON.stringify(t.definitions.TreeTable)),m=JSON.parse(JSON.stringify(t.definitions.AnalyticalTable)),y=JSON.parse(JSON.stringify(t.definitions.GridTable)),v={$ref:o.DEFINITION_LINK_PREFIX+"LineItems"};d.properties.columns=v,h.properties.columns=v,g.properties.columns=v,m.properties.columns=v,y.properties.columns=v;const b=o.DEFINITION_LINK_PREFIX+o.TOOLBAR;a.definitions[p.MULTISELECTTABLE]=d,a.definitions[p.MULTISELECTTABLE].properties.toolBar.$ref=b,a.definitions[p.INLINEDELETETABLE]=h,a.definitions[p.INLINEDELETETABLE].properties.toolBar.$ref=b,a.definitions[p.TREETABLE]=g,a.definitions[p.TREETABLE].properties.toolBar.$ref=b,a.definitions[p.ANALYTICALTABLE]=m,a.definitions[p.ANALYTICALTABLE].properties.toolBar.$ref=b,a.definitions[p.GRIDTABLE]=y,a.definitions[p.GRIDTABLE].properties.toolBar.$ref=b;const P=null==e?void 0:e.serviceAVT.entityTypes.find((e=>e.name===n));if(P){const t=P.annotations&&P.annotations.UI&&P.annotations.UI.LineItem;r.addLineItemsType(a,t,P),o.addFieldsType(a,P);const n=[],c=i.findListReportPageV2(e.manifest[l.ManifestSection.generic].pages,n);if(!c)return void u.log(e.logger,{severity:"error",message:s.default.t("NOALP"),location:{path:l.MANIFESTPATH,range:[l.ManifestSection.generic]}});r.addListReportColumnExtensions(a,P,c,e.manifest,e.fragments),f(P,a,e.serviceAVT),o.addEnumForFilterBarAnnotationPath(P,a,"ListReportFilterBar"),delete a.definitions.ResponsiveTableWithMultiSelect,delete a.definitions.ResponsiveTableWithInlineDelete,delete a.definitions.TreeTable,delete a.definitions.AnalyticalTable,delete a.definitions.GridTable,delete a.definitions.GenericColumns,delete a.definitions.ToolBar,delete a.definitions.Actions}else u.log(e.logger,{severity:"error",message:s.default.t("NOENTITYTYPE",{entityType:n}),location:{path:o.METADATAPATH}});return a}},8289:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5008),i=n(468),o=n(4330),s=n(3374),c=n(5921),l=n(6971),u=a(n(9154)),p=n(2449),f=n(1205);function d(e,t,n,a){let i;switch(a){case f.SectionTypeV2.Section:case f.SectionTypeV2.SectionForm:case f.SectionTypeV2.SectionChart:case f.SectionTypeV2.SectionTable:i=s.ControlType.Section;break;case f.SectionTypeV2.SubSection:i=s.ControlType.SubSection;break;case f.SectionTypeV2.SubSectionForm:i=s.ControlType.SmartGroup;break;case f.SectionTypeV2.SubSectionChart:i=s.ControlType.SmartChart;break;case f.SectionTypeV2.SubSectionTable:i=s.ControlType.SmartTable}void 0!==i&&(r.addPatternForBindingChangeOfEnumOP(e,t,n),t.properties[n].artifactType="FlexChange",t.properties[n].controlType=i)}function h(e,t,n,a,i){return(o,s)=>{if(!o.Determining&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===o.$Type){const c=r.replaceAlias(o.Action,i),{actionName:l,actionId:u}=r.getActionNameAndId(c,e),p=o.Label||l,f=`HeaderAction<${r.prepareRef(u)}>`;t.definitions[f]=JSON.parse(JSON.stringify(t.definitions.HeaderAction));const d=n.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification");t.definitions[f].annotationPath=`/${d}/${s}`,t.definitions[f].description=p,a.properties[u]={$ref:`${r.DEFINITION_LINK_PREFIX}${f}`}}}}function g(e,t,n,a){const i=r.prepareRef(`${e}<${t}>`);a.definitions[i]=JSON.parse(JSON.stringify(a.definitions[e])),a.definitions[i].properties.columns.$ref=r.DEFINITION_LINK_PREFIX+t,a.definitions[i].properties.toolBar.$ref=`${r.DEFINITION_LINK_PREFIX}ObjectPageToolBar<${t}>`,a.definitions[i].annotationPath=n.annotationPath,void 0!==n.ID&&(a.definitions[i].title=r.FacetTitlePrefix+n.ID),a.definitions[i].description="Table",a.definitions[i].properties.quickVariantSelection.$ref=`${r.DEFINITION_LINK_PREFIX}QuickVariantSelectionOP<${t}>`,a.definitions[`QuickVariantSelectionOP<${t}>`]=JSON.parse(JSON.stringify(a.definitions.QuickVariantSelectionOP)),a.definitions[`QuickVariant<${t}>`]=JSON.parse(JSON.stringify(a.definitions.QuickVariant)),a.definitions[`QuickVariantSelectionOP<${t}>`].properties.variants.patternProperties["^[0-9]+$"].$ref=`QuickVariant<${t}>`,r.addEnumForSingleTabVariant(n.entityType,a,`QuickVariant<${t}>`)}function m(e,t,n,a,s,c){var u;if("LineItem"!==a.base||!t)return;const p=t.split("::")[0],h=`${c}<${t}>`;n.definitions[h]=r.createSectionWithoutProperties(a,t);const m=n.definitions[h];a.ID||(null===(u=a.target)||void 0===u?void 0:u.qualifier)?(m.properties=JSON.parse(JSON.stringify(n.definitions[f.SectionTypeV2.SectionTable].properties)),m.properties.visible&&d(n,m,"visible",c)):m.properties.table=JSON.parse(JSON.stringify(n.definitions[f.SectionTypeV2.SectionTable].properties.table)),m.properties.table.anyOf=[{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageResponsiveTableWithMultiSelect<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageResponsiveTableWithInlineDelete<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageAnalyticalTable<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageGridTable<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageTreeTable<${t}>`}],m.annotationPath=a.annotationPath,r.addSectionTitleAndDescription(a,m,t);const y=a.entityType?null==e?void 0:e.serviceAVT.entitySets.find((e=>e.entityType.name===a.entityType.name||e.name===a.entityType.name)):void 0;let v;g("ObjectPageResponsiveTableWithMultiSelect",t,a,n),g("ObjectPageResponsiveTableWithInlineDelete",t,a,n),g("ObjectPageGridTable",t,a,n),g("ObjectPageTreeTable",t,a,n),g("ObjectPageAnalyticalTable",t,a,n),y&&(v=function(e,t,n,a,r,s){const c=`${i.CUSTOM_COLUMNS_DEFINITION}<${n}>`;if(e.definitions[c])return i.CUSTOM_COLUMNS_DEFINITION;const u=`${i.CUSTOM_COLUMN_DEFINITION}<${n}>`,p=JSON.parse(JSON.stringify(e.definitions.TableCustomColumn));e.definitions[u]=p;const f=r.entityTypes.find((e=>e.name===a)),d=o.findObjectPageV2(t[l.ManifestSection.generic].pages,n,[]);return i.addListReportColumnExtensions(e,f,d,t,s,c,u),c}(n,e.manifest,y.name,a.entityType.name,null==e?void 0:e.serviceAVT,e.fragments));for(const e in s)"LineItem"===s[e].base&&e.includes(p)&&i.addLineItemsType(n,s[e].target,s[e].entityType,t,v)}function y(e,t,n,a,i,o=!1){var c;const u=t[n];switch(u.base){case s.FacetBase.CollectionFacet:{const t="Subsections"===(null==a?void 0:a.description)?f.SectionTypeV2.SubSection:f.SectionTypeV2.Section,s=n.replace("@com.sap.vocabularies.UI.v1.Facets",u.base);o=!0;const c=`${t}<${s}>`;a.properties[s]={$ref:`${r.DEFINITION_LINK_PREFIX}${c}`},function(e,t,n,a){const i=`${a}<${e.replace("@com.sap.vocabularies.UI.v1.Facets",n.base)}>`;t.definitions[i]=r.createSectionWithoutProperties(n,e);const o=t.definitions[i];n.ID&&(o.properties=JSON.parse(JSON.stringify(t.definitions[f.SectionTypeV2.SubSection].properties)),o.properties.visible&&d(t,o,"visible",a)),o.properties.subsections={type:"object",description:"Subsections",properties:{},additionalProperties:!1,isViewNode:!0}}(n,i,u,t);const l=i.definitions[c].properties.subsections;for(const t in u.facets)y(e,u.facets,t,l,i,o);break}case s.FacetBase.LineItem:{const s=o?f.SectionTypeV2.SubSectionTable:f.SectionTypeV2.SectionTable;a.properties[n]={$ref:`${r.DEFINITION_LINK_PREFIX}${s}<${n}>`},m(e,n,i,u,t,s);const c="OP";r.addFieldsType(i,u.entityType,c);break}case s.FacetBase.Chart:{const e=o?f.SectionTypeV2.SubSectionChart:f.SectionTypeV2.SectionChart,t=`${e}<${n}>`;a.properties[n]={$ref:`${r.DEFINITION_LINK_PREFIX}${t}`},i.definitions[t]=r.createSectionWithoutProperties(u,n);const s=i.definitions[t];u.ID&&(s.properties=JSON.parse(JSON.stringify(i.definitions[f.SectionTypeV2.SectionChart].properties)),s.properties.visible&&d(i,s,"visible",e));break}case s.FacetBase.Form:case s.FacetBase.Identification:{const e=o?f.SectionTypeV2.SubSectionForm:f.SectionTypeV2.SectionForm,t=`${e}<${n}>`;a.properties[n]={$ref:`${r.DEFINITION_LINK_PREFIX}${t}`},i.definitions[t]=r.createSectionWithoutProperties(u,n);const p=i.definitions[t];((null==u?void 0:u.ID)||(null===(c=u.target)||void 0===c?void 0:c.qualifier))&&(p.properties=JSON.parse(JSON.stringify(i.definitions[f.SectionTypeV2.SectionForm].properties)),p.properties.visible&&d(i,p,"visible",e)),(null==u?void 0:u.ID)&&(p.title=r.FacetTitlePrefix+u.ID),(null==u?void 0:u.Label)&&(p.description=u.Label);let h=!0;p.annotationPath=u.annotationPath,p.isViewNode=!0,p.description||(u.base===s.FacetBase.Form?p.description="Form":"Identification"===u.base&&(p.description="Identification",h=!1)),r.handleForm(s.SectionType.Section,u,p,i,l.FioriElementsVersion.v2,h);break}default:a.properties[n]=r.createSectionWithoutProperties(u,n)}}function v(e,t,n,a,i){const o=t.definitions.Sections={type:"object",properties:{},description:"Sections",additionalProperties:!1,isViewNode:!0};if(n&&(o.annotationPath=`/${n.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Facets`),!i)return;const s=r.getObjectPageFacets(n,null==e?void 0:e.serviceAVT,l.FioriElementsVersion.v2,e.logger);if(s&&0!==Object.keys(s).length){for(const r in i){const c=i[r];if(a.includes(c.entitySet))for(const n in s)y(e,s,n,o,t);else v(e,t,n,a,c.pages)}for(const e in t.definitions.CustomSections.properties)o.properties[e]=t.definitions.CustomSections.properties[e]}}t.generateObjectPageSchemaV2=function(e,t,n){p.initI18n();const a=JSON.parse(JSON.stringify(t)),o={};for(const e in a.definitions.CustomSections.properties)o[e]=a.definitions.CustomSections.properties[e];a.properties.sections={$ref:r.DEFINITION_LINK_PREFIX+"Sections"};const f=(null==e?void 0:e.serviceAVT.entitySets)&&(null==e?void 0:e.serviceAVT.entitySets.find((e=>e.entityType.name===n||e.name===n)));if(!f)return void c.log(e.logger,{severity:"error",message:u.default.t("NOENTITYSET4NAME",{entityType:n}),location:{path:r.METADATAPATH}});const d=null==f?void 0:f.entityType,g=e.manifest[l.ManifestSection.generic].pages;return g?(function(e,t,n){r.addCommonHeaderSchema(e,t),r.addHeaderActions(e,t,n,h)}(a,d,null==e?void 0:e.serviceAVT),v(e,a,d,f.name,g),function(e,t,n,a){const i=r.getObjectPageFacetSection(t,n,a,void 0,!0);i&&r.addDefinitionForRelatedFacetKeys(e,["ObjectPageCustomSectionFragment","ObjectPageCustomSectionView"],i,["ID","key"])}(a,d,null==e?void 0:e.serviceAVT,e.logger),i.removeElementsFromEnum(a.definitions.TableColumnExtensionTypeV2.enum,[s.TableColumnExtensionTypeV2.TreeTableColumnsExtension]),a.definitions.Sections||(a.definitions.RelatedFacetKeys&&a.definitions.RelatedFacetKeys.oneOf.length?a.definitions.Sections={type:"object",properties:o,additionalProperties:!1,isViewNode:!0}:delete a.properties.sections),r.addFooterActions(a,d,null==e?void 0:e.serviceAVT),delete a.definitions.GenericSections,delete a.definitions.ObjectPageSectionTableV2,delete a.definitions.GenericColumns,delete a.definitions.ObjectPageSectionFormV2,delete a.definitions.ObjectPageSectionTableV2,delete a.definitions.ObjectPageSubSectionV2,delete a.definitions.ObjectPageResponsiveTableWithMultiSelect,delete a.definitions.ObjectPageResponsiveTableWithInlineDelete,delete a.definitions.ObjectPageAnalyticalTable,delete a.definitions.ObjectPageTreeTable,delete a.definitions.ObjectPageGridTable,delete a.definitions.ObjectPageToolBar,delete a.definitions.ObjectPageToolBarActions,delete a.definitions.ObjectPageToolBarAction,delete a.definitions.ObjectPageForm,delete a.definitions.ObjectPageFormFields,delete a.definitions.ObjectPageFormActions,a):(c.log(e.logger,{severity:"error",message:u.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:s.MANIFESTPATH,range:[l.ManifestSection.generic]}}),a)}},1353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(5008);function i(e){const t=e.properties;return(t.cards&&t.cards.additionalProperties&&t.cards.additionalProperties.anyOf||[]).map((e=>{const t=e.$ref.split("/");return t[t.length-1]}))}function o(e,t){const n=t&&t["sap.app"]&&t["sap.app"].dataSources||{},o=[];for(const e in n)n[e].type===a.DataSourceType.OData&&o.push(e);const s=e.definitions;s.CardModel={enum:o,type:"string"};const c=i(e);for(const e of c){const t=s[e].properties.model;delete t.type,t.$ref=r.DEFINITION_LINK_PREFIX+"CardModel"}}t.getCardDefinitionNames=i,t.addModelsEnum=o,t.generateOverviewPageSchemaV2=function(e,t){const n=JSON.parse(JSON.stringify(e));return n.properties.cards.propertyNames={pattern:"^[a-zA-Z0-9_\\.\\-]+$"},o(n,t),n}},468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(2762),i=n(5622),o=n(4139);function s(e,t,n,r,i,o){if(!0!==i.Determining){const s=`ToolBarAction<${a.prepareRef(i.Action)}>`,c=a.getDatafieldDescription(i,t);n.properties[`DataFieldForAction::${i.Action}`]={$ref:a.DEFINITION_LINK_PREFIX+s,description:c,propertyIndex:o},e.definitions[s]={type:"object",properties:{},description:c,annotationPath:r+"/"+o,isViewNode:!0,additionalProperties:!1}}}function c(e,t,n){const a=e.definitions[n]&&e.definitions[n].properties&&e.definitions[n].properties.leadingProperty;if(a){const e=[...(null==t?void 0:t.entityProperties)||[],...(null==t?void 0:t.navigationProperties)||[]];a.enum=null==e?void 0:e.reduce(((e,t)=>(e.includes(t.name)||e.push(t.name),e)),[])}}function l(e,t,n){const a=e.definitions[t]&&e.definitions[t].properties&&e.definitions[t].properties.tabKey;if(n){const e=n.component&&n.component.settings&&n.component.settings.quickVariantSelectionX&&n.component.settings.quickVariantSelectionX.variants;if(e){const t=[];Object.keys(e).reduce(((t,n)=>{const a=e[n]&&void 0!==e[n].key?e[n].key:void 0;return void 0===a||t.includes(a)||t.push(a),t}),t),a.enum=t}}}function u(e,t,n,a,r){const s=e.definitions[r]&&e.definitions[r].properties&&e.definitions[r].properties[a];if(t&&n&&!n.startsWith("${")){const e=[];t.forEach((t=>{let r=t.dataSourceUri.split("webapp")[1];if(r&&r.indexOf(".fragment.xml")>0){const s=JSON.parse(o.xml2json(t.fileContent,{compact:!0}))["core:FragmentDefinition"];if("fragmentName"===a&&(!s||s.Column||s["table:Column"])||"cellsFragmentName"===a&&(!s||!s.Column&&!s["table:Column"]&&!s["smartfilterbar:ControlConfiguration"])){r=r.replace(new RegExp("\\"+i.sep,"g"),"/");const t=n+r.split(".fragment.xml")[0].replace(/\//g,".");e.push(t)}}})),e.length>0&&(s.enum=e)}}function p(e,t,n,i,o,s,c){if(e){const l=r.getReflectMetadata(e,s);if(l&&("function"==typeof l.generate&&(l.generate(t,c,s),o=c.properties[s]),void 0!==l.manifest?o.artifactType=a.ArtifactType.Manifest:void 0!==l.flex?(o.artifactType=a.ArtifactType.FlexChange,l.flex.controlType&&(o.controlType=l.flex.controlType())):o.artifactType=a.ArtifactType.Annotation),"object"===o.type||o.$ref){const e=a.getNextTargetDefinition(t,"",{},o,s,i,n);e&&d(t,e.targetDefinition,e.configObject,n,i)}else o.anyOf&&o.anyOf.forEach((e=>{const r=a.getNextTargetDefinition(t,"",{},e,s,i,n);r&&d(t,r.targetDefinition,r.configObject,n,i)}))}}function f(e,t,n,r,i,o){if(t[r])for(const s in t[r])if("anyOf"===s)t[r].anyOf.forEach((t=>{const n=a.getNextTargetDefinition(e,"",{},t,s,o,i);n&&d(e,n.targetDefinition,n.configObject,i,o)}));else{const c=t[r][s];if(c.anyOf)c.anyOf.forEach((t=>{const n=a.getNextTargetDefinition(e,"",{},t,s,o,i);n&&d(e,n.targetDefinition,n.configObject,i,o)}));else if("$ref"===s){const n=a.getNextTargetDefinition(e,"",{},t[r],s,o,i);n&&d(e,n.targetDefinition,n.configObject,i,o)}else p(n,e,i,o,c,s,t)}}function d(e,t,n,a,r){f(e,t,n,"properties",a,r),f(e,t,n,"additionalProperties",a,r),f(e,t,n,"patternProperties",a,r)}t.CUSTOM_COLUMNS_DEFINITION="TableCustomColumns",t.CUSTOM_COLUMN_DEFINITION="TableCustomColumn",t.handleActionRecord=s,t.addLineItemsType=function(e,t,n,r,i){let o;r=r||"LineItems";const{actions:c,lineItemPath:l}=a.addCommonLineItemDefinitions(e,t,n,r);if(t){let i=0;t.forEach((t=>{"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===t.$Type||"com.sap.vocabularies.UI.v1.DataFieldForAction"===t.$Type&&(!0!==t.Inline||!0===t.Determining)?s(e,n,c,l,t,i):(o=a.getSchemaKeyOfLineItemRecord(t),o&&(e.definitions[r].properties[o]={$ref:a.DEFINITION_LINK_PREFIX+"TableColumn",description:a.getDatafieldDescription(t,n),propertyIndex:i,annotationPath:l+"/"+i})),i++}))}i&&(e.definitions[r].properties.custom={$ref:`${a.DEFINITION_LINK_PREFIX}${i}`})},t.addListReportLeadingProperties=c,t.addTabkeyEnum=l,t.addFragmentEnum=u,t.addListReportColumnExtensions=function(e,n,r,i,o,s=t.CUSTOM_COLUMNS_DEFINITION,p=t.CUSTOM_COLUMN_DEFINITION){e.definitions.LineItems&&(e.definitions.LineItems.properties.custom={$ref:`${a.DEFINITION_LINK_PREFIX}${s}`}),e.definitions[s]={type:"array",items:{$ref:`${a.DEFINITION_LINK_PREFIX}${p}`},isViewNode:!0,description:"Custom Columns"},c(e,n,p),l(e,p,r);const f=i&&i["sap.app"]&&i["sap.app"].id;u(e,o,f,"fragmentName",p),u(e,o,f,"cellsFragmentName",p)},t.processMetadata=d,t.removeElementsFromEnum=function(e,t){for(let n=0;n<t.length;n++){const a=e.indexOf(t[n]);-1!==a&&e.splice(a,1)}}},3073:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(4093),o=n(9609),s=n(2687),c=n(961),l=n(2201),u=n(6088),p=n(5008),f=n(3435),d=a(n(4867));function h(e){return p.generatePageId(p.getPageTypeV2(e.component.name),e.entitySet,e.navigationProperty)}function g(e,t,n,a,i,o){const u={};for(const f in e){const d=e[f],m=h(d),y=Object.assign(Object.assign({pageType:p.getPageTypeV2(d.component.name),entitySet:d.entitySet},d.navigationProperty&&{navigationProperty:d.navigationProperty}),d.defaultLayoutType&&{defaultLayoutType:d.defaultLayoutType});u[m]=y;const v=Object.keys(a).find((e=>e.includes(m)))||Object.keys(a).find((e=>e.includes(m.slice(0,-1))))||Object.keys(a).find((e=>e.includes(y.pageType)));if(v)if(y.pageType===r.PageType.ListReport){const e={manifest:n,flex:t,jsonSchema:a[v],fragments:i,logger:o};y.config=s.createListReportConfig(e)}else if(y.pageType===r.PageType.AnalyticalListPage){const e={manifest:n,flex:t,jsonSchema:a[v],fragments:i,logger:o};y.config=c.createAnalyticalListPageConfig(e)}else{const e={manifest:n,flex:t,jsonSchema:a[v],entitySet:y.entitySet,fragments:i,logger:o};y.config=l.createObjectPageConfigV2(e)}if(d.pages){y.navigation={};const e=g(d.pages,t,n,a,i);for(const t in e){const n=e[t];u[t]=n}for(const t in d.pages){const n=h(d.pages[t]);y.navigation[n]=e[n].navigationProperty?y.entitySet+"."+e[n].navigationProperty:y.entitySet}}}return u}class V2AppProvider extends i.AppProvider{constructor(e,t,n,a,i){const s=e[r.ManifestSection.generic].pages,c=Object.keys(s)[0],l=new u.AppSettings,d=n[p.getSchemaFilePath(f.SchemaType.Application).filename];o.transferSettingsOfObject(l,e,d.definitions.AppSettings,void 0),super(e,n,h(s[c]),g(s,t,e,n,a,i),r.FioriElementsVersion.v2,l)}}t.V2AppProvider=V2AppProvider,t.getPages=function e(t,n){const a={};for(const r in t){const i=t[r];if(i.component.name===n){a[h(i)]=i}if(n===d.FE_TEMPLATE_V2_OBJECT_PAGE&&i.pages){const t=e(i.pages,n);for(const e in t)a[e]=t[e]}}return a}},4370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(4093),i=n(9609),o=n(9836),s=n(6088),c=n(5008),l=n(3435);class V2OvpProvider extends r.AppProvider{constructor(e,t,n){const r={},u=e[a.ManifestSection.ovp],p=new s.AppSettings,f=c.getSchemaFilePath(l.SchemaType.Application);i.transferSettingsOfObject(p,e,t[f.filename].definitions.AppSettings,void 0);const d={manifest:e,jsonSchema:t[Object.keys(t).find((e=>e.includes(a.PageType.OverviewPage)))]},h={pageType:a.PageType.OverviewPage,config:o.createOverviewPageConfig(d),entitySet:u.globalFilterEntitySet},g=c.generatePageId(h.pageType,h.entitySet,h.navigationProperty);r[g]=h,super(e,t,g,r,a.FioriElementsVersion.v2,p,n)}}t.V2OvpProvider=V2OvpProvider},9609:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4681),i=n(3767),o=n(5008),s=n(6442),c=n(2762),l=n(1350),u=n(390),p=n(5921),f=a(n(9154));function d(e){return e.replace(/:2f/g,"/").replace(/:23/g,"#").replace(/:40/g,"@")}t.convertSelector=d,t.addFlex=function(e,t,n,a){var s,l,h,g,m,y,v;try{const a=o.parseChangeString(t),p=a.content.property;if((null===(s=a.controlId)||void 0===s?void 0:s.includes(r.PageType.ListReport))||(null===(l=a.controlId)||void 0===l?void 0:l.includes(r.PageType.AnalyticalListPage)))if(a.controlId=d(a.controlId),a.controlType===o.ControlType.SmartFilterBar){((null===(g=null===(h=n.definitions)||void 0===h?void 0:h.ListReportFilterBar)||void 0===g?void 0:g.properties[p])||(null===(y=null===(m=n.definitions)||void 0===m?void 0:m.AnalyticalListPageFilterBar)||void 0===y?void 0:y.properties[p]))&&(e.filterBar[p]=a.content.newBinding?a.content.newBinding:a.content.newValue)}else if(a.controlType===o.ControlType.DynamicPage){n.properties[p]&&(e[a.content.property]=a.content.newValue)}else if(a.controlType===o.ControlType.SmartChart){if(n.definitions.ChartSettings.properties[p]){const t=c.getReflectMetadata(e.chart,p);(null===(v=null==t?void 0:t.flex)||void 0===v?void 0:v.importFlexValue)?t.flex.importFlexValue(a,e.chart,p):e.chart[p]=a.content.newBinding?a.content.newBinding:a.content.newValue}}else{const t={controlId:a.controlId,propertyId:a.content.property,newValue:a.content.newBinding?a.content.newBinding:a.content.newValue,controlType:a.controlType};let s;s=e.table.type&&e.table.type!==u.TableTypeV2.ResponsiveTable||t.controlId.includes(r.PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP.get(r.PageType.AnalyticalListPage))?e.table.constructor.name:"ResponsiveTableWithMultiSelect";(n.definitions[`${s}<LineItems>`].properties[t.propertyId]||t.controlType===o.ControlType.TableColumn)&&i.addFlexForTable(e.table,t,n)}}catch(e){p.log(a,{severity:"error",message:f.default.t("FLEXERROR")},...e)}},t.transferSettingsOfObject=function(e,t,n,a,r,i){if(!n)return;let s={};const u=e.getDeprecated?e.getDeprecated():[];if(n.properties)for(const p in n.properties){const n=c.getReflectMetadata(e,p);if(null==n?void 0:n.manifest){const c=n.manifest.path([a],void 0,i);s=l.getManifestSectionByPathV2(t,c),o.importProperty(n,s,p,e),o.checkDeprecatedProperties(u,s,c,r)}if("quickVariantSelectionX"===p&&e[p])for(const t in e[p].variants){const n=e[p].variants[t];if(n.tableSettings){for(const e in n.tableSettings)n[e]=n.tableSettings[e];delete n.tableSettings}}}},t.determineTableType=function(e,t){var n,a;const r=e[s.ManifestSection.generic].pages[t];let i=u.TableTypeV2.ResponsiveTable;return e[s.ManifestSection.generic].pages[t].component.settings&&(e[s.ManifestSection.generic].pages[t].component.settings.tableSettings&&e[s.ManifestSection.generic].pages[t].component.settings.tableSettings.type||e[s.ManifestSection.generic].pages[t].component.settings.tableType)?i=(null===(a=null===(n=r.component.settings)||void 0===n?void 0:n.tableSettings)||void 0===a?void 0:a.type)||r.component.settings.tableType:"sap.suite.ui.generic.template.AnalyticalListPage"===r.component.name&&(i=u.TableTypeV2.AnalyticalTable),i}},3767:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8517);t.addFlexForTable=function(e,t,n){if(t.controlType.endsWith("Table"))e[t.propertyId]=t.newValue;else if(t.controlType===a.ControlType.TableColumn){if(!(null==n?void 0:n.definitions.TableColumn.properties[t.propertyId]))return;const r=t.controlId.split("-"),i=r[r.length-1].split("template:::TableColumn:::"),o=i[i.length-1].replace(/sSmartTableId.+?:::/,"").replace("::com.sap.vocabularies",a.VOCWITHCOLONS);e.columns||(e.columns={}),e.columns[o]||(e.columns[o]={}),e.columns[o][t.propertyId]=t.newValue}}},4330:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(1403)),a(n(2687)),a(n(2201)),a(n(9836)),a(n(961))},961:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9609),i=n(6971),o=n(5921),s=n(2449),c=a(n(9154)),l=n(5008),u=n(1403),p=n(2687),f=n(7072);t.createAnalyticalListPageConfig=function(e){if(s.initI18n(),!e.manifest[i.ManifestSection.generic])return void o.log(e.logger,{severity:"error",message:c.default.t("NOFE"),location:{path:l.MANIFESTPATH,range:[i.ManifestSection.generic]}});if(!e.manifest[i.ManifestSection.generic].pages)return void o.log(e.logger,{severity:"error",message:c.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:l.MANIFESTPATH,range:[i.ManifestSection.generic]}});const t=new f.MetadataInstanceFactoryV2,n=t.createPageInstance(i.PageType.AnalyticalListPage),a=[],d=u.findAnalyticalListPage(e.manifest[i.ManifestSection.generic].pages,a);if(d)return function(e,t,n,a){const o=r.determineTableType(e.manifest,a);t.table=n.createInstance(i.PageType.AnalyticalListPage,`ALP${o}`,t.table),r.transferSettingsOfObject(t.table,e.manifest,e.jsonSchema.definitions[`ALP${o}<LineItems>`],a,e.logger),t.filterBar=n.createInstance(i.PageType.AnalyticalListPage,"AnalyticalListPageFilterBar",t.filterBar),r.transferSettingsOfObject(t.filterBar,e.manifest,e.jsonSchema.definitions.AnalyticalListPageFilterBar,a,e.logger),t.chart=n.createInstance(i.PageType.AnalyticalListPage,"ChartSettings",t.chart),r.transferSettingsOfObject(t.chart,e.manifest,e.jsonSchema.definitions.ChartSettings,a,e.logger),t.keyPerformanceIndicators={};const s=e.manifest[i.ManifestSection.generic].pages[a].component.settings.keyPerformanceIndicators;s&&Object.keys(s).forEach((o=>{t.keyPerformanceIndicators[o]=n.createInstance(i.PageType.AnalyticalListPage,"KPISettings"),t.keyPerformanceIndicators=n.createInstance(i.PageType.AnalyticalListPage,"KPISettings",t.keyPerformanceIndicators),r.transferSettingsOfObject(t.keyPerformanceIndicators[o],e.manifest,e.jsonSchema.definitions.KPISettings,a,e.logger,o)}))}(e,n,t,a[0]),e.flex.forEach((t=>{l.parseChangeString(t)&&r.addFlex(n,t,e.jsonSchema)})),p.addFragments(n,e.manifest,d,i.PageType.AnalyticalListPage,e.fragments),n;o.log(e.logger,{severity:"error",message:c.default.t("NOALP"),location:{path:l.MANIFESTPATH,range:[i.ManifestSection.generic]}})}},2687:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9609),i=n(6971),o=n(5008),s=n(5921),c=a(n(9154)),l=n(2449),u=n(1403),p=n(4139),f=n(7040),d=n(7072),h=n(1205);function g(e,t,n,a,r,i,o){if(e.customData||e["table:customData"]){const s=e.customData?e.customData["core:CustomData"]._attributes.value:e["table:customData"]["core:CustomData"]._attributes.value,c=JSON.parse(s.substr(1,s.length));let l=e.Text&&e.Text._attributes&&e.Text._attributes.text;l||(l=e.Label&&e.Label._attributes&&e.Label._attributes.text);const u={id:e._attributes&&e._attributes.id,text:l,columnKey:c.columnKey,columnIndex:void 0!==c.columnIndex?Number(c.columnIndex):void 0,leadingProperty:c.leadingProperty,className:t[n].className,fragmentName:t[n].fragmentName,tabKey:a,extensionType:i};o&&(u.cellsFragmentName=o),r.table.columns.custom||(r.table.columns.custom=[]);r.table.columns.custom.push(u)}}function m(e,t,n,a,r,s){if(!r)return;const c="|"+(s&&s.target?s.target:n.entitySet);if(t[i.ManifestSection.ui5]&&t[i.ManifestSection.ui5].extends&&t[i.ManifestSection.ui5].extends.extensions&&t[i.ManifestSection.ui5].extends.extensions["sap.ui.viewExtensions"]){const n=i.PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP.get(a),l=t[i.ManifestSection.ui5].extends.extensions["sap.ui.viewExtensions"][n];if(l)for(const t of Object.keys(l)){const n=t.split("|"),[a,i]=n,u=n[2],d=s&&u===s.key?void 0:u,h=o.ViewTemplateType[a];if(h&&"|"+i===c){const n=l[t].type?l[t].type.toLowerCase():"xml";let a,s=l[t].fragmentName;if(!s)continue;if(h===o.ViewTemplateType.ResponsiveTableColumnsExtension)for(const e of Object.keys(l)){const[t,n,r]=e.split("|");t===o.ViewTemplateType.ResponsiveTableCellsExtension&&n===i&&r===u&&(a=l[e].fragmentName)}const c=s.split(".");s=c[c.length-1]+o.FRAGMENTNAMEPART+n;const m=r.filter((e=>e.dataSourceUri.endsWith(s)));if(m[0]){const n=JSON.parse(p.xml2json(m[0].fileContent,{compact:!0}))[f.FRAGMENT_DEFINITION],r=f.getRootCustomColumnFromFragmentJSON(n);if(r)if(e.table.columns||(e.table.columns={}),Array.isArray(r))for(let n=0;n<r.length;n++)g(r[n],l,t,d,e,h,a);else g(r,l,t,d,e,h,a)}}}}}t.addFragments=m,t.createListReportConfig=function(e){if(l.initI18n(),!e.manifest[i.ManifestSection.generic])return void s.log(e.logger,{severity:"error",message:c.default.t("NOFE"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.generic]}});if(!e.manifest[i.ManifestSection.generic].pages)return void s.log(e.logger,{severity:"error",message:c.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.generic]}});const t=new d.MetadataInstanceFactoryV2,n=t.createPageInstance(i.PageType.ListReport),a=[],p=u.findListReportPageV2(e.manifest[i.ManifestSection.generic].pages,a);if(p)return function(e,t,n,a){const o=r.determineTableType(e.manifest,a);let s;t.table=n.createInstance(i.PageType.ListReport,o,t.table),"TreeTable"===o||"AnalyticalTable"===o||"GridTable"===o?s=e.jsonSchema.definitions[o+"<LineItems>"]:e.jsonSchema.definitions[h.MULTISELECTTABLE]&&e.jsonSchema.definitions[h.INLINEDELETETABLE]&&(s=JSON.parse(JSON.stringify(e.jsonSchema.definitions[h.MULTISELECTTABLE])),s.properties=Object.assign(Object.assign({},s.properties),e.jsonSchema.definitions[h.INLINEDELETETABLE].properties)),r.transferSettingsOfObject(t.table,e.manifest,s,a,e.logger),t.filterBar=n.createInstance(i.PageType.ListReport,"ListReportFilterBar",t.filterBar),r.transferSettingsOfObject(t.filterBar,e.manifest,e.jsonSchema.definitions.ListReportFilterBar,a,e.logger)}(e,n,t,a[0]),e.flex.forEach((t=>{o.parseChangeString(t)&&r.addFlex(n,t,e.jsonSchema,e.logger)})),m(n,e.manifest,p,i.PageType.ListReport,e.fragments),n;s.log(e.logger,{severity:"error",message:c.default.t("NOLR"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.generic]}})}},2201:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(3374),i=n(3767),o=n(5921),s=n(1403),c=n(5008),l=n(1350),u=n(4867),p=a(n(9154)),f=n(2449),d=n(6971),h=n(2687),g=n(7072),m=n(1205);const y=(e,t,n)=>{e[t]=n},v=e=>{let t;return e.$ref?(t=e.$ref.includes("<")?e.$ref.split("<")[0]:e.$ref,t.replace(c.DEFINITION_LINK_PREFIX,"")):e.properties.subsections.$ref?(t=e.properties.subsections.$ref,t=t.includes("<")?t.split("<")[0]:t,t.replace(c.DEFINITION_LINK_PREFIX,"")):e.properties.subsections?m.SectionTypeV2.SubSection:void 0};function b(e,t,n,a,s,u,p,f){var d;if(!n)return;let h=[],g={};(null==t?void 0:t.getDeprecated)&&(h=t.getDeprecated());const m=u&&u.replace(/::@com.sap.vocabularies/g,r.VOCWITHSLASH);for(const r in n.properties||n){const v=c.getReflectMetadata(t,r);if(v||"columns"===r)if("columns"===r||v&&v.flex)if(u)for(const n in s){const a=s[n],o=a.propertyId===r,l="columns"===r&&a.controlType===c.ControlType.TableColumn,f=[u,m,p];(o||l)&&f.indexOf(null==a?void 0:a.facetId)>-1&&i.addFlexForTable(t,s[n],e.jsonSchema)}else for(const e in s){const a=s[e],i=!f||new RegExp(`.*${f}\\d?$`).test(e),o=a.propertyId===r,c=null===(d=n.properties[a.propertyId])||void 0===d?void 0:d.controlType,l=a.controlType===c;if(!a.facetId&&i&&o){y(t,r,a.newValue);break}if("action"===a.facetId&&!p&&i&&o){y(t,r,a.newValue);break}if(!p&&i&&o&&l){y(t,r,a.newValue);break}if(e.includes(p)&&i&&o&&l){y(t,r,a.newValue);break}}else if(v.manifest){const n=u?u.replace(/\/@/g,"::").replace(/@com.sap/g,"com.sap"):void 0,i=v.manifest.path(a,{},n);g=l.getManifestSectionByPathV2(e.manifest,i);const s=v.manifest.import;if(s&&"function"==typeof s){const e=s(g,u);void 0!==e&&(t[r]=e)}else{const e=v.manifest.key||r;e in g&&(t[r]=g[e])}if(g&&h)for(const t in g){const n=h[t];n&&(o.log(e.logger,{severity:"warning",message:c.getTextForDeprecated(t,n),location:{path:"webapp/manifest.json/",range:i.split("/")}}),delete h[t])}}}}function P(e,t,n,a,r,i,o){let s;a[t].form.fields={};for(const c in n)s=c.includes("::")?c.split("::")[1]+"::GroupElement":c+"::GroupElement",a[t].form.fields[c]=r.createInstance(d.PageType.ObjectPage,"Field"),b(e,a[t].form.fields[c],e.jsonSchema.definitions.Field,i,o,void 0,void 0,s),0===Object.keys(a[t].form.fields[c]).length&&delete a[t].form.fields[c];0===Object.keys(a[t].form.fields).length&&delete a[t].form.fields}function S(e,t,n,a,i,o,s,c){const l=s.replace(/\/@/g,"::"),u=e.jsonSchema.definitions[`${c}<${s}>`],p=u.title?u.title.split(r.FacetTitlePrefix)[1]:void 0,f=l.replace("@com.sap","com.sap"),h=t&&t.sections&&t.sections[f];if(h||n){const t=h&&h.tableSettings&&h.tableSettings.type?h.tableSettings.type:"ResponsiveTable",r=a.createInstance(d.PageType.ObjectPage,`ObjectPage${t}`);let f;i[l]=a.createInstance(d.PageType.ObjectPage,c,{table:{}}),i[l].table=r;const g=e.jsonSchema.definitions;"TreeTable"===t||"AnalyticalTable"===t||"GridTable"===t?f=g["ObjectPage"+t+"<"+l+">"]:g[`ObjectPageResponsiveTableWithMultiSelect<${l}>`]&&g[`ObjectPageResponsiveTableWithInlineDelete<${l}>`]&&(f=JSON.parse(JSON.stringify(g[`ObjectPageResponsiveTableWithMultiSelect<${l}>`])),f.properties=Object.assign(Object.assign({},f.properties),g[`ObjectPageResponsiveTableWithInlineDelete<${l}>`].properties)),b(e,i[l],u,o,n,void 0,p),b(e,i[l].table,f,o,n,s,p)}}function T(e,t,n,a,r){const i=e.jsonSchema.definitions[t].properties.custom,o=i?s.getTargetFromCustomColumnRef(i.$ref):void 0;if(o){const i={key:n||t.replace("@",""),target:o};h.addFragments(a[t],e.manifest,r,d.PageType.ObjectPage,e.fragments,i)}}function O(e,t,n,a,r,i,o){let s,c;n.actions={};const l=o?"FormAction":"HeaderAction";if(i.constructor===Object&&0!==Object.keys(i).length)for(const u in t)c=u.replace(/@/g,"::"),s=(o?`${u}${o}`:u).replace(/@/g,"::"),n.actions[c]=a.createInstance(d.PageType.ObjectPage,l),b(e,n.actions[c],e.jsonSchema.definitions[l],r,i,void 0,void 0,s),o&&0===Object.keys(n.actions[c]).length&&delete n.actions[c];o&&0===Object.keys(n.actions).length&&delete n.actions}function E(e,t,n,a,r,i,o,s,l){var u,p;for(const f in t){const h=f.replace(/\/@/g,"::");let g=t[f];if(!g.$ref||v(g)!==m.SectionTypeV2.SectionTable&&v(g)!==m.SectionTypeV2.SubSectionTable)if(!g.$ref||v(g)!==m.SectionTypeV2.SectionChart&&v(g)!==m.SectionTypeV2.SubSectionChart)if(!g.$ref||v(g)!==m.SectionTypeV2.SectionForm&&v(g)!==m.SectionTypeV2.SubSectionForm){if(g.properties&&g.properties.subsections||g.$ref&&(v(g)===m.SectionTypeV2.Section||v(g)===m.SectionTypeV2.SubSection)){const t=v(g);g=e.jsonSchema.definitions[`${t}<${f}>`];const m=c.getSectionTitle(g,e.jsonSchema);let y;a[h]=r.createInstance(d.PageType.ObjectPage,t,{subsections:{}}),o&&b(e,a[h],g,i,o,void 0,m),y=(null===(p=null===(u=g.properties)||void 0===u?void 0:u.subsections)||void 0===p?void 0:p.properties)?g.properties.subsections.properties:g.properties,E(e,y,n,a[h].subsections,r,i,o,s,l)}}else{const t=v(g);g=e.jsonSchema.definitions[`${t}<${f}>`];const n=c.getSectionTitle(g,e.jsonSchema),s=g.properties.form.$ref.split("SectionForm")[1];a[h]=r.createInstance(d.PageType.ObjectPage,t,{form:{}}),o&&b(e,a[h],g,i,o,void 0,n);const l=e.jsonSchema.definitions[`SectionActions${s}`];l.properties&&O(e,l.properties,a[h].form,r,i,o,`${h}::FormAction`);const u=e.jsonSchema.definitions[`SectionFields${s}`];u.properties&&P(e,h,u.properties,a,r,i,o),0===Object.keys(a[h].form).length&&delete a[h].form,0===Object.keys(a[h]).length&&delete a[h]}else{const t=v(g);g=e.jsonSchema.definitions[`${t}<${f}>`];const s=c.getSectionTitle(g,e.jsonSchema),l=h.replace("@com.sap","com.sap"),u=n&&n.sections&&n.sections[l];a[h]=r.createInstance(d.PageType.ObjectPage,t,{chart:{}}),a[h].chart=r.createInstance(d.PageType.ObjectPage,"ObjectPageChart"),(u||o)&&(b(e,a[h],g,i,o,void 0,s),b(e,a[h].chart,e.jsonSchema.definitions.ObjectPageChart,i,o,f,s))}else{S(e,n,o,r,a,i,f,v(g)),T(e,h,undefined,a,s)}}}function _(e,t,n,a,r){const i=r.createPageInstance(d.PageType.ObjectPage),o=a.component.settings;b(e,i,e.jsonSchema.properties,t,n),i.header=r.createInstance(d.PageType.ObjectPage,"ObjectPageHeader"),b(e,i.header,e.jsonSchema.definitions.ObjectPageHeader?e.jsonSchema.definitions.ObjectPageHeader:e.jsonSchema.definitions["ObjectPageHeader<GenericActions>"],t,n);const c=e.jsonSchema.definitions.HeaderActions;c&&O(e,c.properties,i.header,r,t,n),i.layout=r.createInstance(d.PageType.ObjectPage,"ObjectPageLayout"),b(e,i.layout,e.jsonSchema.definitions.ObjectPageLayout,t,n),0===Object.keys(i.layout).length&&delete i.layout,i.sections={};const l=e.jsonSchema.definitions.Sections;l&&E(e,l.properties,o,i.sections,r,t,n,a,i);const u=s.findCustomSectionExtensions(e.manifest,e.entitySet);if(Object.keys(u).length>0){i.sections.custom=[];for(const a in u){const o="fragmentName"in u[a]?r.createInstance(d.PageType.ObjectPage,"ObjectPageCustomSectionFragment"):r.createInstance(d.PageType.ObjectPage,"ObjectPageCustomSectionView");b(e,o,e.jsonSchema.definitions["fragmentName"in u[a]?"ObjectPageCustomSectionFragment":"ObjectPageCustomSectionView"],t,n,a),i.sections.custom.push(o)}}return i}t.createObjectPageConfigV2=function(e){if(f.initI18n(),!e.manifest[d.ManifestSection.generic])return void o.log(e.logger,{severity:"error",message:p.default.t("NOFE"),location:{path:r.MANIFESTPATH,range:[d.ManifestSection.generic]}});const t=[],n=e.manifest[d.ManifestSection.generic].pages;if(!n)return void o.log(e.logger,{severity:"error",message:p.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:r.MANIFESTPATH,range:[d.ManifestSection.generic]}});const a=e.entitySet,i=s.findObjectPageV2(n,e.entitySet,t);return i?_(e,t,function(e,t,n){const a={};let r=1;return e.forEach((e=>{var i,s;try{const n=c.parseChangeString(e);if(n&&(null===(i=n.controlId)||void 0===i?void 0:i.includes(u.FE_TEMPLATE_V2_OBJECT_PAGE))&&(null===(s=n.controlId)||void 0===s?void 0:s.includes(t))){let e=n.controlId.split("--")[1].replace(/:3a:3a/g,"::");null!==new RegExp(".+DataField.+:::sSmartTableId::.+").exec(e)&&(e=e.split("template:::TableColumn:::")[1]);const t=e.split(":::");let i,o;if(1===t.length){const e=t[0].split("-");if(i=e[e.length-1],t[0].indexOf("com.sap.vocabularies.UI.v1.LineItem")>=0||t[0].indexOf("UI.LineItem")>=0||t[0].indexOf("::Table")>=0)o=e[0].split("::Table")[0].split("::responsiveTable")[0].replace(/::/g,"/@");else{const t=i.split("::");t.length>1?o=t[0]:e[0].indexOf("::")>-1&&(o=e[0].split("::")[0])}}else if(e.indexOf("sSmartTableId")>=0){for(const e of t)if(e.startsWith("sSmartTableId")){o=e.split("sSmartTableId::")[1].split("::Table")[0].split("/responsiveTable")[0].replace("::com.sap.vocabularies.UI.v1.LineItem","/@com.sap.vocabularies.UI.v1.LineItem");break}}else o=t[0];e=e.replace(/:2f/g,"/").replace(/:40/g,"@").replace(/:23/g,"#").replace(/:3a:3a/g,"::").replace(/\/@com.sap.vocabularies/g,"::com.sap.vocabularies"),a[e]&&a[e].propertyId!==n.content.property&&(e+=r,r++),a[e]={controlId:e,propertyId:n.content.property,facetId:o,newValue:void 0!==n.content.newBinding?n.content.newBinding:n.content.newValue,controlType:n.controlType}}}catch(e){o.log(n,{severity:"error",message:p.default.t("FLEXERROR")},...e)}})),a}(e.flex,a),i,new g.MetadataInstanceFactoryV2):void o.log(e.logger,{severity:"error",message:p.default.t("NOENTITYSET",{entitySet:a}),location:{path:r.MANIFESTPATH,range:[d.ManifestSection.generic]}})}},9836:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(2762),i=n(1350),o=n(390),s=n(7072),c=n(2432),l=n(5008);function u(e,t,n,a){if("settings"===e)switch(t.template){case"sap.ovp.cards.charts.analytical":n[a[0]][o.CardSettingsType.analyticalCardSettings]=t[e];break;case"sap.ovp.cards.v4.charts.analytical":n[a[0]][o.CardSettingsType.analyticalCardSettingsv4]=t[e];break;case"sap.ovp.cards.list":case"sap.ovp.cards.v4.list":n[a[0]][o.CardSettingsType.listCardSettings]=t[e];break;case"sap.ovp.cards.stack":n[a[0]][o.CardSettingsType.stackCardSettings]=t[e];break;case"sap.ovp.cards.linklist":case"sap.ovp.cards.v4.linklist":n[a[0]][o.CardSettingsType.linkListCardSettings]=t[e];break;case"sap.ovp.cards.table":case"sap.ovp.cards.v4.table":n[a[0]][o.CardSettingsType.tableCardSettings]=t[e];break;default:n[a[0]].settings=t[e]}else n[a[0]][e]=t[e]}function p(e,t,n,a){for(const o in n){const n=r.getReflectMetadata(e,o);if(null==n?void 0:n.manifest){const r=n.manifest.path([...a,o]),s=i.getManifestSectionByPathV2(t,r);Object.prototype.hasOwnProperty.call(s,o)&&(0!==a.length?u(o,s,e,a):l.importProperty(n,s,o,e))}}}t.createOverviewPageConfig=function(e){const t=new s.MetadataInstanceFactoryV2,n=t.createPageInstance(a.PageType.OverviewPage);return e.jsonSchema&&function(e,t,n,r){p(e,t,n.properties,[]),e.cards={},Object.keys(t[a.ManifestSection.ovp].cards).forEach((n=>{const i=t[a.ManifestSection.ovp].cards[n].template,s=o.cardTemplateTypeMap[i];e.cards[n]=c.assignReflectMetadataRules(r,s,{},"CustomCard"),e.cards=c.assignReflectMetadataRules(r,s,e.cards,"CustomCard"),p(e.cards,t,t[a.ManifestSection.ovp].cards[n],[n])}))}(n,e.manifest,e.jsonSchema,t),n}},1403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(390),r=n(6971),i=n(1350),o=n(5008),s=n(468);function c(e,t){const n=e.split("|");return a.SectionPosition[n[0]]&&n[1]===t}t.findObjectPageV2=function e(t,n,a){for(const i in t){const s=t[i];if(o.getPageTypeV2(s.component.name)===r.PageType.ObjectPage&&s.entitySet===n)return a.push(i),s;if(s.pages)return a.push(i),e(s.pages,n,a)}},t.findListReportPageV2=function(e,t){for(const n in e){const a=e[n];if(t.push(n),o.getPageTypeV2(a.component.name)===r.PageType.ListReport)return a}},t.findAnalyticalListPage=function(e,t){for(const n in e){const a=e[n];if(t.push(n),o.getPageTypeV2(a.component.name)===r.PageType.AnalyticalListPage)return a}},t.isAssociatedCustomSection=c,t.findCustomSectionExtensions=function(e,t){const n=i.getManifestSectionByPathV2(e,`sap.ui5/extends/extensions/${a.SAPUI5_VIEW_EXTENSION}/${a.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE}`),r={};for(const e in n)c(e,t)&&(r[e]=n[e]);return r},t.getTargetFromCustomColumnRef=function(e){const t=e.split(`${s.CUSTOM_COLUMNS_DEFINITION}<`);if(t[1])return t[1].slice(0,-1)}},1205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MULTISELECTTABLE="ResponsiveTableWithMultiSelect<LineItems>",t.INLINEDELETETABLE="ResponsiveTableWithInlineDelete<LineItems>",t.TREETABLE="TreeTable<LineItems>",t.ANALYTICALTABLE="AnalyticalTable<LineItems>",t.GRIDTABLE="GridTable<LineItems>",function(e){e.Section="ObjectPageSectionV2",e.SubSection="ObjectPageSubSectionV2",e.SectionForm="ObjectPageSectionFormV2",e.SectionTable="ObjectPageSectionTableV2",e.SectionChart="ObjectPageSectionChartV2",e.SubSectionForm="ObjectPageSubSectionFormV2",e.SubSectionTable="ObjectPageSubSectionTableV2",e.SubSectionChart="ObjectPageSubSectionChartV2"}(t.SectionTypeV2||(t.SectionTypeV2={}))},8992:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762);t.getSettingsPathForPage=e=>`sap.ui5/routing/targets/${e[0]}/options/settings`,t.getSettingsPathForHeaderOP=e=>`sap.ui5/routing/targets/${e[0]}/options/settings/content/header`,t.getControlConfigurationPath=e=>t.getSettingsPathForPage(e)+"/controlConfiguration",t.getHeadeFacetSettingPath=(e,n,a)=>t.getControlConfigurationPath(e)+`/@com.sap.vocabularies.UI.v1.HeaderFacets/facets/${a}`,t.getTableSettingsPathForLR=e=>t.getControlConfigurationPath(e)+"/@com.sap.vocabularies.UI.v1.LineItem/tableSettings",t.getColumnsPathForLR=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/@com.sap.vocabularies.UI.v1.LineItem/columns/${r}`,t.getActionsPathForLR=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/@com.sap.vocabularies.UI.v1.LineItem/actions/${r}`,t.getColumnsPathForOP=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/${a}/columns/${r}`,t.getActionsPathForOP=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/${a}/actions/${r}`,t.getTableSettingsPathForOP=(e,n,a)=>t.getControlConfigurationPath(e)+`/${a}/tableSettings`,t.getCustomSectionPath=(e,n,a,r)=>{let i=t.getSettingsPathForPage(e)+`/content/body/sections/${a}`;return r&&(i+="/"+r),i};class ApplicationV4{}a([r.childId("settings")],ApplicationV4.prototype,"settings",void 0),t.ApplicationV4=ApplicationV4;class AppSettings{}a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"title",void 0),a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"description",void 0),a([r.syncRule({manifest:{path:()=>"sap.ui5/routing/config"}}),r.validity({since:"1.78.0"})],AppSettings.prototype,"flexibleColumnLayout",void 0),t.AppSettings=AppSettings},1735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FilterBar=class FilterBar{}},4086:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5877),i=n(6971),o=n(2762),s=n(8992);class ObjectPageCustomSectionFragment{}a([o.syncRule({manifest:{path:(e,t,n)=>s.getCustomSectionPath(e,t,n,"position"),key:"anchor"}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"relatedFacet",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:(e,t)=>t,export:!1}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"id",void 0),a([o.syncRule({manifest:{path:(e,t,n)=>s.getCustomSectionPath(e,t,n,"position"),key:"placement"}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"relativePosition",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"title",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:e=>!e.type||e.type.startsWith(r.CustomSectionViewTypesV4.XML)?r.CustomSectionViewTypesV4.XML:"",export:(e,t)=>{let n="";"type"in t&&(n+=t.type),"className"in t&&(t.className===i.SAPUI5_FRAGMENT_CLASS?n+="Fragment":n+=t.className),e.type=n}}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"type",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:e=>!e.type||e.type.startsWith(r.CustomSectionViewTypesV4.XML)?e.type&&"XMLFragment"!==e.type?e.type.slice(r.CustomSectionViewTypesV4.XML.length):i.SAPUI5_FRAGMENT_CLASS:e.type,export:!1}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"className",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,key:"name"}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"fragmentName",void 0),t.ObjectPageCustomSectionFragment=ObjectPageCustomSectionFragment},9509:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992),o=n(8992);class ObjectPageHeader{}a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"editableHeaderContent",void 0),a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"showRelatedApps",void 0),a([r.syncRule({manifest:{path:o.getSettingsPathForHeaderOP}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"visible",void 0),a([r.syncRule({manifest:{path:o.getSettingsPathForHeaderOP}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"anchorBarVisible",void 0),t.ObjectPageHeader=ObjectPageHeader},8434:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class FlexSettings{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getHeadeFacetSettingPath(e,t,n)+"/flexSettings"}}),r.validity({since:"1.81.0"})],FlexSettings.prototype,"designtime",void 0),t.FlexSettings=FlexSettings;class CommonHeaderFacetSettings{}a([r.syncRule({manifest:{path:i.getHeadeFacetSettingPath}}),r.validity({since:"1.81.0"})],CommonHeaderFacetSettings.prototype,"stashed",void 0),a([r.syncRule({manifest:{path:i.getHeadeFacetSettingPath}}),r.validity({since:"1.81.0"})],CommonHeaderFacetSettings.prototype,"flexSettings",void 0),t.CommonHeaderFacetSettings=CommonHeaderFacetSettings;t.ObjectPageHeaderSectionForm=class ObjectPageHeaderSectionForm extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionChart=class ObjectPageHeaderSectionChart extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionDataPoint=class ObjectPageHeaderSectionDataPoint extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionContact=class ObjectPageHeaderSectionContact extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionAddress=class ObjectPageHeaderSectionAddress extends CommonHeaderFacetSettings{};t.HeaderSections=class HeaderSections{}},861:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ObjectPageLayout{}a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],ObjectPageLayout.prototype,"sectionLayout",void 0),t.ObjectPageLayout=ObjectPageLayout},101:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5008),i=n(2762),o=n(8992),s=n(6460);class TableCreationModeOP{}a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportCreationModeName(e,t,n,a)},delete:(e,t,n,a)=>{s.deleteCreationModeName(e,a)}}})],TableCreationModeOP.prototype,"name",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportCreationModeCreateAtEnd(e,t,n,a)},delete:(e,t,n,a)=>{s.deleteCreationModeCreateAtEnd(e,a)}}})],TableCreationModeOP.prototype,"createAtEnd",void 0),t.TableCreationModeOP=TableCreationModeOP;class PersonalizationTypeOP{}a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportPersonalizationProperty(e,t,n,a)},delete:(e,t,n,a)=>{s.deletePersonalizationProperty(e,a)}}})],PersonalizationTypeOP.prototype,"column",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportPersonalizationProperty(e,t,n,a)},delete:(e,t,n,a)=>{s.deletePersonalizationProperty(e,a)}}})],PersonalizationTypeOP.prototype,"sort",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportPersonalizationProperty(e,t,n,a)},delete:(e,t,n,a)=>{s.deletePersonalizationProperty(e,a)}}})],PersonalizationTypeOP.prototype,"filter",void 0),t.PersonalizationTypeOP=PersonalizationTypeOP;class QuickVariantSelectionV4OP{}a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n)+r.QUICKVARPATH}})],QuickVariantSelectionV4OP.prototype,"paths",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n)+r.QUICKVARPATH}})],QuickVariantSelectionV4OP.prototype,"hideTableTitle",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n)+r.QUICKVARPATH}})],QuickVariantSelectionV4OP.prototype,"showCounts",void 0),t.QuickVariantSelectionV4OP=QuickVariantSelectionV4OP;class ObjectPageTable{}a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"type",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP,import:e=>{const t=e.creationMode;return"object"==typeof t?t:"string"==typeof t?{name:t}:void 0}}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"creationMode",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP,import:e=>{const t=e.personalization;return"object"==typeof t?t:"boolean"==typeof t?{column:t,sort:t,filter:t}:void 0}}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"personalization",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"selectionMode",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"selectAll",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"selectionLimit",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"enableExport",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"quickVariantSelection",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"condensedTableLayout",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"enableFullScreen",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"enablePaste",void 0),t.ObjectPageTable=ObjectPageTable},2177:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ActionAfterExecutionConfigurationOP{}a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForOP(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfigurationOP.prototype,"navigateToInstance",void 0),a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForOP(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfigurationOP.prototype,"enableAutoScroll",void 0),t.ActionAfterExecutionConfigurationOP=ActionAfterExecutionConfigurationOP;class ObjectPageTableColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.85.0"})],ObjectPageTableColumn.prototype,"availability",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableColumn.prototype,"afterExecution",void 0),t.ObjectPageTableColumn=ObjectPageTableColumn;class ObjectPageTableCustomColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableCustomColumn.prototype,"header",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableCustomColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableCustomColumn.prototype,"template",void 0),t.ObjectPageTableCustomColumn=ObjectPageTableCustomColumn},100:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ObjectPageToolBarAction{}a([r.syncRule({manifest:{path:i.getActionsPathForOP}})],ObjectPageToolBarAction.prototype,"enableOnSelect",void 0),t.ObjectPageToolBarAction=ObjectPageToolBarAction},6460:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5008),i=n(2762),o=n(8992);function s(e,t,n,a){"object"==typeof e.creationMode?e.creationMode[a]=t[n]:"string"==typeof e.creationMode&&(e.creationMode=t[n])}function c(e,t,n,a){"boolean"!=typeof e.personalization&&e.personalization||(e.personalization={}),e.personalization[a]=t[n]}function l(e,t){"object"==typeof e.creationMode&&void 0!==e.creationMode[t]?delete e.creationMode[t]:"string"==typeof e.creationMode&&void 0!==e.creationMode&&delete e.creationMode}function u(e,t){"object"==typeof e.personalization&&void 0!==e.personalization[t]?delete e.personalization[t]:"string"==typeof e.personalization&&void 0!==e.personalization&&delete e.personalization}function p(e,t,n,a){"object"==typeof e.creationMode?e.creationMode[a]=t[n]:"string"==typeof e.creationMode&&(e.creationMode={name:t.name,[a]:t[n]})}function f(e,t){"object"==typeof e.creationMode&&void 0!==e.creationMode[t]&&delete e.creationMode[t]}t.exportCreationModeName=s,t.exportPersonalizationProperty=c,t.deleteCreationModeName=l,t.deletePersonalizationProperty=u,t.exportCreationModeCreateAtEnd=p,t.deleteCreationModeCreateAtEnd=f;class TableCreationMode{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{s(e,t,n,a)},delete:(e,t,n,a)=>{l(e,a)}}})],TableCreationMode.prototype,"name",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{p(e,t,n,a)},delete:(e,t,n,a)=>{f(e,a)}}})],TableCreationMode.prototype,"createAtEnd",void 0),t.TableCreationMode=TableCreationMode;class PersonalizationType{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{c(e,t,n,a)},delete:(e,t,n,a)=>{u(e,a)}}})],PersonalizationType.prototype,"column",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{c(e,t,n,a)},delete:(e,t,n,a)=>{u(e,a)}}})],PersonalizationType.prototype,"sort",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{c(e,t,n,a)},delete:(e,t,n,a)=>{u(e,a)}}})],PersonalizationType.prototype,"filter",void 0),t.PersonalizationType=PersonalizationType;class QuickVariantSelectionV4{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)+r.QUICKVARPATH}})],QuickVariantSelectionV4.prototype,"paths",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)+r.QUICKVARPATH}})],QuickVariantSelectionV4.prototype,"hideTableTitle",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)+r.QUICKVARPATH}})],QuickVariantSelectionV4.prototype,"showCounts",void 0),t.QuickVariantSelectionV4=QuickVariantSelectionV4;class MultiTableModeV4{}a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)+"/views"}})],MultiTableModeV4.prototype,"paths",void 0),a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)+"/views"}})],MultiTableModeV4.prototype,"showCounts",void 0),t.MultiTableModeV4=MultiTableModeV4;class Table{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"type",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),import:e=>{const t=e.creationMode;return"object"==typeof t?t:"string"==typeof t?{name:t}:void 0}}}),i.validity({since:"1.84.0"})],Table.prototype,"creationMode",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),import:e=>{const t=e.personalization;return"object"==typeof t?t:"boolean"==typeof t?{column:t,sort:t,filter:t}:void 0}}}),i.validity({since:"1.84.0"})],Table.prototype,"personalization",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"selectionMode",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"selectAll",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"selectionLimit",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"enableExport",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"condensedTableLayout",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"quickVariantSelection",void 0),a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"views",void 0),a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"initialLoad",void 0),t.Table=Table},6437:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ActionAfterExecutionConfiguration{}a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForLR(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfiguration.prototype,"navigateToInstance",void 0),a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForLR(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfiguration.prototype,"enableAutoScroll",void 0),t.ActionAfterExecutionConfiguration=ActionAfterExecutionConfiguration;class TableColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.85.0"})],TableColumn.prototype,"availability",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableColumn.prototype,"afterExecution",void 0),t.TableColumn=TableColumn;class TableCustomColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableCustomColumn.prototype,"header",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableCustomColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableCustomColumn.prototype,"template",void 0),t.TableCustomColumn=TableCustomColumn},5230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ToolBar=class ToolBar{}},1707:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ToolBarAction{}a([r.syncRule({manifest:{path:i.getActionsPathForLR}})],ToolBarAction.prototype,"enableOnSelect",void 0),t.ToolBarAction=ToolBarAction},1107:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6460)),a(n(6437)),a(n(5230)),a(n(1707)),a(n(100)),a(n(1735)),a(n(2177)),a(n(9509)),a(n(8434)),a(n(861)),a(n(101)),a(n(4086))},1271:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(8992),i=n(3220),o=n(5555),s=n(6739),c=n(9081),l=n(5709),u={flexChanges:[],manifest:{"sap.ui5":{flexEnabled:!0,routing:{targets:{}}},"sap.app":{}},fragments:[]};function p(e,t,n,r,i,o,l){let u=e.indexOf("subsections");for(;u>-1;)e.splice(u-1,2),u=e.indexOf("subsections");const{targetAnnotationEncoded:p,targetAnnotation:f,custom:d}=function(e,t){let n="",a="",r=!1;return"sections"===e[0]&&("custom"===e[1]&&e[2]!==e[e.length-1]?(r=!0,a=e[2],n=a.replace(/::/g,"/")):(a=e[1]&&e[1].replace(/\//g,"::"),n=a.replace(/::/g,"/"))),"sections"===e[1]&&(n=a=t&&t.indexOf(s.FacetTitlePrefix)>-1?t.split(s.FacetTitlePrefix)[1]:a.replace(/::/g,"/")),{targetAnnotationEncoded:a,targetAnnotation:n,custom:r}}(e,n.title),h=function(e){let t;const n=e.findIndex((e=>"columns"===e||"actions"===e))+1;return n>0&&(t=e[n]),t}(e),g=t.manifest.path(n.pageNameArray,{},p,h),m=a.getManifestSectionByPathV4(n.exportResults.manifest,g,f,d?void 0:p),y=t.manifest.key||r;if(void 0!==i[r])!function(e,t,n,a,r,i,o){if("array"!==e.type&&t&&"object"===t.targetDefinition.type&&t.targetDefinition.properties)"array"!==e.type&&void 0===a[o]&&(a[o]={});else{const e=n.manifest.export;!1!==e&&(e&&"function"==typeof e?e(a,r,i,o):a[o]=r[i])}}(o,l,t,m,i,r,y);else if(void 0!==m[y])delete m[y];else if(t.manifest.delete){const e=t.manifest.delete;"function"==typeof e&&e(m,i,r,y)}c.deleteEmptyStructure(n.exportResults.manifest,g,f,p)}function f(e,t,n,r,i,o,s){const c=a.getReflectMetadata(r,n);c&&(c.flex?function(e,t,n,r,i,o){const s=e.flex.controlId(t.baseId,n,r,e.flex.controlType,t.title),c=a.fillFlexChangeContent(i,e,t.ui5Version,o,s);t.exportResults.flexChanges.push(e.flex.createFlexChange(c,t.exportResults.manifest))}(c,e,i,t,r,n):c.manifest&&p(i,c,e,n,r,o,s))}function d(e,t,n,a,r,i,o,s){let c=[],l=!1;e.$ref&&t?c.push(t.configObject):e.anyOf?c.push(n):"array"===e.type?(c=n,l=!0):c.push(n);for(const e of c){const n=[];"sections"===a[0]&&"custom"===r&&l&&n.push(e.id),i.title=t.title,h(i,e,[...o,...n],s,[...a,r],t.targetDefinition)}}function h(e,t,n,r,i,o){let s;if(o&&o.properties)for(const l in o.properties){s=t[l];const u=a.getChildId(t,l),p=o.properties[l],h=c.getNextTargetDefinition(e.appSchema,e.title,s,p,l,e.factory,e.pageType),g=u?[...n,u]:[...n,l];if(f(e,i,l,t,g,p,h),p&&("object"==typeof s||p.$ref&&h.configObject)){d(p,h,s,i,l,e,g,u?[...r,u]:r)}}}function g(e,t,n){if("custom"===t&&Array.isArray(e.sections[t])){const t=e.sections.custom;for(let e=0;e<t.length;e++)t[e]=n.createInstance(s.PageType.ObjectPage,"ObjectPageCustomSectionView",t[e],t[e].className)}}function m(e,t){if(e.subsections){let n;for(const a in e.subsections)n=e.subsections[a],g(n,a,t),m(n,t)}}const y=(e,t)=>{var n;const r=u;r.manifest=JSON.parse(JSON.stringify(e.manifest));const i=new l.MetadataInstanceFactoryV4,o=i.createPageInstance(s.PageType.ObjectPage,e.page.config),c=a.getPageLayoutInformation(o),p=e.page.name,f=`${e.appId}::${c.id}::${p}--`;(null===(n=e.page.config)||void 0===n?void 0:n.sections)&&function(e,t,n){let a;for(const r in e.sections)a=t.sections[r],g(e,r,n),m(a,n)}(e.page.config,o,i);return h({exportResults:r,appId:e.appId,baseId:f,appSchema:e.jsonSchema,ui5Version:t,factory:i,pageNameArray:[p],pageType:s.PageType.ObjectPage,title:void 0},o,[],[],[],e.jsonSchema),r},v=(e,t,n,r,i)=>{var o;const c=u;if(c.manifest=JSON.parse(JSON.stringify(e.manifest)),n.table=t.createInstance(r,"Table",n.table),null===(o=n.table.toolBar)||void 0===o?void 0:o.actions)for(const a in e.jsonSchema.definitions["Actions<LineItems>"].properties)n.table.toolBar.actions[a]=t.createInstance(r,"ToolBarAction",n.table.toolBar.actions[a]);const l=a.getPageLayoutInformation(n),p=e.page.name,f=`${e.appId}::${l.id}::${p}--`;if(!c.manifest[s.ManifestSection.ui5].routing.targets[p]){const e={type:"Component",id:"",name:l.pageId,options:{settings:{entitySet:p,navigation:{},controlConfiguration:{}}}};c.manifest[s.ManifestSection.ui5].routing.targets[p]=e}return h({exportResults:c,appId:e.appId,baseId:f,appSchema:e.jsonSchema,ui5Version:i,factory:t,pageNameArray:[p],pageType:s.PageType.ListReport,title:void 0},n,[],[],[],e.jsonSchema),c};t.exportPageV4=(e,t)=>{if(e[s.SchemaType.ListReport])return((e,t)=>{const n=new l.MetadataInstanceFactoryV4,a=n.createPageInstance(s.PageType.ListReport,e.page.config);return v(e,n,a,s.PageTypeV4.ListReport,t)})(e[s.SchemaType.ListReport],t);if(e[s.SchemaType.ObjectPage])return y(e[s.SchemaType.ObjectPage],t);if(e[s.SchemaType.Application]){const{application:t,manifest:n,jsonSchema:l}=e[s.SchemaType.Application];return((e,t,n)=>{const l=u;l.manifest=JSON.parse(JSON.stringify(t));const p=Object.assign(new r.ApplicationV4,e);p.settings=Object.assign(new r.AppSettings,p.settings);for(const t in n.definitions.AppSettings.properties){const n=a.getReflectMetadata(p.settings,t);if(n&&n.manifest){const r=n.manifest.path(),i=a.getManifestSectionByPathV4(l.manifest,r);e.settings&&e.settings[t]?i[t]=e.settings[t]:delete i[t],c.deleteEmptyStructure(l.manifest,r)}}return l.manifest[s.ManifestSection.ui5].routing=i.transformRoutingV4(e.home,e.pages,l.manifest),o.updateFcl(l.manifest[s.ManifestSection.ui5],e),l})(t,n,l)}return e[s.SchemaType.AnalyticalListPage]?((e,t)=>{const n=new l.MetadataInstanceFactoryV4,a=n.createPageInstance(s.PageType.AnalyticalListPage,e.page.config);return v(e,n,a,s.PageTypeV4.AnalyticalListPage,t)})(e[s.SchemaType.AnalyticalListPage],t):void 0}},5709:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1107)),i=a(n(7601)),o=n(6785),s=n(6971),c={Table:r.ObjectPageTable,TableColumn:r.ObjectPageTableColumn,ObjectPageCustomSectionView:r.ObjectPageCustomSectionFragment,ActionAfterExecutionConfiguration:r.ActionAfterExecutionConfigurationOP},l={[s.PageType.AnalyticalListPage]:{},[s.PageType.ListReport]:{},[s.PageType.ObjectPage]:c};class MetadataInstanceFactoryV4 extends o.MetadataFactory{constructor(){super(r,i,l)}}t.MetadataInstanceFactoryV4=MetadataInstanceFactoryV4},5555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5877),r=n(3220),i=n(6391),o=[a.FlexibleColumnLayoutAggregations.BeginColumnPages,a.FlexibleColumnLayoutAggregations.MidColumnPages,a.FlexibleColumnLayoutAggregations.EndColumnPages],s=(e,t,n,i=[],c=0)=>{const l=t.pages[n],u=e.routing.routes.find((e=>e.name===n));"string"==typeof u.target&&(u.target=c<=2?[...i,u.target]:[u.target]);const p=e.routing.targets[n];p.controlAggregation="controlAggregation"in l?l.controlAggregation:o[c]?o[c]:a.FlexibleColumnLayoutAggregations.EndColumnPages;const f=u.pattern.replace(r.Constants.OptionalQuery,"");if(p.contextPattern=f?`/${f}`:"",l.navigation){c++;for(const n in l.navigation)s(e,t,n,u.target,c)}};t.updateFcl=(e,t)=>{t.settings&&t.settings.flexibleColumnLayout?((e,t)=>{e.routing.config||(e.routing.config={}),e.routing.config.routerClass=a.FIORI_FCL_ROUTER_CLASS,s(e,t,t.home);const n={viewName:a.FIORI_FCL_ROOT_VIEW_NAME,type:a.ViewTypes.XML,async:!0,id:a.FIORI_FCL_ROOT_ID};e.rootView=e.rootView?Object.assign(Object.assign({},e.rootView),n):n,i.updateDependencyLib(e,a.SAPUI5_DEPENDENCY_LIB_SAP_F)})(e,t):(e=>{if(e.rootView&&e.rootView.viewName===a.FIORI_FCL_ROOT_VIEW_NAME&&delete e.rootView,e.routing){e.routing.config&&e.routing.config.routerClass===a.FIORI_FCL_ROUTER_CLASS&&delete e.routing.config.routerClass;const t=e.routing.routes||[];for(const e of t)e.target&&Array.isArray(e.target)&&(e.target=e.name)}})(e)}},3220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6739);var r;!function(e){e.OptionalQuery=":?query:",e.Component="sap/fe/AppComponent",e.Namespace="sap.fe.templates"}(r=t.Constants||(t.Constants={}));const i=(e,t,n)=>({pattern:n,name:e,target:t}),o=(e,t)=>({settings:Object.assign(Object.assign(Object.assign({},e&&{entitySet:e}),t&&{variantManagement:t}),{navigation:{}})});function s(e,t,n){e.options||(e.options=o()),e.options.settings||(e.options.settings={}),e.options.settings.navigation||(e.options.settings.navigation={}),e.options.settings.navigation[t]={detail:{route:n}}}function c(e,t){let n="";return e.forEach(((e,r)=>{let i="";t!==a.PageTypeV4.ListReport&&(i=`({key${r?r+1:""}})`),n+=`${n?"/":""}${e}${i}`})),n}function l(e,t,n,o){if(e.navigation)for(const l in e.navigation){const u=e.navigation[l].split("."),p=t[l]&&t[l].pageType,f=c(u,p);let d=u[u.length-1];p!==a.PageTypeV4.ListReport&&(p!==a.PageTypeV4.CustomPage||t[l].entitySet||d)||(d=l),d&&s(n,d,l),o.routes.some((e=>e.name===l))||o.routes.push(i(l,l,`${f}${r.OptionalQuery}`))}}function u(e,t){var n,a,r,i,s,c;e.entitySet?(t.options||(t.options=o(e.entitySet,e.variantManagement)),t.options.settings.entitySet=e.entitySet,(null===(i=null===(r=null===(a=null===(n=null==t?void 0:t.options)||void 0===n?void 0:n.settings)||void 0===a?void 0:a.content)||void 0===r?void 0:r.body)||void 0===i?void 0:i.sections)&&(t.options.settings.content.body.sections={})):null===(c=null===(s=t.options)||void 0===s?void 0:s.settings)||void 0===c||delete c.entitySet}function p(e,t,n){const a=e.routes.find((e=>e.name===t));a&&(n.defaultLayoutType?a.layout=n.defaultLayoutType:delete a.layout)}t.transformRoutingV4=function(e,t,n){var o,s;const c=function(e){let t=e;return t?(t.routes||(t.routes=[]),t.targets||(t.targets={})):t={routes:[],targets:{}},t}(n[a.ManifestSection.ui5].routing);e&&!c.routes.some((t=>t.name===e))&&c.routes.push(i(e,e,r.OptionalQuery));for(const e in t){let n;const i=t[e];c.targets[e]&&(n=c.targets[e]),i.pageType&&i.pageType!==a.PageTypeV4.CustomPage?n=Object.assign(Object.assign({},n),{type:"Component",id:e,name:`${r.Namespace}.${t[e].pageType}`}):i.view&&n&&(n.viewName||n.viewId)?(n=Object.assign(Object.assign({},n),{viewName:i.view.name}),i.view.id&&(n.viewId=i.view.id)):i.view&&(n=Object.assign(Object.assign({},n),{type:"Component",id:i.view.id,name:`${a.FE_TEMPLATE_V4_CUSTOM_PAGE}`,options:{settings:{viewName:i.view.name}}})),u(i,n),n&&!i.controlAggregation&&(delete n.contextPattern,delete n.controlAggregation),(null===(s=null===(o=null==n?void 0:n.options)||void 0===o?void 0:o.settings)||void 0===s?void 0:s.navigation)&&(n.options.settings.navigation={}),l(i,t,n,c),p(c,e,i),c.targets[e]=n}return function(e,t){for(const n in e.targets)if(!t||!t[n]){delete e.targets[n];const t=e.routes.findIndex((e=>e.name===n));-1!==t&&e.routes.splice(t,1)}}(c,t),c}},8535:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5877),i=n(2762),o=n(8992);let s=class AnalyticalListPage{};a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)}}),i.validity({since:"1.84.0"})],s.prototype,"variantManagement",void 0),a([i.childId("fe::FilterBar")],s.prototype,"filterBar",void 0),a([i.childId("fe::table")],s.prototype,"table",void 0),s=a([i.pageLayoutInformation({id:r.FE_TEMPLATE_V4_ALP,pageId:r.FE_TEMPLATE_V4_ALP})],s),t.AnalyticalListPage=s},3643:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);let o=class ListReport{};a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],o.prototype,"variantManagement",void 0),a([r.childId("fe::FilterBar")],o.prototype,"filterbar",void 0),o=a([r.pageLayoutInformation({id:"sap.suite.ui.generic.template.ListReport.view.ListReport",pageId:"sap.suite.ui.generic.template.ListReport"})],o),t.ListReport=o},7066:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);let o=class ObjectPage{};a([r.childId("header")],o.prototype,"header",void 0),a([r.childId("layout")],o.prototype,"layout",void 0),a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],o.prototype,"variantManagement",void 0),a([r.childId("sections")],o.prototype,"sections",void 0),o=a([r.pageLayoutInformation({id:"sap.suite.ui.generic.template.ObjectPage.view.Details",pageId:"sap.suite.ui.generic.template.ObjectPage"})],o),t.ObjectPage=o},7601:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3643)),a(n(7066)),a(n(8535))},6391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateDependencyLib=function(e,t,n=!0){n?(e.dependencies||(e.dependencies={}),e.dependencies.libs||(e.dependencies.libs={}),void 0===e.dependencies.libs[t]&&(e.dependencies.libs[t]={})):e.dependencies&&e.dependencies.libs&&void 0!==e.dependencies.libs[t]&&delete e.dependencies.libs[t]}},6151:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9081),r=n(6882),i=n(4027);t.generateObjectPageInterfaceV4=function(e,t,n,o,s){const c=a.parseAndMergeAndConvert(n,s),l={fioriElementsVersion:i.FioriElementsVersion.v4,manifest:o,fragments:[],serviceAVT:c,logger:s};return r.generateObjectPageSchemaV4(l,e,t)},t.generateListReportInterfaceV4=function(e,t,n,i){const o=a.parseAndMergeAndConvert(n,i),s=o.entitySets.find((e=>e.name===t));return r.generateListReportSchemaV4(e,s.entityType.name,o,i)}},6882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(8106);t.generateListReportSchemaV4=a.generateListReportSchemaV4;var r=n(7067);t.generateObjectPageSchemaV4=r.generateObjectPageSchemaV4;var i=n(6151);t.generateListReportInterfaceV4=i.generateListReportInterfaceV4,t.generateObjectPageInterfaceV4=i.generateObjectPageInterfaceV4},8106:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(9154)),i=n(5921),o=n(9190),s=n(5008);function c(e,t,n){s.addEnumForSingleTabVariant(e,t,"AnnotationPathAsObject"),s.addEnumForMultiTabVariant(n,t,"AnnotationPathWithKey"),s.addEnumForVariantEntitySet(n,t,"AnnotationPathWithKey")}t.addEnumForVariantPaths=c,t.generateListReportSchemaV4=function(e,t,n,a){var l,u,p,f;const d=JSON.parse(JSON.stringify(e)),h=null==n?void 0:n.entityTypes.find((e=>e.name===t));if(h){const e=s.findAlias(s.UIVOCABULARY,n),t=null===(u=null===(l=null==h?void 0:h.annotations)||void 0===l?void 0:l[e])||void 0===u?void 0:u.LineItem;d.definitions.Table.properties.toolBar.$ref=`${s.DEFINITION_LINK_PREFIX}ToolBar<LineItems>`,o.addLineItemsType(d,t,h,n,"TableColumn"),c(h,d,n);!function(e,t,n){const a=t.definitions.SelectionFields;if(a.additionalProperties=!1,a.properties={},a.annotationPath=s.createAnnotationPath(e.fullyQualifiedName,"com.sap.vocabularies.UI.v1.SelectionFields"),!n)return;let r=0;n.forEach((n=>{var i;let o=n.value;const c="SelectionField::"+s.prepareRef(n.value);"PropertyPath"===n.type&&(o=s.getLabelForPropertyPath(n,e)),a.properties[c]={$ref:s.DEFINITION_LINK_PREFIX+c,propertyIndex:r},t.definitions[c]={type:"object",properties:{},description:o,annotationPath:`${a.annotationPath}/${r}`,isViewNode:!0,additionalProperties:!1,annotationType:null==n?void 0:n.type,dataType:null===(i=null==n?void 0:n.$target)||void 0===i?void 0:i.type.replace("Edm.","")},r++}))}(h,d,null===(f=null===(p=null==h?void 0:h.annotations)||void 0===p?void 0:p[e])||void 0===f?void 0:f.SelectionFields),d.definitions.Table.properties.columns.$ref=s.DEFINITION_LINK_PREFIX+"LineItems",delete d.definitions.GenericColumns,delete d.definitions.ToolBar,delete d.definitions.Actions,delete d.definitions.Action}else i.log(a,{severity:"error",message:r.default.t("NOENTITYTYPE",{entityType:t}),location:{path:s.METADATAPATH}});return d}},7067:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(6739),o=n(5008),s=n(9190),c=a(n(9154)),l=n(5921);function u(e,t,n,a,r){return(i,s)=>{if(!i.Determining&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===i.$Type||"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===i.$Type){const c=o.replaceAlias(i.Action,r),{actionName:l,actionId:u}=o.getActionNameAndId(c,e),p=i.Label||l,f=`HeaderAction<${o.prepareRef(u)}>`,d=n.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification");t.definitions[f]={isViewNode:!0,type:"object",properties:{},description:p,annotationPath:`/${d}/${s}`},a.properties[u]={$ref:`${o.DEFINITION_LINK_PREFIX}${f}`}}}}function p(e,t,n,a,c,l){const u=e[t],f=t.replace("#","::");if("CollectionFacet"===u.base)n.properties[t]=o.createSectionWithoutProperties(u,t),function(e,t,n,a,r,i){n.properties[t].properties={subsections:{additionalProperties:!1,type:"object",properties:{},annotationPath:e.annotationPath,isViewNode:!0,description:"Subsections"}};const o=n.properties[t].properties.subsections;for(const t in e.facets)p(e.facets,t,o,a,r,i)}(u,t,n,a,c,l);else if("LineItem"===u.base&&l===i.SectionType.Section){const r=`ObjectPage${l}TableV4<${f}>`;n.properties[t]={$ref:`${o.DEFINITION_LINK_PREFIX}${r}`},function(e,t,n,a,r){let i="",c="";[i,c]=t.split("::");const l="ObjectPageSectionTableV4<"+t+">";a.definitions[l]=JSON.parse(JSON.stringify(a.definitions.ObjectPageSectionTableV4));const u=`ObjectPageTable<${t}>`;a.definitions[l].properties.table.$ref=`${o.DEFINITION_LINK_PREFIX}${u}`,a.definitions[u]=JSON.parse(JSON.stringify(a.definitions.ObjectPageTable)),a.definitions[l].annotationPath=e.annotationPath,o.addSectionTitleAndDescription(e,a.definitions[l],t),a.definitions[l].properties.table.$ref=o.DEFINITION_LINK_PREFIX+"ObjectPageTable<"+t+">";const p="ObjectPageTable<"+t+">";a.definitions[p]=JSON.parse(JSON.stringify(a.definitions.ObjectPageTable)),e.entityType&&c&&(a.definitions[p].annotationPath=`/${e.entityType.fullyQualifiedName}/${c}`),a.definitions[p].properties.columns={$ref:o.DEFINITION_LINK_PREFIX+t},a.definitions[p].properties.toolBar.$ref=`${o.DEFINITION_LINK_PREFIX}ObjectPageToolBar<${t}>`,a.definitions[p].properties.quickVariantSelection.$ref=`${o.DEFINITION_LINK_PREFIX}QuickVariantSelectionV4OP<${t}>`,a.definitions[`QuickVariantSelectionV4OP<${t}>`]=JSON.parse(JSON.stringify(a.definitions.QuickVariantSelectionV4OP)),a.definitions[`AnnotationPathAsObject<${t}>`]=JSON.parse(JSON.stringify(a.definitions.AnnotationPathAsObject)),a.definitions[`QuickVariantSelectionV4OP<${t}>`].properties.paths.items.$ref=`${o.DEFINITION_LINK_PREFIX}AnnotationPathAsObject<${t}>`,o.addEnumForSingleTabVariant(e.entityType,a,`AnnotationPathAsObject<${t}>`);for(const e in n)"LineItem"===n[e].base&&e.includes(i)&&s.addLineItemsType(a,n[e].target,n[e].entityType,r,"ObjectPageTableColumn",t)}(u,f,e,a,c)}else if(u.base===o.FacetBase.Form||u.base===o.FacetBase.Identification){!function(e,t,n,a,i,s){n.properties[t]={$ref:`${o.DEFINITION_LINK_PREFIX}${s}`},a.definitions[s]=JSON.parse(JSON.stringify(a.definitions[`ObjectPage${i}Form`])),e.ID||(a.definitions[s].properties={}),o.addSectionTitleAndDescription(e,a.definitions[s],t),a.definitions[s].annotationPath=e.annotationPath,a.definitions[s].isViewNode=!0;const c=!(e.base===o.FacetBase.Identification&&t.indexOf("#")<0);o.handleForm(i,e,a.definitions[s],a,r.FioriElementsVersion.v4,c)}(u,t,n,a,l,`ObjectPage${l}Form<${f}>`)}else if(u.base===o.FacetBase.DataPoint||u.base===o.FacetBase.Address||u.base===o.FacetBase.Contact){!function(e,t,n,a,r,i){n.properties[t]={$ref:`${o.DEFINITION_LINK_PREFIX}${i}`},a.definitions[i]=JSON.parse(JSON.stringify(a.definitions[`ObjectPage${r}${e.base}`])),o.addSectionTitleAndDescription(e,a.definitions[i],t),a.definitions[i].annotationPath=e.annotationPath,a.definitions[i].isViewNode=!0}(u,t,n,a,l,`ObjectPage${l}${u.base}<${f}>`)}else n.properties[t]=o.createSectionWithoutProperties(u,t)}function f(e,t,n,a,s){o.addCommonHeaderSchema(t,n),o.addHeaderActions(t,n,null==e?void 0:e.serviceAVT,u),t.definitions.HeaderSections.annotationPath=`/${a.entityType.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.HeaderFacets`,function(e,t,n,a,s){const c=o.getObjectPageHeaderFacets(n,null==e?void 0:e.serviceAVT,r.FioriElementsVersion.v4,e.logger),l=t.definitions.HeaderSections;l.properties={},l.additionalProperties=!1,c&&(Object.keys(s).forEach((n=>{var r,o;if((null===(o=null===(r=s[n].options)||void 0===r?void 0:r.settings)||void 0===o?void 0:o.entitySet)===a&&s[n].name===i.FE_TEMPLATE_V4_OBJECT_PAGE)for(const n in c)p(c,n,l,t,null==e?void 0:e.serviceAVT,i.SectionType.HeaderSection)})),delete t.definitions.ObjectPageHeaderSectionForm,delete t.definitions.ObjectPageHeaderSectionChart,delete t.definitions.ObjectPageHeaderSectionDataPoint,delete t.definitions.ObjectPageHeaderSectionContact,delete t.definitions.ObjectPageHeaderSectionAddress)}(e,t,n,a.name,s)}t.generateObjectPageSchemaV4=function(e,t,n){var a,s;const u=JSON.parse(JSON.stringify(t));u.properties.sections={$ref:o.DEFINITION_LINK_PREFIX+"Sections"};const d=null===(s=null===(a=null==e?void 0:e.serviceAVT)||void 0===a?void 0:a.entitySets)||void 0===s?void 0:s.find((e=>e.entityType.name===n));d||l.log(e.logger,{severity:"error",message:c.default.t("NOENTITYSET4NAME",{entityType:n}),location:{path:o.METADATAPATH}});const h=null==d?void 0:d.entityType;if(e.manifest[r.ManifestSection.ui5].routing&&e.manifest[r.ManifestSection.ui5].routing.targets||l.log(e.logger,{severity:"error",message:c.default.t("NOROUTING"),location:{path:i.MANIFESTPATH}}),u.definitions.Sections={type:"object",properties:{},additionalProperties:!1,isViewNode:!0,description:"Sections"},d){const t=e.manifest[r.ManifestSection.ui5].routing.targets;if(!t)return l.log(e.logger,{severity:"error",message:c.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:i.MANIFESTPATH,range:[r.ManifestSection.generic]}}),u;f(e,u,h,d,t),u.definitions.Sections.annotationPath=`/${d.entityType.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Facets`,function(e,t,n,a,s){const c=o.getObjectPageFacets(n,null==e?void 0:e.serviceAVT,r.FioriElementsVersion.v4,e.logger);if(!c)return void delete t.definitions.ObjectPageSubSections;const l=t.definitions.Sections;Object.keys(s).forEach((n=>{var r,o;if((null===(o=null===(r=s[n].options)||void 0===r?void 0:r.settings)||void 0===o?void 0:o.entitySet)===a&&s[n].name===i.FE_TEMPLATE_V4_OBJECT_PAGE)for(const n in c)p(c,n,l,t,null==e?void 0:e.serviceAVT,i.SectionType.Section)})),t.definitions.CustomSections&&(l.properties=Object.assign(Object.assign({},l.properties),t.definitions.CustomSections.properties))}(e,u,h,d.name,t),function(e,t,n,a,r){Object.keys(r).forEach((s=>{if(r[s].options&&r[s].options.settings&&r[s].options.settings.entitySet===a&&r[s].name===i.FE_TEMPLATE_V4_OBJECT_PAGE){const a=o.getObjectPageFacetSection(n,null==e?void 0:e.serviceAVT,e.logger),i=r[s];i.options&&i.options.settings&&i.options.settings.content&&i.options.settings.content.body&&i.options.settings.content.body.sections&&Object.keys(i.options.settings.content.body.sections).forEach((function(e){a.find((t=>t.key===e))||a.push({key:e,custom:!0})})),o.addDefinitionForRelatedFacetKeys(t,["ObjectPageCustomSectionFragment"],a,["ID","label","key"])}}))}(e,u,h,d.name,t),o.addFooterActions(u,h,null==e?void 0:e.serviceAVT)}return delete u.definitions.GenericSections,delete u.definitions.ObjectPageSubSections,delete u.definitions.ObjectPageTable,delete u.definitions.GenericColumns,delete u.definitions.ObjectPageSectionTableV4,delete u.definitions.ObjectPageSectionForm,delete u.definitions.ObjectPageSectionDataPoint,delete u.definitions.ObjectPageSectionAddress,delete u.definitions.ObjectPageSectionContact,delete u.definitions.ObjectPageToolBar,delete u.definitions.ObjectPageToolBarActions,delete u.definitions.ObjectPageToolBarAction,delete u.definitions.QuickVariantSelectionV4OP,u}},8083:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4093),i=n(8992),o=n(5008),s=n(3381),c=n(8548),l=n(1168),u=n(5877),p=n(6971),f=n(1491),d=n(5008),h=n(3435),g=n(5921),m=a(n(9154));!function(e){e.OptionalQuery=":?query:",e.Component="sap/fe/AppComponent",e.Namespace="sap.fe.templates"}(t.Constants||(t.Constants={}));const y=[];let v={};function b(e,t){const n=e.target,a=t.target,r=Array.isArray(n),i=Array.isArray(a);return r&&i?n.length-a.length:r||i?r?1:-1:0}function P(e,t=[]){if(!Array.isArray(e))return e;let n=e;for(const e of t)n=n.filter((t=>!e.includes(t)));return n[0]}function S(e,t,n){let a;return e.name?a=e.name===u.FE_TEMPLATE_V4_CUSTOM_PAGE?p.PageTypeV4.CustomPage:e.name.endsWith(p.PageTypeV4.ListReport)?p.PageTypeV4.ListReport:e.name.endsWith(p.PageTypeV4.ObjectPage)?p.PageTypeV4.ObjectPage:e.name.endsWith(p.PageTypeV4.AnalyticalListPage)?p.PageTypeV4.AnalyticalListPage:void 0:"viewId"in e?a=p.PageTypeV4.CustomPage:(g.log(t,{severity:"error",message:m.default.t("INVALIDTARGETDEFINITION",{target:JSON.stringify(e)}),location:{path:o.MANIFESTPATH,range:[`${u.ManifestSection.ui5}/routing/targets/${n}`]}}),"XML"===e.viewType&&"viewName"in e&&(a=p.PageTypeV4.CustomPage)),a}function T(e,t,n,a,r,i,u){const f=o.generatePageId(i.pageType,i.entitySet,i.navigationProperty,e.viewId||t===p.PageTypeV4.CustomPage&&e.id);if(!f)return;const d=Object.keys(a).find((e=>e.includes(f)))||Object.keys(a).find((e=>e.includes(f.slice(0,-1))))||Object.keys(a).find((e=>e.includes(i.pageType)));if(d)if(t===p.PageTypeV4.ListReport){const e={manifest:n,jsonSchema:a[d],logger:r};i.config=s.createListReportConfig(e)}else if(i.pageType===p.PageTypeV4.AnalyticalListPage){const e={manifest:n,jsonSchema:a[d],logger:r};i.config=l.createAnalyticalListPageConfig(e)}else if(i.pageType===p.PageTypeV4.ObjectPage){const e={manifest:n,jsonSchema:a[d],routingId:u,logger:r};i.config=c.createObjectPageConfigV4(e)}}function O(e){if(e.options){if("viewName"in e.options.settings){const t=e.options.settings.viewName.split(".");y.push(t[t.length-1])}}else if("viewId"in e){const t=e.viewName.split(".");y.push(t[t.length-1])}}function E(e,t,n){var a,r;const i={},o=e[u.ManifestSection.ui5].routing;v=function(e){const t={};e=e.concat().sort(b);const n=[];for(const a of e){const e=a.pattern.split(":")[0].split("/");let r;Array.isArray(a.target)?(r=P(a.target,n),n.push(a.target)):r=a.target;for(const n of e){const e=n.split("(")[0];t[r]=t[r]?`${t[r]}.${e}`:e}}return t}(o.routes);for(const s in o.targets){const c=o.targets[s],l=S(c,n,s),u={pageType:l};if(c.options&&(u.entitySet=c.options.settings.entitySet),c.controlAggregation&&(u.controlAggregation=c.controlAggregation),v[s]&&-1!==v[s].indexOf(".")){const e=v[s].split(".");u.navigationProperty=e[e.length-1]}if("viewId"in c)u.view={id:c.viewId,name:c.viewName};else if(l===p.PageTypeV4.CustomPage){const e=(null===(r=null===(a=c.options)||void 0===a?void 0:a.settings)||void 0===r?void 0:r.viewName)||c.viewName;u.view=Object.assign(Object.assign({},c.id&&{id:c.id}),e&&{name:e})}if(c.options){c.options.settings.variantManagement&&(u.variantManagement=c.options.settings.variantManagement),u.navigation={};for(const e in c.options.settings.navigation){const t=c.options.settings.navigation[e];u.navigation[t.detail.route]=v[t.detail.route]}}O(c);const f=o.routes.find((e=>"BookingObjectPage"===e.name));f&&"layout"in f&&(u.defaultLayoutType=f.layout),i[s]=u,T(c,l,e,t,n,u,s)}return i}t.getPagesAndConfigs=E;class V4AppProvider extends r.AppProvider{constructor(e,t,n){const a=new i.AppSettings,r=t[d.getSchemaFilePath(h.SchemaType.Application).filename];var o;f.transferSettingsOfObject(a,e,r.definitions.AppSettings,"",[]),super(e,t,function(e){let t;for(const n of e.routes){if(n.pattern.startsWith(":?query:")){t=n;break}-1!==n.pattern.indexOf("/")||(t=n)}return P(t?t.target:e.routes[0].target)}(e[u.ManifestSection.ui5].routing),E(e,t,n),p.FioriElementsVersion.v4,Object.assign(Object.assign({},(o=e[u.ManifestSection.ui5].routing).config&&o.config.flexibleColumnLayout?{flexibleColumnLayout:o.config.flexibleColumnLayout}:void 0),a),n),this.unhandledControllers=y}}t.V4AppProvider=V4AppProvider,t.getPages=function(e,t){const n=e[u.ManifestSection.ui5].routing,a={};for(const e in n.targets){const r=n.targets[e];r.name===t&&(a[e]=r)}return a}},3517:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3381)),a(n(8548)),a(n(1168))},1168:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(5877),o=n(5008),s=n(3381),c=n(5921),l=a(n(9154)),u=n(2449),p=n(5709);t.createAnalyticalListPageConfig=function(e){if(u.initI18n(),!e.manifest[i.ManifestSection.ui5]||!e.manifest[i.ManifestSection.ui5].routing)return void c.log(e.logger,{severity:"error",message:l.default.t("NOROUTING"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5]}});const t=e.manifest[i.ManifestSection.ui5].routing.targets;if(!t)return void c.log(e.logger,{severity:"error",message:l.default.t("NOTARGETS"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5,"routing"]}});const n=new p.MetadataInstanceFactoryV4,a=n.createPageInstance(r.PageTypeV4.AnalyticalListPage);return Object.keys(t).forEach((i=>{const c=t[i];"name"in c&&o.getPageTypeV4(c.name)===r.PageTypeV4.AnalyticalListPage&&s.addSettings(e,a,n,c,r.PageTypeV4.AnalyticalListPage)})),a}},3381:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(5877),o=n(5008),s=n(1491),c=n(2449),l=a(n(9154)),u=n(5921),p=n(5709);function f(e,t,n,a,r){if(s.transferSettingsOfObject(t,e.manifest,e.jsonSchema,a.id,[]),t.table=n.createInstance(r,"Table"),s.transferSettingsOfObject(t.table,e.manifest,e.jsonSchema.definitions.Table,a.id,[]),t.table.toolBar=n.createInstance(r,"ToolBar",{actions:{}}),s.transferSettingsOfObject(t.table.toolBar,e.manifest,e.jsonSchema.definitions[o.TOOLBAR],a.id,[]),e.jsonSchema.definitions["Actions<LineItems>"])for(const i in e.jsonSchema.definitions["Actions<LineItems>"].properties){t.table.toolBar.actions[i]=n.createInstance(r,"ToolBarAction");const o=i.split("DataFieldForAction::")[1];s.transferSettingsOfObject(t.table.toolBar.actions[i],e.manifest,e.jsonSchema.definitions[`ToolBarAction<${o}>`],a.id,[i]),0===Object.keys(t.table.toolBar.actions[i]).length&&delete t.table.toolBar.actions[i]}if(t.filterBar=n.createInstance(r,"FilterBar"),s.transferSettingsOfObject(t.filterBar,e.manifest,e.jsonSchema.definitions.FilterBar,a.id,[]),t.table.columns={},e.jsonSchema.definitions.LineItems){for(const i in e.jsonSchema.definitions.LineItems.properties){e.jsonSchema.definitions.LineItems.properties[i].template||(t.table.columns[i]=n.createInstance(r,"TableColumn"),s.transferSettingsOfObject(t.table.columns[i],e.manifest,e.jsonSchema.definitions.TableColumn,a.id,[i]),0===Object.keys(t.table.columns[i]).length&&delete t.table.columns[i])}return t}u.log(e.logger,{severity:"error",message:l.default.t("NOLINEITEMS")})}t.addSettings=f,t.createListReportConfig=function(e){if(c.initI18n(),!e.manifest[i.ManifestSection.ui5]||!e.manifest[i.ManifestSection.ui5].routing)return void u.log(e.logger,{severity:"error",message:l.default.t("NOROUTING"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5]}});const t=e.manifest[i.ManifestSection.ui5].routing.targets;if(!t)return void u.log(e.logger,{severity:"error",message:l.default.t("NOTARGETS"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5]}});const n=new p.MetadataInstanceFactoryV4,a=n.createPageInstance(r.PageTypeV4.ListReport);return Object.keys(t).forEach((i=>{const s=t[i];"name"in s&&o.getPageTypeV4(s.name)===r.PageTypeV4.ListReport&&f(e,a,n,s,r.PageTypeV4.ListReport)})),a}},8548:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5877),i=n(6971),o=n(1491),s=n(5008),c=a(n(9154)),l=n(5921),u=n(2449),p=n(5709);function f(e,t,n,a,r,s){const c=a.replace(/::/g,"/"),l=t.controlConfiguration[c];if(l&&l.tableSettings){n[a]={},n[a].table=r.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageTable");const t="ObjectPageTable<"+a+">";o.transferSettingsOfObject(n[a].table,e.manifest,e.jsonSchema.definitions[t],s.id,[],c),n[a].table.toolBar=r.createInstance(i.PageTypeV4.ObjectPage,"ToolBar",{actions:{}}),function(e,t,n,a,r){if(e.jsonSchema.definitions[`Actions<${t}>`]){const s=t.replace(/::/g,"/");for(const c in e.jsonSchema.definitions[`Actions<${t}>`].properties){n[t].table.toolBar.actions[c]=a.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageToolBarAction");const l=c.split("DataFieldForAction::")[1];o.transferSettingsOfObject(n[t].table.toolBar.actions[c],e.manifest,e.jsonSchema.definitions[`ObjectPageToolBarAction<${l}>`],r.id,[c],s),0===Object.keys(n[t].table.toolBar.actions[c]).length&&delete n[t].table.toolBar.actions[c]}}}(e,a,n,r,s),function(e,t,n,a,r,s){if(t.columns){n[a].table.columns={};const c=a.replace(/::/g,"/");for(const l in t.columns)t.columns[l].template||(n[a].table.columns[l]=r.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageTableColumn"),o.transferSettingsOfObject(n[a].table.columns[l],e.manifest,e.jsonSchema.definitions.ObjectPageTableColumn,s.id,[l],c))}}(e,l,n,a,r,s)}}function d(e,t,n,a,r,i){for(const o in t){const c=t[o];c.$ref&&c.$ref.startsWith(s.DEFINITION_LINK_PREFIX+"ObjectPageSectionTableV4")?f(e,n,a,o,r,i):c.properties&&c.properties.subsections&&(a[o]={subsections:{}},d(e,c.properties.subsections.properties,n,a[o].subsections,r,i))}}function h(e,t,n){var a,r;const c=n.createPageInstance(i.PageTypeV4.ObjectPage),l=t.options&&t.options.settings;if(c.header=n.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageHeader"),o.transferSettingsOfObject(c.header,e.manifest,e.jsonSchema.definitions.ObjectPageHeader,t.id,[]),c.layout=n.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageLayout"),o.transferSettingsOfObject(c.layout,e.manifest,e.jsonSchema.definitions.ObjectPageLayout,t.id,[]),o.transferSettingsOfObject(c,e.manifest,e.jsonSchema,t.id,[]),c.sections||(c.sections={}),l){l.controlConfiguration&&e.jsonSchema.definitions.Sections&&(c.sections={},d(e,e.jsonSchema.definitions.Sections.properties,l,c.sections,n,t));const u=null===(r=null===(a=l.content)||void 0===a?void 0:a.body)||void 0===r?void 0:r.sections;if(u){c.sections.custom=[];for(const a in u){const r=n.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageCustomSectionFragment");o.transferSettingsOfObject(r,e.manifest,e.jsonSchema.definitions.ObjectPageCustomSectionFragment,t.id,[],a),c.sections.custom.push(r)}}!function(e,t,n,a,r){var c,l;const u=e.definitions.HeaderSections;if(u&&u.properties){t.header.sections={};for(const p in u.properties){const f=null===(c=u.properties[p].$ref)||void 0===c?void 0:c.split(s.DEFINITION_LINK_PREFIX)[1],d=f?e.definitions[f]:u.properties[p],h=f?f.split("<")[0]:void 0;t.header.sections[p]=h?n.createInstance(i.PageTypeV4.ObjectPage,h):{},o.transferSettingsOfObject(t.header.sections[p],a,d,r.id,[],null===(l=null==d?void 0:d.title)||void 0===l?void 0:l.split(s.FacetTitlePrefix)[1])}}}(e.jsonSchema,c,n,e.manifest,t)}return c}t.createObjectPageConfigV4=function(e){if(u.initI18n(),!e.manifest[r.ManifestSection.ui5]||!e.manifest[r.ManifestSection.ui5].routing)return void l.log(e.logger,{severity:"error",message:c.default.t("NOROUTING"),location:{path:s.MANIFESTPATH,range:[r.ManifestSection.ui5]}});const t=e.manifest[r.ManifestSection.ui5].routing.targets;if(!t)return void l.log(e.logger,{severity:"error",message:c.default.t("NOTARGETS"),location:{path:s.MANIFESTPATH,range:[r.ManifestSection.ui5,"routing"]}});const n=t[e.routingId];return n?h(e,n,new p.MetadataInstanceFactoryV4):void l.log(e.logger,{severity:"error",message:c.default.t("NOROUTINGID",{routingId:e.routingId}),location:{path:s.MANIFESTPATH,range:[r.ManifestSection.ui5,"routing"]}})}},1491:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(2762),i=n(5008);t.transferSettingsOfObject=function(e,t,n,o,s,c,l){if(!n)return;let u={};const p=e.getDeprecated?e.getDeprecated():[],f=c&&c.replace("/","::");for(const d in n.properties){const n=r.getReflectMetadata(e,d);if(null==n?void 0:n.manifest){const r=n.manifest.path([o],t,f,s[0]);u=i.getManifestSectionByPathV4(t,r,c,f),a.importProperty(n,u,d,e,c),i.checkDeprecatedProperties(p,u,r,l)}}}},1162:(e,t)=>{"use strict";function n(e){if("string"==typeof e){if(e.indexOf(" ")>=0)throw e+" - Spaces are not allowed in ID parts.";for(e=e.replace(/^\/|^@|^#|^\*/,"").replace(/\/$|@$|#$|\*$/,"").replace(/\/|@|\(|\)|#|\*/g,"::");e.indexOf("::::")>-1;)e=e.replace("::::","::");return"::"===e.slice(-2)&&(e=e.slice(0,-2)),e}}function a(e){var t,a;if((null==e?void 0:e.$Path)||(null==e?void 0:e.path))return e.$Path||e.path;if((null==e?void 0:e.$Apply)&&"odata.concat"===e.$Function){let t="";for(let n=0;n<e.$Apply.length;n++)e.$Apply[n].$Path&&(t&&(t+="::"),t+=e.$Apply[n].$Path);return t}return e?n("string"==typeof e?e.replace(/ /g,"_"):null===(a=null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.String)||void 0===a?void 0:a.replace(/ /g,"_")):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.replaceSpecialChars=n,t.prepareId=function(e){if(e=n(function(e){return(e=e.replace("com.sap.vocabularies.UI.v1.","")).replace("com.sap.vocabularies.Communication.v1.","")}(e)),/^([A-Za-z_][-A-Za-z0-9_.:]*)$/.test(e))return e;throw e+" - Stable Id could not be generated due to insufficient information."},t.getStableIdPartFromSemanticObjectAndAction=function(e){let t="";return"string"==typeof e.SemanticObject?t+=e.SemanticObject:e.SemanticObject.$Path&&(t+=e.SemanticObject.$Path),"string"==typeof e.Action?t+="::"+e.Action:e.Action&&e.Action.$Path&&(t+="::"+e.Action.$Path),e.RequiresContext&&1==e.RequiresContext&&(t+="::RequiresContext"),t},t.getStableIdPartFromDataField=function(e){let n="";return e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===e.$Type?(n="DataFieldForAction::",n+=e.Action,t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===e.$Type?(n="DataFieldForIntentBasedNavigation::",n+=t.getStableIdPartFromSemanticObjectAndAction(e),n):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldForAnnotation"===e.$Type?(n="DataFieldForAnnotation::",n+=t.prepareId(e.Target.$AnnotationPath||e.Target.value),n):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithAction"===e.$Type?(n="DataFieldWithAction::",e.Value&&(n+=a(e.Value)+"::"),n+=e.Action,t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataField"===e.$Type?(n="DataField::",n+=a(e.Value),t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation"===e.$Type?(n="DataFieldWithIntentBasedNavigation::",n+=a(e.Value)+"::",n+=t.getStableIdPartFromSemanticObjectAndAction(e),t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath"===e.$Type?(n="DataFieldWithNavigationPath::",n+=a(e.Value),e.Target&&e.Target.$NavigationPropertyPath&&(n+="::"+e.Target.$NavigationPropertyPath),t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithUrl"===e.$Type?(n="DataFieldWithUrl::",n+=a(e.Value),t.prepareId(n)):void 0}},9190:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9081),r=n(1162),i=n(5008);function o(e,t,n,r,o,s,c){if(!0!==o.Determining){const l="LineItems"===s?"ToolBarAction":"ObjectPageToolBarAction",u=i.prepareRef(`${l}<${o.Action}>`),p=a.getDatafieldDescription(o,t);n.properties[`DataFieldForAction::${o.Action}`]={$ref:a.DEFINITION_LINK_PREFIX+u,description:p,propertyIndex:c,annotationType:o.$Type};const f="LineItems"===s?"ToolBarAction":"ObjectPageToolBarAction";e.definitions[u]=JSON.parse(JSON.stringify(e.definitions[f])),e.definitions[u].annotationPath=r+"/"+c}}t.handleActionRecord=o,t.addLineItemsType=function(e,t,n,s,c,l){e.definitions[c]=JSON.parse(JSON.stringify(e.definitions.GenericColumns.additionalProperties.anyOf[0])),l=l||"LineItems";const{actions:u,lineItemPath:p}=i.addCommonLineItemDefinitions(e,t,n,l);if(t){let f=0;t.forEach((t=>{if("com.sap.vocabularies.UI.v1.DataFieldForAction"!==t.$Type||!0===t.Inline&&!0!==t.Determining){!function(e,t,n,o,s,c){var l,u;const p=e.lineItemId,f=e.lineItemRecord,d=e.lineItemPath;if(f.Target&&f.Target.value){const e=`@${a.findAlias(i.UIVOCABULARY,c)}.`;f.Target.value=f.Target.value.replace(e,"@")}const h=r.getStableIdPartFromDataField(f);h&&(t.definitions[p].properties[h]={$ref:a.DEFINITION_LINK_PREFIX+n,description:a.getDatafieldDescription(f,o),propertyIndex:s,annotationPath:`${d}/${s}`,annotationType:null==f?void 0:f.$Type},"com.sap.vocabularies.UI.v1.DataField"===f.$Type&&(t.definitions[p].properties[h].dataType=null===(u=null===(l=f.Value)||void 0===l?void 0:l.$target)||void 0===u?void 0:u.type.replace("Edm.","")))}({lineItemRecord:t,lineItemId:l,lineItemPath:p},e,c,n,f,s)}else o(e,n,u,p,t,l,f);f++}))}}},3374:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4027)),a(n(390))},6739:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4027)),a(n(5877))},2892:e=>{"use strict";e.exports={}},6354:e=>{"use strict";e.exports=JSON.parse('{"NOPAGES":"No pages found in manifest for app with id \'{{- appId}}\'","NOFE":"The manifest passed is not correct for Fiori Elements V2: section sap.ui.generic.app is missing","NOENTITYSET":"No page found in manifest for entitySet \'{{- entitySet}}\'","NOENTITYSET4NAME":"No entitySet could be found for the given entity type \'{{- entityType}}\'","ENTITYSETNOTFOUND":"Entity set \'{{- entitySetName}}\' was specified in manifest, but this entity set could not be found in metadata","NOLR":"No page found in manifest for list report","NOALP":"No page found in manifest for analytical list page","NOTEMPLATE":"No Fiori Elements template could be determined, as section \'{{- section}}\' is not defined in manifest","ANNOERR":"Error while parsing annotation files","NOROUTING":"Incomplete manifest definition: no routing defined","NOLINEITEMS":"UI.LineItem annotation has not been defined","NOTARGETS":"Incomplete manifest definition: no targets defined","NOTARGET":"Invalid reference: annotation target \'{{- target}}\' not found","NOROUTINGID":"No page found in manifest for routingId \'{{- routingId}}\'","FLEXERROR":"Error while parsing flex change","NOFRAGMENT":"fragmentName is undefined for columnKey \'{{- columnKey}}\'","NOENTITYTYPE":"Entity type \'{{- entityType}}\' is specified in manifest, but not present in metadata","INVALIDTARGETDEFINITION":"Invalid routing target definition in manifest: \'{{- target}}\'","NOID4SECTION":"No ID has been defined for a facet or header facet. As a consequence, manifest settings cannot be written correctly for this element in an OData V4 scenario: \'{{- facet}}\'"}')},2357:e=>{"use strict";e.exports=require("assert")},4293:e=>{"use strict";e.exports=require("buffer")},7619:e=>{"use strict";e.exports=require("constants")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2413:e=>{"use strict";e.exports=require("stream")},4304:e=>{"use strict";e.exports=require("string_decoder")},1669:e=>{"use strict";e.exports=require("util")}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a=n(4027);module.exports=a})();
2
+ (()=>{var e={601:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},8938:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},7740:e=>{"use strict";e.exports={i8:"3.1.6"}},921:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const a=n(5747);t.FILE_SYSTEM_ADAPTER={lstat:a.lstat,stat:a.stat,lstatSync:a.lstatSync,statSync:a.statSync,readdir:a.readdir,readdirSync:a.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},5354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const n=process.versions.node.split("."),a=parseInt(n[0],10),r=parseInt(n[1],10),i=a>10,o=10===a&&r>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=i||o},3453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const a=n(7346),r=n(938),i=n(4643);function o(e={}){return e instanceof i.default?e:new i.default(e)}t.Settings=i.default,t.scandir=function(e,t,n){if("function"==typeof t)return a.read(e,o(),t);a.read(e,o(t),n)},t.scandirSync=function(e,t){const n=o(t);return r.read(e,n)}},7346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const a=n(1992),r=n(1670),i=n(5354),o=n(869),s=n(4514);function c(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((a,i)=>{if(null!==a)return u(n,a);const c=i.map((n=>({dirent:n,name:n.name,path:s.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return p(n,c);const l=c.map((e=>function(e,t){return n=>{if(!e.dirent.isSymbolicLink())return n(null,e);t.fs.stat(e.path,((a,r)=>null!==a?t.throwErrorOnBrokenSymbolicLink?n(a):n(null,e):(e.dirent=o.fs.createDirentFromStats(e.name,r),n(null,e))))}}(e,t)));r(l,((e,t)=>{if(null!==e)return u(n,e);p(n,t)}))}))}function l(e,t,n){t.fs.readdir(e,((i,c)=>{if(null!==i)return u(n,i);const l=c.map((n=>s.joinPathSegments(e,n,t.pathSegmentSeparator))),f=l.map((e=>n=>a.stat(e,t.fsStatSettings,n)));r(f,((e,a)=>{if(null!==e)return u(n,e);const r=[];c.forEach(((e,n)=>{const i=a[n],s={name:e,path:l[n],dirent:o.fs.createDirentFromStats(e,i)};t.stats&&(s.stats=i),r.push(s)})),p(n,r)}))}))}function u(e,t){e(t)}function p(e,t){e(null,t)}t.read=function(e,t,n){return!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?c(e,t,n):l(e,t,n)},t.readdirWithFileTypes=c,t.readdir=l},4514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t}},938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const a=n(1992),r=n(5354),i=n(869),o=n(4514);function s(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const a={dirent:n,name:n.name,path:o.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(a.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(a.path);a.dirent=i.fs.createDirentFromStats(a.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return a}))}function c(e,t){return t.fs.readdirSync(e).map((n=>{const r=o.joinPathSegments(e,n,t.pathSegmentSeparator),s=a.statSync(r,t.fsStatSettings),c={name:n,path:r,dirent:i.fs.createDirentFromStats(n,s)};return t.stats&&(c.stats=s),c}))}t.read=function(e,t){return!t.stats&&r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?s(e,t):c(e,t)},t.readdirWithFileTypes=s,t.readdir=c},4643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(1992),i=n(921);t.default=class Settings{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=i.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,a.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},2526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new DirentFromStats(e,t)}},869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const a=n(2526);t.fs=a},6963:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const a=n(5747);t.FILE_SYSTEM_ADAPTER={lstat:a.lstat,stat:a.stat,lstatSync:a.lstatSync,statSync:a.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},1992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const a=n(4820),r=n(6728),i=n(3326);function o(e={}){return e instanceof i.default?e:new i.default(e)}t.Settings=i.default,t.stat=function(e,t,n){if("function"==typeof t)return a.read(e,o(),t);a.read(e,o(t),n)},t.statSync=function(e,t){const n=o(t);return r.read(e,n)}},4820:(e,t)=>{"use strict";function n(e,t){e(t)}function a(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,r){t.fs.lstat(e,((i,o)=>null!==i?n(r,i):o.isSymbolicLink()&&t.followSymbolicLink?void t.fs.stat(e,((e,i)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?n(r,e):a(r,o);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),a(r,i)})):a(r,o)))}},6728:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}},3326:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6963);t.default=class Settings{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=a.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},4833:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const a=n(9428),r=n(927),i=n(4440),o=n(2134);function s(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.walk=function(e,t,n){if("function"==typeof t)return new a.default(e,s()).read(t);new a.default(e,s(t)).read(n)},t.walkSync=function(e,t){const n=s(t);return new i.default(e,n).read()},t.walkStream=function(e,t){const n=s(t);return new r.default(e,n).read()}},9428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5749);t.default=class AsyncProvider{constructor(e,t){this._root=e,this._settings=t,this._reader=new a.default(this._root,this._settings),this._storage=new Set}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.add(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,[...this._storage])})),this._reader.read()}}},927:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2413),r=n(5749);t.default=class StreamProvider{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._stream=new a.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}}},4440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9359);t.default=class SyncProvider{constructor(e,t){this._root=e,this._settings=t,this._reader=new a.default(this._root,this._settings)}read(){return this._reader.read()}}},5749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8614),r=n(3453),i=n(1582),o=n(8488),s=n(7236);class AsyncReader extends s.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=r.scandir,this._emitter=new a.EventEmitter,this._queue=i(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,a)=>{if(null!==n)return t(n,void 0);for(const t of a)this._handleEntry(t,e.base);t(null,void 0)}))}_handleError(e){!this._isDestroyed&&o.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=o.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),o.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&o.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=AsyncReader},8488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t}},7236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8488);t.default=class Reader{constructor(e,t){this._root=e,this._settings=t,this._root=a.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},9359:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3453),r=n(8488),i=n(7236);class SyncReader extends i.default{constructor(){super(...arguments),this._scandir=a.scandirSync,this._storage=new Set,this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),[...this._storage]}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(r.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=r.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),r.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&r.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,e.path)}_pushToStorage(e){this._storage.add(e)}}t.default=SyncReader},2134:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(3453);t.default=class Settings{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,1/0),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,a.sep),this.fsScandirSettings=new r.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},4350:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(9335),t)},9335:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.revertTermToGenericType=t.convertTypes=t.defaultReferences=void 0;var a,r=function(e,t,n,a,r){this.path=e.Path,this.type="Path",this.$target=t,this.term=r,this.annotationType=a,this.annotationsTerm=n};function i(e,t){if(e.reverseReferenceMap||(e.reverseReferenceMap=e.reduce((function(e,t){return e[t.namespace]=t,e}),{})),!t)return t;var n=t.lastIndexOf("."),a=t.substr(0,n),r=t.substr(n+1),o=e.reverseReferenceMap[a];if(o)return o.alias+"."+r;if(-1!==t.indexOf("@")){var s=t.split("@");return s[0]+"@"+i(e,s.slice(1).join("@"))}return t}function o(e,t){if(e.referenceMap||(e.referenceMap=e.reduce((function(e,t){return e[t.alias]=t,e}),{})),!t)return t;var n=t.split("."),a=n[0],r=n.slice(1),i=e.referenceMap[a];if(i)return i.namespace+"."+r.join(".");if(-1!==t.indexOf("@")){var s=t.split("@");return s[0]+"@"+o(e,s.slice(1).join("@"))}return t}function s(e,n){return n.startsWith("@")?e+o(t.defaultReferences,n):e+"/"+n}function c(e,t){b[e]?b[e].push(t):b[e]=[t]}function l(e,t,n,a,r,i,o){if(void 0===a&&(a=!1),void 0===r&&(r=!1),n){var u=[];t&&"Property"===t._type&&(t=e[t.fullyQualifiedName.split("/")[0]]);var p=(n=s(t.fullyQualifiedName,n)).split("/"),f=[];p.forEach((function(e){if(-1!==e.indexOf("@")){var t=e.split("@"),n=t[0],a=t[1];f.push(n),f.push("@"+a)}else f.push(e)}));var d=n,h=t,g=f.reduce((function(n,a){if("$Type"===a&&"EntityType"===n._type)return n;if(0===a.length)return n&&"EntitySet"===n._type&&n.entityType&&(r&&u.push(n),n=n.entityType),n&&"NavigationProperty"===n._type&&n.targetType&&(r&&u.push(n),n=n.targetType),n;if(r&&null!=n&&u.push(n),n){if("EntitySet"===n._type&&"$Type"===a)return n=n.targetType;if("EntitySet"===n._type&&n.entityType)d=s(n.entityTypeName,a);else if("NavigationProperty"===n._type&&n.targetTypeName)d=s(n.targetTypeName,a);else if("NavigationProperty"===n._type&&n.targetType)d=s(n.targetType.fullyQualifiedName,a);else if("Property"===n._type)d=n.targetType?s(n.targetType.fullyQualifiedName,a):s(n.fullyQualifiedName,a);else if("Action"===n._type&&n.isBound)d=s(n.fullyQualifiedName,a),e[d]||(d=s(n.sourceType,a));else if("ActionParameter"===n._type&&n.isEntitySet)d=s(n.type,a);else if("ActionParameter"!==n._type||n.isEntitySet){if(d=s(n.fullyQualifiedName,a),"name"!==a&&void 0!==n[a])return n[a];if("$AnnotationPath"===a&&n.$target){var i=e[n.fullyQualifiedName.split("@")[0]];return(o=l(e,i,n.value,!1,!0)).visitedObjects.forEach((function(e){-1===u.indexOf(e)&&u.push(e)})),o.target}var o;if("$Path"===a&&n.$target)return(h=u.concat().reverse().find((function(e){return"EntityType"===e._type||"EntitySet"===e._type||"NavigationProperty"===e._type})))?((o=l(e,h,n.path,!1,!0)).visitedObjects.forEach((function(e){-1===u.indexOf(e)&&u.push(e)})),o.target):n.$target;if(a.startsWith("$Path")&&n.$target){var c=n.$target;d=s(c.fullyQualifiedName,a.substr(5))}else if(n.hasOwnProperty("$Type")&&!e[d]){var p=e[n.fullyQualifiedName.split("@")[0]];p&&(d=s(p.fullyQualifiedName,a))}}else if(d=s(t.fullyQualifiedName.substr(0,t.fullyQualifiedName.lastIndexOf("/")),a),!e[d]){var f=t.fullyQualifiedName.lastIndexOf("/");-1===f&&(f=t.fullyQualifiedName.length),d=s(e[t.fullyQualifiedName.substr(0,f)].sourceType,a)}}else d=a;return e[d]}),null);if(!g)if(o&&i)c(n,{message:"Unable to resolve the path expression: \n"+n+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+o+">\n<Record Type = "+i+">\n<AnnotationPath = "+n+">"});else c(n,{message:"Unable to resolve the path expression: "+n+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+p[0]+">\n<PropertyValue Path= "+p[1]+">"});return a?d:r?{visitedObjects:u,target:g}:g}}function u(e){return-1!==e.indexOf("@")}function p(e,t,n,a,s,c,p,f,g,m){if(void 0!==e)switch(e.type){case"String":return e.String;case"Int":return e.Int;case"Bool":return e.Bool;case"Decimal":return e.Decimal;case"Date":return e.Date;case"EnumMember":return i(n.references,e.EnumMember);case"PropertyPath":return{type:"PropertyPath",value:e.PropertyPath,fullyQualifiedName:t,$target:l(s,a,e.PropertyPath,!1,!1,g,m)};case"NavigationPropertyPath":return{type:"NavigationPropertyPath",value:e.NavigationPropertyPath,fullyQualifiedName:t,$target:l(s,a,e.NavigationPropertyPath,!1,!1,g,m)};case"AnnotationPath":var y=l(s,a,o(n.references,e.AnnotationPath),!0,!1,g,m),v={type:"AnnotationPath",value:e.AnnotationPath,fullyQualifiedName:t,$target:y,annotationType:g,annotationsTerm:m,term:"",path:""};return c.push({inline:!1,toResolve:v}),v;case"Path":var b=l(s,a,e.Path,!0,!1,g,m),P=new r(e,b,m,g,"");return c.push({inline:u(e.Path),toResolve:P}),P;case"Record":return d(e.Record,t,n,a,s,c,p,f,g,m);case"Collection":return h(e.Collection,t,n,a,s,c,p,f,g,m);case"Apply":case"Null":case"Not":case"Eq":case"Ne":case"Gt":case"Ge":case"Lt":case"Le":case"If":case"And":case"Or":return e}}function f(e,t,n){var r=a[e];return c(n+"/"+e,{isError:!1,message:"The type of the record used within the term "+e+" was not defined and was inferred as "+r+'.\nHint: If possible, try to maintain the Type property for each Record.\n<Annotations Target="'+n+'">\n\t<Annotation Term="'+e+'">\n\t\t<Record>...</Record>\n\t</Annotation>\n</Annotations>'}),r}function d(e,t,n,a,r,i,s,c,l,u){var d={$Type:!e.type&&u?f(u,0,a.fullyQualifiedName):o(n.references,e.type),fullyQualifiedName:t},h={};if(e.annotations&&Array.isArray(e.annotations)){var g={target:t,annotations:e.annotations,__source:s};c.push(g)}return e.propertyValues&&e.propertyValues.forEach((function(e){if(h[e.name]=p(e.value,t+"/"+e.name,n,a,r,i,s,c,l,u),e.annotations&&Array.isArray(e.annotations)){var o={target:t+"/"+e.name,annotations:e.annotations,__source:s};c.push(o)}!h.hasOwnProperty("Action")||"com.sap.vocabularies.UI.v1.DataFieldForAction"!==d.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithAction"!==d.$Type||(h.ActionTarget=a.actions&&a.actions[h.Action]||r[h.Action],h.ActionTarget||v.push({message:"Unable to resolve the action "+h.Action+" defined for "+d.fullyQualifiedName}))})),Object.assign(d,h)}function h(e,t,n,a,i,o,s,c,p,f){switch(function(e){var t=e.type;if(void 0===t&&e.length>0){var n=e[0];n.hasOwnProperty("PropertyPath")?t="PropertyPath":n.hasOwnProperty("Path")?t="Path":n.hasOwnProperty("AnnotationPath")?t="AnnotationPath":n.hasOwnProperty("NavigationPropertyPath")?t="NavigationPropertyPath":"object"==typeof n&&(n.hasOwnProperty("type")||n.hasOwnProperty("propertyValues"))?t="Record":"string"==typeof n&&(t="String")}else void 0===t&&(t="EmptyCollection");return t}(e)){case"PropertyPath":return e.map((function(e,n){return{type:"PropertyPath",value:e.PropertyPath,fullyQualifiedName:t+"/"+n,$target:l(i,a,e.PropertyPath,!1,!1,p,f)}}));case"Path":return e.map((function(e){var t=l(i,a,e.Path,!0,!1,p,f),n=new r(e,t,f,p,"");return o.push({inline:u(e.Path),toResolve:n}),n}));case"AnnotationPath":return e.map((function(e,n){var r=l(i,a,e.AnnotationPath,!0,!1,p,f),s={type:"AnnotationPath",value:e.AnnotationPath,fullyQualifiedName:t+"/"+n,$target:r,annotationType:p,annotationsTerm:f,term:"",path:""};return o.push({inline:!1,toResolve:s}),s}));case"NavigationPropertyPath":return e.map((function(e,n){return{type:"NavigationPropertyPath",value:e.NavigationPropertyPath,fullyQualifiedName:t+"/"+n,$target:l(i,a,e.NavigationPropertyPath,!1,!1,p,f)}}));case"Record":return e.map((function(e,r){return d(e,t+"/"+r,n,a,i,o,s,c,p,f)}));case"Apply":case"Null":case"If":case"Eq":case"Ne":case"Lt":case"Gt":case"Le":case"Ge":case"Not":case"And":case"Or":return e.map((function(e){return e}));case"String":return e.map((function(e){return"string"==typeof e||void 0===e?e:e.String}));default:if(0===e.length)return[];throw new Error("Unsupported case")}}function g(e,t,n,a,r,i,s){if(e.record){var c=e.record.type?o(t.references,e.record.type):f(e.term,0,n.fullyQualifiedName),l={$Type:c,fullyQualifiedName:e.fullyQualifiedName,qualifier:e.qualifier},u={};return e.record.propertyValues.forEach((function(o){u[o.name]=p(o.value,e.fullyQualifiedName+"/"+o.name,t,n,a,r,i,s,c,e.term),!u.hasOwnProperty("Action")||e.record&&"com.sap.vocabularies.UI.v1.DataFieldForAction"!==l.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithAction"!==l.$Type||(u.ActionTarget=n.actions&&n.actions[u.Action]||a[u.Action],u.ActionTarget||v.push({message:"Unable to resolve the action "+u.Action+" defined for "+e.fullyQualifiedName}))})),Object.assign(l,u)}if(void 0===e.collection)return!e.value||p(e.value,e.fullyQualifiedName,t,n,a,r,i,s,"",e.term);if(e.collection){var d=h(e.collection,e.fullyQualifiedName,t,n,a,r,i,s,"",e.term);return d.fullyQualifiedName=e.fullyQualifiedName,d}throw new Error("Unsupported case")}function m(e,t,n){e.forEach((function(e){e.navigationProperties=e.navigationProperties.map((function(e){var a={_type:"NavigationProperty",name:e.name,fullyQualifiedName:e.fullyQualifiedName,partner:e.hasOwnProperty("partner")?e.partner:void 0,isCollection:!!e.hasOwnProperty("isCollection")&&e.isCollection,containsTarget:!!e.hasOwnProperty("containsTarget")&&e.containsTarget,referentialConstraint:e.referentialConstraint?e.referentialConstraint:[],annotations:{}};if(e.targetTypeName)a.targetType=n[e.targetTypeName];else if(e.relationship){var r=t.find((function(t){return t.fullyQualifiedName===e.relationship}));if(r){var i=r.associationEnd.find((function(t){return t.role===e.toRole}));i&&(a.targetType=n[i.type],a.isCollection="*"===i.multiplicity)}}a.targetType&&(a.targetTypeName=a.targetType.fullyQualifiedName);var o=a;return n[o.fullyQualifiedName]=o,o})),e.resolvePath=function(e,t){return function(n,a){return l(t,e,n,!1,a,"","")}}(e,n)}))}function y(e,t){var n=i(e,t),a=n.lastIndexOf(".");return[n.substr(0,a),n.substr(a+1)]}!function(e){e["Org.OData.Authorization.V1.SecuritySchemes"]="Org.OData.Authorization.V1.SecurityScheme",e["Org.OData.Authorization.V1.Authorizations"]="Org.OData.Authorization.V1.Authorization",e["Org.OData.Core.V1.Revisions"]="Org.OData.Core.V1.RevisionType",e["Org.OData.Core.V1.Links"]="Org.OData.Core.V1.Link",e["Org.OData.Core.V1.Example"]="Org.OData.Core.V1.ExampleValue",e["Org.OData.Core.V1.Messages"]="Org.OData.Core.V1.MessageType",e["Org.OData.Core.V1.ValueException"]="Org.OData.Core.V1.ValueExceptionType",e["Org.OData.Core.V1.ResourceException"]="Org.OData.Core.V1.ResourceExceptionType",e["Org.OData.Core.V1.DataModificationException"]="Org.OData.Core.V1.DataModificationExceptionType",e["Org.OData.Core.V1.IsLanguageDependent"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.DereferenceableIDs"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.ConventionalIDs"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.Permissions"]="Org.OData.Core.V1.Permission",e["Org.OData.Core.V1.DefaultNamespace"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.Immutable"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.Computed"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.ComputedDefaultValue"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.IsURL"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.IsMediaType"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.ContentDisposition"]="Org.OData.Core.V1.ContentDispositionType",e["Org.OData.Core.V1.OptimisticConcurrency"]="Edm.PropertyPath",e["Org.OData.Core.V1.AdditionalProperties"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.AutoExpand"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.AutoExpandReferences"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.MayImplement"]="Org.OData.Core.V1.QualifiedTypeName",e["Org.OData.Core.V1.Ordered"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.PositionalInsert"]="Org.OData.Core.V1.Tag",e["Org.OData.Core.V1.AlternateKeys"]="Org.OData.Core.V1.AlternateKey",e["Org.OData.Core.V1.OptionalParameter"]="Org.OData.Core.V1.OptionalParameterType",e["Org.OData.Core.V1.OperationAvailable"]="Edm.Boolean",e["Org.OData.Core.V1.SymbolicName"]="Org.OData.Core.V1.SimpleIdentifier",e["Org.OData.Capabilities.V1.ConformanceLevel"]="Org.OData.Capabilities.V1.ConformanceLevelType",e["Org.OData.Capabilities.V1.AsynchronousRequestsSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.BatchContinueOnErrorSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.IsolationSupported"]="Org.OData.Capabilities.V1.IsolationLevel",e["Org.OData.Capabilities.V1.CrossJoinSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.CallbackSupported"]="Org.OData.Capabilities.V1.CallbackType",e["Org.OData.Capabilities.V1.ChangeTracking"]="Org.OData.Capabilities.V1.ChangeTrackingType",e["Org.OData.Capabilities.V1.CountRestrictions"]="Org.OData.Capabilities.V1.CountRestrictionsType",e["Org.OData.Capabilities.V1.NavigationRestrictions"]="Org.OData.Capabilities.V1.NavigationRestrictionsType",e["Org.OData.Capabilities.V1.IndexableByKey"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.TopSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.SkipSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.ComputeSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.SelectSupport"]="Org.OData.Capabilities.V1.SelectSupportType",e["Org.OData.Capabilities.V1.BatchSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.BatchSupport"]="Org.OData.Capabilities.V1.BatchSupportType",e["Org.OData.Capabilities.V1.FilterRestrictions"]="Org.OData.Capabilities.V1.FilterRestrictionsType",e["Org.OData.Capabilities.V1.SortRestrictions"]="Org.OData.Capabilities.V1.SortRestrictionsType",e["Org.OData.Capabilities.V1.ExpandRestrictions"]="Org.OData.Capabilities.V1.ExpandRestrictionsType",e["Org.OData.Capabilities.V1.SearchRestrictions"]="Org.OData.Capabilities.V1.SearchRestrictionsType",e["Org.OData.Capabilities.V1.KeyAsSegmentSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.QuerySegmentSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.InsertRestrictions"]="Org.OData.Capabilities.V1.InsertRestrictionsType",e["Org.OData.Capabilities.V1.DeepInsertSupport"]="Org.OData.Capabilities.V1.DeepInsertSupportType",e["Org.OData.Capabilities.V1.UpdateRestrictions"]="Org.OData.Capabilities.V1.UpdateRestrictionsType",e["Org.OData.Capabilities.V1.DeepUpdateSupport"]="Org.OData.Capabilities.V1.DeepUpdateSupportType",e["Org.OData.Capabilities.V1.DeleteRestrictions"]="Org.OData.Capabilities.V1.DeleteRestrictionsType",e["Org.OData.Capabilities.V1.CollectionPropertyRestrictions"]="Org.OData.Capabilities.V1.CollectionPropertyRestrictionsType",e["Org.OData.Capabilities.V1.OperationRestrictions"]="Org.OData.Capabilities.V1.OperationRestrictionsType",e["Org.OData.Capabilities.V1.AnnotationValuesInQuerySupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Capabilities.V1.ModificationQueryOptions"]="Org.OData.Capabilities.V1.ModificationQueryOptionsType",e["Org.OData.Capabilities.V1.ReadRestrictions"]="Org.OData.Capabilities.V1.ReadRestrictionsType",e["Org.OData.Capabilities.V1.CustomHeaders"]="Org.OData.Capabilities.V1.CustomParameter",e["Org.OData.Capabilities.V1.CustomQueryOptions"]="Org.OData.Capabilities.V1.CustomParameter",e["Org.OData.Capabilities.V1.MediaLocationUpdateSupported"]="Org.OData.Core.V1.Tag",e["Org.OData.Aggregation.V1.ApplySupported"]="Org.OData.Aggregation.V1.ApplySupportedType",e["Org.OData.Aggregation.V1.Groupable"]="Org.OData.Core.V1.Tag",e["Org.OData.Aggregation.V1.Aggregatable"]="Org.OData.Core.V1.Tag",e["Org.OData.Aggregation.V1.ContextDefiningProperties"]="Edm.PropertyPath",e["Org.OData.Aggregation.V1.LeveledHierarchy"]="Edm.PropertyPath",e["Org.OData.Aggregation.V1.RecursiveHierarchy"]="Org.OData.Aggregation.V1.RecursiveHierarchyType",e["Org.OData.Aggregation.V1.AvailableOnAggregates"]="Org.OData.Aggregation.V1.AvailableOnAggregatesType",e["Org.OData.Validation.V1.Minimum"]="Edm.PrimitiveType",e["Org.OData.Validation.V1.Maximum"]="Edm.PrimitiveType",e["Org.OData.Validation.V1.Exclusive"]="Org.OData.Core.V1.Tag",e["Org.OData.Validation.V1.AllowedValues"]="Org.OData.Validation.V1.AllowedValue",e["Org.OData.Validation.V1.MultipleOf"]="Edm.Decimal",e["Org.OData.Validation.V1.Constraint"]="Org.OData.Validation.V1.ConstraintType",e["Org.OData.Validation.V1.ItemsOf"]="Org.OData.Validation.V1.ItemsOfType",e["Org.OData.Validation.V1.OpenPropertyTypeConstraint"]="Org.OData.Core.V1.QualifiedTypeName",e["Org.OData.Validation.V1.DerivedTypeConstraint"]="Org.OData.Core.V1.QualifiedTypeName",e["Org.OData.Validation.V1.AllowedTerms"]="Org.OData.Core.V1.QualifiedTermName",e["Org.OData.Validation.V1.ApplicableTerms"]="Org.OData.Core.V1.QualifiedTermName",e["Org.OData.Validation.V1.MaxItems"]="Edm.Int64",e["Org.OData.Validation.V1.MinItems"]="Edm.Int64",e["Org.OData.Measures.V1.Scale"]="Edm.Byte",e["Org.OData.Measures.V1.DurationGranularity"]="Org.OData.Measures.V1.DurationGranularityType",e["com.sap.vocabularies.Analytics.v1.Dimension"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.Measure"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.AccumulativeMeasure"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.RolledUpPropertyCount"]="Edm.Int16",e["com.sap.vocabularies.Analytics.v1.PlanningAction"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Analytics.v1.AggregatedProperties"]="com.sap.vocabularies.Analytics.v1.AggregatedPropertyType",e["com.sap.vocabularies.Common.v1.ServiceVersion"]="Edm.Int32",e["com.sap.vocabularies.Common.v1.ServiceSchemaVersion"]="Edm.Int32",e["com.sap.vocabularies.Common.v1.TextFor"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.IsLanguageIdentifier"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.TextFormat"]="com.sap.vocabularies.Common.v1.TextFormatType",e["com.sap.vocabularies.Common.v1.IsDigitSequence"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsUpperCase"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCurrency"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsUnit"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.UnitSpecificScale"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.UnitSpecificPrecision"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.SecondaryKey"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.MinOccurs"]="Edm.Int64",e["com.sap.vocabularies.Common.v1.MaxOccurs"]="Edm.Int64",e["com.sap.vocabularies.Common.v1.AssociationEntity"]="Edm.NavigationPropertyPath",e["com.sap.vocabularies.Common.v1.DerivedNavigation"]="Edm.NavigationPropertyPath",e["com.sap.vocabularies.Common.v1.Masked"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.MaskedAlways"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.SemanticObjectMapping"]="com.sap.vocabularies.Common.v1.SemanticObjectMappingType",e["com.sap.vocabularies.Common.v1.IsInstanceAnnotation"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.FilterExpressionRestrictions"]="com.sap.vocabularies.Common.v1.FilterExpressionRestrictionType",e["com.sap.vocabularies.Common.v1.FieldControl"]="com.sap.vocabularies.Common.v1.FieldControlType",e["com.sap.vocabularies.Common.v1.Application"]="com.sap.vocabularies.Common.v1.ApplicationType",e["com.sap.vocabularies.Common.v1.Timestamp"]="Edm.DateTimeOffset",e["com.sap.vocabularies.Common.v1.ErrorResolution"]="com.sap.vocabularies.Common.v1.ErrorResolutionType",e["com.sap.vocabularies.Common.v1.Messages"]="Edm.ComplexType",e["com.sap.vocabularies.Common.v1.numericSeverity"]="com.sap.vocabularies.Common.v1.NumericMessageSeverityType",e["com.sap.vocabularies.Common.v1.MaximumNumericMessageSeverity"]="com.sap.vocabularies.Common.v1.NumericMessageSeverityType",e["com.sap.vocabularies.Common.v1.IsActionCritical"]="Edm.Boolean",e["com.sap.vocabularies.Common.v1.Attributes"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.RelatedRecursiveHierarchy"]="Edm.AnnotationPath",e["com.sap.vocabularies.Common.v1.Interval"]="com.sap.vocabularies.Common.v1.IntervalType",e["com.sap.vocabularies.Common.v1.ResultContext"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.WeakReferentialConstraint"]="com.sap.vocabularies.Common.v1.WeakReferentialConstraintType",e["com.sap.vocabularies.Common.v1.IsNaturalPerson"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.ValueList"]="com.sap.vocabularies.Common.v1.ValueListType",e["com.sap.vocabularies.Common.v1.ValueListRelevantQualifiers"]="com.sap.vocabularies.Common.v1.SimpleIdentifier",e["com.sap.vocabularies.Common.v1.ValueListWithFixedValues"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.ValueListMapping"]="com.sap.vocabularies.Common.v1.ValueListMappingType",e["com.sap.vocabularies.Common.v1.IsCalendarYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarHalfyear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarMonth"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsDayOfCalendarMonth"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsDayOfCalendarYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearHalfyear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearMonth"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarYearWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsCalendarDate"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalPeriod"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearPeriod"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearQuarter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearWeek"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsDayOfFiscalYear"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.IsFiscalYearVariant"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.MutuallyExclusiveTerm"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Common.v1.DraftRoot"]="com.sap.vocabularies.Common.v1.DraftRootType",e["com.sap.vocabularies.Common.v1.DraftNode"]="com.sap.vocabularies.Common.v1.DraftNodeType",e["com.sap.vocabularies.Common.v1.DraftActivationVia"]="com.sap.vocabularies.Common.v1.SimpleIdentifier",e["com.sap.vocabularies.Common.v1.EditableFieldFor"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.SemanticKey"]="Edm.PropertyPath",e["com.sap.vocabularies.Common.v1.SideEffects"]="com.sap.vocabularies.Common.v1.SideEffectsType",e["com.sap.vocabularies.Common.v1.DefaultValuesFunction"]="com.sap.vocabularies.Common.v1.QualifiedName",e["com.sap.vocabularies.Common.v1.FilterDefaultValue"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.FilterDefaultValueHigh"]="Edm.PrimitiveType",e["com.sap.vocabularies.Common.v1.SortOrder"]="com.sap.vocabularies.Common.v1.SortOrderType",e["com.sap.vocabularies.Common.v1.RecursiveHierarchy"]="com.sap.vocabularies.Common.v1.RecursiveHierarchyType",e["com.sap.vocabularies.Common.v1.CreatedAt"]="Edm.DateTimeOffset",e["com.sap.vocabularies.Common.v1.CreatedBy"]="com.sap.vocabularies.Common.v1.UserID",e["com.sap.vocabularies.Common.v1.ChangedAt"]="Edm.DateTimeOffset",e["com.sap.vocabularies.Common.v1.ChangedBy"]="com.sap.vocabularies.Common.v1.UserID",e["com.sap.vocabularies.Common.v1.ApplyMultiUnitBehaviorForSortingAndFiltering"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.CodeList.v1.CurrencyCodes"]="com.sap.vocabularies.CodeList.v1.CodeListSource",e["com.sap.vocabularies.CodeList.v1.UnitsOfMeasure"]="com.sap.vocabularies.CodeList.v1.CodeListSource",e["com.sap.vocabularies.CodeList.v1.StandardCode"]="Edm.PropertyPath",e["com.sap.vocabularies.CodeList.v1.ExternalCode"]="Edm.PropertyPath",e["com.sap.vocabularies.CodeList.v1.IsConfigurationDeprecationCode"]="Edm.Boolean",e["com.sap.vocabularies.Communication.v1.Contact"]="com.sap.vocabularies.Communication.v1.ContactType",e["com.sap.vocabularies.Communication.v1.Address"]="com.sap.vocabularies.Communication.v1.AddressType",e["com.sap.vocabularies.Communication.v1.IsEmailAddress"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Communication.v1.IsPhoneNumber"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Communication.v1.Event"]="com.sap.vocabularies.Communication.v1.EventData",e["com.sap.vocabularies.Communication.v1.Task"]="com.sap.vocabularies.Communication.v1.TaskData",e["com.sap.vocabularies.Communication.v1.Message"]="com.sap.vocabularies.Communication.v1.MessageData",e["com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"]="com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchyType",e["com.sap.vocabularies.PersonalData.v1.EntitySemantics"]="com.sap.vocabularies.PersonalData.v1.EntitySemanticsType",e["com.sap.vocabularies.PersonalData.v1.FieldSemantics"]="com.sap.vocabularies.PersonalData.v1.FieldSemanticsType",e["com.sap.vocabularies.PersonalData.v1.IsPotentiallyPersonal"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.Session.v1.StickySessionSupported"]="com.sap.vocabularies.Session.v1.StickySessionSupportedType",e["com.sap.vocabularies.UI.v1.HeaderInfo"]="com.sap.vocabularies.UI.v1.HeaderInfoType",e["com.sap.vocabularies.UI.v1.Identification"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.Badge"]="com.sap.vocabularies.UI.v1.BadgeType",e["com.sap.vocabularies.UI.v1.LineItem"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.StatusInfo"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.FieldGroup"]="com.sap.vocabularies.UI.v1.FieldGroupType",e["com.sap.vocabularies.UI.v1.ConnectedFields"]="com.sap.vocabularies.UI.v1.ConnectedFieldsType",e["com.sap.vocabularies.UI.v1.GeoLocations"]="com.sap.vocabularies.UI.v1.GeoLocationType",e["com.sap.vocabularies.UI.v1.GeoLocation"]="com.sap.vocabularies.UI.v1.GeoLocationType",e["com.sap.vocabularies.UI.v1.Contacts"]="Edm.AnnotationPath",e["com.sap.vocabularies.UI.v1.MediaResource"]="com.sap.vocabularies.UI.v1.MediaResourceType",e["com.sap.vocabularies.UI.v1.DataPoint"]="com.sap.vocabularies.UI.v1.DataPointType",e["com.sap.vocabularies.UI.v1.KPI"]="com.sap.vocabularies.UI.v1.KPIType",e["com.sap.vocabularies.UI.v1.Chart"]="com.sap.vocabularies.UI.v1.ChartDefinitionType",e["com.sap.vocabularies.UI.v1.ValueCriticality"]="com.sap.vocabularies.UI.v1.ValueCriticalityType",e["com.sap.vocabularies.UI.v1.CriticalityLabels"]="com.sap.vocabularies.UI.v1.CriticalityLabelType",e["com.sap.vocabularies.UI.v1.SelectionFields"]="Edm.PropertyPath",e["com.sap.vocabularies.UI.v1.Facets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.HeaderFacets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.QuickViewFacets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.QuickCreateFacets"]="com.sap.vocabularies.UI.v1.Facet",e["com.sap.vocabularies.UI.v1.FilterFacets"]="com.sap.vocabularies.UI.v1.ReferenceFacet",e["com.sap.vocabularies.UI.v1.SelectionPresentationVariant"]="com.sap.vocabularies.UI.v1.SelectionPresentationVariantType",e["com.sap.vocabularies.UI.v1.PresentationVariant"]="com.sap.vocabularies.UI.v1.PresentationVariantType",e["com.sap.vocabularies.UI.v1.SelectionVariant"]="com.sap.vocabularies.UI.v1.SelectionVariantType",e["com.sap.vocabularies.UI.v1.ThingPerspective"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.IsSummary"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.PartOfPreview"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.Map"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.Gallery"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.IsImageURL"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.IsImage"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.MultiLineText"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.TextArrangement"]="com.sap.vocabularies.UI.v1.TextArrangementType",e["com.sap.vocabularies.UI.v1.Importance"]="com.sap.vocabularies.UI.v1.ImportanceType",e["com.sap.vocabularies.UI.v1.Hidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.CreateHidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.UpdateHidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.DeleteHidden"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.HiddenFilter"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.DataFieldDefault"]="com.sap.vocabularies.UI.v1.DataFieldAbstract",e["com.sap.vocabularies.UI.v1.Criticality"]="com.sap.vocabularies.UI.v1.CriticalityType",e["com.sap.vocabularies.UI.v1.CriticalityCalculation"]="com.sap.vocabularies.UI.v1.CriticalityCalculationType",e["com.sap.vocabularies.UI.v1.Emphasized"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.UI.v1.OrderBy"]="Edm.PropertyPath",e["com.sap.vocabularies.UI.v1.ParameterDefaultValue"]="Edm.PrimitiveType",e["com.sap.vocabularies.UI.v1.RecommendationState"]="com.sap.vocabularies.UI.v1.RecommendationStateType",e["com.sap.vocabularies.UI.v1.RecommendationList"]="com.sap.vocabularies.UI.v1.RecommendationListType",e["com.sap.vocabularies.UI.v1.ExcludeFromNavigationContext"]="Org.OData.Core.V1.Tag",e["com.sap.vocabularies.HTML5.v1.CssDefaults"]="com.sap.vocabularies.HTML5.v1.CssDefaultsType"}(a||(a={})),t.defaultReferences=[{alias:"Capabilities",namespace:"Org.OData.Capabilities.V1",uri:""},{alias:"Aggregation",namespace:"Org.OData.Aggregation.V1",uri:""},{alias:"Validation",namespace:"Org.OData.Validation.V1",uri:""},{namespace:"Org.OData.Core.V1",alias:"Core",uri:""},{namespace:"Org.OData.Measures.V1",alias:"Measures",uri:""},{namespace:"com.sap.vocabularies.Common.v1",alias:"Common",uri:""},{namespace:"com.sap.vocabularies.UI.v1",alias:"UI",uri:""},{namespace:"com.sap.vocabularies.Session.v1",alias:"Session",uri:""},{namespace:"com.sap.vocabularies.Analytics.v1",alias:"Analytics",uri:""},{namespace:"com.sap.vocabularies.CodeList.v1",alias:"CodeList",uri:""},{namespace:"com.sap.vocabularies.PersonalData.v1",alias:"PersonalData",uri:""},{namespace:"com.sap.vocabularies.Communication.v1",alias:"Communication",uri:""},{namespace:"com.sap.vocabularies.HTML5.v1",alias:"HTML5",uri:""}];var v=[],b={};function P(e,t){var n;if("string"==typeof t){var a=t.match(/(\w+)\.\w+\/.*/);n=a&&e.find((function(e){return e.alias===a[1]}))?{type:"EnumMember",EnumMember:t}:{type:"String",String:t}}else Array.isArray(t)?n={type:"Collection",Collection:t.map((function(t){return S(e,t)}))}:"boolean"==typeof t?n={type:"Bool",Bool:t}:"number"==typeof t?n=t.toString()===t.toFixed()?{type:"Int",Int:t}:{type:"Decimal",Decimal:t}:"object"==typeof t&&t.isDecimal&&t.isDecimal()?n={type:"Decimal",Decimal:t.valueOf()}:"Path"===t.type?n={type:"Path",Path:t.path}:"AnnotationPath"===t.type?n={type:"AnnotationPath",AnnotationPath:t.value}:"Apply"===t.type?n={type:"Apply",Apply:t.Apply}:"Null"===t.type?n={type:"Null"}:"PropertyPath"===t.type?n={type:"PropertyPath",PropertyPath:t.value}:"NavigationPropertyPath"===t.type?n={type:"NavigationPropertyPath",NavigationPropertyPath:t.value}:Object.prototype.hasOwnProperty.call(t,"$Type")&&(n={type:"Record",Record:S(e,t)});return n}function S(e,t){if("string"==typeof t)return t;if("object"==typeof t){if(t.hasOwnProperty("$Type")){var n={type:t.$Type,propertyValues:[]};return Object.keys(t).forEach((function(a){if("$Type"!==a&&"term"!==a&&"__source"!==a&&"qualifier"!==a&&"ActionTarget"!==a&&"fullyQualifiedName"!==a&&"annotations"!==a){var r=t[a];n.propertyValues.push({name:a,value:P(e,r)})}else if("annotations"===a){var i=t[a];n.annotations=[],Object.keys(i).filter((function(e){return"_annotations"!==e})).forEach((function(t){Object.keys(i[t]).forEach((function(a){var r,s=T(e,i[t][a]);if(!s.term){var c=o(e,t+"."+a);if(c){var l=c.split("#");s.term=l[0],l.length>1&&(s.qualifier=l[1])}}null===(r=n.annotations)||void 0===r||r.push(s)}))}))}})),n}if("PropertyPath"===t.type)return{type:"PropertyPath",PropertyPath:t.value};if("AnnotationPath"===t.type)return{type:"AnnotationPath",AnnotationPath:t.value};if("NavigationPropertyPath"===t.type)return{type:"NavigationPropertyPath",NavigationPropertyPath:t.value}}}function T(e,t){var a={term:t.term,qualifier:t.qualifier};if(Array.isArray(t)){if(t.hasOwnProperty("annotations")){a.annotations=[];var r=t.annotations;Object.keys(r).filter((function(e){return"_annotations"!==e})).forEach((function(t){Object.keys(r[t]).forEach((function(n){var i,s=T(e,r[t][n]);if(!s.term){var c=o(e,t+"."+n);if(c){var l=c.split("#");s.term=l[0],l.length>1&&(s.qualifier=l[1])}}null===(i=a.annotations)||void 0===i||i.push(s)}))}))}return n(n({},a),{collection:t.map((function(t){return S(e,t)}))})}return t.hasOwnProperty("$Type")?n(n({},a),{record:S(e,t)}):n(n({},a),{value:P(e,t)})}t.convertTypes=function(e){v=[];var n=function(e){var t={};return e.schema.entityContainer&&e.schema.entityContainer.fullyQualifiedName&&(t[e.schema.entityContainer.fullyQualifiedName]=e.schema.entityContainer),e.schema.entitySets.forEach((function(e){t[e.fullyQualifiedName]=e})),e.schema.actions.forEach((function(e){if(t[e.fullyQualifiedName]=e,e.isBound){var n=e.fullyQualifiedName.split("(")[0];t[n]||(t[n]={_type:"UnboundGenericAction",actions:[]}),t[n].actions.push(e)}e.parameters.forEach((function(e){t[e.fullyQualifiedName]=e}))})),e.schema.complexTypes.forEach((function(e){t[e.fullyQualifiedName]=e,e.properties.forEach((function(e){t[e.fullyQualifiedName]=e}))})),e.schema.entityTypes.forEach((function(e){t[e.fullyQualifiedName]=e,e.entityProperties.forEach((function(e){if(t[e.fullyQualifiedName]=e,-1===e.type.indexOf("Edm")){var n=t[e.type];n&&n.properties&&n.properties.forEach((function(n){var a=Object.assign(n,{_type:"Property",fullyQualifiedName:e.fullyQualifiedName+"/"+n.name});t[a.fullyQualifiedName]=a}))}})),e.navigationProperties.forEach((function(e){t[e.fullyQualifiedName]=e}))})),Object.keys(e.schema.annotations).forEach((function(n){e.schema.annotations[n].forEach((function(n){var a=o(e.references,n.target);n.annotations.forEach((function(n){var r=a+"@"+o(e.references,n.term);n.qualifier&&(r+="#"+n.qualifier),t[r]=n,n.fullyQualifiedName=r}))}))})),t}(e);m(e.schema.entityTypes,e.schema.associations,n),e.schema.entityContainer.annotations||(e.schema.entityContainer.annotations={}),function(e,t,n){t.forEach((function(t){if(t.annotations||(t.annotations={}),t.isBound){var a=n[t.sourceType];t.sourceEntityType=a,a&&(a.actions||(a.actions={}),a.actions[t.name]=t,a.actions[e+"."+t.name]=t),t.returnEntityType=n[t.returnType]}}))}(e.schema.namespace,e.schema.actions,n),function(e,t,n){e.forEach((function(e){e.entityType=t[e.entityTypeName],e.entityType||(e.entityType=t[o(n,e.entityTypeName)]),e.annotations||(e.annotations={}),e.entityType.annotations||(e.entityType.annotations={}),e.entityType.keys.forEach((function(e){e.isKey=!0}))}))}(e.schema.entitySets,n,e.references),function(e,t,n){void 0===e&&(e=[]),e.forEach((function(e){e.type=t[e.typeName],e.type||(e.type=t[o(n,e.typeName)]),e.annotations||(e.annotations={}),e.type.annotations||(e.type.annotations={}),e.type.keys.forEach((function(e){e.isKey=!0}))}))}(e.schema.singletons,n,e.references),function(e,t){function n(e){if(e.annotations||(e.annotations={}),-1===e.type.indexOf("Edm")){var a=void 0;if(e.type.startsWith("Collection")){var r=e.type.substr(11,e.type.length-12);a=t[r]}else a=t[e.type];a&&(e.targetType=a,a.properties&&a.properties.forEach(n))}}e.forEach((function(e){e.entityProperties.forEach(n)}))}(e.schema.entityTypes,n),function(e,t,n){e.forEach((function(e){e.annotations={},e.properties.forEach((function(e){e.annotations||(e.annotations={})})),e.navigationProperties=e.navigationProperties.map((function(e){e.annotations||(e.annotations={});var a={_type:"NavigationProperty",name:e.name,fullyQualifiedName:e.fullyQualifiedName,partner:e.hasOwnProperty("partner")?e.partner:void 0,isCollection:!!e.hasOwnProperty("isCollection")&&e.isCollection,containsTarget:!!e.hasOwnProperty("containsTarget")&&e.containsTarget,referentialConstraint:e.referentialConstraint?e.referentialConstraint:[]};if(e.targetTypeName)a.targetType=n[e.targetTypeName];else if(e.relationship){var r=t.find((function(t){return t.fullyQualifiedName===e.relationship}));if(r){var i=r.associationEnd.find((function(t){return t.role===e.toRole}));i&&(a.targetType=n[i.type],a.isCollection="*"===i.multiplicity)}}a.targetType&&(a.targetTypeName=a.targetType.fullyQualifiedName);var o=a;return n[o.fullyQualifiedName]=o,o}))}))}(e.schema.complexTypes,e.schema.associations,n);var a=[],r=[];Object.keys(e.schema.annotations).forEach((function(i){e.schema.annotations[i].forEach((function(s){var c=o(e.references,s.target),l=n[c];if(l){if("object"==typeof l){var u=[l],p=!0;"UnboundGenericAction"===l._type&&(u=l.actions,p=!1),u.forEach((function(l){c!==l.fullyQualifiedName&&(c=l.fullyQualifiedName),l.annotations||(l.annotations={}),s.annotations.forEach((function(s){var u,f,d=y(t.defaultReferences,s.term),h=d[0],m=d[1];l.annotations[h]||(l.annotations[h]={}),l.annotations._annotations||(l.annotations._annotations={});var v=m+(s.qualifier?"#"+s.qualifier:"");if(p||void 0===(null===(f=null===(u=l.annotations)||void 0===u?void 0:u[h])||void 0===f?void 0:f[v])){switch(l.annotations[h][v]=g(s,e,l,n,a,i,r),typeof l.annotations[h][v]){case"string":l.annotations[h][v]=new String(l.annotations[h][v]);break;case"boolean":l.annotations[h][v]=new Boolean(l.annotations[h][v])}null!==l.annotations[h][v]&&"object"==typeof l.annotations[h][v]&&(l.annotations[h][v].term=o(t.defaultReferences,h+"."+m),l.annotations[h][v].qualifier=s.qualifier,l.annotations[h][v].__source=i);var b=c+"@"+o(t.defaultReferences,h+"."+v);if(s.annotations&&Array.isArray(s.annotations)){var P={target:b,annotations:s.annotations,__source:i};r.push(P)}else s.annotations&&!l.annotations[h][v].annotations&&(l.annotations[h][v].annotations=s.annotations);l.annotations._annotations[h+"."+v]=l.annotations[h][v],n[b]=l.annotations[h][v]}}))}))}}else c&&-1!==c.indexOf("@")&&(s.__source=i,r.push(s))}))}));var i=[];for(var s in r.forEach((function(r){var s=o(e.references,r.target),c=s.split("@"),l=c[0],u=c[1].split("/");l=l+"@"+u[0];var p=u.slice(1).reduce((function(e,t){return e?e[t]:null}),n[l]);p?"object"==typeof p&&(p.annotations||(p.annotations={}),r.annotations.forEach((function(c){var l=y(t.defaultReferences,c.term),u=l[0],f=l[1];p.annotations[u]||(p.annotations[u]={}),p.annotations._annotations||(p.annotations._annotations={});var d=f+(c.qualifier?"#"+c.qualifier:"");p.annotations[u][d]=g(c,e,p,n,a,r.__source,i),null!==p.annotations[u][d]&&"object"==typeof p.annotations[u][d]&&(p.annotations[u][d].term=o(t.defaultReferences,u+"."+f),p.annotations[u][d].qualifier=c.qualifier,p.annotations[u][d].__source=r.__source),p.annotations._annotations[u+"."+d]=p.annotations[u][d],n[s+"@"+o(t.defaultReferences,u+"."+d)]=p.annotations[u][d]}))):v.push({message:"The following annotation target was not found on the service "+s})})),a.forEach((function(e){var t=e.toResolve,a=t.$target,r=n[a],i=t.annotationsTerm,o=t.annotationType;if(delete t.annotationType,delete t.annotationsTerm,!e.inline||r instanceof String)t.$target=r;else{var s=void 0;for(s in t)delete t[s];Object.assign(t,r)}if(!r)if(t.targetString=a,i&&o){c(a,{message:"Unable to resolve the path expression: "+a+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+i+">\n<Record Type = "+o+">\n<AnnotationPath = "+a+">"})}else{var l=t.term,u=t.path,p=a?a.split("/")[0]:a;c(a,{message:"Unable to resolve the path expression: "+a+"\n\nHint: Check and correct the path values under the following structure in the metadata (annotation.xml file or CDS annotations for the application): \n\n<Annotation Term = "+p+">\n<PropertyValue Property = "+l+" Path= "+u+">"})}})),b)v.push(b[s][0]);e.entitySets=e.schema.entitySets;var u=e.references.filter((function(e){return void 0===t.defaultReferences.find((function(t){return t.namespace===e.namespace}))})),p={version:e.version,annotations:e.schema.annotations,namespace:e.schema.namespace,entityContainer:e.schema.entityContainer,actions:e.schema.actions,entitySets:e.schema.entitySets,singletons:e.schema.singletons,entityTypes:e.schema.entityTypes,complexTypes:e.schema.complexTypes,references:t.defaultReferences.concat(u),diagnostics:v.concat()};return p.resolvePath=function(e,t){return function(n){var a=n.split("/");if(""!==a.shift())throw new Error("Cannot deal with relative path");var r=a.shift(),i=e.entitySets.find((function(e){return e.name===r}));if(!i)return{target:e.entityContainer,objectPath:[e.entityContainer]};if(0===a.length)return{target:i,objectPath:[e.entityContainer,i]};var o=l(t,i,"/"+a.join("/"),!1,!0);return o.target&&o.visitedObjects.push(o.target),{target:o.target,objectPath:o.visitedObjects}}}(p,n),p},t.revertTermToGenericType=T},1014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(5129);Object.defineProperty(t,"parseEDMX",{enumerable:!0,get:function(){return a.parseEDMX}});var r=n(8027);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return r.merge}})},8027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const a=n(1878);t.merge=function(e){const t=new a.MergedParserOutput(e[0]);return e.forEach((e=>{t.addParserOutput(e)})),t}},5129:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseEDMX=void 0;const a=n(4139),r=n(1878),i=n(6162),o=n(6511),s=/Collection\(([^)]+)\)/;function c(e,t,n,a){return e.reduce(((e,r)=>{const i={_type:"Property",name:r._attributes.Name,fullyQualifiedName:`${n}/${r._attributes.Name}`,type:r._attributes.Type};if(r._attributes.MaxLength&&(i.maxLength=parseInt(r._attributes.MaxLength)),r._attributes.Precision&&(i.precision=parseInt(r._attributes.Precision)),r._attributes.Scale&&(i.scale=parseInt(r._attributes.Scale)),r._attributes.Nullable&&(i.nullable="false"!==r._attributes.Nullable),r._attributes.DefaultValue)switch(i.type){case"Edm.Int16":case"Edm.Byte":case"Edm.Int32":case"Edm.Int64":i.defaultValue=parseInt(r._attributes.DefaultValue);break;case"Edm.Decimal":i.defaultValue=parseFloat(r._attributes.DefaultValue);break;case"Edm.Boolean":i.defaultValue="true"===r._attributes.DefaultValue;break;default:i.defaultValue=r._attributes.DefaultValue}e.entityProperties.push(i),-1!==t.indexOf(i.name)&&e.entityKeys.push(i);const s=o.convertV2Annotations(r._attributes,"Property",r._attributes.Name);return s.length>0&&a.push(S(i.fullyQualifiedName,s)),e}),{entityProperties:[],entityKeys:[]})}function l(e,t,n,a){return e.reduce(((e,i)=>{const c=i._attributes;if(null!==(f=c).Type&&void 0!==f.Type){const a=c.Type.match(s),o=null!==a,f=a?a[1]:c.Type;e.push({_type:"NavigationProperty",name:c.Name,fullyQualifiedName:`${n}/${c.Name}`,partner:c.Partner,containsTarget:"true"===c.ContainsTarget,isCollection:o,targetTypeName:f,referentialConstraint:(l=r.ensureArray(i.ReferentialConstraint),u=t._attributes.Name,p=f,l.reduce(((e,t)=>(e.push({sourceTypeName:u,sourceProperty:t._attributes.Property,targetTypeName:p,targetProperty:t._attributes.ReferencedProperty}),e)),[]))})}else{const{Relationship:t,ToRole:r,FromRole:i}=c;e.push({_type:"NavigationProperty",name:c.Name,fullyQualifiedName:`${n}/${c.Name}`,relationship:t,toRole:r,fromRole:i});const s=o.convertV2Annotations(c,"Property",c.Name);s.length>0&&a.push(S(`${n}/${c.Name}`,s))}var l,u,p,f;return e}),[])}function u(e){switch(e){case"1":return i.Multiplicity.One;case"0..1":return i.Multiplicity.ZeroOrOne;case"*":return i.Multiplicity.Many}return i.Multiplicity.Unknown}function p(e,t,n=!1){return e.map((e=>{let a=`${r.ensureArray(e.Parameter).filter((t=>t._attributes.Name===e._attributes.EntitySetPath)).map((e=>e._attributes.Type))}`;const i="true"===e._attributes.IsBound;let o=`${e._attributes.Name}()`;return i&&(a||(a=`${r.ensureArray(e.Parameter)[0]._attributes.Type}`),o=`${t}.${e._attributes.Name}(${a})`),{_type:"Action",name:e._attributes.Name,isBound:i,sourceType:a,fullyQualifiedName:o,isFunction:n,parameters:r.ensureArray(e.Parameter).map((t=>({_type:"ActionParameter",fullyQualifiedName:`${o}/${t._attributes.Name}`,type:t._attributes.Type,isEntitySet:t._attributes.Name===e._attributes.EntitySetPath}))),returnType:e.ReturnType?e.ReturnType._attributes.Type:""}}))}function f(e,t,n){return e.map((e=>{const{Annotation:a,_attributes:i,...o}=e,s={};if(i){const a=Object.keys(i).find((e=>"Property"!==e));s.name=i.Property;let c=`${t}/${s.name}`;if(o&&Object.keys(o).length>0?s.value=b(o,c,n):a&&(s.value=v({[a]:i[a]},c,n)),e.Annotation){const t=P(r.ensureArray(e.Annotation),c,n);t&&t.length>0&&n.push(S(c,t))}}return s}))}function d(e,t,n){const a=P(r.ensureArray(e.Annotation),t,n);return a&&a.length>0&&n.push(S(t,a)),{type:e._attributes?_(e._attributes.Type):void 0,propertyValues:f(r.ensureArray(e.PropertyValue),t,n)}}function h(e,t){return null!=e[t]}function g(e,t){switch(t){case"NavigationPropertyPath":return{type:"NavigationPropertyPath",NavigationPropertyPath:e._text};case"PropertyPath":return{type:"PropertyPath",PropertyPath:e._text};case"AnnotationPath":return{type:"AnnotationPath",AnnotationPath:e._text};case"Path":return{type:"Path",Path:e._text}}}function m(e,t,n){if(h(e,"Record")){const a=r.ensureArray(e.Record).map(((e,a)=>d(e,t+"/"+a,n)));return a.type="Record",a}if(h(e,"PropertyPath")){const t=r.ensureArray(e.PropertyPath).map((e=>g(e,"PropertyPath")));return t.type="PropertyPath",t}if(h(e,"NavigationPropertyPath")){const t=r.ensureArray(e.NavigationPropertyPath).map((e=>g(e,"NavigationPropertyPath")));return t.type="NavigationPropertyPath",t}if(h(e,"String")){const t=r.ensureArray(e.String).map((e=>e._text));return t.type="String",t}if(h(e,"AnnotationPath")){const t=r.ensureArray(e.AnnotationPath).map((e=>g(e,"AnnotationPath")));return t.type="AnnotationPath",t}if(h(e,"Path")){const t=r.ensureArray(e.Path).map((e=>g(e,"Path")));return t.type="Path",t}if(h(e,"If")){const t=r.ensureArray(e.If).map((e=>e._text));return t.type="String",t}return 0===Object.keys(e).length||console.error(`Cannot parse ${JSON.stringify(e)}, collection type is not supported`),[]}function y(e,t){return null!=e[t]}function v(e,t,n){const a=Object.keys(e);if(a.length>1)throw new Error(`Too many expressions defined on a single object ${JSON.stringify(e)}`);const r=a[0];switch(r){case"String":return{type:"String",String:e[r]};case"Bool":return{type:"Bool",Bool:"true"===e.Bool};case"Decimal":return{type:"Decimal",Decimal:parseFloat(e.Decimal)};case"Date":return{type:"Date",Date:e.Date};case"Int":return{type:"Int",Int:parseInt(e.Int)};case"Path":return{type:"Path",Path:e.Path};case"PropertyPath":return{type:"PropertyPath",PropertyPath:e.PropertyPath};case"AnnotationPath":return{type:"AnnotationPath",AnnotationPath:e.AnnotationPath};case"NavigationPropertyPath":return{type:"NavigationPropertyPath",NavigationPropertyPath:e.NavigationPropertyPath};case"EnumMember":return{type:"EnumMember",EnumMember:e[r]};case"Collection":return{type:"Collection",Collection:m(e.Collection,t,n)};case"Record":return{type:"Record",Record:d(e.Record,t,n)};case"Apply":return{type:"Apply",Apply:e.Apply};case"Null":return{type:"Null"};default:return console.error("Unsupported inline expression type "+r),{type:"Unknown"}}}function b(e,t,n){const a=Object.keys(e);if(a.length>1)throw new Error(`Too many expressions defined on a single object ${JSON.stringify(e)}`);const r=a[0];switch(r){case"String":return{type:"String",String:e[r]._text};case"Bool":return{type:"Bool",Bool:"true"===e.Bool._text};case"Int":return{type:"Int",Int:parseInt(e.Int._text)};case"Decimal":return{type:"Decimal",Decimal:parseFloat(e.Decimal._text)};case"Path":return{type:"Path",Path:e.Path._text};case"PropertyPath":return{type:"PropertyPath",PropertyPath:e.PropertyPath._text};case"NavigationPropertyPath":return{type:"NavigationPropertyPath",NavigationPropertyPath:e.NavigationPropertyPath._text};case"AnnotationPath":return{type:"AnnotationPath",AnnotationPath:e.AnnotationPath._text};case"EnumMember":return{type:"EnumMember",EnumMember:e[r]._text};case"Collection":return{type:"Collection",Collection:m(e.Collection,t,n)};case"Record":return{type:"Record",Record:d(e.Record,t,n)};case"Apply":return{type:"Apply",Apply:e.Apply};case"Null":return{type:"Null"};default:return console.error("Unsupported expression type "+r),{type:"Unknown"}}}function P(e,t,n){return e.map((e=>function(e,t,n){const{Term:a,Qualifier:i,...o}=e._attributes;let s={term:_(a),qualifier:i},c=`${t}@${_(a)}`;if(""!==i&&void 0!==i&&(c+=`#${i}`),o&&Object.keys(o).length>0&&(s.value=v(o,c,n)),e.Annotation){const t=P(r.ensureArray(e.Annotation),c,n);t&&t.length>0&&n.push(S(c,t))}const l=Object.keys(e).filter((e=>"_attributes"!==e&&"Annotation"!==e));return y(e,"Record")?s.record=d(e.Record,c,n):y(e,"Collection")?s.collection=m(e.Collection,c,n):1===l.length?s.value=b({[l[0]]:e[l[0]]},c,n):l.length>1&&console.error(`Cannot parse ${JSON.stringify(e)}, expression type is not supported`),s}(e,t,n)))}function S(e,t){return{target:e,annotations:t}}function T(e,t){const n=e._attributes.Namespace,a=[],i=function(e,t,n){return e.reduce(((e,a)=>{const i=a.Key?r.ensureArray(a.Key.PropertyRef).map((e=>e._attributes.Name)):[],o=`${n}.${a._attributes.Name}`,{entityProperties:s,entityKeys:u}=c(r.ensureArray(a.Property),i,o,t),p=l(r.ensureArray(a.NavigationProperty),a,o,t);return e.push({_type:"EntityType",name:a._attributes.Name,fullyQualifiedName:o,keys:u,entityProperties:s,navigationProperties:p}),e}),[])}(r.ensureArray(e.EntityType),a,n),s=function(e,t,n){return e.reduce(((e,a)=>{const i=`${n}.${a._attributes.Name}`,{entityProperties:o,entityKeys:s}=c(r.ensureArray(a.Property),[],i,t),u=l(r.ensureArray(a.NavigationProperty),a,i,t);return e.push({_type:"ComplexType",name:a._attributes.Name,fullyQualifiedName:i,properties:o,navigationProperties:u}),e}),[])}(r.ensureArray(e.ComplexType),a,n);let f=[],d=[],h=[],g={},m=[];e.EntityContainer&&(f=function(e,t,n,a){const i=e.map((e=>{const r={_type:"EntitySet",name:e._attributes.Name,entityTypeName:e._attributes.EntityType,navigationPropertyBinding:{},fullyQualifiedName:`${t}.${n}/${e._attributes.Name}`},i=o.convertV2Annotations(e._attributes,"EntitySet",e._attributes.Name);return i.length>0&&a.push(S(r.fullyQualifiedName,i)),r}));return e.forEach((e=>{const t=i.find((t=>t.name===e._attributes.Name));t&&r.ensureArray(e.NavigationPropertyBinding).forEach((e=>{const n=i.find((t=>t.name===e._attributes.Target));n&&(t.navigationPropertyBinding[e._attributes.Path]=n)}))})),i}(r.ensureArray(e.EntityContainer.EntitySet),n,e.EntityContainer._attributes.Name,a),d=function(e,t,n,a){const i=e.map((e=>{const r={_type:"Singleton",name:e._attributes.Name,typeName:e._attributes.Type,nullable:"false"!==e._attributes.Nullable,navigationPropertyBinding:{},fullyQualifiedName:`${t}.${n}/${e._attributes.Name}`},i=o.convertV2Annotations(e._attributes,"Singleton",e._attributes.Name);return i.length>0&&a.push(S(r.fullyQualifiedName,i)),r}));return e.forEach((e=>{const t=i.find((t=>t.name===e._attributes.Name));t&&r.ensureArray(e.NavigationPropertyBinding).forEach((e=>{const n=i.find((t=>t.name===e._attributes.Target));n&&(t.navigationPropertyBinding[e._attributes.Path]=n)}))})),i}(r.ensureArray(e.EntityContainer.Singleton),n,e.EntityContainer._attributes.Name,a),h=function(e,t){return e.map((e=>{const n=`${t}.${e._attributes.Name}`,a=r.ensureArray(e.End).map((e=>({entitySet:e._attributes.EntitySet,role:e._attributes.Role})));return{fullyQualifiedName:n,name:e._attributes.Name,association:e._attributes.Association,associationEnd:a}}))}(r.ensureArray(e.EntityContainer.AssociationSet),n),g={name:e.EntityContainer._attributes.Name,fullyQualifiedName:`${n}.${e.EntityContainer._attributes.Name}`},m=m.concat(function(e,t,n){return e.map((e=>{const a=t.find((t=>t.name===e._attributes.EntitySet));let i=`${n}/${e._attributes.Name}()`;return{_type:"Action",name:e._attributes.Name,isBound:!1,sourceType:a?a.entityTypeName:"",fullyQualifiedName:i,isFunction:!1,parameters:r.ensureArray(e.Parameter).map((e=>({_type:"ActionParameter",fullyQualifiedName:`${i}/${e._attributes.Name}`,type:e._attributes.Type,isEntitySet:!1}))),returnType:e._attributes.ReturnType?e._attributes.ReturnType:""}}))}(r.ensureArray(e.EntityContainer.FunctionImport),f,g.fullyQualifiedName))),m=m.concat(p(r.ensureArray(e.Action),n)),m=m.concat(p(r.ensureArray(e.Function),n,!0));const y=function(e,t){return e.map((e=>{const n=`${t}.${e._attributes.Name}`,a=r.ensureArray(e.End).map((e=>({type:e._attributes.Type,role:e._attributes.Role,multiplicity:u(e._attributes.Multiplicity)})));return{fullyQualifiedName:n,name:e._attributes.Name,associationEnd:a,referentialConstraints:(i=r.ensureArray(e.ReferentialConstraint),o=a,i.reduce(((e,t)=>{let n=o.find((e=>e.role===t.Principal._attributes.Role)),a=o.find((e=>e.role===t.Dependent._attributes.Role));if(n&&a){let i=r.ensureArray(t.Principal.PropertyRef),s=r.ensureArray(t.Dependent.PropertyRef);"1"!==n.multiplicity&&(a=n,n=o.find((e=>e.role===t.Dependent._attributes.Role)),s=i,i=r.ensureArray(t.Dependent.PropertyRef)),i.forEach(((t,r)=>{e.push({sourceTypeName:n.type,sourceProperty:t._attributes.Name,targetTypeName:a.type,targetProperty:s[r]._attributes.Name})}))}return e}),[]))};var i,o}))}(r.ensureArray(e.Association),n);var v,b;h.length>0&&f.forEach((e=>{const t=i.find((t=>t.fullyQualifiedName===e.entityTypeName));null==t||t.navigationProperties.forEach((t=>{const n=t,a=h.find((e=>e.association===n.relationship));if(a){const n=a.associationEnd.map((e=>f.find((t=>t.name===e.entitySet)))).find((t=>(null==t?void 0:t.fullyQualifiedName)!==e.fullyQualifiedName));n&&(e.navigationPropertyBinding[t.name]=n)}}))})),y.length>0&&i.forEach((e=>{e.navigationProperties.forEach((e=>{const t=e,n=y.find((e=>e.fullyQualifiedName===t.relationship));n&&n.referentialConstraints&&(t.referentialConstraint=n.referentialConstraints)}))})),v=r.ensureArray(e.Annotations),b=a,v.filter((e=>void 0!==e._attributes)).forEach((e=>{b.push(S(e._attributes.Target,P(r.ensureArray(e.Annotation),e._attributes.Target,b)))}));var T={};return T[t]=a,{associations:y,associationSets:h,annotations:T,entityContainer:g,namespace:n,entitySets:f,singletons:d,complexTypes:s,actions:m,entityTypes:i}}let O={};function _(e){if(!e)return e;const[t,n]=e.split("."),a=O[t];if(a)return`${a.namespace}.${n}`;if(-1!==e.indexOf("@")){const[t,n]=e.split("@");return`${t}@${_(n)}`}return e}t.parseEDMX=function(e,t="serviceFile"){const n=a.xml2js(e,{compact:!0}),i=r.ensureArray(n["edmx:Edmx"]["edmx:DataServices"].Schema),o=function(e,t){const n=e.reduce(((e,t)=>(r.ensureArray(t["edmx:Include"]).forEach((n=>{e.push({uri:t._attributes.Uri,alias:n._attributes.Alias,namespace:n._attributes.Namespace})})),e)),[]);return t.forEach((e=>{e&&e._attributes.Alias&&n.push({uri:"",alias:e._attributes.Alias,namespace:e._attributes.Namespace})})),n}(r.ensureArray(n["edmx:Edmx"]["edmx:Reference"]),i);O=o.reduce(((e,t)=>(e[t.alias]=t,e)),{});const s=i.map((e=>T(e,t)));return new r.ParserOutputInstance(t,n["edmx:Edmx"]._attributes.Version,function(e){if(1===e.length)return e[0];const t=e.reduce(((e,t)=>e.concat(t.associations)),[]),n=e.reduce(((e,t)=>e.concat(t.associationSets)),[]),a=e.reduce(((e,t)=>e.concat(t.entitySets)),[]),r=e.reduce(((e,t)=>e.concat(t.singletons)),[]),i=e.reduce(((e,t)=>e.concat(t.entityTypes)),[]),o=e.reduce(((e,t)=>e.concat(t.actions)),[]),s=e.reduce(((e,t)=>e.concat(t.complexTypes)),[]);let c,l,u={};return e.forEach((e=>{u=Object.assign(u,e.annotations)})),e.forEach((e=>{e.entityContainer&&Object.keys(e.entityContainer).length>0&&(c=e.entityContainer,l=e.namespace)})),n.length>0&&a.forEach((e=>{const t=i.find((t=>t.fullyQualifiedName===e.entityTypeName));null==t||t.navigationProperties.forEach((t=>{const r=t,i=n.find((e=>e.association===r.relationship));if(i){const n=i.associationEnd.map((e=>a.find((t=>t.name===e.entitySet)))).find((t=>(null==t?void 0:t.fullyQualifiedName)!==e.fullyQualifiedName));n&&(e.navigationPropertyBinding[t.name]=n)}}))})),t.length>0&&i.forEach((e=>{e.navigationProperties.forEach((e=>{const n=e,a=t.find((e=>e.fullyQualifiedName===n.relationship));a&&a.referentialConstraints&&(n.referentialConstraint=a.referentialConstraints)}))})),{associations:t,associationSets:n,annotations:u,entityContainer:c,namespace:l,entitySets:a,singletons:r,complexTypes:s,actions:o,entityTypes:i}}(s),o)}},1878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MergedParserOutput=t.ParserOutputInstance=t.ensureArray=void 0,t.ensureArray=function(e){return null==e?[]:Array.isArray(e)?e:[e]};t.ParserOutputInstance=class ParserOutputInstance{constructor(e,t,n,a){this.identification=e,this.references=a,this.version=t,this.schema=n}unalias(e){if(!e)return e;const[t,n]=e.split("."),a=this.references.find((e=>e.alias===t));if(a)return`${a.namespace}.${n}`;if(-1!==e.indexOf("@")){const[t,n]=e.split("@");return`${t}@${this.unalias(n)}`}return e}};t.MergedParserOutput=class MergedParserOutput{constructor(e){this._references=[],this._parserOutput=[],this._annotations={},this._associations=[],this._associationSets=[],this._entitySets=[],this._singletons=[],this._actions=[],this._entityContainer={},this._entityTypes=[],this._complexTypes=[],this.identification="mergedParserInstance",this.version=e.version,this._namespace=e.schema.namespace}get references(){return this._references}get schema(){return{associations:this._associations,associationSets:this._associationSets,annotations:this._annotations,entityContainer:this._entityContainer,namespace:this._namespace,entitySets:this._entitySets,singletons:this._singletons,complexTypes:this._complexTypes,actions:this._actions,entityTypes:this._entityTypes}}addParserOutput(e){this._parserOutput.push(e),this._references=this._references.concat(e.references),this._associations=this._associations.concat(e.schema.associations),this._associationSets=this._associationSets.concat(e.schema.associationSets),this._annotations=Object.assign(this._annotations,e.schema.annotations),this._entitySets=this._entitySets.concat(e.schema.entitySets),this._singletons=this._singletons.concat(e.schema.singletons),this._actions=this._actions.concat(e.schema.actions),this._entityTypes=this._entityTypes.concat(e.schema.entityTypes),this._complexTypes=this._complexTypes.concat(e.schema.complexTypes),this._entityContainer=Object.assign(this._entityContainer,e.schema.entityContainer)}unalias(e){if(!e)return e;const[t,n]=e.split("."),a=this.references.find((e=>e.alias===t));if(a)return`${a.namespace}.${n}`;if(-1!==e.indexOf("@")){const[t,n]=e.split("@");return`${t}@${this.unalias(n)}`}return e}}},6511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertV2Annotations=void 0,t.convertV2Annotations=function(e,t,n){const a=[];if(e["sap:schema-version"]&&a.push({term:"Org.OData.Core.V1.SchemaVersion",value:{type:"String",String:e["sap:schema-version"]}}),e["sap:creatable"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.InsertRestrictions",record:{propertyValues:[{name:"Insertable",value:{type:"Bool",Bool:"true"===e["sap:creatable"]}}]}}),e["sap:creatable"]&&"NavigationProperty"===t&&a.push({term:"Org.OData.Capabilities.V1.NavigationRestrictions",record:{propertyValues:[{name:"RestrictedProperties",value:{type:"Record",Record:{propertyValues:[{name:"InsertRestrictrions",value:{type:"Record",Record:{propertyValues:[{name:"Insertable",value:{type:"Bool",Bool:"true"===e["sap:creatable"]}}]}}}]}}}]}}),e["sap:creatable-path"]&&"NavigationProperty"===t&&a.push({term:"Org.OData.Capabilities.V1.NavigationRestrictions",record:{propertyValues:[{name:"RestrictedProperties",value:{type:"Record",Record:{propertyValues:[{name:"InsertRestrictrions",value:{type:"Record",Record:{propertyValues:[{name:"Insertable",value:{type:"Path",Path:e["sap:creatable-path"]}}]}}}]}}}]}}),e["sap:updatable"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.UpdateRestrictions",record:{propertyValues:[{name:"Updatable",value:{type:"Bool",Bool:"true"===e["sap:updatable"]}}]}}),e["sap:updatable-path"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.UpdateRestrictions",record:{propertyValues:[{name:"Updatable",value:{type:"Path",Path:e["sap:updatable-path"]}}]}}),e["sap:deletable"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.DeleteRestrictions",record:{propertyValues:[{name:"Deletable",value:{type:"Bool",Bool:"true"===e["sap:updatable"]}}]}}),e["sap:deletable-path"]&&"EntitySet"===t&&a.push({term:"Org.OData.Capabilities.V1.DeleteRestrictions",record:{propertyValues:[{name:"Deletable",value:{type:"Path",Path:e["sap:deletable-path"]}}]}}),"true"===e["sap:creatable"]&&"false"===e["sap:updatable"]&&"Property"===t&&a.push({term:"Org.OData.Core.V1.Immutable",value:{type:"Bool",Bool:!0}}),"false"===e["sap:creatable"]&&"false"===e["sap:updatable"]&&"Property"===t&&a.push({term:"Org.OData.Core.V1.Computed",value:{type:"Bool",Bool:!0}}),e["sap:updatable-path"]&&"Property"===t&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"Path",Path:e["sap:updatable-path"]}}),e["sap:searchable"]&&a.push({term:"Org.OData.Capabilities.V1.SearchRestrictions",record:{propertyValues:[{name:"Searachable",value:{type:"Bool",Bool:"true"===e["sap:searchable"]}}]}}),e["sap:pageable"]&&(a.push({term:"Org.OData.Capabilities.V1.TopSupported",value:{type:"Bool",Bool:"true"===e["sap:pageable"]}}),a.push({term:"Org.OData.Capabilities.V1.SkipSupported",value:{type:"Bool",Bool:"true"===e["sap:pageable"]}})),e["sap:topable"]&&a.push({term:"Org.OData.Capabilities.V1.TopSupported",value:{type:"Bool",Bool:"true"===e["sap:topable"]}}),e["sap:requires-filter"]&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"RequiresFilter",value:{type:"Bool",Bool:"true"===e["sap:requires-filter"]}}]}}),e["sap:required-in-filter"]&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"RequiredProperties",value:{type:"Collection",Collection:[{type:"PropertyPath",PropertyPath:n}]}}]}}),"false"===e["sap:filterable"]&&"Property"===t&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"NonFilterableProperties",value:{type:"Collection",Collection:[{type:"PropertyPath",PropertyPath:n}]}}]}}),"false"===e["sap:filterable"]&&"NavigationProperty"===t&&a.push({term:"Org.OData.Capabilities.V1.NavigationRestrictions",record:{propertyValues:[{name:"RestrictedProperties",value:{type:"Collection",Collection:[{type:"Record",propertyValues:[{name:"NavigationProperty",value:{type:"NavigationPropertyPath",NavigationPropertyPath:n}},{name:"FilterRestrictions",value:{type:"Record",Record:{propertyValues:[{name:"Filterable",value:{type:"Bool",Bool:!1}}]}}}]}]}}]}}),e["sap:filter-restricton"]&&a.push({term:"Org.OData.Capabilities.V1.FilterRestrictions",record:{propertyValues:[{name:"FilterExpressionRestrictions",value:{type:"Collection",Collection:[{type:"Record",propertyValues:[{name:"FilterExpressionRestrictions",value:{type:"String",String:e["sap:filter-restricton"]}},{name:"Property",value:{type:"PropertyPath",PropertyPath:n}}]}]}}]}}),"false"===e["sap:sortable"]&&a.push({term:"Org.OData.Capabilities.V1.SortRestrictions",record:{propertyValues:[{name:"NonSortableProperties",value:{type:"PropertyPath",PropertyPath:n}}]}}),"false"===e["sap:visible"]&&a.push({term:"com.sap.vocabularies.UI.v1.Hidden",value:{type:"Bool",Bool:!0}}),e["sap:label"]&&a.push({term:"com.sap.vocabularies.Common.v1.Label",value:{type:"String",String:e["sap:label"]}}),e["sap:heading"]&&a.push({term:"com.sap.vocabularies.Common.v1.Heading",value:{type:"String",String:e["sap:heading"]}}),e["sap:quickinfo"]&&a.push({term:"com.sap.vocabularies.Common.v1.QuickInfo",value:{type:"String",String:e["sap:quickinfo"]}}),e["sap:text"]&&a.push({term:"com.sap.vocabularies.Common.v1.Text",value:{type:"Path",Path:e["sap:text"]}}),e["sap:unit"]&&(a.push({term:"Org.OData.Measures.V1.Unit",value:{type:"Path",Path:e["sap:unit"]}}),a.push({term:"Org.OData.Measures.V1.ISOCurrency",value:{type:"Path",Path:e["sap:unit"]}})),e["sap:precision"]&&a.push({term:"Org.OData.Measures.V1.Scale",value:{type:"Int",Int:parseInt(e["sap:precision"])}}),"fixed-value"===e["sap:value-list"]&&a.push({term:"com.sap.vocabularies.Common.v1.ValueListWithFixedValues",value:{type:"Bool",Bool:!0}}),"NonNegative"===e["sap:display-format"]&&a.push({term:"com.sap.vocabularies.Common.v1.IsDigitSequence",value:{type:"Bool",Bool:!0}}),"UpperCase"===e["sap:display-format"]&&a.push({term:"com.sap.vocabularies.Common.v1.IsUpperCase",value:{type:"Bool",Bool:!0}}),e["sap:lower-boundary"]||e["sap:upper-boundary"]){const t=[];e["sap:lower-boundary"]&&t.push({name:"LowerBoundary",value:{type:"PropertyPath",PropertyPath:e["sap:lower-boundary"]}}),e["sap:upper-boundary"]&&t.push({name:"UpperBoundary",value:{type:"PropertyPath",PropertyPath:e["sap:upper-boundary"]}}),a.push({term:"com.sap.vocabularies.Common.v1.Interval",record:{propertyValues:t}})}return e["sap:field-control"]&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"Path",Path:e["sap:field-control"]}}),e["sap:applicable-path"]&&a.push({term:"Org.OData.Core.V1.OperationAvailable",value:{type:"Path",Path:e["sap:applicable-path"]}}),e["sap:minoccurs"]&&a.push({term:"com.sap.vocabularies.Common.v1.MinOccurs",value:{type:"Int",Int:parseInt(e["sap:minoccurs"])}}),e["sap:maxoccurs"]&&a.push({term:"com.sap.vocabularies.Common.v1.MaxOccurs",value:{type:"Int",Int:parseInt(e["sap:maxoccurs"])}}),"mandatory"===e["sap:parameter"]&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"EnumMember",EnumMember:"Common.FieldControlType/Mandatory"}}),"optional"===e["sap:parameter"]&&a.push({term:"com.sap.vocabularies.Common.v1.FieldControl",value:{type:"EnumMember",EnumMember:"Common.FieldControlType/Optional"}}),e["sap:attribute-for"]&&a.push({term:"com.sap.vocabularies.Common.v1.Attributes",value:{type:"Collection",Collection:[{type:"PropertyPath",PropertyPath:n}]}}),a}},9520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomAction=t.enhanceManifestAndGetActionsElementReference=void 0;const a=n(5955),r=n(6244),i=n(4022),o=n(5622),s=n(5179),c=n(1386),l=n(6201);function u(e,t){const n=e["sap.ui5"].routing.targets[t.page];if(n.options=n.options||{},n.options.settings=n.options.settings||{},t.control===i.TargetControl.header||t.control===i.TargetControl.footer)return n.options.settings.content=n.options.settings.content||{},n.options.settings.content[t.control]=n.options.settings.content[t.control]||{},n.options.settings.content[t.control].actions=n.options.settings.content[t.control].actions||{},n.options.settings.content[t.control].actions;{const e=t.navProperty?t.navProperty+"/":"",a=t.qualifier?"#"+t.qualifier:"",r=`${e}${t.control}${a}`;return n.options.settings.controlConfiguration=n.options.settings.controlConfiguration||{},n.options.settings.controlConfiguration[r]=n.options.settings.controlConfiguration[r]||{},n.options.settings.controlConfiguration[r].actions=n.options.settings.controlConfiguration[r].actions||{},n.options.settings.controlConfiguration[r].actions}}t.enhanceManifestAndGetActionsElementReference=u,t.generateCustomAction=function(e,t,n){(0,c.validateVersion)(t.ui5Version),n||(n=(0,r.create)((0,a.create)())),(0,c.validateBasePath)(e,n);const i=(0,o.join)(e,"webapp/manifest.json"),p=n.readJSON(i),f=function(e,t,n){const a=Object.assign(Object.assign({},e),{target:Object.assign({},e.target),settings:Object.assign({},e.settings)});return(0,l.setCommonDefaults)(a,t,n),a.settings.enabled=a.settings.enabled||!0,a.settings.visible=a.settings.visible||!0,a}(t,i,p),d=(0,o.join)(__dirname,"../../templates");!0===f.settings.eventHandler&&(n.copyTpl((0,o.join)(d,"common/EventHandler.js"),(0,o.join)(f.path,`${f.name}.js`),f),f.settings.eventHandler=`${f.ns}.${f.name}.onPress`);const h=u(p,f.target);return Object.assign(h,JSON.parse((0,s.render)(n.read((0,o.join)(d,"action/manifest.action.json")),f))),n.writeJSON(i,p),n}},4022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TargetControl=void 0,function(e){e.header="header",e.footer="footer",e.section="@com.sap.vocabularies.UI.v1.FieldGroup",e.table="@com.sap.vocabularies.UI.v1.LineItem"}(t.TargetControl||(t.TargetControl={}))},8536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomColumn=t.getManifestRoot=void 0;const a=n(1386),r=n(5955),i=n(6244),o=n(5622),s=n(5179),c=n(6201);function l(e){return void 0===e||e>=1.86?(0,o.join)(__dirname,"../../templates/column/1.86"):1.85===e?(0,o.join)(__dirname,"../../templates/column/1.85"):(0,o.join)(__dirname,"../../templates/column/1.84")}t.getManifestRoot=l,t.generateCustomColumn=function(e,t,n){(0,a.validateVersion)(t.ui5Version),n||(n=(0,i.create)((0,r.create)())),(0,a.validateBasePath)(e,n);const u=(0,o.join)(e,"webapp/manifest.json"),p=n.readJSON(u),f=(0,o.join)(__dirname,"../../templates"),d=function(e,t,n){const a=Object.assign({},e);(0,c.setCommonDefaults)(a,t,n),!0===a.eventHandler&&(a.eventHandler=`${a.ns}.${a.name}.onPress`);const r=a.properties&&a.properties.length>0?`{=%{${a.properties.join("} + ' ' + %{")}}}`:"Sample Text";return a.content=a.control||(0,c.getDefaultFragmentContent)(r,a.eventHandler),a}(t,u,p);d.eventHandler&&n.copyTpl((0,o.join)(f,"common/EventHandler.js"),(0,o.join)(d.path,`${d.name}.js`),d);const h=l(t.ui5Version),g=(0,s.render)(n.read((0,o.join)(h,"manifest.json")),d);n.extendJSON(u,JSON.parse(g));const m=(0,o.join)(d.path,`${d.name}.fragment.xml`);return n.copyTpl((0,o.join)(f,"common/Fragment.xml"),m,d),n}},6201:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultFragmentContent=t.setCommonDefaults=void 0;const a=n(5622);t.setCommonDefaults=function(e,t,n){const r=e.name[0];return e.name=r.toUpperCase()+e.name.substring(1),e.folder=e.folder||`ext/${r.toLocaleLowerCase()+e.name.substring(1)}`,e.ns=`${n["sap.app"].id}.${e.folder.replace(/\//g,".")}`,e.path=(0,a.join)((0,a.dirname)(t),e.folder),e},t.getDefaultFragmentContent=function(e,t){let n;if(t){const a=t.split("."),r=a.pop();n=`<Button core:require="{ handler: '${a.join("/")}'}" text="${e}" press="handler.${r}" />`}else n=`<Text text="${e}" />`;return n}},1386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBasePath=t.validateVersion=void 0;const a=n(5622),r=n(5955),i=n(6244);t.validateVersion=function(e){if(e&&e<1.84)throw new Error("SAP Fiori elements for OData v4 is only supported starting with SAPUI5 1.84.");return!0},t.validateBasePath=function(e,t){var n,o,s;t||(t=(0,i.create)((0,r.create)()));const c=(0,a.join)(e,"webapp","manifest.json");if(!t.exists(c))throw new Error(`Invalid project folder. Cannot find required file ${c}`);if(void 0!==(null===(s=null===(o=null===(n=t.readJSON(c)["sap.ui5"])||void 0===n?void 0:n.dependencies)||void 0===o?void 0:o.libs)||void 0===s?void 0:s["sap.fe.templates"])==!1)throw new Error("Dependency sap.fe.templates is missing in the manifest.json. Fiori elements FPM requires the SAP FE libraries.");return!0}},8861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateVersion=t.validateBasePath=t.generateCustomSection=t.generateCustomColumn=t.generateCustomAction=t.TargetControl=t.generateCustomPage=void 0;var a=n(8071);Object.defineProperty(t,"generateCustomPage",{enumerable:!0,get:function(){return a.generateCustomPage}});var r=n(4022);Object.defineProperty(t,"TargetControl",{enumerable:!0,get:function(){return r.TargetControl}});var i=n(9520);Object.defineProperty(t,"generateCustomAction",{enumerable:!0,get:function(){return i.generateCustomAction}});var o=n(8536);Object.defineProperty(t,"generateCustomColumn",{enumerable:!0,get:function(){return o.generateCustomColumn}});var s=n(7646);Object.defineProperty(t,"generateCustomSection",{enumerable:!0,get:function(){return s.generateCustomSection}});var c=n(1386);Object.defineProperty(t,"validateBasePath",{enumerable:!0,get:function(){return c.validateBasePath}}),Object.defineProperty(t,"validateVersion",{enumerable:!0,get:function(){return c.validateVersion}})},4822:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enhanceData=void 0;const a=n(6201);t.enhanceData=function(e,t,n){const r=n.readJSON(t),i=(0,a.setCommonDefaults)(e,t,r);return void 0===i.view&&(i.view={title:i.name}),i}},8071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomPage=t.validateCustomPageConfig=t.getTemplateRoot=void 0;const a=n(5622),r=n(5955),i=n(6244),o=n(5179),s=n(4822),c=n(1386);function l(e){return void 0===e||e>=1.94?(0,a.join)(__dirname,"../../templates/page/1.94"):(0,a.join)(__dirname,"../../templates/page/1.84")}function u(e,t,n){var o,s;(0,c.validateVersion)(t.ui5Version),n||(n=(0,i.create)((0,r.create)())),(0,c.validateBasePath)(e,n);const l=n.readJSON((0,a.join)(e,"webapp/manifest.json"));if(t.navigation){if(!(null===(s=null===(o=l["sap.ui5"])||void 0===o?void 0:o.routing)||void 0===s?void 0:s.targets[t.navigation.sourcePage]))throw new Error(`Could not find navigation source ${t.navigation.sourcePage}!`);const e=l["sap.ui5"].routing.routes.find((e=>{var n;return e.name===(null===(n=t.navigation)||void 0===n?void 0:n.sourcePage)}));if(!e||!e.pattern||!e.target)throw new Error(`Missing or invalid routing configuration for navigation source ${t.navigation.sourcePage}!`)}return n}t.getTemplateRoot=l,t.validateCustomPageConfig=u,t.generateCustomPage=function(e,t,n){n=u(e,t,n);const r=(0,a.join)(e,"webapp/manifest.json"),i=(0,s.enhanceData)(t,r,n),c=l(t.ui5Version);return n.extendJSON(r,JSON.parse((0,o.render)(n.read((0,a.join)(c,"manifest.json")),i)),((e,t)=>("routes"===e&&function(e,t){const n={name:`${t.entity}${t.name}`};if(t.navigation){const a=e.find((e=>{var n;return e.name===(null===(n=t.navigation)||void 0===n?void 0:n.sourcePage)}));if(n.pattern=`${null==a?void 0:a.pattern.replace(":?query:","")}/${t.navigation.navEntity}({${t.navigation.navEntity}Key}):?query:`,(null==a?void 0:a.target.constructor)===Array){const e=a.target;n.target=e.length>2?[n.name]:[...e,n.name]}else n.target=n.name}else n.pattern=`${t.entity}({key}):?query:`,n.target=n.name;e.push(n)}(t,i),t))),n.copyTpl((0,a.join)(c,"ext/View.xml"),(0,a.join)(i.path,`${i.name}.view.xml`),i),n.copyTpl((0,a.join)(c,"ext/Controller.js"),(0,a.join)(i.path,`${i.name}.controller.js`),i),n}},7646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCustomSection=void 0;const a=n(5955),r=n(6244),i=n(5622),o=n(5179),s=n(1386),c=n(6201);t.generateCustomSection=function(e,t,n){(0,s.validateVersion)(t.ui5Version),n||(n=(0,r.create)((0,a.create)())),(0,s.validateBasePath)(e,n);const l=(0,i.join)(e,"webapp/manifest.json"),u=n.readJSON(l),p=(0,i.join)(__dirname,"../../templates"),f=function(e,t,n){const a=Object.assign({},e);return(0,c.setCommonDefaults)(a,t,n),!0===a.eventHandler&&(a.eventHandler=`${a.ns}.${a.name}.onPress`),a.content=a.control||(0,c.getDefaultFragmentContent)(a.name,a.eventHandler),a}(t,l,u);f.eventHandler&&n.copyTpl((0,i.join)(p,"common/EventHandler.js"),(0,i.join)(f.path,`${f.name}.js`),f);const d=(0,o.render)(n.read((0,i.join)(p,"section/manifest.section.json")),f);n.extendJSON(l,JSON.parse(d));const h=(0,i.join)(f.path,`${f.name}.fragment.xml`);return n.copyTpl((0,i.join)(p,"common/Fragment.xml"),h,f),n}},6162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Multiplicity=void 0,function(e){e.One="1",e.ZeroOrOne="0..1",e.Many="*",e.Unknown="unknown"}(t.Multiplicity||(t.Multiplicity={}))},2281:(e,t,n)=>{e.exports={change:n(6527)}},6527:e=>{let t=0;const n="changeUtils: ";function a(e){return JSON.stringify({fileName:e.id||("id-"+(new Date).valueOf()+"-"+t++).replace(/-/g,"_")+"_"+e.type,fileType:"change",changeType:e.type,moduleName:"",reference:e.reference,packageName:"",content:e.content||{},selector:{id:e.controlId,idIsLocal:!1,type:e.controlType},layer:e.isCustomer?"CUSTOMER_BASE":"VENDOR",texts:{},namespace:"apps/"+e.reference.replace(".Component","")+"/changes/",projectId:e.projectId,creation:e.creation||(new Date).valueOf(),originalLanguage:"",support:{generator:n+e.creatingTool,service:"",user:"",sapui5Version:e.sapui5Version,sourceChangeFileName:"",compositeCommand:""},oDataInformation:{},dependentSelector:{},validAppVersions:{from:e.appVersion,to:e.appVersion,creation:e.appVersion},jsOnly:!1,variantReference:"",appDescriptorChange:!1})}e.exports={parse:function(e){const t=JSON.parse(e);if(!(t.fileName&&t.changeType&&t.selector&&t.reference&&t.creation&&t.content&&t.layer&&t.support))throw Error("Parsed object does not contain all required parameters");return{id:t.fileName,reference:t.reference,appVersion:t.validAppVersions?t.validAppVersions.creation:"",creation:t.creation,projectId:t.projectId,type:t.changeType,controlId:t.selector.id,controlType:t.selector.type,isCustomer:"CUSTOMER_BASE"===t.layer,creatingTool:t.support.generator.replace(n,""),content:t.content,sapui5Version:t.support.sapui5Version}},createChangeString:function(e,t){if(!e.type||!e.controlId||"boolean"!=typeof e.isCustomer||!e.creatingTool)throw Error("not all property parameters of the change were provided");if(!t)throw Error("no manifest was provided");return e.reference=function(e){const t=e["sap.ui5"];if(t){if(t.appVariantId)return t.appVariantId;if(t.componentName)return(n=t.componentName)&&n.indexOf(".Component")<0&&(n+=".Component"),n}var n;const a=e["sap.app"];if(!a||!a.id)throw Error("app ID could not be determined");return a.id}(t),e.appVersion=function(e){const t=e["sap.app"];if(!t||!t.applicationVersion||!t.applicationVersion.version)throw Error("app version could not be determined");return t.applicationVersion.version}(t),e.projectId=function(e,t){return e&&e["sap.app"]&&e["sap.app"].sourceTemplate&&["ui5template.smartTemplate","ui5template.smarttemplate"].includes(e["sap.app"].sourceTemplate.id)?t:""}(t,e.reference),a(e)},toString:function(e){if(!(e.type&&e.controlId&&"boolean"==typeof e.isCustomer&&e.creatingTool&&e.reference&&e.appVersion))throw Error("not all parameters of the change were provided");return a(e)}}},1199:(e,t,n)=>{"use strict";var a=n(5520),r=n(216),i=n(294),o=n(493),s=n(9003),c=n(8636),l=n(4653),u=n(5701),p=n(7559);e.exports=y,y.prototype.validate=function(e,t){var n;if("string"==typeof e){if(!(n=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var a=this._addSchema(e);n=a.validate||this._compile(a)}var r=n(t);!0!==n.$async&&(this.errors=n.errors);return r},y.prototype.compile=function(e,t){var n=this._addSchema(e,void 0,t);return n.validate||this._compile(n)},y.prototype.addSchema=function(e,t,n,a){if(Array.isArray(e)){for(var i=0;i<e.length;i++)this.addSchema(e[i],void 0,n,a);return this}var o=this._getId(e);if(void 0!==o&&"string"!=typeof o)throw new Error("schema id must be string");return O(this,t=r.normalizeId(t||o)),this._schemas[t]=this._addSchema(e,n,a,!0),this},y.prototype.addMetaSchema=function(e,t,n){return this.addSchema(e,t,n,!0),this},y.prototype.validateSchema=function(e,t){var n=e.$schema;if(void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(!(n=n||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(h)?h:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(n,e);if(!a&&t){var r="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(r);this.logger.error(r)}return a},y.prototype.getSchema=function(e){var t=v(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var n=r.schema.call(e,{schema:{}},t);if(n){var i=n.schema,s=n.root,c=n.baseId,l=a.call(e,i,s,void 0,c);return e._fragments[t]=new o({ref:t,fragment:!0,schema:i,root:s,baseId:c,validate:l}),l}}(this,e)}},y.prototype.removeSchema=function(e){if(e instanceof RegExp)return b(this,this._schemas,e),b(this,this._refs,e),this;switch(typeof e){case"undefined":return b(this,this._schemas),b(this,this._refs),this._cache.clear(),this;case"string":var t=v(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var n=this._opts.serialize,a=n?n(e):e;this._cache.del(a);var i=this._getId(e);i&&(i=r.normalizeId(i),delete this._schemas[i],delete this._refs[i])}return this},y.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t));return this._formats[e]=t,this},y.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var n=void 0===(t=t||{}).separator?", ":t.separator,a=void 0===t.dataVar?"data":t.dataVar,r="",i=0;i<e.length;i++){var o=e[i];o&&(r+=a+o.dataPath+" "+o.message+n)}return r.slice(0,-n.length)},y.prototype._addSchema=function(e,t,n,a){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var i=this._opts.serialize,s=i?i(e):e,c=this._cache.get(s);if(c)return c;a=a||!1!==this._opts.addUsedSchema;var l=r.normalizeId(this._getId(e));l&&a&&O(this,l);var u,p=!1!==this._opts.validateSchema&&!t;p&&!(u=l&&l==r.normalizeId(e.$schema))&&this.validateSchema(e,!0);var f=r.ids.call(this,e),d=new o({id:l,schema:e,localRefs:f,cacheKey:s,meta:n});"#"!=l[0]&&a&&(this._refs[l]=d);this._cache.put(s,d),p&&u&&this.validateSchema(e,!0);return d},y.prototype._compile=function(e,t){if(e.compiling)return e.validate=i,i.schema=e.schema,i.errors=null,i.root=t||i,!0===e.schema.$async&&(i.$async=!0),i;var n,r;e.compiling=!0,e.meta&&(n=this._opts,this._opts=this._metaOpts);try{r=a.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=n)}return e.validate=r,e.refs=r.refs,e.refVal=r.refVal,e.root=r.root,r;function i(){var t=e.validate,n=t.apply(this,arguments);return i.errors=t.errors,n}},y.prototype.compileAsync=n(7850);var f=n(6019);y.prototype.addKeyword=f.add,y.prototype.getKeyword=f.get,y.prototype.removeKeyword=f.remove,y.prototype.validateKeyword=f.validate;var d=n(5587);y.ValidationError=d.Validation,y.MissingRefError=d.MissingRef,y.$dataMetaSchema=u;var h="http://json-schema.org/draft-07/schema",g=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],m=["/properties"];function y(e){if(!(this instanceof y))return new y(e);e=this._opts=p.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:_,warn:_,error:_};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=c(e.format),this._cache=e.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=l(),this._getId=function(e){switch(e.schemaId){case"auto":return T;case"id":return P;default:return S}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=s),this._metaOpts=function(e){for(var t=p.copy(e._opts),n=0;n<g.length;n++)delete t[g[n]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var n=e._opts.formats[t];e.addFormat(t,n)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var n=e._opts.keywords[t];e.addKeyword(t,n)}}(this),function(e){var t;e._opts.$data&&(t=n(601),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var a=n(8938);e._opts.$data&&(a=u(a,m));e.addMetaSchema(a,h,!0),e._refs["http://json-schema.org/schema"]=h}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var n in t)e.addSchema(t[n],n)}(this)}function v(e,t){return t=r.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function b(e,t,n){for(var a in t){var r=t[a];r.meta||n&&!n.test(a)||(e._cache.del(r.cacheKey),delete t[a])}}function P(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function S(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function T(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function O(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function _(){}},294:e=>{"use strict";var t=e.exports=function(){this._cache={}};t.prototype.put=function(e,t){this._cache[e]=t},t.prototype.get=function(e){return this._cache[e]},t.prototype.del=function(e){delete this._cache[e]},t.prototype.clear=function(){this._cache={}}},7850:(e,t,n)=>{"use strict";var a=n(5587).MissingRef;e.exports=function e(t,n,r){var i=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof n&&(r=n,n=void 0);var o=s(t).then((function(){var e=i._addSchema(t,void 0,n);return e.validate||c(e)}));r&&o.then((function(e){r(null,e)}),r);return o;function s(t){var n=t.$schema;return n&&!i.getSchema(n)?e.call(i,{$ref:n},!0):Promise.resolve()}function c(e){try{return i._compile(e)}catch(t){if(t instanceof a)return function(t){var a=t.missingSchema;if(l(a))throw new Error("Schema "+a+" is loaded but "+t.missingRef+" cannot be resolved");var r=i._loadingSchemas[a];r||(r=i._loadingSchemas[a]=i._opts.loadSchema(a)).then(o,o);return r.then((function(e){if(!l(a))return s(e).then((function(){l(a)||i.addSchema(e,a,void 0,n)}))})).then((function(){return c(e)}));function o(){delete i._loadingSchemas[a]}function l(e){return i._refs[e]||i._schemas[e]}}(t);throw t}}}},5587:(e,t,n)=>{"use strict";var a=n(216);function r(e,t,n){this.message=n||r.message(e,t),this.missingRef=a.url(e,t),this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function i(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:i((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:i(r)},r.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},8636:(e,t,n)=>{"use strict";var a=n(7559),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,s=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,c=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,l=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,p=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,f=/^(?:\/(?:[^~/]|~0|~1)*)*$/,d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function g(e){return e="full"==e?"full":"fast",a.copy(g[e])}function m(e){var t=e.match(r);if(!t)return!1;var n=+t[1],a=+t[2],o=+t[3];return a>=1&&a<=12&&o>=1&&o<=(2==a&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(n)?29:i[a])}function y(e,t){var n=e.match(o);if(!n)return!1;var a=n[1],r=n[2],i=n[3],s=n[5];return(a<=23&&r<=59&&i<=59||23==a&&59==r&&60==i)&&(!t||s)}e.exports=g,g.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":l,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:S,uuid:p,"json-pointer":f,"json-pointer-uri-fragment":d,"relative-json-pointer":h},g.full={date:m,time:y,"date-time":function(e){var t=e.split(v);return 2==t.length&&m(t[0])&&y(t[1],!0)},uri:function(e){return b.test(e)&&c.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":l,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:S,uuid:p,"json-pointer":f,"json-pointer-uri-fragment":d,"relative-json-pointer":h};var v=/t|\s/i;var b=/\/|:/;var P=/[^\\]\\Z/;function S(e){if(P.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},5520:(e,t,n)=>{"use strict";var a=n(216),r=n(7559),i=n(5587),o=n(9003),s=n(2599),c=r.ucs2length,l=n(8926),u=i.Validation;function p(e,t,n){var a=d.call(this,e,t,n);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:e,root:t,baseId:n},{index:a,compiling:!1})}function f(e,t,n){var a=d.call(this,e,t,n);a>=0&&this._compilations.splice(a,1)}function d(e,t,n){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==e&&r.root==t&&r.baseId==n)return a}return-1}function h(e,t){return"var pattern"+e+" = new RegExp("+r.toQuotedString(t[e])+");"}function g(e){return"var default"+e+" = defaults["+e+"];"}function m(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function y(e){return"var customRule"+e+" = customRules["+e+"];"}function v(e,t){if(!e.length)return"";for(var n="",a=0;a<e.length;a++)n+=t(a,e);return n}e.exports=function e(t,n,d,b){var P=this,S=this._opts,T=[void 0],O={},_=[],E={},C=[],A={},I=[];n=n||{schema:t,refVal:T,refs:O};var R=p.call(this,t,n,b),x=this._compilations[R.index];if(R.compiling)return x.callValidate=function e(){var t=x.validate,n=t.apply(this,arguments);return e.errors=t.errors,n};var F=this._formats,w=this.RULES;try{var j=L(t,n,d,b);x.validate=j;var N=x.callValidate;return N&&(N.schema=j.schema,N.errors=null,N.refs=j.refs,N.refVal=j.refVal,N.root=j.root,N.$async=j.$async,S.sourceCode&&(N.source=j.source)),j}finally{f.call(this,t,n,b)}function L(t,o,p,f){var d=!o||o&&o.schema==t;if(o.schema!=n.schema)return e.call(P,t,o,p,f);var b,E=!0===t.$async,A=s({isTop:!0,schema:t,isRoot:d,baseId:f,root:o,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:w,validate:s,util:r,resolve:a,resolveRef:D,usePattern:k,useDefault:$,useCustomRule:B,opts:S,formats:F,logger:P.logger,self:P});A=v(T,m)+v(_,h)+v(C,g)+v(I,y)+A,S.processCode&&(A=S.processCode(A,t));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",A)(P,w,F,n,T,C,I,l,c,u),T[0]=b}catch(e){throw P.logger.error("Error compiling schema, function code:",A),e}return b.schema=t,b.errors=null,b.refs=O,b.refVal=T,b.root=d?b:o,E&&(b.$async=!0),!0===S.sourceCode&&(b.source={code:A,patterns:_,defaults:C}),b}function D(t,r,i){r=a.url(t,r);var o,s,c=O[r];if(void 0!==c)return M(o=T[c],s="refVal["+c+"]");if(!i&&n.refs){var l=n.refs[r];if(void 0!==l)return M(o=n.refVal[l],s=V(r,o))}s=V(r);var u=a.call(P,L,n,r);if(void 0===u){var p=d&&d[r];p&&(u=a.inlineRef(p,S.inlineRefs)?p:e.call(P,p,n,d,t))}if(void 0!==u)return function(e,t){var n=O[e];T[n]=t}(r,u),M(u,s);!function(e){delete O[e]}(r)}function V(e,t){var n=T.length;return T[n]=t,O[e]=n,"refVal"+n}function M(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function k(e){var t=E[e];return void 0===t&&(t=E[e]=_.length,_[t]=e),"pattern"+t}function $(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return r.toQuotedString(e);case"object":if(null===e)return"null";var t=o(e),n=A[t];return void 0===n&&(n=A[t]=C.length,C[n]=e),"default"+n}}function B(e,t,n,a){if(!1!==P._opts.validateSchema){var r=e.definition.dependencies;if(r&&!r.every((function(e){return Object.prototype.hasOwnProperty.call(n,e)})))throw new Error("parent schema must have all required keywords: "+r.join(","));var i=e.definition.validateSchema;if(i)if(!i(t)){var o="keyword schema is invalid: "+P.errorsText(i.errors);if("log"!=P._opts.validateSchema)throw new Error(o);P.logger.error(o)}}var s,c=e.definition.compile,l=e.definition.inline,u=e.definition.macro;if(c)s=c.call(P,t,n,a);else if(u)s=u.call(P,t,n,a),!1!==S.validateSchema&&P.validateSchema(s,!0);else if(l)s=l.call(P,a,e.keyword,t,n);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var p=I.length;return I[p]=s,{code:"customRule"+p,validate:s}}}},216:(e,t,n)=>{"use strict";var a=n(5858),r=n(8926),i=n(7559),o=n(493),s=n(8125);function c(e,t,n){var a=this._refs[n];if("string"==typeof a){if(!this._refs[a])return c.call(this,e,t,a);a=this._refs[a]}if((a=a||this._schemas[n])instanceof o)return h(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r,i,s,u=l.call(this,t,n);return u&&(r=u.schema,t=u.root,s=u.baseId),r instanceof o?i=r.validate||e.call(this,r.schema,t,void 0,s):void 0!==r&&(i=h(r,this._opts.inlineRefs)?r:e.call(this,r,t,void 0,s)),i}function l(e,t){var n=a.parse(t),r=v(n),i=y(this._getId(e.schema));if(0===Object.keys(e.schema).length||r!==i){var s=P(r),c=this._refs[s];if("string"==typeof c)return u.call(this,e,c,n);if(c instanceof o)c.validate||this._compile(c),e=c;else{if(!((c=this._schemas[s])instanceof o))return;if(c.validate||this._compile(c),s==P(t))return{schema:c,root:e,baseId:i};e=c}if(!e.schema)return;i=y(this._getId(e.schema))}return f.call(this,n,i,e.schema,e)}function u(e,t,n){var a=l.call(this,e,t);if(a){var r=a.schema,i=a.baseId;e=a.root;var o=this._getId(r);return o&&(i=S(i,o)),f.call(this,n,i,r,e)}}e.exports=c,c.normalizeId=P,c.fullPath=y,c.url=S,c.ids=function(e){var t=P(this._getId(e)),n={"":t},o={"":y(t,!1)},c={},l=this;return s(e,{allKeys:!0},(function(e,t,s,u,p,f,d){if(""!==t){var h=l._getId(e),g=n[u],m=o[u]+"/"+p;if(void 0!==d&&(m+="/"+("number"==typeof d?d:i.escapeFragment(d))),"string"==typeof h){h=g=P(g?a.resolve(g,h):h);var y=l._refs[h];if("string"==typeof y&&(y=l._refs[y]),y&&y.schema){if(!r(e,y.schema))throw new Error('id "'+h+'" resolves to more than one schema')}else if(h!=P(m))if("#"==h[0]){if(c[h]&&!r(e,c[h]))throw new Error('id "'+h+'" resolves to more than one schema');c[h]=e}else l._refs[h]=m}n[t]=g,o[t]=m}})),c},c.inlineRef=h,c.schema=l;var p=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function f(e,t,n,a){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var r=e.fragment.split("/"),o=1;o<r.length;o++){var s=r[o];if(s){if(void 0===(n=n[s=i.unescapeFragment(s)]))break;var c;if(!p[s]&&((c=this._getId(n))&&(t=S(t,c)),n.$ref)){var u=S(t,n.$ref),f=l.call(this,a,u);f&&(n=f.schema,a=f.root,t=f.baseId)}}}return void 0!==n&&n!==a.schema?{schema:n,root:a,baseId:t}:void 0}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function h(e,t){return!1!==t&&(void 0===t||!0===t?g(e):t?m(e)<=t:void 0)}function g(e){var t;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&!g(t))return!1}else for(var a in e){if("$ref"==a)return!1;if("object"==typeof(t=e[a])&&!g(t))return!1}return!0}function m(e){var t,n=0;if(Array.isArray(e)){for(var a=0;a<e.length;a++)if("object"==typeof(t=e[a])&&(n+=m(t)),n==1/0)return 1/0}else for(var r in e){if("$ref"==r)return 1/0;if(d[r])n++;else if("object"==typeof(t=e[r])&&(n+=m(t)+1),n==1/0)return 1/0}return n}function y(e,t){return!1!==t&&(e=P(e)),v(a.parse(e))}function v(e){return a.serialize(e).split("#")[0]+"#"}var b=/#\/?$/;function P(e){return e?e.replace(b,""):""}function S(e,t){return t=P(t),a.resolve(e,t)}},4653:(e,t,n)=>{"use strict";var a=n(4478),r=n(7559).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=r(t),e.types=r(["number","integer","string","array","object","boolean","null"]),e.forEach((function(n){n.rules=n.rules.map((function(n){var r;if("object"==typeof n){var i=Object.keys(n)[0];r=n[i],n=i,r.forEach((function(n){t.push(n),e.all[n]=!0}))}return t.push(n),e.all[n]={keyword:n,code:a[n],implements:r}})),e.all.$comment={keyword:"$comment",code:a.$comment},n.type&&(e.types[n.type]=n)})),e.keywords=r(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},493:(e,t,n)=>{"use strict";var a=n(7559);e.exports=function(e){a.copy(e,this)}},7463:e=>{"use strict";e.exports=function(e){for(var t,n=0,a=e.length,r=0;r<a;)n++,(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<a&&56320==(64512&(t=e.charCodeAt(r)))&&r++;return n}},7559:(e,t,n)=>{"use strict";function a(e,t,n,a){var r=a?" !== ":" === ",i=a?" || ":" && ",o=a?"!":"",s=a?"":"!";switch(e){case"null":return t+r+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+i+"typeof "+t+r+'"object"'+i+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+i+s+"("+t+" % 1)"+i+t+r+t+(n?i+o+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+r+'"'+e+'"'+(n?i+o+"isFinite("+t+")":"")+")";default:return"typeof "+t+r+'"'+e+'"'}}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:a,checkDataTypes:function(e,t,n){switch(e.length){case 1:return a(e[0],t,n,!0);default:var r="",o=i(e);for(var s in o.array&&o.object&&(r=o.null?"(":"(!"+t+" || ",r+="typeof "+t+' !== "object")',delete o.null,delete o.array,delete o.object),o.number&&delete o.integer,o)r+=(r?" && ":"")+a(s,t,n,!0);return r}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],a=0;a<t.length;a++){var i=t[a];(r[i]||"array"===e&&"array"===i)&&(n[n.length]=i)}if(n.length)return n}else{if(r[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:i,getProperty:c,escapeQuotes:l,equal:n(8926),ucs2length:n(7463),varOccurences:function(e,t){t+="[^0-9]";var n=e.match(new RegExp(t,"g"));return n?n.length:0},varReplace:function(e,t,n){return t+="([^0-9])",n=n.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),n+"$1")},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var n in e)if(t[n])return!0},schemaHasRulesExcept:function(e,t,n){if("boolean"==typeof e)return!e&&"not"!=n;for(var a in e)if(a!=n&&t[a])return!0},schemaUnknownRules:function(e,t){if("boolean"==typeof e)return;for(var n in e)if(!t[n])return n},toQuotedString:u,getPathExpr:function(e,t,n,a){return d(e,n?"'/' + "+t+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,n){var a=u(n?"/"+h(t):c(t));return d(e,a)},getData:function(e,t,n){var a,r,i,o;if(""===e)return"rootData";if("/"==e[0]){if(!p.test(e))throw new Error("Invalid JSON-pointer: "+e);r=e,i="rootData"}else{if(!(o=e.match(f)))throw new Error("Invalid JSON-pointer: "+e);if(a=+o[1],"#"==(r=o[2])){if(a>=t)throw new Error("Cannot access property/index "+a+" levels up, current level is "+t);return n[t-a]}if(a>t)throw new Error("Cannot access data "+a+" levels up, current level is "+t);if(i="data"+(t-a||""),!r)return i}for(var s=i,l=r.split("/"),u=0;u<l.length;u++){var d=l[u];d&&(i+=c(g(d)),s+=" && "+i)}return s},unescapeFragment:function(e){return g(decodeURIComponent(e))},unescapeJsonPointer:g,escapeFragment:function(e){return encodeURIComponent(h(e))},escapeJsonPointer:h};var r=i(["string","number","integer","boolean","null"]);function i(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var o=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function c(e){return"number"==typeof e?"["+e+"]":o.test(e)?"."+e:"['"+l(e)+"']"}function l(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function u(e){return"'"+l(e)+"'"}var p=/^\/(?:[^~]|~0|~1)*$/,f=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function d(e,t){return'""'==e?t:(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function h(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function g(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},5701:e=>{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,n){for(var a=0;a<n.length;a++){e=JSON.parse(JSON.stringify(e));var r,i=n[a].split("/"),o=e;for(r=1;r<i.length;r++)o=o[i[r]];for(r=0;r<t.length;r++){var s=t[r],c=o[s];c&&(o[s]={anyOf:[c,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e}},4614:(e,t,n)=>{"use strict";var a=n(8938);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:a.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:a.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},5946:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s;var d="maximum"==t,h=d?"exclusiveMaximum":"exclusiveMinimum",g=e.schema[h],m=e.opts.$data&&g&&g.$data,y=d?"<":">",v=d?">":"<",b=void 0;if(!f&&"number"!=typeof s&&void 0!==s)throw new Error(t+" must be number");if(!m&&void 0!==g&&"number"!=typeof g&&"boolean"!=typeof g)throw new Error(h+" must be number or boolean");if(m){var P=e.util.getData(g.$data,o,e.dataPathArr),S="exclusive"+i,T="exclType"+i,O="exclIsNumber"+i,_="' + "+(A="op"+i)+" + '";r+=" var schemaExcl"+i+" = "+P+"; ",r+=" var "+S+"; var "+T+" = typeof "+(P="schemaExcl"+i)+"; if ("+T+" != 'boolean' && "+T+" != 'undefined' && "+T+" != 'number') { ";var E;b=h;(E=E||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: '"+h+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var C=r;r=E.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+C+"]); ":r+=" validate.errors = ["+C+"]; return false; ":r+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" "+T+" == 'number' ? ( ("+S+" = "+a+" === undefined || "+P+" "+y+"= "+a+") ? "+p+" "+v+"= "+P+" : "+p+" "+v+" "+a+" ) : ( ("+S+" = "+P+" === true) ? "+p+" "+v+"= "+a+" : "+p+" "+v+" "+a+" ) || "+p+" !== "+p+") { var op"+i+" = "+S+" ? '"+y+"' : '"+y+"='; ",void 0===s&&(b=h,l=e.errSchemaPath+"/"+h,a=P,f=m)}else{_=y;if((O="number"==typeof g)&&f){var A="'"+_+"'";r+=" if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" ( "+a+" === undefined || "+g+" "+y+"= "+a+" ? "+p+" "+v+"= "+g+" : "+p+" "+v+" "+a+" ) || "+p+" !== "+p+") { "}else{O&&void 0===s?(S=!0,b=h,l=e.errSchemaPath+"/"+h,a=g,v+="="):(O&&(a=Math[d?"min":"max"](g,s)),g===(!O||a)?(S=!0,b=h,l=e.errSchemaPath+"/"+h,v+="="):(S=!1,_+="="));A="'"+_+"'";r+=" if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" "+p+" "+v+" "+a+" || "+p+" !== "+p+") { "}}b=b||t,(E=E||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+A+", limit: "+a+", exclusive: "+S+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be "+_+" ",r+=f?"' + "+a:a+"'"),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";C=r;return r=E.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+C+"]); ":r+=" validate.errors = ["+C+"]; return false; ":r+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}},953:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" "+p+".length "+("maxItems"==t?">":"<")+" "+a+") { ";var d=t,h=h||[];h.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxItems"==t?"more":"fewer",r+=" than ",r+=f?"' + "+a+" + '":""+s,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var g=r;return r=h.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},849:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");var d="maxLength"==t?">":"<";r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),!1===e.opts.unicode?r+=" "+p+".length ":r+=" ucs2length("+p+") ",r+=" "+d+" "+a+") { ";var h=t,g=g||[];g.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(h||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be ",r+="maxLength"==t?"longer":"shorter",r+=" than ",r+=f?"' + "+a+" + '":""+s,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var m=r;return r=g.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},6107:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),r+=" Object.keys("+p+").length "+("maxProperties"==t?">":"<")+" "+a+") { ";var d=t,h=h||[];h.push(r),r="",!1!==e.createErrors?(r+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have ",r+="maxProperties"==t?"more":"fewer",r+=" than ",r+=f?"' + "+a+" + '":""+s,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var g=r;return r=h.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},2809:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.schema[t],i=e.schemaPath+e.util.getProperty(t),o=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),l="";c.level++;var u="valid"+c.level,p=c.baseId,f=!0,d=r;if(d)for(var h,g=-1,m=d.length-1;g<m;)h=d[g+=1],(e.opts.strictKeywords?"object"==typeof h&&Object.keys(h).length>0||!1===h:e.util.schemaHasRules(h,e.RULES.all))&&(f=!1,c.schema=h,c.schemaPath=i+"["+g+"]",c.errSchemaPath=o+"/"+g,a+=" "+e.validate(c)+" ",c.baseId=p,s&&(a+=" if ("+u+") { ",l+="}"));return s&&(a+=f?" if (true) { ":" "+l.slice(0,-1)+" "),a}},3407:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e),h="";d.level++;var g="valid"+d.level;if(o.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0||!1===t:e.util.schemaHasRules(t,e.RULES.all)}))){var m=d.baseId;a+=" var "+f+" = errors; var "+p+" = false; ";var y=e.compositeRule;e.compositeRule=d.compositeRule=!0;var v=o;if(v)for(var b,P=-1,S=v.length-1;P<S;)b=v[P+=1],d.schema=b,d.schemaPath=s+"["+P+"]",d.errSchemaPath=c+"/"+P,a+=" "+e.validate(d)+" ",d.baseId=m,a+=" "+p+" = "+p+" || "+g+"; if (!"+p+") { ",h+="}";e.compositeRule=d.compositeRule=y,a+=" "+h+" if (!"+p+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else l&&(a+=" if (true) { ");return a}},8667:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.schema[t],i=e.errSchemaPath+"/"+t,o=(e.opts.allErrors,e.util.toQuotedString(r));return!0===e.opts.$comment?a+=" console.log("+o+");":"function"==typeof e.opts.$comment&&(a+=" self._opts.$comment("+o+", "+e.util.toQuotedString(i)+", validate.root.schema);"),a}},737:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f=e.opts.$data&&o&&o.$data;f&&(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; "),f||(a+=" var schema"+r+" = validate.schema"+s+";"),a+="var "+p+" = equal("+u+", schema"+r+"); if (!"+p+") { ";var d=d||[];d.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValue: schema"+r+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to constant' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var h=a;return a=d.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+h+"]); ":a+=" validate.errors = ["+h+"]; return false; ":a+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",l&&(a+=" else { "),a}},5894:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e);d.level++;var h="valid"+d.level,g="i"+r,m=d.dataLevel=e.dataLevel+1,y="data"+m,v=e.baseId,b=e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all);if(a+="var "+f+" = errors;var "+p+";",b){var P=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.schema=o,d.schemaPath=s,d.errSchemaPath=c,a+=" var "+h+" = false; for (var "+g+" = 0; "+g+" < "+u+".length; "+g+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);var S=u+"["+g+"]";d.dataPathArr[m]=g;var T=e.validate(d);d.baseId=v,e.util.varOccurences(T,y)<2?a+=" "+e.util.varReplace(T,y,S)+" ":a+=" var "+y+" = "+S+"; "+T+" ",a+=" if ("+h+") break; } ",e.compositeRule=d.compositeRule=P,a+=" if (!"+h+") {"}else a+=" if ("+u+".length == 0) {";var O=O||[];O.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should contain a valid item' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var _=a;return a=O.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+_+"]); ":a+=" validate.errors = ["+_+"]; return false; ":a+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { ",b&&(a+=" errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } "),e.opts.allErrors&&(a+=" } "),a}},1120:e=>{"use strict";e.exports=function(e,t,n){var a,r,i=" ",o=e.level,s=e.dataLevel,c=e.schema[t],l=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,p=!e.opts.allErrors,f="data"+(s||""),d="valid"+o,h="errs__"+o,g=e.opts.$data&&c&&c.$data;g?(i+=" var schema"+o+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",r="schema"+o):r=c;var m,y,v,b,P,S=this,T="definition"+o,O=S.definition,_="";if(g&&O.$data){P="keywordValidate"+o;var E=O.validateSchema;i+=" var "+T+" = RULES.custom['"+t+"'].definition; var "+P+" = "+T+".validate;"}else{if(!(b=e.useCustomRule(S,c,e.schema,e)))return;r="validate.schema"+l,P=b.code,m=O.compile,y=O.inline,v=O.macro}var C=P+".errors",A="i"+o,I="ruleErr"+o,R=O.async;if(R&&!e.async)throw new Error("async keyword in sync schema");if(y||v||(i+=C+" = null;"),i+="var "+h+" = errors;var "+d+";",g&&O.$data&&(_+="}",i+=" if ("+r+" === undefined) { "+d+" = true; } else { ",E&&(_+="}",i+=" "+d+" = "+T+".validateSchema("+r+"); if ("+d+") { ")),y)O.statements?i+=" "+b.validate+" ":i+=" "+d+" = "+b.validate+"; ";else if(v){var x=e.util.copy(e);_="";x.level++;var F="valid"+x.level;x.schema=b.validate,x.schemaPath="";var w=e.compositeRule;e.compositeRule=x.compositeRule=!0;var j=e.validate(x).replace(/validate\.schema/g,P);e.compositeRule=x.compositeRule=w,i+=" "+j}else{(V=V||[]).push(i),i="",i+=" "+P+".call( ",e.opts.passContext?i+="this":i+="self",m||!1===O.schema?i+=" , "+f+" ":i+=" , "+r+" , "+f+" , validate.schema"+e.schemaPath+" ",i+=" , (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var N=s?"data"+(s-1||""):"parentData",L=s?e.dataPathArr[s]:"parentDataProperty",D=i+=" , "+N+" , "+L+" , rootData ) ";i=V.pop(),!1===O.errors?(i+=" "+d+" = ",R&&(i+="await "),i+=D+"; "):i+=R?" var "+(C="customErrors"+o)+" = null; try { "+d+" = await "+D+"; } catch (e) { "+d+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } ":" "+C+" = null; "+d+" = "+D+"; "}if(O.modifying&&(i+=" if ("+N+") "+f+" = "+N+"["+L+"];"),i+=""+_,O.valid)p&&(i+=" if (true) { ");else{var V;i+=" if ( ",void 0===O.valid?(i+=" !",i+=v?""+F:""+d):i+=" "+!O.valid+" ",i+=") { ",a=S.keyword,(V=V||[]).push(i),i="",(V=V||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+S.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var M=i;i=V.pop(),!e.compositeRule&&p?e.async?i+=" throw new ValidationError(["+M+"]); ":i+=" validate.errors = ["+M+"]; return false; ":i+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var k=i;i=V.pop(),y?O.errors?"full"!=O.errors&&(i+=" for (var "+A+"="+h+"; "+A+"<errors; "+A+"++) { var "+I+" = vErrors["+A+"]; if ("+I+".dataPath === undefined) "+I+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+I+".schemaPath === undefined) { "+I+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(i+=" "+I+".schema = "+r+"; "+I+".data = "+f+"; "),i+=" } "):!1===O.errors?i+=" "+k+" ":(i+=" if ("+h+" == errors) { "+k+" } else { for (var "+A+"="+h+"; "+A+"<errors; "+A+"++) { var "+I+" = vErrors["+A+"]; if ("+I+".dataPath === undefined) "+I+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+I+".schemaPath === undefined) { "+I+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(i+=" "+I+".schema = "+r+"; "+I+".data = "+f+"; "),i+=" } } "):v?(i+=" var err = ",!1!==e.createErrors?(i+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",!1!==e.opts.messages&&(i+=" , message: 'should pass \""+S.keyword+"\" keyword validation' "),e.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; ")):!1===O.errors?i+=" "+k+" ":(i+=" if (Array.isArray("+C+")) { if (vErrors === null) vErrors = "+C+"; else vErrors = vErrors.concat("+C+"); errors = vErrors.length; for (var "+A+"="+h+"; "+A+"<errors; "+A+"++) { var "+I+" = vErrors["+A+"]; if ("+I+".dataPath === undefined) "+I+".dataPath = (dataPath || '') + "+e.errorPath+"; "+I+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(i+=" "+I+".schema = "+r+"; "+I+".data = "+f+"; "),i+=" } } else { "+k+" } "),i+=" } ",p&&(i+=" else { ")}return i}},3995:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e),d="";f.level++;var h="valid"+f.level,g={},m={},y=e.opts.ownProperties;for(S in o)if("__proto__"!=S){var v=o[S],b=Array.isArray(v)?m:g;b[S]=v}a+="var "+p+" = errors;";var P=e.errorPath;for(var S in a+="var missing"+r+";",m)if((b=m[S]).length){if(a+=" if ( "+u+e.util.getProperty(S)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(S)+"') "),l){a+=" && ( ";var T=b;if(T)for(var O=-1,_=T.length-1;O<_;){x=T[O+=1],O&&(a+=" || "),a+=" ( ( "+(N=u+(j=e.util.getProperty(x)))+" === undefined ",y&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(x)+"') "),a+=") && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?x:j)+") ) "}a+=")) { ";var E="missing"+r,C="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(P,E,!0):P+" + "+E);var A=A||[];A.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(S)+"', missingProperty: '"+C+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(S)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var I=a;a=A.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+I+"]); ":a+=" validate.errors = ["+I+"]; return false; ":a+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{a+=" ) { ";var R=b;if(R)for(var x,F=-1,w=R.length-1;F<w;){x=R[F+=1];var j=e.util.getProperty(x),N=(C=e.util.escapeQuotes(x),u+j);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(P,x,e.opts.jsonPointers)),a+=" if ( "+N+" === undefined ",y&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(x)+"') "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(S)+"', missingProperty: '"+C+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(S)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}a+=" } ",l&&(d+="}",a+=" else { ")}e.errorPath=P;var L=f.baseId;for(var S in g){v=g[S];(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0||!1===v:e.util.schemaHasRules(v,e.RULES.all))&&(a+=" "+h+" = true; if ( "+u+e.util.getProperty(S)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(S)+"') "),a+=") { ",f.schema=v,f.schemaPath=s+e.util.getProperty(S),f.errSchemaPath=c+"/"+e.util.escapeFragment(S),a+=" "+e.validate(f)+" ",f.baseId=L,a+=" } ",l&&(a+=" if ("+h+") { ",d+="}"))}return l&&(a+=" "+d+" if ("+p+" == errors) {"),a}},6783:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f=e.opts.$data&&o&&o.$data;f&&(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ");var d="i"+r,h="schema"+r;f||(a+=" var "+h+" = validate.schema"+s+";"),a+="var "+p+";",f&&(a+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"),a+=p+" = false;for (var "+d+"=0; "+d+"<"+h+".length; "+d+"++) if (equal("+u+", "+h+"["+d+"])) { "+p+" = true; break; }",f&&(a+=" } "),a+=" if (!"+p+") { ";var g=g||[];g.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+r+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var m=a;return a=g.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+m+"]); ":a+=" validate.errors = ["+m+"]; return false; ":a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",l&&(a+=" else { "),a}},184:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||"");if(!1===e.opts.format)return l&&(a+=" if (true) { "),a;var p,f=e.opts.$data&&o&&o.$data;f?(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ",p="schema"+r):p=o;var d=e.opts.unknownFormats,h=Array.isArray(d);if(f){a+=" var "+(g="format"+r)+" = formats["+p+"]; var "+(m="isObject"+r)+" = typeof "+g+" == 'object' && !("+g+" instanceof RegExp) && "+g+".validate; var "+(y="formatType"+r)+" = "+m+" && "+g+".type || 'string'; if ("+m+") { ",e.async&&(a+=" var async"+r+" = "+g+".async; "),a+=" "+g+" = "+g+".validate; } if ( ",f&&(a+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),a+=" (","ignore"!=d&&(a+=" ("+p+" && !"+g+" ",h&&(a+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),a+=") || "),a+=" ("+g+" && "+y+" == '"+n+"' && !(typeof "+g+" == 'function' ? ",e.async?a+=" (async"+r+" ? await "+g+"("+u+") : "+g+"("+u+")) ":a+=" "+g+"("+u+") ",a+=" : "+g+".test("+u+"))))) {"}else{var g;if(!(g=e.formats[o])){if("ignore"==d)return e.logger.warn('unknown format "'+o+'" ignored in schema at path "'+e.errSchemaPath+'"'),l&&(a+=" if (true) { "),a;if(h&&d.indexOf(o)>=0)return l&&(a+=" if (true) { "),a;throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}var m,y=(m="object"==typeof g&&!(g instanceof RegExp)&&g.validate)&&g.type||"string";if(m){var v=!0===g.async;g=g.validate}if(y!=n)return l&&(a+=" if (true) { "),a;if(v){if(!e.async)throw new Error("async format in sync schema");a+=" if (!(await "+(b="formats"+e.util.getProperty(o)+".validate")+"("+u+"))) { "}else{a+=" if (! ";var b="formats"+e.util.getProperty(o);m&&(b+=".validate"),a+="function"==typeof g?" "+b+"("+u+") ":" "+b+".test("+u+") ",a+=") { "}}var P=P||[];P.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ",a+=f?""+p:""+e.util.toQuotedString(o),a+=" } ",!1!==e.opts.messages&&(a+=" , message: 'should match format \"",a+=f?"' + "+p+" + '":""+e.util.escapeQuotes(o),a+="\"' "),e.opts.verbose&&(a+=" , schema: ",a+=f?"validate.schema"+s:""+e.util.toQuotedString(o),a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var S=a;return a=P.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+S+"]); ":a+=" validate.errors = ["+S+"]; return false; ":a+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",l&&(a+=" else { "),a}},555:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e);d.level++;var h="valid"+d.level,g=e.schema.then,m=e.schema.else,y=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0||!1===g:e.util.schemaHasRules(g,e.RULES.all)),v=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0||!1===m:e.util.schemaHasRules(m,e.RULES.all)),b=d.baseId;if(y||v){var P;d.createErrors=!1,d.schema=o,d.schemaPath=s,d.errSchemaPath=c,a+=" var "+f+" = errors; var "+p+" = true; ";var S=e.compositeRule;e.compositeRule=d.compositeRule=!0,a+=" "+e.validate(d)+" ",d.baseId=b,d.createErrors=!0,a+=" errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.compositeRule=d.compositeRule=S,y?(a+=" if ("+h+") { ",d.schema=e.schema.then,d.schemaPath=e.schemaPath+".then",d.errSchemaPath=e.errSchemaPath+"/then",a+=" "+e.validate(d)+" ",d.baseId=b,a+=" "+p+" = "+h+"; ",y&&v?a+=" var "+(P="ifClause"+r)+" = 'then'; ":P="'then'",a+=" } ",v&&(a+=" else { ")):a+=" if (!"+h+") { ",v&&(d.schema=e.schema.else,d.schemaPath=e.schemaPath+".else",d.errSchemaPath=e.errSchemaPath+"/else",a+=" "+e.validate(d)+" ",d.baseId=b,a+=" "+p+" = "+h+"; ",y&&v?a+=" var "+(P="ifClause"+r)+" = 'else'; ":P="'else'",a+=" } "),a+=" if (!"+p+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+P+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match \"' + "+P+" + '\" schema' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } ",l&&(a+=" else { ")}else l&&(a+=" if (true) { ");return a}},4478:(e,t,n)=>{"use strict";e.exports={$ref:n(1954),allOf:n(2809),anyOf:n(3407),$comment:n(8667),const:n(737),contains:n(5894),dependencies:n(3995),enum:n(6783),format:n(184),if:n(555),items:n(1244),maximum:n(5946),minimum:n(5946),maxItems:n(953),minItems:n(953),maxLength:n(849),minLength:n(849),maxProperties:n(6107),minProperties:n(6107),multipleOf:n(9159),not:n(3537),oneOf:n(9426),pattern:n(2955),properties:n(5224),propertyNames:n(3194),required:n(395),uniqueItems:n(1628),validate:n(2599)}},1244:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e),h="";d.level++;var g="valid"+d.level,m="i"+r,y=d.dataLevel=e.dataLevel+1,v="data"+y,b=e.baseId;if(a+="var "+f+" = errors;var "+p+";",Array.isArray(o)){var P=e.schema.additionalItems;if(!1===P){a+=" "+p+" = "+u+".length <= "+o.length+"; ";var S=c;c=e.errSchemaPath+"/additionalItems",a+=" if (!"+p+") { ";var T=T||[];T.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+o.length+" } ",!1!==e.opts.messages&&(a+=" , message: 'should NOT have more than "+o.length+" items' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var O=a;a=T.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+O+"]); ":a+=" validate.errors = ["+O+"]; return false; ":a+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",c=S,l&&(h+="}",a+=" else { ")}var _=o;if(_)for(var E,C=-1,A=_.length-1;C<A;)if(E=_[C+=1],e.opts.strictKeywords?"object"==typeof E&&Object.keys(E).length>0||!1===E:e.util.schemaHasRules(E,e.RULES.all)){a+=" "+g+" = true; if ("+u+".length > "+C+") { ";var I=u+"["+C+"]";d.schema=E,d.schemaPath=s+"["+C+"]",d.errSchemaPath=c+"/"+C,d.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,!0),d.dataPathArr[y]=C;var R=e.validate(d);d.baseId=b,e.util.varOccurences(R,v)<2?a+=" "+e.util.varReplace(R,v,I)+" ":a+=" var "+v+" = "+I+"; "+R+" ",a+=" } ",l&&(a+=" if ("+g+") { ",h+="}")}if("object"==typeof P&&(e.opts.strictKeywords?"object"==typeof P&&Object.keys(P).length>0||!1===P:e.util.schemaHasRules(P,e.RULES.all))){d.schema=P,d.schemaPath=e.schemaPath+".additionalItems",d.errSchemaPath=e.errSchemaPath+"/additionalItems",a+=" "+g+" = true; if ("+u+".length > "+o.length+") { for (var "+m+" = "+o.length+"; "+m+" < "+u+".length; "+m+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);I=u+"["+m+"]";d.dataPathArr[y]=m;R=e.validate(d);d.baseId=b,e.util.varOccurences(R,v)<2?a+=" "+e.util.varReplace(R,v,I)+" ":a+=" var "+v+" = "+I+"; "+R+" ",l&&(a+=" if (!"+g+") break; "),a+=" } } ",l&&(a+=" if ("+g+") { ",h+="}")}}else if(e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){d.schema=o,d.schemaPath=s,d.errSchemaPath=c,a+=" for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);I=u+"["+m+"]";d.dataPathArr[y]=m;R=e.validate(d);d.baseId=b,e.util.varOccurences(R,v)<2?a+=" "+e.util.varReplace(R,v,I)+" ":a+=" var "+v+" = "+I+"; "+R+" ",l&&(a+=" if (!"+g+") break; "),a+=" }"}return l&&(a+=" "+h+" if ("+f+" == errors) {"),a}},9159:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;if(f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,!f&&"number"!=typeof s)throw new Error(t+" must be number");r+="var division"+i+";if (",f&&(r+=" "+a+" !== undefined && ( typeof "+a+" != 'number' || "),r+=" (division"+i+" = "+p+" / "+a+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+i+" !== parseInt(division"+i+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var d=d||[];d.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+a+" } ",!1!==e.opts.messages&&(r+=" , message: 'should be multiple of ",r+=f?"' + "+a:a+"'"),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var h=r;return r=d.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+h+"]); ":r+=" validate.errors = ["+h+"]; return false; ":r+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},3537:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e);f.level++;var d="valid"+f.level;if(e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){f.schema=o,f.schemaPath=s,f.errSchemaPath=c,a+=" var "+p+" = errors; ";var h,g=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.createErrors=!1,f.opts.allErrors&&(h=f.opts.allErrors,f.opts.allErrors=!1),a+=" "+e.validate(f)+" ",f.createErrors=!0,h&&(f.opts.allErrors=h),e.compositeRule=f.compositeRule=g,a+=" if ("+d+") { ";var m=m||[];m.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var y=a;a=m.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else a+=" var err = ",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(a+=" if (false) { ");return a}},9426:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f="errs__"+r,d=e.util.copy(e),h="";d.level++;var g="valid"+d.level,m=d.baseId,y="prevValid"+r,v="passingSchemas"+r;a+="var "+f+" = errors , "+y+" = false , "+p+" = false , "+v+" = null; ";var b=e.compositeRule;e.compositeRule=d.compositeRule=!0;var P=o;if(P)for(var S,T=-1,O=P.length-1;T<O;)S=P[T+=1],(e.opts.strictKeywords?"object"==typeof S&&Object.keys(S).length>0||!1===S:e.util.schemaHasRules(S,e.RULES.all))?(d.schema=S,d.schemaPath=s+"["+T+"]",d.errSchemaPath=c+"/"+T,a+=" "+e.validate(d)+" ",d.baseId=m):a+=" var "+g+" = true; ",T&&(a+=" if ("+g+" && "+y+") { "+p+" = false; "+v+" = ["+v+", "+T+"]; } else { ",h+="}"),a+=" if ("+g+") { "+p+" = "+y+" = true; "+v+" = "+T+"; }";return e.compositeRule=d.compositeRule=b,a+=h+"if (!"+p+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+v+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+="} else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; }",e.opts.allErrors&&(a+=" } "),a}},2955:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f=e.opts.$data&&s&&s.$data;f?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,r+="if ( ",f&&(r+=" ("+a+" !== undefined && typeof "+a+" != 'string') || "),r+=" !"+(f?"(new RegExp("+a+"))":e.usePattern(s))+".test("+p+") ) { ";var d=d||[];d.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",r+=f?""+a:""+e.util.toQuotedString(s),r+=" } ",!1!==e.opts.messages&&(r+=" , message: 'should match pattern \"",r+=f?"' + "+a+" + '":""+e.util.escapeQuotes(s),r+="\"' "),e.opts.verbose&&(r+=" , schema: ",r+=f?"validate.schema"+c:""+e.util.toQuotedString(s),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var h=r;return r=d.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+h+"]); ":r+=" validate.errors = ["+h+"]; return false; ":r+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",u&&(r+=" else { "),r}},5224:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e),d="";f.level++;var h="valid"+f.level,g="key"+r,m="idx"+r,y=f.dataLevel=e.dataLevel+1,v="data"+y,b="dataProperties"+r,P=Object.keys(o||{}).filter(j),S=e.schema.patternProperties||{},T=Object.keys(S).filter(j),O=e.schema.additionalProperties,_=P.length||T.length,E=!1===O,C="object"==typeof O&&Object.keys(O).length,A=e.opts.removeAdditional,I=E||C||A,R=e.opts.ownProperties,x=e.baseId,F=e.schema.required;if(F&&(!e.opts.$data||!F.$data)&&F.length<e.opts.loopRequired)var w=e.util.toHash(F);function j(e){return"__proto__"!==e}if(a+="var "+p+" = errors;var "+h+" = true;",R&&(a+=" var "+b+" = undefined;"),I){if(a+=R?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+g+" = "+b+"["+m+"]; ":" for (var "+g+" in "+u+") { ",_){if(a+=" var isAdditional"+r+" = !(false ",P.length)if(P.length>8)a+=" || validate.schema"+s+".hasOwnProperty("+g+") ";else{var N=P;if(N)for(var L=-1,D=N.length-1;L<D;)J=N[L+=1],a+=" || "+g+" == "+e.util.toQuotedString(J)+" "}if(T.length){var V=T;if(V)for(var M=-1,k=V.length-1;M<k;)ie=V[M+=1],a+=" || "+e.usePattern(ie)+".test("+g+") "}a+=" ); if (isAdditional"+r+") { "}if("all"==A)a+=" delete "+u+"["+g+"]; ";else{var $=e.errorPath,B="' + "+g+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers)),E)if(A)a+=" delete "+u+"["+g+"]; ";else{a+=" "+h+" = false; ";var U=c;c=e.errSchemaPath+"/additionalProperties",(ne=ne||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+B+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is an invalid additional property":a+="should NOT have additional properties",a+="' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var H=a;a=ne.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+H+"]); ":a+=" validate.errors = ["+H+"]; return false; ":a+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,l&&(a+=" break; ")}else if(C)if("failing"==A){a+=" var "+p+" = errors; ";var K=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=O,f.schemaPath=e.schemaPath+".additionalProperties",f.errSchemaPath=e.errSchemaPath+"/additionalProperties",f.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);var Q=u+"["+g+"]";f.dataPathArr[y]=g;var G=e.validate(f);f.baseId=x,e.util.varOccurences(G,v)<2?a+=" "+e.util.varReplace(G,v,Q)+" ":a+=" var "+v+" = "+Q+"; "+G+" ",a+=" if (!"+h+") { errors = "+p+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+g+"]; } ",e.compositeRule=f.compositeRule=K}else{f.schema=O,f.schemaPath=e.schemaPath+".additionalProperties",f.errSchemaPath=e.errSchemaPath+"/additionalProperties",f.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Q=u+"["+g+"]";f.dataPathArr[y]=g;G=e.validate(f);f.baseId=x,e.util.varOccurences(G,v)<2?a+=" "+e.util.varReplace(G,v,Q)+" ":a+=" var "+v+" = "+Q+"; "+G+" ",l&&(a+=" if (!"+h+") break; ")}e.errorPath=$}_&&(a+=" } "),a+=" } ",l&&(a+=" if ("+h+") { ",d+="}")}var W=e.opts.useDefaults&&!e.compositeRule;if(P.length){var q=P;if(q)for(var J,X=-1,z=q.length-1;X<z;){var Y=o[J=q[X+=1]];if(e.opts.strictKeywords?"object"==typeof Y&&Object.keys(Y).length>0||!1===Y:e.util.schemaHasRules(Y,e.RULES.all)){var Z=e.util.getProperty(J),ee=(Q=u+Z,W&&void 0!==Y.default);f.schema=Y,f.schemaPath=s+Z,f.errSchemaPath=c+"/"+e.util.escapeFragment(J),f.errorPath=e.util.getPath(e.errorPath,J,e.opts.jsonPointers),f.dataPathArr[y]=e.util.toQuotedString(J);G=e.validate(f);if(f.baseId=x,e.util.varOccurences(G,v)<2){G=e.util.varReplace(G,v,Q);var te=Q}else{te=v;a+=" var "+v+" = "+Q+"; "}if(ee)a+=" "+G+" ";else{if(w&&w[J]){a+=" if ( "+te+" === undefined ",R&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(J)+"') "),a+=") { "+h+" = false; ";$=e.errorPath,U=c;var ne,ae=e.util.escapeQuotes(J);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,J,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(ne=ne||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ae+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+ae+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";H=a;a=ne.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+H+"]); ":a+=" validate.errors = ["+H+"]; return false; ":a+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=U,e.errorPath=$,a+=" } else { "}else l?(a+=" if ( "+te+" === undefined ",R&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(J)+"') "),a+=") { "+h+" = true; } else { "):(a+=" if ("+te+" !== undefined ",R&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(J)+"') "),a+=" ) { ");a+=" "+G+" } "}}l&&(a+=" if ("+h+") { ",d+="}")}}if(T.length){var re=T;if(re)for(var ie,oe=-1,se=re.length-1;oe<se;){Y=S[ie=re[oe+=1]];if(e.opts.strictKeywords?"object"==typeof Y&&Object.keys(Y).length>0||!1===Y:e.util.schemaHasRules(Y,e.RULES.all)){f.schema=Y,f.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ie),f.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ie),a+=R?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+g+" = "+b+"["+m+"]; ":" for (var "+g+" in "+u+") { ",a+=" if ("+e.usePattern(ie)+".test("+g+")) { ",f.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Q=u+"["+g+"]";f.dataPathArr[y]=g;G=e.validate(f);f.baseId=x,e.util.varOccurences(G,v)<2?a+=" "+e.util.varReplace(G,v,Q)+" ":a+=" var "+v+" = "+Q+"; "+G+" ",l&&(a+=" if (!"+h+") break; "),a+=" } ",l&&(a+=" else "+h+" = true; "),a+=" } ",l&&(a+=" if ("+h+") { ",d+="}")}}}return l&&(a+=" "+d+" if ("+p+" == errors) {"),a}},3194:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="errs__"+r,f=e.util.copy(e);f.level++;var d="valid"+f.level;if(a+="var "+p+" = errors;",e.opts.strictKeywords?"object"==typeof o&&Object.keys(o).length>0||!1===o:e.util.schemaHasRules(o,e.RULES.all)){f.schema=o,f.schemaPath=s,f.errSchemaPath=c;var h="key"+r,g="idx"+r,m="i"+r,y="' + "+h+" + '",v="data"+(f.dataLevel=e.dataLevel+1),b="dataProperties"+r,P=e.opts.ownProperties,S=e.baseId;P&&(a+=" var "+b+" = undefined; "),a+=P?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+g+"=0; "+g+"<"+b+".length; "+g+"++) { var "+h+" = "+b+"["+g+"]; ":" for (var "+h+" in "+u+") { ",a+=" var startErrs"+r+" = errors; ";var T=h,O=e.compositeRule;e.compositeRule=f.compositeRule=!0;var _=e.validate(f);f.baseId=S,e.util.varOccurences(_,v)<2?a+=" "+e.util.varReplace(_,v,T)+" ":a+=" var "+v+" = "+T+"; "+_+" ",e.compositeRule=f.compositeRule=O,a+=" if (!"+d+") { for (var "+m+"=startErrs"+r+"; "+m+"<errors; "+m+"++) { vErrors["+m+"].propertyName = "+h+"; } var err = ",!1!==e.createErrors?(a+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+y+"' } ",!1!==e.opts.messages&&(a+=" , message: 'property name \\'"+y+"\\' is invalid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&l&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),l&&(a+=" break; "),a+=" } }"}return l&&(a+=" if ("+p+" == errors) {"),a}},1954:e=>{"use strict";e.exports=function(e,t,n){var a,r,i=" ",o=e.level,s=e.dataLevel,c=e.schema[t],l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(s||""),f="valid"+o;if("#"==c||"#/"==c)e.isRoot?(a=e.async,r="validate"):(a=!0===e.root.schema.$async,r="root.refVal[0]");else{var d=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===d){var h=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){e.logger.error(h),(v=v||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(i+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(i+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var g=i;i=v.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(i+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,h);e.logger.warn(h),u&&(i+=" if (true) { ")}}else if(d.inline){var m=e.util.copy(e);m.level++;var y="valid"+m.level;m.schema=d.schema,m.schemaPath="",m.errSchemaPath=c,i+=" "+e.validate(m).replace(/validate\.schema/g,d.code)+" ",u&&(i+=" if ("+y+") { ")}else a=!0===d.$async||e.async&&!1!==d.$async,r=d.code}if(r){var v;(v=v||[]).push(i),i="",e.opts.passContext?i+=" "+r+".call(this, ":i+=" "+r+"( ",i+=" "+p+", (dataPath || '')",'""'!=e.errorPath&&(i+=" + "+e.errorPath);var b=i+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(i=v.pop(),a){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(i+=" var "+f+"; "),i+=" try { await "+b+"; ",u&&(i+=" "+f+" = true; "),i+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(i+=" "+f+" = false; "),i+=" } ",u&&(i+=" if ("+f+") { ")}else i+=" if (!"+b+") { if (vErrors === null) vErrors = "+r+".errors; else vErrors = vErrors.concat("+r+".errors); errors = vErrors.length; } ",u&&(i+=" else { ")}return i}},395:e=>{"use strict";e.exports=function(e,t,n){var a=" ",r=e.level,i=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,u="data"+(i||""),p="valid"+r,f=e.opts.$data&&o&&o.$data;f&&(a+=" var schema"+r+" = "+e.util.getData(o.$data,i,e.dataPathArr)+"; ");var d="schema"+r;if(!f)if(o.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var h=[],g=o;if(g)for(var m,y=-1,v=g.length-1;y<v;){m=g[y+=1];var b=e.schema.properties[m];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))||(h[h.length]=m)}}else h=o;if(f||h.length){var P=e.errorPath,S=f||h.length>=e.opts.loopRequired,T=e.opts.ownProperties;if(l)if(a+=" var missing"+r+"; ",S){f||(a+=" var "+d+" = validate.schema"+s+"; ");var O="' + "+(R="schema"+r+"["+(C="i"+r)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(P,R,e.opts.jsonPointers)),a+=" var "+p+" = true; ",f&&(a+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"),a+=" for (var "+C+" = 0; "+C+" < "+d+".length; "+C+"++) { "+p+" = "+u+"["+d+"["+C+"]] !== undefined ",T&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", "+d+"["+C+"]) "),a+="; if (!"+p+") break; } ",f&&(a+=" } "),a+=" if (!"+p+") { ",(I=I||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var _=a;a=I.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+_+"]); ":a+=" validate.errors = ["+_+"]; return false; ":a+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else{a+=" if ( ";var E=h;if(E)for(var C=-1,A=E.length-1;C<A;){F=E[C+=1],C&&(a+=" || "),a+=" ( ( "+(L=u+(N=e.util.getProperty(F)))+" === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(F)+"') "),a+=") && (missing"+r+" = "+e.util.toQuotedString(e.opts.jsonPointers?F:N)+") ) "}a+=") { ";var I;O="' + "+(R="missing"+r)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(P,R,!0):P+" + "+R),(I=I||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";_=a;a=I.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+_+"]); ":a+=" validate.errors = ["+_+"]; return false; ":a+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else if(S){f||(a+=" var "+d+" = validate.schema"+s+"; ");var R;O="' + "+(R="schema"+r+"["+(C="i"+r)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(P,R,e.opts.jsonPointers)),f&&(a+=" if ("+d+" && !Array.isArray("+d+")) { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+d+" !== undefined) { "),a+=" for (var "+C+" = 0; "+C+" < "+d+".length; "+C+"++) { if ("+u+"["+d+"["+C+"]] === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+d+"["+C+"]) "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",f&&(a+=" } ")}else{var x=h;if(x)for(var F,w=-1,j=x.length-1;w<j;){F=x[w+=1];var N=e.util.getProperty(F),L=(O=e.util.escapeQuotes(F),u+N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(P,F,e.opts.jsonPointers)),a+=" if ( "+L+" === undefined ",T&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(F)+"') "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+O+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+O+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=P}else l&&(a+=" if (true) {");return a}},1628:e=>{"use strict";e.exports=function(e,t,n){var a,r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,p="data"+(o||""),f="valid"+i,d=e.opts.$data&&s&&s.$data;if(d?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",a="schema"+i):a=s,(s||d)&&!1!==e.opts.uniqueItems){d&&(r+=" var "+f+"; if ("+a+" === false || "+a+" === undefined) "+f+" = true; else if (typeof "+a+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+p+".length , "+f+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,g=Array.isArray(h);if(!h||"object"==h||"array"==h||g&&(h.indexOf("object")>=0||h.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+p+"[i], "+p+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+p+"[i]; ";var m="checkDataType"+(g?"s":"");r+=" if ("+e.util[m](h,"item",e.opts.strictNumbers,!0)+") continue; ",g&&(r+=" if (typeof item == 'string') item = '\"' + item; "),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",d&&(r+=" } "),r+=" if (!"+f+") { ";var y=y||[];y.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",r+=d?"validate.schema"+c:""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var v=r;r=y.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+v+"]); ":r+=" validate.errors = ["+v+"]; return false; ":r+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { ")}else u&&(r+=" if (true) { ");return r}},2599:e=>{"use strict";e.exports=function(e,t,n){var a="",r=!0===e.schema.$async,i=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),o=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var c="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(c);e.logger.warn(c)}}if(e.isTop&&(a+=" var validate = ",r&&(e.async=!0,a+="async "),a+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",o&&(e.opts.sourceCode||e.opts.processCode)&&(a+=" /*# sourceURL="+o+" */ ")),"boolean"==typeof e.schema||!i&&!e.schema.$ref){t="false schema";var l=e.level,u=e.dataLevel,p=e.schema[t],f=e.schemaPath+e.util.getProperty(t),d=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,g="data"+(u||""),m="valid"+l;if(!1===e.schema){e.isTop?h=!0:a+=" var "+m+" = false; ",(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'boolean schema is false' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";var y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a+=r?" return data; ":" validate.errors = null; return true; ":a+=" var "+m+" = true; ";return e.isTop&&(a+=" }; return validate; "),a}if(e.isTop){var v=e.isTop;l=e.level=0,u=e.dataLevel=0,g="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}a+=" var vErrors = null; ",a+=" var errors = 0; ",a+=" if (rootData === undefined) rootData = data; "}else{l=e.level,g="data"+((u=e.dataLevel)||"");if(o&&(e.baseId=e.resolve.url(e.baseId,o)),r&&!e.async)throw new Error("async schema in sync schema");a+=" var errs_"+l+" = errors;"}m="valid"+l,h=!e.opts.allErrors;var P="",S="",T=e.schema.type,O=Array.isArray(T);if(T&&e.opts.nullable&&!0===e.schema.nullable&&(O?-1==T.indexOf("null")&&(T=T.concat("null")):"null"!=T&&(T=[T,"null"],O=!0)),O&&1==T.length&&(T=T[0],O=!1),e.schema.$ref&&i){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(i=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(a+=" "+e.RULES.all.$comment.code(e,"$comment")),T){if(e.opts.coerceTypes)var _=e.util.coerceToTypes(e.opts.coerceTypes,T);var E=e.RULES.types[T];if(_||O||!0===E||E&&!z(E)){f=e.schemaPath+".type",d=e.errSchemaPath+"/type",f=e.schemaPath+".type",d=e.errSchemaPath+"/type";var C=O?"checkDataTypes":"checkDataType";if(a+=" if ("+e.util[C](T,g,e.opts.strictNumbers,!0)+") { ",_){var A="dataType"+l,I="coerced"+l;a+=" var "+A+" = typeof "+g+"; var "+I+" = undefined; ","array"==e.opts.coerceTypes&&(a+=" if ("+A+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+A+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+I+" = "+g+"; } "),a+=" if ("+I+" !== undefined) ; ";var R=_;if(R)for(var x,F=-1,w=R.length-1;F<w;)"string"==(x=R[F+=1])?a+=" else if ("+A+" == 'number' || "+A+" == 'boolean') "+I+" = '' + "+g+"; else if ("+g+" === null) "+I+" = ''; ":"number"==x||"integer"==x?(a+=" else if ("+A+" == 'boolean' || "+g+" === null || ("+A+" == 'string' && "+g+" && "+g+" == +"+g+" ","integer"==x&&(a+=" && !("+g+" % 1)"),a+=")) "+I+" = +"+g+"; "):"boolean"==x?a+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+I+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+I+" = true; ":"null"==x?a+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+I+" = null; ":"array"==e.opts.coerceTypes&&"array"==x&&(a+=" else if ("+A+" == 'string' || "+A+" == 'number' || "+A+" == 'boolean' || "+g+" == null) "+I+" = ["+g+"]; ");a+=" else { ",(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '",a+=O?""+T.join(","):""+T,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=O?""+T.join(","):""+T,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+f+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } if ("+I+" !== undefined) { ";var j=u?"data"+(u-1||""):"parentData";a+=" "+g+" = "+I+"; ",u||(a+="if ("+j+" !== undefined)"),a+=" "+j+"["+(u?e.dataPathArr[u]:"parentDataProperty")+"] = "+I+"; } "}else{(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '",a+=O?""+T.join(","):""+T,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=O?""+T.join(","):""+T,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+f+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } "}}if(e.schema.$ref&&!i)a+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",h&&(a+=" } if (errors === ",a+=v?"0":"errs_"+l,a+=") { ",S+="}");else{var N=e.RULES;if(N)for(var L=-1,D=N.length-1;L<D;)if(z(E=N[L+=1])){if(E.type&&(a+=" if ("+e.util.checkDataType(E.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults)if("object"==E.type&&e.schema.properties){p=e.schema.properties;var V=Object.keys(p);if(V)for(var M,k=-1,$=V.length-1;k<$;){if(void 0!==(H=p[M=V[k+=1]]).default){var B=g+e.util.getProperty(M);if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+B;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+B+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+B+" === null || "+B+" === '' "),a+=" ) "+B+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(H.default)+" ":a+=" "+JSON.stringify(H.default)+" ",a+="; "}}}else if("array"==E.type&&Array.isArray(e.schema.items)){var U=e.schema.items;if(U){F=-1;for(var H,K=U.length-1;F<K;)if(void 0!==(H=U[F+=1]).default){B=g+"["+F+"]";if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+B;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+B+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+B+" === null || "+B+" === '' "),a+=" ) "+B+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(H.default)+" ":a+=" "+JSON.stringify(H.default)+" ",a+="; "}}}var Q=E.rules;if(Q)for(var G,W=-1,q=Q.length-1;W<q;)if(Y(G=Q[W+=1])){var J=G.code(e,G.keyword,E.type);J&&(a+=" "+J+" ",h&&(P+="}"))}if(h&&(a+=" "+P+" ",P=""),E.type&&(a+=" } ",T&&T===E.type&&!_)){a+=" else { ";var X;f=e.schemaPath+".type",d=e.errSchemaPath+"/type";(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { type: '",a+=O?""+T.join(","):""+T,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=O?""+T.join(","):""+T,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+f+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),a+=" } "):a+=" {} ";y=a;a=X.pop(),!e.compositeRule&&h?e.async?a+=" throw new ValidationError(["+y+"]); ":a+=" validate.errors = ["+y+"]; return false; ":a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } "}h&&(a+=" if (errors === ",a+=v?"0":"errs_"+l,a+=") { ",S+="}")}}function z(e){for(var t=e.rules,n=0;n<t.length;n++)if(Y(t[n]))return!0}function Y(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var n=t.implements,a=0;a<n.length;a++)if(void 0!==e.schema[n[a]])return!0}(t)}return h&&(a+=" "+S+" "),v?(r?(a+=" if (errors === 0) return data; ",a+=" else throw new ValidationError(vErrors); "):(a+=" validate.errors = vErrors; ",a+=" return errors === 0; "),a+=" }; return validate;"):a+=" var "+m+" = errors === errs_"+l+";",a}},6019:(e,t,n)=>{"use strict";var a=/^[a-z_$][a-z0-9_$-]*$/i,r=n(1120),i=n(4614);e.exports={add:function(e,t){var n=this.RULES;if(n.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!a.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var i=t.type;if(Array.isArray(i))for(var o=0;o<i.length;o++)c(e,i[o],t);else c(e,i,t);var s=t.metaSchema;s&&(t.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(s,!0))}function c(e,t,a){for(var i,o=0;o<n.length;o++){var s=n[o];if(s.type==t){i=s;break}}i||(i={type:t,rules:[]},n.push(i));var c={keyword:e,definition:a,custom:!0,code:r,implements:a.implements};i.rules.push(c),n.custom[e]=c}return n.keywords[e]=n.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var n=0;n<t.length;n++)for(var a=t[n].rules,r=0;r<a.length;r++)if(a[r].keyword==e){a.splice(r,1);break}return this},validate:function e(t,n){e.errors=null;var a=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(a(t))return!0;if(e.errors=a.errors,n)throw new Error("custom keyword definition is invalid: "+this.errorsText(a.errors));return!1}}},2245:e=>{"use strict";e.exports=(...e)=>[...new Set([].concat(...e))]},7361:e=>{"use strict";function t(e,t,r){e instanceof RegExp&&(e=n(e,r)),t instanceof RegExp&&(t=n(t,r));var i=a(e,t,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+e.length,i[1]),post:r.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function a(e,t,n){var a,r,i,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){for(a=[],i=n.length;u>=0&&!s;)u==c?(a.push(u),c=n.indexOf(e,u+1)):1==a.length?s=[a.pop(),l]:((r=a.pop())<i&&(i=r,o=l),l=n.indexOf(t,u+1)),u=c<l&&c>=0?c:l;a.length&&(s=[i,o])}return s}e.exports=t,t.range=a},1672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["dds","eot","gif","ico","jar","jpeg","jpg","pdf","png","swf","tga","ttf","zip"]},8063:(e,t,n)=>{var a=n(9834),r=n(7361);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return y(function(e){return e.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(s).split("\\,").join(c).split("\\.").join(l)}(e),!0).map(p)};var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function u(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function p(e){return e.split(i).join("\\").split(o).join("{").split(s).join("}").split(c).join(",").split(l).join(".")}function f(e){if(!e)return[""];var t=[],n=r("{","}",e);if(!n)return e.split(",");var a=n.pre,i=n.body,o=n.post,s=a.split(",");s[s.length-1]+="{"+i+"}";var c=f(o);return o.length&&(s[s.length-1]+=c.shift(),s.push.apply(s,c)),t.push.apply(t,s),t}function d(e){return"{"+e+"}"}function h(e){return/^-?0\d/.test(e)}function g(e,t){return e<=t}function m(e,t){return e>=t}function y(e,t){var n=[],i=r("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var o,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),p=c||l,v=i.body.indexOf(",")>=0;if(!p&&!v)return i.post.match(/,.*\}/)?y(e=i.pre+"{"+i.body+s+i.post):[e];if(p)o=i.body.split(/\.\./);else if(1===(o=f(i.body)).length&&1===(o=y(o[0],!1).map(d)).length)return(S=i.post.length?y(i.post,!1):[""]).map((function(e){return i.pre+o[0]+e}));var b,P=i.pre,S=i.post.length?y(i.post,!1):[""];if(p){var T=u(o[0]),O=u(o[1]),_=Math.max(o[0].length,o[1].length),E=3==o.length?Math.abs(u(o[2])):1,C=g;O<T&&(E*=-1,C=m);var A=o.some(h);b=[];for(var I=T;C(I,O);I+=E){var R;if(l)"\\"===(R=String.fromCharCode(I))&&(R="");else if(R=String(I),A){var x=_-R.length;if(x>0){var F=new Array(x+1).join("0");R=I<0?"-"+F+R.slice(1):F+R}}b.push(R)}}else b=a(o,(function(e){return y(e,!1)}));for(var w=0;w<b.length;w++)for(var j=0;j<S.length;j++){var N=P+b[w]+S[j];(!t||p||N)&&n.push(N)}return n}},9111:(e,t,n)=>{"use strict";var a=n(4293).Buffer;function r(){return a.hasOwnProperty("from")&&"function"==typeof a.from}function i(e){if(!a.isBuffer(e))throw new Error("Can only clone Buffer.");if(r())return a.from(e);var t=new a(e.length);return e.copy(t),t}i.hasFrom=r,e.exports=i},4736:(e,t,n)=>{var a=n(5747).Stats;e.exports=function(e){var t=new a;return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}},2059:(e,t,n)=>{"use strict";var a=n(8295).PassThrough,r=n(5822),i=n(5552);function o(e,t){if(!(this instanceof o))return new o(e,t);var n=e._readableState.objectMode;this._original=e,this._clonesCount=1,(t=t||{}).objectMode=n,a.call(this,t),l(e,this),this.on("newListener",s),this.once("resume",c),this._hasListener=!0}function s(e,t){"data"!==e&&"readable"!==e||(this._hasListener=!1,this.removeListener("newListener",s),this.removeListener("resume",c),i.nextTick(u,this))}function c(){this._hasListener=!1,this.removeListener("newListener",s),i.nextTick(u,this)}function l(e,t){function n(){t.end()}e.on("error",(function(a){e.removeListener("close",n),t.destroy(a)})),e.on("close",n)}function u(e){0!=--e._clonesCount||e._readableState.destroyed||(e._original.pipe(e),e._original=void 0)}function p(e,t){if(!(this instanceof p))return new p(e,t);var n=e._readableState.objectMode;(t=t||{}).objectMode=n,this.parent=e,a.call(this,t),l(e,this),e.pipe(this),this.on("newListener",f),this.on("resume",d)}function f(e,t){"data"!==e&&"readable"!==e&&"close"!==e||(i.nextTick(u,this.parent),this.removeListener("newListener",f))}function d(){this.removeListener("newListener",f),i.nextTick(u,this.parent)}r(o,a),o.prototype.clone=function(){if(!this._original)throw new Error("already started");this._clonesCount++,this.removeListener("newListener",s);var e=new p(this);return this._hasListener&&this.on("newListener",s),e},o.prototype._destroy=function(e,t){e||(this.push(null),this.end(),this.emit("close")),i.nextTick(t,e)},r(p,a),p.prototype.clone=function(){return this.parent.clone()},o.isCloneable=function(e){return e instanceof o||e instanceof p},p.prototype._destroy=function(e,t){e||(this.push(null),this.end(),this.emit("close")),i.nextTick(t,e)},e.exports=o},2169:(e,t,n)=>{var a=n(5622);e.exports=function(e,t){if(t)var n=t.map((function(t){return a.resolve(e,t)}));else n=e;var r=n.slice(1).reduce((function(e,t){if(!t.match(/^([A-Za-z]:)?\/|\\/))throw new Error("relative path without a basedir");for(var n=t.split(/\/+|\\+/),a=0;e[a]===n[a]&&a<Math.min(e.length,n.length);a++);return e.slice(0,a)}),n[0].split(/\/+|\\+/));return r.length>1?r.join("/"):"/"}},9834:e=>{e.exports=function(e,n){for(var a=[],r=0;r<e.length;r++){var i=n(e[r],r);t(i)?a.push.apply(a,i):a.push(i)}return a};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},2862:(e,t)=>{function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=Buffer.isBuffer},103:e=>{"use strict";function t(e){return e instanceof Buffer||e instanceof Date||e instanceof RegExp}function n(e){if(e instanceof Buffer){var t=Buffer.alloc?Buffer.alloc(e.length):new Buffer(e.length);return e.copy(t),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}function a(e){var r=[];return e.forEach((function(e,o){"object"==typeof e&&null!==e?Array.isArray(e)?r[o]=a(e):t(e)?r[o]=n(e):r[o]=i({},e):r[o]=e})),r}function r(e,t){return"__proto__"===t?void 0:e[t]}var i=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var e,o,s=arguments[0],c=Array.prototype.slice.call(arguments,1);return c.forEach((function(c){"object"!=typeof c||null===c||Array.isArray(c)||Object.keys(c).forEach((function(l){return o=r(s,l),(e=r(c,l))===s?void 0:"object"!=typeof e||null===e?void(s[l]=e):Array.isArray(e)?void(s[l]=a(e)):t(e)?void(s[l]=n(e)):"object"!=typeof o||null===o||Array.isArray(o)?void(s[l]=i({},e)):void(s[l]=i(o,e))}))})),s}},4225:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function r(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var r={};return n.isMergeableObject(e)&&i(e).forEach((function(t){r[t]=a(e[t],n)})),i(t).forEach((function(i){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(o(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(i,n)(e[i],t[i],n):r[i]=a(t[i],n))})),r}function c(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||r,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=a;var o=Array.isArray(n);return o===Array.isArray(e)?o?i.arrayMerge(e,n,i):s(e,n,i):a(n,i)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var l=c;e.exports=l},4217:(e,t,n)=>{"use strict";const a=n(5622),r=n(5904),i=e=>e.length>1?`{${e.join(",")}}`:e[0],o=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return a.isAbsolute(n)?n:a.join(t,n)},s=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>{return a.posix.join(e,(r=n,o=t.extensions,a.extname(r)?`**/${r}`:`**/${r}.${i(o)}`));var r,o})):t.files?t.files.map((t=>a.posix.join(e,`**/${t}`))):t.extensions?[a.posix.join(e,`**/*.${i(t.extensions)}`)]:[a.posix.join(e,"**")]};e.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await r.isDirectory(o(e,t.cwd))?s(e,t):e)));return[].concat.apply([],n)},e.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>r.isDirectorySync(o(e,t.cwd))?s(e,t):e));return[].concat.apply([],n)}},5904:(e,t,n)=>{"use strict";const{promisify:a}=n(1669),r=n(5747);async function i(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await a(r[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function o(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return r[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}t.isFile=i.bind(null,"stat","isFile"),t.isDirectory=i.bind(null,"stat","isDirectory"),t.isSymlink=i.bind(null,"lstat","isSymbolicLink"),t.isFileSync=o.bind(null,"statSync","isFile"),t.isDirectorySync=o.bind(null,"statSync","isDirectory"),t.isSymlinkSync=o.bind(null,"lstatSync","isSymbolicLink")},5179:(e,t,n)=>{"use strict";var a=n(5747),r=n(5622),i=n(2781),o=!1,s=n(7740).i8,c="locals",l=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],u=l.concat("cache"),p=/^\uFEFF/;function f(e,n){var r;if(n.some((function(n){return r=t.resolveInclude(e,n,!0),a.existsSync(r)})))return r}function d(e,n){var a,r=e.filename,i=arguments.length>1;if(e.cache){if(!r)throw new Error("cache option requires a filename");if(a=t.cache.get(r))return a;i||(n=g(r).toString().replace(p,""))}else if(!i){if(!r)throw new Error("Internal EJS error: no file name or template provided");n=g(r).toString().replace(p,"")}return a=t.compile(n,e),e.cache&&t.cache.set(r,a),a}function h(e,n,a){var r;if(!a){if("function"==typeof t.promiseImpl)return new t.promiseImpl((function(t,a){try{t(r=d(e)(n))}catch(e){a(e)}}));throw new Error("Please provide a callback function")}try{r=d(e)(n)}catch(e){return a(e)}a(null,r)}function g(e){return t.fileLoader(e)}function m(e,n){var r=i.shallowCopy({},n);if(r.filename=function(e,n){var r,i,o=n.views,s=/^[A-Za-z]+:\\|^\//.exec(e);if(s&&s.length)e=e.replace(/^\/*/,""),r=Array.isArray(n.root)?f(e,n.root):t.resolveInclude(e,n.root||"/",!0);else if(n.filename&&(i=t.resolveInclude(e,n.filename),a.existsSync(i)&&(r=i)),!r&&Array.isArray(o)&&(r=f(e,o)),!r&&"function"!=typeof n.includer)throw new Error('Could not find the include file "'+n.escapeFunction(e)+'"');return r}(e,r),"function"==typeof n.includer){var o=n.includer(e,r.filename);if(o&&(o.filename&&(r.filename=o.filename),o.template))return d(r,o.template)}return d(r)}function y(e,t,n,a,r){var i=t.split("\n"),o=Math.max(a-3,0),s=Math.min(i.length,a+3),c=r(n),l=i.slice(o,s).map((function(e,t){var n=t+o+1;return(n==a?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=c,e.message=(c||"ejs")+":"+a+"\n"+l+"\n\n"+e.message,e}function v(e){return e.replace(/;(\s*$)/,"$1")}function b(e,n){n=n||{};var a={};this.templateText=e,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",a.client=n.client||!1,a.escapeFunction=n.escape||n.escapeFunction||i.escapeXML,a.compileDebug=!1!==n.compileDebug,a.debug=!!n.debug,a.filename=n.filename,a.openDelimiter=n.openDelimiter||t.openDelimiter||"<",a.closeDelimiter=n.closeDelimiter||t.closeDelimiter||">",a.delimiter=n.delimiter||t.delimiter||"%",a.strict=n.strict||!1,a.context=n.context,a.cache=n.cache||!1,a.rmWhitespace=n.rmWhitespace,a.root=n.root,a.includer=n.includer,a.outputFunctionName=n.outputFunctionName,a.localsName=n.localsName||t.localsName||c,a.views=n.views,a.async=n.async,a.destructuredLocals=n.destructuredLocals,a.legacyInclude=void 0===n.legacyInclude||!!n.legacyInclude,a.strict?a._with=!1:a._with=void 0===n._with||n._with,this.opts=a,this.regex=this.createRegex()}t.cache=i.cache,t.fileLoader=a.readFileSync,t.localsName=c,t.promiseImpl=new Function("return this;")().Promise,t.resolveInclude=function(e,t,n){var a=r.dirname,i=r.extname,o=(0,r.resolve)(n?t:a(t),e);return i(e)||(o+=".ejs"),o},t.compile=function(e,t){return t&&t.scope&&(o||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),o=!0),t.context||(t.context=t.scope),delete t.scope),new b(e,t).compile()},t.render=function(e,t,n){var a=t||{},r=n||{};return 2==arguments.length&&i.shallowCopyFromList(r,a,l),d(r,e)(a)},t.renderFile=function(){var e,t,n,a=Array.prototype.slice.call(arguments),r=a.shift(),o={filename:r};return"function"==typeof arguments[arguments.length-1]&&(e=a.pop()),a.length?(t=a.shift(),a.length?i.shallowCopy(o,a.pop()):(t.settings&&(t.settings.views&&(o.views=t.settings.views),t.settings["view cache"]&&(o.cache=!0),(n=t.settings["view options"])&&i.shallowCopy(o,n)),i.shallowCopyFromList(o,t,u)),o.filename=r):t={},h(o,t,e)},t.Template=b,t.clearCache=function(){t.cache.reset()},b.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},b.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=i.escapeRegExpChars(this.opts.delimiter),n=i.escapeRegExpChars(this.opts.openDelimiter),a=i.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(/</g,n).replace(/>/g,a),new RegExp(e)},compile:function(){var e,t,n,a=this.opts,o="",s="",c=a.escapeFunction,l=a.filename?JSON.stringify(a.filename):"undefined";if(!this.source){if(this.generateSource(),o+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',a.outputFunctionName&&(o+=" var "+a.outputFunctionName+" = __append;\n"),a.destructuredLocals&&a.destructuredLocals.length){for(var u=" var __locals = ("+a.localsName+" || {}),\n",p=0;p<a.destructuredLocals.length;p++){var f=a.destructuredLocals[p];p>0&&(u+=",\n "),u+=f+" = __locals."+f}o+=u+";\n"}!1!==a._with&&(o+=" with ("+a.localsName+" || {}) {\n",s+=" }\n"),s+=" return __output;\n",this.source=o+this.source+s}e=a.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+l+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,a.client&&(e="escapeFn = escapeFn || "+c.toString()+";\n"+e,a.compileDebug&&(e="rethrow = rethrow || "+y.toString()+";\n"+e)),a.strict&&(e='"use strict";\n'+e),a.debug&&console.log(e),a.compileDebug&&a.filename&&(e=e+"\n//# sourceURL="+l+"\n");try{if(a.async)try{n=new Function("return (async function(){}).constructor;")()}catch(e){throw e instanceof SyntaxError?new Error("This environment does not support async/await"):e}else n=Function;t=new n(a.localsName+", escapeFn, include, rethrow",e)}catch(e){throw e instanceof SyntaxError&&(a.filename&&(e.message+=" in "+a.filename),e.message+=" while compiling ejs\n\n",e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",e.message+="https://github.com/RyanZim/EJS-Lint",a.async||(e.message+="\n",e.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),e}var d=a.client?t:function(e){return t.apply(a.context,[e||{},c,function(t,n){var r=i.shallowCopy({},e);return n&&(r=i.shallowCopy(r,n)),m(t,a)(r)},y])};if(a.filename&&"function"==typeof Object.defineProperty){var h=a.filename,g=r.basename(h,r.extname(h));try{Object.defineProperty(d,"name",{value:g,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}return d},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),n=this.opts.delimiter,a=this.opts.openDelimiter,r=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(i,o){var s;if(0===i.indexOf(a+n)&&0!==i.indexOf(a+n+n)&&(s=t[o+2])!=n+r&&s!="-"+n+r&&s!="_"+n+r)throw new Error('Could not find matching close tag for "'+i+'".');e.scanLine(i)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,a=n.exec(t),r=[];a;)0!==(e=a.index)&&(r.push(t.substring(0,e)),t=t.slice(e)),r.push(a[0]),t=t.slice(a[0].length),a=n.exec(t);return t&&r.push(t),r},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,a=this.opts.openDelimiter,r=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case a+n:case a+n+"_":this.mode=b.modes.EVAL;break;case a+n+"=":this.mode=b.modes.ESCAPED;break;case a+n+"-":this.mode=b.modes.RAW;break;case a+n+"#":this.mode=b.modes.COMMENT;break;case a+n+n:this.mode=b.modes.LITERAL,this.source+=' ; __append("'+e.replace(a+n+n,a+n)+'")\n';break;case n+n+r:this.mode=b.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+r,n+r)+'")\n';break;case n+r:case"-"+n+r:case"_"+n+r:this.mode==b.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case b.modes.EVAL:case b.modes.ESCAPED:case b.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case b.modes.EVAL:this.source+=" ; "+e+"\n";break;case b.modes.ESCAPED:this.source+=" ; __append(escapeFn("+v(e)+"))\n";break;case b.modes.RAW:this.source+=" ; __append("+v(e)+")\n";break;case b.modes.COMMENT:break;case b.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},t.escapeXML=i.escapeXML,t.__express=t.renderFile,t.VERSION=s,t.name="ejs","undefined"!=typeof window&&(window.ejs=t)},2781:(e,t)=>{"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.escapeRegExpChars=function(e){return e?String(e).replace(n,"\\$&"):""};var a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},r=/[&<>'"]/g;function i(e){return a[e]||e}t.escapeXML=function(e){return null==e?"":String(e).replace(r,i)},t.escapeXML.toString=function(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&amp;"\n , "<": "&lt;"\n , ">": "&gt;"\n , \'"\': "&#34;"\n , "\'": "&#39;"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'},t.shallowCopy=function(e,t){for(var n in t=t||{})e[n]=t[n];return e},t.shallowCopyFromList=function(e,t,n){for(var a=0;a<n.length;a++){var r=n[a];void 0!==t[r]&&(e[r]=t[r])}return e},t.cache={_data:{},set:function(e,t){this._data[e]=t},get:function(e){return this._data[e]},remove:function(e){delete this._data[e]},reset:function(){this._data={}}},t.hyphenToCamel=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))}},8926:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var a,r,i;if(Array.isArray(t)){if((a=t.length)!=n.length)return!1;for(r=a;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((a=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=a;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,i[r]))return!1;for(r=a;0!=r--;){var o=i[r];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},272:(e,t,n)=>{"use strict";const a=n(6464),r=n(5790),i=n(6004),o=n(1927),s=(e,t={})=>{let n=[];if(Array.isArray(e))for(let a of e){let e=s.create(a,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(s.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};s.parse=(e,t={})=>o(e,t),s.stringify=(e,t={})=>a("string"==typeof e?s.parse(e,t):e,t),s.compile=(e,t={})=>("string"==typeof e&&(e=s.parse(e,t)),r(e,t)),s.expand=(e,t={})=>{"string"==typeof e&&(e=s.parse(e,t));let n=i(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},s.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?s.compile(e,t):s.expand(e,t),e.exports=s},5790:(e,t,n)=>{"use strict";const a=n(2564),r=n(3951);e.exports=(e,t={})=>{let n=(e,i={})=>{let o=r.isInvalidBrace(i),s=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===s,l=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=r.reduce(e.nodes),i=a(...n,{...t,wrap:!1,toRegex:!0});if(0!==i.length)return n.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(let t of e.nodes)u+=n(t,e);return u};return n(e)}},1331:e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},6004:(e,t,n)=>{"use strict";const a=n(2564),r=n(6464),i=n(3951),o=(e="",t="",n=!1)=>{let a=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?i.flatten(t).map((e=>`{${e}}`)):t;for(let r of e)if(Array.isArray(r))for(let e of r)a.push(o(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),a.push(Array.isArray(e)?o(r,e,n):r+e);return i.flatten(a)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,s=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar)return void u.push(o(u.pop(),r(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(o(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let s=i.reduce(e.nodes);if(i.exceedsLimit(...s,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=a(...s,t);return 0===c.length&&(c=r(e,t)),u.push(o(u.pop(),c)),void(e.nodes=[])}let p=i.encloseBrace(e),f=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,f=d.queue;for(let t=0;t<e.nodes.length;t++){let n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?f.push(o(f.pop(),n.value)):n.nodes&&s(n,e):u.push(o(u.pop(),f,p)):(1===t&&f.push(""),f.push(""))}return f};return i.flatten(s(e))}},1927:(e,t,n)=>{"use strict";const a=n(6464),{MAX_LENGTH:r,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:s,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:f,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:v}=n(1331);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},b="number"==typeof n.maxLength?Math.min(r,n.maxLength):r;if(e.length>b)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${b})`);let P,S={type:"root",input:e,nodes:[]},T=[S],O=S,_=S,E=0,C=e.length,A=0,I=0;const R=()=>e[A++],x=e=>{if("text"===e.type&&"dot"===_.type&&(_.type="text"),!_||"text"!==_.type||"text"!==e.type)return O.nodes.push(e),e.parent=O,e.prev=_,_=e,e;_.value+=e.value};for(x({type:"bos"});A<C;)if(O=T[T.length-1],P=R(),P!==v&&P!==y)if(P!==i)if(P!==h)if(P!==d)if(P!==l)if(P!==u)if(P!==g&&P!==m&&P!==o)if(P!==p)if(P!==f)if(P===s&&I>0){if(O.ranges>0){O.ranges=0;let e=O.nodes.shift();O.nodes=[e,{type:"text",value:a(O)}]}x({type:"comma",value:P}),O.commas++}else if(P===c&&I>0&&0===O.commas){let e=O.nodes;if(0===I||0===e.length){x({type:"text",value:P});continue}if("dot"===_.type){if(O.range=[],_.value+=P,_.type="range",3!==O.nodes.length&&5!==O.nodes.length){O.invalid=!0,O.ranges=0,_.type="text";continue}O.ranges++,O.args=[];continue}if("range"===_.type){e.pop();let t=e[e.length-1];t.value+=_.value+P,_=t,O.ranges--;continue}x({type:"dot",value:P})}else x({type:"text",value:P});else{if("brace"!==O.type){x({type:"text",value:P});continue}let e="close";O=T.pop(),O.close=!0,x({type:e,value:P}),I--,O=T[T.length-1]}else{I++;let e=_.value&&"$"===_.value.slice(-1)||!0===O.dollar;O=x({type:"brace",open:!0,close:!1,dollar:e,depth:I,commas:0,ranges:0,nodes:[]}),T.push(O),x({type:"open",value:P})}else{let e,n=P;for(!0!==t.keepQuotes&&(P="");A<C&&(e=R());)if(e!==i){if(e===n){!0===t.keepQuotes&&(P+=e);break}P+=e}else P+=e+R();x({type:"text",value:P})}else{if("paren"!==O.type){x({type:"text",value:P});continue}O=T.pop(),x({type:"text",value:P}),O=T[T.length-1]}else O=x({type:"paren",nodes:[]}),T.push(O),x({type:"text",value:P});else{E++;let e;for(;A<C&&(e=R());)if(P+=e,e!==d)if(e!==i){if(e===h&&(E--,0===E))break}else P+=R();else E++;x({type:"text",value:P})}else x({type:"text",value:"\\"+P});else x({type:"text",value:(t.keepEscaping?P:"")+R()});do{if(O=T.pop(),"root"!==O.type){O.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=T[T.length-1],t=e.nodes.indexOf(O);e.nodes.splice(t,1,...O.nodes)}}while(T.length>0);return x({type:"eos"}),S}},6464:(e,t,n)=>{"use strict";const a=n(3951);e.exports=(e,t={})=>{let n=(e,r={})=>{let i=t.escapeInvalid&&a.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,s="";if(e.value)return(i||o)&&a.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)s+=n(t);return s};return n(e)}},3951:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,n,a=1,r)=>!1!==r&&(!(!t.isInteger(e)||!t.isInteger(n))&&(Number(n)-Number(e))/Number(a)>=r),t.escapeNode=(e,t=0,n)=>{let a=e.nodes[t];a&&(n&&a.type===n||"open"===a.type||"close"===a.type)&&!0!==a.escaped&&(a.value="\\"+a.value,a.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],n=e=>{for(let a=0;a<e.length;a++){let r=e[a];Array.isArray(r)?n(r,t):void 0!==r&&t.push(r)}return t};return n(e),t}},2564:(e,t,n)=>{"use strict";const a=n(1669),r=n(3267),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,s=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},u=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},p=(e,t,n,a)=>{if(n)return r(e,t,{wrap:!1,...a});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},f=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,a=n.capture?"":"?:";return t?`(${a}${e.join("|")})`:e.join("|")}return r(e,t,n)},d=(...e)=>new RangeError("Invalid range arguments: "+a.inspect(...e)),h=(e,t,n)=>{if(!0===n.strictRanges)throw d([e,t]);return[]},g=(e,t,n=1,a={})=>{let r=Number(e),i=Number(t);if(!Number.isInteger(r)||!Number.isInteger(i)){if(!0===a.strictRanges)throw d([e,t]);return[]}0===r&&(r=0),0===i&&(i=0);let o=r>i,s=String(e),h=String(t),g=String(n);n=Math.max(Math.abs(n),1);let m=c(s)||c(h)||c(g),y=m?Math.max(s.length,h.length,g.length):0,v=!1===m&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,a),b=a.transform||(e=>t=>!0===e?Number(t):String(t))(v);if(a.toRegex&&1===n)return p(u(e,y),u(t,y),!0,a);let P={negatives:[],positives:[]},S=[],T=0;for(;o?r>=i:r<=i;)!0===a.toRegex&&n>1?P[(O=r)<0?"negatives":"positives"].push(Math.abs(O)):S.push(l(b(r,T),y,v)),r=o?r-n:r+n,T++;var O;return!0===a.toRegex?n>1?((e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let n,a=t.capture?"":"?:",r="",i="";return e.positives.length&&(r=e.positives.join("|")),e.negatives.length&&(i=`-(${a}${e.negatives.join("|")})`),n=r&&i?`${r}|${i}`:r||i,t.wrap?`(${a}${n})`:n})(P,a):f(S,null,{wrap:!1,...a}):S},m=(e,t,n,a={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return h(e,t,a);if("function"==typeof n)return m(e,t,1,{transform:n});if(i(n))return m(e,t,0,n);let r={...a};return!0===r.capture&&(r.wrap=!0),n=n||r.step||1,s(n)?s(e)&&s(t)?g(e,t,n,r):((e,t,n=1,a={})=>{if(!s(e)&&e.length>1||!s(t)&&t.length>1)return h(e,t,a);let r=a.transform||(e=>String.fromCharCode(e)),i=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=i>o,l=Math.min(i,o),u=Math.max(i,o);if(a.toRegex&&1===n)return p(l,u,!1,a);let d=[],g=0;for(;c?i>=o:i<=o;)d.push(r(i,g)),i=c?i-n:i+n,g++;return!0===a.toRegex?f(d,null,{wrap:!1,options:a}):d})(e,t,Math.max(Math.abs(n),1),r):null==n||i(n)?m(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,r)};e.exports=m},5407:e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},8575:(e,t,n)=>{"use strict";const a=n(1669),r=n(272),i=n(4973),o=n(557),s=e=>"string"==typeof e&&(""===e||"./"===e),c=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let a=new Set,r=new Set,o=new Set,s=0,c=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o<t.length;o++){let l=i(String(t[o]),{...n,onResult:c},!0),u=l.state.negated||l.state.negatedExtglob;u&&s++;for(let t of e){let e=l(t,!0);(u?!e.isMatch:e.isMatch)&&(u?a.add(e.output):(a.delete(e.output),r.add(e.output)))}}let l=(s===t.length?[...o]:[...r]).filter((e=>!a.has(e)));if(n&&0===l.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return l};c.match=c,c.matcher=(e,t)=>i(e,t),c.any=c.isMatch=(e,t,n)=>i(t,n)(e),c.not=(e,t,n={})=>{t=[].concat(t).map(String);let a=new Set,r=[],i=c(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),r.push(e.output)}});for(let e of r)i.includes(e)||a.add(e);return[...a]},c.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${a.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>c.contains(e,t,n)));if("string"==typeof t){if(s(e)||s(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return c.isMatch(e,t,{...n,contains:!0})},c.matchKeys=(e,t,n)=>{if(!o.isObject(e))throw new TypeError("Expected the first argument to be an object");let a=c(Object.keys(e),t,n),r={};for(let t of a)r[t]=e[t];return r},c.some=(e,t,n)=>{let a=[].concat(e);for(let e of[].concat(t)){let t=i(String(e),n);if(a.some((e=>t(e))))return!0}return!1},c.every=(e,t,n)=>{let a=[].concat(e);for(let e of[].concat(t)){let t=i(String(e),n);if(!a.every((e=>t(e))))return!1}return!0},c.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${a.inspect(e)}"`);return[].concat(t).every((t=>i(t,n)(e)))},c.capture=(e,t,n)=>{let a=o.isWindows(n),r=i.makeRe(String(e),{...n,capture:!0}).exec(a?o.toPosixSlashes(t):t);if(r)return r.slice(1).map((e=>void 0===e?"":e))},c.makeRe=(...e)=>i.makeRe(...e),c.scan=(...e)=>i.scan(...e),c.parse=(e,t)=>{let n=[];for(let a of[].concat(e||[]))for(let e of r(String(a),t))n.push(i.parse(e,t));return n},c.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:r(e,t)},c.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return c.braces(e,{...t,expand:!0})},e.exports=c},3267:(e,t,n)=>{"use strict";const a=n(5407),r=(e,t,n)=>{if(!1===a(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===a(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(r.cache.hasOwnProperty(c))return r.cache[c].result;let l=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(l-u)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let p=h(e)||h(t),f={min:e,max:t,a:l,b:u},d=[],g=[];if(p&&(f.isPadded=p,f.maxLen=String(f.max).length),l<0){g=o(u<0?Math.abs(u):1,Math.abs(l),f,i),l=f.a=0}return u>=0&&(d=o(l,u,f,i)),f.negatives=g,f.positives=d,f.result=function(e,t,n){let a=s(e,t,"-",!1,n)||[],r=s(t,e,"",!1,n)||[],i=s(e,t,"-?",!0,n)||[];return a.concat(i).concat(r).join("|")}(g,d,i),!0===i.capture?f.result=`(${f.result})`:!1!==i.wrap&&d.length+g.length>1&&(f.result=`(?:${f.result})`),r.cache[c]=f,f.result};function i(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let a=function(e,t){let n=[];for(let a=0;a<e.length;a++)n.push([e[a],t[a]]);return n}(e,t),r=a.length,i="",o=0;for(let e=0;e<r;e++){let[t,r]=a[e];t===r?i+=t:"0"!==t||"9"!==r?i+=d(t,r,n):o++}return o&&(i+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:i,count:[o],digits:r}}function o(e,t,n,a){let r,o=function(e,t){let n=1,a=1,r=u(e,n),i=new Set([t]);for(;e<=r&&r<=t;)i.add(r),n+=1,r=u(e,n);for(r=p(t+1,a)-1;e<r&&r<=t;)i.add(r),a+=1,r=p(t+1,a)-1;return i=[...i],i.sort(c),i}(e,t),s=[],l=e;for(let e=0;e<o.length;e++){let t=o[e],c=i(String(l),String(t),a),u="";n.isPadded||!r||r.pattern!==c.pattern?(n.isPadded&&(u=g(t,n,a)),c.string=u+c.pattern+f(c.count),s.push(c),l=t+1,r=c):(r.count.length>1&&r.count.pop(),r.count.push(c.count[0]),r.string=r.pattern+f(r.count),l=t+1)}return s}function s(e,t,n,a,r){let i=[];for(let r of e){let{string:e}=r;a||l(t,"string",e)||i.push(n+e),a&&l(t,"string",e)&&i.push(n+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,n){return e.some((e=>e[t]===n))}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function p(e,t){return e-e%Math.pow(10,t)}function f(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function d(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function h(e){return/^-?(0+)\d/.test(e)}function g(e,t,n){if(!t.isPadded)return e;let a=Math.abs(t.maxLen-String(e).length),r=!1!==n.relaxZeros;switch(a){case 0:return"";case 1:return r?"0?":"0";case 2:return r?"0{0,2}":"00";default:return r?`0{0,${a}}`:`0{${a}}`}}r.cache={},r.clearCache=()=>r.cache={},e.exports=r},9689:(e,t,n)=>{"use strict";const a=n(6197),r=n(7637),i=n(8394),o=n(4790),s=n(9516),c=n(3065);async function l(e,t){p(e);const n=u(e,r.default,t),a=await Promise.all(n);return c.array.flatten(a)}function u(e,t,n){const r=[].concat(e),i=new s.default(n),o=a.generate(r,i),c=new t(i);return o.map(c.read,c)}function p(e){if(![].concat(e).every((e=>c.string.isString(e)&&!c.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){p(e);const n=u(e,o.default,t);return c.array.flatten(n)},e.stream=function(e,t){p(e);const n=u(e,i.default,t);return c.stream.merge(n)},e.generateTasks=function(e,t){p(e);const n=[].concat(e),r=new s.default(t);return a.generate(n,r)},e.isDynamicPattern=function(e,t){p(e);const n=new s.default(t);return c.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return p(e),c.path.escape(e)}}(l||(l={})),e.exports=l},6197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const a=n(3065);function r(e,t,n){const a=s(e);if("."in a){return[l(".",e,t,n)]}return c(a,t,n)}function i(e){return a.pattern.getPositivePatterns(e)}function o(e,t){return a.pattern.getNegativePatterns(e).concat(t).map(a.pattern.convertToPositivePattern)}function s(e){return e.reduce(((e,t)=>{const n=a.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function c(e,t,n){return Object.keys(e).map((a=>l(a,e[a],t,n)))}function l(e,t,n,r){return{dynamic:r,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(a.pattern.convertToNegativePattern))}}t.generate=function(e,t){const n=i(e),s=o(e,t.ignore),c=n.filter((e=>a.pattern.isStaticPattern(e,t))),l=n.filter((e=>a.pattern.isDynamicPattern(e,t))),u=r(c,s,!1),p=r(l,s,!0);return u.concat(p)},t.convertPatternsToTasks=r,t.getPositivePatterns=i,t.getNegativePatternsAsPositive=o,t.groupPatternsByBaseDirectory=s,t.convertPatternGroupsToTasks=c,t.convertPatternGroupToTask=l},7637:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(951),r=n(1646);class ProviderAsync extends r.default{constructor(){super(...arguments),this._reader=new a.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),a=[];return new Promise(((r,i)=>{const o=this.api(t,e,n);o.once("error",i),o.on("data",(e=>a.push(n.transform(e)))),o.once("end",(()=>r(a)))}))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=ProviderAsync},8042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065),r=n(5433);t.default=class DeepFilter{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const a=this._getMatcher(t),r=this._getNegativePatternsRe(n);return t=>this._filter(e,t,a,r)}_getMatcher(e){return new r.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(a.pattern.isAffectDepthOfReadingPattern);return a.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,r){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const i=a.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(i,n)&&this._isSkippedByNegativePatterns(i,r)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;if(""===e)return n;return n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!a.pattern.matchAny(e,t)}}},4273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class EntryFilter{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=a.pattern.convertPatternsToRe(e,this._micromatchOptions),r=a.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,n,r)}_filter(e,t,n){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;const a=this._settings.baseNameMatch?e.name:e.path,r=this._isMatchToPatterns(a,t)&&!this._isMatchToPatterns(e.path,n);return this._settings.unique&&r&&this._createIndexRecord(e),r}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=a.path.makeAbsolute(this._settings.cwd,e);return a.pattern.matchAny(n,t)}_isMatchToPatterns(e,t){const n=a.path.removeLeadingDotSegment(e);return a.pattern.matchAny(n,t)}}},8936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class ErrorFilter{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return a.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},4691:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class Matcher{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const e=a.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(e);this._storage.push({complete:n.length<=1,pattern:t,segments:e,sections:n})}}_getPatternSegments(e){return a.pattern.getPatternParts(e,this._micromatchOptions).map((e=>a.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:a.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return a.array.splitWhen(e,(e=>e.dynamic&&a.pattern.hasGlobStar(e.pattern)))}}},5433:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(4691);class PartialMatcher extends a.default{match(e){const t=e.split("/"),n=t.length,a=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of a){const a=e.sections[0];if(!e.complete&&n>a.length)return!0;if(t.every(((t,n)=>{const a=e.segments[n];return!(!a.dynamic||!a.patternRe.test(t))||!a.dynamic&&a.pattern===t})))return!0}return!1}}t.default=PartialMatcher},1646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(8042),i=n(4273),o=n(8936),s=n(9415);t.default=class Provider{constructor(e){this._settings=e,this.errorFilter=new o.default(this._settings),this.entryFilter=new i.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new r.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new s.default(this._settings)}_getRootDirectory(e){return a.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},8394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2413),r=n(951),i=n(1646);class ProviderStream extends i.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=this.api(t,e,n),i=new a.Readable({objectMode:!0,read:()=>{}});return r.once("error",(e=>i.emit("error",e))).on("data",(e=>i.emit("data",n.transform(e)))).once("end",(()=>i.emit("end"))),i.once("close",(()=>r.destroy())),i}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=ProviderStream},4790:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2360),r=n(1646);class ProviderSync extends r.default{constructor(){super(...arguments),this._reader=new a.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=ProviderSync},9415:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3065);t.default=class EntryTransformer{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=a.path.makeAbsolute(this._settings.cwd,t),t=a.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},2457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(1992),i=n(3065);t.default=class Reader{constructor(e){this._settings=e,this._fsStatSettings=new r.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return a.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:i.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!i.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2413),r=n(1992),i=n(4833),o=n(2457);class ReaderStream extends o.default{constructor(){super(...arguments),this._walkStream=i.walkStream,this._stat=r.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),r=new a.PassThrough({objectMode:!0});r._write=(a,i,o)=>this._getEntry(n[a],e[a],t).then((e=>{null!==e&&t.entryFilter(e)&&r.push(e),a===n.length-1&&r.end(),o()})).catch(o);for(let e=0;e<n.length;e++)r.write(e);return r}_getEntry(e,t,n){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,a)=>null===e?t(a):n(e)))}))}}t.default=ReaderStream},2360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(1992),r=n(4833),i=n(2457);class ReaderSync extends i.default{constructor(){super(...arguments),this._walkSync=r.walkSync,this._statSync=a.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const a of e){const e=this._getFullEntryPath(a),r=this._getEntry(e,a,t);null!==r&&t.entryFilter(r)&&n.push(r)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=ReaderSync},9516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const a=n(5747),r=n(2087),i=Math.max(r.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:a.lstat,lstatSync:a.lstatSync,stat:a.stat,statSync:a.statSync,readdir:a.readdir,readdirSync:a.readdirSync};t.default=class Settings{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},8213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},t.splitWhen=function(e,t){const n=[[]];let a=0;for(const r of e)t(r)?(a++,n[a]=[]):n[a].push(r);return n}},8925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},6800:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new DirentFromStats(e,t)}},3065:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const a=n(8213);t.array=a;const r=n(8925);t.errno=r;const i=n(6800);t.fs=i;const o=n(3224);t.path=o;const s=n(9496);t.pattern=s;const c=n(3749);t.stream=c;const l=n(7878);t.string=l},3224:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const a=n(5622),r=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return a.resolve(e,t)},t.escape=function(e){return e.replace(r,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e}},9496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const a=n(5622),r=n(8637),i=n(8575),o=n(4973),s=/[*?]|^!/,c=/\[.*]/,l=/(?:^|[^!*+?@])\(.*\|.*\)/,u=/[!*+?@]\(.*\)/,p=/{.*(?:,|\.\.).*}/;function f(e,t={}){return!d(e,t)}function d(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes("\\"))||(!!(s.test(e)||c.test(e)||l.test(e))||(!(!1===t.extglob||!u.test(e))||!(!1===t.braceExpansion||!p.test(e)))))}function h(e){return e.startsWith("!")&&"("!==e[1]}function g(e){return!h(e)}function m(e){return e.endsWith("/**")}function y(e){return i.braces(e,{expand:!0,nodupes:!0})}function v(e,t){return i.makeRe(e,t)}t.isStaticPattern=f,t.isDynamicPattern=d,t.convertToPositivePattern=function(e){return h(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=h,t.isPositivePattern=g,t.getNegativePatterns=function(e){return e.filter(h)},t.getPositivePatterns=function(e){return e.filter(g)},t.getBaseDirectory=function(e){return r(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=m,t.isAffectDepthOfReadingPattern=function(e){const t=a.basename(e);return m(e)||f(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(y(t))),[])},t.expandBraceExpansion=y,t.getPatternParts=function(e,t){let{parts:n}=o.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},t.makeRe=v,t.convertPatternsToRe=function(e,t){return e.map((e=>v(e,t)))},t.matchAny=function(e,t){return t.some((t=>t.test(e)))}},3749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const a=n(1993);function r(e){e.forEach((e=>e.emit("close")))}t.merge=function(e){const t=a(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>r(e))),t.once("end",(()=>r(e))),t}},7878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},9003:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,a="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(n=t.cmp,function(e){return function(t,a){var r={key:t,value:e[t]},i={key:a,value:e[a]};return n(r,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n<t.length;n++)n&&(o+=","),o+=e(t[n])||"null";return o+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(a)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(t)-1,c=Object.keys(t).sort(r&&r(t));for(o="",n=0;n<c.length;n++){var l=c[n],u=e(t[l]);u&&(o&&(o+=","),o+=JSON.stringify(l)+":"+u)}return i.splice(s,1),"{"+o+"}"}}(e)}},1582:(e,t,n)=>{"use strict";var a=n(7174);function r(){}function i(){this.value=null,this.callback=r,this.next=null,this.release=r,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var a=e.callback,i=e.errorHandler,o=e.value;e.value=null,e.callback=r,e.errorHandler&&i(t,o),a.call(e.context,t,n),e.release(e)}}e.exports=function(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),n<1)throw new Error("fastqueue concurrency must be greater than 1");var o=a(i),s=null,c=null,l=0,u=null,p={push:function(n,a){var i=o.get();i.context=e,i.release=f,i.value=n,i.callback=a||r,i.errorHandler=u,l===p.concurrency||p.paused?c?(c.next=i,c=i):(s=i,c=i,p.saturated()):(l++,t.call(e,i.value,i.worked))},drain:r,saturated:r,pause:function(){p.paused=!0},paused:!1,concurrency:n,running:function(){return l},resume:function(){if(!p.paused)return;p.paused=!1;for(var e=0;e<p.concurrency;e++)l++,f()},idle:function(){return 0===l&&0===p.length()},length:function(){var e=s,t=0;for(;e;)e=e.next,t++;return t},getQueue:function(){var e=s,t=[];for(;e;)t.push(e.value),e=e.next;return t},unshift:function(n,a){var i=o.get();i.context=e,i.release=f,i.value=n,i.callback=a||r,l===p.concurrency||p.paused?s?(i.next=s,s=i):(s=i,c=i,p.saturated()):(l++,t.call(e,i.value,i.worked))},empty:r,kill:function(){s=null,c=null,p.drain=r},killAndDrain:function(){s=null,c=null,p.drain(),p.drain=r},error:function(e){u=e}};return p;function f(n){n&&o.release(n);var a=s;a?p.paused?l--:(c===s&&(c=null),s=a.next,a.next=null,t.call(e,a.value,a.worked),null===c&&p.empty()):0==--l&&p.drain()}}},2937:(e,t,n)=>{"use strict";var a=n(1669),r=n(8295).Duplex;function i(e,t){var n,a,o=this,s={sent:!1,chunks:[],size:0};if(!(this instanceof i))return new i(e,t);if(e=e||{},!(t instanceof Function))throw new Error("FirstChunkStream constructor requires a callback as its second argument.");if("number"!=typeof e.chunkLength)throw new Error("FirstChunkStream constructor requires `options.chunkLength` to be a number.");if(e.objectMode)throw new Error("FirstChunkStream doesn't support `objectMode` yet.");function c(e,n,a,r){e?setImmediate((function(){o.removeListener("error",s.errorHandler)})):o.removeListener("error",s.errorHandler),s.sent=!0,t(e,n,a,(function(e,t,n){e?setImmediate((function(){o.emit("error",e)})):t?s.manager.programPush(t,n,r):r()}))}r.call(this,e),s.manager=(a={waitPush:!0,programmedPushs:[],programPush:function(e,t,r){r=r||function(){},a.programmedPushs.push([e,t,r]),setImmediate(a.attemptPush),n.emit("readable"),n.emit("drain")},attemptPush:function(){var e;a.waitPush?a.programmedPushs.length&&(e=a.programmedPushs.shift(),a.waitPush=n.push(e[0],e[1]),e[2]()):setImmediate((function(){n.emit("readable")}))}},(n=this)._read=function(){a.waitPush=!0,setImmediate(a.attemptPush)},a),s.errorHandler=function(e){c(e,Buffer.concat(s.chunks,s.size),s.encoding,(function(){}))},this.on("error",s.errorHandler),this._write=function(t,n,a){s.encoding=n,s.sent?s.manager.programPush(t,s.encoding,a):t.length<e.chunkLength-s.size?(s.chunks.push(t),s.size+=t.length,a()):(s.chunks.push(t.slice(0,e.chunkLength-s.size)),t=t.slice(e.chunkLength-s.size),s.size+=s.chunks[s.chunks.length-1].length,c(null,Buffer.concat(s.chunks,s.size),s.encoding,(function(){t.length?s.manager.programPush(t,s.encoding,a):a()})))},this.on("finish",(function(){if(!s.sent)return c(null,Buffer.concat(s.chunks,s.size),s.encoding,(function(){s.manager.programPush(null,s.encoding)}));s.manager.programPush(null,s.encoding)}))}a.inherits(i,r),e.exports=i},8637:(e,t,n)=>{"use strict";var a=n(3490),r=n(5622).posix.dirname,i="win32"===n(2087).platform(),o=/\\/g,s=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&i&&e.indexOf("/")<0&&(e=e.replace(o,"/")),s.test(e)&&(e+="/"),e+="a";do{e=r(e)}while(a(e)||c.test(e));return e.replace(l,"$1")}},346:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:e.__proto__};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}},2159:(e,t,n)=>{var a,r,i=n(5747),o=n(3489),s=n(4385),c=n(346),l=n(1669);function u(e,t){Object.defineProperty(e,a,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(a=Symbol.for("graceful-fs.queue"),r=Symbol.for("graceful-fs.previous")):(a="___graceful-fs.queue",r="___graceful-fs.previous");var p=function(){};if(l.debuglog?p=l.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(p=function(){var e=l.format.apply(l,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!i[a]){var f=global[a]||[];u(i,f),i.close=function(e){function t(t,n){return e.call(i,t,(function(e){e||g(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,r,{value:e}),t}(i.close),i.closeSync=function(e){function t(t){e.apply(i,arguments),g()}return Object.defineProperty(t,r,{value:e}),t}(i.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){p(i[a]),n(2357).equal(i[a].length,0)}))}function d(e){o(e),e.gracefulify=d,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,a){"function"==typeof n&&(a=n,n=null);return function e(n,a,r){return t(n,a,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof r&&r.apply(this,arguments),g()):h([e,[n,a,r]])}))}(e,n,a)};var n=e.writeFile;e.writeFile=function(e,t,a,r){"function"==typeof a&&(r=a,a=null);return function e(t,a,r,i){return n(t,a,r,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof i&&i.apply(this,arguments),g()):h([e,[t,a,r,i]])}))}(e,t,a,r)};var a=e.appendFile;a&&(e.appendFile=function(e,t,n,r){"function"==typeof n&&(r=n,n=null);return function e(t,n,r,i){return a(t,n,r,(function(a){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?("function"==typeof i&&i.apply(this,arguments),g()):h([e,[t,n,r,i]])}))}(e,t,n,r)});var r=e.readdir;function i(t){return r.apply(e,t)}if(e.readdir=function(e,t,n){var a=[e];"function"!=typeof t?a.push(t):n=t;return a.push((function(e,t){t&&t.sort&&t.sort();!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof n&&n.apply(this,arguments),g()):h([i,[a]])})),i(a)},"v0.8"===process.version.substr(0,4)){var c=s(e);m=c.ReadStream,y=c.WriteStream}var l=e.ReadStream;l&&(m.prototype=Object.create(l.prototype),m.prototype.open=function(){var e=this;b(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var u=e.WriteStream;u&&(y.prototype=Object.create(u.prototype),y.prototype.open=function(){var e=this;b(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return m},set:function(e){m=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return y},set:function(e){y=e},enumerable:!0,configurable:!0});var p=m;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:!0,configurable:!0});var f=y;function m(e,t){return this instanceof m?(l.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}function y(e,t){return this instanceof y?(u.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var v=e.open;function b(e,t,n,a){return"function"==typeof n&&(a=n,n=null),function e(t,n,a,r){return v(t,n,a,(function(i,o){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?("function"==typeof r&&r.apply(this,arguments),g()):h([e,[t,n,a,r]])}))}(e,t,n,a)}return e.open=b,e}function h(e){p("ENQUEUE",e[0].name,e[1]),i[a].push(e)}function g(){var e=i[a].shift();e&&(p("RETRY",e[0].name,e[1]),e[0].apply(null,e[1]))}global[a]||u(global,i[a]),e.exports=d(c(i)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!i.__patched&&(e.exports=d(i),i.__patched=!0)},4385:(e,t,n)=>{var a=n(2413).Stream;e.exports=function(e){return{ReadStream:function t(n,r){if(!(this instanceof t))return new t(n,r);a.call(this);var i=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,r=r||{};for(var o=Object.keys(r),s=0,c=o.length;s<c;s++){var l=o[s];this[l]=r[l]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){i._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return i.emit("error",e),void(i.readable=!1);i.fd=t,i.emit("open",t),i._read()}))},WriteStream:function t(n,r){if(!(this instanceof t))return new t(n,r);a.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,r=r||{};for(var i=Object.keys(r),o=0,s=i.length;o<s;o++){var c=i[o];this[c]=r[c]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},3489:(e,t,n)=>{var a=n(7619),r=process.cwd,i=null,o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=r.call(process)),i};try{process.cwd()}catch(e){}var s=process.chdir;process.chdir=function(e){i=null,s.call(process,e)},e.exports=function(e){a.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,r){e.open(t,a.O_WRONLY|a.O_SYMLINK,n,(function(t,a){t?r&&r(t):e.fchmod(a,n,(function(t){e.close(a,(function(e){r&&r(t||e)}))}))}))},e.lchmodSync=function(t,n){var r,i=e.openSync(t,a.O_WRONLY|a.O_SYMLINK,n),o=!0;try{r=e.fchmodSync(i,n),o=!1}finally{if(o)try{e.closeSync(i)}catch(e){}else e.closeSync(i)}return r}}(e);e.lutimes||function(e){a.hasOwnProperty("O_SYMLINK")?(e.lutimes=function(t,n,r,i){e.open(t,a.O_SYMLINK,(function(t,a){t?i&&i(t):e.futimes(a,n,r,(function(t){e.close(a,(function(e){i&&i(t||e)}))}))}))},e.lutimesSync=function(t,n,r){var i,o=e.openSync(t,a.O_SYMLINK),s=!0;try{i=e.futimesSync(o,n,r),s=!1}finally{if(s)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return i}):(e.lutimes=function(e,t,n,a){a&&process.nextTick(a)},e.lutimesSync=function(){})}(e);e.chown=i(e.chown),e.fchown=i(e.fchown),e.lchown=i(e.lchown),e.chmod=n(e.chmod),e.fchmod=n(e.fchmod),e.lchmod=n(e.lchmod),e.chownSync=s(e.chownSync),e.fchownSync=s(e.fchownSync),e.lchownSync=s(e.lchownSync),e.chmodSync=r(e.chmodSync),e.fchmodSync=r(e.fchmodSync),e.lchmodSync=r(e.lchmodSync),e.stat=c(e.stat),e.fstat=c(e.fstat),e.lstat=c(e.lstat),e.statSync=l(e.statSync),e.fstatSync=l(e.fstatSync),e.lstatSync=l(e.lstatSync),e.lchmod||(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){});e.lchown||(e.lchown=function(e,t,n,a){a&&process.nextTick(a)},e.lchownSync=function(){});"win32"===o&&(e.rename=(t=e.rename,function(n,a,r){var i=Date.now(),o=0;t(n,a,(function s(c){if(c&&("EACCES"===c.code||"EPERM"===c.code)&&Date.now()-i<6e4)return setTimeout((function(){e.stat(a,(function(e,i){e&&"ENOENT"===e.code?t(n,a,s):r(c)}))}),o),void(o<100&&(o+=10));r&&r(c)}))}));var t;function n(t){return t?function(n,a,r){return t.call(e,n,a,(function(e){u(e)&&(e=null),r&&r.apply(this,arguments)}))}:t}function r(t){return t?function(n,a){try{return t.call(e,n,a)}catch(e){if(!u(e))throw e}}:t}function i(t){return t?function(n,a,r,i){return t.call(e,n,a,r,(function(e){u(e)&&(e=null),i&&i.apply(this,arguments)}))}:t}function s(t){return t?function(n,a,r){try{return t.call(e,n,a,r)}catch(e){if(!u(e))throw e}}:t}function c(t){return t?function(n,a,r){function i(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),r&&r.apply(this,arguments)}return"function"==typeof a&&(r=a,a=null),a?t.call(e,n,a,i):t.call(e,n,i)}:t}function l(t){return t?function(n,a){var r=a?t.call(e,n,a):t.call(e,n);return r.uid<0&&(r.uid+=4294967296),r.gid<0&&(r.gid+=4294967296),r}:t}function u(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read=function(t){function n(n,a,r,i,o,s){var c;if(s&&"function"==typeof s){var l=0;c=function(u,p,f){if(u&&"EAGAIN"===u.code&&l<10)return l++,t.call(e,n,a,r,i,o,c);s.apply(this,arguments)}}return t.call(e,n,a,r,i,o,c)}return n.__proto__=t,n}(e.read),e.readSync=(p=e.readSync,function(t,n,a,r,i){for(var o=0;;)try{return p.call(e,t,n,a,r,i)}catch(e){if("EAGAIN"===e.code&&o<10){o++;continue}throw e}});var p}},9154:(e,t,n)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?l(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}n.r(t),n.d(t,{default:()=>Q});var h={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(t,n)}return c(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||h,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,a){return a&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,i({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),m=function(){function e(){o(this,e),this.observers={}}return c(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(this.observers[e]){var r=[].concat(this.observers[e]);r.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function y(){var e,t,n=new Promise((function(n,a){e=n,t=a}));return n.resolve=e,n.reject=t,n}function v(e){return null==e?"":""+e}function b(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function P(e,t,n){function a(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function r(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(r())return{};var o=a(i.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return r()?{}:{obj:e,k:a(i.shift())}}function S(e,t,n){var a=P(e,t,Object);a.obj[a.k]=n}function T(e,t){var n=P(e,t),a=n.obj,r=n.k;if(a)return a[r]}function O(e,t,n){var a=T(e,n);return void 0!==a?a:T(t,n)}function _(e,t,n){for(var a in t)"__proto__"!==a&&"constructor"!==a&&(a in e?"string"==typeof e[a]||e[a]instanceof String||"string"==typeof t[a]||t[a]instanceof String?n&&(e[a]=t[a]):_(e[a],t[a],n):e[a]=t[a]);return e}function E(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function A(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return C[e]})):e}var I="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var a=t.split(n),r=e,i=0;i<a.length;++i){if("string"==typeof r[a[i]]&&i+1<a.length)return;if(void 0===r[a[i]]){for(var o=2,s=a.slice(i,i+o).join(n),c=r[s];void 0===c&&a.length>i+o;)o++,c=r[s=a.slice(i,i+o).join(n)];if(void 0===c)return;if("string"==typeof c)return c;if(s&&"string"==typeof c[s])return c[s];var l=a.slice(i+o).join(n);return l?R(c,l,n):void 0}r=r[a[i]]}return r}}var x=function(e){function t(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,t),n=u(this,p(t).call(this)),I&&m.call(l(n)),n.data=e||{},n.options=a,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return d(t,e),c(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,i=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure,o=[e,t];n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(o=e.split("."));var s=T(this.data,o);return s||!i||"string"!=typeof n?s:R(this.data&&this.data[e]&&this.data[e][t],n,r)}},{key:"addResource",value:function(e,t,n,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var o=[e,t];n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=t,t=(o=e.split("."))[1]),this.addNamespaces(t),S(this.data,o,a),r.silent||this.emit("added",e,t,n,a)}},{key:"addResources",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)"string"!=typeof n[r]&&"[object Array]"!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});a.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(a=n,n=t,t=(s=e.split("."))[1]),this.addNamespaces(t);var c=T(this.data,s)||{};a?_(c,n,r):c=i({},c,n),S(this.data,s,c),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?i({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(m),F={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,a,r){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,a,r))})),t}},w={},j=function(e){function t(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),n=u(this,p(t).call(this)),I&&m.call(l(n)),b(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,l(n)),n.options=a,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=g.create("translator"),n}return d(t,e),c(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:r};var o=e.split(n);(n!==a||n===a&&this.options.ns.indexOf(o[0])>-1)&&(r=o.shift()),e=o.join(a)}return"string"==typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==a(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var s=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,c=this.extractFromKey(e[e.length-1],n),l=c.key,u=c.namespaces,p=u[u.length-1],f=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var h=n.nsSeparator||this.options.nsSeparator;return p+h+l}return l}var g=this.resolve(e,n),m=g&&g.res,y=g&&g.usedKey||l,v=g&&g.exactUsedKey||l,b=Object.prototype.toString.apply(m),P=["[object Number]","[object Function]","[object RegExp]"],S=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject,O="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(T&&m&&O&&P.indexOf(b)<0&&("string"!=typeof S||"[object Array]"!==b)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,m,i({},n,{ns:u})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(s){var _="[object Array]"===b,E=_?[]:{},C=_?v:y;for(var A in m)if(Object.prototype.hasOwnProperty.call(m,A)){var I="".concat(C).concat(s).concat(A);E[A]=this.translate(I,i({},n,{joinArrays:!1,ns:u})),E[A]===I&&(E[A]=m[A])}m=E}}else if(T&&"string"==typeof S&&"[object Array]"===b)(m=m.join(S))&&(m=this.extendTranslation(m,e,n,r));else{var R=!1,x=!1,F=void 0!==n.count&&"string"!=typeof n.count,w=t.hasDefaultValue(n),j=F?this.pluralResolver.getSuffix(f,n.count):"",N=n["defaultValue".concat(j)]||n.defaultValue;!this.isValidLookup(m)&&w&&(R=!0,m=N),this.isValidLookup(m)||(x=!0,m=l);var L=w&&N!==m&&this.options.updateMissing;if(x||R||L){if(this.logger.log(L?"updateKey":"missingKey",f,p,l,L?N:m),s){var D=this.resolve(l,i({},n,{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var V=[],M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&M&&M[0])for(var k=0;k<M.length;k++)V.push(M[k]);else"all"===this.options.saveMissingTo?V=this.languageUtils.toResolveHierarchy(n.lng||this.language):V.push(n.lng||this.language);var $=function(e,t,a){o.options.missingKeyHandler?o.options.missingKeyHandler(e,p,t,L?a:m,L,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,p,t,L?a:m,L,n),o.emit("missingKey",e,p,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&F?V.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(t){$([e],l+t,n["defaultValue".concat(t)]||N)}))})):$(V,l,N))}m=this.extendTranslation(m,e,n,g,r),x&&m===l&&this.options.appendNamespaceToMissingKey&&(m="".concat(p,":").concat(l)),x&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(m))}return m}},{key:"extendTranslation",value:function(e,t,n,a,r){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(i({},n,{interpolation:i({},this.options.interpolation,n.interpolation)}));var s,c=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(c){var l=e.match(this.interpolator.nestingRegexp);s=l&&l.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=i({},this.options.interpolation.defaultVariables,u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),c){var p=e.match(this.interpolator.nestingRegexp);s<(p&&p.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return r&&r[0]===a[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(a[0]," in key: ").concat(t[0])),null):o.translate.apply(o,a.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=F.handle(d,e,t,this.options&&this.options.postProcessPassResolved?i({i18nResolved:a},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,a,r,i,o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var c=o.extractFromKey(e,s),l=c.key;n=l;var u=c.namespaces;o.options.fallbackNS&&(u=u.concat(o.options.fallbackNS));var p=void 0!==s.count&&"string"!=typeof s.count,f=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,d=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);u.forEach((function(e){o.isValidLookup(t)||(i=e,!w["".concat(d[0],"-").concat(e)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(i)&&(w["".concat(d[0],"-").concat(e)]=!0,o.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(n){if(!o.isValidLookup(t)){r=n;var i,c,u=l,d=[u];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(d,l,n,e,s);else p&&(i=o.pluralResolver.getSuffix(n,s.count)),p&&f&&d.push(u+i),f&&d.push(u+="".concat(o.options.contextSeparator).concat(s.context)),p&&d.push(u+=i);for(;c=d.pop();)o.isValidLookup(t)||(a=c,t=o.getResource(n,e,c,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:a,usedLng:r,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,a):this.resourceStore.getResource(e,t,n,a)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}(m);function N(e){return e.charAt(0).toUpperCase()+e.slice(1)}var L=function(){function e(t){o(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return c(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=N(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var a=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(a)||(t=a)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var a=n.getLanguagePartFromCode(e);if(n.isSupportedCode(a))return t=a;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(a))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,a=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),a.forEach((function(e){r.indexOf(e)<0&&i(n.formatLanguageCode(e))})),r}}]),e}(),D=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],V={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function M(){var e={};return D.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:V[t.fc]}}))})),e}var k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=t,this.options=n,this.logger=g.create("pluralResolver"),this.rules=M()}return c(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,a=this.getRule(e);if(a){var r=a.noAbs?a.plurals(t):a.plurals(Math.abs(t)),i=a.numbers[r];this.options.simplifyPluralSuffix&&2===a.numbers.length&&1===a.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===a.numbers.length&&1===a.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),$=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=g.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return c(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:A,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?E(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?E(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?E(t.nestingPrefix):t.nestingPrefixEscaped||E("$t("),this.nestingSuffix=t.nestingSuffix?E(t.nestingSuffix):t.nestingSuffixEscaped||E(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,a){var r,o,s,c=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var p=function(e){if(e.indexOf(c.formatSeparator)<0){var r=O(t,l,e);return c.alwaysFormat?c.format(r,void 0,n,i({},a,t,{interpolationkey:e})):r}var o=e.split(c.formatSeparator),s=o.shift().trim(),u=o.join(c.formatSeparator).trim();return c.format(O(t,l,s),u,n,i({},a,t,{interpolationkey:s}))};this.resetRegExp();var f=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,d=a&&a.interpolation&&a.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return c.escapeValue?u(c.escape(e)):u(e)}}].forEach((function(t){for(s=0;r=t.regex.exec(e);){if(void 0===(o=p(r[1].trim())))if("function"==typeof f){var n=f(e,r,a);o="string"==typeof n?n:""}else{if(d){o=r[0];continue}c.logger.warn("missed to pass in variable ".concat(r[1]," for interpolating ").concat(e)),o=""}else"string"==typeof o||c.useRawValueToEscape||(o=v(o));var i=t.safeValue(o);if(e=e.replace(r[0],i),d?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=r[0].length):t.regex.lastIndex=0,++s>=c.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,a,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i({},o);function c(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var a=e.split(new RegExp("".concat(n,"[ ]*{"))),r="{".concat(a[1]);e=a[0],r=(r=this.interpolate(r,s)).replace(/'/g,'"');try{s=JSON.parse(r),t&&(s=i({},t,s))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(r)}return delete s.defaultValue,e}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var p=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=p.shift(),l=p,u=!0}if((a=t(c.call(this,n[1].trim(),s),s))&&n[0]===e&&"string"!=typeof a)return a;"string"!=typeof a&&(a=v(a)),a||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),a=""),u&&(a=l.reduce((function(e,t){return r.format(e,t,o.lng,i({},o,{interpolationkey:n[1].trim()}))}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}]),e}();var B=function(e){function t(e,n,a){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o(this,t),r=u(this,p(t).call(this)),I&&m.call(l(r)),r.backend=e,r.store=n,r.services=a,r.languageUtils=a.languageUtils,r.options=i,r.logger=g.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(a,i.backend,i),r}return d(t,e),c(t,[{key:"queueLoad",value:function(e,t,n,a){var r=this,i=[],o=[],s=[],c=[];return e.forEach((function(e){var a=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?o.indexOf(s)<0&&o.push(s):(r.state[s]=1,a=!1,o.indexOf(s)<0&&o.push(s),i.indexOf(s)<0&&i.push(s),c.indexOf(t)<0&&c.push(t)))})),a||s.push(e)})),(i.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:a}),{toLoad:i,pending:o,toLoadLanguages:s,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,n){var a=e.split("|"),r=a[0],i=a[1];t&&this.emit("failedLoading",r,i,t),n&&this.store.addResourceBundle(r,i,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){var a,s,c,l,u,p;a=n.loaded,s=i,l=P(a,[r],Object),u=l.obj,p=l.k,u[p]=u[p]||[],c&&(u[p]=u[p].concat(s)),c||u[p].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){o[e].indexOf(t)<0&&o[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var a=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,o=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,c){s&&c&&r<5?setTimeout((function(){a.read.call(a,e,t,n,r+1,2*i,o)}),i):o(s,c)})):o(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,a,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e.split("|"),r=a[0],i=a[1];this.read(r,i,"read",void 0,void 0,(function(a,o){a&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(r," failed"),a),!a&&o&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(r),o),t.loaded(e,a,o)}))}},{key:"saveMissing",value:function(e,t,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,a,null,i({},o,{isUpdate:r})),e&&e[0]&&this.store.addResource(e[0],t,n,a))}}]),t}(m);function U(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===a(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===a(e[2])||"object"===a(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,a){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function H(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function K(){}const Q=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(o(this,t),e=u(this,p(t).call(this)),I&&m.call(l(e)),e.options=H(n),e.services={},e.logger=g,e.modules={external:[]},a&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,a),u(e,l(e));setTimeout((function(){e.init(n,a)}),0)}return e}return d(t,e),c(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function a(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=i({},U(),this.options,H(t)),this.format=this.options.interpolation.format,n||(n=K),!this.options.isClone){this.modules.logger?g.init(a(this.modules.logger),this.options):g.init(null,this.options);var r=new L(this.options);this.store=new x(this.options.resources,this.options);var o=this.services;o.logger=g,o.resourceStore=this.store,o.languageUtils=r,o.pluralResolver=new k(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),o.interpolator=new $(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new B(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];e.emit.apply(e,[t].concat(a))})),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new j(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];e.emit.apply(e,[t].concat(a))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var l=["addResource","addResources","addResourceBundle","removeResourceBundle"];l.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=y(),p=function(){var t=function(t,a){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(a),n(t,a)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,a=n,r="string"==typeof e?e:this.language;if("function"==typeof e&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return a();var i=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(r)o(r);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return o(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(i,this.options.ns,a)}else a(null)}},{key:"reloadResources",value:function(e,t,n){var a=y();return e||(e=this.languages),t||(t=this.options.ns),n||(n=K),this.services.backendConnector.reload(e,t,(function(e){a.resolve(),n(e)})),a}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&F.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var a=y();this.emit("languageChanging",e);var r=function(r){e||r||!n.services.languageDetector||(r=[]);var i="string"==typeof r?r:n.services.languageUtils.getBestMatchFromCodes(r);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,r){r?(n.language=r,n.languages=n.services.languageUtils.toResolveHierarchy(r),n.translator.changeLanguage(r),n.isLanguageChangingTo=void 0,n.emit("languageChanged",r),n.logger.log("languageChanged",r)):n.isLanguageChangingTo=void 0,a.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),a}},{key:"getFixedT",value:function(e,t){var n=this,r=function e(t,r){var o;if("object"!==a(r)){for(var s=arguments.length,c=new Array(s>2?s-2:0),l=2;l<s;l++)c[l-2]=arguments[l];o=n.options.overloadTranslationOptionHandler([t,r].concat(c))}else o=i({},r);return o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns,n.t(t,o)};return"string"==typeof e?r.lng=e:r.lngs=e,r.ns=t,r}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var a=this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===a.toLowerCase())return!0;var o=function(e,n){var a=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===a||2===a};if(n.precheck){var s=n.precheck(this,o);if(void 0!==s)return s}return!!this.hasResourceBundle(a,e)||(!this.services.backendConnector.backend||!(!o(a,e)||r&&!o(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,a=y();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){a.resolve(),t&&t(e)})),a):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=y();"string"==typeof e&&(e=[e]);var a=this.options.preload||[],r=e.filter((function(e){return a.indexOf(e)<0}));return r.length?(this.options.preload=a.concat(r),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,r=i({},this.options,n,{isClone:!0}),o=new t(r),s=["store","services","language"];return s.forEach((function(t){o[t]=e[t]})),o.services=i({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new j(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];o.emit.apply(o,[e].concat(n))})),o.init(r,a),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(m))},5822:(e,t,n)=>{try{var a=n(1669);if("function"!=typeof a.inherits)throw"";e.exports=a.inherits}catch(t){e.exports=n(9105)}},9105:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},1016:e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},3490:(e,t,n)=>{var a=n(1016),r={"{":"}","(":")","[":"]"},i=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/,o=/\\(.)|(^!|[*?{}()[\]]|\(\?)/;e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(a(e))return!0;var n,s=i;for(t&&!1===t.strict&&(s=o);n=s.exec(e);){if(n[2])return!0;var c=n.index+n[0].length,l=n[1],u=l?r[l]:null;if(l&&u){var p=e.indexOf(u,c);-1!==p&&(c=p+1)}e=e.slice(c)}return!1}},3253:(e,t)=>{e.exports=function(e){for(var t=0;t<e.length;)if(9==e[t]||10==e[t]||13==e[t]||32<=e[t]&&e[t]<=126)t+=1;else if(194<=e[t]&&e[t]<=223&&128<=e[t+1]&&e[t+1]<=191)t+=2;else if(224==e[t]&&160<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191||(225<=e[t]&&e[t]<=236||238==e[t]||239==e[t])&&128<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191||237==e[t]&&128<=e[t+1]&&e[t+1]<=159&&128<=e[t+2]&&e[t+2]<=191)t+=3;else{if(!(240==e[t]&&144<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191&&128<=e[t+3]&&e[t+3]<=191||241<=e[t]&&e[t]<=243&&128<=e[t+1]&&e[t+1]<=191&&128<=e[t+2]&&e[t+2]<=191&&128<=e[t+3]&&e[t+3]<=191||244==e[t]&&128<=e[t+1]&&e[t+1]<=143&&128<=e[t+2]&&e[t+2]<=191&&128<=e[t+3]&&e[t+3]<=191))return!1;t+=4}return!0}},5092:function(e,t,n){"use strict";var a=this&&this.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(r,i){function o(e){try{c(a.next(e))}catch(e){i(e)}}function s(e){try{c(a.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((a=a.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.isBinaryFileSync=t.isBinaryFile=void 0;const r=n(5747),i=n(1669),o=i.promisify(r.stat),s=i.promisify(r.open),c=i.promisify(r.close),l=512;function u(e,t){if(0===t)return!1;let n=0;const a=Math.min(t,l);if(t>=3&&239===e[0]&&187===e[1]&&191===e[2])return!1;if(t>=4&&0===e[0]&&0===e[1]&&254===e[2]&&255===e[3])return!1;if(t>=4&&255===e[0]&&254===e[1]&&0===e[2]&&0===e[3])return!1;if(t>=4&&132===e[0]&&49===e[1]&&149===e[2]&&51===e[3])return!1;if(a>=5&&"%PDF-"===e.slice(0,5).toString())return!0;if(t>=2&&254===e[0]&&255===e[1])return!1;if(t>=2&&255===e[0]&&254===e[1])return!1;for(let t=0;t<a;t++){if(0===e[t])return!0;if((e[t]<7||e[t]>14)&&(e[t]<32||e[t]>127)){if(e[t]>193&&e[t]<224&&t+1<a){if(t++,e[t]>127&&e[t]<192)continue}else if(e[t]>223&&e[t]<240&&t+2<a&&(t++,e[t]>127&&e[t]<192&&e[t+1]>127&&e[t+1]<192)){t++;continue}if(n++,t>32&&100*n/a>10)return!0}}return 100*n/a>10}function p(e){return"string"==typeof e}function f(e){if(!e.isFile())throw new Error("Path provided was not a file!")}t.isBinaryFile=function(e,t){return a(this,void 0,void 0,(function*(){if(p(e)){f(yield o(e));const t=yield s(e,"r"),n=Buffer.alloc(l);return new Promise(((e,a)=>{r.read(t,n,0,l,0,((r,i,o)=>{c(t),r?a(r):e(u(n,i))}))}))}return void 0===t&&(t=e.length),u(e,t)}))},t.isBinaryFileSync=function(e,t){if(p(e)){f(r.statSync(e));const t=r.openSync(e,"r"),n=Buffer.alloc(l),a=r.readSync(t,n,0,l,0);return r.closeSync(t),u(n,a)}return void 0===t&&(t=e.length),u(e,t)}},8125:e=>{"use strict";var t=e.exports=function(e,t,a){"function"==typeof t&&(a=t,t={}),n(t,"function"==typeof(a=t.cb||a)?a:a.pre||function(){},a.post||function(){},e,"",e)};function n(e,a,r,i,o,s,c,l,u,p){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in a(i,o,s,c,l,u,p),i){var d=i[f];if(Array.isArray(d)){if(f in t.arrayKeywords)for(var h=0;h<d.length;h++)n(e,a,r,d[h],o+"/"+f+"/"+h,s,o,f,i,h)}else if(f in t.propsKeywords){if(d&&"object"==typeof d)for(var g in d)n(e,a,r,d[g],o+"/"+f+"/"+g.replace(/~/g,"~0").replace(/\//g,"~1"),s,o,f,i,g)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,a,r,d,o+"/"+f,s,o,f,i)}r(i,o,s,c,l,u,p)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},4366:e=>{var t="__lodash_hash_undefined__",n="[object Function]",a="[object GeneratorFunction]",r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,o=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,u="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,f=u||p||Function("return this")();var d,h=Array.prototype,g=Function.prototype,m=Object.prototype,y=f["__core-js_shared__"],v=(d=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",b=g.toString,P=m.hasOwnProperty,S=m.toString,T=RegExp("^"+b.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=f.Symbol,_=h.splice,E=V(f,"Map"),C=V(Object,"create"),A=O?O.prototype:void 0,I=A?A.toString:void 0;function R(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function w(e,t){for(var n,a,r=e.length;r--;)if((n=e[r][0])===(a=t)||n!=n&&a!=a)return r;return-1}function j(e){return!(!H(e)||(t=e,v&&v in t))&&(function(e){var t=H(e)?S.call(e):"";return t==n||t==a}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?T:l).test(function(e){if(null!=e){try{return b.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function N(e,t){e=function(e,t){return 1==t.length?e:function(e,t){for(var n=0,a=(t=M(t,e)?[t]:L(t)).length;null!=e&&n<a;)e=e[$(t[n++])];return n&&n==a?e:void 0}(e,function(e,t,n){var a=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++a<r;)i[a]=e[a+t];return i}(t,0,-1))}(e,t=M(t,e)?[t]:L(t));var n,a,r=$((a=(n=t)?n.length:0)?n[a-1]:void 0);return!(null!=e&&P.call(e,r))||delete e[r]}function L(e){return U(e)?e:k(e)}function D(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function V(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}function M(e,t){if(U(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!K(e))||(i.test(e)||!r.test(e)||null!=t&&e in Object(t))}R.prototype.clear=function(){this.__data__=C?C(null):{}},R.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},R.prototype.get=function(e){var n=this.__data__;if(C){var a=n[e];return a===t?void 0:a}return P.call(n,e)?n[e]:void 0},R.prototype.has=function(e){var t=this.__data__;return C?void 0!==t[e]:P.call(t,e)},R.prototype.set=function(e,n){return this.__data__[e]=C&&void 0===n?t:n,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(e){var t=this.__data__,n=w(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},x.prototype.get=function(e){var t=this.__data__,n=w(t,e);return n<0?void 0:t[n][1]},x.prototype.has=function(e){return w(this.__data__,e)>-1},x.prototype.set=function(e,t){var n=this.__data__,a=w(n,e);return a<0?n.push([e,t]):n[a][1]=t,this},F.prototype.clear=function(){this.__data__={hash:new R,map:new(E||x),string:new R}},F.prototype.delete=function(e){return D(this,e).delete(e)},F.prototype.get=function(e){return D(this,e).get(e)},F.prototype.has=function(e){return D(this,e).has(e)},F.prototype.set=function(e,t){return D(this,e).set(e,t),this};var k=B((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(K(e))return I?I.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(s,(function(e,t,a,r){n.push(a?r.replace(c,"$1"):t||e)})),n}));function $(e){if("string"==typeof e||K(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function B(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var o=e.apply(this,a);return n.cache=i.set(r,o),o};return n.cache=new(B.Cache||F),n}B.Cache=F;var U=Array.isArray;function H(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function K(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==S.call(e)}e.exports=function(e,t){return null==e||N(e,t)}},4937:(e,t,n)=>{"use strict";const a=n(5179);e.exports=function(e,t,n,r,i){n=n||{},r=r||{},this.append(e,a.render(t.toString(),n,r),i)}},9859:(e,t,n)=>{"use strict";const{EOL:a}=n(2087);e.exports=function(e,t,n){if(n={trimEnd:!0,separator:a,...n},!this.exists(e)&&n.create)return void this.write(e,t);let r=this.read(e);n.trimEnd&&(r=r.replace(/\s+$/,"")),this.write(e,r+n.separator+t)}},5755:(e,t,n)=>{"use strict";const a=n(5747).promises,r=n(5622),{clearFileState:i,isFileStateModified:o,isFileStateDeleted:s,setCommittedFile:c}=n(6268);e.exports=async function(e){const t=this.store.get(e.path);t&&t===e||this.store.add(e),o(e)?(c(e),await async function(e){const t=r.dirname(e.path);try{if(!(await a.stat(t)).isDirectory())throw new Error(`${e.path} is not a directory`)}catch(e){if("ENOENT"!==e.code)throw e;await a.mkdir(t,{recursive:!0})}const n={};e.stat&&(n.mode=e.stat.mode),await a.writeFile(e.path,e.contents,n)}(e)):s(e)&&(c(e),await async function(e){const t=a.rm||a.rmdir;await t(e.path,{recursive:!0})}(e)),i(e)}},6001:(e,t,n)=>{"use strict";const{promisify:a}=n(1669),{pipeline:r}=n(2413),i=a(r),{createPendingFilesPassthrough:o,createCommitTransform:s}=n(8206);e.exports=function(e,t,n){"function"==typeof e?(n=e,e=[],t=void 0):"function"==typeof t&&(n=t,t=void 0),t=t||this.store.stream(),e=e||[];const a=i(t,o(),...e,s(this));return n?a.then((()=>n()),n):a}},3947:(e,t,n)=>{"use strict";const a=n(2357),r=n(5747),i=n(5747).promises,o=n(5622),s=n(8613),c=n(8371),l=n(5179),u=n(1297),p=n(5696);async function f(e,t){const n=await Promise.resolve(e.call(this,t));return Buffer.isBuffer(n)?n:Buffer.from(n)}function d(e,t,n){return t?l.render(e,t,n):e}t.B=async function(e,t,n,l,f){t=o.resolve(t),n=n||{};const h=await async function(e){let t;if("string"!=typeof e)return;t=e;const n=o.resolve(t);try{if((await i.stat(n)).isFile())return n}catch(e){}}(e);if(h)return this._copySingleAsync(h,d(t,l,f),n);const g=u.globify(e),m={...n.globOptions,nodir:!0},y=s.sync(g,m).map((e=>o.resolve(e))),v=[];this.store.each((e=>{s.hasMagic(p(e.path))||0===c([e.path],g).length||y.includes(e.path)||v.push(e.path)}));let b=()=>t;if(Array.isArray(e)||!this.exists(e)||s.hasMagic(p(e))){a(!this.exists(t)||r.statSync(t).isDirectory(),"When copying multiple files, provide a directory as destination");const i=n.processDestinationPath||(e=>e),s=u.getCommonPath(e);b=e=>{const n=o.relative(s,e);return i(o.join(t,n))}}a(n.ignoreNoMatch||y.length>0||v.length>0,"Trying to copy from a source that does not exist: "+e),await Promise.all([...y.map((e=>this._copySingleAsync(e,d(b(e),l,f),n))),...v.map((e=>Promise.resolve(this._copySingle(e,d(b(e),l,f),n))))])},t.i=async function(e,t,n={}){if(!n.processFile)return this._copySingle(e,t,n);const a=await f.call(this,n.processFile,e);if(n.append){if(!this.store.existsInMemory)throw new Error("Current mem-fs is not compatible with append");if(this.store.existsInMemory(t))return void this.append(t,a,{create:!0,...n})}const r=await i.stat(e);this.write(t,a,r)}},2705:(e,t,n)=>{"use strict";const a=n(5179),r=n(5747).promises,{isBinary:i}=n(1297);e.exports=async function(e,t,n,o,s){n=n||{},o=o||{},await this.copyAsync(e,t,{processDestinationPath:e=>e.replace(/.ejs$/,""),...s,processFile:async e=>i(e,null)?r.readFile(e):a.renderFile(e,n,o),process:(e,t,a)=>this._processTpl({contents:e,filename:t,destination:a,context:n,tplSettings:o})},n,o)}},7997:(e,t,n)=>{"use strict";const a=n(5179),{isBinary:r}=n(1297);e.exports.J=function({contents:e,filename:t,context:n,tplSettings:i}){return r(t,e)?e:a.render(e.toString(),n,{filename:t,...i})},e.exports.y=function(e,t,n,a,r){n=n||{},a=a||{},this.copy(e,t,{processDestinationPath:e=>e.replace(/.ejs$/,""),...r,process:(e,t)=>this._processTpl({contents:e,filename:t,context:n,tplSettings:a})},n,a)}},749:(e,t,n)=>{"use strict";const a=n(2357),r=n(5747),i=n(5622),o=n(8613),s=n(8371),c=n(5179),l=n(1297),u=n(5696);t.J=function(e,t,n,p,f){t=i.resolve(t),n=n||{};const d=l.globify(e);let h=[];if(n.noGlob){const e=Array.isArray(d)?d:[d];h=e.filter((e=>r.existsSync(e)))}else{const e={...n.globOptions,nodir:!0};h=o.sync(d,e).map((e=>i.resolve(e)))}const g=[];this.store.each((e=>{o.hasMagic(u(e.path))||0===s([e.path],d).length||h.includes(e.path)||g.push(e.path)}));const m=h.concat(g);let y=()=>t;if(Array.isArray(e)||!this.exists(e)||o.hasMagic(u(e))){a(!this.exists(t)||r.statSync(t).isDirectory(),"When copying multiple files, provide a directory as destination");const o=n.processDestinationPath||(e=>e),s=l.getCommonPath(e);y=e=>{const n=i.relative(s,e);return o(i.join(t,n))}}a(n.ignoreNoMatch||m.length>0,"Trying to copy from a source that does not exist: "+e),m.forEach((e=>{let t=y(e);p&&(t=c.render(t,p,f)),this._copySingle(e,t,n,p,f)}))},t.W=function(e,t,n={}){a(this.exists(e),"Trying to copy from a source that does not exist: "+e);const r=this.store.get(e);let{contents:i}=r;if(n.process&&(i=function(e,t,n){const a=e(t,n);return Buffer.isBuffer(a)?a:Buffer.from(a)}(n.process,r.contents,r.path)),n.append){if(!this.store.existsInMemory)throw new Error("Current mem-fs is not compatible with append");if(this.store.existsInMemory(t))return void this.append(t,i,{create:!0,...n})}this.write(t,i,r.stat)}},7617:(e,t,n)=>{"use strict";const a=n(5622),r=n(8613),i=n(8371),o=n(1297),{setDeletedFileState:s}=n(6268);function c(e,t){const n=t.get(e);s(n),n.contents=null,t.add(n)}e.exports=function(e,t){Array.isArray(e)||(e=[e]),e=e.map((e=>a.resolve(e))),e=o.globify(e);const n=(t=t||{}).globOptions||{};r.sync(e,n).forEach((e=>{c(e,this.store)})),this.store.each((t=>{0!==i([t.path],e).length&&c(t.path,this.store)}))}},1045:(e,t,n)=>{"use strict";const a=n(5622),r=n(5696),i=n(2979),{hasClearedState:o,hasState:s,STATE:c,STATE_CLEARED:l}=n(6268);e.exports=function(e=process.cwd(),t=(e=>o(e)||s(e))){if("string"==typeof t){const e=t;t=t=>i(t.path,e)}return Object.fromEntries(this.store.all().filter((n=>t(n,e))).map((t=>{const n=r(e?a.relative(e,t.path):t.path),i={contents:t.contents?t.contents.toString():t.contents};return t[c]&&(i[c]=t[c]),t[l]&&(i[l]=t[l]),[n,i]})))}},893:e=>{"use strict";e.exports=function(e){return null!==this.store.get(e).contents}},2382:(e,t,n)=>{"use strict";const a=n(103);e.exports=function(e,t,n,r){const i=this.readJSON(e,{}),o=a({},i,t);this.writeJSON(e,o,n,r)}},1618:e=>{"use strict";e.exports=function(e,t,n){this.copy(e,t,n),this.delete(e,n)}},7253:e=>{"use strict";e.exports=function(e,t){if(!this.exists(e))return t;try{return JSON.parse(this.read(e))}catch(t){throw new Error("Could not parse JSON in file: "+e+". Detail: "+t.message)}}},4638:e=>{"use strict";e.exports=function(e,t){t=t||{raw:!1};const n=this.store.get(e);if(null===n.contents){if("defaults"in t)return t.defaults;throw new Error(e+" doesn't exist")}return t.raw?n.contents:n.contents.toString()}},9012:e=>{"use strict";e.exports=function(e,t,n,a){const r=JSON.stringify(t,n||null,a||2)+"\n";return this.write(e,r)}},8369:(e,t,n)=>{"use strict";const a=n(2357),{isFileStateModified:r,setModifiedFileState:i}=n(6268);e.exports=function(e,t,n){a("string"==typeof t||Buffer.isBuffer(t),"Expected `contents` to be a String or a Buffer");const o=this.store.get(e),s=Buffer.isBuffer(t)?t:Buffer.from(t);return r(o)&&Buffer.isBuffer(o.contents)&&s.equals(o.contents)&&(void 0===n||o.stat===n)||(i(o),o.contents=s,o.stat=n,this.store.add(o)),o.contents.toString()}},6244:(e,t,n)=>{"use strict";function a(e){this.store=e}a.prototype.read=n(4638),a.prototype.readJSON=n(7253),a.prototype.exists=n(893),a.prototype.write=n(8369),a.prototype.writeJSON=n(9012),a.prototype.extendJSON=n(2382),a.prototype.append=n(9859),a.prototype.appendTpl=n(4937),a.prototype.delete=n(7617),a.prototype.copy=n(749).J,a.prototype._copySingle=n(749).W,a.prototype.copyTpl=n(7997).y,a.prototype._processTpl=n(7997).J,a.prototype.copyAsync=n(3947).B,a.prototype._copySingleAsync=n(3947).i,a.prototype.copyTplAsync=n(2705),a.prototype.move=n(1618),a.prototype.commit=n(6001),a.prototype.commitFileAsync=n(5755),a.prototype.dump=n(1045),t.create=function(e){return new a(e)},t.State=n(6268)},6268:(e,t,n)=>{const a=n(5747),r="state",i="stateCleared",o="modified",s="deleted",c=(e,t)=>{e.state=t},l=e=>(void 0===e.isNew&&(e.isNew=!a.existsSync(e.path)),e.isNew),u=e=>e.state===o,p=e=>e.state===s,f=e=>{delete e.state};e.exports={STATE:r,STATE_CLEARED:i,STATE_MODIFIED:o,STATE_DELETED:s,isFileStateModified:u,setModifiedFileState:e=>c(e,o),isFileStateDeleted:p,setDeletedFileState:e=>c(e,s),setCommittedFile:e=>{e.committed=!0},isFileCommitted:e=>Boolean(e.committed),isFileNew:l,isFilePending:e=>u(e)||p(e)&&!l(e),resetFileState:f,clearFileState:e=>{e.state&&(e.stateCleared=e.state),f(e),delete e.isNew},hasState:e=>Boolean(e.state),hasClearedState:e=>Boolean(e.stateCleared)}},8206:(e,t,n)=>{const{createTransform:a}=n(1297),{isFilePending:r}=n(6268);e.exports={createPendingFilesPassthrough:()=>a(((e,t,n)=>{n(void 0,r(e)?e:void 0)})),createCommitTransform:e=>a(((t,n,a)=>{e.commitFileAsync(t).then((()=>a())).catch((e=>a(e)))}))}},1297:(e,t,n)=>{"use strict";const a=n(5747),r=n(5622),i=n(2169),o=n(8613),s=n(5696),{Transform:c}=n(2413),{isBinaryFileSync:l}=n(5092),{default:u}=n(3611),{default:p}=n(1672);function f(e){return null!=e&&"!"!==e.charAt(0)}t.getCommonPath=function(e){if(Array.isArray(e))return e=e.filter(f).map(this.getCommonPath.bind(this)),i(e);const t=e.indexOf("*");if(-1!==t)e=e.substring(0,t+1);else if(a.existsSync(e)&&a.statSync(e).isDirectory())return e;return r.dirname(e)},t.globify=function(e){if(Array.isArray(e))return e.reduce(((e,t)=>e.concat(this.globify(s(t)))),[]);if(e=s(e),o.hasMagic(e))return e;if(!a.existsSync(e))return[e,s(r.join(e,"**"))];const t=a.statSync(e);if(t.isFile())return e;if(t.isDirectory())return s(r.join(e,"**"));throw new Error("Only file path or directory path are supported.")},t.createTransform=function(e){return new c({objectMode:!0,transform(...t){return e.apply(this,t)}})},t.isBinary=(e,t)=>{const n=r.extname(e).replace(/^\./,"")||r.basename(e);return!!p.includes(n)||!u.includes(n)&&(a.existsSync(e)&&l(e)||t&&l(Buffer.isBuffer(t)?t:Buffer.from(t)))}},2595:e=>{"use strict";e.exports=(e,...t)=>{const n=new Set([].concat(...t));return e.filter((e=>!n.has(e)))}},9707:e=>{"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]},1936:(e,t,n)=>{"use strict";const{promisify:a}=n(1669),r=n(5747),i=n(5622),o=n(9689),s=n(4149),c=n(9764),l=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],u=a(r.readFile),p=(e,t)=>{const n=c(i.relative(t.cwd,i.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter((e=>!e.startsWith("#"))).map((e=>t=>t.startsWith("!")?"!"+i.posix.join(e,t.slice(1)):i.posix.join(e,t))(n))},f=e=>{const t=s();for(const n of e)t.add(p(n.content,{cwd:n.cwd,fileName:n.filePath}));return t},d=(e,t)=>n=>e.ignores(c(i.relative(t,((e,t)=>{if(e=c(e),i.isAbsolute(t)){if(c(t).startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return i.join(e,t)})(t,n.path||n)))),h=({ignore:e=[],cwd:t=c(process.cwd())}={})=>({ignore:e,cwd:t});e.exports=async e=>{e=h(e);const t=await o("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd}),n=await Promise.all(t.map((t=>(async(e,t)=>{const n=i.join(t,e);return{cwd:t,filePath:n,content:await u(n,"utf8")}})(t,e.cwd)))),a=f(n);return d(a,e.cwd)},e.exports.sync=e=>{e=h(e);const t=o.sync("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd}).map((t=>((e,t)=>{const n=i.join(t,e);return{cwd:t,filePath:n,content:r.readFileSync(n,"utf8")}})(t,e.cwd))),n=f(t);return d(n,e.cwd)}},8613:(e,t,n)=>{"use strict";const a=n(5747),r=n(2245),i=n(1993),o=n(9689),s=n(4217),c=n(1936),{FilterStream:l,UniqueStream:u}=n(7005),p=()=>!1,f=e=>"!"===e[0],d=(e,t)=>{(e=>{if(!e.every((e=>"string"==typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=r([].concat(e))),((e={})=>{if(!e.cwd)return;let t;try{t=a.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(t);const n=[];t={ignore:[],expandDirectories:!0,...t};for(const[a,r]of e.entries()){if(f(r))continue;const i=e.slice(a).filter((e=>f(e))).map((e=>e.slice(1))),o={...t,ignore:t.ignore.concat(i)};n.push({pattern:r,options:o})}return n},h=(e,t)=>e.options.expandDirectories?((e,t)=>{let n={};return e.options.cwd&&(n.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?n={...n,files:e.options.expandDirectories}:"object"==typeof e.options.expandDirectories&&(n={...n,...e.options.expandDirectories}),t(e.pattern,n)})(e,t):[e.pattern],g=e=>e&&e.gitignore?c.sync({cwd:e.cwd,ignore:e.ignore}):p,m=e=>t=>{const{options:n}=e;return n.ignore&&Array.isArray(n.ignore)&&n.expandDirectories&&(n.ignore=s.sync(n.ignore)),{pattern:t,options:n}};e.exports=async(e,t)=>{const n=d(e,t),[i,l]=await Promise.all([(async()=>t&&t.gitignore?c({cwd:t.cwd,ignore:t.ignore}):p)(),(async()=>{const e=await Promise.all(n.map((async e=>{const t=await h(e,s);return Promise.all(t.map(m(e)))})));return r(...e)})()]),u=await Promise.all(l.map((e=>o(e.pattern,e.options))));return r(...u).filter((e=>{return!i((t=e,t.stats instanceof a.Stats?t.path:t));var t}))},e.exports.sync=(e,t)=>{const n=d(e,t),a=[];for(const e of n){const t=h(e,s.sync).map(m(e));a.push(...t)}const i=g(t);let c=[];for(const e of a)c=r(c,o.sync(e.pattern,e.options));return c.filter((e=>!i(e)))},e.exports.stream=(e,t)=>{const n=d(e,t),a=[];for(const e of n){const t=h(e,s.sync).map(m(e));a.push(...t)}const r=g(t),c=new l((e=>!r(e))),p=new u;return i(a.map((e=>o.stream(e.pattern,e.options)))).pipe(c).pipe(p)},e.exports.generateGlobTasks=d,e.exports.hasMagic=(e,t)=>[].concat(e).some((e=>o.isDynamicPattern(e,t))),e.exports.gitignore=c},7005:(e,t,n)=>{"use strict";const{Transform:a}=n(2413);class ObjectTransform extends a{constructor(){super({objectMode:!0})}}e.exports={FilterStream:class FilterStream extends ObjectTransform{constructor(e){super(),this._filter=e}_transform(e,t,n){this._filter(e)&&this.push(e),n()}},UniqueStream:class UniqueStream extends ObjectTransform{constructor(){super(),this._pushed=new Set}_transform(e,t,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}}}},4149:e=>{function t(e){return Array.isArray(e)?e:[e]}const n=/^\s+$/,a=/^\\!/,r=/^\\#/,i=/\r?\n/g,o=/^\.*\/|^\.+$/,s="undefined"!=typeof Symbol?Symbol.for("node-ignore"):"node-ignore",c=/([0-z])-([0-z])/g,l=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(e,t)=>`${t}[^\\/]*`],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,a,r)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(a)}${r}`:"]"===r&&a.length%2==0?`[${(e=>e.replace(c,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${a}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],u=Object.create(null),p=e=>"string"==typeof e;class IgnoreRule{constructor(e,t,n,a){this.origin=e,this.pattern=t,this.negative=n,this.regex=a}}const f=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const o=((e,t,n)=>{const a=u[e];if(a)return a;const r=l.reduce(((t,n)=>t.replace(n[0],n[1].bind(e))),e);return u[e]=n?new RegExp(r,"i"):new RegExp(r)})(e=e.replace(a,"!").replace(r,"#"),0,t);return new IgnoreRule(n,e,i,o)},d=(e,t)=>{throw new t(e)},h=(e,t,n)=>{if(!p(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(h.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},g=e=>o.test(e);h.isNotRelative=g,h.convert=e=>e;class Ignore{constructor({ignorecase:e=!0}={}){var t,n,a;this._rules=[],this._ignorecase=e,t=this,n=s,a=!0,Object.defineProperty(t,n,{value:a}),this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[s])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&p(e)&&!n.test(e)&&0!==e.indexOf("#"))(e)){const t=f(e,this._ignorecase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(p(e)?(e=>e.split(i))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,a=!1;return this._rules.forEach((r=>{const{negative:i}=r;if(a===i&&n!==a||i&&!n&&!a&&!t)return;r.regex.test(e)&&(n=!i,a=i)})),{ignored:n,unignored:a}}_test(e,t,n,a){const r=e&&h.convert(e);return h(r,e,d),this._t(r,t,n,a)}_t(e,t,n,a){if(e in t)return t[e];if(a||(a=e.split("/")),a.pop(),!a.length)return t[e]=this._testOne(e,n);const r=this._t(a.join("/")+"/",t,n,a);return t[e]=r.ignored?r:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const m=e=>new Ignore(e),y=()=>!1;if(m.isPathValid=e=>h(e&&h.convert(e),e,y),m.default=m,e.exports=m,"undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");h.convert=e;const t=/^[a-z]:\//i;h.isNotRelative=e=>t.test(e)||g(e)}},8371:(e,t,n)=>{"use strict";const a=n(2979),r=n(2245),i=n(2595),o=n(9707);e.exports=(e,t,n={})=>{if(e=o(e),t=o(t),0===e.length||0===t.length)return[];let s=[];for(const o of e)for(let e of t){let t=r;"!"===e[0]&&(e=e.slice(1),t=i),s=t(s,a.match([o],e,n))}return s}},5955:(e,t,n)=>{"use strict";var a=n(8614),r=n(5622),i=n(1669),o=n(5762),s=n(3356);const{PassThrough:c}=n(2413);t.create=function(){var e={};function t(t){var n;try{n=o.readSync(t)}catch(e){n=function(e){return new s({cwd:process.cwd(),base:process.cwd(),path:e,contents:null})}(t)}return e[t]=n,n}var n=function(){a.EventEmitter.apply(this,arguments)};return i.inherits(n,a.EventEmitter),n.prototype.get=function(n){return n=r.resolve(n),e[n]||t(n)},n.prototype.existsInMemory=function(t){return t=r.resolve(t),!!e[t]},n.prototype.add=function(t){return e[t.path]=t,this.emit("change",t.path),this},n.prototype.each=function(t){return Object.keys(e).forEach((function(n,a){t(e[n],a)})),this},n.prototype.all=function(){return Object.values(e)},n.prototype.stream=function(){const e=new c({objectMode:!0,autoDestroy:!0});return setImmediate(function(){this.each((t=>e.write(t))),e.end()}.bind(this)),e},new n}},1993:(e,t,n)=>{"use strict";const a=n(2413).PassThrough,r=Array.prototype.slice;function i(e,t){if(Array.isArray(e))for(let n=0,a=e.length;n<a;n++)e[n]=i(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(a(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[],t=r.call(arguments);let n=!1,o=t[t.length-1];o&&!Array.isArray(o)&&null==o.pipe?t.pop():o={};const s=!1!==o.end,c=!0===o.pipeError;null==o.objectMode&&(o.objectMode=!0);null==o.highWaterMark&&(o.highWaterMark=65536);const l=a(o);function u(){for(let t=0,n=arguments.length;t<n;t++)e.push(i(arguments[t],o));return p(),this}function p(){if(n)return;n=!0;let t=e.shift();if(!t)return void process.nextTick(f);Array.isArray(t)||(t=[t]);let a=t.length+1;function r(){--a>0||(n=!1,p())}function i(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),c&&e.removeListener("error",n),r()}function n(e){l.emit("error",e)}if(e._readableState.endEmitted)return r();e.on("merge2UnpipeEnd",t),e.on("end",t),c&&e.on("error",n),e.pipe(l,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)i(t[e]);r()}function f(){n=!1,l.emit("queueDrain"),s&&l.end()}l.setMaxListeners(0),l.add=u,l.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&u.apply(null,t);return l}},2979:(e,t,n)=>{e.exports=f,f.Minimatch=d;var a={sep:"/"};try{a=n(5622)}catch(e){}var r=f.GLOBSTAR=d.GLOBSTAR={},i=n(8063),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="[^/]",c="[^/]*?",l="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var u=/\/+/;function p(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach((function(e){n[e]=t[e]})),Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function f(e,t,n){if("string"!=typeof t)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new d(t,n).match(e))}function d(e,t){if(!(this instanceof d))return new d(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==a.sep&&(e=e.split(a.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function h(e,t){if(t||(t=this instanceof d?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:i(e)}f.filter=function(e,t){return t=t||{},function(n,a,r){return f(n,e,t)}},f.defaults=function(e){if(!e||!Object.keys(e).length)return f;var t=f,n=function(n,a,r){return t.minimatch(n,a,p(e,r))};return n.Minimatch=function(n,a){return new t.Minimatch(n,p(e,a))},n},d.defaults=function(e){return e&&Object.keys(e).length?f.defaults(e).Minimatch:d},d.prototype.debug=function(){},d.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map((function(e){return e.split(u)})),this.debug(this.pattern,n),n=n.map((function(e,t,n){return e.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,n),this.set=n},d.prototype.parseNegate=function(){var e=this.pattern,t=!1,n=this.options,a=0;if(n.nonegate)return;for(var r=0,i=e.length;r<i&&"!"===e.charAt(r);r++)t=!t,a++;a&&(this.pattern=e.substr(a));this.negate=t},f.braceExpand=function(e,t){return h(e,t)},d.prototype.braceExpand=h,d.prototype.parse=function(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===e)return r;if(""===e)return"";var a,i="",u=!!n.nocase,p=!1,f=[],d=[],h=!1,m=-1,y=-1,v="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function P(){if(a){switch(a){case"*":i+=c,u=!0;break;case"?":i+=s,u=!0;break;default:i+="\\"+a}b.debug("clearStateChar %j %j",a,i),a=!1}}for(var S,T=0,O=e.length;T<O&&(S=e.charAt(T));T++)if(this.debug("%s\t%s %s %j",e,T,i,S),p&&l[S])i+="\\"+S,p=!1;else switch(S){case"/":return!1;case"\\":P(),p=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,T,i,S),h){this.debug(" in class"),"!"===S&&T===y+1&&(S="^"),i+=S;continue}b.debug("call clearStateChar %j",a),P(),a=S,n.noext&&P();continue;case"(":if(h){i+="(";continue}if(!a){i+="\\(";continue}f.push({type:a,start:T-1,reStart:i.length,open:o[a].open,close:o[a].close}),i+="!"===a?"(?:(?!(?:":"(?:",this.debug("plType %j %j",a,i),a=!1;continue;case")":if(h||!f.length){i+="\\)";continue}P(),u=!0;var _=f.pop();i+=_.close,"!"===_.type&&d.push(_),_.reEnd=i.length;continue;case"|":if(h||!f.length||p){i+="\\|",p=!1;continue}P(),i+="|";continue;case"[":if(P(),h){i+="\\"+S;continue}h=!0,y=T,m=i.length,i+=S;continue;case"]":if(T===y+1||!h){i+="\\"+S,p=!1;continue}if(h){var E=e.substring(y+1,T);try{RegExp("["+E+"]")}catch(e){var C=this.parse(E,g);i=i.substr(0,m)+"\\["+C[0]+"\\]",u=u||C[1],h=!1;continue}}u=!0,h=!1,i+=S;continue;default:P(),p?p=!1:!l[S]||"^"===S&&h||(i+="\\"),i+=S}h&&(E=e.substr(y+1),C=this.parse(E,g),i=i.substr(0,m)+"\\["+C[0],u=u||C[1]);for(_=f.pop();_;_=f.pop()){var A=i.slice(_.reStart+_.open.length);this.debug("setting tail",i,_),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,n){return n||(n="\\"),t+t+n+"|"})),this.debug("tail=%j\n %s",A,A,_,i);var I="*"===_.type?c:"?"===_.type?s:"\\"+_.type;u=!0,i=i.slice(0,_.reStart)+I+"\\("+A}P(),p&&(i+="\\\\");var R=!1;switch(i.charAt(0)){case".":case"[":case"(":R=!0}for(var x=d.length-1;x>-1;x--){var F=d[x],w=i.slice(0,F.reStart),j=i.slice(F.reStart,F.reEnd-8),N=i.slice(F.reEnd-8,F.reEnd),L=i.slice(F.reEnd);N+=L;var D=w.split("(").length-1,V=L;for(T=0;T<D;T++)V=V.replace(/\)[+*?]?/,"");var M="";""===(L=V)&&t!==g&&(M="$"),i=w+j+L+M+N}""!==i&&u&&(i="(?=.)"+i);R&&(i=v+i);if(t===g)return[i,u];if(!u)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var k=n.nocase?"i":"";try{var $=new RegExp("^"+i+"$",k)}catch(e){return new RegExp("$.")}return $._glob=e,$._src=i,$};var g={};f.makeRe=function(e,t){return new d(e,t||{}).makeRe()},d.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,n=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",a=t.nocase?"i":"",i=e.map((function(e){return e.map((function(e){return e===r?n:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,a)}catch(e){this.regexp=!1}return this.regexp},f.match=function(e,t,n){var a=new d(t,n=n||{});return e=e.filter((function(e){return a.match(e)})),a.options.nonull&&!e.length&&e.push(t),e},d.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var n=this.options;"/"!==a.sep&&(e=e.split(a.sep).join("/"));e=e.split(u),this.debug(this.pattern,"split",e);var r,i,o=this.set;for(this.debug(this.pattern,"set",o),i=e.length-1;i>=0&&!(r=e[i]);i--);for(i=0;i<o.length;i++){var s=o[i],c=e;if(n.matchBase&&1===s.length&&(c=[r]),this.matchOne(c,s,t))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},d.prototype.matchOne=function(e,t,n){var a=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,o=0,s=e.length,c=t.length;i<s&&o<c;i++,o++){this.debug("matchOne loop");var l,u=t[o],p=e[i];if(this.debug(t,u,p),!1===u)return!1;if(u===r){this.debug("GLOBSTAR",[t,u,p]);var f=i,d=o+1;if(d===c){for(this.debug("** at the end");i<s;i++)if("."===e[i]||".."===e[i]||!a.dot&&"."===e[i].charAt(0))return!1;return!0}for(;f<s;){var h=e[f];if(this.debug("\nglobstar while",e,f,t,d,h),this.matchOne(e.slice(f),t.slice(d),n))return this.debug("globstar found match!",f,s,h),!0;if("."===h||".."===h||!a.dot&&"."===h.charAt(0)){this.debug("dot detected!",e,f,t,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!n||(this.debug("\n>>> no match, partial?",e,f,t,d),f!==s))}if("string"==typeof u?(l=a.nocase?p.toLowerCase()===u.toLowerCase():p===u,this.debug("string match",u,p,l)):(l=p.match(u),this.debug("pattern match",u,p,l)),!l)return!1}if(i===s&&o===c)return!0;if(i===s)return n;if(o===c)return i===s-1&&""===e[i];throw new Error("wtf?")}},5696:e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var a="";if(n>4&&"\\"===e[3]){var r=e[2];"?"!==r&&"."!==r||"\\\\"!==e.slice(0,2)||(e=e.slice(2),a="//")}var i=e.split(/[/\\]+/);return!1!==t&&""===i[i.length-1]&&i.pop(),a+i.join("/")}},4973:(e,t,n)=>{"use strict";e.exports=n(6367)},8929:(e,t,n)=>{"use strict";const a=n(5622),r="[^\\\\/]",i="\\.",o="\\/",s="[^/]",c="(?:\\/|$)",l="(?:^|\\/)",u="\\.{1,2}(?:\\/|$)",p={DOT_LITERAL:i,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:o,ONE_CHAR:"(?=.)",QMARK:s,END_ANCHOR:c,DOTS_SLASH:u,NO_DOT:"(?!\\.)",NO_DOTS:`(?!(?:^|\\/)${u})`,NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:l},f={...p,SLASH_LITERAL:"[\\\\/]",QMARK:r,STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:a.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:p}},7494:(e,t,n)=>{"use strict";const a=n(8929),r=n(557),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=a,u=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>r.escapeRegex(e))).join("..")}return n},p=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,f=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const n={...t},f="number"==typeof n.maxLength?Math.min(i,n.maxLength):i;let d=e.length;if(d>f)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${f}`);const h={type:"bos",value:"",output:n.prepend||""},g=[h],m=n.capture?"":"?:",y=r.isWindows(t),v=a.globChars(y),b=a.extglobChars(v),{DOT_LITERAL:P,PLUS_LITERAL:S,SLASH_LITERAL:T,ONE_CHAR:O,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:C,NO_DOTS_SLASH:A,QMARK:I,QMARK_NO_DOT:R,STAR:x,START_ANCHOR:F}=v,w=e=>`(${m}(?:(?!${F}${e.dot?_:P}).)*?)`,j=n.dot?"":E,N=n.dot?I:R;let L=!0===n.bash?w(n):x;n.capture&&(L=`(${L})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const D={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};e=r.removePrefix(e,D),d=e.length;const V=[],M=[],k=[];let $,B=h;const U=()=>D.index===d-1,H=D.peek=(t=1)=>e[D.index+t],K=D.advance=()=>e[++D.index],Q=()=>e.slice(D.index+1),G=(e="",t=0)=>{D.consumed+=e,D.index+=t},W=e=>{D.output+=null!=e.output?e.output:e.value,G(e.value)},q=()=>{let e=1;for(;"!"===H()&&("("!==H(2)||"?"===H(3));)K(),D.start++,e++;return e%2!=0&&(D.negated=!0,D.start++,!0)},J=e=>{D[e]++,k.push(e)},X=e=>{D[e]--,k.pop()},z=e=>{if("globstar"===B.type){const t=D.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||V.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(D.output=D.output.slice(0,-B.output.length),B.type="star",B.value="*",B.output=L,D.output+=B.output)}if(V.length&&"paren"!==e.type&&!b[e.value]&&(V[V.length-1].inner+=e.value),(e.value||e.output)&&W(e),B&&"text"===B.type&&"text"===e.type)return B.value+=e.value,void(B.output=(B.output||"")+e.value);e.prev=B,g.push(e),B=e},Y=(e,t)=>{const a={...b[t],conditions:1,inner:""};a.prev=B,a.parens=D.parens,a.output=D.output;const r=(n.capture?"(":"")+a.open;J("parens"),z({type:e,value:t,output:D.output?"":O}),z({type:"paren",extglob:!0,value:K(),output:r}),V.push(a)},Z=e=>{let t=e.close+(n.capture?")":"");if("negate"===e.type){let a=L;e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=w(n)),(a!==L||U()||/^\)+$/.test(Q()))&&(t=e.close=`)$))${a}`),"bos"===e.prev.type&&U()&&(D.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:$,output:t}),X("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let a=!1,i=e.replace(c,((e,t,n,r,i,o)=>"\\"===r?(a=!0,e):"?"===r?t?t+r+(i?I.repeat(i.length):""):0===o?N+(i?I.repeat(i.length):""):I.repeat(n.length):"."===r?P.repeat(n.length):"*"===r?t?t+r+(i?L:""):L:t?e:`\\${e}`));return!0===a&&(i=!0===n.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===n.contains?(D.output=e,D):(D.output=r.wrapOutput(i,D,t),D)}for(;!U();){if($=K(),"\0"===$)continue;if("\\"===$){const e=H();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){$+="\\",z({type:"text",value:$});continue}const t=/^\\+/.exec(Q());let a=0;if(t&&t[0].length>2&&(a=t[0].length,D.index+=a,a%2!=0&&($+="\\")),!0===n.unescape?$=K()||"":$+=K()||"",0===D.brackets){z({type:"text",value:$});continue}}if(D.brackets>0&&("]"!==$||"["===B.value||"[^"===B.value)){if(!1!==n.posix&&":"===$){const e=B.value.slice(1);if(e.includes("[")&&(B.posix=!0,e.includes(":"))){const e=B.value.lastIndexOf("["),t=B.value.slice(0,e),n=B.value.slice(e+2),a=o[n];if(a){B.value=t+a,D.backtrack=!0,K(),h.output||1!==g.indexOf(B)||(h.output=O);continue}}}("["===$&&":"!==H()||"-"===$&&"]"===H())&&($=`\\${$}`),"]"!==$||"["!==B.value&&"[^"!==B.value||($=`\\${$}`),!0===n.posix&&"!"===$&&"["===B.value&&($="^"),B.value+=$,W({value:$});continue}if(1===D.quotes&&'"'!==$){$=r.escapeRegex($),B.value+=$,W({value:$});continue}if('"'===$){D.quotes=1===D.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:$});continue}if("("===$){J("parens"),z({type:"paren",value:$});continue}if(")"===$){if(0===D.parens&&!0===n.strictBrackets)throw new SyntaxError(p("opening","("));const e=V[V.length-1];if(e&&D.parens===e.parens+1){Z(V.pop());continue}z({type:"paren",value:$,output:D.parens?")":"\\)"}),X("parens");continue}if("["===$){if(!0!==n.nobracket&&Q().includes("]"))J("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));$=`\\${$}`}z({type:"bracket",value:$});continue}if("]"===$){if(!0===n.nobracket||B&&"bracket"===B.type&&1===B.value.length){z({type:"text",value:$,output:`\\${$}`});continue}if(0===D.brackets){if(!0===n.strictBrackets)throw new SyntaxError(p("opening","["));z({type:"text",value:$,output:`\\${$}`});continue}X("brackets");const e=B.value.slice(1);if(!0===B.posix||"^"!==e[0]||e.includes("/")||($=`/${$}`),B.value+=$,W({value:$}),!1===n.literalBrackets||r.hasRegexChars(e))continue;const t=r.escapeRegex(B.value);if(D.output=D.output.slice(0,-B.value.length),!0===n.literalBrackets){D.output+=t,B.value=t;continue}B.value=`(${m}${t}|${B.value})`,D.output+=B.value;continue}if("{"===$&&!0!==n.nobrace){J("braces");const e={type:"brace",value:$,output:"(",outputIndex:D.output.length,tokensIndex:D.tokens.length};M.push(e),z(e);continue}if("}"===$){const e=M[M.length-1];if(!0===n.nobrace||!e){z({type:"text",value:$,output:$});continue}let t=")";if(!0===e.dots){const e=g.slice(),a=[];for(let t=e.length-1;t>=0&&(g.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&a.unshift(e[t].value);t=u(a,n),D.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=D.output.slice(0,e.outputIndex),a=D.tokens.slice(e.tokensIndex);e.value=e.output="\\{",$=t="\\}",D.output=n;for(const e of a)D.output+=e.output||e.value}z({type:"brace",value:$,output:t}),X("braces"),M.pop();continue}if("|"===$){V.length>0&&V[V.length-1].conditions++,z({type:"text",value:$});continue}if(","===$){let e=$;const t=M[M.length-1];t&&"braces"===k[k.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:$,output:e});continue}if("/"===$){if("dot"===B.type&&D.index===D.start+1){D.start=D.index+1,D.consumed="",D.output="",g.pop(),B=h;continue}z({type:"slash",value:$,output:T});continue}if("."===$){if(D.braces>0&&"dot"===B.type){"."===B.value&&(B.output=P);const e=M[M.length-1];B.type="dots",B.output+=$,B.value+=$,e.dots=!0;continue}if(D.braces+D.parens===0&&"bos"!==B.type&&"slash"!==B.type){z({type:"text",value:$,output:P});continue}z({type:"dot",value:$,output:P});continue}if("?"===$){if(!(B&&"("===B.value)&&!0!==n.noextglob&&"("===H()&&"?"!==H(2)){Y("qmark",$);continue}if(B&&"paren"===B.type){const e=H();let t=$;if("<"===e&&!r.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===B.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(Q()))&&(t=`\\${$}`),z({type:"text",value:$,output:t});continue}if(!0!==n.dot&&("slash"===B.type||"bos"===B.type)){z({type:"qmark",value:$,output:R});continue}z({type:"qmark",value:$,output:I});continue}if("!"===$){if(!0!==n.noextglob&&"("===H()&&("?"!==H(2)||!/[!=<:]/.test(H(3)))){Y("negate",$);continue}if(!0!==n.nonegate&&0===D.index){q();continue}}if("+"===$){if(!0!==n.noextglob&&"("===H()&&"?"!==H(2)){Y("plus",$);continue}if(B&&"("===B.value||!1===n.regex){z({type:"plus",value:$,output:S});continue}if(B&&("bracket"===B.type||"paren"===B.type||"brace"===B.type)||D.parens>0){z({type:"plus",value:$});continue}z({type:"plus",value:S});continue}if("@"===$){if(!0!==n.noextglob&&"("===H()&&"?"!==H(2)){z({type:"at",extglob:!0,value:$,output:""});continue}z({type:"text",value:$});continue}if("*"!==$){"$"!==$&&"^"!==$||($=`\\${$}`);const e=s.exec(Q());e&&($+=e[0],D.index+=e[0].length),z({type:"text",value:$});continue}if(B&&("globstar"===B.type||!0===B.star)){B.type="star",B.star=!0,B.value+=$,B.output=L,D.backtrack=!0,D.globstar=!0,G($);continue}let t=Q();if(!0!==n.noextglob&&/^\([^?]/.test(t)){Y("star",$);continue}if("star"===B.type){if(!0===n.noglobstar){G($);continue}const a=B.prev,r=a.prev,i="slash"===a.type||"bos"===a.type,o=r&&("star"===r.type||"globstar"===r.type);if(!0===n.bash&&(!i||t[0]&&"/"!==t[0])){z({type:"star",value:$,output:""});continue}const s=D.braces>0&&("comma"===a.type||"brace"===a.type),c=V.length&&("pipe"===a.type||"paren"===a.type);if(!i&&"paren"!==a.type&&!s&&!c){z({type:"star",value:$,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[D.index+4];if(n&&"/"!==n)break;t=t.slice(3),G("/**",3)}if("bos"===a.type&&U()){B.type="globstar",B.value+=$,B.output=w(n),D.output=B.output,D.globstar=!0,G($);continue}if("slash"===a.type&&"bos"!==a.prev.type&&!o&&U()){D.output=D.output.slice(0,-(a.output+B.output).length),a.output=`(?:${a.output}`,B.type="globstar",B.output=w(n)+(n.strictSlashes?")":"|$)"),B.value+=$,D.globstar=!0,D.output+=a.output+B.output,G($);continue}if("slash"===a.type&&"bos"!==a.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";D.output=D.output.slice(0,-(a.output+B.output).length),a.output=`(?:${a.output}`,B.type="globstar",B.output=`${w(n)}${T}|${T}${e})`,B.value+=$,D.output+=a.output+B.output,D.globstar=!0,G($+K()),z({type:"slash",value:"/",output:""});continue}if("bos"===a.type&&"/"===t[0]){B.type="globstar",B.value+=$,B.output=`(?:^|${T}|${w(n)}${T})`,D.output=B.output,D.globstar=!0,G($+K()),z({type:"slash",value:"/",output:""});continue}D.output=D.output.slice(0,-B.output.length),B.type="globstar",B.output=w(n),B.value+=$,D.output+=B.output,D.globstar=!0,G($);continue}const a={type:"star",value:$,output:L};!0!==n.bash?!B||"bracket"!==B.type&&"paren"!==B.type||!0!==n.regex?(D.index!==D.start&&"slash"!==B.type&&"dot"!==B.type||("dot"===B.type?(D.output+=C,B.output+=C):!0===n.dot?(D.output+=A,B.output+=A):(D.output+=j,B.output+=j),"*"!==H()&&(D.output+=O,B.output+=O)),z(a)):(a.output=$,z(a)):(a.output=".*?","bos"!==B.type&&"slash"!==B.type||(a.output=j+a.output),z(a))}for(;D.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));D.output=r.escapeLast(D.output,"["),X("brackets")}for(;D.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing",")"));D.output=r.escapeLast(D.output,"("),X("parens")}for(;D.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","}"));D.output=r.escapeLast(D.output,"{"),X("braces")}if(!0===n.strictSlashes||"star"!==B.type&&"bracket"!==B.type||z({type:"maybe_slash",value:"",output:`${T}?`}),!0===D.backtrack){D.output="";for(const e of D.tokens)D.output+=null!=e.output?e.output:e.value,e.suffix&&(D.output+=e.suffix)}return D};f.fastpaths=(e,t)=>{const n={...t},o="number"==typeof n.maxLength?Math.min(i,n.maxLength):i,s=e.length;if(s>o)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${o}`);e=l[e]||e;const c=r.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:p,ONE_CHAR:f,DOTS_SLASH:d,NO_DOT:h,NO_DOTS:g,NO_DOTS_SLASH:m,STAR:y,START_ANCHOR:v}=a.globChars(c),b=n.dot?g:h,P=n.dot?m:h,S=n.capture?"":"?:";let T=!0===n.bash?".*?":y;n.capture&&(T=`(${T})`);const O=e=>!0===e.noglobstar?T:`(${S}(?:(?!${v}${e.dot?d:u}).)*?)`,_=e=>{switch(e){case"*":return`${b}${f}${T}`;case".*":return`${u}${f}${T}`;case"*.*":return`${b}${T}${u}${f}${T}`;case"*/*":return`${b}${T}${p}${f}${P}${T}`;case"**":return b+O(n);case"**/*":return`(?:${b}${O(n)}${p})?${P}${f}${T}`;case"**/*.*":return`(?:${b}${O(n)}${p})?${P}${T}${u}${f}${T}`;case"**/.*":return`(?:${b}${O(n)}${p})?${u}${f}${T}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=_(t[1]);if(!n)return;return n+u+t[2]}}},E=r.removePrefix(e,{negated:!1,prefix:""});let C=_(E);return C&&!0!==n.strictSlashes&&(C+=`${p}?`),C},e.exports=f},6367:(e,t,n)=>{"use strict";const a=n(5622),r=n(3803),i=n(7494),o=n(557),s=n(8929),c=(e,t,n=!1)=>{if(Array.isArray(e)){const a=e.map((e=>c(e,t,n)));return e=>{for(const t of a){const n=t(e);if(n)return n}return!1}}const a=(r=e)&&"object"==typeof r&&!Array.isArray(r)&&e.tokens&&e.input;var r;if(""===e||"string"!=typeof e&&!a)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},s=o.isWindows(t),l=a?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=l.state;delete l.state;let p=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=c(i.ignore,e,n)}const f=(n,a=!1)=>{const{isMatch:r,match:o,output:f}=c.test(n,l,t,{glob:e,posix:s}),d={glob:e,state:u,regex:l,posix:s,input:n,output:f,match:o,isMatch:r};return"function"==typeof i.onResult&&i.onResult(d),!1===r?(d.isMatch=!1,!!a&&d):p(n)?("function"==typeof i.onIgnore&&i.onIgnore(d),d.isMatch=!1,!!a&&d):("function"==typeof i.onMatch&&i.onMatch(d),!a||d)};return n&&(f.state=u),f};c.test=(e,t,n,{glob:a,posix:r}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=n||{},s=i.format||(r?o.toPosixSlashes:null);let l=e===a,u=l&&s?s(e):e;return!1===l&&(u=s?s(e):e,l=u===a),!1!==l&&!0!==i.capture||(l=!0===i.matchBase||!0===i.basename?c.matchBase(e,t,n,r):t.exec(u)),{isMatch:Boolean(l),match:l,output:u}},c.matchBase=(e,t,n,r=o.isWindows(n))=>(t instanceof RegExp?t:c.makeRe(t,n)).test(a.basename(e)),c.isMatch=(e,t,n)=>c(t,n)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):i(e,{...t,fastpaths:!1}),c.scan=(e,t)=>r(e,t),c.compileRe=(e,t,n=!1,a=!1)=>{if(!0===n)return e.output;const r=t||{},i=r.contains?"":"^",o=r.contains?"":"$";let s=`${i}(?:${e.output})${o}`;e&&!0===e.negated&&(s=`^(?!${s}).*$`);const l=c.toRegex(s,t);return!0===a&&(l.state=e),l},c.makeRe=(e,t,n=!1,a=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");const r=t||{};let o,s={negated:!1,fastpaths:!0},l="";return e.startsWith("./")&&(e=e.slice(2),l=s.prefix="./"),!1===r.fastpaths||"."!==e[0]&&"*"!==e[0]||(o=i.fastpaths(e,t)),void 0===o?(s=i(e,t),s.prefix=l+(s.prefix||"")):s.output=o,c.compileRe(s,t,n,a)},c.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=s,e.exports=c},3803:(e,t,n)=>{"use strict";const a=n(557),{CHAR_ASTERISK:r,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:s,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:f,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:h,CHAR_QUESTION_MARK:g,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:v}=n(8929),b=e=>e===u||e===o,P=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},S=e.length-1,T=!0===n.parts||!0===n.scanToEnd,O=[],_=[],E=[];let C,A,I=e,R=-1,x=0,F=0,w=!1,j=!1,N=!1,L=!1,D=!1,V=!1,M=!1,k=!1,$=!1,B=0,U={value:"",depth:0,isGlob:!1};const H=()=>R>=S,K=()=>(C=A,I.charCodeAt(++R));for(;R<S;){let e;if(A=K(),A!==o){if(!0===V||A===p){for(B++;!0!==H()&&(A=K());)if(A!==o)if(A!==p){if(!0!==V&&A===c&&(A=K())===c){if(w=U.isBrace=!0,N=U.isGlob=!0,$=!0,!0===T)continue;break}if(!0!==V&&A===s){if(w=U.isBrace=!0,N=U.isGlob=!0,$=!0,!0===T)continue;break}if(A===m&&(B--,0===B)){V=!1,w=U.isBrace=!0,$=!0;break}}else B++;else M=U.backslashes=!0,K();if(!0===T)continue;break}if(A!==u){if(!0!==n.noext){if(!0===(A===h||A===i||A===r||A===g||A===l)&&I.charCodeAt(R+1)===f){if(N=U.isGlob=!0,L=U.isExtglob=!0,$=!0,!0===T){for(;!0!==H()&&(A=K());)if(A!==o){if(A===y){N=U.isGlob=!0,$=!0;break}}else M=U.backslashes=!0,A=K();continue}break}}if(A===r){if(C===r&&(D=U.isGlobstar=!0),N=U.isGlob=!0,$=!0,!0===T)continue;break}if(A===g){if(N=U.isGlob=!0,$=!0,!0===T)continue;break}if(A===d)for(;!0!==H()&&(e=K());)if(e!==o){if(e===v){if(j=U.isBracket=!0,N=U.isGlob=!0,$=!0,!0===T)continue;break}}else M=U.backslashes=!0,K();if(!0===n.nonegate||A!==l||R!==x){if(!0!==n.noparen&&A===f){if(N=U.isGlob=!0,!0===T){for(;!0!==H()&&(A=K());)if(A!==f){if(A===y){$=!0;break}}else M=U.backslashes=!0,A=K();continue}break}if(!0===N){if($=!0,!0===T)continue;break}}else k=U.negated=!0,x++}else{if(O.push(R),_.push(U),U={value:"",depth:0,isGlob:!1},!0===$)continue;if(C===c&&R===x+1){x+=2;continue}F=R+1}}else M=U.backslashes=!0,A=K(),A===p&&(V=!0)}!0===n.noext&&(L=!1,N=!1);let Q=I,G="",W="";x>0&&(G=I.slice(0,x),I=I.slice(x),F-=x),Q&&!0===N&&F>0?(Q=I.slice(0,F),W=I.slice(F)):!0===N?(Q="",W=I):Q=I,Q&&""!==Q&&"/"!==Q&&Q!==I&&b(Q.charCodeAt(Q.length-1))&&(Q=Q.slice(0,-1)),!0===n.unescape&&(W&&(W=a.removeBackslashes(W)),Q&&!0===M&&(Q=a.removeBackslashes(Q)));const q={prefix:G,input:e,start:x,base:Q,glob:W,isBrace:w,isBracket:j,isGlob:N,isExtglob:L,isGlobstar:D,negated:k};if(!0===n.tokens&&(q.maxDepth=0,b(A)||_.push(U),q.tokens=_),!0===n.parts||!0===n.tokens){let t;for(let a=0;a<O.length;a++){const r=t?t+1:x,i=O[a],o=e.slice(r,i);n.tokens&&(0===a&&0!==x?(_[a].isPrefix=!0,_[a].value=G):_[a].value=o,P(_[a]),q.maxDepth+=_[a].depth),0===a&&""===o||E.push(o),t=i}if(t&&t+1<e.length){const a=e.slice(t+1);E.push(a),n.tokens&&(_[_.length-1].value=a,P(_[_.length-1]),q.maxDepth+=_[_.length-1].depth)}q.slashes=O,q.parts=E}return q}},557:(e,t,n)=>{"use strict";const a=n(5622),r="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:c}=n(8929);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>s.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(i,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===a.sep,t.escapeLast=(e,n,a)=>{const r=e.lastIndexOf(n,a);return-1===r?e:"\\"===e[r-1]?t.escapeLast(e,n,r-1):`${e.slice(0,r)}\\${e.slice(r)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let a=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(a=`(?:^(?!${a}).*$)`),a}},5552:e=>{"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,n,a){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var r,i,o=arguments.length;switch(o){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function(){e.call(null,t)}));case 3:return process.nextTick((function(){e.call(null,t,n)}));case 4:return process.nextTick((function(){e.call(null,t,n,a)}));default:for(r=new Array(o-1),i=0;i<r.length;)r[i++]=arguments[i];return process.nextTick((function(){e.apply(null,r)}))}}}:e.exports=process},5101:(e,t,n)=>{"use strict";var a=n(5552),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=p;var i=Object.create(n(2862));i.inherits=n(5822);var o=n(6246),s=n(609);i.inherits(p,o);for(var c=r(s.prototype),l=0;l<c.length;l++){var u=c[l];p.prototype[u]||(p.prototype[u]=s.prototype[u])}function p(e){if(!(this instanceof p))return new p(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||a.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(p.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),p.prototype._destroy=function(e,t){this.push(null),this.end(),a.nextTick(t,e)}},7153:(e,t,n)=>{"use strict";e.exports=i;var a=n(6889),r=Object.create(n(2862));function i(e){if(!(this instanceof i))return new i(e);a.call(this,e)}r.inherits=n(5822),r.inherits(i,a),i.prototype._transform=function(e,t,n){n(null,e)}},6246:(e,t,n)=>{"use strict";var a=n(5552);e.exports=v;var r,i=n(1538);v.ReadableState=y;n(8614).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=n(4804),c=n(682).Buffer,l=global.Uint8Array||function(){};var u=Object.create(n(2862));u.inherits=n(5822);var p=n(1669),f=void 0;f=p&&p.debuglog?p.debuglog("stream"):function(){};var d,h=n(5335),g=n(6946);u.inherits(v,s);var m=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var a=t instanceof(r=r||n(5101));this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:a&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n(8234).s),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function v(e){if(r=r||n(5101),!(this instanceof v))return new v(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function b(e,t,n,a,r){var i,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,O(e)}(e,o)):(r||(i=function(e,t){var n;a=t,c.isBuffer(a)||a instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var a;return n}(o,t)),i?e.emit("error",i):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),a?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):P(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?P(e,o,t,!1):E(e,o)):P(e,o,t,!1))):a||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function P(e,t,n,a){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,a?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&O(e)),E(e,t)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var n,a=this._readableState;return a.objectMode?n=!0:"string"==typeof e&&((t=t||a.defaultEncoding)!==a.encoding&&(e=c.from(e,t),t=""),n=!0),b(this,e,t,!1,n)},v.prototype.unshift=function(e){return b(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return d||(d=n(8234).s),this._readableState.decoder=new d(e),this._readableState.encoding=e,this};var S=8388608;function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?a.nextTick(_,e):_(e))}function _(e){f("emit readable"),e.emit("readable"),R(e)}function E(e,t){t.readingMore||(t.readingMore=!0,a.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function A(e){f("readable nexttick read 0"),e.read(0)}function I(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function x(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var a;e<t.head.data.length?(a=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):a=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,a=1,r=n.data;e-=r.length;for(;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++a,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++a}return t.length-=a,r}(e,t):function(e,t){var n=c.allocUnsafe(e),a=t.head,r=1;a.data.copy(n),e-=a.data.length;for(;a=a.next;){var i=a.data,o=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,o),0===(e-=o)){o===i.length?(++r,a.next?t.head=a.next:t.head=t.tail=null):(t.head=a,a.data=i.slice(o));break}++r}return t.length-=r,n}(e,t);return a}(e,t.buffer,t.decoder),n);var n}function F(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,a.nextTick(w,t,e))}function w(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j(e,t){for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1}v.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?F(this):O(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&F(this),null;var a,r=t.needReadable;return f("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",r=!0),t.ended||t.reading?f("reading or ended",r=!1):r&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(a=e>0?x(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&F(this)),null!==a&&this.emit("data",a),a},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,f("pipe count=%d opts=%j",r.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:v;function c(t,a){f("onunpipe"),t===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,f("cleanup"),e.removeListener("close",m),e.removeListener("finish",y),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",l),n.removeListener("end",v),n.removeListener("data",h),p=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){f("onend"),e.end()}r.endEmitted?a.nextTick(s):n.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,R(e))}}(n);e.on("drain",u);var p=!1;var d=!1;function h(t){f("ondata"),d=!1,!1!==e.write(t)||d||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==j(r.pipes,e))&&!p&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,d=!0),n.pause())}function g(t){f("onerror",t),v(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",y),v()}function y(){f("onfinish"),e.removeListener("close",m),v()}function v(){f("unpipe"),n.unpipe(e)}return n.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",g),e.once("close",m),e.once("finish",y),e.emit("pipe",n),r.flowing||(f("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var a=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)a[i].emit("unpipe",this,n);return this}var o=j(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},v.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&O(this):a.nextTick(A,this))}return n},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,a.nextTick(I,e,t))}(this,e)),this},v.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,n=this._readableState,a=!1;for(var r in e.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(r){(f("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r)||(n.objectMode||r&&r.length)&&(t.push(r)||(a=!0,e.pause()))})),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var i=0;i<m.length;i++)e.on(m[i],this.emit.bind(this,m[i]));return this._read=function(t){f("wrapped _read",t),a&&(a=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=x},6889:(e,t,n)=>{"use strict";e.exports=o;var a=n(5101),r=Object.create(n(2862));function i(e,t){var n=this._transformState;n.transforming=!1;var a=n.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),a(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);a.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){c(e,t,n)})):c(this,null,null)}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}r.inherits=n(5822),r.inherits(o,a),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){var a=this._transformState;if(a.writecb=n,a.writechunk=e,a.writeencoding=t,!a.transforming){var r=this._readableState;(a.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;a.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},609:(e,t,n)=>{"use strict";var a=n(5552);function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var a=e.entry;e.entry=null;for(;a;){var r=a.callback;t.pendingcb--,r(n),a=a.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=m;var i,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;m.WritableState=g;var s=Object.create(n(2862));s.inherits=n(5822);var c={deprecate:n(8767)},l=n(4804),u=n(682).Buffer,p=global.Uint8Array||function(){};var f,d=n(6946);function h(){}function g(e,t){i=i||n(5101),e=e||{};var s=t instanceof i;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var p=!1===e.decodeStrings;this.decodeStrings=!p,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(a.nextTick(i,r),a.nextTick(T,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),T(e,t))}(e,n,r,t,i);else{var s=P(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||b(e,n),r?o(v,e,n,s,i):v(e,n,s,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function m(e){if(i=i||n(5101),!(f.call(m,this)||this instanceof i))return new m(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function y(e,t,n,a,r,i,o){t.writelen=a,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,i,t.onwrite),t.sync=!1}function v(e,t,n,a){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,a(),T(e,t)}function b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var a=t.bufferedRequestCount,i=new Array(a),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,y(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,p=n.callback;if(y(e,t,!1,t.objectMode?1:l.length,l,u,p),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),T(e,t)}))}function T(e,t){var n=P(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}s.inherits(m,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===m&&(e&&e._writableState instanceof g)}})):f=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,s=!i.objectMode&&(r=e,u.isBuffer(r)||r instanceof p);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=h),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),a.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a.nextTick(r,o),i=!1),i}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,a,r,i){if(!n){var o=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n));return t}(t,a,r);a!==o&&(n=!0,r="buffer",a=o)}var s=t.objectMode?1:a.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:a,encoding:r,isBuf:n,callback:i,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,s,a,r,i);return c}(this,i,s,e,t,n)),o},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||b(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,T(e,t),n&&(t.finished?a.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}},5335:(e,t,n)=>{"use strict";var a=n(682).Buffer,r=n(1669);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return a.alloc(0);if(1===this.length)return this.head.data;for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,t.copy(n,r),s+=o.data.length,o=o.next;return i},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})},6946:(e,t,n)=>{"use strict";var a=n(5552);function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||a.nextTick(r,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(a.nextTick(r,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},4804:(e,t,n)=>{e.exports=n(2413)},1538:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},682:(e,t,n)=>{var a=n(4293),r=a.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=a:(i(a,t),t.Buffer=o),i(r,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var a=r(e);return void 0!==t?"string"==typeof n?a.fill(t,n):a.fill(t):a.fill(0),a},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},8234:(e,t,n)=>{"use strict";var a=n(682).Buffer,r=a.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(a.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var a=n.charCodeAt(n.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var a=t.length-1;if(a<n)return 0;var r=o(t[a]);if(r>=0)return r>0&&(e.lastNeed=r-1),r;if(--a<n||-2===r)return 0;if((r=o(t[a]))>=0)return r>0&&(e.lastNeed=r-2),r;if(--a<n||-2===r)return 0;if((r=o(t[a]))>=0)return r>0&&(2===r?r=0:e.lastNeed=r-3),r;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var a=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,a),e.toString("utf8",t,a)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},8295:(e,t,n)=>{var a=n(2413);"disable"===process.env.READABLE_STREAM&&a?(e.exports=a,(t=e.exports=a.Readable).Readable=a.Readable,t.Writable=a.Writable,t.Duplex=a.Duplex,t.Transform=a.Transform,t.PassThrough=a.PassThrough,t.Stream=a):((t=e.exports=n(6246)).Stream=a||t,t.Readable=t,t.Writable=n(609),t.Duplex=n(5101),t.Transform=n(6889),t.PassThrough=n(7153))},2775:()=>{var e;!function(e){!function(t){var n="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),a=r(e);function r(e,t){return function(n,a){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:a}),t&&t(n,a)}}void 0===n.Reflect?n.Reflect=e:a=r(n.Reflect,a),function(e){var t=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,a=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",r=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",i="function"==typeof Object.create,o={__proto__:[]}instanceof Array,s=!i&&!o,c={create:i?function(){return ae(Object.create(null))}:o?function(){return ae({__proto__:null})}:function(){return ae({})},has:s?function(e,n){return t.call(e,n)}:function(e,t){return t in e},get:s?function(e,n){return t.call(e,n)?e[n]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),u="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,p=u||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?ee():Map,f=u||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?te():Set,d=new(u||"function"!=typeof WeakMap?ne():WeakMap);function h(e,t,n,a){if(L(n)){if(!K(e))throw new TypeError;if(!G(t))throw new TypeError;return _(e,t)}if(!K(e))throw new TypeError;if(!M(t))throw new TypeError;if(!M(a)&&!L(a)&&!D(a))throw new TypeError;return D(a)&&(a=void 0),E(e,t,n=H(n),a)}function g(e,t){function n(n,a){if(!M(n))throw new TypeError;if(!L(a)&&!W(a))throw new TypeError;F(e,t,n,a)}return n}function m(e,t,n,a){if(!M(n))throw new TypeError;return L(a)||(a=H(a)),F(e,t,n,a)}function y(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),A(e,t,n)}function v(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),I(e,t,n)}function b(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),R(e,t,n)}function P(e,t,n){if(!M(t))throw new TypeError;return L(n)||(n=H(n)),x(e,t,n)}function S(e,t){if(!M(e))throw new TypeError;return L(t)||(t=H(t)),w(e,t)}function T(e,t){if(!M(e))throw new TypeError;return L(t)||(t=H(t)),j(e,t)}function O(e,t,n){if(!M(t))throw new TypeError;L(n)||(n=H(n));var a=C(t,n,!1);if(L(a))return!1;if(!a.delete(e))return!1;if(a.size>0)return!0;var r=d.get(t);return r.delete(n),r.size>0||d.delete(t),!0}function _(e,t){for(var n=e.length-1;n>=0;--n){var a=(0,e[n])(t);if(!L(a)&&!D(a)){if(!G(a))throw new TypeError;t=a}}return t}function E(e,t,n,a){for(var r=e.length-1;r>=0;--r){var i=(0,e[r])(t,n,a);if(!L(i)&&!D(i)){if(!M(i))throw new TypeError;a=i}}return a}function C(e,t,n){var a=d.get(e);if(L(a)){if(!n)return;a=new p,d.set(e,a)}var r=a.get(t);if(L(r)){if(!n)return;r=new p,a.set(t,r)}return r}function A(e,t,n){if(I(e,t,n))return!0;var a=Z(t);return!D(a)&&A(e,a,n)}function I(e,t,n){var a=C(t,n,!1);return!L(a)&&B(a.has(e))}function R(e,t,n){if(I(e,t,n))return x(e,t,n);var a=Z(t);return D(a)?void 0:R(e,a,n)}function x(e,t,n){var a=C(t,n,!1);if(!L(a))return a.get(e)}function F(e,t,n,a){C(n,a,!0).set(e,t)}function w(e,t){var n=j(e,t),a=Z(e);if(null===a)return n;var r=w(a,t);if(r.length<=0)return n;if(n.length<=0)return r;for(var i=new f,o=[],s=0,c=n;s<c.length;s++){var l=c[s];i.has(l)||(i.add(l),o.push(l))}for(var u=0,p=r;u<p.length;u++){l=p[u];i.has(l)||(i.add(l),o.push(l))}return o}function j(e,t){var n=[],a=C(e,t,!1);if(L(a))return n;for(var r=J(a.keys()),i=0;;){var o=z(r);if(!o)return n.length=i,n;var s=X(o);try{n[i]=s}catch(e){try{Y(r)}finally{throw e}}i++}}function N(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function L(e){return void 0===e}function D(e){return null===e}function V(e){return"symbol"==typeof e}function M(e){return"object"==typeof e?null!==e:"function"==typeof e}function k(e,t){switch(N(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=q(e,a);if(void 0!==r){var i=r.call(e,n);if(M(i))throw new TypeError;return i}return $(e,"default"===n?"number":n)}function $(e,t){if("string"===t){var n=e.toString;if(Q(n))if(!M(r=n.call(e)))return r;if(Q(a=e.valueOf))if(!M(r=a.call(e)))return r}else{var a;if(Q(a=e.valueOf))if(!M(r=a.call(e)))return r;var r,i=e.toString;if(Q(i))if(!M(r=i.call(e)))return r}throw new TypeError}function B(e){return!!e}function U(e){return""+e}function H(e){var t=k(e,3);return V(t)?t:U(t)}function K(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function Q(e){return"function"==typeof e}function G(e){return"function"==typeof e}function W(e){switch(N(e)){case 3:case 4:return!0;default:return!1}}function q(e,t){var n=e[t];if(null!=n){if(!Q(n))throw new TypeError;return n}}function J(e){var t=q(e,r);if(!Q(t))throw new TypeError;var n=t.call(e);if(!M(n))throw new TypeError;return n}function X(e){return e.value}function z(e){var t=e.next();return!t.done&&t}function Y(e){var t=e.return;t&&t.call(e)}function Z(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,a=n&&Object.getPrototypeOf(n);if(null==a||a===Object.prototype)return t;var r=a.constructor;return"function"!=typeof r||r===e?t:r}function ee(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[r]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var a=this._keys.length,r=n+1;r<a;r++)this._keys[r-1]=this._keys[r],this._values[r-1]=this._values[r];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,a)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[r]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function a(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}function te(){return function(){function e(){this._map=new p}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[r]=function(){return this.keys()},e}()}function ne(){var e=16,n=c.create(),a=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var e;do{e="@@WeakMap@@"+l()}while(c.has(n,e));return n[e]=!0,e}function i(e,n){if(!t.call(e,a)){if(!n)return;Object.defineProperty(e,a,{value:c.create()})}return e[a]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):o(new Uint8Array(e),e):o(new Array(e),e)}function l(){var t=s(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",a=0;a<e;++a){var r=t[a];4!==a&&6!==a&&8!==a||(n+="-"),r<16&&(n+="0"),n+=r.toString(16).toLowerCase()}return n}}function ae(e){return e.__=void 0,delete e.__,e}e("decorate",h),e("metadata",g),e("defineMetadata",m),e("hasMetadata",y),e("hasOwnMetadata",v),e("getMetadata",b),e("getOwnMetadata",P),e("getMetadataKeys",S),e("getOwnMetadataKeys",T),e("deleteMetadata",O)}(a)}()}(e||(e={}))},9948:e=>{var t="win32"===process.platform;function n(e,n){var a=e[n];return n>0&&("/"===a||t&&"\\"===a)}e.exports=function(e){var t=e.length-1;if(t<2)return e;for(;n(e,t);)t--;return e.substr(0,t+1)}},7174:e=>{"use strict";e.exports=function(e){var t=new e,n=t;return{get:function(){var a=t;return a.next?t=a.next:(t=new e,n=t),a.next=null,a},release:function(e){n.next=e,n=e}}}},1670:e=>{e.exports=function(e,t){var n,a,r,i=!0;Array.isArray(e)?(n=[],a=e.length):(r=Object.keys(e),n={},a=r.length);function o(e){function a(){t&&t(e,n),t=null}i?process.nextTick(a):a()}function s(e,t,r){n[e]=r,(0==--a||t)&&o(t)}a?r?r.forEach((function(t){e[t]((function(e,n){s(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){s(t,e,n)}))})):o(null);i=!1}},9871:(e,t,n)=>{!function(e){e.parser=function(e,t){return new r(e,t)},e.SAXParser=r,e.SAXStream=o,e.createStream=function(e,t){return new o(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,a=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function r(t,n){if(!(this instanceof r))return new r(t,n);var i=this;!function(e){for(var t=0,n=a.length;t<n;t++)e[a[t]]=""}(i),i.q=i.c="",i.bufferCheckPosition=e.MAX_BUFFER_LENGTH,i.opt=n||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!t,i.noscript=!(!t&&!i.opt.noscript),i.state=T.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(l)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),_(i,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),r.prototype={end:function(){R(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return I(n,"Cannot write after close. Assign an onready handler.");if(null===t)return R(n);"object"==typeof t&&(t=t.toString());var r=0,i="";for(;i=M(t,r++),n.c=i,i;)switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case T.BEGIN:if(n.state=T.BEGIN_WHITESPACE,"\ufeff"===i)continue;V(n,i);continue;case T.BEGIN_WHITESPACE:V(n,i);continue;case T.TEXT:if(n.sawRoot&&!n.closedRoot){for(var o=r-1;i&&"<"!==i&&"&"!==i;)(i=M(t,r++))&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(o,r-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(h(i)||n.sawRoot&&!n.closedRoot||x(n,"Text data outside of root node."),"&"===i?n.state=T.TEXT_ENTITY:n.textNode+=i):(n.state=T.OPEN_WAKA,n.startTagPosition=n.position);continue;case T.SCRIPT:"<"===i?n.state=T.SCRIPT_ENDING:n.script+=i;continue;case T.SCRIPT_ENDING:"/"===i?n.state=T.CLOSE_TAG:(n.script+="<"+i,n.state=T.SCRIPT);continue;case T.OPEN_WAKA:if("!"===i)n.state=T.SGML_DECL,n.sgmlDecl="";else if(h(i));else if(y(u,i))n.state=T.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=T.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=T.PROC_INST,n.procInstName=n.procInstBody="";else{if(x(n,"Unencoded <"),n.startTagPosition+1<n.position){var s=n.position-n.startTagPosition;i=new Array(s).join(" ")+i}n.textNode+="<"+i,n.state=T.TEXT}continue;case T.SGML_DECL:"[CDATA["===(n.sgmlDecl+i).toUpperCase()?(E(n,"onopencdata"),n.state=T.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+i==="--"?(n.state=T.COMMENT,n.comment="",n.sgmlDecl=""):"DOCTYPE"===(n.sgmlDecl+i).toUpperCase()?(n.state=T.DOCTYPE,(n.doctype||n.sawRoot)&&x(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(E(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=T.TEXT):g(i)?(n.state=T.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case T.SGML_DECL_QUOTED:i===n.q&&(n.state=T.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case T.DOCTYPE:">"===i?(n.state=T.TEXT,E(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=T.DOCTYPE_DTD:g(i)&&(n.state=T.DOCTYPE_QUOTED,n.q=i));continue;case T.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=T.DOCTYPE);continue;case T.DOCTYPE_DTD:n.doctype+=i,"]"===i?n.state=T.DOCTYPE:g(i)&&(n.state=T.DOCTYPE_DTD_QUOTED,n.q=i);continue;case T.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=T.DOCTYPE_DTD,n.q="");continue;case T.COMMENT:"-"===i?n.state=T.COMMENT_ENDING:n.comment+=i;continue;case T.COMMENT_ENDING:"-"===i?(n.state=T.COMMENT_ENDED,n.comment=A(n.opt,n.comment),n.comment&&E(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=T.COMMENT);continue;case T.COMMENT_ENDED:">"!==i?(x(n,"Malformed comment"),n.comment+="--"+i,n.state=T.COMMENT):n.state=T.TEXT;continue;case T.CDATA:"]"===i?n.state=T.CDATA_ENDING:n.cdata+=i;continue;case T.CDATA_ENDING:"]"===i?n.state=T.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=T.CDATA);continue;case T.CDATA_ENDING_2:">"===i?(n.cdata&&E(n,"oncdata",n.cdata),E(n,"onclosecdata"),n.cdata="",n.state=T.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=T.CDATA);continue;case T.PROC_INST:"?"===i?n.state=T.PROC_INST_ENDING:h(i)?n.state=T.PROC_INST_BODY:n.procInstName+=i;continue;case T.PROC_INST_BODY:if(!n.procInstBody&&h(i))continue;"?"===i?n.state=T.PROC_INST_ENDING:n.procInstBody+=i;continue;case T.PROC_INST_ENDING:">"===i?(E(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=T.TEXT):(n.procInstBody+="?"+i,n.state=T.PROC_INST_BODY);continue;case T.OPEN_TAG:y(p,i)?n.tagName+=i:(F(n),">"===i?N(n):"/"===i?n.state=T.OPEN_TAG_SLASH:(h(i)||x(n,"Invalid character in tag name"),n.state=T.ATTRIB));continue;case T.OPEN_TAG_SLASH:">"===i?(N(n,!0),L(n)):(x(n,"Forward-slash in opening tag not followed by >"),n.state=T.ATTRIB);continue;case T.ATTRIB:if(h(i))continue;">"===i?N(n):"/"===i?n.state=T.OPEN_TAG_SLASH:y(u,i)?(n.attribName=i,n.attribValue="",n.state=T.ATTRIB_NAME):x(n,"Invalid attribute name");continue;case T.ATTRIB_NAME:"="===i?n.state=T.ATTRIB_VALUE:">"===i?(x(n,"Attribute without value"),n.attribValue=n.attribName,j(n),N(n)):h(i)?n.state=T.ATTRIB_NAME_SAW_WHITE:y(p,i)?n.attribName+=i:x(n,"Invalid attribute name");continue;case T.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=T.ATTRIB_VALUE;else{if(h(i))continue;x(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",E(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?N(n):y(u,i)?(n.attribName=i,n.state=T.ATTRIB_NAME):(x(n,"Invalid attribute name"),n.state=T.ATTRIB)}continue;case T.ATTRIB_VALUE:if(h(i))continue;g(i)?(n.q=i,n.state=T.ATTRIB_VALUE_QUOTED):(x(n,"Unquoted attribute value"),n.state=T.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case T.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=T.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}j(n),n.q="",n.state=T.ATTRIB_VALUE_CLOSED;continue;case T.ATTRIB_VALUE_CLOSED:h(i)?n.state=T.ATTRIB:">"===i?N(n):"/"===i?n.state=T.OPEN_TAG_SLASH:y(u,i)?(x(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=T.ATTRIB_NAME):x(n,"Invalid attribute name");continue;case T.ATTRIB_VALUE_UNQUOTED:if(!m(i)){"&"===i?n.state=T.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}j(n),">"===i?N(n):n.state=T.ATTRIB;continue;case T.CLOSE_TAG:if(n.tagName)">"===i?L(n):y(p,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=T.SCRIPT):(h(i)||x(n,"Invalid tagname in closing tag"),n.state=T.CLOSE_TAG_SAW_WHITE);else{if(h(i))continue;v(u,i)?n.script?(n.script+="</"+i,n.state=T.SCRIPT):x(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case T.CLOSE_TAG_SAW_WHITE:if(h(i))continue;">"===i?L(n):x(n,"Invalid characters in closing tag");continue;case T.TEXT_ENTITY:case T.ATTRIB_VALUE_ENTITY_Q:case T.ATTRIB_VALUE_ENTITY_U:var c,l;switch(n.state){case T.TEXT_ENTITY:c=T.TEXT,l="textNode";break;case T.ATTRIB_VALUE_ENTITY_Q:c=T.ATTRIB_VALUE_QUOTED,l="attribValue";break;case T.ATTRIB_VALUE_ENTITY_U:c=T.ATTRIB_VALUE_UNQUOTED,l="attribValue"}";"===i?(n[l]+=D(n),n.entity="",n.state=c):y(n.entity.length?d:f,i)?n.entity+=i:(x(n,"Invalid character in entity name"),n[l]+="&"+n.entity+i,n.entity="",n.state=c);continue;default:throw new Error(n,"Unknown state: "+n.state)}n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),r=0,i=0,o=a.length;i<o;i++){var s=t[a[i]].length;if(s>n)switch(a[i]){case"textNode":C(t);break;case"cdata":E(t,"oncdata",t.cdata),t.cdata="";break;case"script":E(t,"onscript",t.script),t.script="";break;default:I(t,"Max buffer length exceeded: "+a[i])}r=Math.max(r,s)}var c=e.MAX_BUFFER_LENGTH-r;t.bufferCheckPosition=c+t.position}(n);return n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;C(e=this),""!==e.cdata&&(E(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(E(e,"onscript",e.script),e.script="")}};try{t=n(2413).Stream}catch(e){t=function(){}}var i=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function o(e,n){if(!(this instanceof o))return new o(e,n);t.apply(this),this._parser=new r(e,n),this.writable=!0,this.readable=!0;var a=this;this._parser.onend=function(){a.emit("end")},this._parser.onerror=function(e){a.emit("error",e),a._parser.error=null},this._decoder=null,i.forEach((function(e){Object.defineProperty(a,"on"+e,{get:function(){return a._parser["on"+e]},set:function(t){if(!t)return a.removeAllListeners(e),a._parser["on"+e]=t,t;a.on(e,t)},enumerable:!0,configurable:!1})}))}o.prototype=Object.create(t.prototype,{constructor:{value:o}}),o.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=n(4304).StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},o.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},o.prototype.on=function(e,n){var a=this;return a._parser["on"+e]||-1===i.indexOf(e)||(a._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),a.emit.apply(a,t)}),t.prototype.on.call(a,e,n)};var s="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",l={xml:s,xmlns:c},u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function g(e){return'"'===e||"'"===e}function m(e){return">"===e||h(e)}function y(e,t){return e.test(t)}function v(e,t){return!y(e,t)}var b,P,S,T=0;for(var O in e.STATE={BEGIN:T++,BEGIN_WHITESPACE:T++,TEXT:T++,TEXT_ENTITY:T++,OPEN_WAKA:T++,SGML_DECL:T++,SGML_DECL_QUOTED:T++,DOCTYPE:T++,DOCTYPE_QUOTED:T++,DOCTYPE_DTD:T++,DOCTYPE_DTD_QUOTED:T++,COMMENT_STARTING:T++,COMMENT:T++,COMMENT_ENDING:T++,COMMENT_ENDED:T++,CDATA:T++,CDATA_ENDING:T++,CDATA_ENDING_2:T++,PROC_INST:T++,PROC_INST_BODY:T++,PROC_INST_ENDING:T++,OPEN_TAG:T++,OPEN_TAG_SLASH:T++,ATTRIB:T++,ATTRIB_NAME:T++,ATTRIB_NAME_SAW_WHITE:T++,ATTRIB_VALUE:T++,ATTRIB_VALUE_QUOTED:T++,ATTRIB_VALUE_CLOSED:T++,ATTRIB_VALUE_UNQUOTED:T++,ATTRIB_VALUE_ENTITY_Q:T++,ATTRIB_VALUE_ENTITY_U:T++,CLOSE_TAG:T++,CLOSE_TAG_SAW_WHITE:T++,SCRIPT:T++,SCRIPT_ENDING:T++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],a="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=a})),e.STATE)e.STATE[e.STATE[O]]=O;function _(e,t,n){e[t]&&e[t](n)}function E(e,t,n){e.textNode&&C(e),_(e,t,n)}function C(e){e.textNode=A(e.opt,e.textNode),e.textNode&&_(e,"ontext",e.textNode),e.textNode=""}function A(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function I(e,t){return C(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,_(e,"onerror",t),e}function R(e){return e.sawRoot&&!e.closedRoot&&x(e,"Unclosed root tag"),e.state!==T.BEGIN&&e.state!==T.BEGIN_WHITESPACE&&e.state!==T.TEXT&&I(e,"Unexpected end"),C(e),e.c="",e.closed=!0,_(e,"onend"),r.call(e,e.strict,e.opt),e}function x(e,t){if("object"!=typeof e||!(e instanceof r))throw new Error("bad call to strictFail");e.strict&&I(e,t)}function F(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,E(e,"onopentagstart",n)}function w(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),a=n[0],r=n[1];return t&&"xmlns"===e&&(a="xmlns",r=""),{prefix:a,local:r}}function j(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=w(e.attribName,!0),n=t.prefix,a=t.local;if("xmlns"===n)if("xml"===a&&e.attribValue!==s)x(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===a&&e.attribValue!==c)x(e,"xmlns: prefix must be bound to "+c+"\nActual: "+e.attribValue);else{var r=e.tag,i=e.tags[e.tags.length-1]||e;r.ns===i.ns&&(r.ns=Object.create(i.ns)),r.ns[a]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,E(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function N(e,t){if(e.opt.xmlns){var n=e.tag,a=w(e.tagName);n.prefix=a.prefix,n.local=a.local,n.uri=n.ns[a.prefix]||"",n.prefix&&!n.uri&&(x(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=a.prefix);var r=e.tags[e.tags.length-1]||e;n.ns&&r.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){E(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,o=e.attribList.length;i<o;i++){var s=e.attribList[i],c=s[0],l=s[1],u=w(c,!0),p=u.prefix,f=u.local,d=""===p?"":n.ns[p]||"",h={name:c,value:l,prefix:p,local:f,uri:d};p&&"xmlns"!==p&&!d&&(x(e,"Unbound namespace prefix: "+JSON.stringify(p)),h.uri=p),e.tag.attributes[c]=h,E(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),E(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=T.TEXT:e.state=T.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function L(e){if(!e.tagName)return x(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=T.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=T.SCRIPT);E(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var a=n;t--;){if(e.tags[t].name===a)break;x(e,"Unexpected close tag")}if(t<0)return x(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=T.TEXT);e.tagName=n;for(var r=e.tags.length;r-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,E(e,"onclosetag",e.tagName);var o={};for(var s in i.ns)o[s]=i.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==c.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];E(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=T.TEXT}function D(e){var t,n=e.entity,a=n.toLowerCase(),r="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[a]?e.ENTITIES[a]:("#"===(n=a).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),r=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),r=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==n?(x(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function V(e,t){"<"===t?(e.state=T.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(x(e,"Non-whitespace before first tag."),e.textNode=t,e.state=T.TEXT)}function M(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}T=e.STATE,String.fromCodePoint||(b=String.fromCharCode,P=Math.floor,S=function(){var e,t,n=16384,a=[],r=-1,i=arguments.length;if(!i)return"";for(var o="";++r<i;){var s=Number(arguments[r]);if(!isFinite(s)||s<0||s>1114111||P(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?a.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,a.push(e,t)),(r+1===i||a.length>n)&&(o+=b.apply(null,a),a.length=0)}return o},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:S,configurable:!0,writable:!0}):String.fromCodePoint=S)}(t)},9764:e=>{"use strict";e.exports=e=>{const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},6627:(e,t,n)=>{"use strict";const a=n(3253);e.exports=e=>{if(!Buffer.isBuffer(e))throw new TypeError("Expected a Buffer, got "+typeof e);return 239===e[0]&&187===e[1]&&191===e[2]&&a(e)?e.slice(3):e}},8525:(e,t,n)=>{"use strict";var a=n(2937),r=n(6635);e.exports=function(){return a({chunkLength:3},(function(e,t,n,a){e?a(e):a(null,r(t))}))}},6635:(e,t,n)=>{"use strict";var a=n(3253);e.exports=function(e){return"string"==typeof e&&65279===e.charCodeAt(0)?e.slice(1):Buffer.isBuffer(e)&&a(e)&&239===e[0]&&187===e[1]&&191===e[2]?e.slice(3):e}},3611:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["Makefile","Rakefile","ada","adb","ads","applescript","as","ascx","asm","asmx","asp","aspx","atom","bas","bash","bashrc","bat","bbcolors","bdsgroup","bdsproj","bib","bowerrc","c","cbl","cc","cfc","cfg","cfm","cfml","cgi","clj","cls","cmake","cmd","cnf","cob","coffee","coffeekup","conf","cpp","cpt","cpy","crt","cs","csh","cson","csr","css","csslintrc","csv","ctl","curlrc","cxx","dart","dfm","diff","dof","dpk","dproj","dtd","eco","editorconfig","ejs","el","emacs","eml","ent","erb","erl","eslintignore","eslintrc","ex","exs","f","f03","f77","f90","f95","fish","for","fpp","frm","ftn","gemrc","gitattributes","gitconfig","gitignore","gitkeep","gitmodules","go","gpp","gradle","groovy","groupproj","grunit","gtmpl","gvimrc","h","haml","hbs","hgignore","hh","hpp","hrl","hs","hta","htaccess","htc","htm","html","htpasswd","hxx","iced","inc","ini","ino","int","irbrc","itcl","itermcolors","itk","jade","java","jhtm","jhtml","js","jscsrc","jshintignore","jshintrc","json","json5","jsonld","jsp","jspx","jsx","ksh","less","lhs","lisp","log","ls","lsp","lua","m","mak","map","markdown","master","md","mdown","mdwn","mdx","metadata","mht","mhtml","mjs","mk","mkd","mkdn","mkdown","ml","mli","mm","mxml","nfm","nfo","njk","noon","npmignore","npmrc","nvmrc","ops","pas","pasm","patch","pbxproj","pch","pem","pg","php","php3","php4","php5","phpt","phtml","pir","pl","pm","pmc","pod","pot","properties","props","pt","pug","py","r","rake","rb","rdoc","rdoc_options","resx","rhtml","rjs","rlib","rmd","ron","rs","rss","rst","rtf","rvmrc","rxml","s","sass","scala","scm","scss","seestyle","sh","shtml","sls","spec","sql","sqlite","ss","sss","st","strings","sty","styl","stylus","sub","sublime-build","sublime-commands","sublime-completions","sublime-keymap","sublime-macro","sublime-menu","sublime-project","sublime-settings","sublime-workspace","sv","svc","svg","t","tcl","tcsh","terminal","tex","text","textile","tg","tmLanguage","tmTheme","tmpl","tpl","ts","tsv","tsx","tt","tt2","ttml","txt","v","vb","vbs","vh","vhd","vhdl","vim","viminfo","vimrc","vue","webapp","wxml","wxss","x-php","xht","xhtml","xml","xs","xsd","xsl","xslt","yaml","yml","zsh","zshrc"]},5858:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var a=t.length-1,r=1;r<a;++r)t[r]=t[r].slice(1,-1);return t[a]=t[a].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function a(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function r(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function o(e,t){var n=e;if(t)for(var a in t)n[a]=t[a];return n}function s(e){var a="[A-Za-z]",r="[0-9]",i=t(r,"[A-Fa-f]"),o=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),l=e?"[\\uE000-\\uF8FF]":"[]",u=t(a,r,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),p=n(a+t(a,r,"[\\+\\-\\.]")+"*"),f=n(n(o+"|"+t(u,s,"[\\:]"))+"*"),d=(n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("[1-9]"+r)+"|"+r),n(n("25[0-5]")+"|"+n("2[0-4]"+r)+"|"+n("1"+r+r)+"|"+n("0?[1-9]"+r)+"|0?0?"+r)),h=n(d+"\\."+d+"\\."+d+"\\."+d),g=n(i+"{1,4}"),m=n(n(g+"\\:"+g)+"|"+h),y=n(n(g+"\\:")+"{6}"+m),v=n("\\:\\:"+n(g+"\\:")+"{5}"+m),b=n(n(g)+"?\\:\\:"+n(g+"\\:")+"{4}"+m),P=n(n(n(g+"\\:")+"{0,1}"+g)+"?\\:\\:"+n(g+"\\:")+"{3}"+m),S=n(n(n(g+"\\:")+"{0,2}"+g)+"?\\:\\:"+n(g+"\\:")+"{2}"+m),T=n(n(n(g+"\\:")+"{0,3}"+g)+"?\\:\\:"+g+"\\:"+m),O=n(n(n(g+"\\:")+"{0,4}"+g)+"?\\:\\:"+m),_=n(n(n(g+"\\:")+"{0,5}"+g)+"?\\:\\:"+g),E=n(n(n(g+"\\:")+"{0,6}"+g)+"?\\:\\:"),C=n([y,v,b,P,S,T,O,_,E].join("|")),A=n(n(u+"|"+o)+"+"),I=(n(C+"\\%25"+A),n(C+n("\\%25|\\%(?!"+i+"{2})")+A)),R=n("[vV]"+i+"+\\."+t(u,s,"[\\:]")+"+"),x=n("\\["+n(I+"|"+C+"|"+R)+"\\]"),F=n(n(o+"|"+t(u,s))+"*"),w=n(x+"|"+h+"(?!"+F+")|"+F),j=n(r+"*"),N=n(n(f+"@")+"?"+w+n("\\:"+j)+"?"),L=n(o+"|"+t(u,s,"[\\:\\@]")),D=n(L+"*"),V=n(L+"+"),M=n(n(o+"|"+t(u,s,"[\\@]"))+"+"),k=n(n("\\/"+D)+"*"),$=n("\\/"+n(V+k)+"?"),B=n(M+k),U=n(V+k),H="(?!"+L+")",K=(n(k+"|"+$+"|"+B+"|"+U+"|"+H),n(n(L+"|"+t("[\\/\\?]",l))+"*")),Q=n(n(L+"|[\\/\\?]")+"*"),G=n(n("\\/\\/"+N+k)+"|"+$+"|"+U+"|"+H),W=n(p+"\\:"+G+n("\\?"+K)+"?"+n("\\#"+Q)+"?"),q=n(n("\\/\\/"+N+k)+"|"+$+"|"+B+"|"+H),J=n(q+n("\\?"+K)+"?"+n("\\#"+Q)+"?");return n(W+"|"+J),n(p+"\\:"+G+n("\\?"+K)+"?"),n(n("\\/\\/("+n("("+f+")@")+"?("+w+")"+n("\\:("+j+")")+"?)")+"?("+k+"|"+$+"|"+U+"|"+H+")"),n("\\?("+K+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+f+")@")+"?("+w+")"+n("\\:("+j+")")+"?)")+"?("+k+"|"+$+"|"+B+"|"+H+")"),n("\\?("+K+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+f+")@")+"?("+w+")"+n("\\:("+j+")")+"?)")+"?("+k+"|"+$+"|"+U+"|"+H+")"),n("\\?("+K+")"),n("\\#("+Q+")"),n("("+f+")@"),n("\\:("+j+")"),{NOT_SCHEME:new RegExp(t("[^]",a,r,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,s),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,c),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+C+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+A+")")+"?\\]?$")}}var c=s(!1),l=s(!0),u=function(){function e(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},f=2147483647,d=36,h=1,g=26,m=38,y=700,v=72,b=128,P="-",S=/^xn--/,T=/[^\0-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=d-h,C=Math.floor,A=String.fromCharCode;function I(e){throw new RangeError(_[e])}function R(e,t){for(var n=[],a=e.length;a--;)n[a]=t(e[a]);return n}function x(e,t){var n=e.split("@"),a="";return n.length>1&&(a=n[0]+"@",e=n[1]),a+R((e=e.replace(O,".")).split("."),t).join(".")}function F(e){for(var t=[],n=0,a=e.length;n<a;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<a){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t}var w=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d},j=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},N=function(e,t,n){var a=0;for(e=n?C(e/y):e>>1,e+=C(e/t);e>E*g>>1;a+=d)e=C(e/E);return C(a+(E+1)*e/(e+m))},L=function(e){var t=[],n=e.length,a=0,r=b,i=v,o=e.lastIndexOf(P);o<0&&(o=0);for(var s=0;s<o;++s)e.charCodeAt(s)>=128&&I("not-basic"),t.push(e.charCodeAt(s));for(var c=o>0?o+1:0;c<n;){for(var l=a,u=1,p=d;;p+=d){c>=n&&I("invalid-input");var m=w(e.charCodeAt(c++));(m>=d||m>C((f-a)/u))&&I("overflow"),a+=m*u;var y=p<=i?h:p>=i+g?g:p-i;if(m<y)break;var S=d-y;u>C(f/S)&&I("overflow"),u*=S}var T=t.length+1;i=N(a-l,T,0==l),C(a/T)>f-r&&I("overflow"),r+=C(a/T),a%=T,t.splice(a++,0,r)}return String.fromCodePoint.apply(String,t)},D=function(e){var t=[],n=(e=F(e)).length,a=b,r=0,i=v,o=!0,s=!1,c=void 0;try{for(var l,u=e[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var p=l.value;p<128&&t.push(A(p))}}catch(e){s=!0,c=e}finally{try{!o&&u.return&&u.return()}finally{if(s)throw c}}var m=t.length,y=m;for(m&&t.push(P);y<n;){var S=f,T=!0,O=!1,_=void 0;try{for(var E,R=e[Symbol.iterator]();!(T=(E=R.next()).done);T=!0){var x=E.value;x>=a&&x<S&&(S=x)}}catch(e){O=!0,_=e}finally{try{!T&&R.return&&R.return()}finally{if(O)throw _}}var w=y+1;S-a>C((f-r)/w)&&I("overflow"),r+=(S-a)*w,a=S;var L=!0,D=!1,V=void 0;try{for(var M,k=e[Symbol.iterator]();!(L=(M=k.next()).done);L=!0){var $=M.value;if($<a&&++r>f&&I("overflow"),$==a){for(var B=r,U=d;;U+=d){var H=U<=i?h:U>=i+g?g:U-i;if(B<H)break;var K=B-H,Q=d-H;t.push(A(j(H+K%Q,0))),B=C(K/Q)}t.push(A(j(B,0))),i=N(r,w,y==m),r=0,++y}}}catch(e){D=!0,V=e}finally{try{!L&&k.return&&k.return()}finally{if(D)throw V}}++r,++a}return t.join("")},V=function(e){return x(e,(function(e){return S.test(e)?L(e.slice(4).toLowerCase()):e}))},M=function(e){return x(e,(function(e){return T.test(e)?"xn--"+D(e):e}))},k={version:"2.1.0",ucs2:{decode:F,encode:function(e){return String.fromCodePoint.apply(String,p(e))}},decode:L,encode:D,toASCII:M,toUnicode:V},$={};function B(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,a=e.length;n<a;){var r=parseInt(e.substr(n+1,2),16);if(r<128)t+=String.fromCharCode(r),n+=3;else if(r>=194&&r<224){if(a-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&r)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(r>=224){if(a-n>=9){var o=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function H(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,B).replace(t.PCT_ENCODED,r)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,B).replace(t.PCT_ENCODED,r)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,B).replace(t.PCT_ENCODED,r)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,B).replace(t.PCT_ENCODED,r)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,B).replace(t.PCT_ENCODED,r)),e}function K(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],a=u(n,2)[1];return a?a.split(".").map(K).join("."):e}function G(e,t){var n=e.match(t.IPV6ADDRESS)||[],a=u(n,3),r=a[1],i=a[2];if(r){for(var o=r.toLowerCase().split("::").reverse(),s=u(o,2),c=s[0],l=s[1],p=l?l.split(":").map(K):[],f=c.split(":").map(K),d=t.IPV4ADDRESS.test(f[f.length-1]),h=d?7:8,g=f.length-h,m=Array(h),y=0;y<h;++y)m[y]=p[y]||f[g+y]||"";d&&(m[h-1]=Q(m[h-1],t));var v=m.reduce((function(e,t,n){if(!t||"0"===t){var a=e[e.length-1];a&&a.index+a.length===n?a.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var P=m.slice(0,v.index),S=m.slice(v.index+v.length);b=P.join(":")+"::"+S.join(":")}else b=m.join(":");return i&&(b+="%"+i),b}return e}var W=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,q=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},a=!1!==t.iri?l:c;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var r=e.match(W);if(r){q?(n.scheme=r[1],n.userinfo=r[3],n.host=r[4],n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=r[7],n.fragment=r[8],isNaN(n.port)&&(n.port=r[5])):(n.scheme=r[1]||void 0,n.userinfo=-1!==e.indexOf("@")?r[3]:void 0,n.host=-1!==e.indexOf("//")?r[4]:void 0,n.port=parseInt(r[5],10),n.path=r[6]||"",n.query=-1!==e.indexOf("?")?r[7]:void 0,n.fragment=-1!==e.indexOf("#")?r[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?r[4]:void 0)),n.host&&(n.host=G(Q(n.host,a),a)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=$[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)H(n,a);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=k.toASCII(n.host.replace(a.PCT_ENCODED,U).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}H(n,c)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function X(e,t){var n=!1!==t.iri?l:c,a=[];return void 0!==e.userinfo&&(a.push(e.userinfo),a.push("@")),void 0!==e.host&&a.push(G(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"==typeof e.port&&(a.push(":"),a.push(e.port.toString(10))),a.length?a.join(""):void 0}var z=/^\.\.?\//,Y=/^\/\.(\/|$)/,Z=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(z))e=e.replace(z,"");else if(e.match(Y))e=e.replace(Y,"/");else if(e.match(Z))e=e.replace(Z,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var a=n[0];e=e.slice(a.length),t.push(a)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?l:c,a=[],r=$[(t.scheme||e.scheme||"").toLowerCase()];if(r&&r.serialize&&r.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||r&&r.domainHost)try{e.host=t.iri?k.toUnicode(e.host):k.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}H(e,n),"suffix"!==t.reference&&e.scheme&&(a.push(e.scheme),a.push(":"));var i=X(e,t);if(void 0!==i&&("suffix"!==t.reference&&a.push("//"),a.push(i),e.path&&"/"!==e.path.charAt(0)&&a.push("/")),void 0!==e.path){var o=e.path;t.absolutePath||r&&r.absolutePath||(o=te(o)),void 0===i&&(o=o.replace(/^\/\//,"/%2F")),a.push(o)}return void 0!==e.query&&(a.push("?"),a.push(e.query)),void 0!==e.fragment&&(a.push("#"),a.push(e.fragment)),a.join("")}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=te(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=te(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=te(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function re(e,t,n){var a=o({scheme:"null"},n);return ne(ae(J(e,a),J(t,a),a,!0),a)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===a(e)&&(e=J(ne(e,t),t)),e}function oe(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===a(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===a(t)&&(t=ne(t,n)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?l.ESCAPE:c.ESCAPE,B)}function ce(e,t){return e&&e.toString().replace(t&&t.iri?l.PCT_ENCODED:c.PCT_ENCODED,U)}var le={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},ue={scheme:"https",domainHost:le.domainHost,parse:le.parse,serialize:le.serialize},pe={},fe="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",de="[0-9A-Fa-f]",he=n(n("%[EFef]"+de+"%"+de+de+"%"+de+de)+"|"+n("%[89A-Fa-f]"+de+"%"+de+de)+"|"+n("%"+de+de)),ge="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",me=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ye="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ve=new RegExp(fe,"g"),be=new RegExp(he,"g"),Pe=new RegExp(t("[^]",ge,"[\\.]",'[\\"]',me),"g"),Se=new RegExp(t("[^]",fe,ye),"g"),Te=Se;function Oe(e){var t=U(e);return t.match(ve)?t:e}var _e={scheme:"mailto",parse:function(e,t){var n=e,a=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var r=!1,i={},o=n.query.split("&"),s=0,c=o.length;s<c;++s){var l=o[s].split("=");switch(l[0]){case"to":for(var u=l[1].split(","),p=0,f=u.length;p<f;++p)a.push(u[p]);break;case"subject":n.subject=ce(l[1],t);break;case"body":n.body=ce(l[1],t);break;default:r=!0,i[ce(l[0],t)]=ce(l[1],t)}}r&&(n.headers=i)}n.query=void 0;for(var d=0,h=a.length;d<h;++d){var g=a[d].split("@");if(g[0]=ce(g[0]),t.unicodeSupport)g[1]=ce(g[1],t).toLowerCase();else try{g[1]=k.toASCII(ce(g[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}a[d]=g.join("@")}return n},serialize:function(e,t){var n=e,a=i(e.to);if(a){for(var o=0,s=a.length;o<s;++o){var c=String(a[o]),l=c.lastIndexOf("@"),u=c.slice(0,l).replace(be,Oe).replace(be,r).replace(Pe,B),p=c.slice(l+1);try{p=t.iri?k.toUnicode(p):k.toASCII(ce(p,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}a[o]=u+"@"+p}n.path=a.join(",")}var f=e.headers=e.headers||{};e.subject&&(f.subject=e.subject),e.body&&(f.body=e.body);var d=[];for(var h in f)f[h]!==pe[h]&&d.push(h.replace(be,Oe).replace(be,r).replace(Se,B)+"="+f[h].replace(be,Oe).replace(be,r).replace(Te,B));return d.length&&(n.query=d.join("&")),n}},Ee=/^([^\:]+)\:(.*)/,Ce={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(Ee),a=e;if(n){var r=t.scheme||a.scheme||"urn",i=n[1].toLowerCase(),o=n[2],s=r+":"+(t.nid||i),c=$[s];a.nid=i,a.nss=o,a.path=void 0,c&&(a=c.parse(a,t))}else a.error=a.error||"URN can not be parsed.";return a},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",a=e.nid,r=n+":"+(t.nid||a),i=$[r];i&&(e=i.serialize(e,t));var o=e,s=e.nss;return o.path=(a||t.nid)+":"+s,o}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ie={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};$[le.scheme]=le,$[ue.scheme]=ue,$[_e.scheme]=_e,$[Ce.scheme]=Ce,$[Ie.scheme]=Ie,e.SCHEMES=$,e.pctEncChar=B,e.pctDecChars=U,e.parse=J,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=ae,e.resolve=re,e.normalize=ie,e.equal=oe,e.escapeComponent=se,e.unescapeComponent=ce,Object.defineProperty(e,"__esModule",{value:!0})}(t)},8767:(e,t,n)=>{e.exports=n(1669).deprecate},5762:(e,t,n)=>{"use strict";const a=n(5622),r=n(2159),i=n(6627),o=n(8525),s=n(3356),c=n(9417)(r);t.read=(e,t)=>{const n=(t=t||{}).cwd||process.cwd(),l=t.base||n;return e=a.resolve(n,e),c.stat(e).then((a=>{const u=new s({cwd:n,base:l,path:e,stat:a});return!1===t.read?u:!1===t.buffer?(u.contents=r.createReadStream(e).pipe(o()),u):c.readFile(e).then((e=>(u.contents=i(e),u)))}))},t.readSync=(e,t)=>{const n=(t=t||{}).cwd||process.cwd(),c=t.base||n;let l;return e=a.resolve(n,e),!1!==t.read&&(l=!1===t.buffer?r.createReadStream(e).pipe(o()):i(r.readFileSync(e))),new s({cwd:n,base:c,path:e,stat:r.statSync(e),contents:l})}},9417:e=>{"use strict";var t=function(e,t,n){return function(){for(var a=this,r=new Array(arguments.length),i=0;i<arguments.length;i++)r[i]=arguments[i];return new t((function(t,i){r.push((function(e,a){if(e)i(e);else if(n.multiArgs){for(var r=new Array(arguments.length-1),o=1;o<arguments.length;o++)r[o-1]=arguments[o];t(r)}else t(a)})),e.apply(a,r)}))}},n=e.exports=function(e,n,a){"function"!=typeof n&&(a=n,n=Promise),(a=a||{}).exclude=a.exclude||[/.+Sync$/];var r="function"==typeof e?function(){return a.excludeMain?e.apply(this,arguments):t(e,n,a).apply(this,arguments)}:{};return Object.keys(e).reduce((function(r,i){var o=e[i];return r[i]="function"==typeof o&&function(e){var t=function(t){return"string"==typeof t?e===t:t.test(e)};return a.include?a.include.some(t):!a.exclude.some(t)}(i)?t(o,n,a):o,r}),r)};n.all=n},3356:(e,t,n)=>{"use strict";var a=n(5622),r=n(1669),i=n(4293).Buffer.isBuffer,o=n(2278),s=n(2059),c=n(6972),l=n(4736),u=n(9111),p=n(9948),f=n(9783),d=n(4886),h=n(1380),g=["_contents","_symlink","contents","stat","history","path","_base","base","_cwd","cwd"];function m(e){var t=this;e||(e={}),this.stat=e.stat||null,this.contents=e.contents||null;var n=Array.prototype.slice.call(e.history||[]);e.path&&n.push(e.path),this.history=[],n.forEach((function(e){t.path=e})),this.cwd=e.cwd||process.cwd(),this.base=e.base,this._isVinyl=!0,this._symlink=null,Object.keys(e).forEach((function(n){t.constructor.isCustomProp(n)&&(t[n]=e[n])}))}m.prototype.isBuffer=function(){return i(this.contents)},m.prototype.isStream=function(){return f(this.contents)},m.prototype.isNull=function(){return null===this.contents},m.prototype.isDirectory=function(){return!!this.isNull()&&(!(!this.stat||"function"!=typeof this.stat.isDirectory)&&this.stat.isDirectory())},m.prototype.isSymbolic=function(){return!!this.isNull()&&(!(!this.stat||"function"!=typeof this.stat.isSymbolicLink)&&this.stat.isSymbolicLink())},m.prototype.clone=function(e){var t,n=this;"boolean"==typeof e?e={deep:e,contents:!0}:e?(e.deep=!0===e.deep,e.contents=!1!==e.contents):e={deep:!0,contents:!0},this.isStream()?t=this.contents.clone():this.isBuffer()&&(t=e.contents?u(this.contents):this.contents);var a=new this.constructor({cwd:this.cwd,base:this.base,stat:this.stat?l(this.stat):null,history:this.history.slice(),contents:t});return this.isSymbolic()&&(a.symlink=this.symlink),Object.keys(this).forEach((function(t){n.constructor.isCustomProp(t)&&(a[t]=e.deep?o(n[t],!0):n[t])})),a},m.prototype.inspect=function(){var e=[],t=this.path?this.relative:null;return t&&e.push('"'+t+'"'),this.isBuffer()&&e.push(this.contents.inspect()),this.isStream()&&e.push(h(this.contents)),"<File "+e.join(" ")+">"},r.inspect.custom&&(m.prototype[r.inspect.custom]=m.prototype.inspect),m.isCustomProp=function(e){return-1===g.indexOf(e)},m.isVinyl=function(e){return e&&!0===e._isVinyl||!1},Object.defineProperty(m.prototype,"contents",{get:function(){return this._contents},set:function(e){if(!i(e)&&!f(e)&&null!==e)throw new Error("File.contents can only be a Buffer, a Stream, or null.");f(e)&&!s.isCloneable(e)&&(e=s(e)),this._contents=e}}),Object.defineProperty(m.prototype,"cwd",{get:function(){return this._cwd},set:function(e){if(!e||"string"!=typeof e)throw new Error("cwd must be a non-empty string.");this._cwd=p(d(e))}}),Object.defineProperty(m.prototype,"base",{get:function(){return this._base||this._cwd},set:function(e){if(null!=e){if("string"!=typeof e||!e)throw new Error("base must be a non-empty string, or null/undefined.");(e=p(d(e)))!==this._cwd?this._base=e:delete this._base}else delete this._base}}),Object.defineProperty(m.prototype,"relative",{get:function(){if(!this.path)throw new Error("No path specified! Can not get relative.");return a.relative(this.base,this.path)},set:function(){throw new Error("File.relative is generated from the base and path attributes. Do not modify it.")}}),Object.defineProperty(m.prototype,"dirname",{get:function(){if(!this.path)throw new Error("No path specified! Can not get dirname.");return a.dirname(this.path)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set dirname.");this.path=a.join(e,this.basename)}}),Object.defineProperty(m.prototype,"basename",{get:function(){if(!this.path)throw new Error("No path specified! Can not get basename.");return a.basename(this.path)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set basename.");this.path=a.join(this.dirname,e)}}),Object.defineProperty(m.prototype,"stem",{get:function(){if(!this.path)throw new Error("No path specified! Can not get stem.");return a.basename(this.path,this.extname)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set stem.");this.path=a.join(this.dirname,e+this.extname)}}),Object.defineProperty(m.prototype,"extname",{get:function(){if(!this.path)throw new Error("No path specified! Can not get extname.");return a.extname(this.path)},set:function(e){if(!this.path)throw new Error("No path specified! Can not set extname.");this.path=c(this.path,e)}}),Object.defineProperty(m.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){if("string"!=typeof e)throw new Error("path should be a string.");(e=p(d(e)))&&e!==this.path&&this.history.push(e)}}),Object.defineProperty(m.prototype,"symlink",{get:function(){return this._symlink},set:function(e){if("string"!=typeof e)throw new Error("symlink should be a string");this._symlink=p(d(e))}}),e.exports=m},1380:e=>{"use strict";e.exports=function(e){var t=e.constructor.name;return"Stream"===t&&(t=""),"<"+t+"Stream>"}},9783:e=>{"use strict";e.exports=function(e){return!!e&&"function"==typeof e.pipe}},4886:(e,t,n)=>{"use strict";var a=n(5622);e.exports=function(e){return""===e?e:a.normalize(e)}},2278:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,a;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{a=Promise}catch(e){a=function(){}}function r(i,s,c,l,u){"object"==typeof s&&(c=s.depth,l=s.prototype,u=s.includeNonEnumerable,s=s.circular);var p=[],f=[],d="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var g,m;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,n))g=new n;else if(e(c,a))g=new a((function(e,t){c.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(r.__isArray(c))g=[];else if(r.__isRegExp(c))g=new RegExp(c.source,o(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(r.__isDate(c))g=new Date(c.getTime());else{if(d&&Buffer.isBuffer(c))return g=Buffer.allocUnsafe?Buffer.allocUnsafe(c.length):new Buffer(c.length),c.copy(g),g;e(c,Error)?g=Object.create(c):void 0===l?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(l),m=l)}if(s){var y=p.indexOf(c);if(-1!=y)return f[y];p.push(c),f.push(g)}for(var v in e(c,t)&&c.forEach((function(e,t){var n=i(t,h-1),a=i(e,h-1);g.set(n,a)})),e(c,n)&&c.forEach((function(e){var t=i(e,h-1);g.add(t)})),c){var b;m&&(b=Object.getOwnPropertyDescriptor(m,v)),b&&null==b.set||(g[v]=i(c[v],h-1))}if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(c);for(v=0;v<P.length;v++){var S=P[v];(!(O=Object.getOwnPropertyDescriptor(c,S))||O.enumerable||u)&&(g[S]=i(c[S],h-1),O.enumerable||Object.defineProperty(g,S,{enumerable:!1}))}}if(u){var T=Object.getOwnPropertyNames(c);for(v=0;v<T.length;v++){var O,_=T[v];(O=Object.getOwnPropertyDescriptor(c,_))&&O.enumerable||(g[_]=i(c[_],h-1),Object.defineProperty(g,_,{enumerable:!1}))}}return g}(i,c)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return r.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},r.__objToStr=i,r.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},r.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},r.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},r.__getRegExpFlags=o,r}();e.exports&&(e.exports=t)},6972:(e,t,n)=>{"use strict";var a=n(5622);e.exports=function(e,t){if("string"!=typeof e)return e;if(0===e.length)return e;var n,r=a.basename(e,a.extname(e))+t,i=a.join(a.dirname(e),r);return(n=e.slice(0,2))==="."+a.sep||"./"===n?"."+a.sep+i:i}},7725:e=>{e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},4139:(e,t,n)=>{var a=n(5707),r=n(4096),i=n(2160),o=n(1473);e.exports={xml2js:a,xml2json:r,js2xml:i,json2xml:o}},2160:(e,t,n)=>{var a,r,i=n(4314),o=n(7725).isArray;function s(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function c(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,r,a));var i,o,c,l,u=[];for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&void 0!==e[i]&&(l=t.noQuotesForNativeAttributes&&"string"!=typeof e[i]?"":'"',o=(o=""+e[i]).replace(/"/g,"&quot;"),c="attributeNameFn"in t?t.attributeNameFn(i,o,r,a):i,u.push(t.spaces&&t.indentAttributes?s(t,n+1,!1):" "),u.push(c+"="+l+("attributeValueFn"in t?t.attributeValueFn(o,i,r,a):o)+l));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(s(t,n,!1)),u.join("")}function l(e,t,n){return a=e,r="xml",t.ignoreDeclaration?"":"<?xml"+c(e[t.attributesKey],t,n)+"?>"}function u(e,t,n){if(t.ignoreInstruction)return"";var i;for(i in e)if(e.hasOwnProperty(i))break;var o="instructionNameFn"in t?t.instructionNameFn(i,e[i],r,a):i;if("object"==typeof e[i])return a=e,r=o,"<?"+o+c(e[i][t.attributesKey],t,n)+"?>";var s=e[i]?e[i]:"";return"instructionFn"in t&&(s=t.instructionFn(s,i,r,a)),"<?"+o+(s?" "+s:"")+"?>"}function p(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,r,a):e)+"--\x3e"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,r,a):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function d(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,r,a):e)+">"}function h(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,r,a):e)}function g(e,t,n,i){return e.reduce((function(e,o){var l=s(t,n,i&&!e);switch(o.type){case"element":return e+l+function(e,t,n){a=e,r=e.name;var i=[],o="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;i.push("<"+o),e[t.attributesKey]&&i.push(c(e[t.attributesKey],t,n));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return s||(s="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),s?(i.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(i.push(g(e[t.elementsKey],t,n+1)),a=e,r=e.name),i.push(t.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":default:return!0}return!1}(e,t)?"\n"+Array(n+1).join(t.spaces):""),i.push("</"+o+">")):i.push("/>"),i.join("")}(o,t,n);case"comment":return e+l+p(o[t.commentKey],t);case"doctype":return e+l+d(o[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?l:"")+f(o[t.cdataKey],t);case"text":return e+(t.indentText?l:"")+h(o[t.textKey],t);case"instruction":var m={};return m[o[t.nameKey]]=o[t.attributesKey]?o:o[t.instructionKey],e+(t.indentInstruction?l:"")+u(m,t,n)}}),"")}function m(e,t,n){var a;for(a in e)if(e.hasOwnProperty(a))switch(a){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function y(e,t,n,i,o){a=e,r=t;var l="elementNameFn"in n?n.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+l+"></"+l+">":"<"+l+"/>";var u=[];if(t){if(u.push("<"+l),"object"!=typeof e)return u.push(">"+h(e,n)+"</"+l+">"),u.join("");e[n.attributesKey]&&u.push(c(e[n.attributesKey],n,i));var p=m(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(p||(p="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!p)return u.push("/>"),u.join("");u.push(">")}return u.push(v(e,n,i+1,!1)),a=e,r=t,t&&u.push((o?s(n,i,!1):"")+"</"+l+">"),u.join("")}function v(e,t,n,a){var r,i,c,g=[];for(i in e)if(e.hasOwnProperty(i))for(c=o(e[i])?e[i]:[e[i]],r=0;r<c.length;++r){switch(i){case t.declarationKey:g.push(l(c[r],t,n));break;case t.instructionKey:g.push((t.indentInstruction?s(t,n,a):"")+u(c[r],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:g.push((t.indentText?s(t,n,a):"")+h(c[r],t));break;case t.cdataKey:g.push((t.indentCdata?s(t,n,a):"")+f(c[r],t));break;case t.doctypeKey:g.push(s(t,n,a)+d(c[r],t));break;case t.commentKey:g.push(s(t,n,a)+p(c[r],t));break;default:g.push(s(t,n,a)+y(c[r],i,t,n,m(c[r],t)))}a=a&&!g.length}return g.join("")}e.exports=function(e,t){t=function(e){var t=i.copyOptions(e);return i.ensureFlagExists("ignoreDeclaration",t),i.ensureFlagExists("ignoreInstruction",t),i.ensureFlagExists("ignoreAttributes",t),i.ensureFlagExists("ignoreText",t),i.ensureFlagExists("ignoreComment",t),i.ensureFlagExists("ignoreCdata",t),i.ensureFlagExists("ignoreDoctype",t),i.ensureFlagExists("compact",t),i.ensureFlagExists("indentText",t),i.ensureFlagExists("indentCdata",t),i.ensureFlagExists("indentAttributes",t),i.ensureFlagExists("indentInstruction",t),i.ensureFlagExists("fullTagEmptyElement",t),i.ensureFlagExists("noQuotesForNativeAttributes",t),i.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),i.ensureKeyExists("declaration",t),i.ensureKeyExists("instruction",t),i.ensureKeyExists("attributes",t),i.ensureKeyExists("text",t),i.ensureKeyExists("comment",t),i.ensureKeyExists("cdata",t),i.ensureKeyExists("doctype",t),i.ensureKeyExists("type",t),i.ensureKeyExists("name",t),i.ensureKeyExists("elements",t),i.checkFnExists("doctype",t),i.checkFnExists("instruction",t),i.checkFnExists("cdata",t),i.checkFnExists("comment",t),i.checkFnExists("text",t),i.checkFnExists("instructionName",t),i.checkFnExists("elementName",t),i.checkFnExists("attributeName",t),i.checkFnExists("attributeValue",t),i.checkFnExists("attributes",t),i.checkFnExists("fullTagEmptyElement",t),t}(t);var n=[];return a=e,r="_root_",t.compact?n.push(v(e,t,0,!0)):(e[t.declarationKey]&&n.push(l(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(g(e[t.elementsKey],t,0,!n.length))),n.join("")}},1473:(e,t,n)=>{var a=n(2160);e.exports=function(e,t){e instanceof Buffer&&(e=e.toString());var n=null;if("string"==typeof e)try{n=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else n=e;return a(n,t)}},4314:(e,t,n)=>{var a=n(7725).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||a(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},5707:(e,t,n)=>{var a,r,i=n(9871),o=n(4314),s=n(7725).isArray;function c(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function l(e,t){var n;if(a.compact){if(!r[a[e+"Key"]]&&(s(a.alwaysArray)?-1!==a.alwaysArray.indexOf(a[e+"Key"]):a.alwaysArray)&&(r[a[e+"Key"]]=[]),r[a[e+"Key"]]&&!s(r[a[e+"Key"]])&&(r[a[e+"Key"]]=[r[a[e+"Key"]]]),e+"Fn"in a&&"string"==typeof t&&(t=a[e+"Fn"](t,r)),"instruction"===e&&("instructionFn"in a||"instructionNameFn"in a))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in a)t[n]=a.instructionFn(t[n],n,r);else{var i=t[n];delete t[n],t[a.instructionNameFn(n,i,r)]=i}s(r[a[e+"Key"]])?r[a[e+"Key"]].push(t):r[a[e+"Key"]]=t}else{r[a.elementsKey]||(r[a.elementsKey]=[]);var o={};if(o[a.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;o[a.nameKey]="instructionNameFn"in a?a.instructionNameFn(n,t,r):n,a.instructionHasAttributes?(o[a.attributesKey]=t[n][a.attributesKey],"instructionFn"in a&&(o[a.attributesKey]=a.instructionFn(o[a.attributesKey],n,r))):("instructionFn"in a&&(t[n]=a.instructionFn(t[n],n,r)),o[a.instructionKey]=t[n])}else e+"Fn"in a&&(t=a[e+"Fn"](t,r)),o[a[e+"Key"]]=t;a.addParent&&(o[a.parentKey]=r),r[a.elementsKey].push(o)}}function u(e){var t;if("attributesFn"in a&&e&&(e=a.attributesFn(e,r)),(a.trim||"attributeValueFn"in a||"attributeNameFn"in a||a.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(a.trim&&(e[t]=e[t].trim()),a.nativeTypeAttributes&&(e[t]=c(e[t])),"attributeValueFn"in a&&(e[t]=a.attributeValueFn(e[t],t,r)),"attributeNameFn"in a)){var n=e[t];delete e[t],e[a.attributeNameFn(t,e[t],r)]=n}return e}function p(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||a.instructionHasAttributes)){for(var n,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=i.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=u(t)}if("xml"===e.name.toLowerCase()){if(a.ignoreDeclaration)return;r[a.declarationKey]={},Object.keys(t).length&&(r[a.declarationKey][a.attributesKey]=t),a.addParent&&(r[a.declarationKey][a.parentKey]=r)}else{if(a.ignoreInstruction)return;a.trim&&(e.body=e.body.trim());var o={};a.instructionHasAttributes&&Object.keys(t).length?(o[e.name]={},o[e.name][a.attributesKey]=t):o[e.name]=e.body,l("instruction",o)}}function f(e,t){var n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=u(t),"elementNameFn"in a&&(e=a.elementNameFn(e,r)),a.compact){var i;if(n={},!a.ignoreAttributes&&t&&Object.keys(t).length)for(i in n[a.attributesKey]={},t)t.hasOwnProperty(i)&&(n[a.attributesKey][i]=t[i]);!(e in r)&&(s(a.alwaysArray)?-1!==a.alwaysArray.indexOf(e):a.alwaysArray)&&(r[e]=[]),r[e]&&!s(r[e])&&(r[e]=[r[e]]),s(r[e])?r[e].push(n):r[e]=n}else r[a.elementsKey]||(r[a.elementsKey]=[]),(n={})[a.typeKey]="element",n[a.nameKey]=e,!a.ignoreAttributes&&t&&Object.keys(t).length&&(n[a.attributesKey]=t),a.alwaysChildren&&(n[a.elementsKey]=[]),r[a.elementsKey].push(n);n[a.parentKey]=r,r=n}function d(e){a.ignoreText||(e.trim()||a.captureSpacesBetweenElements)&&(a.trim&&(e=e.trim()),a.nativeType&&(e=c(e)),a.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),l("text",e))}function h(e){a.ignoreComment||(a.trim&&(e=e.trim()),l("comment",e))}function g(e){var t=r[a.parentKey];a.addParent||delete r[a.parentKey],r=t}function m(e){a.ignoreCdata||(a.trim&&(e=e.trim()),l("cdata",e))}function y(e){a.ignoreDoctype||(e=e.replace(/^ /,""),a.trim&&(e=e.trim()),l("doctype",e))}function v(e){e.note=e}e.exports=function(e,t){var n=i.parser(!0,{}),s={};if(r=s,a=function(e){return a=o.copyOptions(e),o.ensureFlagExists("ignoreDeclaration",a),o.ensureFlagExists("ignoreInstruction",a),o.ensureFlagExists("ignoreAttributes",a),o.ensureFlagExists("ignoreText",a),o.ensureFlagExists("ignoreComment",a),o.ensureFlagExists("ignoreCdata",a),o.ensureFlagExists("ignoreDoctype",a),o.ensureFlagExists("compact",a),o.ensureFlagExists("alwaysChildren",a),o.ensureFlagExists("addParent",a),o.ensureFlagExists("trim",a),o.ensureFlagExists("nativeType",a),o.ensureFlagExists("nativeTypeAttributes",a),o.ensureFlagExists("sanitize",a),o.ensureFlagExists("instructionHasAttributes",a),o.ensureFlagExists("captureSpacesBetweenElements",a),o.ensureAlwaysArrayExists(a),o.ensureKeyExists("declaration",a),o.ensureKeyExists("instruction",a),o.ensureKeyExists("attributes",a),o.ensureKeyExists("text",a),o.ensureKeyExists("comment",a),o.ensureKeyExists("cdata",a),o.ensureKeyExists("doctype",a),o.ensureKeyExists("type",a),o.ensureKeyExists("name",a),o.ensureKeyExists("elements",a),o.ensureKeyExists("parent",a),o.checkFnExists("doctype",a),o.checkFnExists("instruction",a),o.checkFnExists("cdata",a),o.checkFnExists("comment",a),o.checkFnExists("text",a),o.checkFnExists("instructionName",a),o.checkFnExists("elementName",a),o.checkFnExists("attributeName",a),o.checkFnExists("attributeValue",a),o.checkFnExists("attributes",a),a}(t),n.opt={strictEntities:!0},n.onopentag=f,n.ontext=d,n.oncomment=h,n.onclosetag=g,n.onerror=v,n.oncdata=m,n.ondoctype=y,n.onprocessinginstruction=p,n.write(e).close(),s[a.elementsKey]){var c=s[a.elementsKey];delete s[a.elementsKey],s[a.elementsKey]=c,delete s.text}return s}},4096:(e,t,n)=>{var a=n(4314),r=n(5707);e.exports=function(e,t){var n,i,o;return n=function(e){var t=a.copyOptions(e);return a.ensureSpacesExists(t),t}(t),i=r(e,n),o="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(i,(function(e,t){return e===o?"_":t}),n.spaces):JSON.stringify(i,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},1097:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(4681),r=n(3435),i=n(6272),o=n(1918),s=n(6882),c=n(7505),l=n(4330),u=n(1271),p=n(3517),f=n(5008);var d=n(3435);t.getGenericSchema=d.getGenericSchema,t.generateSchema=function(e){let t;if(e[a.FioriElementsVersion.v2]){const n=e[a.FioriElementsVersion.v2];if(n[r.SchemaType.ListReport]){const{genericSchema:e,entitySet:a,annotations:i,manifest:s,fragments:c,logger:l}=n[r.SchemaType.ListReport];t=o.generateListReportInterfaceV2(e,a,i,s,c,l)}else if(n[r.SchemaType.ObjectPage]){const{genericSchema:e,entitySet:a,annotations:i,manifest:s,fragments:c,logger:l}=n[r.SchemaType.ObjectPage];t=o.generateObjectPageInterfaceV2(e,a,i,s,c,l)}else if(n[r.SchemaType.OverviewPage]){const{genericSchema:e,manifest:a}=n[r.SchemaType.OverviewPage];t=o.generateOVPInterfaceV2(e,a)}else if(n[r.SchemaType.AnalyticalListPage]){const{genericSchema:e,entitySet:a,annotations:i,manifest:s,fragments:c,logger:l}=n[r.SchemaType.AnalyticalListPage];t=o.generateAnalyticalListPageInterfaceV2(e,a,i,s,c,l)}}else if(e[a.FioriElementsVersion.v4]){const n=e[a.FioriElementsVersion.v4];if(n[r.SchemaType.ListReport]){const{genericSchema:e,entitySet:a,annotations:i,logger:o}=n[r.SchemaType.ListReport];t=s.generateListReportInterfaceV4(e,a,i,o)}else if(n[r.SchemaType.ObjectPage]){const{genericSchema:e,entitySet:a,annotations:i,manifest:o,logger:c}=n[r.SchemaType.ObjectPage];t=s.generateObjectPageInterfaceV4(e,a,i,o,c)}else if(n[r.SchemaType.AnalyticalListPage]){const{genericSchema:e,entitySet:a,annotations:i,logger:o}=n[r.SchemaType.AnalyticalListPage];t=s.generateListReportInterfaceV4(e,a,i,o)}}return t},t.exportConfig=function(e){let t;const n={ui5Version:e.ui5Version,layer:e.layer};if(e[a.FioriElementsVersion.v2]){const r=e[a.FioriElementsVersion.v2];t=c.exportPageV2(r,n)}else if(e[a.FioriElementsVersion.v4]){const r=e[a.FioriElementsVersion.v4];t=u.exportPageV4(r,n)}return t},t.importConfig=function(e){let t;if(e[a.FioriElementsVersion.v2]){const n=e[a.FioriElementsVersion.v2];n[r.SchemaType.ListReport]?t=l.createListReportConfig(n[r.SchemaType.ListReport]):n[r.SchemaType.ObjectPage]?t=l.createObjectPageConfigV2(n[r.SchemaType.ObjectPage]):n[r.SchemaType.OverviewPage]?t=l.createOverviewPageConfig(n[r.SchemaType.OverviewPage]):n[r.SchemaType.AnalyticalListPage]&&(t=l.createAnalyticalListPageConfig(n[r.SchemaType.AnalyticalListPage]))}else if(e[a.FioriElementsVersion.v4]){const n=e[a.FioriElementsVersion.v4];n[r.SchemaType.ListReport]?t=p.createListReportConfig(n[r.SchemaType.ListReport]):n[r.SchemaType.ObjectPage]?t=p.createObjectPageConfigV4(n[r.SchemaType.ObjectPage]):n[r.SchemaType.AnalyticalListPage]&&(t=p.createAnalyticalListPageConfig(n[r.SchemaType.AnalyticalListPage]))}return t},t.importProject=async function(e){return await f.importProjectSchemaAndConfig(e)},t.importProjectSchema=async function(e){return await f.importProjectSchema(e)},t.getApiVersion=function(){return{version:"2"}},t.generateCustomExtension=function(e){const t=i.FPMWriterMap.get(e.customExtension);return t&&"function"==typeof t?t(e.basePath,e.data,e.fsEditor):void 0}},6272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3435),n(4681);const a=n(8861);var r;!function(e){e.CustomPage="CustomPage",e.CustomColumn="CustomColumn",e.CustomSection="CustomSection"}(r=t.CustomExtensionType||(t.CustomExtensionType={})),t.FPMWriterMap=new Map([[r.CustomPage,a.generateCustomPage],[r.CustomColumn,a.generateCustomColumn],[r.CustomSection,a.generateCustomSection]])},5921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Error="error",e.Warning="warning",e.Info="info"}(t.LogSeverity||(t.LogSeverity={})),t.LogSeverityLabel={error:"Error",warning:"Warning",info:"Information"},t.log=(e,n,...a)=>{e?e[n.severity](n.message,n.location,...a):n.location?n.location.range?console.log(`${t.LogSeverityLabel[n.severity]}: ${n.message}, location: ${n.location.path}, ${n.location.range}`,...a):console.log(`${t.LogSeverityLabel[n.severity]}: ${n.message}, location: ${n.location.path}`,...a):console.log(`${t.LogSeverityLabel[n.severity]}: ${n.message}`,...a)}},2449:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(9154)),i=a(n(2892)),o=n(1997);t.initI18n=function(e="en"){r.default.init({resources:{en:{translation:i.default}},lng:e,fallbackLng:"en",joinArrays:"\n\n"}),o.initI18n(r.default)}},4027:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6971)),a(n(8517)),a(n(1097)),a(n(6272)),a(n(3435)),a(n(5921)),a(n(2735))},2735:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(5747),i=async e=>new Promise(((t,n)=>{r.readFile(e,{encoding:"utf8"},((e,a)=>{e?n(e):t(a)}))}));t.readDirectory=async e=>new Promise(((t,n)=>{r.readdir(e,{encoding:"utf8"},((e,a)=>{e?n(e):t(a)}))})),t.isDirectory=async e=>new Promise((t=>{r.stat(e,((e,n)=>{t(!e&&n.isDirectory())}))}));const o=async e=>new Promise((t=>{r.exists(e,(e=>{t(e)}))})),s=async e=>await(async e=>JSON.parse(await i(e)))(a.join(e,"manifest.json"));t.getProject=async e=>{const n=a.basename(e),r=a.join(e,"webapp"),c=await s(r);return{root:e,name:n,manifest:c,annotations:await(async(e,t)=>{const n=[],r=e["sap.app"].dataSources;if(r.mainService&&r.mainService.settings&&r.mainService.settings.localUri){const e=a.join(t,r.mainService.settings.localUri);n.push({dataSourceUri:e,fileContent:await i(e)})}if(r&&r.mainService&&r.mainService.settings&&r.mainService.settings.annotations)for(const e of r.mainService.settings.annotations){const o=a.join(t,r[e].settings.localUri);n.push({dataSourceUri:o,fileContent:await i(o)})}if(0===n.length)for(const e in r){const o=r[e];if("ODataAnnotation"===o.type&&o.settings&&o.settings.localUri){const e=a.join(t,o.settings.localUri);n.push({dataSourceUri:e,fileContent:await i(e)})}}return n})(c,r),changes:await(async e=>{const n=[],r=a.join(e,"changes");if(!await o(r))return n;const s=await t.readDirectory(r);for(const t of s)n.push(await i(a.join(e,"changes",t)));return n})(r),fragments:await(async e=>{const n=[],r=a.join(e,"ext","fragments");if(!await o(r))return n;const s=await t.readDirectory(r);for(const e of s){const t=a.join(r,e),o=await i(t);n.push({dataSourceUri:t,fileContent:o})}return n})(r)}}},6971:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4681)),a(n(3404)),a(n(3435)),a(n(6904))},4681:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.ObjectPage="ObjectPage",e.ListReport="ListReport",e.OverviewPage="OverviewPage",e.CustomPage="CustomPage",e.AnalyticalListPage="AnalyticalListPage"}(n=t.PageType||(t.PageType={})),function(e){e.ObjectPage="ObjectPage",e.ListReport="ListReport",e.CustomPage="CustomPage",e.AnalyticalListPage="AnalyticalListPage"}(t.PageTypeV4||(t.PageTypeV4={})),function(e){e.v2="v2",e.v4="v4"}(t.FioriElementsVersion||(t.FioriElementsVersion={})),function(e){e.v2="v2",e.v4="v4"}(t.OdataVersion||(t.OdataVersion={})),t.PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP=new Map([[n.ListReport,"sap.suite.ui.generic.template.ListReport.view.ListReport"],[n.AnalyticalListPage,"sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"],[n.ObjectPage,"sap.suite.ui.generic.template.ObjectPage.view.Details"]])},6904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.OneColumn="OneColumn",e.TwoColumnsBeginExpanded="TwoColumnsBeginExpanded",e.TwoColumnsMidExpanded="TwoColumnsMidExpanded",e.MidColumnFullScreen="MidColumnFullScreen",e.ThreeColumnsMidExpanded="ThreeColumnsMidExpanded",e.ThreeColumnsEndExpanded="ThreeColumnsEndExpanded",e.ThreeColumnsMidExpandedEndHidden="ThreeColumnsMidExpandedEndHidden",e.ThreeColumnsBeginExpandedEndHidden="ThreeColumnsBeginExpandedEndHidden",e.EndColumnFullScreen="EndColumnFullScreen"}(t.FlexibleColumnLayoutType||(t.FlexibleColumnLayoutType={})),function(e){e.Vendor="VENDOR",e.Customer="CUSTOMER_BASE"}(t.FlexChangeLayer||(t.FlexChangeLayer={}))},6442:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.OData="OData",e.ODataAnnotation="ODataAnnotation"}(t.DataSourceType||(t.DataSourceType={})),function(e){e.ui="sap.ui",e.app="sap.app",e.generic="sap.ui.generic.app",e.ovp="sap.ovp",e.ui5="sap.ui5"}(n=t.ManifestSection||(t.ManifestSection={})),t.GENERICAPPSETTINGS=`${n.generic}/settings`},3404:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6442)),a(n(5281))},5281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FIORI_FCL_ROOT_VIEW_NAME="sap.fe.templates.RootContainer.view.Fcl",t.FIORI_FCL_ROOT_ID="appRootView",function(e){e.XML="XML",e.HTML="HTML",e.JS="JS",e.JSON="JSON"}(t.ViewTypes||(t.ViewTypes={})),t.SAPUI5_VIEW_CLASS="sap.ui.core.mvc.View",t.SAPUI5_FRAGMENT_CLASS="sap.ui.core.Fragment"},3435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5747),r=n(5622);var i;!function(e){e.Application="Application",e.ObjectPage="ObjectPage",e.ListReport="ListReport",e.OverviewPage="OverviewPage",e.AnalyticalListPage="AnalyticalListPage"}(i=t.SchemaType||(t.SchemaType={}));t.getGenericSchema=async(e,t)=>{try{const n=((e,t)=>{const n=t===i.Application?i.Application+e.toUpperCase()+".json":t+"Config.json";return r.join(__dirname,"schemas",e,n)})(e,t);return await(async e=>new Promise(((t,n)=>{a.readFile(e,{encoding:"utf8"},((e,a)=>{e?n(e):t(JSON.parse(a))}))})))(n)}catch(n){throw new Error(`No schema available for type: ${t}, version: ${e}. Error was ${n.message}`)}}},3846:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Top="Top",e.Middle="Middle",e.Bottom="Bottom"}(t.TableColumnVerticalAlignment||(t.TableColumnVerticalAlignment={}))},2387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.bar="bar",e.column="column",e.line="line",e.combination="combination",e.pie="pie",e.donut="donut",e.scatter="scatter",e.bubble="bubble",e.heatmap="heatmap",e.bullet="bullet",e.verticalBullet="vertical_bullet",e.stackedBar="stacked_bar",e.stackedColumn="stacked_column",e.stackedCombination="stacked_combination",e.horizontalStackedCombination="horizontal_stacked_combination",e.dualBar="dual_bar",e.dualColumn="dual_column",e.dualLine="dual_line",e.dualStackedBar="dual_stacked_bar",e.dualStackedColumn="dual_stacked_column",e.dualCombination="dual_combination",e.dualStackedCombination="dual_stacked_combination",e.dualHorizontalCombination="dual_horizontal_combination",e.dualHorizontalStackedCombination="dual_horizontal_stacked_combination",e.hundredStackedBar="100_stacked_bar",e.hundredStackedColumn="100_stacked_column",e.hundredDualStackedBar="100_dual_stacked_bar",e.hundredDualStackedColumn="100_dual_stacked_column",e.waterfall="waterfall",e.horizontalWaterfall="horizontal_waterfall"}(t.ChartType||(t.ChartType={}))},6745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.cardBubble="cardBubble",e.cardchartsline="cardchartsline",e.cardchartsdonut="cardchartsdonut"}(t.ChartCardType||(t.ChartCardType={})),function(e){e.analytical="sap.ovp.cards.charts.analytical",e.analyticalv4="sap.ovp.cards.v4.charts.analytical",e.list="sap.ovp.cards.list",e.listv4="sap.ovp.cards.v4.list",e.linklist="sap.ovp.cards.linklist",e.linklistv4="sap.ovp.cards.v4.linklist",e.table="sap.ovp.cards.table",e.tablev4="sap.ovp.cards.v4.table",e.stack="sap.ovp.cards.stack"}(t.CardTemplateType||(t.CardTemplateType={})),t.cardTemplateTypeMap={"sap.ovp.cards.charts.analytical":"AnalyticalCard","sap.ovp.cards.v4.charts.analytical":"AnalyticalCard","sap.ovp.cards.list":"ListCard","sap.ovp.cards.v4.list":"ListCard","sap.ovp.cards.linklist":"LinklistCard","sap.ovp.cards.v4.linklist":"LinklistCard","sap.ovp.cards.table":"TableCard","sap.ovp.cards.v4.table":"TableCard","sap.ovp.cards.stack":"StackCard"},function(e){e.analyticalCardSettings="analyticalCardSettings",e.analyticalCardSettingsv4="analyticalCardSettingsv4",e.listCardSettings="listCardSettings",e.listCardSettingsv4="listCardSettingsv4",e.stackCardSettings="stackCardSettings",e.linkListCardSettings="linkListCardSettings",e.tableCardSettings="tableCardSettings",e.tableCardSettingsv4="tableCardSettingsv4"}(t.CardSettingsType||(t.CardSettingsType={})),function(e){e.average="average",e.max="max",e.min="min",e.sum="sum",e.count="$count"}(t.MeasureAggregateValues||(t.MeasureAggregateValues={})),function(e){e.standard="standard",e.bar="bar",e.carousel="carousel"}(t.ListFlavorType||(t.ListFlavorType={})),function(e){e.extended="extended",e.condensed="condensed"}(t.ListTypeType||(t.ListTypeType={})),function(e){e.ascending="ascending",e.descending="descending"}(t.SortOrderType||(t.SortOrderType={})),function(e){e.standard="standard",e.carousel="carousel"}(t.LinkListFlavorType||(t.LinkListFlavorType={}))},2922:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.DATERANGE="DATERANGE",e.DATE="DATE",e.FROM="FROM",e.TO="TO",e.DAYS="DAYS",e.LASTDAYS="LASTDAYS",e.LASTWEEKS="LASTWEEKS",e.WEEK="WEEK",e.LASTMONTHS="LASTMONTHS",e.MONTH="MONTH",e.QUARTER="QUARTER",e.LASTQUARTERS="LASTQUARTERS",e.LASTYEARS="LASTYEARS",e.LASTYEAR="LASTYEAR",e.YEAR="YEAR",e.NEXTDAYS="NEXTDAYS",e.NEXTWEEKS="NEXTWEEKS",e.NEXTMONTHS="NEXTMONTHS",e.NEXTQUARTERS="NEXTQUARTERS",e.NEXTYEARS="NEXTYEARS",e.NEXT="NEXT",e.SPECIFICMONTH="SPECIFICMONTH",e.YESTERDAY="YESTERDAY",e.YEARTODATE="YEARTODATE",e.TODAY="TODAY",e.TOMORROW="TOMORROW",e.THISWEEK="THISWEEK",e.LASTWEEK="LASTWEEK",e.LAST2WEEKS="LAST2WEEKS",e.LAST3WEEKS="LAST3WEEKS",e.LAST4WEEKS="LAST4WEEKS",e.LAST5WEEKS="LAST5WEEKS",e.NEXTWEEK="NEXTWEEK",e.NEXT2WEEKS="NEXT2WEEKS",e.NEXT3WEEKS="NEXT3WEEKS",e.NEXT4WEEKS="NEXT4WEEKS",e.NEXT5WEEKS="NEXT5WEEKS",e.THISMONTH="THISMONTH",e.LASTMONTH="LASTMONTH",e.NEXTMONTH="NEXTMONTH",e.THISQUARTER="THISQUARTER",e.LASTQUARTER="LASTQUARTER",e.NEXTQUARTER="NEXTQUARTER",e.QUARTER1="QUARTER1",e.QUARTER2="QUARTER2",e.QUARTER3="QUARTER3",e.QUARTER4="QUARTER4",e.TODAYFROMTO="TODAYFROMTO"}(t.DateRangeType||(t.DateRangeType={}))},7876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.AfterFacet="AfterFacet",e.BeforeFacet="BeforeFacet",e.ReplaceFacet="ReplaceFacet"}(t.SectionPosition||(t.SectionPosition={})),function(e){e.XML="XML"}(t.ExtensionFragmentTypes||(t.ExtensionFragmentTypes={}))},9649:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.inline="inline"}(t.CreateMode||(t.CreateMode={}))},2906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.XML="XML"}(t.customColumnViewTypes||(t.customColumnViewTypes={})),function(e){e.ResponsiveTable="ResponsiveTable",e.GridTable="GridTable",e.AnalyticalTable="AnalyticalTable",e.TreeTable="TreeTable"}(t.TableTypeV2||(t.TableTypeV2={})),function(e){e.ResponsiveTableColumnsExtension="ResponsiveTableColumnsExtension",e.AnalyticalTableColumnsExtension="AnalyticalTableColumnsExtension",e.TreeTableColumnsExtension="TreeTableColumnsExtension",e.GridTableColumnsExtension="GridTableColumnsExtension"}(t.TableColumnExtensionTypeV2||(t.TableColumnExtensionTypeV2={})),function(e){e.extension="extension"}(t.Strategy||(t.Strategy={})),function(e){e.charttable="charttable",e.chart="chart",e.table="table"}(t.DefaultContentView||(t.DefaultContentView={})),function(e){e.visual="visual",e.compact="compact"}(t.DefaultFilterMode||(t.DefaultFilterMode={})),function(e){e.always="always",e.never="never",e.ifAnyFilterExist="ifAnyFilterExist"}(t.LoadDataOnAppLaunchSettings||(t.LoadDataOnAppLaunchSettings={}))},6402:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6745)),a(n(2922)),a(n(2906)),a(n(2387)),a(n(7876)),a(n(9649))},390:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3800)),a(n(6402)),a(n(9809)),a(n(3846))},2505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.fixed="fixed",e.resizable="resizable"}(t.ContainerLayoutType||(t.ContainerLayoutType={}))},3800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(2505))},9809:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(7900))},7900:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4867)),a(n(1374))},1374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(5877);t.SAPUI5_VIEW_EXTENSION="sap.ui.viewExtensions",t.SAPUI5_CONTROLLER_EXTENSION="sap.ui.controllerExtensions",t.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE="sap.suite.ui.generic.template.ObjectPage.view.Details",t.SAPUI5_VIEW_EXTENSION_LIST_REPORT="sap.suite.ui.generic.template.ListReport.view.ListReport",t.SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE="sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"},4867:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FE_TEMPLATE_V2="sap.suite.ui.generic.template",t.FE_TEMPLATE_V2_OBJECT_PAGE="sap.suite.ui.generic.template.ObjectPage",t.FE_TEMPLATE_V2_LIST_REPORT="sap.suite.ui.generic.template.ListReport",t.FE_TEMPLATE_V2_ALP="sap.suite.ui.generic.template.AnalyticalListPage"},9734:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e["not-adaptable-visibility"]="not-adaptable-visibility"}(t.DesigntimeValues||(t.DesigntimeValues={}))},8554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Tabs="Tabs",e.Page="Page"}(t.SectionLayoutType||(t.SectionLayoutType={}))},4685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.After="After",e.Before="Before"}(t.SectionPosition||(t.SectionPosition={})),function(e){e.XML="XML"}(t.CustomSectionViewTypesV4||(t.CustomSectionViewTypesV4={}))},7093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Multi="Multi",e.None="None",e.Single="Single",e.Auto="Auto"}(t.SelectionMode||(t.SelectionMode={})),function(e){e.ResponsiveTable="ResponsiveTable",e.GridTable="GridTable",e.AnalyticalTable="AnalyticalTable"}(t.TableTypeV4||(t.TableTypeV4={})),function(e){e.NewPage="NewPage",e.Inline="Inline",e.CreationRow="CreationRow"}(t.TableCreationModeType||(t.TableCreationModeType={})),function(e){e.Disabled="Disabled",e.Enabled="Enabled",e.Auto="Auto"}(t.InitialLoadType||(t.InitialLoadType={}))},8452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.single="single",e.multi="multi"}(t.SelectType||(t.SelectType={}))},1709:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(7093)),a(n(8452)),a(n(9734)),a(n(8554)),a(n(4685))},5877:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(2616)),a(n(1709)),a(n(5113))},5759:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.None="None",e.Control="Control",e.Page="Page"}(t.VariantManagementTypeListReport||(t.VariantManagementTypeListReport={}))},8999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.None="None",e.Control="Control"}(t.VariantManagementTypeObjectPage||(t.VariantManagementTypeObjectPage={}))},2616:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(8999)),a(n(5759))},5113:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(6568))},5817:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.After="After",e.Before="Before",e.End="End"}(t.Placement||(t.Placement={})),function(e){e.Default="Default",e.Adaptation="Adaptation",e.Hidden="Hidden"}(t.Availability||(t.Availability={}))},6568:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(8778)),a(n(8741)),a(n(3404)),a(n(5817))},8741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FIORI_FCL_ROUTER_CLASS="sap.f.routing.Router",function(e){e.BeginColumnPages="beginColumnPages",e.MidColumnPages="midColumnPages",e.EndColumnPages="endColumnPages"}(t.FlexibleColumnLayoutAggregations||(t.FlexibleColumnLayoutAggregations={})),t.SAPUI5_DEPENDENCY_LIB_SAP_F="sap.f"},8778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FE_TEMPLATE_V4="sap.fe.templates",t.FE_TEMPLATE_V4_CUSTOM_PAGE="sap.fe.core.fpm",t.FE_TEMPLATE_V4_OBJECT_PAGE="sap.fe.templates.ObjectPage",t.FE_TEMPLATE_V4_LIST_REPORT="sap.fe.templates.ListReport",t.FE_TEMPLATE_V4_ALP="sap.fe.templates.AnalyticalListPage",t.SAPUI5_FRAGMENT_TYPE_V4="XMLFragment",function(e){e.AfterFacet="AfterFacet",e.BeforeFacet="BeforeFacet"}(t.SectionPositionV4||(t.SectionPositionV4={}))},4093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(8517),i=n(9081),o=n(3435);t.AppProvider=class AppProvider{constructor(e,t,n,r,s,c,l){this.unhandledControllers=[];const u=i.getSchemaFilePath(o.SchemaType.Application);this.app=Object.assign({$schema:u.path,id:e["sap.app"].id,pages:r,home:n,target:{fioriElements:s,odata:s===a.FioriElementsVersion.v2?a.OdataVersion.v2:a.OdataVersion.v4}},c&&{settings:c}),this.schemas=t,this.logger=l}createConfigFiles(){const e={},t={};let n;for(const t in this.app.pages)if(n=this.app.pages[t],n.config){const a=i.getSchemaFilePath(n.pageType,n.entitySet),o=n.config;if(this.schemas[a.filename])o.$schema=a.path;else{const e=i.getSchemaFilePath(n.pageType);o.$schema=e.path}e[`${r.DirName.Pages}/${t}.json`]=o}const a=JSON.parse(JSON.stringify(this.app));for(const e in a.pages)delete a.pages[e].config;return t[r.FileName.App]=a,{appConfig:t,pageConfigs:e}}}},3265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8517),r=n(9081);function i(e){return e.replace(/[^-A-Za-z0-9_.:]/g,(function(e){const t=e.charCodeAt(0).toString(16);return":"+(1===t.length?"0":"")+t}))}var o;t.buildControlIdFromParent=(e,t)=>e+t.join("::"),t.buildControlIdForPage=(e,t,n)=>e+t.join("::")+n[0],t.convertSectionId=(e,t)=>{let n;const r=a.FacetTitlePrefix;return n=void 0!==t?t.split(r)[1]:e.replace(new RegExp("/@","g"),"::").replace(/@com.sap/g,"com.sap"),n},t.escapeId=i,function(e){e.Editable="{ui>/editable}",e.NotEditable="{= !${ui>/editable}}"}(o=t.BindingValue||(t.BindingValue={})),t.buildColumnControlId=(e,n,r,o,s)=>{let c,l="listReport";const u=[...r];n=n.map((function(e){if("sections"===e)for(let e=0;e<u.length;e++){if("sections"===u[e]&&(c=u[e+1],-1!==c.indexOf("LineItem")))return u[e+1]=t.convertSectionId(c,s)+"::Table",u[e+1]}return e})),"sections"===u[0]&&(l=u[1].replace(/::com.sap.vocabularies/g,a.VOCWITHSLASH).replace(/::@com.sap.vocabularies/g,a.VOCWITHSLASH));const p=u[u.length-1].replace(/::com.sap.vocabularies/g,a.VOCWITHSLASH).replace(/::@com.sap.vocabularies/g,a.VOCWITHSLASH).replace("sTarget/@","sTarget::@");let f;const d=p.indexOf(":::");return f=p.startsWith("DataField")&&d>-1?e+"template:::TableColumn:::"+p.substr(0,d)+":::sSmartTableId::"+l.replace("::Table",":3a:3aTable")+":::"+p.substr(d+3):e+n.join("::")+"-"+p,i(f)};const s=(e,t,n,i)=>{const o=t&&t.properties;if(o[n].pattern)return;const s=o[n];let c=s;const l=s.$ref?e.definitions[s.$ref.split(r.DEFINITION_LINK_PREFIX)[1]]:s,u=s.description?s.description:l.description,p=function(e){let t=a.BindingPropertyRegexAsString;if(e.enum){let n;e.enum.forEach((e=>{e.toString().startsWith("{")||(n=n?n+"|"+e.toString():e.toString())})),t=`^(${n})$|${t}`}return e.type&&"boolean"===e.type&&(t=`^(false|true)$|${t}`),t}(l);l.type&&"boolean"===l.type&&(c={enum:[!1,!0]}),i&&c.enum&&i.forEach((e=>{-1===c.enum.indexOf(e)&&c.enum.push(e)})),o[n]={pattern:p,anyOf:[c,{type:"string"}]},u&&(o[n].description=u,delete s.description)};t.addPatternForBindingChangeOfEnumLR=(e,t,n)=>{s(e,t,n)},t.addPatternForBindingChangeOfEnumOP=(e,t,n)=>{const a=Object.values(o);s(e,t,n,a)}},2762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(2775),t.reflectMetadataKey=Symbol("specificationMetadataKey"),t.syncRule=e=>Reflect.metadata(t.reflectMetadataKey,e),t.getReflectMetadata=function(e,n){if(e)return Reflect.getMetadata(t.reflectMetadataKey,e,n)},t.pageLayoutInformation=e=>t=>{t.prototype.pageLayoutInformation=e};const a=Symbol("childId");t.childId=e=>Reflect.metadata(a,e),t.getChildId=(e,t)=>Reflect.getMetadata(a,e,t),t.getPageLayoutInformation=e=>Object.getPrototypeOf(e).pageLayoutInformation,t.validityMetadataKey=Symbol("validityMetadataKey"),t.validity=e=>Reflect.metadata(t.validityMetadataKey,e),t.getTextForDeprecated=function(e,t){let n=e+" is deprecated";return t&&t.deprecated&&(n=t.deprecated.since?n+" since "+t.deprecated.since:n,n=t.deprecated.text?n+". "+t.deprecated.text:n),n}},6785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.MetadataFactory=class MetadataFactory{constructor(e,t,n){this.controls=e,this.pages=t,this.pageTypes=n}createInstance(e,t,n,a){let r=this.controls[a]?this.controls[a]:this.controls[t];r||(r=this.pageTypes[e][a]?this.pageTypes[e][a]:this.pageTypes[e][t]);return r?Object.assign(new r,n):n}createPageInstance(e,t){const n=this.pages[e];return n?Object.assign(new n,t):null}}},4792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(1684);t.exportToFlexChange=function(e,t){return a.createChangeString(e,t)}},5599:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3265)),a(n(2762)),a(n(4792))},1684:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(2281)).default.change,i={isCustomer:!1,sapui5Version:" ",creatingTool:"SAPFioriTools",type:"propertyChange"};t.createChangeString=function(e,t){let n="";try{for(const t in i)void 0===e[t]&&(e[t]=i[t]);n=r.createChangeString(e,t)}catch(e){console.error("Error while create flex change.",e)}return n},t.parseChangeString=function(e){try{return r.parse(e)}catch(e){return!1}},t.fillFlexChangeContent=function(e,t,n,a,r){const i=!n.layer||"CUSTOMER_BASE"===n.layer,o={controlId:r,controlType:t.flex.controlType(),content:{property:a},sapui5Version:n.ui5Version,isCustomer:i};return void 0!==e[a]?t.flex.exportFlexValue?t.flex.exportFlexValue(o,e,a):e[a].toString().startsWith("{")?(o.content.newBinding=e[a],o.type="propertyBindingChange"):o.content.newValue=e[a]:o.content.newValue=null,o}},3917:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(7898)),a(n(9152))},7898:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(1162),r=n(6971),i=n(5008);function o(e,t,n,o,s,c,l,u=!0){var p,f,d,h,g;const m=a.getStableIdPartFromDataField(n),y=l===r.FioriElementsVersion.v2&&m&&m.includes("::")?m.split("::").splice(1).join("::"):m,v=l===r.FioriElementsVersion.v2&&m&&m.includes("::")?m.split("::")[0].replace("DataField","Field"):void 0,b=l===r.FioriElementsVersion.v2?`${v}<${o}::${y}>`:`${o}::${y}`,P=i.prepareRef(`${e}Fields<${o}>`),S=i.prepareRef(`${e}Actions<${o}>`);if(n&&n.$Type){if("com.sap.vocabularies.UI.v1.DataFieldForAction"===n.$Type||"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===n.$Type?u&&e===i.SectionType.Section&&(t.definitions[S].properties[y]={$ref:i.DEFINITION_LINK_PREFIX+b,propertyIndex:parseInt(s)}):t.definitions[P].properties[y]={$ref:i.DEFINITION_LINK_PREFIX+b,propertyIndex:parseInt(s)},t.definitions[b]={type:"object",isViewNode:!0,properties:{},description:i.getDatafieldDescription(n,c.entityType),additionalProperties:!1,annotationType:n.$Type},l===r.FioriElementsVersion.v4&&t.definitions.Field)switch(n.$Type){case"com.sap.vocabularies.UI.v1.DataField":case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":case"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath":case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":t.definitions[b].properties=t.definitions.Field.properties}else if(l===r.FioriElementsVersion.v2&&t.definitions.Field)switch(n.$Type){case"com.sap.vocabularies.UI.v1.DataField":case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":t.definitions[b].properties=t.definitions.Field.properties}"com.sap.vocabularies.UI.v1.DataFieldForAction"===n.$Type&&(null===(p=t.definitions)||void 0===p?void 0:p.FormAction)&&(t.definitions[b].properties=t.definitions.FormAction.properties),(null===(d=null===(f=n.Value)||void 0===f?void 0:f.$target)||void 0===d?void 0:d.type)&&(t.definitions[b].dataType=null===(g=null===(h=n.Value)||void 0===h?void 0:h.$target)||void 0===g?void 0:g.type.replace("Edm.","")),t.definitions[b].annotationPath=`/${c.entityType.fullyQualifiedName}/${n.fullyQualifiedName.split(c.entityType.fullyQualifiedName)[1]}`}}function s(e,t){let n,a,r=e.lastIndexOf("/");if(-1===r&&(r=e.lastIndexOf(".")),r>-1)n=e.substr(r+1),a=e.substr(0,r)+"::"+n;else{n=e;const r=t.fullyQualifiedName.split(t.name)[0];a=r.substr(0,r.length-1)+"::"+n}return{actionName:n,actionId:a}}t.handleForm=function(e,t,n,a,r,s=!0){var c;if(!t.target)return;const l=function(e){let t;return t=e.target&&e.target.qualifier&&e.entityType?`${e.entityType.name}::${e.base}::${e.target.qualifier}`:e.entityType?`${e.entityType.name}::${e.base}`:e.ID,t}(t),u=i.prepareRef(`${e}Form<${l}>`),p=i.prepareRef(`${e}Fields<${l}>`),f=i.prepareRef(`${e}Actions<${l}>`);if(n.properties.form={$ref:i.DEFINITION_LINK_PREFIX+u},e===i.SectionType.Section&&s?(a.definitions[u]={type:"object",properties:{actions:{$ref:i.DEFINITION_LINK_PREFIX+f},fields:{$ref:i.DEFINITION_LINK_PREFIX+p}},isViewNode:!0,description:"Form",additionalProperties:!1},a.definitions[f]={type:"object",properties:{},isViewNode:!0,description:"Actions",additionalProperties:!1}):a.definitions[u]={type:"object",properties:{fields:{$ref:i.DEFINITION_LINK_PREFIX+p}},isViewNode:!0,description:"Form",additionalProperties:!1},(null===(c=t.entityType)||void 0===c?void 0:c.name)&&(a.definitions[u].annotationPath=i.createAnnotationPath(t.entityType.fullyQualifiedName,t.target.term,t.target.qualifier)),a.definitions[p]={type:"object",properties:{},isViewNode:!0,description:"Fields",additionalProperties:!1},t.base===i.FacetBase.Identification)for(const n in t.target){const i=t.target[n];i&&o(e,a,i,l,n,t,r,s)}else for(const n in t.target.Data){o(e,a,t.target.Data[n],l,n,t,r)}},t.replaceAlias=function(e,t){const n=e.indexOf(".")>-1?e.split(".")[0]:void 0;let a=e;if(n){const r=t.references.find((e=>e.alias===n));r&&(a=e.replace(n,r.namespace))}return a},t.getActionNameAndId=s,t.addFooterActions=function(e,t,n){e.definitions.ObjectPageFooter=JSON.parse(JSON.stringify(e.definitions["ObjectPageFooter<GenericFooterActions>"])),e.properties.footer={$ref:`${i.DEFINITION_LINK_PREFIX}ObjectPageFooter`},e.definitions.ObjectPageFooter.properties.actions={$ref:`${i.DEFINITION_LINK_PREFIX}FooterActions`};const a=e.definitions.FooterActions={type:"object",properties:{},description:"Actions",additionalProperties:!1,isViewNode:!0},r=i.findAlias(i.UIVOCABULARY,n),o=r&&t.annotations&&t.annotations[r]&&t.annotations[r].Identification;if(o){const n=o.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification");a.annotationPath=`/${n}`,o.forEach(((r,o)=>{if(r.Determining&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===r.$Type){const{actionName:c,actionId:l}=s(r.Action,t),u=r.Label||c,p=i.prepareRef(`FooterAction<${l}>`);e.definitions.FooterAction?e.definitions[p]=Object.assign(Object.assign({},JSON.parse(JSON.stringify(e.definitions.FooterAction))),{description:u,annotationPath:`/${n}/${o}`}):e.definitions[p]={isViewNode:!0,type:"object",properties:{},description:u,annotationPath:`/${n}/${o}`},a.properties[l]={$ref:`${i.DEFINITION_LINK_PREFIX}${p}`}}}))}else a.annotationPath=`/${t.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Identification`;delete e.definitions.GenericFooterActions,delete e.definitions["ObjectPageFooter<GenericFooterActions>"]},t.addHeaderActions=function(e,t,n,a){e.definitions.ObjectPageHeader.properties.actions={$ref:`${i.DEFINITION_LINK_PREFIX}HeaderActions`};const r=e.definitions.HeaderActions={type:"object",properties:{},description:"Actions",additionalProperties:!1,isViewNode:!0},o=i.findAlias(i.UIVOCABULARY,n),s=o&&t.annotations&&t.annotations[o]&&t.annotations[o].Identification;s?(r.annotationPath="/"+s.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification"),s.forEach(a(t,e,s,r,n))):r.annotationPath=`/${t.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Identification`,delete e.definitions.GenericActions,delete e.definitions["ObjectPageHeader<GenericActions>"]},t.addCommonHeaderSchema=function(e,t){e.properties.header={$ref:i.DEFINITION_LINK_PREFIX+"ObjectPageHeader"},e.definitions.ObjectPageHeader=JSON.parse(JSON.stringify(e.definitions["ObjectPageHeader<GenericActions>"])),e.definitions.ObjectPageHeader.annotationPath=`/${t.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.HeaderInfo`}},9152:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008);function r(e,t,n){const a=e.annotations.UI;if(!a)return;const r=n.enum?n.enum:[];for(const e in a){const n=a[e];if(t.indexOf(n.term)>-1){const e=n.qualifier?`${n.term}#${n.qualifier}`:`${n.term}`;-1===r.indexOf(e)&&r.push(e)}}r.length>0&&(n.enum=r)}t.addEnumForValidAnnotations=r,t.addEnumForSingleTabVariant=function(e,t,n){r(e,["com.sap.vocabularies.UI.v1.SelectionVariant","com.sap.vocabularies.UI.v1.SelectionPresentationVariant"],t.definitions[n].properties.annotationPath)},t.addEnumForMultiTabVariant=function(e,t,n){const a=t.definitions[n].properties.annotationPath,i=["com.sap.vocabularies.UI.v1.SelectionVariant","com.sap.vocabularies.UI.v1.SelectionPresentationVariant","com.sap.vocabularies.UI.v1.PresentationVariant"];e.entitySets&&e.entitySets.forEach((e=>{r(e.entityType,i,a)}))},t.addEnumForVariantEntitySet=function(e,t,n){const a=t.definitions[n].properties.entitySet;if(e.entitySets){const t=[];e.entitySets.forEach((e=>{t.push(e.name)})),t.length>0&&(a.enum=t)}},t.addEnumForFilterBarAnnotationPath=function(e,t,n){r(e,["com.sap.vocabularies.UI.v1.SelectionVariant"],t.definitions[n].properties.annotationPath)},t.addDefinitionForRelatedFacetKeys=function(e,t,n,r){const i=n.map((e=>{const t=r.find((t=>!!e[t])),n=e[t];return Object.assign(Object.assign({const:n},e.label&&{description:e.label}),e.custom&&{custom:e.custom})}));if(i.length){e.definitions.RelatedFacetKeys={type:"string",oneOf:i};for(const n of t){const t=e.definitions[n],r=t.properties.relatedFacet;t.properties.relatedFacet={anyOf:[{$ref:a.DEFINITION_LINK_PREFIX+"RelatedFacetKeys"},r]}}}},t.addCommonLineItemDefinitions=function(e,t,n,r){let i;e.definitions[r]={type:"object",properties:{},additionalProperties:!1,isViewNode:!0,description:"Columns"};const o="LineItems"===r?"ToolBar":"ObjectPageToolBar",s=`${o}<${r}>`;e.definitions[s]=JSON.parse(JSON.stringify(e.definitions[`${o}`]));const c=`Actions<${a.prepareRef(r)}>`;e.definitions[s].properties.actions.$ref=a.DEFINITION_LINK_PREFIX+c;const l="LineItems"===r?"Actions":"ObjectPageToolBarActions",u=e.definitions[c]=JSON.parse(JSON.stringify(e.definitions[l]));return u.properties={},u.additionalProperties=!1,t&&(i=a.createAnnotationPath(n.fullyQualifiedName,t.term,t.qualifier),e.definitions[r].annotationPath=e.definitions[s].annotationPath=i),{actions:u,lineItemPath:i}},t.addFieldsType=function(e,t,n=""){const r=[],i={},o=`FieldPath${a.prepareRef(n)}`;for(const e of t.entityProperties){const t=e.name;r.push(t),i[t]={$ref:a.DEFINITION_LINK_PREFIX+o}}e.definitions[t.name]={enum:r},e.definitions[o].properties.path={$ref:a.DEFINITION_LINK_PREFIX+t.name};const s=`CreationFieldKeys${a.prepareRef(n)}`;e.definitions[s]={type:"object",properties:i,additionalProperties:!1},e.definitions[`Fields4Dialog${n}`].properties.fields.$ref=a.DEFINITION_LINK_PREFIX+s}},3436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(5921);t.importProperty=function(e,t,n,a,r){const i=e.manifest.key||n,o=e.manifest.import;if(o&&"function"==typeof o){const e=o(t,r);void 0!==e&&(a[n]=e)}else void 0!==t[i]&&(a[n]=t[i])},t.checkDeprecatedProperties=function(e,t,n,i){if(t&&e)for(const o in t){const t=e[o];t&&(r.log(i,{severity:"warning",message:a.getTextForDeprecated(o,t),location:{path:"webapp/manifest.json/",range:n.split("/")}}),delete e[o])}},t.getSectionTitle=function e(t,n){if(!t.$ref||t.title)return t.title&&t.title.startsWith(a.FacetTitlePrefix)?t.title.split(a.FacetTitlePrefix)[1]:t.title?t.title:void 0;e(n.definitions[t.$ref.split(a.DEFINITION_LINK_PREFIX)[1]],n)}},7108:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(6971),o=n(3435),s=a(n(4867)),c=a(n(8778)),l=n(1918),u=n(3073),p=n(4370),f=n(6882),d=n(8083),h=n(8517),g=n(9081),m=r(n(9154)),y=n(5921),v=n(2449);function b(e){const t={Facets:[],LineItems:[]},n=null==e?void 0:e.entityTypes;if(n){const a=g.findAlias(h.UIVOCABULARY,e);for(const e of n){if(!e.annotations||!e.annotations[a])continue;const n=e.name||e.fullyQualifiedName.split(".").pop(),{LineItem:r,Facets:i}=e.annotations[a];r&&!r.qualifier&&r.find((e=>"com.sap.vocabularies.UI.v1.DataField"===e.$Type||"com.sap.vocabularies.UI.v1.DataFieldForAnnotation"===e.$Type))&&t.LineItems.push(n),i&&!i.qualifier&&t.Facets.push(n)}}return t}function P(e,t){return t&&t.entitySets&&t.entitySets.find((t=>t.name===e))}function S(e,t,n){const a=u.getPages(e.manifest[i.ManifestSection.generic].pages,s.FE_TEMPLATE_V2_OBJECT_PAGE);for(const r in a){const o=a[r].entitySet,s=P(o,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,u=g.getSchemaFilePath(i.SchemaType.ObjectPage,(null==s?void 0:s.name)||o),p=g.getSchemaFilePath(i.SchemaType.ObjectPage);n[u.filename]=l.generateObjectPageSchemaV2(e,t[p.filename],c)}}function T(e,t,n){var a;const r=d.getPages(e.manifest,c.FE_TEMPLATE_V4_OBJECT_PAGE);for(const o in r){const s=r[o].options.settings.entitySet,c=P(s,null==e?void 0:e.serviceAVT);c||y.log(e.logger,{severity:"error",message:m.default.t("ENTITYSETNOTFOUND",{entitySet:s}),location:{path:h.METADATAPATH}});const l=c&&(null==c?void 0:c.entityType)&&(null===(a=null==c?void 0:c.entityType)||void 0===a?void 0:a.name),u=g.getSchemaFilePath(i.SchemaType.ObjectPage,(null==c?void 0:c.name)||s),p=g.getSchemaFilePath(i.SchemaType.ObjectPage);n[u.filename]=f.generateObjectPageSchemaV4(e,t[p.filename],l)}}async function O(e,t,n){const a=await async function(e,t){const n={};let a=[];switch(a=[i.SchemaType.Application],e){case g.TemplateType.ListReportObjectPageV2:case g.TemplateType.ListReportObjectPageV4:a.push(i.SchemaType.ListReport,i.SchemaType.ObjectPage);break;case g.TemplateType.AnalyticalListPageV2:case g.TemplateType.AnalyticalListPageV4:a.push(i.SchemaType.AnalyticalListPage,i.SchemaType.ObjectPage);break;case g.TemplateType.OverviewPageV2:a.push(i.SchemaType.OverviewPage)}for(const e of a)n[g.getSchemaFilePath(e).filename]=await o.getGenericSchema(t,e);return n}(n,e.fioriElementsVersion);return e.fioriElementsVersion===i.FioriElementsVersion.v4?function(e,t,n,a){const r={};if(n)if(a===g.TemplateType.ListReportObjectPageV4){const n=d.getPages(e.manifest,c.FE_TEMPLATE_V4_LIST_REPORT);for(const a in n){const o=n[a].options.settings.entitySet,s=P(o,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,l=g.getSchemaFilePath(i.SchemaType.ListReport,(null==s?void 0:s.name)||o),u=g.getSchemaFilePath(i.SchemaType.ListReport);r[l.filename]=f.generateListReportSchemaV4(t[u.filename],c,null==e?void 0:e.serviceAVT,e.logger)}T(e,t,r)}else if(a===g.TemplateType.AnalyticalListPageV4){const n=d.getPages(e.manifest,c.FE_TEMPLATE_V4_ALP);for(const a in n){const o=n[a].options.settings.entitySet,s=P(o,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,l=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage,(null==s?void 0:s.name)||o),u=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage);r[l.filename]=f.generateListReportSchemaV4(t[u.filename],c,null==e?void 0:e.serviceAVT,e.logger)}T(e,t,r)}return Object.assign(Object.assign({},t),r)}(e,a,t,n):function(e,t,n,a){var r;const o={};if(a===g.TemplateType.ListReportObjectPageV2&&n){const n=u.getPages(e.manifest[i.ManifestSection.generic].pages,s.FE_TEMPLATE_V2_LIST_REPORT);for(const a in n){const r=n[a].entitySet,s=P(r,null==e?void 0:e.serviceAVT),c=s&&s.entityType&&s.entityType.name,u=g.getSchemaFilePath(i.SchemaType.ListReport,(null==s?void 0:s.name)||r),p=g.getSchemaFilePath(i.SchemaType.ListReport);o[u.filename]=l.generateListReportSchemaV2(e,t[p.filename],c)}S(e,t,o)}else if(a===g.TemplateType.AnalyticalListPageV2&&n){const n=u.getPages(e.manifest[i.ManifestSection.generic].pages,s.FE_TEMPLATE_V2_ALP);for(const a in n){const s=n[a].entitySet,c=P(s,null==e?void 0:e.serviceAVT),u=null===(r=null==c?void 0:c.entityType)||void 0===r?void 0:r.name,p=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage,(null==c?void 0:c.name)||s),f=g.getSchemaFilePath(i.SchemaType.AnalyticalListPage);o[p.filename]=l.generateAnalyticalListReportSchemaV2(e,t[f.filename],u)}S(e,t,o)}else if(a===g.TemplateType.OverviewPageV2){const n=g.getSchemaFilePath(i.SchemaType.OverviewPage),a=g.getSchemaFilePath(i.SchemaType.OverviewPage);o[n.filename]=l.generateOVPInterfaceV2(t[a.filename],e.manifest)}return Object.assign(Object.assign({},t),o)}(e,a,t,n)}function _(e,t){let n=[];for(const t of Object.keys(e).sort()){let a;a=t===i.SchemaType.Application?`${h.DirName.Schemas}/${h.FileName.App[0].toUpperCase()}${h.FileName.App.slice(1)}`:`${h.DirName.Schemas}/${t}.json`,n.push({dataSourceUri:a,fileContent:JSON.stringify(e[t],null,4)})}return t&&(n=n.concat(t)),n}t.getEntitySetByEntitySetName=P,t.importProjectSchema=async function(e){v.initI18n();let t=[];const n=g.getVersionFromManifest(e.manifest),a=g.parseAndMergeAndConvert(e.annotations,e.logger),r=b(a),i=g.getTemplateTypeFromManifest(e.manifest,n,e.logger),o={manifest:e.manifest,serviceAVT:a,fragments:e.fragments,fioriElementsVersion:n,logger:e.logger};if(i){t=_(await O(o,r,i))}return t},t.importProjectSchemaAndConfig=async function(e){v.initI18n();let t=[],n=[];const{manifest:a,annotations:r,flex:i,fragments:o,logger:s}=e,c=g.getVersionFromManifest(a),l=g.parseAndMergeAndConvert(r,s),f={manifest:e.manifest,serviceAVT:l,fragments:e.fragments,fioriElementsVersion:c,logger:e.logger},h=b(l),m=g.getTemplateTypeFromManifest(a,c,s);if(m){const e=await O(f,h,m);n=function(e,t,n,a,r){let i;const o=[];switch(a){case g.TemplateType.ListReportObjectPageV2:case g.TemplateType.AnalyticalListPageV2:i=new u.V2AppProvider(e,t,n,r);break;case g.TemplateType.AnalyticalListPageV4:case g.TemplateType.ListReportObjectPageV4:i=new d.V4AppProvider(e,n);break;case g.TemplateType.OverviewPageV2:i=new p.V2OvpProvider(e,n)}if(i){const{appConfig:e,pageConfigs:t}=i.createConfigFiles();for(const t in e)o.push({dataSourceUri:t,fileContent:JSON.stringify(e[t],null,4)});for(const e in t)o.push({dataSourceUri:e,fileContent:JSON.stringify(t[e],null,4)})}return o}(a,i,e,m,o),t=_(e,n)}return t}},5008:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(9081)),a(n(8517)),a(n(5599)),a(n(1684)),a(n(3436)),a(n(3917));var r=n(7108);t.importProjectSchemaAndConfig=r.importProjectSchemaAndConfig,t.importProjectSchema=r.importProjectSchema},8517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.flex="flex",e.manifest="manifest"}(t.ExportArtifacts||(t.ExportArtifacts={})),function(e){e.Schemas=".schemas",e.Pages="pages"}(t.DirName||(t.DirName={})),function(e){e.App="app.json"}(t.FileName||(t.FileName={})),t.FacetTitlePrefix="Facet ID: ",function(e){e.Section="Section",e.HeaderSection="HeaderSection"}(t.SectionType||(t.SectionType={})),function(e){e.Manifest="Manifest",e.FlexChange="FlexChange",e.Annotation="Annotation"}(t.ArtifactType||(t.ArtifactType={})),function(e){e.Table="sap.m.Table",e.TableColumn="sap.m.Column",e.SmartTable="sap.ui.comp.smarttable.SmartTable",e.SmartFilterBar="sap.ui.comp.smartfilterbar.SmartFilterBar",e.SmartChart="sap.ui.comp.smartchart.SmartChart",e.SmartGroup="sap.ui.comp.smartform.SmartGroup",e.Button="sap.m.Button",e.ToolbarButton="sap.m.OverflowToolbarButton",e.Avatar="sap.f.Avatar",e.ObjectPageDynamicHeaderTitle="sap.uxap.ObjectPageDynamicHeaderTitle",e.ObjectPageGridProperties="sap.ui.layout.GridData",e.ObjectPageHeader="sap.uxap.ObjectPageHeader",e.ObjectPageLayout="sap.uxap.ObjectPageLayout",e.HeaderAction="sap.uxap.ObjectPageHeaderActionButton",e.DynamicPage="sap.f.DynamicPage",e.Form="sap.ui.layout.form",e.Chart="sap.suite.ui.microchart",e.Section="sap.uxap.ObjectPageSection",e.SubSection="sap.uxap.ObjectPageSubSection"}(t.ControlType||(t.ControlType={})),function(e){e.LineItem="LineItem",e.CollectionFacet="CollectionFacet",e.Chart="Chart",e.Form="Form",e.Identification="Identification",e.DataPoint="DataPoint",e.Address="Address",e.Contact="Contact",e.Unknown=""}(t.FacetBase||(t.FacetBase={})),t.BindingPropertyRegexAsString="^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",function(e){e.ResponsiveTableColumnsExtension="ResponsiveTableColumnsExtension",e.AnalyticalTableColumnsExtension="AnalyticalTableColumnsExtension",e.TreeTableColumnsExtension="TreeTableColumnsExtension",e.GridTableColumnsExtension="GridTableColumnsExtension",e.ResponsiveTableCellsExtension="ResponsiveTableCellsExtension"}(t.ViewTemplateType||(t.ViewTemplateType={})),t.METADATAPATH="webapp/localService/metadata.xml",t.MANIFESTPATH="webapp/manifest.json",t.VOCWITHSLASH="/@com.sap.vocabularies",t.VOCWITHCOLONS="::@com.sap.vocabularies",t.UIVOCABULARY="com.sap.vocabularies.UI.v1",t.QUICKVARPATH="/quickVariantSelection",t.QUICKVARPATHX="/quickVariantSelectionX",t.DATESETTINGSPATH="/filterSettings/dateSettings",t.TOOLBAR="ToolBar<LineItems>",t.FRAGMENTNAMEPART=".fragment."},9081:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(8517),i=n(4350),o=n(1014),s=n(6971),c=n(3435),l=a(n(9154)),u=n(390),p=n(5877),f=n(5921),d=a(n(4225));var h;function g(e,t,n){var a,r,i,o;if(null===(a=null==e?void 0:e.Common)||void 0===a?void 0:a.Label)if("string"==typeof e.Common.Label)n=e.Common.Label;else if("Path"===e.Common.Label.type){const a=t.resolvePath(e.Common.Label.path);a.value?n=a.value:"string"==typeof(null===(r=a.Common)||void 0===r?void 0:r.Label)&&(n=a.annotations.Common.Label)}else"string"==typeof(null===(o=null===(i=e.Common)||void 0===i?void 0:i.Label)||void 0===o?void 0:o.toString())&&(n=e.Common.Label.toString());return n}function m(e,t){var n,a;let r,i;return e.Value?"string"==typeof e.Value?i=t.entityProperties.find((t=>t.name===e.Value)):(i=t.resolvePath(e.Value.path),i||(i=e.Value.$target)):e.Target&&e.Target.$target&&e.Target.$target.Value&&(i=e.Target.$target.Value.$target),(null===(a=null===(n=null==i?void 0:i.annotations)||void 0===n?void 0:n.Common)||void 0===a?void 0:a.Label)&&(r=g(i.annotations,t,r)),r}function y(e,t,n){const a=m(e,t);return n||a||(e.Value.$target?e.Value.$target.name:e.Value.value||e.Value.path)}function v(e){if(e){const t=`${u.FE_TEMPLATE_V2}.`;return e.split(t)[1]}}function b(e){if(e){const t=`${p.FE_TEMPLATE_V4}.`;return e.split(t)[1]}}function P(e,t){let n=t.references.find((t=>t.namespace===e));return n||(n=t.references.find((t=>t.alias===e))),n||(n=t.references.find((t=>t.alias.toUpperCase()===e.split("SAP__")[e.split("SAP__").length-1].toUpperCase()))),null==n?void 0:n.alias}function S(e,n,a,r,i=s.FioriElementsVersion.v2,o=!1){var c;const u=e.fullyQualifiedName.substr(e.fullyQualifiedName.lastIndexOf("@"));let p=e.ID?e.ID.toString():u,d=n;if("com.sap.vocabularies.UI.v1.CollectionFacet"!==e.$Type&&"Target"in e){const u=t.getAnnotationPropertyValue(e.Target);if(!u)return void f.log(r,{severity:"error",message:l.default.t("NOTARGET",{target:e.Target})});const h=u.split("/"),g=h.length>1?h[0]:"";g&&(d=null===(c=n.resolvePath(g))||void 0===c?void 0:c.targetType),function(e,t,n){const a=(t[1]||t[0]).split("#")[0];if(a.includes(".LineItem")){const t=e.split("::");t[t.length-1]=(n?"":"@")+"com.sap.vocabularies.UI.v1.LineItem",e=t.join("::")}else e=a.replace("@UI",(n?"":"@")+"com.sap.vocabularies.UI.v1")}(p,h,o);const m=function(e,t,n){var a;const r=e[e.length-1],i=r.substring(r.lastIndexOf(".")+1,r.length),o=P(r.substring(0,r.lastIndexOf(".")).replace("@",""),n);return null===(a=null==t?void 0:t.annotations[o])||void 0===a?void 0:a[i]}(h,d,a);if(!m)return;{const e=i===s.FioriElementsVersion.v2?"::":"#";p=function(e,t=!1){return`${t?"":"@"}${e.qualifier?e.term+"#"+e.qualifier:e.term}`}(m,o).replace("#",e)}if(g){p=`${g}${i===s.FioriElementsVersion.v2?"::":"/"}${p}`}}return p=p.replace(/\//gi,"::"),p?Object.assign(Object.assign(Object.assign({key:p},e.Label&&{label:e.Label.toString()}),e.ID&&{ID:e.ID.toString()}),{entityType:d}):void 0}function T(e,t,n,a,i,o=s.FioriElementsVersion.v2,c){var u;const p=S(e,a,t,c,o,!1);if(p)switch(e.$Type){case"com.sap.vocabularies.UI.v1.ReferenceFacet":!function(e,t,n,a,i,o=s.FioriElementsVersion.v2,c){var u,p,d,h,g,m;const y=P(r.UIVOCABULARY,i);let v=e?e.key:"";const b=e.entityType;let S,T;if(v.includes("com.sap.vocabularies.UI.v1.Chart")||v.includes(y+".Chart"))n[v]={base:r.FacetBase.Chart},n[v].entityType=b;else if(v.includes("com.sap.vocabularies.UI.v1.Identification")||v.includes(y+".Identification"))S=v.split(".")[v.split(".").length-1],T=b.annotations[y][S],n[v]={base:r.FacetBase.Identification},n[v].entityType=b,n[v].target=T;else if(a&&(v.includes("com.sap.vocabularies.UI.v1.LineItem")||v.includes(y+".LineItem"))){if(!v.includes("com.sap.vocabularies.UI.v1.LineItem")&&v.includes(".LineItem")){const e=v.split("::");e[e.length-1]="@com.sap.vocabularies.UI.v1.LineItem",v=e.join("::")}n[v]={base:r.FacetBase.LineItem},n[v].target=null===(u=null==t?void 0:t.Target)||void 0===u?void 0:u.$target,n[v].entityType=b}else v.includes("com.sap.vocabularies.UI.v1.FieldGroup")||v.includes(y+".FieldGroup")?(n[v]={base:r.FacetBase.Form},n[v].target=null===(p=null==t?void 0:t.Target)||void 0===p?void 0:p.$target,n[v].entityType=b):v.includes("com.sap.vocabularies.UI.v1.DataPoint")||v.includes(y+".DataPoint")?(n[v]={base:r.FacetBase.DataPoint},n[v].target=null===(d=null==t?void 0:t.Target)||void 0===d?void 0:d.$target,n[v].entityType=b,n[v].Label=null===(h=null==t?void 0:t.Target)||void 0===h?void 0:h.$target.Title):v.includes("com.sap.vocabularies.Communication.v1.Contact")||v.includes(y+".Contact")?(n[v]={base:r.FacetBase.Contact},n[v].target=null===(g=null==t?void 0:t.Target)||void 0===g?void 0:g.$target,n[v].entityType=b):v.includes("com.sap.vocabularies.Communication.v1.Address")||v.includes(y+".Address")?(n[v]={base:r.FacetBase.Address},n[v].target=null===(m=null==t?void 0:t.Target)||void 0===m?void 0:m.$target,n[v].entityType=b):n[v]={base:r.FacetBase.Unknown};n[v]&&(n[v].annotationPath=`/${t.fullyQualifiedName.replace("@com.sap.vocabularies",r.VOCWITHSLASH)}`,t.Label&&(n[v].Label=t.Label),t.ID?n[v].ID=t.ID:o===s.FioriElementsVersion.v4&&f.log(c,{severity:"error",message:l.default.t("NOID4SECTION",{facet:t.fullyQualifiedName})}),e&&e.entityType&&(n[v].entityType=e.entityType))}(p,e,i,a,t,o,c);break;case"com.sap.vocabularies.UI.v1.CollectionFacet":{const s=`/${a.fullyQualifiedName}/${e.fullyQualifiedName.split(a.fullyQualifiedName)[1]}`,l=i[p.key]={base:r.FacetBase.CollectionFacet,facets:{},ID:p.ID,annotationPath:s,Label:p.label};null===(u=e.Facets)||void 0===u||u.forEach((e=>{T(e,t,n,a,l.facets,o,c)}));break}}}function O(e,t){let n;if(e[p.ManifestSection.generic]){const a=e[p.ManifestSection.generic].pages;if(!a)return void f.log(t,{severity:"error",message:l.default.t("NOPAGES",{appId:e["sap.app"].id}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.generic]}});for(const e in a){const t=a[e];if(v(t.component.name)===s.PageType.AnalyticalListPage){n=h.AnalyticalListPageV2;break}if(v(t.component.name)===s.PageType.ListReport){n=h.ListReportObjectPageV2;break}}}else n||f.log(t,{severity:"error",message:l.default.t("NOTEMPLATE",{section:p.ManifestSection.generic}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.generic]}});return n}function _(e,t){let n;const a=e[p.ManifestSection.ui5].routing&&e[p.ManifestSection.ui5].routing.targets;if(a){for(const e in a){const t=b(a[e].name);if(t===s.PageTypeV4.AnalyticalListPage){n=h.AnalyticalListPageV4;break}if(t===s.PageTypeV4.ListReport||t===s.PageTypeV4.ObjectPage){n=h.ListReportObjectPageV4;break}}return n||f.log(t,{severity:"error",message:l.default.t("NOTEMPLATE",{section:p.ManifestSection.ui5}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.ui5,"routing","targets"]}}),n}f.log(t,{severity:"error",message:l.default.t("NOPAGES",{appId:e["sap.app"].id}),location:{path:r.MANIFESTPATH,range:[p.ManifestSection.ui5,"routing"]}})}function E(e,t,n){(null==e?void 0:e.ID)?t.title=r.FacetTitlePrefix+e.ID:t.title=n.substr(n.lastIndexOf(".")+1),(null==e?void 0:e.Label)?t.description=e.Label:(null==e?void 0:e.ID)?t.description=e.ID:t.description=n.substr(n.lastIndexOf(".")+1)}!function(e){e.ListReportObjectPageV2="ListReportObjectPageV2",e.ListReportObjectPageV4="ListReportObjectPageV4",e.OverviewPageV2="OverviewPageV2",e.AnalyticalListPageV2="AnalyticalListPageV2",e.AnalyticalListPageV4="AnalyticalListPageV4"}(h=t.TemplateType||(t.TemplateType={})),t.DEFINITION_LINK_PREFIX="#/definitions/",t.createAnnotationPath=(e,t,n)=>{let a=`/${e}/@${t}`;return n&&(a+=`#${n}`),a},t.parseAndMergeAndConvert=function(e,t){const n=[];let a;try{if(e&&e.forEach((function(e){n.push(o.parseEDMX(e.fileContent,e.dataSourceUri))})),n.length>0&&(a=i.convertTypes(o.merge(n))),t&&(null==a?void 0:a.diagnostics))for(const e of a.diagnostics)f.log(t,{severity:"error",message:e.message});return a}catch(e){f.log(t,{severity:"error",message:l.default.t("ANNOERR")},...e)}},t.getAnnotationPropertyValue=e=>(null==e?void 0:e.value)||(null==e?void 0:e.path),t.evaluateCommonLabel=g,t.getLabelForPropertyPath=function(e,t){let n=e.value;return e.$target&&(n=g(e.$target.annotations,t,n)),n},t.getLabelForDataField=m,t.getDatafieldDescription=function(e,t){let n,a,r="";const i=function(e,t){var n,a;if("string"==typeof e)return e;if("object"==typeof e&&e.path){const r=t.resolvePath(e.path);if(!r||0===r.length)return;{const i=r[0];if(null===(a=null===(n=null==i?void 0:i.annotations)||void 0===n?void 0:n.Common)||void 0===a?void 0:a.Label){const n=e;return g(i.annotations,t,n)}}}}(e.Label,t);switch(e.$Type){case"com.sap.vocabularies.UI.v1.DataField":a=e,r=y(a,t,i);break;case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":a=e,n=m(e,t),r=i||n||("string"==typeof a.Value?a.Value:a.Value.path);break;case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":a=e,n=m(e,t),r=i||n||a.Target.$target.Title||a.Target.value;break;case"com.sap.vocabularies.UI.v1.DataFieldForAction":case"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation":a=e,r=i?"string"==typeof i?i:a.Action:e.Action;break;case"com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation":a=e,n=m(e,t),r=n||a.Value.path;break;case"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath":a=e,r=y(a,t,i)}return r},t.getPageTypeV2=v,t.getPageTypeV4=b,t.findAlias=P,t.getSectionFacet=S,t.getManifestSectionByPathV4=(e,t,n,a)=>{let r=e;return t.split("/").forEach((function(e){a&&a===e&&(e=n),r[e]||(r[e]={}),r=r[e]})),r},t.getSchemaKeyOfLineItemRecord=function(e){let n,a,r;switch(e.$Type){case"com.sap.vocabularies.UI.v1.DataField":n=t.getAnnotationPropertyValue(e.Value);break;case"com.sap.vocabularies.UI.v1.DataFieldWithUrl":n="string"==typeof e.Value?e.Value:t.getAnnotationPropertyValue(e.Value);break;case"com.sap.vocabularies.UI.v1.DataFieldForAnnotation":a=e.Target.value,a&&(n="DataFieldForAnnotation:::sTarget::"+a.replace("@UI","@com.sap.vocabularies.UI.v1").replace("@Communication","@com.sap.vocabularies.Communication.v1").replace("@Contact","@com.sap.vocabularies.Contact.v1"));break;case"com.sap.vocabularies.UI.v1.DataFieldForAction":e.Inline&&(n="DataFieldForAction:::sAction::"+e.Action);break;case"com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation":r=t.getAnnotationPropertyValue(e.Value),n="DataFieldWithIntentBasedNavigation:::sProperty::"+r+":::sSemanticObject::"+e.SemanticObject+":::sAction::"+e.Action;break;case"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation":e.Inline&&(n="DataFieldForIntentBasedNavigation:::sSemanticObject::"+e.SemanticObject+":::sAction::"+e.Action);break;case"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath":r=t.getAnnotationPropertyValue(e.Value),a=t.getAnnotationPropertyValue(e.Target),n="DataFieldWithNavigationPath:::sProperty::"+r+":::sTarget::"+a}return n},t.getObjectPageHeaderFacets=function(e,t,n=s.FioriElementsVersion.v2,a){const i={};if(!e||!e.annotations)return;const o=P(r.UIVOCABULARY,t),c=o&&e.annotations[o]&&e.annotations[o].HeaderFacets;if(c){const r=e.fullyQualifiedName.lastIndexOf("."),o=e.fullyQualifiedName.substr(0,r);c.forEach((r=>{T(r,t,o,e,i,n,a)}))}return i},t.getObjectPageFacets=function(e,t,n=s.FioriElementsVersion.v2,a){const i={};if(!e||!e.annotations)return;const o=P(r.UIVOCABULARY,t),c=o&&e.annotations[o]&&e.annotations[o].Facets;if(c){const r=e.fullyQualifiedName.lastIndexOf("."),o=e.fullyQualifiedName.substr(0,r);c.forEach((r=>{T(r,t,o,e,i,n,a)}))}return i},t.getVersionFromManifest=function(e){return e[p.ManifestSection.generic]||e[p.ManifestSection.ovp]?s.FioriElementsVersion.v2:s.FioriElementsVersion.v4},t.determineV2Template=O,t.determineV4Template=_,t.getTemplateTypeFromManifest=function(e,t,n){let a;return e[p.ManifestSection.ovp]?a=h.OverviewPageV2:t===s.FioriElementsVersion.v2?a=O(e,n):t===s.FioriElementsVersion.v4?a=_(e,n):a||f.log(n,{severity:"error",message:l.default.t("NOFE"),location:{path:r.MANIFESTPATH}}),a},t.addSectionTitleAndDescription=E,t.createSectionWithoutProperties=function(e,t){if(!e)return;const n={type:"object",properties:{},additionalProperties:!1,annotationPath:e.annotationPath,isViewNode:!0};return E(e,n,t),n},t.getObjectPageFacetSection=function(e,t,n,a=s.FioriElementsVersion.v2,i=!1){const o=P(r.UIVOCABULARY,t);let c=[];if(e){const r=o&&e.annotations&&e.annotations[o]&&e.annotations[o].Facets;return r&&(c=r.reduce((function(r,o){if(i&&!o.ID&&(!("Target"in o)||!o.Target))return r;const s=S(o,e,t,n,a,!0);return s&&r.push(s),r}),c)),c}},t.deleteEmptyStructure=(e,n,a,r)=>{let i=e;const o=n.split("/");o.forEach((function(n){if(n===r&&(n=a),i[n])return 0===Object.keys(i[n]).length?(delete i[n],o.pop(),void t.deleteEmptyStructure(e,o.join("/"),a,r)):void(i=i&&i[n])}))};const C=e=>`${e}`;function A(e,n,a,r,i,o,s){let c;if("array"===r.type)return c=A(e,n,a,r.items,i,o,s),c;const l=function(e,n,a){const r=[];if(e.$ref)r.push(e.$ref.split(t.DEFINITION_LINK_PREFIX)[1]);else if(e.anyOf&&(n&&e.anyOf.forEach((e=>{if(e.$ref){const i=e.$ref.split(t.DEFINITION_LINK_PREFIX)[1];if(a.definitions[i]){const t=a.definitions[i].controlProperty;e.$ref.includes(n[t])&&r.push(i)}}})),0===r.length))return;return r}(r,a,e);return l?(c=function(e,t,n,a,r,i,o,s){var c,l,u;let p={configObject:void 0,targetDefinition:{},title:""};if(e.length){const s=e[e.length-1];if(p.targetDefinition=t.definitions[s],(null===(c=null==p?void 0:p.targetDefinition)||void 0===c?void 0:c.$ref)||"array"===(null===(l=null==p?void 0:p.targetDefinition)||void 0===l?void 0:l.type))return p=A(t,n,a,p.targetDefinition,r,i,o),p;e.length>1&&e.forEach((e=>{""!==e&&(p.targetDefinition.properties=Object.assign(Object.assign({},p.targetDefinition.properties),t.definitions[e].properties))})),p.title=(null===(u=null==p?void 0:p.targetDefinition)||void 0===u?void 0:u.title)?p.targetDefinition.title:n;const f=null==s?void 0:s.split("<")[0],d=a||{};p.configObject=i.createInstance(o,f,d,p.targetDefinition.controlProperty)}else p.targetDefinition=s,p.title=p.targetDefinition.title?p.targetDefinition.title:r,p.configObject=a;return p}(l,e,n,a,i,o,s,r),c):void 0}t.getSchemaFilePath=(e,t)=>{const n={filename:"",path:""};switch(e){case c.SchemaType.Application:n.filename="App",n.path=`./${r.DirName.Schemas}/${n.filename}`;break;case c.SchemaType.ListReport:case c.SchemaType.ObjectPage:n.filename=t?`${e}_${t}`:C(e),n.path=`../${r.DirName.Schemas}/${n.filename}`;break;default:n.filename=C(e),n.path=`../${r.DirName.Schemas}/${n.filename}`}return n.path+=".json",n},t.generatePageId=function(e,t,n,a){if(e===s.PageType.CustomPage){const e=a&&a.split(".");return e&&e[e.length-1]+"Page"}const r=[];return r.push(e),t&&r.push(t),n&&r.push(n),r.join("_")},t.getNextTargetDefinition=A,t.prepareRef=function(e){return e.replace("#","::").replace(/\//g,"::")},t.arrayCombineMerge=(e,t,n)=>{const a=e.slice();return t.forEach(((t,r)=>{void 0===a[r]?a[r]=n.cloneUnlessOtherwiseSpecified(t,n):n.isMergeableObject(t)?a[r]=d.default(e[r],t,n):-1===e.indexOf(t)&&a.push(t)})),a}},1997:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(6354));t.initI18n=function(e){e.addResourceBundle(e.language,"translation",r)}},6088:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(390),o=n(6971),s=n(8517);t.getAppSettingPathV2=e=>`${o.ManifestSection.generic}/pages/${e[0]}/component/settings`,t.getTableSettingPathV2=e=>t.getAppSettingPathV2(e)+"/tableSettings",t.getChartSettingPathV2=e=>t.getAppSettingPathV2(e)+"/chartSettings",t.getDataLoadSettingPathV2=e=>t.getAppSettingPathV2(e)+"/dataLoadSettings",t.getCreationFieldsPathV2=(e,n,a)=>`${t.getTableSettingPathV2(e)}/createWithParameterDialog/fields/${a}`,t.getOVPsettingPath=()=>o.ManifestSection.ovp,t.getCardSettingsPath=e=>{const t=[o.ManifestSection.ovp+"/cards"];return e.forEach((e=>{e in i.CardSettingsType?t.push("settings"):t.push(e)})),t.pop(),t.join("/")},t.getGlobalSettingsPath=e=>{const t=[o.ManifestSection.ovp];return e.forEach((e=>{t.push(e)})),t.pop(),t.join("/")},t.getKPISettingsPath=(e,t,n)=>`${o.ManifestSection.generic}/pages/${e[0]}/component/settings/keyPerformanceIndicators/${n}`,t.getAppRootSettingOBJPath=e=>{const t=[o.ManifestSection.generic];return e.forEach((e=>{t.push("pages/"+e)})),t.join("/")},t.getAppSettingOBJPathV2=e=>{const n=[];return n.push(t.getAppRootSettingOBJPath(e)),n.push("component/settings"),n.join("/")},t.getAppSettingOBJsectionPathV2=(e,n,a)=>{const r=[];r.push(t.getAppRootSettingOBJPath(e));const i=a.replace(s.VOCWITHCOLONS,"::com.sap.vocabularies");return r.push("component/settings/sections/"+i),r.join("/")},t.getTableSettingsOBJsectionPathV2=(e,n,a)=>t.getAppSettingOBJsectionPathV2(e,{},a)+"/tableSettings",t.getChartSettingsOBJsectionPathV2=(e,n,a)=>t.getAppSettingOBJsectionPathV2(e,{},a)+"/chartSettings",t.getViewExtensionsPath=()=>`sap.ui5/extends/extensions/${i.SAPUI5_VIEW_EXTENSION}/${i.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE}`,t.getObjectPageCustomSectionPath=(e,n,a,...r)=>{const i="|",o=a.split(i),s=e[e.length-1].split(i);let c="";4===o.length?c=[o[2],o[3]].join(i):3===o.length&&(c=o[2]);const l=[o[0],s[s.length-1],c].join(i);return r.unshift(l),t.getViewExtensionsPath()+"/"+r.join("/")};class ApplicationV2{}a([r.childId("settings")],ApplicationV2.prototype,"settings",void 0),t.ApplicationV2=ApplicationV2;class AppSettings{}a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"title",void 0),a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"description",void 0),a([r.syncRule({manifest:{path:()=>o.GENERICAPPSETTINGS}}),r.validity({since:"1.50.0"})],AppSettings.prototype,"flexibleColumnLayout",void 0),a([r.syncRule({manifest:{path:()=>o.GENERICAPPSETTINGS}}),r.validity({since:"1.46.0"})],AppSettings.prototype,"forceGlobalRefresh",void 0),a([r.syncRule({manifest:{path:()=>o.GENERICAPPSETTINGS}}),r.validity({since:"1.74.0"})],AppSettings.prototype,"tableColumnVerticalAlignment",void 0),a([r.syncRule({manifest:{path:()=>"sap.ui5"}}),r.validity({since:"1.56.0"})],AppSettings.prototype,"flexEnabled",void 0),t.AppSettings=AppSettings},700:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o={controlId:(e,t,n)=>`${e}action::${n[n.length-1]}`,controlType:()=>i.ControlType.Button,createFlexChange:r.exportToFlexChange};class Action{}a([r.syncRule({flex:o})],Action.prototype,"tooltip",void 0),a([r.syncRule({flex:o})],Action.prototype,"icon",void 0),a([r.syncRule({flex:o})],Action.prototype,"activeIcon",void 0),a([r.syncRule({flex:o})],Action.prototype,"type",void 0),t.Action=Action;class ToolBarAction{}a([r.syncRule({flex:o})],ToolBarAction.prototype,"tooltip",void 0),a([r.syncRule({flex:o})],ToolBarAction.prototype,"icon",void 0),a([r.syncRule({flex:o})],ToolBarAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:o})],ToolBarAction.prototype,"type",void 0),t.ToolBarAction=ToolBarAction},8722:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(2762),o=n(8517),s=n(6088);t.getSmartChartControlId=e=>e+"chart";class ChartSettings{}a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"showLegendButton",void 0),a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"showDownloadButton",void 0),a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"showChartTypeSelectionButton",void 0),a([i.syncRule({flex:{controlId:t.getSmartChartControlId,controlType:()=>o.ControlType.SmartChart,exportFlexValue:(e,t,n)=>{e.content.newValue=t[n].join()},importFlexValue:(e,t,n)=>{e.content.newValue=e.content.newValue,t[n]=e.content.newValue.split(",")},createFlexChange:r.exportToFlexChange}})],ChartSettings.prototype,"ignoredChartTypes",void 0),a([i.syncRule({manifest:{path:e=>s.getChartSettingPathV2(e)}}),i.validity({since:"1.81.0"})],ChartSettings.prototype,"showDataLabel",void 0),t.ChartSettings=ChartSettings},8378:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088);class KPISettings{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"model",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"entitySet",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"qualifier",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"filterable",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"detailNavigation",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getKPISettingsPath(e,void 0,n)}})],KPISettings.prototype,"groupId",void 0),t.KPISettings=KPISettings},5682:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088);class CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"entitySet",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"title",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"subTitle",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"identificationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"selectionAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"presentationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"defaultSpan",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"requireAppAuthorization",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"tabs",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CommonCardSettings.prototype,"addODataSelect",void 0),t.CommonCardSettings=CommonCardSettings;class CustomCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"itemText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"valueSelectionInfo",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"staticContent",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"listType",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"sortBy",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"sortOrder",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"annotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"chartAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"dataPointAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"kpiAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"selectionPresentationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"dynamicSubtitleAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"ignoreSapText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"objectStreamCardsSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"enableLocaleCurrencyFormatting",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"navigation",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showFilterInHeader",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showSortingInHeader",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"imageSupported",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showLineItemDetail",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"showLabelText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"customParams",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"chartProperties",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],CustomCard.prototype,"colorPalette",void 0),t.CustomCard=CustomCard;class ListCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"listCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"listType",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"annotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"valueSelectionInfo",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"sortBy",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"sortOrder",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],ListCard.prototype,"dataPointAnnotationPath",void 0),t.ListCard=ListCard;class AnalyticalCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"analyticalCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"chartAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"dataPointAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],AnalyticalCard.prototype,"valueSelectionInfo",void 0),t.AnalyticalCard=AnalyticalCard;class StackCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"stackCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"itemText",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],StackCard.prototype,"objectStreamCardsNavigationProperty",void 0),t.StackCard=StackCard;class LinklistCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"linkListCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"title",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"subTitle",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"targetUri",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"sortBy",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"sortOrder",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"headerAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"identificationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"defaultSpan",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"staticContent",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"requireAppAuthorization",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],LinklistCard.prototype,"annotationPath",void 0),t.LinklistCard=LinklistCard;class TableCard extends CommonCardSettings{}a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"model",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"template",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"disableTableCardFlexibility",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"settings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"tableCardSettings",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"annotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"listFlavor",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"listType",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"dataPointAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"selectionPresentationAnnotationPath",void 0),a([r.syncRule({manifest:{path:e=>i.getCardSettingsPath(e)}})],TableCard.prototype,"valueSelectionInfo",void 0),t.TableCard=TableCard},651:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(5008);class Field{}a([r.syncRule({flex:{controlId:(e,t,n)=>{const a=n.filter((e=>!t.includes(e)))[0].replace("@com.sap","com.sap"),i=n.slice(-1)[0],o=[a,i.includes("::")?i.split("Field::")[1]:i,"GroupElement"];return r.buildControlIdFromParent(e,o)},controlType:()=>i.ControlType.SmartGroup,createFlexChange:r.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],Field.prototype,"visible",void 0),t.Field=Field},296:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(5599),o=n(6088),s=n(5008),c=n(6971);function l(e){if(!e||!e.dateSettings)return;const t=JSON.parse(JSON.stringify(e.dateSettings));if("string"==typeof e.dateSettings.selectedValues&&(t.selectedValues=e.dateSettings.selectedValues.split(",")),e.dateSettings.fields)for(const n in e.dateSettings.fields){t.fields[n]=e.dateSettings.fields[n];const a=e.dateSettings.fields[n].selectedValues;"string"==typeof a&&(t.fields[n].selectedValues=a.split(","));for(const a in e.dateSettings.fields[n].filter){const r=e.dateSettings.fields[n].filter[a];t.fields[n].filter[a]=r,r.equals&&"string"==typeof r.equals&&(t.fields[n].filter[a].equals=r.equals.split(","))}}return t}function u(e,t,n){if(e[n]=JSON.parse(JSON.stringify(t[n])),"selectedValues"===n&&(e[n]=t[n].join()),"fields"===n)for(const a in t[n]){const r=t[n][a];if(r.selectedValues&&(e[n][a].selectedValues=r.selectedValues.join()),r.filter)for(const t in r.filter){const i=r.filter[t];i.equals&&Array.isArray(i.equals)&&(e[n][a].filter[t].equals=i.equals.join())}}}t.importDateSettings=l,t.exportDateSettings=u;class DateRange{}a([r.syncRule({manifest:{path:(e,t)=>t===c.PageType.OverviewPage?o.getOVPsettingPath()+s.DATESETTINGSPATH:o.getAppSettingPathV2(e)+s.DATESETTINGSPATH}}),r.validity({since:"1.77.0"})],DateRange.prototype,"useDateRange",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+s.DATESETTINGSPATH,import:l,export:u}}),r.validity({since:"1.77.0"})],DateRange.prototype,"selectedValues",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+s.DATESETTINGSPATH}}),r.validity({since:"1.77.0"})],DateRange.prototype,"exclude",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+s.DATESETTINGSPATH,import:l,export:u}}),r.validity({since:"1.77.0"})],DateRange.prototype,"fields",void 0),t.DateRange=DateRange;class CommonFilterBar{}a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.38.0"})],CommonFilterBar.prototype,"smartVariantManagement",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.40.0"})],CommonFilterBar.prototype,"liveMode",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.48.0"})],CommonFilterBar.prototype,"variantManagementHidden",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.52.0"})],CommonFilterBar.prototype,"subTitleIfVariantMgmtHidden",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)+"/filterSettings",import:l}}),r.validity({since:"1.77.0"})],CommonFilterBar.prototype,"dateSettings",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.28.0"})],CommonFilterBar.prototype,"showClearOnFB",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.38.0"})],CommonFilterBar.prototype,"showFilterConfiguration",void 0),a([r.syncRule({flex:{controlId:i.buildControlIdFromParent,controlType:()=>s.ControlType.SmartFilterBar,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.28.0"})],CommonFilterBar.prototype,"showRestoreOnFB",void 0),t.CommonFilterBar=CommonFilterBar;class AnalyticalListPageFilterBar extends CommonFilterBar{}a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}})],AnalyticalListPageFilterBar.prototype,"showGoButtonOnFilterBar",void 0),a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.60.0"})],AnalyticalListPageFilterBar.prototype,"filterDefaultsFromSelectionVariant",void 0),t.AnalyticalListPageFilterBar=AnalyticalListPageFilterBar;class ListReportFilterBar extends CommonFilterBar{}a([r.syncRule({manifest:{path:e=>o.getAppSettingPathV2(e)}}),r.validity({since:"1.86.0"})],ListReportFilterBar.prototype,"annotationPath",void 0),t.ListReportFilterBar=ListReportFilterBar},4834:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o=n(5008),s={controlId:(e,t,n,a)=>{if(a()===i.ControlType.Button){return`${e}action::${n[n.length-1]}::${n[1].replace("@","")}::FormAction`}return r.buildControlIdFromParent(e,t)},controlType:()=>i.ControlType.Button,createFlexChange:r.exportToFlexChange};class FormAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],FormAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s})],FormAction.prototype,"type",void 0),t.FormAction=FormAction;class FieldForAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],FieldForAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],FieldForAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],FieldForAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],FieldForAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s}),r.validity({since:"1.73.0"})],FieldForAction.prototype,"type",void 0),t.FieldForAction=FieldForAction},8049:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(8517),i=n(4139),o=n(4667),s=a(n(9154)),c=n(5921),l=n(390),u=n(1350),p=n(5622);t.FRAGMENT_DEFINITION="core:FragmentDefinition";const f=new Map([[r.ViewTemplateType.AnalyticalTableColumnsExtension,"table:AnalyticalColumn"],[r.ViewTemplateType.ResponsiveTableColumnsExtension,"Column"],[r.ViewTemplateType.TreeTableColumnsExtension,"table:Column"],[r.ViewTemplateType.GridTableColumnsExtension,"table:Column"]]),d=new Map([[l.FE_TEMPLATE_V2_LIST_REPORT,l.SAPUI5_VIEW_EXTENSION_LIST_REPORT],[l.FE_TEMPLATE_V2_ALP,l.SAPUI5_VIEW_EXTENSION_ANALYTICAL_LIST_PAGE],[l.FE_TEMPLATE_V2_OBJECT_PAGE,l.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE]]),h={type:"element",name:"Text",attributes:{text:"Placeholder"}},g=JSON.stringify(h);function m(e){const t=f.keys();for(const n of t){const t=f.get(n);if(e[t])return t}}function y(e){return e[m(e)]}function v(e,t){var n,a;let r=!1;const i=e.customData||e["table:customData"];if(!i)return!1;let o=i["core:CustomData"]._attributes.value;const s=JSON.parse(o.substr(1,o.length)),c=t.findIndex((e=>e.columnKey===s.columnKey));return!(c<0)&&(r=!0,o='\\{"columnKey": "'+t[c].columnKey+'"',void 0!==t[c].columnIndex&&(o+=', "columnIndex": "'+t[c].columnIndex.toString()+'"'),t[c].leadingProperty&&(o+=', "leadingProperty": "'+t[c].leadingProperty+'"'),o+="}",i["core:CustomData"]._attributes.value=o,e.Text||e.Label||(e.Text={_attributes:{}}),e.Text&&e.Text._attributes?e.Text._attributes.text=null===(n=t[c])||void 0===n?void 0:n.text:e.Label&&e.Label._attributes&&(e.Label._attributes.text=null===(a=t[c])||void 0===a?void 0:a.text),e._attributes||(e._attributes={}),e._attributes.id=t[c].id,t.splice(c,1),true)}t.getTagNameFromFragmentJSON=m,t.getRootCustomColumnFromFragmentJSON=y,t.deleteColumnFromFragment=function(e,n,a,o){if(o){let s=e[n].fragmentName.substr(a.length+1),c=e.type?e.type.toLowerCase():"xml",l=s.split("."),u=l[l.length-1]+r.FRAGMENTNAMEPART+c;for(let e=0;e<o.length;e++){const n=o[e],a=n.dataSourceUri.split(p.sep);if(a[a.length-1]===u){const e=JSON.parse(i.xml2json(n.fileContent,{compact:!0})),a=m(e[t.FRAGMENT_DEFINITION]);a&&(delete e[t.FRAGMENT_DEFINITION][a],n.fileContent=i.json2xml(JSON.stringify(e),{compact:!0,spaces:4}));break}}const f=e[n.replace(r.ViewTemplateType.ResponsiveTableColumnsExtension,r.ViewTemplateType.ResponsiveTableCellsExtension)];if(f){c=f.type?f.type.toLowerCase():"xml",s=f.fragmentName.substr(a.length+1),l=s.split("."),u=l[l.length-1]+r.FRAGMENTNAMEPART+c;for(let e=0;e<o.length;e++){const t=o[e];if(t.dataSourceUri.endsWith(u)){const e=JSON.parse(i.xml2json(t.fileContent)),n=e.elements[0].elements&&e.elements[0].elements.filter((e=>"element"===e.type));if(n)for(let e=0;e<n.length;e++)JSON.stringify(n[e])===g&&n.splice(e,1);break}}}}},t.exportToFragment=function(e,n,a,l,d,b){var P;const S=e.fragments,T=e.manifest;let O,_;const E=u.getManifestSectionByPathV2(T,n),C=E.type?E.type.toLowerCase():"xml";E.type=C.toUpperCase();for(let e=0;e<a.length;e++)a[e].fragmentName?(E.fragmentName=a[e].fragmentName,E.className=a[e].className,_=(null===(P=a[e].fragmentName)||void 0===P?void 0:P.replace(l,"<root>/webapp").replace(/[.]/g,p.sep))+r.FRAGMENTNAMEPART+C):c.log(b,{severity:"error",message:s.default.t("NOFRAGMENT",{columnKey:a[e].columnKey})});if(n.indexOf(r.ViewTemplateType.ResponsiveTableColumnsExtension)>-1){const e=n.replace(r.ViewTemplateType.ResponsiveTableColumnsExtension,r.ViewTemplateType.ResponsiveTableCellsExtension),t=u.getManifestSectionByPathV2(T,e),i=a.reduce(((e,t)=>t.cellsFragmentName?t:e));i&&i.cellsFragmentName?(t.fragmentName=O=i.cellsFragmentName,t.className=a[0].className,t.type=C.toUpperCase()):u.deleteManifestSectionByPathV2(T,e)}const A=JSON.parse(JSON.stringify(a));let I=E.fragmentName,R=!1,x=!1;const F=I.substr(l.length+1),w=F.split(".");I=w[w.length-1]+r.FRAGMENTNAMEPART+C;const j=null==O?void 0:O.split("."),N=j?j[j.length-1]:null,L=N?N+r.FRAGMENTNAMEPART+C:null;if(S){for(let e=0;e<S.length;e++){const n=S[e];if(n.dataSourceUri.endsWith(I)){let e={};if(R=!0,n.fileContent&&0!==n.fileContent.length){const a=JSON.parse(i.xml2json(n.fileContent,{compact:!0}));if(e=y(a[t.FRAGMENT_DEFINITION]),e)if(Array.isArray(e))for(let t=0;t<e.length;t++){v(e[t],A)||e.splice(t,1)}else{if(!v(e,A)){const n=m(a[t.FRAGMENT_DEFINITION]);n&&(delete a[t.FRAGMENT_DEFINITION][n],e=void 0)}}for(let t=0;t<A.length;t++)if(A[t].fragmentName.endsWith(F)){const n=o.getSingleColumnContent(A[t],d);if(n){const t=y(JSON.parse(i.xml2json(n,{compact:!0})));Array.isArray(e)?e.push(t):e=e?[e,t]:[t]}}const r=f.get(d);a[t.FRAGMENT_DEFINITION][r]=e,n.fileContent=i.json2xml(JSON.stringify(a),{compact:!0,spaces:4})}else n.fileContent=o.getColumnFragmentContent(A,d);break}}x=!O||function(e,t,n){let a=!1;for(let r=0;r<e.length;r++){const s=e[r],c=s.dataSourceUri.split(p.sep);if(c[c.length-1]===t){if(a=!0,s.fileContent&&0!==Object.keys(s.fileContent).length){const e=JSON.parse(i.xml2json(s.fileContent)),t=e.elements[0].elements&&e.elements[0].elements.filter((e=>"element"===e.type));if(!t||Object.keys(t).length!==Object.keys(n).length){if(!t||Object.keys(t).length<Object.keys(n).length){const a=t?Object.keys(t).length:0;e.elements[0].elements||(e.elements[0].elements=[]);for(let t=a;t<Object.keys(n).length;t++)e.elements[0].elements.push(h)}else if(Object.keys(t).length>Object.keys(n).length){let a=Object.keys(t).length-Object.keys(n).length;for(let t=0;t<Object.keys(e.elements[0].elements).length&&(JSON.stringify(e.elements[0].elements[t])!==g||(e.elements[0].elements.splice(t,1),a-=1,0!==a));t++);}s.fileContent=i.json2xml(JSON.stringify(e),{spaces:4})}}else s.fileContent=o.getResponsiveTableCellsFragment(n);break}}return a}(S,L,a)}if(!R){const t={fileContent:o.getColumnFragmentContent(A,d),dataSourceUri:_};e.fragments.push(t)}if(!x){const t={fileContent:o.getResponsiveTableCellsFragment(a),dataSourceUri:_.replace(I,L)};e.fragments.push(t)}},t.getCustomColumnPath=(e,t,n,a)=>{const r=d.get(e.component.name);if(!a){let t=e.component.settings&&e.component.settings.tableSettings&&e.component.settings.tableSettings.type;t||(t="ResponsiveTable"),"sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"===r&&(t="AnalyticalTable"),a=t+"ColumnsExtension"}let i=`${a}|${t}`;n&&(i+="|"+n);return{path:"sap.ui5/extends/extensions/sap.ui.viewExtensions/"+r+"/"+i,viewTemplateType:a}}},919:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6088),i=n(2762);class ObjectPageChart{}a([i.syncRule({manifest:{path:r.getChartSettingsOBJsectionPathV2}}),i.validity({since:"1.78.0"})],ObjectPageChart.prototype,"variantManagement",void 0),t.ObjectPageChart=ObjectPageChart;class GlobalChartSettings{}a([i.syncRule({manifest:{path:e=>r.getAppSettingOBJPathV2(e)+"/chartSettings"}}),i.validity({since:"1.78.0"})],GlobalChartSettings.prototype,"variantManagement",void 0),t.GlobalChartSettings=GlobalChartSettings},708:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(2762),o=n(6088);class BaseCustomSection{}a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath,export:!1,import:(e,t)=>t.split("|")[2]}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"relatedFacet",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath,export:!1,import:(e,t)=>t.split("|")[0]}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"relativePosition",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getObjectPageCustomSectionPath(e,{},n,r.ManifestSection.generic)}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"title",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],BaseCustomSection.prototype,"className",void 0),t.BaseCustomSection=BaseCustomSection;class ObjectPageCustomSectionFragment extends BaseCustomSection{}a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionFragment.prototype,"fragmentName",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionFragment.prototype,"type",void 0),t.ObjectPageCustomSectionFragment=ObjectPageCustomSectionFragment;class ObjectPageCustomSectionView extends BaseCustomSection{}a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionView.prototype,"viewName",void 0),a([i.syncRule({manifest:{path:o.getObjectPageCustomSectionPath}}),i.validity({since:"1.52.0"})],ObjectPageCustomSectionView.prototype,"type",void 0),t.ObjectPageCustomSectionView=ObjectPageCustomSectionView},4285:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o=n(5008),s={controlId:(e,t,n,a)=>{if(a()===i.ControlType.Button){return`${e}action::${n[2]}::Determining`}return r.buildControlIdFromParent(e,t)},controlType:()=>i.ControlType.Button,createFlexChange:r.exportToFlexChange};class FooterAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],FooterAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],FooterAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],FooterAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],FooterAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s})],FooterAction.prototype,"type",void 0),t.FooterAction=FooterAction},3284:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(6088),o=n(5008);class ObjectPageHeader{}a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.46.0"})],ObjectPageHeader.prototype,"showRelatedApps",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.46.0"})],ObjectPageHeader.prototype,"editableHeaderContent",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.48.0"})],ObjectPageHeader.prototype,"simpleHeaderFacets",void 0),a([r.syncRule({flex:{controlId:(e,t)=>{const n=t.slice(0);return n[t.length-1]="objectImage",r.buildControlIdFromParent(e,n)},controlType:()=>o.ControlType.Avatar,createFlexChange:r.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumOP})],ObjectPageHeader.prototype,"displayShape",void 0),t.ObjectPageHeader=ObjectPageHeader},338:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o=n(5008),s={controlId:(e,t,n,a)=>{if(a()===i.ControlType.Button||a()===i.ControlType.HeaderAction){return`${e}action::${n[2]}`}return r.buildControlIdFromParent(e,t)},controlType:()=>i.ControlType.HeaderAction,createFlexChange:r.exportToFlexChange};class HeaderAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],HeaderAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],HeaderAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],HeaderAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],HeaderAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s})],HeaderAction.prototype,"type",void 0),t.HeaderAction=HeaderAction},8763:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(5599),o=n(8517),s=(e,t)=>{const n=t.slice(0);return n[t.length-1]="objectPage",i.buildControlIdFromParent(e,n)};class ObjectPageLayout{}a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}})],ObjectPageLayout.prototype,"showHeaderContent",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}})],ObjectPageLayout.prototype,"showAnchorBar",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}})],ObjectPageLayout.prototype,"useIconTabBar",void 0),a([r.syncRule({flex:{controlId:s,controlType:()=>o.ControlType.ObjectPageLayout,createFlexChange:i.exportToFlexChange}}),r.validity({since:"1.34.0"})],ObjectPageLayout.prototype,"alwaysShowContentHeader",void 0),t.ObjectPageLayout=ObjectPageLayout},4245:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(5008);t.FacetTitlePrefix="Facet ID: ",t.getTableSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"Table"];return i.buildControlIdFromParent(e,s)},t.getFormSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"FormGroup"];return i.buildControlIdFromParent(e,s)},t.getChartSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"Chart"];return i.buildControlIdFromParent(e,s)},t.getSectionControlId=(e,n,a,r,o)=>{let s=o.replace(t.FacetTitlePrefix,"");s.includes("::")&&(s=a[a.length-1].replace("@",""));const c=[s,"Section"];return i.buildControlIdFromParent(e,c)},t.getSubSectionControlId=(e,n,a,r,o)=>{const s=[o.replace(t.FacetTitlePrefix,""),"SubSection"];return i.buildControlIdFromParent(e,s)};class ObjectPageSectionV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionV2.prototype,"visible",void 0),t.ObjectPageSectionV2=ObjectPageSectionV2;class ObjectPageSectionFormV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionFormV2.prototype,"visible",void 0),t.ObjectPageSectionFormV2=ObjectPageSectionFormV2;class ObjectPageSectionChartV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionChartV2.prototype,"visible",void 0),t.ObjectPageSectionChartV2=ObjectPageSectionChartV2;class ObjectPageSectionTableV2{}a([r.syncRule({flex:{controlId:t.getSectionControlId,controlType:()=>i.ControlType.Section,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSectionTableV2.prototype,"visible",void 0),t.ObjectPageSectionTableV2=ObjectPageSectionTableV2;class ObjectPageSubSectionV2{}a([r.syncRule({flex:{controlId:t.getSubSectionControlId,controlType:()=>i.ControlType.SubSection,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionV2.prototype,"visible",void 0),t.ObjectPageSubSectionV2=ObjectPageSubSectionV2;class ObjectPageSubSectionFormV2{}a([r.syncRule({flex:{controlId:t.getFormSectionControlId,controlType:()=>i.ControlType.SmartGroup,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionFormV2.prototype,"visible",void 0),t.ObjectPageSubSectionFormV2=ObjectPageSubSectionFormV2;class ObjectPageSubSectionChartV2{}a([r.syncRule({flex:{controlId:t.getChartSectionControlId,controlType:()=>i.ControlType.SmartChart,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionChartV2.prototype,"visible",void 0),t.ObjectPageSubSectionChartV2=ObjectPageSubSectionChartV2;class ObjectPageSubSectionTableV2{}a([r.syncRule({flex:{controlId:t.getTableSectionControlId,controlType:()=>i.ControlType.SmartTable,createFlexChange:i.exportToFlexChange},generate:i.addPatternForBindingChangeOfEnumOP})],ObjectPageSubSectionTableV2.prototype,"visible",void 0),t.ObjectPageSubSectionTableV2=ObjectPageSubSectionTableV2},2269:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(6088),o=n(5008),s=n(6138),c=(e,t,n,a,i)=>{const o=n.slice(1,2);let s;return"sap.ui.comp.smarttable.SmartTable"===a()?s="Table":"sap.m.Table"===a()&&(s="responsiveTable"),o.push(s),o[0]=r.convertSectionId(o[0],i),r.buildControlIdFromParent(e,o)};class QuickVariantSelectionOP{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getAppSettingOBJsectionPathV2(e,t,n)+o.QUICKVARPATH}}),r.validity({since:"1.48.0"})],QuickVariantSelectionOP.prototype,"showCounts",void 0),a([r.syncRule({manifest:{path:(e,t,n)=>i.getAppSettingOBJsectionPathV2(e,t,n)+o.QUICKVARPATH}}),r.validity({since:"1.48.0"})],QuickVariantSelectionOP.prototype,"variants",void 0),t.QuickVariantSelectionOP=QuickVariantSelectionOP;class FieldPathOP{}a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getTableSettingsOBJsectionPathV2(e,t,n)+`/createWithParameterDialog/fields/${a}`}}),r.validity({since:"1.77.0"})],FieldPathOP.prototype,"path",void 0),t.FieldPathOP=FieldPathOP;class Fields4DialogOP{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getTableSettingsOBJsectionPathV2(e,t,n)+"/createWithParameterDialog"}}),r.validity({since:"1.77.0"})],Fields4DialogOP.prototype,"fields",void 0),t.Fields4DialogOP=Fields4DialogOP;class ObjectPageCommonTableSettings{constructor(){this.getDeprecated=()=>({tableType:{since:"1.50.0",deprecated:{since:"1.70.0",text:"Use tableSettings.type instead"}}})}}a([r.syncRule({manifest:{key:"createWithParameterDialog",path:i.getTableSettingsOBJsectionPathV2,import:function(e){let t;return e.createWithParameterDialog&&(t=JSON.parse(JSON.stringify(e.createWithParameterDialog))),t},export:s.exportCreateParameters}}),r.validity({since:"1.77.0"})],ObjectPageCommonTableSettings.prototype,"createWithParameterDialog",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.SmartTable,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.28.0"})],ObjectPageCommonTableSettings.prototype,"editable",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.54.0"})],ObjectPageCommonTableSettings.prototype,"multiSelect",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.70.0"})],ObjectPageCommonTableSettings.prototype,"selectAll",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.70.0"})],ObjectPageCommonTableSettings.prototype,"selectionLimit",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.63.0"})],ObjectPageCommonTableSettings.prototype,"quickVariantSelection",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.SmartTable,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.26.0"})],ObjectPageCommonTableSettings.prototype,"useExportToExcel",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.48.5"})],ObjectPageCommonTableSettings.prototype,"createMode",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.61.0"})],ObjectPageCommonTableSettings.prototype,"disableDefaultInlineCreateSort",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.78.0"})],ObjectPageCommonTableSettings.prototype,"variantManagement",void 0),a([r.childId("toolBar")],ObjectPageCommonTableSettings.prototype,"toolBar",void 0),t.ObjectPageCommonTableSettings=ObjectPageCommonTableSettings;class ObjectPageResponsiveTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageResponsiveTable.prototype,"type",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.Table,createFlexChange:r.exportToFlexChange}})],ObjectPageResponsiveTable.prototype,"includeItemInSelection",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.Table,createFlexChange:r.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumOP}),r.validity({since:"1.52.0"})],ObjectPageResponsiveTable.prototype,"popinLayout",void 0),a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}}),r.validity({since:"1.77.0"})],ObjectPageResponsiveTable.prototype,"inlineDelete",void 0),a([r.syncRule({flex:{controlId:c,controlType:()=>o.ControlType.Table,createFlexChange:r.exportToFlexChange}}),r.validity({since:"1.16.0"})],ObjectPageResponsiveTable.prototype,"growingThreshold",void 0),t.ObjectPageResponsiveTable=ObjectPageResponsiveTable;class ObjectPageAnalyticalTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageAnalyticalTable.prototype,"type",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.67.0"})],ObjectPageAnalyticalTable.prototype,"condensedTableLayout",void 0),t.ObjectPageAnalyticalTable=ObjectPageAnalyticalTable;class ObjectPageGridTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageGridTable.prototype,"type",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.67.0"})],ObjectPageGridTable.prototype,"condensedTableLayout",void 0),t.ObjectPageGridTable=ObjectPageGridTable;class ObjectPageTreeTable extends ObjectPageCommonTableSettings{}a([r.syncRule({manifest:{path:i.getTableSettingsOBJsectionPathV2}})],ObjectPageTreeTable.prototype,"type",void 0),a([r.syncRule({manifest:{path:i.getAppSettingOBJsectionPathV2}}),r.validity({since:"1.67.0"})],ObjectPageTreeTable.prototype,"condensedTableLayout",void 0),t.ObjectPageTreeTable=ObjectPageTreeTable},2829:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5599),i=n(8517),o=n(5008),s={controlId:(e,t,n)=>{const a=n[n.length-1];return`${e}${n[1].replace("@","")}::action::${a}`},controlType:()=>i.ControlType.Button,createFlexChange:r.exportToFlexChange};class ObjectPageToolBarAction{}a([r.syncRule({flex:s,generate:o.addPatternForBindingChangeOfEnumOP})],ObjectPageToolBarAction.prototype,"visible",void 0),a([r.syncRule({flex:s})],ObjectPageToolBarAction.prototype,"tooltip",void 0),a([r.syncRule({flex:s})],ObjectPageToolBarAction.prototype,"icon",void 0),a([r.syncRule({flex:s})],ObjectPageToolBarAction.prototype,"activeIcon",void 0),a([r.syncRule({flex:s})],ObjectPageToolBarAction.prototype,"type",void 0),t.ObjectPageToolBarAction=ObjectPageToolBarAction},6138:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(390),o=n(5008),s=n(5599),c=n(6088);function l(e){if(!e.createWithParameterDialog)return;let t={};return e.createWithParameterDialog&&(t=JSON.parse(JSON.stringify(e.createWithParameterDialog))),t}function u(e,t){t.createWithParameterDialog?e.createWithParameterDialog=JSON.parse(JSON.stringify(t.createWithParameterDialog)):delete e.createWithParameterDialog}t.getSmartTableControlId=(e,t,n,a)=>"sap.m.Table"===a()?e+"responsiveTable":"sap.ui.comp.smarttable.SmartTable"===a()&&e.includes("AnalyticalListPage")?e+"table":s.buildControlIdFromParent(e,t),t.importCreateParameters=l,t.exportCreateParameters=u;class CreateWithFilters{}function p(e){return e.type?e.type:i.TableTypeV2.ResponsiveTable}function f(e,t){t.type&&(e.type||t.type!==i.TableTypeV2.ResponsiveTable)?e.type=t.type:delete e.type}a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+"/createWithFilters"}})],CreateWithFilters.prototype,"strategy",void 0),t.CreateWithFilters=CreateWithFilters,t.exportType=f;class DataLoadSettings{}a([s.syncRule({manifest:{path:e=>c.getDataLoadSettingPathV2(e)}}),s.validity({since:"1.75.2"})],DataLoadSettings.prototype,"loadDataOnAppLaunch",void 0),t.DataLoadSettings=DataLoadSettings;class FieldPath{}a([s.syncRule({manifest:{path:(e,t,n)=>c.getCreationFieldsPathV2(e,t,n)}}),s.validity({since:"1.77.0"})],FieldPath.prototype,"path",void 0),t.FieldPath=FieldPath;class Fields4Dialog{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)+"/createWithParameterDialog"}}),s.validity({since:"1.77.0"})],Fields4Dialog.prototype,"fields",void 0),t.Fields4Dialog=Fields4Dialog;class QuickVariantSelection{}a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATH}}),s.validity({since:"1.48.0"})],QuickVariantSelection.prototype,"showCounts",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATH}}),s.validity({since:"1.48.0"})],QuickVariantSelection.prototype,"variants",void 0),t.QuickVariantSelection=QuickVariantSelection;class QuickVariantSelectionX{}a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATHX}}),s.validity({since:"1.48.0"})],QuickVariantSelectionX.prototype,"showCounts",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATHX}}),s.validity({since:"1.48.0"})],QuickVariantSelectionX.prototype,"enableAutoBinding",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)+o.QUICKVARPATHX,export:(e,t)=>{if(t.variants)for(const n in t.variants){const a=t.variants[n],r=["type","multiSelect","selectAll","selectionLimit","inlineDelete"];for(const e in a)-1!==r.indexOf(e)&&(a.tableSettings||(a.tableSettings={}),a.tableSettings[e]=a[e],delete a[e]);e.variants?e.variants[n]=a:e.variants={[n]:a}}}}}),s.validity({since:"1.48.0"})],QuickVariantSelectionX.prototype,"variants",void 0),t.QuickVariantSelectionX=QuickVariantSelectionX;class CommonTableSettings{constructor(){this.getDeprecated=()=>({tableType:{since:"1.50.0",deprecated:{since:"1.70.0",text:"Use tableSettings.type instead"}},enableAutoBinding:{since:"1.40.0",deprecated:{since:"1.75.2",text:"Use tableSettings.loadDataOnAppLaunch instead"}}})}}a([s.syncRule({manifest:{key:"createWithParameterDialog",path:e=>c.getTableSettingPathV2(e),import:l,export:u}}),s.validity({since:"1.77.0"})],CommonTableSettings.prototype,"createWithParameterDialog",void 0),a([s.syncRule({flex:{controlId:s.buildControlIdFromParent,controlType:()=>o.ControlType.SmartTable,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.38.0"})],CommonTableSettings.prototype,"showTablePersonalisation",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.SmartTable,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.26.0"})],CommonTableSettings.prototype,"useExportToExcel",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.SmartTable,createFlexChange:s.exportToFlexChange}})],CommonTableSettings.prototype,"fitContainer",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.48.0"})],CommonTableSettings.prototype,"quickVariantSelection",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.48.0"})],CommonTableSettings.prototype,"quickVariantSelectionX",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.38.0"})],CommonTableSettings.prototype,"multiSelect",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.70.0"})],CommonTableSettings.prototype,"selectAll",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.70.0"})],CommonTableSettings.prototype,"selectionLimit",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.75.2"})],CommonTableSettings.prototype,"dataLoadSettings",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.42.0"})],CommonTableSettings.prototype,"condensedTableLayout",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.56.0"})],CommonTableSettings.prototype,"enableTableFilterInPageVariant",void 0),a([s.childId("toolBar")],CommonTableSettings.prototype,"toolBar",void 0),t.CommonTableSettings=CommonTableSettings;class ResponsiveTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],ResponsiveTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.54.0"})],ResponsiveTable.prototype,"createWithFilters",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumLR}),s.validity({since:"1.52.0"})],ResponsiveTable.prototype,"popinLayout",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange}})],ResponsiveTable.prototype,"includeItemInSelection",void 0),a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e)}}),s.validity({since:"1.77.0"})],ResponsiveTable.prototype,"inlineDelete",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],ResponsiveTable.prototype,"showDraftToggle",void 0),a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.16.0"})],ResponsiveTable.prototype,"growingThreshold",void 0),t.ResponsiveTable=ResponsiveTable;class TreeTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],TreeTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],TreeTable.prototype,"showDraftToggle",void 0),t.TreeTable=TreeTable;class AnalyticalTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],AnalyticalTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"qualifier",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.38.0"}),s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"defaultContentView",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"defaultFilterMode",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.60.0"})],AnalyticalTable.prototype,"contentTitle",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],AnalyticalTable.prototype,"autoHide",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.78.0"})],AnalyticalTable.prototype,"allFiltersAsInParameters",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.54.0"})],AnalyticalTable.prototype,"createWithFilters",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],AnalyticalTable.prototype,"showDraftToggle",void 0),t.AnalyticalTable=AnalyticalTable;class TableALP extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],TableALP.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"qualifier",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.38.0"}),s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"defaultContentView",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"defaultFilterMode",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.60.0"})],TableALP.prototype,"contentTitle",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}})],TableALP.prototype,"autoHide",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.78.0"})],TableALP.prototype,"allFiltersAsInParameters",void 0),t.TableALP=TableALP;class ALPResponsiveTable extends TableALP{}a([s.syncRule({flex:{controlId:t.getSmartTableControlId,controlType:()=>o.ControlType.Table,createFlexChange:s.exportToFlexChange}}),s.validity({since:"1.16.0"})],ALPResponsiveTable.prototype,"growingThreshold",void 0),t.ALPResponsiveTable=ALPResponsiveTable;t.ALPGridTable=class ALPGridTable extends TableALP{};t.ALPAnalyticalTable=class ALPAnalyticalTable extends TableALP{};class GridTable extends CommonTableSettings{}a([s.syncRule({manifest:{path:e=>c.getTableSettingPathV2(e),import:p,export:f}}),s.validity({since:"1.50.0"})],GridTable.prototype,"type",void 0),a([s.syncRule({manifest:{path:e=>c.getAppSettingPathV2(e)}}),s.validity({since:"1.54.0"})],GridTable.prototype,"createWithFilters",void 0),a([s.syncRule({manifest:{path:()=>r.GENERICAPPSETTINGS}}),s.validity({since:"1.63.0"})],GridTable.prototype,"showDraftToggle",void 0),t.GridTable=GridTable},8210:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(8517),i=n(5599),o=n(5008);class TableColumn{}a([i.syncRule({flex:{controlId:i.buildColumnControlId,controlType:()=>r.ControlType.TableColumn,createFlexChange:i.exportToFlexChange}})],TableColumn.prototype,"width",void 0),a([i.syncRule({flex:{controlId:i.buildColumnControlId,controlType:()=>r.ControlType.TableColumn,createFlexChange:i.exportToFlexChange},generate:o.addPatternForBindingChangeOfEnumLR})],TableColumn.prototype,"hAlign",void 0),t.TableColumn=TableColumn;t.TableCustomColumn=class TableCustomColumn{}},7489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ToolBar=class ToolBar{}},7040:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(5682)),a(n(651)),a(n(296)),a(n(4834)),a(n(8049)),a(n(6138)),a(n(8210)),a(n(7489)),a(n(700)),a(n(8722)),a(n(8378)),a(n(3284)),a(n(338)),a(n(4285)),a(n(8763)),a(n(708)),a(n(4245)),a(n(919)),a(n(2269)),a(n(2829))},2432:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(4225)),i=n(7040),o=n(5008),s=n(3374),c=n(6088),l=n(1350),u=n(1403);function p(e,t){if(e.includes(t)){const n=t.split("|");return 3===n.length?n.push("1"):n[3]=(parseInt(n[3])+1).toString(),p(e,n.join("|"))}return t}function f(e,t,n,a,r,i){a&&(a.properties?y(e,t,n,a.properties,r,i):a.additionalProperties&&y(e,t,n,a.additionalProperties,r,i))}function d(e,t,n,a){return e.createInstance(s.PageType.OverviewPage,a,n,t)}function h(e,t,n,a,r,i,s){e.pop();let c=a;for(const l in t.anyOf)if(t.anyOf[l].$ref){const u=t.anyOf[l].$ref.split(o.DEFINITION_LINK_PREFIX),p=n.definitions[u[u.length-1]],h=e[1];c=d(i,h,a=r[h],"CustomCard"),f(c,s,n,p,i,[...e])}else"object"==typeof t.anyOf[l]&&y(r,s,n,t.anyOf[l].properties,i,[...e,"anyOfObject"]);return c}function g(e,t,n,a,i,c,u){const p=e.manifest.path([...t,n]),f=l.getManifestSectionByPathV2(a.manifest,p);if(n in s.CardSettingsType||"settings"===n)f.settings=r.default(f.settings||{},i||{},{arrayMerge:o.arrayCombineMerge});else if(void 0!==i){const t=e.manifest.export;!1!==t&&(t&&"function"==typeof t?t(f,c,n):"object"!=typeof i||u.includes(n)?f[n]=i:f[n]=r.default(f[n]||{},i||{},{arrayMerge:o.arrayCombineMerge}))}else void 0!==f[n]&&delete f[n]}function m(e,t,n,a){Object.keys(e).forEach((r=>{const i=e[r].template;let o;var c,l;o=Object.values(s.CardTemplateType).includes(i)?Object.keys(t.definitions).filter((n=>{var a,i,o;return(null===(o=null===(i=null===(a=t.definitions[n].properties)||void 0===a?void 0:a.template)||void 0===i?void 0:i.enum)||void 0===o?void 0:o.indexOf(e[r].template))>-1})):["CustomCard"],e[r]=d(n,o[0],e[r],"CustomCard"),c=r,(l=a.manifest[s.ManifestSection.ovp]).cards||(l.cards={}),c in l.cards||(l.cards[c]={}),f(e[r],a,t,t.definitions[o[0]],n,[r])})),Object.keys(a.manifest[s.ManifestSection.ovp].cards).forEach((t=>{e[t]||delete a.manifest[s.ManifestSection.ovp].cards[t]}))}function y(e,t,n,a,r,i){let s,c=!1,l=!1;const u=["colorPalette","tabs"];for(const p in a){s=e[p];let v=o.getReflectMetadata(e,p);if("anyOfObject"===i[i.length-1]&&(c=!0,i.pop()),c&&(s=e[i[i.length-1]][p],v=o.getReflectMetadata(e,i[i.length-1])),"objectProperties"===i[i.length-1]&&(l=!0,i.pop()),l&&(s=e[i[i.length-1]][p],v=o.getReflectMetadata(e,i[i.length-1])),"anyOf"===i[i.length-1]&&(s=h(i,a,n,s,e,r,t)),(null==v?void 0:v.manifest)&&g(v,i,p,t,s,e,u),s&&"object"==typeof s&&a[p])if("cards"===p)m(s,n,r,t);else if(a[p].$ref){const e=a[p].$ref.split(o.DEFINITION_LINK_PREFIX),c=n.definitions[e[e.length-1]];s=d(r,p,s,"settings"===p?"CustomCard":""),f(s,t,n,c,r,[...i,p])}else a[p].anyOf?y(e,t,n,a[p],r,[...i,p,"anyOf"]):void 0!==a[p].properties&&y(e,t,n,a[p].properties,r,[...i,p,"objectProperties"])}}function v(e,t,n,a,r,i,s){let c=a.indexOf("subsections");for(;c>-1;)a.splice(c-1,2),c=a.indexOf("subsections");if(t.flex)!function(e,t,n,a,r,i,s){let c;c=0===t.length?["page"]:t;const l=n.flex.controlId(e.baseId,a,c,n.flex.controlType,r),u=o.fillFlexChangeContent(i,n,e.ui5Version,s,l),p=n.flex.createFlexChange(u,e.exportResults.manifest);e.exportResults.flexChanges.find((e=>{let t=!1,n=JSON.parse(e);n={content:n.content,selector:n.selector};let a=JSON.parse(p);return a={content:a.content,selector:a.selector},JSON.stringify(n)===JSON.stringify(a)&&(t=!0),t}))||e.exportResults.flexChanges.push(p)}(e,a,t,r,i,n,s);else if(t.manifest){const r=function(){let r;return"sections"===a[0]?"custom"===a[1]?r=t.manifest.path(e.pageKeys,{},a[2]):(r=t.manifest.path(e.pageKeys,{},(null==i?void 0:i.startsWith(o.FacetTitlePrefix))?i.split(o.FacetTitlePrefix)[1]:a[1],a[a.length-1]),r=r.replace("/@","::").replace(/VOCWITHCOLONS/g,"::com.sap.vocabularies")):r="table"===a[0]?"columns"===a[1]&&"custom"===a[2]?t.manifest.path(e.pageKeys,e.exportResults.manifest,n.tabKey):t.manifest.path(e.pageKeys,{},a[a.length-1]):"keyPerformanceIndicators"===a[0]?t.manifest.path(e.pageKeys,e.exportResults.manifest,i):t.manifest.path(e.pageKeys),r}();!function(e,t,n,a,r){const i=l.getManifestSectionByPathV2(e.exportResults.manifest,t),s=n.manifest.key||a;if(void 0!==r[a])if("array"!==e.propertyDefinition.type&&e.nextDefinition&&"object"===e.nextDefinition.targetDefinition.type&&e.nextDefinition.targetDefinition.properties)"array"!==e.propertyDefinition.type&&void 0===i[s]&&(i[s]={});else{const e=n.manifest.export;!1!==e&&(e&&"function"==typeof e?e(i,r,a,s):i[s]=r[a])}else Object.prototype.hasOwnProperty.call(i,s)&&delete i[s];o.deleteEmptyStructure(e.exportResults.manifest,t)}(e,r,t,s,n)}}function b(e,t,n,a,r,s,c){const u=e.substr(0,e.lastIndexOf("/")),p=l.getManifestSectionByPathV2(t.manifest,u),f=e.substr(e.lastIndexOf("/")+1);for(const e in p)if(e.startsWith(f)){const l=e.split("|"),u=l[1],f=l[2];if(u===n){const n=null==a?void 0:a.filter((e=>(e.tabKey===f||void 0===f&&""===e.tabKey||f&&r===f)&&e.extensionType===s));if((!n||0===n.length)&&(i.deleteColumnFromFragment(p,e,c,t.fragments),delete p[e],e.startsWith(o.ViewTemplateType.ResponsiveTableColumnsExtension))){const n=e.replace(o.ViewTemplateType.ResponsiveTableColumnsExtension,o.ViewTemplateType.ResponsiveTableCellsExtension);i.deleteColumnFromFragment(p,n,c,t.fragments),delete p[n]}}}}function P(e,t,n,a){const r=a?a.key:void 0,o=(a?a.target:void 0)||e.v2Page.entitySet;for(const n in s.TableColumnExtensionTypeV2){const{path:a}=i.getCustomColumnPath(e.v2Page,o,r,n);a&&b(a,e.exportResults,o,t,r,n,e.appId)}const c={};if(t){for(let a=0;a<t.length;a++){const s=t[a];if(!(s.className&&s.fragmentName&&s.columnKey&&s.extensionType))continue;if(n.properties.fragmentName.pattern){if(!1===new RegExp(n.properties.fragmentName.pattern).test(s.fragmentName))continue}const{path:l,viewTemplateType:u}=i.getCustomColumnPath(e.v2Page,o,s.tabKey||r,s.extensionType);c[l]||(c[l]={viewTemplateType:u,columns:[]}),c[l].columns.push(s)}for(const t in c)i.exportToFragment(e.exportResults,t,c[t].columns,e.appId,c[t].viewTemplateType,e.logger)}}function S(e,t,n,a,r,i){const s=[],f=n.split("|")[1];if(!t)return;for(const e of t){const t=p(s,[e.relativePosition,f,e.relatedFacet].join("|"));s.push(t)}for(let n=0;n<s.length;n++){const c=i.anyOf.find((e=>e.$ref.includes(t[n].constructor.name))).$ref.split(o.DEFINITION_LINK_PREFIX),l=e.appSchema.definitions[c[c.length-1]];E(e,t[n],a,[...r,s[n]],l)}const d=l.getManifestSectionByPathV2(e.exportResults.manifest,c.getViewExtensionsPath());for(const e in d)u.isAssociatedCustomSection(e,f)&&!s.includes(e)&&delete d[e]}function T(e,t){let n;for(let t=e.length-1;t>=0;t--)if("table"===e[t]){n=e[t-1];break}return o.convertSectionId(n,t)}function O(e,t,n,a,r,i,s){Object.keys(e).forEach((c=>{const l=o.getNextTargetDefinition(t.appSchema,n,e[c],a.additionalProperties,r,t.factory,t.pageType);E(t,l.configObject,i,[...s,r],l.targetDefinition,c)}))}function _(e,t,n,a,r,i){let o;const s=u.getTargetFromCustomColumnRef(e.$ref);s&&(o={target:s,key:T(t,n)}),P(a,null==r?void 0:r.custom,i.targetDefinition,o)}function E(e,t,n,a,r,i){let s;if(r&&r.properties)for(const c in r.properties){s=t&&t[c];const l=t&&o.getChildId(t,c),u=l?[...n,l]:n,p=o.getReflectMetadata(t,c),f=e.propertyDefinition=r.properties[c];let d=e.nextDefinition=o.getNextTargetDefinition(e.appSchema,i,s,f,c,e.factory,e.pageType);if(p&&v(e,p,t,[...a],u,i,c),s&&f.additionalProperties&&O(s,e,i,f,c,u,a),void 0!==s&&"object"!=typeof s||!f){if(f&&f.$ref===o.DEFINITION_LINK_PREFIX+"TableCustomColumns"){P(e,[],e.appSchema.definitions.TableCustomColumn);continue}}else{if("array"===f.type&&("sections"===a[0]||"subsections"===a[0])&&"custom"===c){S(e,t[c],e.pageKeys[e.pageKeys.length-1],u,[...a,c],f.items);continue}if(d&&"custom"===c){_(f,a,i,e,t,d);continue}d?E(e,d.configObject,u,[...a,c],d.targetDefinition,d.title):f.anyOf&&f.anyOf.forEach((t=>{d=o.getNextTargetDefinition(e.appSchema,i,s,t,c,e.factory,e.pageType),d&&E(e,d.configObject,u,[...a,c],d.targetDefinition,d.title)}))}}}t.transferManifestEntriesOVP=f,t.assignReflectMetadataRules=d,t.transferManifestEntriesAndFlexChange=E},7505:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(9154)),i=a(n(4366)),o=a(n(1199)),s=n(4027),c=n(3374),l=n(5008),u=n(6088),p=n(1350),f=n(4330),d=n(7072),h=n(2432),g=n(5921),m=e=>({flexChanges:[],manifest:{[s.ManifestSection.generic]:{pages:{}}},fragments:e||[]});function y(e,t){const n=e.page.config,a=e.page.entitySet,r=m(e.fragments),i=new d.MetadataInstanceFactoryV2,o=i.createPageInstance(s.PageType.ObjectPage,n);if(r.manifest=JSON.parse(JSON.stringify(e.manifest)),n){const u=l.getPageLayoutInformation(o),p=`${e.appId}::${u.id}::${a}--`,d=[],g=f.findObjectPageV2(e.manifest[s.ManifestSection.generic].pages,a,d);if(!g)return r;if(n.sections&&function(e,t,n){function a(e,t,n){if(e&&"custom"===t&&Array.isArray(e))for(const t in e)e[t].className===c.SAPUI5_FRAGMENT_CLASS?e[t]=n.createInstance(s.PageType.ObjectPage,"ObjectPageCustomSectionFragment",e[t]):e[t]=n.createInstance(s.PageType.ObjectPage,"ObjectPageCustomSectionView",e[t])}function r(e,t){if(e.subsections){let n;for(const i in e.subsections)n=e.subsections[i],a(n,i,t),r(n,t)}}let i;for(const o in e.sections)i=t.sections[o],a(i,o,n),r(i,n)}(n,o,i),0!==Object.keys(n).length){const n={v2Page:g,exportResults:r,appId:e.appId,baseId:p,appSchema:e.jsonSchema,ui5Version:t,factory:i,pageKeys:d,pageType:s.PageType.ObjectPage,logger:e.logger};h.transferManifestEntriesAndFlexChange(n,o,[],[],e.jsonSchema)}}return r}t.exportPageV2=function(e,t){if(e[s.SchemaType.ListReport])return function(e,t){const n=e.page.config,a=e.page.entitySet,i=m(e.fragments),o=new d.MetadataInstanceFactoryV2,c=o.createPageInstance(s.PageType.ListReport,n),u=l.getPageLayoutInformation(c),p=`${e.appId}::${u.id}::${a}--`,y=[],v=f.findListReportPageV2(e.manifest[s.ManifestSection.generic].pages,y);if(v){if(v.component.settings||(v.component.settings={}),i.manifest=JSON.parse(JSON.stringify(e.manifest)),n&&0!==Object.keys(n).length){const n={v2Page:v,exportResults:i,appId:e.appId,baseId:p,appSchema:e.jsonSchema,ui5Version:t,factory:o,pageKeys:y,pageType:s.PageType.ListReport,logger:e.logger};h.transferManifestEntriesAndFlexChange(n,c,[],[],e.jsonSchema)}return i}g.log(e.logger,{severity:"error",message:r.default.t("NOLR"),location:{path:l.MANIFESTPATH,range:[s.ManifestSection.generic]}})}(e[s.SchemaType.ListReport],t);if(e[s.SchemaType.ObjectPage])return y(e[s.SchemaType.ObjectPage],t);if(e[s.SchemaType.OverviewPage])return(e=>{const t=m();t.manifest=JSON.parse(JSON.stringify(e.manifest));const n=new d.MetadataInstanceFactoryV2,a=n.createPageInstance(s.PageType.OverviewPage,e.page.config),r=new o.default({allErrors:!0}).compile(e.jsonSchema);if(!r(a))for(const e of r.errors){const t=e.params.additionalProperty;"additionalProperties"!==e.keyword||Object.values(c.CardSettingsType).includes(e.params.additionalProperty)||"settings"===t||i.default(a,`${e.dataPath.slice(1)}.${t}`)}return e.page.config&&0!==Object.keys(e.page.config).length&&h.transferManifestEntriesOVP(a,t,e.jsonSchema,e.jsonSchema,n,[]),t})(e[s.SchemaType.OverviewPage]);if(e[s.SchemaType.Application]){const{application:t,manifest:n,jsonSchema:a}=e[s.SchemaType.Application];return((e,t,n)=>{const a=m();a.manifest=JSON.parse(JSON.stringify(t));const r=Object.assign(new u.ApplicationV2,e);r.settings=Object.assign(new u.AppSettings,e.settings);for(const t in n.definitions.AppSettings.properties){const n=l.getReflectMetadata(r.settings,t);if(n&&n.manifest){const r=n.manifest.path(),i=p.getManifestSectionByPathV2(a.manifest,r);e.settings&&void 0!==e.settings[t]?i[t]=e.settings[t]:delete i[t]}}const i=a.manifest[s.ManifestSection.generic]&&a.manifest[s.ManifestSection.generic].pages;return i&&e.pages&&p.transformPageToNewManifestV2(e.home,e.pages,Object.values(i)[0]),a})(t,n,a)}return e[s.SchemaType.AnalyticalListPage]?function(e,t){const n=e.page.config,a=e.page.entitySet,i=m(e.fragments);i.flexChanges=[],i.manifest=JSON.parse(JSON.stringify(e.manifest));const o=new d.MetadataInstanceFactoryV2,c=o.createPageInstance(s.PageType.AnalyticalListPage,n),u=l.getPageLayoutInformation(c),p=`${e.appId}::${u.id}::${a}--`,y=[],v=f.findAnalyticalListPage(e.manifest[s.ManifestSection.generic].pages,y);if(v){if(v.component.settings||(v.component.settings={}),i.manifest=JSON.parse(JSON.stringify(e.manifest)),n&&0!==Object.keys(n).length){const n={v2Page:v,exportResults:i,appId:e.appId,baseId:p,appSchema:e.jsonSchema,ui5Version:t,factory:o,pageKeys:y,pageType:s.PageType.AnalyticalListPage,logger:e.logger};h.transferManifestEntriesAndFlexChange(n,c,[],[],e.jsonSchema)}return i}g.log(e.logger,{severity:"error",message:r.default.t("NOALP"),location:{path:l.MANIFESTPATH,range:[s.ManifestSection.generic]}})}(e[s.SchemaType.AnalyticalListPage],t):void 0}},7072:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=n(390),i=a(n(7040)),o=a(n(2486)),s=n(6785),c=n(6971),l={Table:i.ResponsiveTable,ResponsiveTableWithMultiSelect:i.ResponsiveTable,ResponsiveTableWithInlineDelete:i.ResponsiveTable},u={[r.CardSettingsType.listCardSettings]:i.ListCard,[r.CardSettingsType.listCardSettingsv4]:i.ListCard,[r.CardSettingsType.analyticalCardSettings]:i.AnalyticalCard,[r.CardSettingsType.analyticalCardSettingsv4]:i.AnalyticalCard,[r.CardSettingsType.stackCardSettings]:i.StackCard,[r.CardSettingsType.linkListCardSettings]:i.LinklistCard,[r.CardSettingsType.tableCardSettings]:i.TableCard,[r.CardSettingsType.tableCardSettingsv4]:i.TableCard},p={[c.SAPUI5_VIEW_CLASS]:i.ObjectPageCustomSectionView,[c.SAPUI5_FRAGMENT_CLASS]:i.ObjectPageCustomSectionFragment,Table:i.ObjectPageResponsiveTable,ObjectPageResponsiveTableWithMultiSelect:i.ObjectPageResponsiveTable,ObjectPageResponsiveTableWithInlineDelete:i.ObjectPageResponsiveTable},f={[c.PageType.AnalyticalListPage]:{},[c.PageType.ListReport]:l,[c.PageType.ObjectPage]:p,[c.PageType.OverviewPage]:u};class MetadataInstanceFactoryV2 extends s.MetadataFactory{constructor(){super(i,o,f)}}t.MetadataInstanceFactoryV2=MetadataInstanceFactoryV2},1350:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971);function r(e){return{component:{name:"sap.suite.ui.generic.template."+e}}}function i(e,t,n){if(e)for(const a in e){const r=e[a];if(r.entitySet===t&&r.navigationProperty===n)return r}}t.getManifestSectionByPathV2=(e,t)=>{let n=e;return t.split("/").forEach((function(e){n[e]||(n[e]={}),n=n&&n[e]})),n||{}},t.deleteManifestSectionByPathV2=(e,t)=>{let n=e;for(let e=0;e<t.split("/").length;e++){const a=t.split("/")[e];e===t.split("/").length-1?delete n[a]:n=n&&n[a]}},t.transformPageToNewManifestV2=function e(t,n,o){const s=n[t];if(s&&(s.entitySet&&(o.entitySet=s.entitySet),s.pageType===a.PageType.ListReport&&(o.component.list=!0),s.navigationProperty&&(o.navigationProperty=s.navigationProperty),s.defaultLayoutType?o.defaultLayoutType=s.defaultLayoutType:"defaultLayoutType"in o&&delete o.defaultLayoutType,s.navigation)){for(const t in s.navigation)if(n[t]&&(o.pages&&!Object.values(o.pages)[0]&&(o.pages[`${n[t].pageType}|${n[t].entitySet}`]=r(n[t].pageType)),o.pages||(o.pages={[`${n[t].pageType}|${n[t].entitySet}`]:r(n[t].pageType)}),!Array.isArray(o.pages))){let a=i(o.pages,n[t].entitySet,n[t].navigationProperty);a||(o.pages[`${n[t].pageType}|${n[t].entitySet}`]=a=r(n[t].pageType)),e(t,n,a)}Array.isArray(o.pages)||(o.pages&&Object.keys(o.pages).forEach((e=>{const t=o.pages[e];if("sap.suite.ui.generic.template.ObjectPage"===t.component.name){const a=t.navigationProperty?`ObjectPage_${t.entitySet}_${t.navigationProperty}`:`ObjectPage_${t.entitySet}`;n[a]||delete o.pages[e]}})),s.pageType!==a.PageType.ListReport&&s.pageType!==a.PageType.AnalyticalListPage||0!==Object.keys(s.navigation).length||delete o.pages)}}},3318:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(390),i=n(2762),o=n(2762),s=n(5599),c=n(8517);let l=class AnalyticalListPage{};a([o.syncRule({flex:{controlId:s.buildControlIdForPage,controlType:()=>c.ControlType.DynamicPage,createFlexChange:s.exportToFlexChange}})],l.prototype,"fitContent",void 0),a([i.childId("table")],l.prototype,"table",void 0),a([i.childId("template::SmartFilterBar")],l.prototype,"filterBar",void 0),a([i.childId("analyticalListPageChart")],l.prototype,"chart",void 0),l=a([i.pageLayoutInformation({id:"sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage",pageId:r.FE_TEMPLATE_V2_ALP})],l),t.AnalyticalListPage=l},5972:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(390),i=n(2762),o=n(2762),s=n(5599),c=n(8517);let l=class ListReport{};a([o.syncRule({flex:{controlId:s.buildControlIdForPage,controlType:()=>c.ControlType.DynamicPage,createFlexChange:s.exportToFlexChange}})],l.prototype,"fitContent",void 0),a([i.childId("listReportFilter")],l.prototype,"filterBar",void 0),a([i.childId("listReport")],l.prototype,"table",void 0),l=a([i.pageLayoutInformation({id:r.SAPUI5_VIEW_EXTENSION_LIST_REPORT,pageId:r.FE_TEMPLATE_V2_LIST_REPORT})],l),t.ListReport=l},650:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088),o=n(390);let s=class ObjectPage{};a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.52.0"})],s.prototype,"showConfirmationOnDraftActivate",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.52.1"})],s.prototype,"hideChevronForUnauthorizedExtNav",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.48.0"})],s.prototype,"allowDeepLinking",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e)}}),r.validity({since:"1.52.0"})],s.prototype,"navToListOnSave",void 0),a([r.childId("header")],s.prototype,"header",void 0),a([r.childId("sections")],s.prototype,"sections",void 0),a([r.childId("layout")],s.prototype,"layout",void 0),a([r.syncRule({manifest:{path:e=>i.getAppRootSettingOBJPath(e)}}),r.validity({since:"1.77.0"})],s.prototype,"defaultLayoutTypeIfExternalNavigation",void 0),a([r.syncRule({manifest:{path:e=>i.getAppSettingOBJPathV2(e),import:e=>{if("chartSettings"in e)return e.chartSettings},key:"chartSettings"}}),r.validity({since:"1.78.0"})],s.prototype,"globalChartSettings",void 0),s=a([r.pageLayoutInformation({id:o.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE,pageId:o.FE_TEMPLATE_V2_OBJECT_PAGE})],s),t.ObjectPage=s},8607:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(6088),o=n(296);function s(e){const t={};return t.dateSettings=o.importDateSettings(e.filterSettings),t}function c(e,t){e.filterSettings||(e.filterSettings={});const n="dateSettings";if(void 0===t.filterSettings[n])delete e.filterSettings[n];else if(e.filterSettings[n]=JSON.parse(JSON.stringify(t.filterSettings[n])),t.filterSettings[n].selectedValues&&(e.filterSettings[n].selectedValues=t.filterSettings[n].selectedValues.join()),t.filterSettings[n].fields)for(const a in t.filterSettings[n].fields){const r=t.filterSettings[n].fields[a];if(r.selectedValues&&(e.filterSettings[n].fields[a].selectedValues=r.selectedValues.join()),r.filter)for(const t in r.filter){const i=r.filter[t];i.equals&&Array.isArray(i.equals)&&(e.filterSettings[n].fields[a].filter[t].equals=i.equals.join())}}}t.importFilterSettings=s,t.exportFilterSettings=c;let l=class OverviewPage{};a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"globalFilterModel",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"globalFilterEntityType",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"globalFilterEntitySet",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"containerLayout",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"smartVariantRequired",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"showDateInRelativeFormat",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"enableLiveFilter",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"imageSupported",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"considerAnalyticalParameters",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"refreshIntervalInMinutes",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"useDateRangeType",void 0),a([r.syncRule({manifest:{path:e=>i.getGlobalSettingsPath(e)}}),r.validity({since:"1.80.0"})],l.prototype,"chartSettings",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath(),import:s,export:c}}),r.validity({since:"1.80.0"})],l.prototype,"filterSettings",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"showBasicSearch",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"disableErrorPage",void 0),a([r.syncRule({manifest:{path:()=>i.getOVPsettingPath()}})],l.prototype,"bHeaderExpanded",void 0),l=a([r.pageLayoutInformation({id:"sap.suite.ui.generic.template.OverviewPage.view.Details",pageId:"sap.suite.ui.generic.template.OverviewPage"})],l),t.OverviewPage=l},2486:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3318)),a(n(5972)),a(n(650)),a(n(8607))},4667:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5622),r=n(5179),i=n(5747),o=a.join(__dirname,"templates");var s;!function(e){e.XML="xml",e.HTML="html",e.JS="js",e.JSON="json"}(t.ViewTypes||(t.ViewTypes={})),function(e){e.Sapux="src",e.Schemas=".schemas",e.Pages="pages",e.Webapp="webapp",e.Temp=".tmp",e.Changes="changes",e.LocalService="localService",e.Controller="controller",e.View="view",e.Fragment="fragment",e.Ext="ext",e.VSCode=".vscode"}(s=t.DirName||(t.DirName={}));const c=(e,t)=>{const n=i.readFileSync(e,"utf8");return r.render(n,t)},l=e=>e.replace(/[^\w\s-]/gi,"");t.getControllerContent=(e,t,n=!1,r=!1)=>{const i={name:t+"."+l(e),newControllerRouting:r};return c(a.join(o,n?"controllerFcl.js":"controller.js"),i)},t.getViewContent=(e,t,n,r=!1,i=!0)=>{const s=l(e),u={name:s,controllerName:"",page:i};return r&&(u.controllerName=t+".controller."+s),c(a.join(o,"view."+n),u)},t.getFragmentContent=(e,t,n,r=!1)=>{const i=l(e),u={name:i,handler:""};return r&&(u.handler=`${t.replace(/\./g,"/")}/${s.Fragment}/${i}`),c(a.join(o,"fragment."+n),u)},t.getSingleColumnContent=(e,t)=>{const n={id:e.id,text:e.text,columnKey:e.columnKey,columnIndex:void 0!==e.columnIndex?e.columnIndex.toString():void 0,leadingProperty:e.leadingProperty};return c(a.join(o,t+".xml"),n)},t.getColumnFragmentContent=(e,n)=>{let a="";if(a='<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns:table="sap.ui.table" xmlns="sap.m">',e)for(let r=0;r<e.length;r++){const i=e[r];a=a+"\n"+t.getSingleColumnContent(i,n)}return a+"\n</core:FragmentDefinition>"},t.getResponsiveTableCellsFragment=e=>{let t='<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns="sap.m">';if(e)for(let n=0;n<e.length;n++)t+='\n<Text text="Placeholder"></Text>';return t+"\n</core:FragmentDefinition>"},t.getFragmentJsContent=()=>c(a.join(o,"fragment.js"),{})},3026:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(468),i=n(4330),o=n(5008),s=a(n(9154)),c=n(2449),l=n(5921),u=n(3374),p=n(6083);t.generateAnalyticalListReportSchemaV2=function(e,t,n){var a,f,d;c.initI18n();const h=JSON.parse(JSON.stringify(t));h.properties.table.anyOf[0].$ref=o.DEFINITION_LINK_PREFIX+"ALPResponsiveTable<LineItems>";const g=JSON.parse(JSON.stringify(h.definitions.ALPResponsiveTable));g.properties.columns.$ref=o.DEFINITION_LINK_PREFIX+"LineItems",g.properties.toolBar.$ref=o.DEFINITION_LINK_PREFIX+o.TOOLBAR,h.definitions["ALPResponsiveTable<LineItems>"]=g,h.properties.table.anyOf[1].$ref=o.DEFINITION_LINK_PREFIX+"ALPGridTable<LineItems>";const m=JSON.parse(JSON.stringify(h.definitions.ALPGridTable));m.properties.columns.$ref=o.DEFINITION_LINK_PREFIX+"LineItems",m.properties.toolBar.$ref=o.DEFINITION_LINK_PREFIX+o.TOOLBAR,h.definitions["ALPGridTable<LineItems>"]=m,h.properties.table.anyOf[2].$ref=o.DEFINITION_LINK_PREFIX+"ALPAnalyticalTable<LineItems>";const y=JSON.parse(JSON.stringify(h.definitions.ALPAnalyticalTable));y.properties.columns.$ref=o.DEFINITION_LINK_PREFIX+"LineItems",y.properties.toolBar.$ref=o.DEFINITION_LINK_PREFIX+o.TOOLBAR,h.definitions["ALPAnalyticalTable<LineItems>"]=y,r.removeElementsFromEnum(h.definitions.TableColumnExtensionTypeV2.enum,[u.TableColumnExtensionTypeV2.TreeTableColumnsExtension]);const v=null===(a=null==e?void 0:e.serviceAVT.entityTypes)||void 0===a?void 0:a.find((e=>e.name===n));if(v){const t=null===(d=null===(f=null==v?void 0:v.annotations)||void 0===f?void 0:f.UI)||void 0===d?void 0:d.LineItem;r.addLineItemsType(h,t,v),o.addFieldsType(h,v);const n=[],a=i.findAnalyticalListPage(e.manifest[u.ManifestSection.generic].pages,n);if(!a)return void l.log(e.logger,{severity:"error",message:s.default.t("NOALP"),location:{path:u.MANIFESTPATH,range:[u.ManifestSection.generic]}});r.addListReportColumnExtensions(h,v,a,e.manifest,e.fragments),p.addEnumForVariantPaths(v,h,e.serviceAVT),delete h.definitions.ALPGridTable,delete h.definitions.ALPResponsiveTable,delete h.definitions.ALPAnalyticalTable,delete h.definitions.GenericColumns,delete h.definitions.ToolBar,delete h.definitions.Actions}else l.log(e.logger,{severity:"error",message:s.default.t("NOENTITYTYPE",{entityType:n}),location:{path:o.METADATAPATH}});return h}},220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9081),r=n(8289),i=n(6083),o=n(3026),s=n(1353),c=n(4027);t.generateObjectPageInterfaceV2=function(e,t,n,i,o,s){const l=a.parseAndMergeAndConvert(n,s),u={fioriElementsVersion:c.FioriElementsVersion.v2,manifest:i,fragments:o,serviceAVT:l,logger:s};return r.generateObjectPageSchemaV2(u,e,t)},t.generateListReportInterfaceV2=function(e,t,n,r,o,s){const l=a.parseAndMergeAndConvert(n,s),u={fioriElementsVersion:c.FioriElementsVersion.v2,manifest:r,fragments:o,serviceAVT:l,logger:s};return i.generateListReportSchemaV2(u,e,t)},t.generateOVPInterfaceV2=function(e,t){return s.generateOverviewPageSchemaV2(e,t)},t.generateAnalyticalListPageInterfaceV2=function(e,t,n,r,i,s){const l=a.parseAndMergeAndConvert(n,s),u={fioriElementsVersion:c.FioriElementsVersion.v2,manifest:r,fragments:i,serviceAVT:l,logger:s};return o.generateAnalyticalListReportSchemaV2(u,e,t)}},1918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(220);t.generateAnalyticalListPageInterfaceV2=a.generateAnalyticalListPageInterfaceV2,t.generateListReportInterfaceV2=a.generateListReportInterfaceV2,t.generateObjectPageInterfaceV2=a.generateObjectPageInterfaceV2,t.generateOVPInterfaceV2=a.generateOVPInterfaceV2;var r=n(8289);t.generateObjectPageSchemaV2=r.generateObjectPageSchemaV2;var i=n(6083);t.generateListReportSchemaV2=i.generateListReportSchemaV2;var o=n(3026);t.generateAnalyticalListReportSchemaV2=o.generateAnalyticalListReportSchemaV2},6083:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(468),i=n(4330),o=n(5008),s=a(n(9154)),c=n(2449),l=n(3374),u=n(5921),p=n(1205);function f(e,t,n){o.addEnumForSingleTabVariant(e,t,"QuickVariant"),o.addEnumForMultiTabVariant(n,t,"QuickVariantX"),o.addEnumForVariantEntitySet(n,t,"QuickVariantX")}t.addEnumForVariantPaths=f,t.generateListReportSchemaV2=function(e,t,n){c.initI18n();const a=JSON.parse(JSON.stringify(t));a.properties.table.anyOf[0].$ref=o.DEFINITION_LINK_PREFIX+p.MULTISELECTTABLE,a.properties.table.anyOf[1].$ref=o.DEFINITION_LINK_PREFIX+p.INLINEDELETETABLE,a.properties.table.anyOf[2].$ref=o.DEFINITION_LINK_PREFIX+p.TREETABLE,a.properties.table.anyOf[3].$ref=o.DEFINITION_LINK_PREFIX+p.ANALYTICALTABLE,a.properties.table.anyOf[4].$ref=o.DEFINITION_LINK_PREFIX+p.GRIDTABLE;const d=JSON.parse(JSON.stringify(t.definitions.ResponsiveTableWithMultiSelect)),h=JSON.parse(JSON.stringify(t.definitions.ResponsiveTableWithInlineDelete)),g=JSON.parse(JSON.stringify(t.definitions.TreeTable)),m=JSON.parse(JSON.stringify(t.definitions.AnalyticalTable)),y=JSON.parse(JSON.stringify(t.definitions.GridTable)),v={$ref:o.DEFINITION_LINK_PREFIX+"LineItems"};d.properties.columns=v,h.properties.columns=v,g.properties.columns=v,m.properties.columns=v,y.properties.columns=v;const b=o.DEFINITION_LINK_PREFIX+o.TOOLBAR;a.definitions[p.MULTISELECTTABLE]=d,a.definitions[p.MULTISELECTTABLE].properties.toolBar.$ref=b,a.definitions[p.INLINEDELETETABLE]=h,a.definitions[p.INLINEDELETETABLE].properties.toolBar.$ref=b,a.definitions[p.TREETABLE]=g,a.definitions[p.TREETABLE].properties.toolBar.$ref=b,a.definitions[p.ANALYTICALTABLE]=m,a.definitions[p.ANALYTICALTABLE].properties.toolBar.$ref=b,a.definitions[p.GRIDTABLE]=y,a.definitions[p.GRIDTABLE].properties.toolBar.$ref=b;const P=null==e?void 0:e.serviceAVT.entityTypes.find((e=>e.name===n));if(P){const t=P.annotations&&P.annotations.UI&&P.annotations.UI.LineItem;r.addLineItemsType(a,t,P),o.addFieldsType(a,P);const n=[],c=i.findListReportPageV2(e.manifest[l.ManifestSection.generic].pages,n);if(!c)return void u.log(e.logger,{severity:"error",message:s.default.t("NOALP"),location:{path:l.MANIFESTPATH,range:[l.ManifestSection.generic]}});r.addListReportColumnExtensions(a,P,c,e.manifest,e.fragments),f(P,a,e.serviceAVT),o.addEnumForFilterBarAnnotationPath(P,a,"ListReportFilterBar"),delete a.definitions.ResponsiveTableWithMultiSelect,delete a.definitions.ResponsiveTableWithInlineDelete,delete a.definitions.TreeTable,delete a.definitions.AnalyticalTable,delete a.definitions.GridTable,delete a.definitions.GenericColumns,delete a.definitions.ToolBar,delete a.definitions.Actions}else u.log(e.logger,{severity:"error",message:s.default.t("NOENTITYTYPE",{entityType:n}),location:{path:o.METADATAPATH}});return a}},8289:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5008),i=n(468),o=n(4330),s=n(3374),c=n(5921),l=n(6971),u=a(n(9154)),p=n(2449),f=n(1205);function d(e,t,n,a,i){return(o,s)=>{if(!o.Determining&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===o.$Type){const c=r.replaceAlias(o.Action,i),{actionName:l,actionId:u}=r.getActionNameAndId(c,e),p=o.Label||l,f=`HeaderAction<${r.prepareRef(u)}>`;t.definitions[f]=JSON.parse(JSON.stringify(t.definitions.HeaderAction));const d=n.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification");t.definitions[f].annotationPath=`/${d}/${s}`,t.definitions[f].description=p,a.properties[u]={$ref:`${r.DEFINITION_LINK_PREFIX}${f}`}}}}function h(e,t,n,a,i){var o;return!(!(null==n?void 0:n.ID)&&!(null===(o=null==n?void 0:n.target)||void 0===o?void 0:o.qualifier))&&(t.properties=JSON.parse(JSON.stringify(e.definitions[i].properties)),t.properties.visible&&function(e,t,n,a){let i;switch(a){case f.SectionTypeV2.Section:case f.SectionTypeV2.SectionForm:case f.SectionTypeV2.SectionChart:case f.SectionTypeV2.SectionTable:i=s.ControlType.Section;break;case f.SectionTypeV2.SubSection:i=s.ControlType.SubSection;break;case f.SectionTypeV2.SubSectionForm:i=s.ControlType.SmartGroup;break;case f.SectionTypeV2.SubSectionChart:i=s.ControlType.SmartChart;break;case f.SectionTypeV2.SubSectionTable:i=s.ControlType.SmartTable}void 0!==i&&(r.addPatternForBindingChangeOfEnumOP(e,t,n),t.properties[n].artifactType="FlexChange",t.properties[n].controlType=i)}(e,t,"visible",a),!0)}function g(e,t,n,a){const i=r.prepareRef(`${e}<${t}>`);a.definitions[i]=JSON.parse(JSON.stringify(a.definitions[e])),a.definitions[i].properties.columns.$ref=r.DEFINITION_LINK_PREFIX+t,a.definitions[i].properties.toolBar.$ref=`${r.DEFINITION_LINK_PREFIX}ObjectPageToolBar<${t}>`,a.definitions[i].annotationPath=n.annotationPath,void 0!==n.ID&&(a.definitions[i].title=r.FacetTitlePrefix+n.ID),a.definitions[i].description="Table",a.definitions[i].properties.quickVariantSelection.$ref=`${r.DEFINITION_LINK_PREFIX}QuickVariantSelectionOP<${t}>`,a.definitions[`QuickVariantSelectionOP<${t}>`]=JSON.parse(JSON.stringify(a.definitions.QuickVariantSelectionOP)),a.definitions[`QuickVariant<${t}>`]=JSON.parse(JSON.stringify(a.definitions.QuickVariant)),a.definitions[`QuickVariantSelectionOP<${t}>`].properties.variants.patternProperties["^[0-9]+$"].$ref=`${r.DEFINITION_LINK_PREFIX}QuickVariant<${t}>`,r.addEnumForSingleTabVariant(n.entityType,a,`QuickVariant<${t}>`)}function m(e,t,n,a,s,c){if("LineItem"!==a.base||!t)return;const u=t.split("::")[0],p=`${c}<${t}>`;n.definitions[p]=r.createSectionWithoutProperties(a,t);const d=n.definitions[p];h(n,d,a,c,f.SectionTypeV2.SectionTable)||(d.properties.table=JSON.parse(JSON.stringify(n.definitions[f.SectionTypeV2.SectionTable].properties.table))),d.properties.table.anyOf=[{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageResponsiveTableWithMultiSelect<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageResponsiveTableWithInlineDelete<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageAnalyticalTable<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageGridTable<${t}>`},{$ref:`${r.DEFINITION_LINK_PREFIX}ObjectPageTreeTable<${t}>`}],d.annotationPath=a.annotationPath,r.addSectionTitleAndDescription(a,d,t);const m=a.entityType?null==e?void 0:e.serviceAVT.entitySets.find((e=>e.entityType.name===a.entityType.name||e.name===a.entityType.name)):void 0;let y;g("ObjectPageResponsiveTableWithMultiSelect",t,a,n),g("ObjectPageResponsiveTableWithInlineDelete",t,a,n),g("ObjectPageGridTable",t,a,n),g("ObjectPageTreeTable",t,a,n),g("ObjectPageAnalyticalTable",t,a,n),m&&(y=function(e,t,n,a,r,s,c,u){let p,f;if(s.ID&&s.Label?p=s.ID+s.Label.replace(/\s+/g,""):s.ID?p=s.ID:s.Label&&(p=s.Label.replace(/\s+/g,"")),f=p?`${i.CUSTOM_COLUMNS_DEFINITION}<${n}><${c}><${p}>`:`${i.CUSTOM_COLUMNS_DEFINITION}<${n}><${c}>`,e.definitions[f])return f;const d=`${i.CUSTOM_COLUMN_DEFINITION}<${n}>`,h=JSON.parse(JSON.stringify(e.definitions.TableCustomColumn));e.definitions[d]=h;const g=r.entityTypes.find((e=>e.name===a)),m=o.findObjectPageV2(t[l.ManifestSection.generic].pages,n,[]);return i.addListReportColumnExtensions(e,g,m,t,u,f,d),f}(n,e.manifest,m.name,a.entityType.name,null==e?void 0:e.serviceAVT,a,t,e.fragments));for(const e in s)"LineItem"===s[e].base&&e.includes(u)&&i.addLineItemsType(n,s[e].target,s[e].entityType,e,y)}function y(e,t,n,a,i){e.definitions[t]=r.createSectionWithoutProperties(n,a);const o=e.definitions[t];return h(e,o,n,i,f.SectionTypeV2.SectionForm),function(e,t){(null==t?void 0:t.ID)&&(e.title=r.FacetTitlePrefix+t.ID),(null==t?void 0:t.Label)&&(e.description=t.Label),e.description||(e.description=t.base)}(o,n),o.annotationPath=n.annotationPath,o.isViewNode=!0,o}function v(e,t,n,a,i,o=!1){const c=t[n],u=function(e,t){const n=new Map([[s.FacetBase.CollectionFacet,f.SectionTypeV2.Section],[s.FacetBase.LineItem,f.SectionTypeV2.SectionTable],[s.FacetBase.Chart,f.SectionTypeV2.SectionChart],[s.FacetBase.Form,f.SectionTypeV2.SectionForm],[s.FacetBase.Identification,f.SectionTypeV2.SectionForm]]),a=new Map([[s.FacetBase.CollectionFacet,f.SectionTypeV2.SubSection],[s.FacetBase.LineItem,f.SectionTypeV2.SubSectionTable],[s.FacetBase.Chart,f.SectionTypeV2.SubSectionChart],[s.FacetBase.Form,f.SectionTypeV2.SubSectionForm],[s.FacetBase.Identification,f.SectionTypeV2.SubSectionForm]]);return t?a.get(e):n.get(e)}(c.base,o),p=function(e,t,n){let a=t;return n===(f.SectionTypeV2.Section||f.SectionTypeV2.SubSection)&&(a=a.replace("@com.sap.vocabularies.UI.v1.Facets",e.base)),`${a}`}(c,n,u),d=`${u}<${p}>`;switch(function(e,t,n){e.properties[t]={$ref:`${r.DEFINITION_LINK_PREFIX}${n}`}}(a,p,d),u){case f.SectionTypeV2.Section:case f.SectionTypeV2.SubSection:{o=!0,function(e,t,n,a,i){e.definitions[t]=r.createSectionWithoutProperties(n,a);const o=e.definitions[t];h(e,o,n,i,f.SectionTypeV2.SubSection),o.properties.subsections={type:"object",description:"Subsections",properties:{},additionalProperties:!1,isViewNode:!0}}(i,d,c,n,u);const t=i.definitions[d].properties.subsections;for(const n in c.facets)v(e,c.facets,n,t,i,o);break}case f.SectionTypeV2.SectionTable:case f.SectionTypeV2.SubSectionTable:{m(e,n,i,c,t,u);const a="OP";r.addFieldsType(i,c.entityType,a);break}case f.SectionTypeV2.SectionChart:case f.SectionTypeV2.SubSectionChart:!function(e,t,n,a,i){e.definitions[t]=r.createSectionWithoutProperties(n,a),h(e,e.definitions[t],n,i,f.SectionTypeV2.SectionChart)}(i,d,c,n,u);break;case f.SectionTypeV2.SectionForm:case f.SectionTypeV2.SubSectionForm:{const e=c.base!==s.FacetBase.Identification,t=y(i,d,c,n,u);r.handleForm(s.SectionType.Section,c,t,i,l.FioriElementsVersion.v2,e);break}default:a.properties[n]=r.createSectionWithoutProperties(c,n)}}function b(e,t,n,a,i){const o=t.definitions.Sections={type:"object",properties:{},description:"Sections",additionalProperties:!1,isViewNode:!0};if(n&&(o.annotationPath=`/${n.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Facets`),!i)return;const s=r.getObjectPageFacets(n,null==e?void 0:e.serviceAVT,l.FioriElementsVersion.v2,e.logger);if(s&&0!==Object.keys(s).length){for(const r in i){const c=i[r];if(a.includes(c.entitySet))for(const n in s)v(e,s,n,o,t);else b(e,t,n,a,c.pages)}for(const e in t.definitions.CustomSections.properties)o.properties[e]=t.definitions.CustomSections.properties[e]}}t.generateObjectPageSchemaV2=function(e,t,n){p.initI18n();const a=JSON.parse(JSON.stringify(t)),i={};for(const e in a.definitions.CustomSections.properties)i[e]=a.definitions.CustomSections.properties[e];a.properties.sections={$ref:r.DEFINITION_LINK_PREFIX+"Sections"};const o=(null==e?void 0:e.serviceAVT.entitySets)&&(null==e?void 0:e.serviceAVT.entitySets.find((e=>e.entityType.name===n||e.name===n)));if(!o)return void c.log(e.logger,{severity:"error",message:u.default.t("NOENTITYSET4NAME",{entityType:n}),location:{path:r.METADATAPATH}});const f=null==o?void 0:o.entityType,h=e.manifest[l.ManifestSection.generic].pages;return h?(function(e,t,n){r.addCommonHeaderSchema(e,t),r.addHeaderActions(e,t,n,d)}(a,f,null==e?void 0:e.serviceAVT),b(e,a,f,o.name,h),function(e,t,n,a){const i=r.getObjectPageFacetSection(t,n,a,void 0,!0);i&&r.addDefinitionForRelatedFacetKeys(e,["ObjectPageCustomSectionFragment","ObjectPageCustomSectionView"],i,["ID","key"])}(a,f,null==e?void 0:e.serviceAVT,e.logger),a.definitions.Sections||(a.definitions.RelatedFacetKeys&&a.definitions.RelatedFacetKeys.oneOf.length?a.definitions.Sections={type:"object",properties:i,additionalProperties:!1,isViewNode:!0}:delete a.properties.sections),r.addFooterActions(a,f,null==e?void 0:e.serviceAVT),delete a.definitions.GenericSections,delete a.definitions.ObjectPageSectionTableV2,delete a.definitions.GenericColumns,delete a.definitions.ObjectPageSectionFormV2,delete a.definitions.ObjectPageSectionTableV2,delete a.definitions.ObjectPageSubSectionV2,delete a.definitions.ObjectPageResponsiveTableWithMultiSelect,delete a.definitions.ObjectPageResponsiveTableWithInlineDelete,delete a.definitions.ObjectPageAnalyticalTable,delete a.definitions.ObjectPageTreeTable,delete a.definitions.ObjectPageGridTable,delete a.definitions.ObjectPageToolBar,delete a.definitions.ObjectPageToolBarActions,delete a.definitions.ObjectPageForm,delete a.definitions.ObjectPageFormFields,delete a.definitions.ObjectPageFormActions,a):(c.log(e.logger,{severity:"error",message:u.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:s.MANIFESTPATH,range:[l.ManifestSection.generic]}}),a)}},1353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(5008);function i(e){const t=e.properties;return(t.cards&&t.cards.additionalProperties&&t.cards.additionalProperties.anyOf||[]).map((e=>{const t=e.$ref.split("/");return t[t.length-1]}))}function o(e,t){const n=t&&t["sap.app"]&&t["sap.app"].dataSources||{},o=[];for(const e in n)n[e].type===a.DataSourceType.OData&&o.push(e);const s=e.definitions;s.CardModel={enum:o,type:"string"};const c=i(e);for(const e of c){const t=s[e].properties.model;delete t.type,t.$ref=r.DEFINITION_LINK_PREFIX+"CardModel"}}t.getCardDefinitionNames=i,t.addModelsEnum=o,t.generateOverviewPageSchemaV2=function(e,t){const n=JSON.parse(JSON.stringify(e));return n.properties.cards.propertyNames={pattern:"^[a-zA-Z0-9_\\.\\-]+$"},o(n,t),n}},468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(2762),i=n(5622),o=n(4139);function s(e,t,n,r,i,o,s){if(!0!==i.Determining){const c="LineItems"===o?"":"ObjectPage",l=a.prepareRef(i.Action),u=`${c}ToolBarAction<${l}>`,p=a.getDatafieldDescription(i,t);n.properties[l]={$ref:a.DEFINITION_LINK_PREFIX+u,description:p,propertyIndex:s};const f=""===c?"Action":`${c}ToolBarAction`;e.definitions[f]?e.definitions[u]=Object.assign(Object.assign({},JSON.parse(JSON.stringify(e.definitions[f]))),{description:p,annotationPath:`${r}/${s}`}):e.definitions[u]={type:"object",properties:{},description:p,annotationPath:r+"/"+s,isViewNode:!0,additionalProperties:!1}}}function c(e,t,n){const a=e.definitions[n]&&e.definitions[n].properties&&e.definitions[n].properties.leadingProperty;if(a){const e=[...(null==t?void 0:t.entityProperties)||[],...(null==t?void 0:t.navigationProperties)||[]];a.enum=null==e?void 0:e.reduce(((e,t)=>(e.includes(t.name)||e.push(t.name),e)),[])}}function l(e,t,n){const a=e.definitions[t]&&e.definitions[t].properties&&e.definitions[t].properties.tabKey;if(n){const e=n.component&&n.component.settings&&n.component.settings.quickVariantSelectionX&&n.component.settings.quickVariantSelectionX.variants;if(e){const t=[];Object.keys(e).reduce(((t,n)=>{const a=e[n]&&void 0!==e[n].key?e[n].key:void 0;return void 0===a||t.includes(a)||t.push(a),t}),t),a.enum=t}}}function u(e,t,n,a,r){const s=e.definitions[r]&&e.definitions[r].properties&&e.definitions[r].properties[a];if(t&&n&&!n.startsWith("${")){const e=[];t.forEach((t=>{let r=t.dataSourceUri.split("webapp")[1];if(r&&r.indexOf(".fragment.xml")>0){const s=JSON.parse(o.xml2json(t.fileContent,{compact:!0}))["core:FragmentDefinition"];if("fragmentName"===a&&(!s||s.Column||s["table:Column"])||"cellsFragmentName"===a&&(!s||!s.Column&&!s["table:Column"]&&!s["smartfilterbar:ControlConfiguration"])){r=r.replace(new RegExp("\\"+i.sep,"g"),"/");const t=n+r.split(".fragment.xml")[0].replace(/\//g,".");e.push(t)}}})),e.length>0&&(s.enum=e)}}function p(e,t,n,i,o,s,c){if(e){const l=r.getReflectMetadata(e,s);if(l&&("function"==typeof l.generate&&(l.generate(t,c,s),o=c.properties[s]),void 0!==l.manifest?o.artifactType=a.ArtifactType.Manifest:void 0!==l.flex?(o.artifactType=a.ArtifactType.FlexChange,l.flex.controlType&&(o.controlType=l.flex.controlType())):o.artifactType=a.ArtifactType.Annotation),"object"===o.type||o.$ref){const e=a.getNextTargetDefinition(t,"",{},o,s,i,n);e&&d(t,e.targetDefinition,e.configObject,n,i)}else o.anyOf&&o.anyOf.forEach((e=>{const r=a.getNextTargetDefinition(t,"",{},e,s,i,n);r&&d(t,r.targetDefinition,r.configObject,n,i)}))}}function f(e,t,n,r,i,o){if(t[r])for(const s in t[r])if("anyOf"===s)t[r].anyOf.forEach((t=>{const n=a.getNextTargetDefinition(e,"",{},t,s,o,i);n&&d(e,n.targetDefinition,n.configObject,i,o)}));else{const c=t[r][s];if(c.anyOf)c.anyOf.forEach((t=>{const n=a.getNextTargetDefinition(e,"",{},t,s,o,i);n&&d(e,n.targetDefinition,n.configObject,i,o)}));else if("$ref"===s){const n=a.getNextTargetDefinition(e,"",{},t[r],s,o,i);n&&d(e,n.targetDefinition,n.configObject,i,o)}else p(n,e,i,o,c,s,t)}}function d(e,t,n,a,r){f(e,t,n,"properties",a,r),f(e,t,n,"additionalProperties",a,r),f(e,t,n,"patternProperties",a,r)}t.CUSTOM_COLUMNS_DEFINITION="TableCustomColumns",t.CUSTOM_COLUMN_DEFINITION="TableCustomColumn",t.handleActionRecord=s,t.addLineItemsType=function(e,t,n,r,i){let o;r=r||"LineItems";const{actions:c,lineItemPath:l}=a.addCommonLineItemDefinitions(e,t,n,r);if(t){let i=0;t.forEach((t=>{"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===t.$Type||"com.sap.vocabularies.UI.v1.DataFieldForAction"===t.$Type&&(!0!==t.Inline||!0===t.Determining)?s(e,n,c,l,t,r,i):(o=a.getSchemaKeyOfLineItemRecord(t),o&&(e.definitions[r].properties[o]={$ref:a.DEFINITION_LINK_PREFIX+"TableColumn",description:a.getDatafieldDescription(t,n),propertyIndex:i,annotationPath:l+"/"+i})),i++}))}i&&(e.definitions[r].properties.custom={$ref:`${a.DEFINITION_LINK_PREFIX}${i}`})},t.addListReportLeadingProperties=c,t.addTabkeyEnum=l,t.addFragmentEnum=u,t.addListReportColumnExtensions=function(e,n,r,i,o,s=t.CUSTOM_COLUMNS_DEFINITION,p=t.CUSTOM_COLUMN_DEFINITION){e.definitions.LineItems&&(e.definitions.LineItems.properties.custom={$ref:`${a.DEFINITION_LINK_PREFIX}${s}`}),e.definitions[s]={type:"array",items:{$ref:`${a.DEFINITION_LINK_PREFIX}${p}`},isViewNode:!0,description:"Custom Columns"},c(e,n,p),l(e,p,r);const f=i&&i["sap.app"]&&i["sap.app"].id;u(e,o,f,"fragmentName",p),u(e,o,f,"cellsFragmentName",p)},t.processMetadata=d,t.removeElementsFromEnum=function(e,t){for(let n=0;n<t.length;n++){const a=e.indexOf(t[n]);-1!==a&&e.splice(a,1)}}},3073:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(4093),o=n(9609),s=n(2687),c=n(961),l=n(2201),u=n(6088),p=n(5008),f=n(3435),d=a(n(4867));function h(e){return p.generatePageId(p.getPageTypeV2(e.component.name),e.entitySet,e.navigationProperty)}function g(e,t,n,a,i,o){const u={};for(const f in e){const d=e[f],m=h(d),y=Object.assign(Object.assign({pageType:p.getPageTypeV2(d.component.name),entitySet:d.entitySet},d.navigationProperty&&{navigationProperty:d.navigationProperty}),d.defaultLayoutType&&{defaultLayoutType:d.defaultLayoutType});u[m]=y;const v=Object.keys(a).find((e=>e.includes(m)))||Object.keys(a).find((e=>e.includes(m.slice(0,-1))))||Object.keys(a).find((e=>e.includes(y.pageType)));if(v)if(y.pageType===r.PageType.ListReport){const e={manifest:n,flex:t,jsonSchema:a[v],fragments:i,logger:o};y.config=s.createListReportConfig(e)}else if(y.pageType===r.PageType.AnalyticalListPage){const e={manifest:n,flex:t,jsonSchema:a[v],fragments:i,logger:o};y.config=c.createAnalyticalListPageConfig(e)}else{const e={manifest:n,flex:t,jsonSchema:a[v],entitySet:y.entitySet,fragments:i,logger:o};y.config=l.createObjectPageConfigV2(e)}if(d.pages){y.navigation={};const e=g(d.pages,t,n,a,i);for(const t in e){const n=e[t];u[t]=n}for(const t in d.pages){const n=h(d.pages[t]);y.navigation[n]=e[n].navigationProperty?y.entitySet+"."+e[n].navigationProperty:y.entitySet}}}return u}class V2AppProvider extends i.AppProvider{constructor(e,t,n,a,i){const s=e[r.ManifestSection.generic].pages,c=Object.keys(s)[0],l=new u.AppSettings,d=n[p.getSchemaFilePath(f.SchemaType.Application).filename];o.transferSettingsOfObject(l,e,d.definitions.AppSettings,void 0),super(e,n,h(s[c]),g(s,t,e,n,a,i),r.FioriElementsVersion.v2,l)}}t.V2AppProvider=V2AppProvider,t.getPages=function e(t,n){const a={};for(const r in t){const i=t[r];if(i.component.name===n){a[h(i)]=i}if(n===d.FE_TEMPLATE_V2_OBJECT_PAGE&&i.pages){const t=e(i.pages,n);for(const e in t)a[e]=t[e]}}return a}},4370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(4093),i=n(9609),o=n(9836),s=n(6088),c=n(5008),l=n(3435);class V2OvpProvider extends r.AppProvider{constructor(e,t,n){const r={},u=e[a.ManifestSection.ovp],p=new s.AppSettings,f=c.getSchemaFilePath(l.SchemaType.Application);i.transferSettingsOfObject(p,e,t[f.filename].definitions.AppSettings,void 0);const d={manifest:e,jsonSchema:t[Object.keys(t).find((e=>e.includes(a.PageType.OverviewPage)))]},h={pageType:a.PageType.OverviewPage,config:o.createOverviewPageConfig(d),entitySet:u.globalFilterEntitySet},g=c.generatePageId(h.pageType,h.entitySet,h.navigationProperty);r[g]=h,super(e,t,g,r,a.FioriElementsVersion.v2,p,n)}}t.V2OvpProvider=V2OvpProvider},9609:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4681),i=n(3767),o=n(5008),s=n(6442),c=n(2762),l=n(1350),u=n(390),p=n(5921),f=a(n(9154));function d(e){return e.replace(/:2f/g,"/").replace(/:23/g,"#").replace(/:40/g,"@")}t.convertSelector=d,t.addFlex=function(e,t,n,a){var s,l;try{const a=o.parseChangeString(t),p=a.content.property;if((null===(s=a.controlId)||void 0===s?void 0:s.includes(r.PageType.ListReport))||(null===(l=a.controlId)||void 0===l?void 0:l.includes(r.PageType.AnalyticalListPage)))switch(a.controlId=d(a.controlId),a.controlType){case o.ControlType.SmartFilterBar:!function(e,t,n,a){var r,i,o,s;((null===(i=null===(r=a.definitions)||void 0===r?void 0:r.ListReportFilterBar)||void 0===i?void 0:i.properties[t])||(null===(s=null===(o=a.definitions)||void 0===o?void 0:o.AnalyticalListPageFilterBar)||void 0===s?void 0:s.properties[t]))&&(e.filterBar[t]=n.content.newBinding?n.content.newBinding:n.content.newValue)}(e,p,a,n);break;case o.ControlType.DynamicPage:n.properties[p]&&(e[a.content.property]=a.content.newValue);break;case o.ControlType.Button:!function(e,t,n,a){var r,i;const o=n.controlId.split("--action::")[1],s=null===(i=null===(r=a.definitions)||void 0===r?void 0:r[`ToolBarAction<${o}>`])||void 0===i?void 0:i.properties[t],c=e.table.toolBar.actions[o];s&&c&&(c[t]=n.content.newBinding?n.content.newBinding:n.content.newValue)}(e,p,a,n);break;case o.ControlType.SmartChart:!function(e,t,n,a){var r;if(a.definitions.ChartSettings.properties[t]){const a=c.getReflectMetadata(e.chart,t);(null===(r=null==a?void 0:a.flex)||void 0===r?void 0:r.importFlexValue)?a.flex.importFlexValue(n,e.chart,t):e.chart[t]=n.content.newBinding?n.content.newBinding:n.content.newValue}}(e,p,a,n);break;default:!function(e,t,n){const a={controlId:t.controlId,propertyId:t.content.property,newValue:t.content.newBinding?t.content.newBinding:t.content.newValue,controlType:t.controlType};let s;s=e.table.type&&e.table.type!==u.TableTypeV2.ResponsiveTable||a.controlId.includes(r.PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP.get(r.PageType.AnalyticalListPage))?e.table.constructor.name:"ResponsiveTableWithMultiSelect",(n.definitions[`${s}<LineItems>`].properties[a.propertyId]||a.controlType===o.ControlType.TableColumn)&&i.addFlexForTable(e.table,a,n)}(e,a,n)}}catch(e){p.log(a,{severity:"error",message:f.default.t("FLEXERROR")},...e)}},t.transferSettingsOfObject=function(e,t,n,a,r,i){if(!n)return;let s={};const u=e.getDeprecated?e.getDeprecated():[];if(n.properties)for(const p in n.properties){const n=c.getReflectMetadata(e,p);if(null==n?void 0:n.manifest){const c=n.manifest.path([a],void 0,i);s=l.getManifestSectionByPathV2(t,c),o.importProperty(n,s,p,e),o.checkDeprecatedProperties(u,s,c,r)}if("quickVariantSelectionX"===p&&e[p])for(const t in e[p].variants){const n=e[p].variants[t];if(n.tableSettings){for(const e in n.tableSettings)n[e]=n.tableSettings[e];delete n.tableSettings}}}},t.determineTableType=function(e,t){var n,a;const r=e[s.ManifestSection.generic].pages[t];let i=u.TableTypeV2.ResponsiveTable;return e[s.ManifestSection.generic].pages[t].component.settings&&(e[s.ManifestSection.generic].pages[t].component.settings.tableSettings&&e[s.ManifestSection.generic].pages[t].component.settings.tableSettings.type||e[s.ManifestSection.generic].pages[t].component.settings.tableType)?i=(null===(a=null===(n=r.component.settings)||void 0===n?void 0:n.tableSettings)||void 0===a?void 0:a.type)||r.component.settings.tableType:"sap.suite.ui.generic.template.AnalyticalListPage"===r.component.name&&(i=u.TableTypeV2.AnalyticalTable),i}},3767:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8517);t.addFlexForTable=function(e,t,n){if(t.controlType.endsWith("Table"))e[t.propertyId]=t.newValue;else if(t.controlType===a.ControlType.TableColumn){if(!(null==n?void 0:n.definitions.TableColumn.properties[t.propertyId]))return;const r=t.controlId.split("-"),i=r[r.length-1].split("template:::TableColumn:::"),o=i[i.length-1].replace(/sSmartTableId.+?:::/,"").replace("::com.sap.vocabularies",a.VOCWITHCOLONS);e.columns||(e.columns={}),e.columns[o]||(e.columns[o]={}),e.columns[o][t.propertyId]=t.newValue}}},4330:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(1403)),a(n(2687)),a(n(2201)),a(n(9836)),a(n(961))},961:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9609),i=n(6971),o=n(5921),s=n(2449),c=a(n(9154)),l=n(5008),u=n(1403),p=n(2687),f=n(7072);t.createAnalyticalListPageConfig=function(e){if(s.initI18n(),!e.manifest[i.ManifestSection.generic])return void o.log(e.logger,{severity:"error",message:c.default.t("NOFE"),location:{path:l.MANIFESTPATH,range:[i.ManifestSection.generic]}});if(!e.manifest[i.ManifestSection.generic].pages)return void o.log(e.logger,{severity:"error",message:c.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:l.MANIFESTPATH,range:[i.ManifestSection.generic]}});const t=new f.MetadataInstanceFactoryV2,n=t.createPageInstance(i.PageType.AnalyticalListPage),a=[],d=u.findAnalyticalListPage(e.manifest[i.ManifestSection.generic].pages,a);if(d)return function(e,t,n,a){const o=r.determineTableType(e.manifest,a);t.table=n.createInstance(i.PageType.AnalyticalListPage,`ALP${o}`,t.table),r.transferSettingsOfObject(t.table,e.manifest,e.jsonSchema.definitions[`ALP${o}<LineItems>`],a,e.logger),t.filterBar=n.createInstance(i.PageType.AnalyticalListPage,"AnalyticalListPageFilterBar",t.filterBar),r.transferSettingsOfObject(t.filterBar,e.manifest,e.jsonSchema.definitions.AnalyticalListPageFilterBar,a,e.logger),t.chart=n.createInstance(i.PageType.AnalyticalListPage,"ChartSettings",t.chart),r.transferSettingsOfObject(t.chart,e.manifest,e.jsonSchema.definitions.ChartSettings,a,e.logger),t.keyPerformanceIndicators={};const s=e.manifest[i.ManifestSection.generic].pages[a].component.settings.keyPerformanceIndicators;s&&Object.keys(s).forEach((o=>{t.keyPerformanceIndicators[o]=n.createInstance(i.PageType.AnalyticalListPage,"KPISettings"),t.keyPerformanceIndicators=n.createInstance(i.PageType.AnalyticalListPage,"KPISettings",t.keyPerformanceIndicators),r.transferSettingsOfObject(t.keyPerformanceIndicators[o],e.manifest,e.jsonSchema.definitions.KPISettings,a,e.logger,o)}))}(e,n,t,a[0]),e.flex.forEach((t=>{l.parseChangeString(t)&&r.addFlex(n,t,e.jsonSchema)})),p.addFragments(n,e.manifest,d,i.PageType.AnalyticalListPage,e.fragments),n;o.log(e.logger,{severity:"error",message:c.default.t("NOALP"),location:{path:l.MANIFESTPATH,range:[i.ManifestSection.generic]}})}},2687:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9609),i=n(6971),o=n(5008),s=n(5921),c=a(n(9154)),l=n(2449),u=n(1403),p=n(4139),f=n(7040),d=n(7072),h=n(1205);function g(e,t,n,a,r,i,o){if(e.customData||e["table:customData"]){const s=e.customData?e.customData["core:CustomData"]._attributes.value:e["table:customData"]["core:CustomData"]._attributes.value,c=JSON.parse(s.substr(1,s.length));let l=e.Text&&e.Text._attributes&&e.Text._attributes.text;l||(l=e.Label&&e.Label._attributes&&e.Label._attributes.text);const u={id:e._attributes&&e._attributes.id,text:l,columnKey:c.columnKey,columnIndex:void 0!==c.columnIndex?Number(c.columnIndex):void 0,leadingProperty:c.leadingProperty,className:t[n].className,fragmentName:t[n].fragmentName,tabKey:a,extensionType:i};o&&(u.cellsFragmentName=o),r.table.columns.custom||(r.table.columns.custom=[]);r.table.columns.custom.push(u)}}function m(e,t,n,a,r,s){if(!r)return;const c="|"+(s&&s.target?s.target:n.entitySet);if(t[i.ManifestSection.ui5]&&t[i.ManifestSection.ui5].extends&&t[i.ManifestSection.ui5].extends.extensions&&t[i.ManifestSection.ui5].extends.extensions["sap.ui.viewExtensions"]){const n=i.PAGETYPE_VIEW_EXTENSION_TEMPLATE_MAP.get(a),l=t[i.ManifestSection.ui5].extends.extensions["sap.ui.viewExtensions"][n];if(l)for(const t of Object.keys(l)){const n=t.split("|"),[a,i]=n,u=n[2],d=s&&u===s.key?void 0:u,h=o.ViewTemplateType[a];if(h&&"|"+i===c){const n=l[t].type?l[t].type.toLowerCase():"xml";let a,s=l[t].fragmentName;if(!s)continue;if(h===o.ViewTemplateType.ResponsiveTableColumnsExtension)for(const e of Object.keys(l)){const[t,n,r]=e.split("|");t===o.ViewTemplateType.ResponsiveTableCellsExtension&&n===i&&r===u&&(a=l[e].fragmentName)}const c=s.split(".");s=c[c.length-1]+o.FRAGMENTNAMEPART+n;const m=r.filter((e=>e.dataSourceUri.endsWith(s)));if(m[0]){const n=JSON.parse(p.xml2json(m[0].fileContent,{compact:!0}))[f.FRAGMENT_DEFINITION],r=f.getRootCustomColumnFromFragmentJSON(n);if(r)if(e.table.columns||(e.table.columns={}),Array.isArray(r))for(let n=0;n<r.length;n++)g(r[n],l,t,d,e,h,a);else g(r,l,t,d,e,h,a)}}}}}t.addFragments=m,t.createListReportConfig=function(e){if(l.initI18n(),!e.manifest[i.ManifestSection.generic])return void s.log(e.logger,{severity:"error",message:c.default.t("NOFE"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.generic]}});if(!e.manifest[i.ManifestSection.generic].pages)return void s.log(e.logger,{severity:"error",message:c.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.generic]}});const t=new d.MetadataInstanceFactoryV2,n=t.createPageInstance(i.PageType.ListReport),a=[],p=u.findListReportPageV2(e.manifest[i.ManifestSection.generic].pages,a);if(p)return function(e,t,n,a){const o=r.determineTableType(e.manifest,a);let s;if(t.table=n.createInstance(i.PageType.ListReport,o,t.table),"TreeTable"===o||"AnalyticalTable"===o||"GridTable"===o?s=e.jsonSchema.definitions[o+"<LineItems>"]:e.jsonSchema.definitions[h.MULTISELECTTABLE]&&e.jsonSchema.definitions[h.INLINEDELETETABLE]&&(s=JSON.parse(JSON.stringify(e.jsonSchema.definitions[h.MULTISELECTTABLE])),s.properties=Object.assign(Object.assign({},s.properties),e.jsonSchema.definitions[h.INLINEDELETETABLE].properties)),r.transferSettingsOfObject(t.table,e.manifest,s,a,e.logger),t.table.toolBar=n.createInstance(i.PageType.ListReport,"ToolBar",{actions:{}}),r.transferSettingsOfObject(t.table.toolBar,e.manifest,e.jsonSchema.definitions.ToolBar,a,e.logger),e.jsonSchema.definitions["Actions<LineItems>"])for(const o in e.jsonSchema.definitions["Actions<LineItems>"].properties){const s=o.replace("/","::");t.table.toolBar.actions[s]=n.createInstance(i.PageType.ListReport,"Action"),r.transferSettingsOfObject(t.table.toolBar.actions[s],e.manifest,e.jsonSchema.definitions.Action,a,e.logger)}t.filterBar=n.createInstance(i.PageType.ListReport,"ListReportFilterBar",t.filterBar),r.transferSettingsOfObject(t.filterBar,e.manifest,e.jsonSchema.definitions.ListReportFilterBar,a,e.logger)}(e,n,t,a[0]),e.flex.forEach((t=>{o.parseChangeString(t)&&r.addFlex(n,t,e.jsonSchema,e.logger)})),m(n,e.manifest,p,i.PageType.ListReport,e.fragments),function(e){if(e.table.toolBar){for(const t in e.table.toolBar.actions)0===Object.keys(e.table.toolBar.actions[t]).length&&delete e.table.toolBar.actions[t];0===Object.keys(e.table.toolBar.actions).length&&delete e.table.toolBar.actions,0===Object.keys(e.table.toolBar).length&&delete e.table.toolBar}}(n),n;s.log(e.logger,{severity:"error",message:c.default.t("NOLR"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.generic]}})}},2201:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(3374),i=n(3767),o=n(5921),s=n(1403),c=n(5008),l=n(1350),u=n(4867),p=a(n(9154)),f=n(2449),d=n(6971),h=n(2687),g=n(7072),m=n(1205),y=n(9609);const v=(e,t,n)=>{e[t]=n},b=e=>{var t,n,a;let r;return e.$ref?(r=e.$ref.includes("<")?e.$ref.split("<")[0]:e.$ref,r.replace(c.DEFINITION_LINK_PREFIX,"")):(null===(n=null===(t=e.properties)||void 0===t?void 0:t.subsections)||void 0===n?void 0:n.$ref)?(r=e.properties.subsections.$ref,r=r.includes("<")?r.split("<")[0]:r,r.replace(c.DEFINITION_LINK_PREFIX,"")):(null===(a=e.properties)||void 0===a?void 0:a.subsections)?m.SectionTypeV2.SubSection:void 0};function P(e,t,n,a,s,u,p,f){var d;if(!n)return;let h=[],g={};(null==t?void 0:t.getDeprecated)&&(h=t.getDeprecated());const m=u&&u.replace(/::@com.sap.vocabularies/g,r.VOCWITHSLASH);for(const r in n.properties||n){const y=c.getReflectMetadata(t,r);if(y||"columns"===r)if("columns"===r||y&&y.flex)if(u)for(const n in s){const a=s[n],o=a.propertyId===r,l="columns"===r&&a.controlType===c.ControlType.TableColumn,f=[u,m,p];(o||l)&&f.indexOf(null==a?void 0:a.facetId)>-1&&i.addFlexForTable(t,s[n],e.jsonSchema)}else for(const e in s){const a=s[e],i=!f||new RegExp(`.*${f}\\d?$`).test(e),o=a.propertyId===r,c=null===(d=n.properties[a.propertyId])||void 0===d?void 0:d.controlType,l=a.controlType===c;("action"===a.facetId&&!p&&i&&o||!p&&i&&o&&l||e.includes(p)&&i&&o&&l)&&v(t,r,a.newValue)}else if(y.manifest){const n=u?u.replace(/\/@/g,"::").replace(/@com.sap/g,"com.sap"):void 0;let i;p?(i=y.manifest.path(a,{},p),0!==Object.values(l.getManifestSectionByPathV2(e.manifest,i)).length||(i=y.manifest.path(a,{},n)),g=l.getManifestSectionByPathV2(e.manifest,i)):(i=y.manifest.path(a,{},n),g=l.getManifestSectionByPathV2(e.manifest,i));const s=y.manifest.import;if(s&&"function"==typeof s){const e=s(g,u);void 0!==e&&(t[r]=e)}else{const e=y.manifest.key||r;e in g&&(t[r]=g[e])}if(g&&h)for(const t in g){const n=h[t];n&&(o.log(e.logger,{severity:"warning",message:c.getTextForDeprecated(t,n),location:{path:"webapp/manifest.json/",range:i.split("/")}}),delete h[t])}}}}function S(e,t,n,a,r){let i,o;n.actions={};const s=(r=r.replace(/@/g,"::")).split("::").pop();if(a.flexChanges.constructor===Object&&0!==Object.keys(a.flexChanges).length)for(const c in t)o=c.replace(/@/g,"::"),i=s===m.ActionTypeV2.Form?`${o}${r}`:s===m.ActionTypeV2.Footer?`${o}::Determining`:o,n.actions[o]=a.factory.createInstance(d.PageType.ObjectPage,s),P(e,n.actions[o],e.jsonSchema.definitions[s],a.pageKeys,a.flexChanges,void 0,void 0,i),0===Object.keys(n.actions[o]).length&&delete n.actions[o];0===Object.keys(n.actions).length&&delete n.actions}function T(e,t,n,a,i){var o,s;const c=(null===(o=t.schema.title)||void 0===o?void 0:o.startsWith(r.FacetTitlePrefix))?t.schema.title.split(r.FacetTitlePrefix)[1]:void 0,l=c||t.id.replace("@com.sap","com.sap"),u=n&&n.sections&&n.sections[l];if(u||i.flexChanges){const n=(null===(s=null==u?void 0:u.tableSettings)||void 0===s?void 0:s.type)||"ResponsiveTable",r=i.factory.createInstance(d.PageType.ObjectPage,`ObjectPage${n}`,{toolBar:{}});let o;a[t.id]=i.factory.createInstance(d.PageType.ObjectPage,t.type,{table:{}}),a[t.id].table=r;const l=e.jsonSchema.definitions;"TreeTable"===n||"AnalyticalTable"===n||"GridTable"===n?o=l[`ObjectPage${n}<${t.id}>`]:l[`ObjectPageResponsiveTableWithMultiSelect<${t.id}>`]&&l[`ObjectPageResponsiveTableWithInlineDelete<${t.id}>`]&&(o=JSON.parse(JSON.stringify(l[`ObjectPageResponsiveTableWithMultiSelect<${t.id}>`])),o.properties=Object.assign(Object.assign({},o.properties),l[`ObjectPageResponsiveTableWithInlineDelete<${t.id}>`].properties)),P(e,a[t.id],t.schema,i.pageKeys,i.flexChanges,void 0,c),P(e,a[t.id].table,o,i.pageKeys,i.flexChanges,t.id,c);const p=JSON.parse(JSON.stringify(l))[`Actions<${t.id}>`];(null==p?void 0:p.properties)&&S(e,p.properties,a[t.id].table.toolBar,i,m.ActionTypeV2.ToolBar),0===Object.keys(a[t.id].table.toolBar).length&&delete a[t.id].table.toolBar}}function O(e,t,n,a,r){const i=e.jsonSchema.definitions[t].properties.custom,o=i?s.getTargetFromCustomColumnRef(i.$ref):void 0;if(o){const i={key:n||t.replace("@",""),target:o};h.addFragments(a[t],e.manifest,r,d.PageType.ObjectPage,e.fragments,i)}}function _(e,t,n,a,r){const i=c.getSectionTitle(t.schema,e.jsonSchema),o=t.id.replace("@com.sap","com.sap"),s=n&&n.sections&&n.sections[o];a[t.id]=r.factory.createInstance(d.PageType.ObjectPage,t.type,{chart:{}}),a[t.id].chart=r.factory.createInstance(d.PageType.ObjectPage,"ObjectPageChart"),(s||r.flexChanges)&&(P(e,a[t.id],t.schema,r.pageKeys,r.flexChanges,void 0,i),P(e,a[t.id].chart,e.jsonSchema.definitions.ObjectPageChart,r.pageKeys,r.flexChanges,t.id,i))}function E(e,t,n,a){const r=c.getSectionTitle(t.schema,e.jsonSchema),i=t.schema.properties.form.$ref.split("SectionForm")[1];n[t.id]=a.factory.createInstance(d.PageType.ObjectPage,t.type,{form:{}}),a.flexChanges&&P(e,n[t.id],t.schema,a.pageKeys,a.flexChanges,void 0,r);const o=e.jsonSchema.definitions[`SectionActions${i}`];o&&o.properties&&S(e,o.properties,n[t.id].form,a,`${t.id}::${m.ActionTypeV2.Form}`);const s=e.jsonSchema.definitions[`SectionFields${i}`];s.properties&&function(e,t,n,a,r){let i;a[t].form.fields={};for(const o in n)i=o.includes("::")?o.split("::")[1]+"::GroupElement":o+"::GroupElement",a[t].form.fields[o]=r.factory.createInstance(d.PageType.ObjectPage,"Field"),P(e,a[t].form.fields[o],e.jsonSchema.definitions.Field,r.pageKeys,r.flexChanges,void 0,void 0,i),0===Object.keys(a[t].form.fields[o]).length&&delete a[t].form.fields[o];0===Object.keys(a[t].form.fields).length&&delete a[t].form.fields}(e,t.id,s.properties,n,a),0===Object.keys(n[t.id].form).length&&delete n[t.id].form,0===Object.keys(n[t.id]).length&&delete n[t.id]}function C(e,t,n,a,r){var i,o;const s=c.getSectionTitle(t.schema,e.jsonSchema);let l;a[t.id]=r.factory.createInstance(d.PageType.ObjectPage,t.type,{subsections:{}}),r.flexChanges&&P(e,a[t.id],t.schema,r.pageKeys,r.flexChanges,void 0,s),l=(null===(o=null===(i=t.schema.properties)||void 0===i?void 0:i.subsections)||void 0===o?void 0:o.properties)?t.schema.properties.subsections.properties:t.schema.properties,A(e,l,n,a[t.id].subsections,r)}function A(e,t,n,a,r){for(const i in t){const o={id:i.replace(/\/@/g,"::"),type:b(t[i]),schema:t[i]};if(o.schema.$ref&&o.type)switch(o.type){case m.SectionTypeV2.SectionTable:case m.SectionTypeV2.SubSectionTable:o.schema=e.jsonSchema.definitions[`${o.type}<${i}>`],T(e,o,n,a,r),O(e,o.id,void 0,a,r.v2Page);break;case m.SectionTypeV2.SectionChart:case m.SectionTypeV2.SubSectionChart:o.schema=e.jsonSchema.definitions[`${o.type}<${i}>`],_(e,o,n,a,r);break;case m.SectionTypeV2.SectionForm:case m.SectionTypeV2.SubSectionForm:o.schema=e.jsonSchema.definitions[`${o.type}<${i}>`],E(e,o,a,r);break;case m.SectionTypeV2.Section:case m.SectionTypeV2.SubSection:o.schema=e.jsonSchema.definitions[`${o.type}<${i}>`],C(e,o,n,a,r)}else o.schema.properties&&o.schema.properties.subsections&&(o.schema=e.jsonSchema.definitions[`${o.type}<${i}>`],C(e,o,n,a,r))}}t.createObjectPageConfigV2=function(e){if(f.initI18n(),!e.manifest[d.ManifestSection.generic])return void o.log(e.logger,{severity:"error",message:p.default.t("NOFE"),location:{path:r.MANIFESTPATH,range:[d.ManifestSection.generic]}});const t=[],n=e.manifest[d.ManifestSection.generic].pages;if(!n)return void o.log(e.logger,{severity:"error",message:p.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:r.MANIFESTPATH,range:[d.ManifestSection.generic]}});const a=e.entitySet,i=s.findObjectPageV2(n,e.entitySet,t);return i?function(e,t){const n=t.factory.createPageInstance(d.PageType.ObjectPage),a=t.v2Page.component.settings;P(e,n,e.jsonSchema.properties,t.pageKeys,t.flexChanges),n.header=t.factory.createInstance(d.PageType.ObjectPage,"ObjectPageHeader"),P(e,n.header,e.jsonSchema.definitions.ObjectPageHeader?e.jsonSchema.definitions.ObjectPageHeader:e.jsonSchema.definitions["ObjectPageHeader<GenericActions>"],t.pageKeys,t.flexChanges);const r=e.jsonSchema.definitions.HeaderActions;r&&S(e,r.properties,n.header,t,m.ActionTypeV2.Header),n.footer={};const i=e.jsonSchema.definitions.FooterActions;i&&S(e,i.properties,n.footer,t,m.ActionTypeV2.Footer),n.layout=t.factory.createInstance(d.PageType.ObjectPage,"ObjectPageLayout"),P(e,n.layout,e.jsonSchema.definitions.ObjectPageLayout,t.pageKeys,t.flexChanges),0===Object.keys(n.layout).length&&delete n.layout,n.sections={};const o=e.jsonSchema.definitions.Sections;o&&A(e,o.properties,a,n.sections,t);const c=s.findCustomSectionExtensions(e.manifest,e.entitySet);if(Object.keys(c).length>0){n.sections.custom=[];for(const a in c){const r="fragmentName"in c[a]?t.factory.createInstance(d.PageType.ObjectPage,"ObjectPageCustomSectionFragment"):t.factory.createInstance(d.PageType.ObjectPage,"ObjectPageCustomSectionView");P(e,r,e.jsonSchema.definitions["fragmentName"in c[a]?"ObjectPageCustomSectionFragment":"ObjectPageCustomSectionView"],t.pageKeys,t.flexChanges,a),n.sections.custom.push(r)}}return n}(e,{pageKeys:t,flexChanges:function(e,t,n){const a={};let r=1;return e.forEach((e=>{var i,s;try{const n=c.parseChangeString(e);if(n&&(null===(i=n.controlId)||void 0===i?void 0:i.includes(u.FE_TEMPLATE_V2_OBJECT_PAGE))&&(null===(s=n.controlId)||void 0===s?void 0:s.includes(t))){let e=n.controlId.split("--")[1].replace(/:3a:3a/g,"::");null!==new RegExp(".+DataField.+:::sSmartTableId::.+").exec(e)&&(e=e.split("template:::TableColumn:::")[1]);const t=function(e){let t;const n=e.split(":::");if(1===n.length)t=function(e,t){const n=e[0].split("-"),a=n[n.length-1];if(e[0].indexOf("com.sap.vocabularies.UI.v1.LineItem")>=0&&e[0].indexOf("action")>=0)t=n[0].split("com.sap.vocabularies.UI.v1.LineItem::")[1].split("::")[0];else if(e[0].indexOf("com.sap.vocabularies.UI.v1.LineItem")>=0||e[0].indexOf("UI.LineItem")>=0||e[0].indexOf("::Table")>=0)t=n[0].split("::Table")[0].split("::responsiveTable")[0].replace(/::/g,"/@");else{const e=a.split("::");e.length>1?t=e[0]:n[0].indexOf("::")>-1&&(t=n[0].split("::")[0])}return t}(n,t);else if(e.indexOf("sSmartTableId")>=0){for(const e of n)if(e.startsWith("sSmartTableId")){t=e.split("sSmartTableId::")[1].split("::Table")[0].split("/responsiveTable")[0].replace("::com.sap.vocabularies.UI.v1.LineItem","/@com.sap.vocabularies.UI.v1.LineItem");break}}else t=n[0];return t}(e);e=y.convertSelector(e).replace(/:3a:3a/g,"::").replace(/\/@com.sap.vocabularies/g,"::com.sap.vocabularies"),a[e]&&a[e].propertyId!==n.content.property&&(e+=r,r++),a[e]={controlId:e,propertyId:n.content.property,facetId:t,newValue:void 0!==n.content.newBinding?n.content.newBinding:n.content.newValue,controlType:n.controlType}}}catch(e){o.log(n,{severity:"error",message:p.default.t("FLEXERROR")},...e)}})),a}(e.flex,a),v2Page:i,factory:new g.MetadataInstanceFactoryV2}):void o.log(e.logger,{severity:"error",message:p.default.t("NOENTITYSET",{entitySet:a}),location:{path:r.MANIFESTPATH,range:[d.ManifestSection.generic]}})}},9836:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6971),r=n(2762),i=n(1350),o=n(390),s=n(7072),c=n(2432),l=n(5008);function u(e,t,n,a){if("settings"===e)switch(t.template){case"sap.ovp.cards.charts.analytical":n[a[0]][o.CardSettingsType.analyticalCardSettings]=t[e];break;case"sap.ovp.cards.v4.charts.analytical":n[a[0]][o.CardSettingsType.analyticalCardSettingsv4]=t[e];break;case"sap.ovp.cards.list":case"sap.ovp.cards.v4.list":n[a[0]][o.CardSettingsType.listCardSettings]=t[e];break;case"sap.ovp.cards.stack":n[a[0]][o.CardSettingsType.stackCardSettings]=t[e];break;case"sap.ovp.cards.linklist":case"sap.ovp.cards.v4.linklist":n[a[0]][o.CardSettingsType.linkListCardSettings]=t[e];break;case"sap.ovp.cards.table":case"sap.ovp.cards.v4.table":n[a[0]][o.CardSettingsType.tableCardSettings]=t[e];break;default:n[a[0]].settings=t[e]}else n[a[0]][e]=t[e]}function p(e,t,n,a){for(const o in n){const n=r.getReflectMetadata(e,o);if(null==n?void 0:n.manifest){const r=n.manifest.path([...a,o]),s=i.getManifestSectionByPathV2(t,r);Object.prototype.hasOwnProperty.call(s,o)&&(0!==a.length?u(o,s,e,a):l.importProperty(n,s,o,e))}}}t.createOverviewPageConfig=function(e){const t=new s.MetadataInstanceFactoryV2,n=t.createPageInstance(a.PageType.OverviewPage);return e.jsonSchema&&function(e,t,n,r){p(e,t,n.properties,[]),e.cards={},Object.keys(t[a.ManifestSection.ovp].cards).forEach((n=>{const i=t[a.ManifestSection.ovp].cards[n].template,s=o.cardTemplateTypeMap[i];e.cards[n]=c.assignReflectMetadataRules(r,s,{},"CustomCard"),e.cards=c.assignReflectMetadataRules(r,s,e.cards,"CustomCard"),p(e.cards,t,t[a.ManifestSection.ovp].cards[n],[n])}))}(n,e.manifest,e.jsonSchema,t),n}},1403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(390),r=n(6971),i=n(1350),o=n(5008),s=n(468);function c(e,t){const n=e.split("|");return a.SectionPosition[n[0]]&&n[1]===t}t.findObjectPageV2=function e(t,n,a){for(const i in t){const s=t[i];if(o.getPageTypeV2(s.component.name)===r.PageType.ObjectPage&&s.entitySet===n)return a.push(i),s;if(s.pages)return a.push(i),e(s.pages,n,a)}},t.findListReportPageV2=function(e,t){for(const n in e){const a=e[n];if(t.push(n),o.getPageTypeV2(a.component.name)===r.PageType.ListReport)return a}},t.findAnalyticalListPage=function(e,t){for(const n in e){const a=e[n];if(t.push(n),o.getPageTypeV2(a.component.name)===r.PageType.AnalyticalListPage)return a}},t.isAssociatedCustomSection=c,t.findCustomSectionExtensions=function(e,t){const n=i.getManifestSectionByPathV2(e,`sap.ui5/extends/extensions/${a.SAPUI5_VIEW_EXTENSION}/${a.SAPUI5_VIEW_EXTENSION_OBJECT_PAGE}`),r={};for(const e in n)c(e,t)&&(r[e]=n[e]);return r},t.getTargetFromCustomColumnRef=function(e){const t=e.split(`${s.CUSTOM_COLUMNS_DEFINITION}<`);if(t[1])return t[1].split(">")[0]}},1205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MULTISELECTTABLE="ResponsiveTableWithMultiSelect<LineItems>",t.INLINEDELETETABLE="ResponsiveTableWithInlineDelete<LineItems>",t.TREETABLE="TreeTable<LineItems>",t.ANALYTICALTABLE="AnalyticalTable<LineItems>",t.GRIDTABLE="GridTable<LineItems>",function(e){e.Section="ObjectPageSectionV2",e.SubSection="ObjectPageSubSectionV2",e.SectionForm="ObjectPageSectionFormV2",e.SectionTable="ObjectPageSectionTableV2",e.SectionChart="ObjectPageSectionChartV2",e.SubSectionForm="ObjectPageSubSectionFormV2",e.SubSectionTable="ObjectPageSubSectionTableV2",e.SubSectionChart="ObjectPageSubSectionChartV2"}(t.SectionTypeV2||(t.SectionTypeV2={})),function(e){e.Form="FormAction",e.Header="HeaderAction",e.Footer="FooterAction",e.ToolBar="ObjectPageToolBarAction"}(t.ActionTypeV2||(t.ActionTypeV2={}))},8992:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762);t.getSettingsPathForPage=e=>`sap.ui5/routing/targets/${e[0]}/options/settings`,t.getSettingsPathForHeaderOP=e=>`sap.ui5/routing/targets/${e[0]}/options/settings/content/header`,t.getControlConfigurationPath=e=>t.getSettingsPathForPage(e)+"/controlConfiguration",t.getHeadeFacetSettingPath=(e,n,a)=>t.getControlConfigurationPath(e)+`/@com.sap.vocabularies.UI.v1.HeaderFacets/facets/${a}`,t.getTableSettingsPathForLR=e=>t.getControlConfigurationPath(e)+"/@com.sap.vocabularies.UI.v1.LineItem/tableSettings",t.getColumnsPathForLR=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/@com.sap.vocabularies.UI.v1.LineItem/columns/${r}`,t.getActionsPathForLR=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/@com.sap.vocabularies.UI.v1.LineItem/actions/${r}`,t.getColumnsPathForOP=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/${a}/columns/${r}`,t.getActionsPathForOP=(e,n,a,r)=>t.getControlConfigurationPath(e)+`/${a}/actions/${r}`,t.getTableSettingsPathForOP=(e,n,a)=>t.getControlConfigurationPath(e)+`/${a}/tableSettings`,t.getCustomSectionPath=(e,n,a,r)=>{let i=t.getSettingsPathForPage(e)+`/content/body/sections/${a}`;return r&&(i+="/"+r),i};class ApplicationV4{}a([r.childId("settings")],ApplicationV4.prototype,"settings",void 0),t.ApplicationV4=ApplicationV4;class AppSettings{}a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"title",void 0),a([r.syncRule({manifest:{path:()=>"sap.app"}})],AppSettings.prototype,"description",void 0),a([r.syncRule({manifest:{path:()=>"sap.ui5/routing/config"}}),r.validity({since:"1.78.0"})],AppSettings.prototype,"flexibleColumnLayout",void 0),t.AppSettings=AppSettings},1735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FilterBar=class FilterBar{}},4086:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5877),i=n(6971),o=n(2762),s=n(8992);class ObjectPageCustomSectionFragment{}a([o.syncRule({manifest:{path:(e,t,n)=>s.getCustomSectionPath(e,t,n,"position"),key:"anchor"}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"relatedFacet",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:(e,t)=>t,export:!1}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"id",void 0),a([o.syncRule({manifest:{path:(e,t,n)=>s.getCustomSectionPath(e,t,n,"position"),key:"placement"}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"relativePosition",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"title",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:e=>!e.type||e.type.startsWith(r.CustomSectionViewTypesV4.XML)?r.CustomSectionViewTypesV4.XML:"",export:(e,t)=>{let n="";"type"in t&&(n+=t.type),"className"in t&&(t.className===i.SAPUI5_FRAGMENT_CLASS?n+="Fragment":n+=t.className),e.type=n}}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"type",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:e=>!e.type||e.type.startsWith(r.CustomSectionViewTypesV4.XML)?e.type&&"XMLFragment"!==e.type?e.type.slice(r.CustomSectionViewTypesV4.XML.length):i.SAPUI5_FRAGMENT_CLASS:e.type,export:!1}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"className",void 0),a([o.syncRule({manifest:{path:s.getCustomSectionPath,import:e=>e.name||e.template,key:"template"}}),o.validity({since:"1.77.0"})],ObjectPageCustomSectionFragment.prototype,"fragmentName",void 0),t.ObjectPageCustomSectionFragment=ObjectPageCustomSectionFragment},9509:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992),o=n(8992);class ObjectPageHeader{}a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"editableHeaderContent",void 0),a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"showRelatedApps",void 0),a([r.syncRule({manifest:{path:o.getSettingsPathForHeaderOP}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"visible",void 0),a([r.syncRule({manifest:{path:o.getSettingsPathForHeaderOP}}),r.validity({since:"1.84.0"})],ObjectPageHeader.prototype,"anchorBarVisible",void 0),t.ObjectPageHeader=ObjectPageHeader},8434:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class FlexSettings{}a([r.syncRule({manifest:{path:(e,t,n)=>i.getHeadeFacetSettingPath(e,t,n)+"/flexSettings"}}),r.validity({since:"1.81.0"})],FlexSettings.prototype,"designtime",void 0),t.FlexSettings=FlexSettings;class CommonHeaderFacetSettings{}a([r.syncRule({manifest:{path:i.getHeadeFacetSettingPath}}),r.validity({since:"1.81.0"})],CommonHeaderFacetSettings.prototype,"stashed",void 0),a([r.syncRule({manifest:{path:i.getHeadeFacetSettingPath}}),r.validity({since:"1.81.0"})],CommonHeaderFacetSettings.prototype,"flexSettings",void 0),t.CommonHeaderFacetSettings=CommonHeaderFacetSettings;t.ObjectPageHeaderSectionForm=class ObjectPageHeaderSectionForm extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionChart=class ObjectPageHeaderSectionChart extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionDataPoint=class ObjectPageHeaderSectionDataPoint extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionContact=class ObjectPageHeaderSectionContact extends CommonHeaderFacetSettings{};t.ObjectPageHeaderSectionAddress=class ObjectPageHeaderSectionAddress extends CommonHeaderFacetSettings{};t.HeaderSections=class HeaderSections{}},861:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ObjectPageLayout{}a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],ObjectPageLayout.prototype,"sectionLayout",void 0),t.ObjectPageLayout=ObjectPageLayout},101:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5008),i=n(2762),o=n(8992),s=n(6460);class TableCreationModeOP{}a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportCreationModeName(e,t,n,a)},delete:(e,t,n,a)=>{s.deleteCreationModeName(e,a)}}})],TableCreationModeOP.prototype,"name",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportCreationModeCreateAtEnd(e,t,n,a)},delete:(e,t,n,a)=>{s.deleteCreationModeCreateAtEnd(e,a)}}})],TableCreationModeOP.prototype,"createAtEnd",void 0),t.TableCreationModeOP=TableCreationModeOP;class PersonalizationTypeOP{}a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportPersonalizationProperty(e,t,n,a)},delete:(e,t,n,a)=>{s.deletePersonalizationProperty(e,a)}}})],PersonalizationTypeOP.prototype,"column",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportPersonalizationProperty(e,t,n,a)},delete:(e,t,n,a)=>{s.deletePersonalizationProperty(e,a)}}})],PersonalizationTypeOP.prototype,"sort",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n),export:(e,t,n,a)=>{s.exportPersonalizationProperty(e,t,n,a)},delete:(e,t,n,a)=>{s.deletePersonalizationProperty(e,a)}}})],PersonalizationTypeOP.prototype,"filter",void 0),t.PersonalizationTypeOP=PersonalizationTypeOP;class QuickVariantSelectionV4OP{}a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n)+r.QUICKVARPATH}})],QuickVariantSelectionV4OP.prototype,"paths",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n)+r.QUICKVARPATH}})],QuickVariantSelectionV4OP.prototype,"hideTableTitle",void 0),a([i.syncRule({manifest:{path:(e,t,n)=>o.getTableSettingsPathForOP(e,t,n)+r.QUICKVARPATH}})],QuickVariantSelectionV4OP.prototype,"showCounts",void 0),t.QuickVariantSelectionV4OP=QuickVariantSelectionV4OP;class ObjectPageTable{}a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"type",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP,import:e=>{const t=e.creationMode;return"object"==typeof t?t:"string"==typeof t?{name:t}:void 0}}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"creationMode",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP,import:e=>{const t=e.personalization;return"object"==typeof t?t:"boolean"==typeof t?{column:t,sort:t,filter:t}:void 0}}}),i.validity({since:"1.86.0"})],ObjectPageTable.prototype,"personalization",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"selectionMode",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"selectAll",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"selectionLimit",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"enableExport",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"quickVariantSelection",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"condensedTableLayout",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.86.0"})],ObjectPageTable.prototype,"enableFullScreen",void 0),a([i.syncRule({manifest:{path:o.getTableSettingsPathForOP}}),i.validity({since:"1.84.0"})],ObjectPageTable.prototype,"enablePaste",void 0),t.ObjectPageTable=ObjectPageTable},2177:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ActionAfterExecutionConfigurationOP{}a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForOP(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfigurationOP.prototype,"navigateToInstance",void 0),a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForOP(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfigurationOP.prototype,"enableAutoScroll",void 0),t.ActionAfterExecutionConfigurationOP=ActionAfterExecutionConfigurationOP;class ObjectPageTableColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.85.0"})],ObjectPageTableColumn.prototype,"availability",void 0),t.ObjectPageTableColumn=ObjectPageTableColumn;t.ObjectPageTableColumnAction=class ObjectPageTableColumnAction extends ObjectPageTableColumn{};class ObjectPageTableCustomColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableCustomColumn.prototype,"header",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableCustomColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForOP}}),r.validity({since:"1.84.0"})],ObjectPageTableCustomColumn.prototype,"template",void 0),t.ObjectPageTableCustomColumn=ObjectPageTableCustomColumn},100:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ObjectPageToolBarAction{}a([r.syncRule({manifest:{path:i.getActionsPathForOP}})],ObjectPageToolBarAction.prototype,"enableOnSelect",void 0),t.ObjectPageToolBarAction=ObjectPageToolBarAction},6460:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5008),i=n(2762),o=n(8992);function s(e,t,n,a){"object"==typeof e.creationMode?e.creationMode[a]=t[n]:"string"==typeof e.creationMode&&(e.creationMode=t[n])}function c(e,t,n,a){"boolean"!=typeof e.personalization&&e.personalization||(e.personalization={}),e.personalization[a]=t[n]}function l(e,t){"object"==typeof e.creationMode&&void 0!==e.creationMode[t]?delete e.creationMode[t]:"string"==typeof e.creationMode&&void 0!==e.creationMode&&delete e.creationMode}function u(e,t){"object"==typeof e.personalization&&void 0!==e.personalization[t]?delete e.personalization[t]:"string"==typeof e.personalization&&void 0!==e.personalization&&delete e.personalization}function p(e,t,n,a){"object"==typeof e.creationMode?e.creationMode[a]=t[n]:"string"==typeof e.creationMode&&(e.creationMode={name:t.name,[a]:t[n]})}function f(e,t){"object"==typeof e.creationMode&&void 0!==e.creationMode[t]&&delete e.creationMode[t]}t.exportCreationModeName=s,t.exportPersonalizationProperty=c,t.deleteCreationModeName=l,t.deletePersonalizationProperty=u,t.exportCreationModeCreateAtEnd=p,t.deleteCreationModeCreateAtEnd=f;class TableCreationMode{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{s(e,t,n,a)},delete:(e,t,n,a)=>{l(e,a)}}})],TableCreationMode.prototype,"name",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{p(e,t,n,a)},delete:(e,t,n,a)=>{f(e,a)}}})],TableCreationMode.prototype,"createAtEnd",void 0),t.TableCreationMode=TableCreationMode;class PersonalizationType{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{c(e,t,n,a)},delete:(e,t,n,a)=>{u(e,a)}}})],PersonalizationType.prototype,"column",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{c(e,t,n,a)},delete:(e,t,n,a)=>{u(e,a)}}})],PersonalizationType.prototype,"sort",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),export:(e,t,n,a)=>{c(e,t,n,a)},delete:(e,t,n,a)=>{u(e,a)}}})],PersonalizationType.prototype,"filter",void 0),t.PersonalizationType=PersonalizationType;class QuickVariantSelectionV4{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)+r.QUICKVARPATH}})],QuickVariantSelectionV4.prototype,"paths",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)+r.QUICKVARPATH}})],QuickVariantSelectionV4.prototype,"hideTableTitle",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)+r.QUICKVARPATH}})],QuickVariantSelectionV4.prototype,"showCounts",void 0),t.QuickVariantSelectionV4=QuickVariantSelectionV4;class MultiTableModeV4{}a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)+"/views"}})],MultiTableModeV4.prototype,"paths",void 0),a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)+"/views"}})],MultiTableModeV4.prototype,"showCounts",void 0),t.MultiTableModeV4=MultiTableModeV4;class Table{}a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"type",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),import:e=>{const t=e.creationMode;return"object"==typeof t?t:"string"==typeof t?{name:t}:void 0}}}),i.validity({since:"1.84.0"})],Table.prototype,"creationMode",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e),import:e=>{const t=e.personalization;return"object"==typeof t?t:"boolean"==typeof t?{column:t,sort:t,filter:t}:void 0}}}),i.validity({since:"1.86.0"})],Table.prototype,"personalization",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"selectionMode",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"selectAll",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"selectionLimit",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"enableExport",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"condensedTableLayout",void 0),a([i.syncRule({manifest:{path:e=>o.getTableSettingsPathForLR(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"quickVariantSelection",void 0),a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"views",void 0),a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)}}),i.validity({since:"1.84.0"})],Table.prototype,"initialLoad",void 0),t.Table=Table},6437:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ActionAfterExecutionConfiguration{}a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForLR(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfiguration.prototype,"navigateToInstance",void 0),a([r.syncRule({manifest:{path:(e,t,n,a)=>i.getColumnsPathForLR(e,t,n,a)+"/afterExecution"}})],ActionAfterExecutionConfiguration.prototype,"enableAutoScroll",void 0),t.ActionAfterExecutionConfiguration=ActionAfterExecutionConfiguration;class TableColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.85.0"})],TableColumn.prototype,"availability",void 0),t.TableColumn=TableColumn;class TableColumnAction extends TableColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableColumnAction.prototype,"afterExecution",void 0),t.TableColumnAction=TableColumnAction;class TableCustomColumn{}a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableCustomColumn.prototype,"header",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableCustomColumn.prototype,"width",void 0),a([r.syncRule({manifest:{path:i.getColumnsPathForLR}}),r.validity({since:"1.84.0"})],TableCustomColumn.prototype,"template",void 0),t.TableCustomColumn=TableCustomColumn},5230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ToolBar=class ToolBar{}},1707:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);class ToolBarAction{}a([r.syncRule({manifest:{path:i.getActionsPathForLR}})],ToolBarAction.prototype,"enableOnSelect",void 0),t.ToolBarAction=ToolBarAction},1107:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(6460)),a(n(6437)),a(n(5230)),a(n(1707)),a(n(100)),a(n(1735)),a(n(2177)),a(n(9509)),a(n(8434)),a(n(861)),a(n(101)),a(n(4086))},1271:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(8992),i=n(3220),o=n(5555),s=n(6739),c=n(9081),l=n(5709),u={flexChanges:[],manifest:{"sap.ui5":{flexEnabled:!0,routing:{targets:{}}},"sap.app":{}},fragments:[]};function p(e,t,n,r,i,o,l){let u=e.indexOf("subsections");for(;u>-1;)e.splice(u-1,2),u=e.indexOf("subsections");const{targetAnnotationEncoded:p,targetAnnotation:f,custom:d}=function(e,t){let n="",a="",r=!1;return"sections"===e[0]&&("custom"===e[1]&&e[2]!==e[e.length-1]?(r=!0,a=e[2],n=a.replace(/::/g,"/")):(a=e[1]&&e[1].replace(/\//g,"::"),n=a.replace(/::/g,"/"))),"sections"===e[1]&&(n=a=t&&t.indexOf(s.FacetTitlePrefix)>-1?t.split(s.FacetTitlePrefix)[1]:a.replace(/::/g,"/")),{targetAnnotationEncoded:a,targetAnnotation:n,custom:r}}(e,n.title),h=function(e){let t;const n=e.findIndex((e=>"columns"===e||"actions"===e))+1;return n>0&&(t=e[n]),t}(e),g=t.manifest.path(n.pageNameArray,{},p,h),m=a.getManifestSectionByPathV4(n.exportResults.manifest,g,f,d?void 0:p),y=t.manifest.key||r;if(void 0!==i[r])!function(e,t,n,a,r,i,o){if("array"!==e.type&&t&&"object"===t.targetDefinition.type&&t.targetDefinition.properties)"array"!==e.type&&void 0===a[o]&&(a[o]={});else{const e=n.manifest.export;!1!==e&&(e&&"function"==typeof e?e(a,r,i,o):Array.isArray(r[i])&&!r[i].length?delete a[o]:a[o]=r[i])}}(o,l,t,m,i,r,y);else if(void 0!==m[y])delete m[y];else if(t.manifest.delete){const e=t.manifest.delete;"function"==typeof e&&e(m,i,r,y)}c.deleteEmptyStructure(n.exportResults.manifest,g,f,p)}function f(e,t,n,r,i,o,s){const c=a.getReflectMetadata(r,n);c&&(c.flex?function(e,t,n,r,i,o){const s=e.flex.controlId(t.baseId,n,r,e.flex.controlType,t.title),c=a.fillFlexChangeContent(i,e,t.ui5Version,o,s);t.exportResults.flexChanges.push(e.flex.createFlexChange(c,t.exportResults.manifest))}(c,e,i,t,r,n):c.manifest&&p(i,c,e,n,r,o,s))}function d(e,t,n,a,r,i,o,s){let c=[],l=!1;e.$ref&&t?c.push(t.configObject):e.anyOf?c.push(n):"array"===e.type?(c=n,l=!0):c.push(n);for(const e of c){const n=[];"sections"===a[0]&&"custom"===r&&l&&n.push(e.id),i.title=t.title,h(i,e,[...o,...n],s,[...a,r],t.targetDefinition)}}function h(e,t,n,r,i,o){let s;if(o&&o.properties)for(const l in o.properties){s=t[l];const u=a.getChildId(t,l),p=o.properties[l],h=c.getNextTargetDefinition(e.appSchema,e.title,s,p,l,e.factory,e.pageType),g=u?[...n,u]:[...n,l];if(f(e,i,l,t,g,p,h),p&&("object"==typeof s||p.$ref&&h.configObject)){d(p,h,s,i,l,e,g,u?[...r,u]:r)}}}function g(e,t,n){if("custom"===t&&Array.isArray(e.sections[t])){const t=e.sections.custom;for(let e=0;e<t.length;e++)t[e]=n.createInstance(s.PageType.ObjectPage,"ObjectPageCustomSectionView",t[e],t[e].className)}}function m(e,t){if(e.subsections){let n;for(const a in e.subsections)n=e.subsections[a],g(n,a,t),m(n,t)}}const y=(e,t)=>{var n;const r=u;r.manifest=JSON.parse(JSON.stringify(e.manifest));const i=new l.MetadataInstanceFactoryV4,o=i.createPageInstance(s.PageType.ObjectPage,e.page.config),c=a.getPageLayoutInformation(o),p=e.page.name,f=`${e.appId}::${c.id}::${p}--`;(null===(n=e.page.config)||void 0===n?void 0:n.sections)&&function(e,t,n){let a;for(const r in e.sections)a=t.sections[r],g(e,r,n),m(a,n)}(e.page.config,o,i);return h({exportResults:r,appId:e.appId,baseId:f,appSchema:e.jsonSchema,ui5Version:t,factory:i,pageNameArray:[p],pageType:s.PageType.ObjectPage,title:void 0},o,[],[],[],e.jsonSchema),r},v=(e,t,n,r,i)=>{var o;const c=u;if(c.manifest=JSON.parse(JSON.stringify(e.manifest)),n.table=t.createInstance(r,"Table",n.table),null===(o=n.table.toolBar)||void 0===o?void 0:o.actions)for(const a in e.jsonSchema.definitions["Actions<LineItems>"].properties)n.table.toolBar.actions[a]=t.createInstance(r,"ToolBarAction",n.table.toolBar.actions[a]);const l=a.getPageLayoutInformation(n),p=e.page.name,f=`${e.appId}::${l.id}::${p}--`;if(!c.manifest[s.ManifestSection.ui5].routing.targets[p]){const e={type:"Component",id:"",name:l.pageId,options:{settings:{entitySet:p,navigation:{},controlConfiguration:{}}}};c.manifest[s.ManifestSection.ui5].routing.targets[p]=e}return h({exportResults:c,appId:e.appId,baseId:f,appSchema:e.jsonSchema,ui5Version:i,factory:t,pageNameArray:[p],pageType:s.PageType.ListReport,title:void 0},n,[],[],[],e.jsonSchema),c};t.exportPageV4=(e,t)=>{if(e[s.SchemaType.ListReport])return((e,t)=>{const n=new l.MetadataInstanceFactoryV4,a=n.createPageInstance(s.PageType.ListReport,e.page.config);return v(e,n,a,s.PageTypeV4.ListReport,t)})(e[s.SchemaType.ListReport],t);if(e[s.SchemaType.ObjectPage])return y(e[s.SchemaType.ObjectPage],t);if(e[s.SchemaType.Application]){const{application:t,manifest:n,jsonSchema:l}=e[s.SchemaType.Application];return((e,t,n)=>{const l=u;l.manifest=JSON.parse(JSON.stringify(t));const p=Object.assign(new r.ApplicationV4,e);p.settings=Object.assign(new r.AppSettings,p.settings);for(const t in n.definitions.AppSettings.properties){const n=a.getReflectMetadata(p.settings,t);if(n&&n.manifest){const r=n.manifest.path(),i=a.getManifestSectionByPathV4(l.manifest,r);e.settings&&e.settings[t]?i[t]=e.settings[t]:delete i[t],c.deleteEmptyStructure(l.manifest,r)}}return l.manifest[s.ManifestSection.ui5].routing=i.transformRoutingV4(e.home,e.pages,l.manifest),o.updateFcl(l.manifest[s.ManifestSection.ui5],e),l})(t,n,l)}return e[s.SchemaType.AnalyticalListPage]?((e,t)=>{const n=new l.MetadataInstanceFactoryV4,a=n.createPageInstance(s.PageType.AnalyticalListPage,e.page.config);return v(e,n,a,s.PageTypeV4.AnalyticalListPage,t)})(e[s.SchemaType.AnalyticalListPage],t):void 0}},5709:function(e,t,n){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1107)),i=a(n(7601)),o=n(6785),s=n(6971),c={Table:r.ObjectPageTable,TableColumn:r.ObjectPageTableColumn,ObjectPageCustomSectionView:r.ObjectPageCustomSectionFragment,ActionAfterExecutionConfiguration:r.ActionAfterExecutionConfigurationOP},l={[s.PageType.AnalyticalListPage]:{},[s.PageType.ListReport]:{},[s.PageType.ObjectPage]:c};class MetadataInstanceFactoryV4 extends o.MetadataFactory{constructor(){super(r,i,l)}}t.MetadataInstanceFactoryV4=MetadataInstanceFactoryV4},5555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5877),r=n(3220),i=n(6391),o=[a.FlexibleColumnLayoutAggregations.BeginColumnPages,a.FlexibleColumnLayoutAggregations.MidColumnPages,a.FlexibleColumnLayoutAggregations.EndColumnPages],s=(e,t,n,i=[],c=0)=>{const l=t.pages[n],u=e.routing.routes.find((e=>e.name===n));"string"==typeof u.target&&(u.target=c<=2?[...i,u.target]:[u.target]);const p=e.routing.targets[n];p.controlAggregation="controlAggregation"in l?l.controlAggregation:o[c]?o[c]:a.FlexibleColumnLayoutAggregations.EndColumnPages;const f=u.pattern.replace(r.Constants.OptionalQuery,"");if(p.contextPattern=f?`/${f}`:"",l.navigation){c++;for(const n in l.navigation)s(e,t,n,u.target,c)}};t.updateFcl=(e,t)=>{t.settings&&t.settings.flexibleColumnLayout?((e,t)=>{e.routing.config||(e.routing.config={}),e.routing.config.routerClass=a.FIORI_FCL_ROUTER_CLASS,s(e,t,t.home);const n={viewName:a.FIORI_FCL_ROOT_VIEW_NAME,type:a.ViewTypes.XML,async:!0,id:a.FIORI_FCL_ROOT_ID};e.rootView=e.rootView?Object.assign(Object.assign({},e.rootView),n):n,i.updateDependencyLib(e,a.SAPUI5_DEPENDENCY_LIB_SAP_F)})(e,t):(e=>{if(e.rootView&&e.rootView.viewName===a.FIORI_FCL_ROOT_VIEW_NAME&&delete e.rootView,e.routing){e.routing.config&&e.routing.config.routerClass===a.FIORI_FCL_ROUTER_CLASS&&delete e.routing.config.routerClass;const t=e.routing.routes||[];for(const e of t)e.target&&Array.isArray(e.target)&&(e.target=e.name)}})(e)}},3220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6739);var r;!function(e){e.OptionalQuery=":?query:",e.Component="sap/fe/AppComponent",e.Namespace="sap.fe.templates"}(r=t.Constants||(t.Constants={}));const i=(e,t,n)=>({pattern:n,name:e,target:t}),o=(e,t)=>({settings:Object.assign(Object.assign(Object.assign({},e&&{entitySet:e}),t&&{variantManagement:t}),{navigation:{}})});function s(e,t,n){e.options||(e.options=o()),e.options.settings||(e.options.settings={}),e.options.settings.navigation||(e.options.settings.navigation={}),e.options.settings.navigation[t]={detail:{route:n}}}function c(e,t){let n="";return e.forEach(((e,r)=>{let i="";t!==a.PageTypeV4.ListReport&&(i=`({key${r?r+1:""}})`),n+=`${n?"/":""}${e}${i}`})),n}function l(e,t,n,o){if(e.navigation)for(const l in e.navigation){const u=e.navigation[l].split("."),p=t[l]&&t[l].pageType,f=c(u,p);let d=u[u.length-1];p!==a.PageTypeV4.ListReport&&(p!==a.PageTypeV4.CustomPage||t[l].entitySet||d)||(d=l),d&&s(n,d,l),o.routes.some((e=>e.name===l))||o.routes.push(i(l,l,`${f}${r.OptionalQuery}`))}}function u(e,t){var n,a,r,i,s,c;e.entitySet?(t.options||(t.options=o(e.entitySet,e.variantManagement)),t.options.settings.entitySet=e.entitySet,(null===(i=null===(r=null===(a=null===(n=null==t?void 0:t.options)||void 0===n?void 0:n.settings)||void 0===a?void 0:a.content)||void 0===r?void 0:r.body)||void 0===i?void 0:i.sections)&&(t.options.settings.content.body.sections={})):null===(c=null===(s=t.options)||void 0===s?void 0:s.settings)||void 0===c||delete c.entitySet}function p(e,t,n){const a=e.routes.find((e=>e.name===t));a&&(n.defaultLayoutType?a.layout=n.defaultLayoutType:delete a.layout)}t.transformRoutingV4=function(e,t,n){var o,s;const c=function(e){let t=e;return t?(t.routes||(t.routes=[]),t.targets||(t.targets={})):t={routes:[],targets:{}},t}(n[a.ManifestSection.ui5].routing);e&&!c.routes.some((t=>t.name===e))&&c.routes.push(i(e,e,r.OptionalQuery));for(const e in t){let n;const i=t[e];c.targets[e]&&(n=c.targets[e]),i.pageType&&i.pageType!==a.PageTypeV4.CustomPage?n=Object.assign(Object.assign({},n),{type:"Component",id:e,name:`${r.Namespace}.${t[e].pageType}`}):i.view&&n&&(n.viewName||n.viewId)?(n=Object.assign(Object.assign({},n),{viewName:i.view.name}),i.view.id&&(n.viewId=i.view.id)):i.view&&(n=Object.assign(Object.assign({},n),{type:"Component",id:i.view.id,name:`${a.FE_TEMPLATE_V4_CUSTOM_PAGE}`,options:{settings:{viewName:i.view.name}}})),u(i,n),n&&!i.controlAggregation&&(delete n.contextPattern,delete n.controlAggregation),(null===(s=null===(o=null==n?void 0:n.options)||void 0===o?void 0:o.settings)||void 0===s?void 0:s.navigation)&&(n.options.settings.navigation={}),l(i,t,n,c),p(c,e,i),c.targets[e]=n}return function(e,t){for(const n in e.targets)if(!t||!t[n]){delete e.targets[n];const t=e.routes.findIndex((e=>e.name===n));-1!==t&&e.routes.splice(t,1)}}(c,t),c}},8535:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5877),i=n(2762),o=n(8992);let s=class AnalyticalListPage{};a([i.syncRule({manifest:{path:e=>o.getSettingsPathForPage(e)}}),i.validity({since:"1.84.0"})],s.prototype,"variantManagement",void 0),a([i.childId("fe::FilterBar")],s.prototype,"filterBar",void 0),a([i.childId("fe::table")],s.prototype,"table",void 0),s=a([i.pageLayoutInformation({id:r.FE_TEMPLATE_V4_ALP,pageId:r.FE_TEMPLATE_V4_ALP})],s),t.AnalyticalListPage=s},3643:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);let o=class ListReport{};a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],o.prototype,"variantManagement",void 0),a([r.childId("fe::FilterBar")],o.prototype,"filterbar",void 0),o=a([r.pageLayoutInformation({id:"sap.suite.ui.generic.template.ListReport.view.ListReport",pageId:"sap.suite.ui.generic.template.ListReport"})],o),t.ListReport=o},7066:function(e,t,n){"use strict";var a=this&&this.__decorate||function(e,t,n,a){var r,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2762),i=n(8992);let o=class ObjectPage{};a([r.childId("header")],o.prototype,"header",void 0),a([r.childId("layout")],o.prototype,"layout",void 0),a([r.syncRule({manifest:{path:e=>i.getSettingsPathForPage(e)}}),r.validity({since:"1.84.0"})],o.prototype,"variantManagement",void 0),a([r.childId("sections")],o.prototype,"sections",void 0),o=a([r.pageLayoutInformation({id:"sap.suite.ui.generic.template.ObjectPage.view.Details",pageId:"sap.suite.ui.generic.template.ObjectPage"})],o),t.ObjectPage=o},7601:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3643)),a(n(7066)),a(n(8535))},6391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateDependencyLib=function(e,t,n=!0){n?(e.dependencies||(e.dependencies={}),e.dependencies.libs||(e.dependencies.libs={}),void 0===e.dependencies.libs[t]&&(e.dependencies.libs[t]={})):e.dependencies&&e.dependencies.libs&&void 0!==e.dependencies.libs[t]&&delete e.dependencies.libs[t]}},6151:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9081),r=n(6882),i=n(4027);t.generateObjectPageInterfaceV4=function(e,t,n,o,s){const c=a.parseAndMergeAndConvert(n,s),l={fioriElementsVersion:i.FioriElementsVersion.v4,manifest:o,fragments:[],serviceAVT:c,logger:s};return r.generateObjectPageSchemaV4(l,e,t)},t.generateListReportInterfaceV4=function(e,t,n,i){const o=a.parseAndMergeAndConvert(n,i),s=o.entitySets.find((e=>e.name===t));return r.generateListReportSchemaV4(e,s.entityType.name,o,i)}},6882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(8106);t.generateListReportSchemaV4=a.generateListReportSchemaV4;var r=n(7067);t.generateObjectPageSchemaV4=r.generateObjectPageSchemaV4;var i=n(6151);t.generateListReportInterfaceV4=i.generateListReportInterfaceV4,t.generateObjectPageInterfaceV4=i.generateObjectPageInterfaceV4},8106:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(9154)),i=n(5921),o=n(9190),s=n(5008);function c(e,t,n){s.addEnumForSingleTabVariant(e,t,"AnnotationPathAsObject"),s.addEnumForMultiTabVariant(n,t,"AnnotationPathWithKey"),s.addEnumForVariantEntitySet(n,t,"AnnotationPathWithKey")}t.addEnumForVariantPaths=c,t.generateListReportSchemaV4=function(e,t,n,a){var l,u,p,f;const d=JSON.parse(JSON.stringify(e)),h=null==n?void 0:n.entityTypes.find((e=>e.name===t));if(h){const e=s.findAlias(s.UIVOCABULARY,n),t=null===(u=null===(l=null==h?void 0:h.annotations)||void 0===l?void 0:l[e])||void 0===u?void 0:u.LineItem;d.definitions.Table.properties.toolBar.$ref=`${s.DEFINITION_LINK_PREFIX}ToolBar<LineItems>`,o.addLineItemsType(d,t,h,n,"TableColumn"),c(h,d,n);!function(e,t,n){const a=t.definitions.SelectionFields;if(a.additionalProperties=!1,a.properties={},a.annotationPath=s.createAnnotationPath(e.fullyQualifiedName,"com.sap.vocabularies.UI.v1.SelectionFields"),!n)return;let r=0;n.forEach((n=>{var i;let o=n.value;const c="SelectionField::"+s.prepareRef(n.value);"PropertyPath"===n.type&&(o=s.getLabelForPropertyPath(n,e)),a.properties[c]={$ref:s.DEFINITION_LINK_PREFIX+c,propertyIndex:r},t.definitions[c]={type:"object",properties:{},description:o,annotationPath:`${a.annotationPath}/${r}`,isViewNode:!0,additionalProperties:!1,annotationType:null==n?void 0:n.type,dataType:null===(i=null==n?void 0:n.$target)||void 0===i?void 0:i.type.replace("Edm.","")},r++}))}(h,d,null===(f=null===(p=null==h?void 0:h.annotations)||void 0===p?void 0:p[e])||void 0===f?void 0:f.SelectionFields),d.definitions.Table.properties.columns.$ref=s.DEFINITION_LINK_PREFIX+"LineItems",delete d.definitions.GenericColumns,delete d.definitions.ToolBar,delete d.definitions.Actions,delete d.definitions.Action}else i.log(a,{severity:"error",message:r.default.t("NOENTITYTYPE",{entityType:t}),location:{path:s.METADATAPATH}});return d}},7067:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(6739),o=n(5008),s=n(9190),c=a(n(9154)),l=n(5921);function u(e,t,n,a,r){return(i,s)=>{if(!i.Determining&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===i.$Type||"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===i.$Type){const c=o.replaceAlias(i.Action,r),{actionName:l,actionId:u}=o.getActionNameAndId(c,e),p=i.Label||l,f=`HeaderAction<${o.prepareRef(u)}>`,d=n.fullyQualifiedName.replace("@com.sap.vocabularies.UI.v1.Identification","/@com.sap.vocabularies.UI.v1.Identification");t.definitions[f]={isViewNode:!0,type:"object",properties:{},description:p,annotationPath:`/${d}/${s}`},a.properties[u]={$ref:`${o.DEFINITION_LINK_PREFIX}${f}`}}}}function p(e,t,n,a,c,l){const u=e[t],f=t.replace("#","::");if("CollectionFacet"===u.base)n.properties[t]=o.createSectionWithoutProperties(u,t),function(e,t,n,a,r,i){n.properties[t].properties={subsections:{additionalProperties:!1,type:"object",properties:{},annotationPath:e.annotationPath,isViewNode:!0,description:"Subsections"}};const o=n.properties[t].properties.subsections;for(const t in e.facets)p(e.facets,t,o,a,r,i)}(u,t,n,a,c,l);else if("LineItem"===u.base&&l===i.SectionType.Section){const r=`ObjectPage${l}TableV4<${f}>`;n.properties[t]={$ref:`${o.DEFINITION_LINK_PREFIX}${r}`},function(e,t,n,a,r){let i="",c="";[i,c]=t.split("::");const l="ObjectPageSectionTableV4<"+t+">";a.definitions[l]=JSON.parse(JSON.stringify(a.definitions.ObjectPageSectionTableV4));const u=`ObjectPageTable<${t}>`;a.definitions[l].properties.table.$ref=`${o.DEFINITION_LINK_PREFIX}${u}`,a.definitions[u]=JSON.parse(JSON.stringify(a.definitions.ObjectPageTable)),a.definitions[l].annotationPath=e.annotationPath,o.addSectionTitleAndDescription(e,a.definitions[l],t),a.definitions[l].properties.table.$ref=o.DEFINITION_LINK_PREFIX+"ObjectPageTable<"+t+">";const p="ObjectPageTable<"+t+">";a.definitions[p]=JSON.parse(JSON.stringify(a.definitions.ObjectPageTable)),e.entityType&&c&&(a.definitions[p].annotationPath=`/${e.entityType.fullyQualifiedName}/${c}`),a.definitions[p].properties.columns={$ref:o.DEFINITION_LINK_PREFIX+t},a.definitions[p].properties.toolBar.$ref=`${o.DEFINITION_LINK_PREFIX}ObjectPageToolBar<${t}>`,a.definitions[p].properties.quickVariantSelection.$ref=`${o.DEFINITION_LINK_PREFIX}QuickVariantSelectionV4OP<${t}>`,a.definitions[`QuickVariantSelectionV4OP<${t}>`]=JSON.parse(JSON.stringify(a.definitions.QuickVariantSelectionV4OP)),a.definitions[`AnnotationPathAsObject<${t}>`]=JSON.parse(JSON.stringify(a.definitions.AnnotationPathAsObject)),a.definitions[`QuickVariantSelectionV4OP<${t}>`].properties.paths.items.$ref=`${o.DEFINITION_LINK_PREFIX}AnnotationPathAsObject<${t}>`,o.addEnumForSingleTabVariant(e.entityType,a,`AnnotationPathAsObject<${t}>`);for(const e in n)"LineItem"===n[e].base&&e.includes(i)&&s.addLineItemsType(a,n[e].target,n[e].entityType,r,"ObjectPageTableColumn",t)}(u,f,e,a,c)}else if(u.base===o.FacetBase.Form||u.base===o.FacetBase.Identification){!function(e,t,n,a,i,s){n.properties[t]={$ref:`${o.DEFINITION_LINK_PREFIX}${s}`},a.definitions[s]=JSON.parse(JSON.stringify(a.definitions[`ObjectPage${i}Form`])),e.ID||(a.definitions[s].properties={}),o.addSectionTitleAndDescription(e,a.definitions[s],t),a.definitions[s].annotationPath=e.annotationPath,a.definitions[s].isViewNode=!0;const c=!(e.base===o.FacetBase.Identification&&t.indexOf("#")<0);o.handleForm(i,e,a.definitions[s],a,r.FioriElementsVersion.v4,c)}(u,t,n,a,l,`ObjectPage${l}Form<${f}>`)}else if(u.base===o.FacetBase.DataPoint||u.base===o.FacetBase.Address||u.base===o.FacetBase.Contact){!function(e,t,n,a,r,i){n.properties[t]={$ref:`${o.DEFINITION_LINK_PREFIX}${i}`},a.definitions[i]=JSON.parse(JSON.stringify(a.definitions[`ObjectPage${r}${e.base}`])),o.addSectionTitleAndDescription(e,a.definitions[i],t),a.definitions[i].annotationPath=e.annotationPath,a.definitions[i].isViewNode=!0}(u,t,n,a,l,`ObjectPage${l}${u.base}<${f}>`)}else n.properties[t]=o.createSectionWithoutProperties(u,t)}function f(e,t,n,a,s){o.addCommonHeaderSchema(t,n),o.addHeaderActions(t,n,null==e?void 0:e.serviceAVT,u),t.definitions.HeaderSections.annotationPath=`/${a.entityType.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.HeaderFacets`,function(e,t,n,a,s){const c=o.getObjectPageHeaderFacets(n,null==e?void 0:e.serviceAVT,r.FioriElementsVersion.v4,e.logger),l=t.definitions.HeaderSections;l.properties={},l.additionalProperties=!1,c&&(Object.keys(s).forEach((n=>{var r,o;if((null===(o=null===(r=s[n].options)||void 0===r?void 0:r.settings)||void 0===o?void 0:o.entitySet)===a&&s[n].name===i.FE_TEMPLATE_V4_OBJECT_PAGE)for(const n in c)p(c,n,l,t,null==e?void 0:e.serviceAVT,i.SectionType.HeaderSection)})),delete t.definitions.ObjectPageHeaderSectionForm,delete t.definitions.ObjectPageHeaderSectionChart,delete t.definitions.ObjectPageHeaderSectionDataPoint,delete t.definitions.ObjectPageHeaderSectionContact,delete t.definitions.ObjectPageHeaderSectionAddress)}(e,t,n,a.name,s)}t.generateObjectPageSchemaV4=function(e,t,n){var a,s;const u=JSON.parse(JSON.stringify(t));u.properties.sections={$ref:o.DEFINITION_LINK_PREFIX+"Sections"};const d=null===(s=null===(a=null==e?void 0:e.serviceAVT)||void 0===a?void 0:a.entitySets)||void 0===s?void 0:s.find((e=>e.entityType.name===n));d||l.log(e.logger,{severity:"error",message:c.default.t("NOENTITYSET4NAME",{entityType:n}),location:{path:o.METADATAPATH}});const h=null==d?void 0:d.entityType;if(e.manifest[r.ManifestSection.ui5].routing&&e.manifest[r.ManifestSection.ui5].routing.targets||l.log(e.logger,{severity:"error",message:c.default.t("NOROUTING"),location:{path:i.MANIFESTPATH}}),u.definitions.Sections={type:"object",properties:{},additionalProperties:!1,isViewNode:!0,description:"Sections"},d){const t=e.manifest[r.ManifestSection.ui5].routing.targets;if(!t)return l.log(e.logger,{severity:"error",message:c.default.t("NOPAGES",{appId:e.manifest["sap.app"].id}),location:{path:i.MANIFESTPATH,range:[r.ManifestSection.generic]}}),u;f(e,u,h,d,t),u.definitions.Sections.annotationPath=`/${d.entityType.fullyQualifiedName}/@com.sap.vocabularies.UI.v1.Facets`,function(e,t,n,a,s){const c=o.getObjectPageFacets(n,null==e?void 0:e.serviceAVT,r.FioriElementsVersion.v4,e.logger);if(!c)return void delete t.definitions.ObjectPageSubSections;const l=t.definitions.Sections;Object.keys(s).forEach((n=>{var r,o;if((null===(o=null===(r=s[n].options)||void 0===r?void 0:r.settings)||void 0===o?void 0:o.entitySet)===a&&s[n].name===i.FE_TEMPLATE_V4_OBJECT_PAGE)for(const n in c)p(c,n,l,t,null==e?void 0:e.serviceAVT,i.SectionType.Section)})),t.definitions.CustomSections&&(l.properties=Object.assign(Object.assign({},l.properties),t.definitions.CustomSections.properties))}(e,u,h,d.name,t),function(e,t,n,a,r){Object.keys(r).forEach((s=>{if(r[s].options&&r[s].options.settings&&r[s].options.settings.entitySet===a&&r[s].name===i.FE_TEMPLATE_V4_OBJECT_PAGE){const a=o.getObjectPageFacetSection(n,null==e?void 0:e.serviceAVT,e.logger),i=r[s];i.options&&i.options.settings&&i.options.settings.content&&i.options.settings.content.body&&i.options.settings.content.body.sections&&Object.keys(i.options.settings.content.body.sections).forEach((function(e){a.find((t=>t.key===e))||a.push({key:e,custom:!0})})),o.addDefinitionForRelatedFacetKeys(t,["ObjectPageCustomSectionFragment"],a,["ID","label","key"])}}))}(e,u,h,d.name,t),o.addFooterActions(u,h,null==e?void 0:e.serviceAVT)}return delete u.definitions.GenericSections,delete u.definitions.ObjectPageSubSections,delete u.definitions.ObjectPageTable,delete u.definitions.GenericColumns,delete u.definitions.ObjectPageSectionTableV4,delete u.definitions.ObjectPageSectionForm,delete u.definitions.ObjectPageSectionDataPoint,delete u.definitions.ObjectPageSectionAddress,delete u.definitions.ObjectPageSectionContact,delete u.definitions.ObjectPageToolBar,delete u.definitions.ObjectPageToolBarActions,delete u.definitions.ObjectPageToolBarAction,delete u.definitions.QuickVariantSelectionV4OP,u}},8083:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4093),i=n(8992),o=n(5008),s=n(3381),c=n(8548),l=n(1168),u=n(5877),p=n(6971),f=n(1491),d=n(5008),h=n(3435),g=n(5921),m=a(n(9154));!function(e){e.OptionalQuery=":?query:",e.Component="sap/fe/AppComponent",e.Namespace="sap.fe.templates"}(t.Constants||(t.Constants={}));const y=[];let v={};function b(e,t){const n=e.target,a=t.target,r=Array.isArray(n),i=Array.isArray(a);return r&&i?n.length-a.length:r||i?r?1:-1:0}function P(e,t=[]){if(!Array.isArray(e))return e;let n=e;for(const e of t)n=n.filter((t=>!e.includes(t)));return n[0]}function S(e,t,n){let a;return e.name?a=e.name===u.FE_TEMPLATE_V4_CUSTOM_PAGE?p.PageTypeV4.CustomPage:e.name.endsWith(p.PageTypeV4.ListReport)?p.PageTypeV4.ListReport:e.name.endsWith(p.PageTypeV4.ObjectPage)?p.PageTypeV4.ObjectPage:e.name.endsWith(p.PageTypeV4.AnalyticalListPage)?p.PageTypeV4.AnalyticalListPage:void 0:"viewId"in e?a=p.PageTypeV4.CustomPage:(g.log(t,{severity:"error",message:m.default.t("INVALIDTARGETDEFINITION",{target:JSON.stringify(e)}),location:{path:o.MANIFESTPATH,range:[`${u.ManifestSection.ui5}/routing/targets/${n}`]}}),"XML"===e.viewType&&"viewName"in e&&(a=p.PageTypeV4.CustomPage)),a}function T(e,t,n,a,r,i,u){const f=o.generatePageId(i.pageType,i.entitySet,i.navigationProperty,e.viewId||t===p.PageTypeV4.CustomPage&&e.id);if(!f)return;const d=Object.keys(a).find((e=>e.includes(f)))||Object.keys(a).find((e=>e.includes(f.slice(0,-1))))||Object.keys(a).find((e=>e.includes(i.pageType)));if(d)if(t===p.PageTypeV4.ListReport){const e={manifest:n,jsonSchema:a[d],logger:r};i.config=s.createListReportConfig(e)}else if(i.pageType===p.PageTypeV4.AnalyticalListPage){const e={manifest:n,jsonSchema:a[d],logger:r};i.config=l.createAnalyticalListPageConfig(e)}else if(i.pageType===p.PageTypeV4.ObjectPage){const e={manifest:n,jsonSchema:a[d],routingId:u,logger:r};i.config=c.createObjectPageConfigV4(e)}}function O(e){if(e.options){if("viewName"in e.options.settings){const t=e.options.settings.viewName.split(".");y.push(t[t.length-1])}}else if("viewId"in e){const t=e.viewName.split(".");y.push(t[t.length-1])}}function _(e,t,n){var a,r;const i={},o=e[u.ManifestSection.ui5].routing;v=function(e){const t={};e=e.concat().sort(b);const n=[];for(const a of e){const e=a.pattern.split(":")[0].split("/");let r;Array.isArray(a.target)?(r=P(a.target,n),n.push(a.target)):r=a.target;for(const n of e){const e=n.split("(")[0];t[r]=t[r]?`${t[r]}.${e}`:e}}return t}(o.routes);for(const s in o.targets){const c=o.targets[s],l=S(c,n,s),u={pageType:l};if(c.options&&(u.entitySet=c.options.settings.entitySet),c.controlAggregation&&(u.controlAggregation=c.controlAggregation),v[s]&&-1!==v[s].indexOf(".")){const e=v[s].split(".");u.navigationProperty=e[e.length-1]}if("viewId"in c)u.view={id:c.viewId,name:c.viewName};else if(l===p.PageTypeV4.CustomPage){const e=(null===(r=null===(a=c.options)||void 0===a?void 0:a.settings)||void 0===r?void 0:r.viewName)||c.viewName;u.view=Object.assign(Object.assign({},c.id&&{id:c.id}),e&&{name:e})}if(c.options){c.options.settings.variantManagement&&(u.variantManagement=c.options.settings.variantManagement),u.navigation={};for(const e in c.options.settings.navigation){const t=c.options.settings.navigation[e];u.navigation[t.detail.route]=v[t.detail.route]}}O(c);const f=o.routes.find((e=>"BookingObjectPage"===e.name));f&&"layout"in f&&(u.defaultLayoutType=f.layout),i[s]=u,T(c,l,e,t,n,u,s)}return i}t.getPagesAndConfigs=_;class V4AppProvider extends r.AppProvider{constructor(e,t,n){const a=new i.AppSettings,r=t[d.getSchemaFilePath(h.SchemaType.Application).filename];var o;f.transferSettingsOfObject(a,e,r.definitions.AppSettings,"",[]),super(e,t,function(e){let t;for(const n of e.routes){if(n.pattern.startsWith(":?query:")){t=n;break}-1!==n.pattern.indexOf("/")||(t=n)}return P(t?t.target:e.routes[0].target)}(e[u.ManifestSection.ui5].routing),_(e,t,n),p.FioriElementsVersion.v4,Object.assign(Object.assign({},(o=e[u.ManifestSection.ui5].routing).config&&o.config.flexibleColumnLayout?{flexibleColumnLayout:o.config.flexibleColumnLayout}:void 0),a),n),this.unhandledControllers=y}}t.V4AppProvider=V4AppProvider,t.getPages=function(e,t){const n=e[u.ManifestSection.ui5].routing,a={};for(const e in n.targets){const r=n.targets[e];r.name===t&&(a[e]=r)}return a}},3517:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(3381)),a(n(8548)),a(n(1168))},1168:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(5877),o=n(5008),s=n(3381),c=n(5921),l=a(n(9154)),u=n(2449),p=n(5709);t.createAnalyticalListPageConfig=function(e){if(u.initI18n(),!e.manifest[i.ManifestSection.ui5]||!e.manifest[i.ManifestSection.ui5].routing)return void c.log(e.logger,{severity:"error",message:l.default.t("NOROUTING"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5]}});const t=e.manifest[i.ManifestSection.ui5].routing.targets;if(!t)return void c.log(e.logger,{severity:"error",message:l.default.t("NOTARGETS"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5,"routing"]}});const n=new p.MetadataInstanceFactoryV4,a=n.createPageInstance(r.PageTypeV4.AnalyticalListPage);return Object.keys(t).forEach((i=>{const c=t[i];"name"in c&&o.getPageTypeV4(c.name)===r.PageTypeV4.AnalyticalListPage&&s.addSettings(e,a,n,c,r.PageTypeV4.AnalyticalListPage)})),a}},3381:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6971),i=n(5877),o=n(5008),s=n(1491),c=n(2449),l=a(n(9154)),u=n(5921),p=n(5709);function f(e,t,n,a,r){if(s.transferSettingsOfObject(t,e.manifest,e.jsonSchema,a.id,[]),t.table=n.createInstance(r,"Table"),s.transferSettingsOfObject(t.table,e.manifest,e.jsonSchema.definitions.Table,a.id,[]),t.table.toolBar=n.createInstance(r,"ToolBar",{actions:{}}),s.transferSettingsOfObject(t.table.toolBar,e.manifest,e.jsonSchema.definitions[o.TOOLBAR],a.id,[]),function(e,t,n,a,r){if(e.jsonSchema.definitions["Actions<LineItems>"])for(const i in e.jsonSchema.definitions["Actions<LineItems>"].properties){t.table.toolBar.actions[i]=n.createInstance(a,"ToolBarAction");const o=i.split("DataFieldForAction::")[1];s.transferSettingsOfObject(t.table.toolBar.actions[i],e.manifest,e.jsonSchema.definitions[`ToolBarAction<${o}>`],r.id,[i]),0===Object.keys(t.table.toolBar.actions[i]).length&&delete t.table.toolBar.actions[i]}}(e,t,n,r,a),t.filterBar=n.createInstance(r,"FilterBar"),s.transferSettingsOfObject(t.filterBar,e.manifest,e.jsonSchema.definitions.FilterBar,a.id,[]),t.table.columns={},e.jsonSchema.definitions.LineItems){for(const i in e.jsonSchema.definitions.LineItems.properties){const c=e.jsonSchema.definitions.LineItems.properties[i];if(!c.template){const l=c.$ref.split(o.DEFINITION_LINK_PREFIX)[1];t.table.columns[i]=n.createInstance(r,l),s.transferSettingsOfObject(t.table.columns[i],e.manifest,e.jsonSchema.definitions[l],a.id,[i]),0===Object.keys(t.table.columns[i]).length&&delete t.table.columns[i]}}return t}u.log(e.logger,{severity:"error",message:l.default.t("NOLINEITEMS")})}t.addSettings=f,t.createListReportConfig=function(e){if(c.initI18n(),!e.manifest[i.ManifestSection.ui5]||!e.manifest[i.ManifestSection.ui5].routing)return void u.log(e.logger,{severity:"error",message:l.default.t("NOROUTING"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5]}});const t=e.manifest[i.ManifestSection.ui5].routing.targets;if(!t)return void u.log(e.logger,{severity:"error",message:l.default.t("NOTARGETS"),location:{path:o.MANIFESTPATH,range:[i.ManifestSection.ui5]}});const n=new p.MetadataInstanceFactoryV4,a=n.createPageInstance(r.PageTypeV4.ListReport);for(const i in t){const s=t[i];if("name"in s&&o.getPageTypeV4(s.name)===r.PageTypeV4.ListReport){f(e,a,n,s,r.PageTypeV4.ListReport);break}}return a}},8548:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5877),i=n(6971),o=n(1491),s=n(5008),c=a(n(9154)),l=n(5921),u=n(2449),p=n(5709);function f(e,t,n,a,r,c){const l=a.replace(/::/g,"/"),u=t.controlConfiguration[l];if(u&&u.tableSettings){n[a]={},n[a].table=r.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageTable");const t="ObjectPageTable<"+a+">";o.transferSettingsOfObject(n[a].table,e.manifest,e.jsonSchema.definitions[t],c.id,[],l),n[a].table.toolBar=r.createInstance(i.PageTypeV4.ObjectPage,"ToolBar",{actions:{}}),function(e,t,n,a,r){if(e.jsonSchema.definitions[`Actions<${t}>`]){const s=t.replace(/::/g,"/");for(const c in e.jsonSchema.definitions[`Actions<${t}>`].properties){n[t].table.toolBar.actions[c]=a.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageToolBarAction");const l=c.split("DataFieldForAction::")[1];o.transferSettingsOfObject(n[t].table.toolBar.actions[c],e.manifest,e.jsonSchema.definitions[`ObjectPageToolBarAction<${l}>`],r.id,[c],s),0===Object.keys(n[t].table.toolBar.actions[c]).length&&delete n[t].table.toolBar.actions[c]}}}(e,a,n,r,c),function(e,t,n,a,r,c){if(t.columns){n[a].table.columns={};const l=e.jsonSchema.definitions[a].properties;if(!l)return;const u=a.replace(/::/g,"/");for(const p in l){const f=t.columns[p];if(f&&!f.template){const t=l[p].$ref.split(s.DEFINITION_LINK_PREFIX)[1];n[a].table.columns[p]=r.createInstance(i.PageTypeV4.ObjectPage,t),o.transferSettingsOfObject(n[a].table.columns[p],e.manifest,e.jsonSchema.definitions[t],c.id,[p],u)}}}}(e,u,n,a,r,c)}}function d(e,t,n,a,r,i){for(const o in t){const c=t[o];c.$ref&&c.$ref.startsWith(s.DEFINITION_LINK_PREFIX+"ObjectPageSectionTableV4")?f(e,n,a,o,r,i):c.properties&&c.properties.subsections&&(a[o]={subsections:{}},d(e,c.properties.subsections.properties,n,a[o].subsections,r,i))}}function h(e,t,n){var a,r;const c=n.createPageInstance(i.PageTypeV4.ObjectPage),l=t.options&&t.options.settings;if(c.header=n.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageHeader"),o.transferSettingsOfObject(c.header,e.manifest,e.jsonSchema.definitions.ObjectPageHeader,t.id,[]),c.layout=n.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageLayout"),o.transferSettingsOfObject(c.layout,e.manifest,e.jsonSchema.definitions.ObjectPageLayout,t.id,[]),o.transferSettingsOfObject(c,e.manifest,e.jsonSchema,t.id,[]),c.sections||(c.sections={}),l){l.controlConfiguration&&e.jsonSchema.definitions.Sections&&(c.sections={},d(e,e.jsonSchema.definitions.Sections.properties,l,c.sections,n,t));const u=null===(r=null===(a=l.content)||void 0===a?void 0:a.body)||void 0===r?void 0:r.sections;if(u){c.sections.custom=[];for(const a in u){const r=n.createInstance(i.PageTypeV4.ObjectPage,"ObjectPageCustomSectionFragment");o.transferSettingsOfObject(r,e.manifest,e.jsonSchema.definitions.ObjectPageCustomSectionFragment,t.id,[],a),c.sections.custom.push(r)}}!function(e,t,n,a,r){var c,l;const u=e.definitions.HeaderSections;if(u&&u.properties){t.header.sections={};for(const p in u.properties){const f=null===(c=u.properties[p].$ref)||void 0===c?void 0:c.split(s.DEFINITION_LINK_PREFIX)[1],d=f?e.definitions[f]:u.properties[p],h=f?f.split("<")[0]:void 0;t.header.sections[p]=h?n.createInstance(i.PageTypeV4.ObjectPage,h):{},o.transferSettingsOfObject(t.header.sections[p],a,d,r.id,[],null===(l=null==d?void 0:d.title)||void 0===l?void 0:l.split(s.FacetTitlePrefix)[1])}}}(e.jsonSchema,c,n,e.manifest,t)}return c}t.createObjectPageConfigV4=function(e){if(u.initI18n(),!e.manifest[r.ManifestSection.ui5]||!e.manifest[r.ManifestSection.ui5].routing)return void l.log(e.logger,{severity:"error",message:c.default.t("NOROUTING"),location:{path:s.MANIFESTPATH,range:[r.ManifestSection.ui5]}});const t=e.manifest[r.ManifestSection.ui5].routing.targets;if(!t)return void l.log(e.logger,{severity:"error",message:c.default.t("NOTARGETS"),location:{path:s.MANIFESTPATH,range:[r.ManifestSection.ui5,"routing"]}});const n=t[e.routingId];return n?h(e,n,new p.MetadataInstanceFactoryV4):void l.log(e.logger,{severity:"error",message:c.default.t("NOROUTINGID",{routingId:e.routingId}),location:{path:s.MANIFESTPATH,range:[r.ManifestSection.ui5,"routing"]}})}},1491:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(5008),r=n(2762),i=n(5008);t.transferSettingsOfObject=function(e,t,n,o,s,c,l){if(!n)return;let u={};const p=e.getDeprecated?e.getDeprecated():[],f=c&&c.replace("/","::");for(const d in n.properties){const n=r.getReflectMetadata(e,d);if(null==n?void 0:n.manifest){const r=n.manifest.path([o],t,f,s[0]);u=i.getManifestSectionByPathV4(t,r,c,f),a.importProperty(n,u,d,e,c),i.checkDeprecatedProperties(p,u,r,l)}}}},1162:(e,t)=>{"use strict";function n(e){if("string"==typeof e){if(e.indexOf(" ")>=0)throw e+" - Spaces are not allowed in ID parts.";for(e=e.replace(/^\/|^@|^#|^\*/,"").replace(/\/$|@$|#$|\*$/,"").replace(/\/|@|\(|\)|#|\*/g,"::");e.indexOf("::::")>-1;)e=e.replace("::::","::");return"::"===e.slice(-2)&&(e=e.slice(0,-2)),e}}function a(e){var t,a;if((null==e?void 0:e.$Path)||(null==e?void 0:e.path))return e.$Path||e.path;if((null==e?void 0:e.$Apply)&&"odata.concat"===e.$Function){let t="";for(let n=0;n<e.$Apply.length;n++)e.$Apply[n].$Path&&(t&&(t+="::"),t+=e.$Apply[n].$Path);return t}return e?n("string"==typeof e?e.replace(/ /g,"_"):null===(a=null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.String)||void 0===a?void 0:a.replace(/ /g,"_")):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.replaceSpecialChars=n,t.prepareId=function(e){if(e=n(function(e){return(e=e.replace("com.sap.vocabularies.UI.v1.","")).replace("com.sap.vocabularies.Communication.v1.","")}(e)),/^([A-Za-z_][-A-Za-z0-9_.:]*)$/.test(e))return e;throw e+" - Stable Id could not be generated due to insufficient information."},t.getStableIdPartFromSemanticObjectAndAction=function(e){let t="";return"string"==typeof e.SemanticObject?t+=e.SemanticObject:e.SemanticObject.$Path&&(t+=e.SemanticObject.$Path),"string"==typeof e.Action?t+="::"+e.Action:e.Action&&e.Action.$Path&&(t+="::"+e.Action.$Path),e.RequiresContext&&1==e.RequiresContext&&(t+="::RequiresContext"),t},t.getStableIdPartFromDataField=function(e){let n="";return e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldForAction"===e.$Type?(n="DataFieldForAction::",n+=e.Action,t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation"===e.$Type?(n="DataFieldForIntentBasedNavigation::",n+=t.getStableIdPartFromSemanticObjectAndAction(e),n):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldForAnnotation"===e.$Type?(n="DataFieldForAnnotation::",n+=t.prepareId(e.Target.$AnnotationPath||e.Target.value),n):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithAction"===e.$Type?(n="DataFieldWithAction::",e.Value&&(n+=a(e.Value)+"::"),n+=e.Action,t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataField"===e.$Type?(n="DataField::",n+=a(e.Value),t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithIntentBasedNavigation"===e.$Type?(n="DataFieldWithIntentBasedNavigation::",n+=a(e.Value)+"::",n+=t.getStableIdPartFromSemanticObjectAndAction(e),t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath"===e.$Type?(n="DataFieldWithNavigationPath::",n+=a(e.Value),e.Target&&e.Target.$NavigationPropertyPath&&(n+="::"+e.Target.$NavigationPropertyPath),t.prepareId(n)):e.$Type&&"com.sap.vocabularies.UI.v1.DataFieldWithUrl"===e.$Type?(n="DataFieldWithUrl::",n+=a(e.Value),t.prepareId(n)):void 0}},9190:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9081),r=n(1162),i=n(5008);function o(e,t,n,r,o,s,c){if(!0!==o.Determining){const l="LineItems"===s?"ToolBarAction":"ObjectPageToolBarAction",u=i.prepareRef(`${l}<${o.Action}>`),p=a.getDatafieldDescription(o,t);n.properties[`DataFieldForAction::${o.Action}`]={$ref:a.DEFINITION_LINK_PREFIX+u,description:p,propertyIndex:c,annotationType:o.$Type};const f="LineItems"===s?"ToolBarAction":"ObjectPageToolBarAction";e.definitions[u]=JSON.parse(JSON.stringify(e.definitions[f])),e.definitions[u].annotationPath=r+"/"+c}}t.handleActionRecord=o,t.addLineItemsType=function(e,t,n,s,c,l){e.definitions[c]=JSON.parse(JSON.stringify(e.definitions.GenericColumns.additionalProperties.anyOf[0])),e.definitions[`${c}Action`]=JSON.parse(JSON.stringify(e.definitions.GenericColumns.additionalProperties.anyOf[1])),l=l||"LineItems";const{actions:u,lineItemPath:p}=i.addCommonLineItemDefinitions(e,t,n,l);if(t){let f=0;t.forEach((t=>{if("com.sap.vocabularies.UI.v1.DataFieldForAction"!==t.$Type||!0===t.Inline&&!0!==t.Determining){const o={lineItemRecord:t,lineItemId:l,lineItemPath:p},u="com.sap.vocabularies.UI.v1.DataFieldForAction"===t.$Type?`${c}Action`:c;!function(e,t,n,o,s,c){var l,u;const p=e.lineItemId,f=e.lineItemRecord,d=e.lineItemPath;if(f.Target&&f.Target.value){const e=`@${a.findAlias(i.UIVOCABULARY,c)}.`;f.Target.value=f.Target.value.replace(e,"@")}const h=r.getStableIdPartFromDataField(f);h&&(t.definitions[p].properties[h]={$ref:a.DEFINITION_LINK_PREFIX+n,description:a.getDatafieldDescription(f,o),propertyIndex:s,annotationPath:`${d}/${s}`,annotationType:null==f?void 0:f.$Type},"com.sap.vocabularies.UI.v1.DataField"===f.$Type&&(t.definitions[p].properties[h].dataType=null===(u=null===(l=f.Value)||void 0===l?void 0:l.$target)||void 0===u?void 0:u.type.replace("Edm.","")))}(o,e,u,n,f,s)}else o(e,n,u,p,t,l,f);f++}))}}},3374:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4027)),a(n(390))},6739:(e,t,n)=>{"use strict";function a(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),a(n(4027)),a(n(5877))},2892:e=>{"use strict";e.exports={}},6354:e=>{"use strict";e.exports=JSON.parse('{"NOPAGES":"No pages found in manifest for app with id \'{{- appId}}\'","NOFE":"The manifest passed is not correct for Fiori Elements V2: section sap.ui.generic.app is missing","NOENTITYSET":"No page found in manifest for entitySet \'{{- entitySet}}\'","NOENTITYSET4NAME":"No entitySet could be found for the given entity type \'{{- entityType}}\'","ENTITYSETNOTFOUND":"Entity set \'{{- entitySetName}}\' was specified in manifest, but this entity set could not be found in metadata","NOLR":"No page found in manifest for list report","NOALP":"No page found in manifest for analytical list page","NOTEMPLATE":"No Fiori Elements template could be determined, as section \'{{- section}}\' is not defined in manifest","ANNOERR":"Error while parsing annotation files","NOROUTING":"Incomplete manifest definition: no routing defined","NOLINEITEMS":"UI.LineItem annotation has not been defined","NOTARGETS":"Incomplete manifest definition: no targets defined","NOTARGET":"Invalid reference: annotation target \'{{- target}}\' not found","NOROUTINGID":"No page found in manifest for routingId \'{{- routingId}}\'","FLEXERROR":"Error while parsing flex change","NOFRAGMENT":"fragmentName is undefined for columnKey \'{{- columnKey}}\'","NOENTITYTYPE":"Entity type \'{{- entityType}}\' is specified in manifest, but not present in metadata","INVALIDTARGETDEFINITION":"Invalid routing target definition in manifest: \'{{- target}}\'","NOID4SECTION":"No ID has been defined for a facet or header facet. As a consequence, manifest settings cannot be written correctly for this element in an OData V4 scenario: \'{{- facet}}\'"}')},2357:e=>{"use strict";e.exports=require("assert")},4293:e=>{"use strict";e.exports=require("buffer")},7619:e=>{"use strict";e.exports=require("constants")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2413:e=>{"use strict";e.exports=require("stream")},4304:e=>{"use strict";e.exports=require("string_decoder")},1669:e=>{"use strict";e.exports=require("util")}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a=n(4027);module.exports=a})();