@infinilabs/ai-chat 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseUniq-HPyrtppw.cjs → _baseUniq-CeiCRdxx.cjs} +1 -1
- package/dist/{_baseUniq-C4DanDvR.js → _baseUniq-Djxg37rN.js} +1 -1
- package/dist/{arc-8caxqi1c.cjs → arc-COzMDjUS.cjs} +1 -1
- package/dist/{arc-B4m95so_.js → arc-D7VgIWs2.js} +1 -1
- package/dist/{architecture-U656AL7Q-NnTTY6_Y.js → architecture-U656AL7Q-B9_rCPw_.js} +1 -1
- package/dist/{architecture-U656AL7Q-DOz9Fle0.cjs → architecture-U656AL7Q-CvQeWHIU.cjs} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-Bvtkepbx.js → architectureDiagram-VXUJARFQ-BzKLfMm5.js} +3 -3
- package/dist/{architectureDiagram-VXUJARFQ-C681qyfL.cjs → architectureDiagram-VXUJARFQ-EJY4hbYt.cjs} +3 -3
- package/dist/{blockDiagram-VD42YOAC-C1_01y5B.js → blockDiagram-VD42YOAC-C8n3Oqno.js} +5 -5
- package/dist/{blockDiagram-VD42YOAC-Bhes8GyO.cjs → blockDiagram-VD42YOAC-JRX9jru9.cjs} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-Ba3p2ZuZ.cjs → c4Diagram-YG6GDRKO-Bd4Q_vbc.cjs} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-DGsbl4WQ.js → c4Diagram-YG6GDRKO-qgf3e5LC.js} +2 -2
- package/dist/{channel-Bcsi5luP.cjs → channel-BNj6-Jl_.cjs} +1 -1
- package/dist/{channel-BTzBeehE.js → channel-DXPu1_IA.js} +1 -1
- package/dist/{chunk-4BX2VUAB-C0aaszvk.cjs → chunk-4BX2VUAB-C1jdRYDV.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-DUVJ45LT.js → chunk-4BX2VUAB-CrkFppIt.js} +1 -1
- package/dist/{chunk-55IACEB6-CBJjMWGd.js → chunk-55IACEB6-BzxZ5oEo.js} +1 -1
- package/dist/{chunk-55IACEB6-R25Bm9Jg.cjs → chunk-55IACEB6-CDhw9ih3.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-BGOymHsq.js → chunk-B4BG7PRW-C2-Ey5vN.js} +4 -4
- package/dist/{chunk-B4BG7PRW-DisYLitZ.cjs → chunk-B4BG7PRW-VJhbpyZn.cjs} +4 -4
- package/dist/{chunk-DI55MBZ5-ChDRbqtb.cjs → chunk-DI55MBZ5-B1oTvq2E.cjs} +3 -3
- package/dist/{chunk-DI55MBZ5-CjqgJvh9.js → chunk-DI55MBZ5-NOFcLycG.js} +3 -3
- package/dist/{chunk-FMBD7UC4-CeUFGBTE.cjs → chunk-FMBD7UC4-7WYodgem.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-DCKR0mIP.js → chunk-FMBD7UC4-DRgrx-EK.js} +1 -1
- package/dist/{chunk-QN33PNHL-DgRsUZpZ.js → chunk-QN33PNHL-BLt3h1Q9.js} +1 -1
- package/dist/{chunk-QN33PNHL-CUm-N74k.cjs → chunk-QN33PNHL-DgxnhNJ3.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-ConDYQBo.cjs → chunk-QZHKN3VN-DUGVpFR-.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-DOL3K2yf.js → chunk-QZHKN3VN-DaKf5YOp.js} +1 -1
- package/dist/{chunk-TZMSLE5B-Dxj_VsLb.js → chunk-TZMSLE5B-BNIxQDHU.js} +1 -1
- package/dist/{chunk-TZMSLE5B-CHcUQ1D5.cjs → chunk-TZMSLE5B-WfyLU47R.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-DXCPsTly.js → classDiagram-2ON5EDUG-CgIGInn4.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-BYQdgrfH.cjs → classDiagram-2ON5EDUG-h23rBY2e.cjs} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-DXCPsTly.js → classDiagram-v2-WZHVMYZB-CgIGInn4.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-BYQdgrfH.cjs → classDiagram-v2-WZHVMYZB-h23rBY2e.cjs} +2 -2
- package/dist/{clone-oPKUnzVe.js → clone-ClKqbvhF.js} +1 -1
- package/dist/{clone-BIL20ieF.cjs → clone-XhANne4T.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-CPu406mo.cjs → cose-bilkent-S5V4N54A-BzCy-Dw0.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-L0nMpsXq.js → cose-bilkent-S5V4N54A-PD3Cmd9b.js} +1 -1
- package/dist/{dagre-6UL2VRFP-9VYlGoLH.js → dagre-6UL2VRFP-DgjTaV05.js} +5 -5
- package/dist/{dagre-6UL2VRFP-kN_GGKVW.cjs → dagre-6UL2VRFP-cNT3csyW.cjs} +5 -5
- package/dist/{diagram-PSM6KHXK-Dw0BdNxx.js → diagram-PSM6KHXK-CRdd_rkv.js} +4 -4
- package/dist/{diagram-PSM6KHXK-B2a7yBMK.cjs → diagram-PSM6KHXK-qDYzVwmO.cjs} +4 -4
- package/dist/{diagram-QEK2KX5R-B0gWyAOb.js → diagram-QEK2KX5R-BRajomIJ.js} +3 -3
- package/dist/{diagram-QEK2KX5R-ULXJS9JT.cjs → diagram-QEK2KX5R-CU593QLD.cjs} +3 -3
- package/dist/{diagram-S2PKOQOG-NtX18-PO.js → diagram-S2PKOQOG-Bq_4wImq.js} +3 -3
- package/dist/{diagram-S2PKOQOG-DujR8Chx.cjs → diagram-S2PKOQOG-DqjsN27Z.cjs} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-DTCcCB3U.cjs → erDiagram-Q2GNP2WA-CNCatwHy.cjs} +4 -4
- package/dist/{erDiagram-Q2GNP2WA-DWWNSJa5.js → erDiagram-Q2GNP2WA-Cci7pZ-T.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-D9BiFSWj.js → flowDiagram-NV44I4VS-CFtQhRYA.js} +5 -5
- package/dist/{flowDiagram-NV44I4VS-Dho5VWpD.cjs → flowDiagram-NV44I4VS-CU4Xw1sj.cjs} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-IvFsYyb5.js → ganttDiagram-JELNMOA3-BTkIx-5v.js} +2 -2
- package/dist/{ganttDiagram-JELNMOA3-C2pJM0kW.cjs → ganttDiagram-JELNMOA3-Bjokptet.cjs} +2 -2
- package/dist/{gitGraph-F6HP7TQM-DmtgZgJC.cjs → gitGraph-F6HP7TQM-Dz4H_8C9.cjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-B5ldowqg.js → gitGraph-F6HP7TQM-z-hYJSan.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-R39oPT_H.cjs → gitGraphDiagram-NY62KEGX-B9A7sBfQ.cjs} +4 -4
- package/dist/{gitGraphDiagram-NY62KEGX-BCJQSJe1.js → gitGraphDiagram-NY62KEGX-Bi-o_EAB.js} +4 -4
- package/dist/{graph-d9MCZQkg.js → graph-DNl5U36X.js} +2 -2
- package/dist/{graph-DmroX30B.cjs → graph-NUZAaadb.cjs} +2 -2
- package/dist/{index-DznWDSja.js → index-CL-IWmxa.js} +940 -910
- package/dist/{index-fuB5at9P.cjs → index-tMROzgOV.cjs} +944 -914
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{info-NVLQJR56-D7hL8jp-.cjs → info-NVLQJR56-962D9vkT.cjs} +1 -1
- package/dist/info-NVLQJR56-B1dBBbEA.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-DZvZ2cQR.js → infoDiagram-WHAUD3N6-BiU0QW2V.js} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-BIuyHO3P.cjs → infoDiagram-WHAUD3N6-VYdtmZcg.cjs} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-B6ZC5g1r.js → journeyDiagram-XKPGCS4Q-BteN4PJS.js} +4 -4
- package/dist/{journeyDiagram-XKPGCS4Q-CCSZoq09.cjs → journeyDiagram-XKPGCS4Q-Dg4utYJu.cjs} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-BEO6qgjW.cjs → kanban-definition-3W4ZIXB7-CSgLYf0d.cjs} +2 -2
- package/dist/{kanban-definition-3W4ZIXB7-yv7ecRfL.js → kanban-definition-3W4ZIXB7-NDl2gO7n.js} +2 -2
- package/dist/{layout-B3Trc9Dj.js → layout-BU48hdc_.js} +4 -4
- package/dist/{layout-BBSoTGY-.cjs → layout-Kh98ca4k.cjs} +4 -4
- package/dist/{linear-B2hb_5PZ.cjs → linear-BT-VF_DX.cjs} +1 -1
- package/dist/{linear-B0xHZYqX.js → linear-By2ZU35B.js} +1 -1
- package/dist/{mermaid-parser.core-5bZWkv4Z.cjs → mermaid-parser.core-C2hGHaWo.cjs} +10 -10
- package/dist/{mermaid-parser.core-CsL76Z6C.js → mermaid-parser.core-CklcTQv5.js} +10 -10
- package/dist/{min-CuqXz83N.js → min-Byvi8V--.js} +2 -2
- package/dist/{min-Dl4imp8b.cjs → min-CYOF9Ew_.cjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-tB865_r0.cjs → mindmap-definition-VGOIOE7T-BYzPzKVW.cjs} +3 -3
- package/dist/{mindmap-definition-VGOIOE7T-DS9ZQkJ2.js → mindmap-definition-VGOIOE7T-BZFlOxRY.js} +3 -3
- package/dist/{packet-BFZMPI3H-Ckms14Ie.cjs → packet-BFZMPI3H-DcKhwBCA.cjs} +1 -1
- package/dist/{packet-BFZMPI3H-D9N-9wq3.js → packet-BFZMPI3H-DnnTjEVQ.js} +1 -1
- package/dist/pie-7BOR55EZ-CeyDu1JY.js +5 -0
- package/dist/{pie-7BOR55EZ-DEOI8wj5.cjs → pie-7BOR55EZ-jaKJ-mtV.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-BnZ3nv0x.cjs → pieDiagram-ADFJNKIX-BHv_Zty6.cjs} +4 -4
- package/dist/{pieDiagram-ADFJNKIX-DQnUMYIz.js → pieDiagram-ADFJNKIX-DIVZXh1X.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-DqhTbdJL.js → quadrantDiagram-AYHSOK5B-9DDnueEz.js} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-DbbxuS4G.cjs → quadrantDiagram-AYHSOK5B-Bcmhm8n7.cjs} +2 -2
- package/dist/{radar-NHE76QYJ-DC00rsaE.cjs → radar-NHE76QYJ-BpsuegDG.cjs} +1 -1
- package/dist/{radar-NHE76QYJ-Bh5JEuLJ.js → radar-NHE76QYJ-CNMGFuyD.js} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-C5Sw30Dg.cjs → requirementDiagram-UZGBJVZJ-BcGzLEBJ.cjs} +3 -3
- package/dist/{requirementDiagram-UZGBJVZJ-BZ_I8D4-.js → requirementDiagram-UZGBJVZJ-CcRlwgt6.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-B0AyEyvs.cjs → sankeyDiagram-TZEHDZUN-CZ481e57.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-CZObK-Zb.js → sankeyDiagram-TZEHDZUN-vJRuYFkA.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-D4IDMTam.js → sequenceDiagram-WL72ISMW-BEkxMpBG.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-CVL0XD2D.cjs → sequenceDiagram-WL72ISMW-BIwpFesl.cjs} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-ByyC0-sC.js → stateDiagram-FKZM4ZOC-B2oxE8B3.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-BiaQ8T-8.cjs → stateDiagram-FKZM4ZOC-B5Szi-M9.cjs} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-BoEbh9tj.js → stateDiagram-v2-4FDKWEC3-DbneOtWC.js} +2 -2
- package/dist/{stateDiagram-v2-4FDKWEC3-DHA2H3MH.cjs → stateDiagram-v2-4FDKWEC3-RdWM-Y50.cjs} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-DHfAcRa1.cjs → timeline-definition-IT6M3QCI-BfLzg1j1.cjs} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-B8R-xT4q.js → timeline-definition-IT6M3QCI-ByNphRV7.js} +2 -2
- package/dist/{treemap-KMMF4GRG-BixMALBp.js → treemap-KMMF4GRG-0mn8Ob2X.js} +1 -1
- package/dist/{treemap-KMMF4GRG-Buum9klb.cjs → treemap-KMMF4GRG-CLrScKfv.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-Cx98Jm9V.cjs → xychartDiagram-PRI3JC2R-CdGLWe8Y.cjs} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-PBEyV-Su.js → xychartDiagram-PRI3JC2R-QUNLRyKO.js} +2 -2
- package/package.json +2 -2
- package/dist/info-NVLQJR56-CTpWSll6.js +0 -5
- package/dist/pie-7BOR55EZ-CmDij4ag.js +0 -5
|
@@ -92496,8 +92496,8 @@ function d$1(u4, e2 = "") {
|
|
|
92496
92496
|
}, getRegex: () => new RegExp(t2, e2) };
|
|
92497
92497
|
return n2;
|
|
92498
92498
|
}
|
|
92499
|
-
var m$2 = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u4) => new RegExp(`^( {0,3}${u4})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}#`), htmlBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}<(?:[a-z].*>|!--)`, "i") }, be$1 = /^(?:[ \t]*(?:\n|$))+/, Re$2 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Te$1 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, E$2 = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe$2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F$3 = /(?:[*+-]|\d{1,9}[.)])/, ie$1 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe$1 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), we$2 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j$2 = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ye$2 = /^[^\n]+/, Q$3 = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Pe$2 = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q$3).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Se$2 = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F$3).getRegex(), v$3 = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U$3 = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $e$
|
|
92500
|
-
]`).replace("lheading", oe$1).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, ze$1 = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ae$2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le$2 = /^( {2,}|\\)\n(?!\s*$)/, Ie$2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D$3 = /[\p{P}\p{S}]/u, W$4 = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ee$1 = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W$4).getRegex(), pe$2 = /(?!~)[\p{P}\p{S}]/u, Ce$
|
|
92499
|
+
var m$2 = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u4) => new RegExp(`^( {0,3}${u4})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}#`), htmlBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}<(?:[a-z].*>|!--)`, "i") }, be$1 = /^(?:[ \t]*(?:\n|$))+/, Re$2 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Te$1 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, E$2 = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe$2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F$3 = /(?:[*+-]|\d{1,9}[.)])/, ie$1 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe$1 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), we$2 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j$2 = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ye$2 = /^[^\n]+/, Q$3 = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Pe$2 = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q$3).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Se$2 = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F$3).getRegex(), v$3 = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U$3 = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $e$1 = d$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U$3).replace("tag", v$3).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae$2 = d$1(j$2).replace("hr", E$2).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v$3).getRegex(), _e$2 = d$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae$2).getRegex(), K$3 = { blockquote: _e$2, code: Re$2, def: Pe$2, fences: Te$1, heading: Oe$2, hr: E$2, html: $e$1, lheading: oe$1, list: Se$2, newline: be$1, paragraph: ae$2, table: I$4, text: ye$2 }, re$1 = d$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", E$2).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v$3).getRegex(), Le$1 = { ...K$3, lheading: we$2, table: re$1, paragraph: d$1(j$2).replace("hr", E$2).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re$1).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v$3).getRegex() }, Me$2 = { ...K$3, html: d$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U$3).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: I$4, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d$1(j$2).replace("hr", E$2).replace("heading", ` *#{1,6} *[^
|
|
92500
|
+
]`).replace("lheading", oe$1).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, ze$1 = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ae$2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le$2 = /^( {2,}|\\)\n(?!\s*$)/, Ie$2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D$3 = /[\p{P}\p{S}]/u, W$4 = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ee$1 = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W$4).getRegex(), pe$2 = /(?!~)[\p{P}\p{S}]/u, Ce$2 = /(?!~)[\s\p{P}\p{S}]/u, Be$1 = /(?:[^\s\p{P}\p{S}]|~)/u, qe$1 = /\[(?:[^\[\]`]|`[^`]*?`)*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, ce$1 = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, ve$1 = d$1(ce$1, "u").replace(/punct/g, D$3).getRegex(), De$2 = d$1(ce$1, "u").replace(/punct/g, pe$2).getRegex(), he = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", He$2 = d$1(he, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W$4).replace(/punct/g, D$3).getRegex(), Ze$1 = d$1(he, "gu").replace(/notPunctSpace/g, Be$1).replace(/punctSpace/g, Ce$2).replace(/punct/g, pe$2).getRegex(), Ge$1 = d$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W$4).replace(/punct/g, D$3).getRegex(), Ne$2 = d$1(/\\(punct)/, "gu").replace(/punct/g, D$3).getRegex(), Fe$2 = d$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je$1 = d$1(U$3).replace("(?:-->|$)", "-->").getRegex(), Qe$2 = d$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je$1).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q$4 = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ue$1 = d$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q$4).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q$4).replace("ref", Q$3).getRegex(), ke$1 = d$1(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q$3).getRegex(), Ke$1 = d$1("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke$1).getRegex(), se$1 = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X$4 = { _backpedal: I$4, anyPunctuation: Ne$2, autolink: Fe$2, blockSkip: qe$1, br: le$2, code: Ae$2, del: I$4, emStrongLDelim: ve$1, emStrongRDelimAst: He$2, emStrongRDelimUnd: Ge$1, escape: ze$1, link: Ue$1, nolink: ke$1, punctuation: Ee$1, reflink: de, reflinkSearch: Ke$1, tag: Qe$2, text: Ie$2, url: I$4 }, We$2 = { ...X$4, link: d$1(/^!?\[(label)\]\((.*?)\)/).replace("label", q$4).getRegex(), reflink: d$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q$4).getRegex() }, N$3 = { ...X$4, emStrongRDelimAst: Ze$1, emStrongLDelim: De$2, url: d$1(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se$1).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d$1(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se$1).getRegex() }, Xe$1 = { ...N$3, br: d$1(le$2).replace("{2,}", "*").getRegex(), text: d$1(N$3.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C$3 = { normal: K$3, gfm: Le$1, pedantic: Me$2 }, M$3 = { normal: X$4, gfm: N$3, breaks: Xe$1, pedantic: We$2 };
|
|
92501
92501
|
var Je$1 = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, ge$1 = (u4) => Je$1[u4];
|
|
92502
92502
|
function w$3(u4, e2) {
|
|
92503
92503
|
if (e2) {
|
|
@@ -92535,7 +92535,7 @@ function z$2(u4, e2, t2) {
|
|
|
92535
92535
|
}
|
|
92536
92536
|
return u4.slice(0, n2 - r2);
|
|
92537
92537
|
}
|
|
92538
|
-
function fe
|
|
92538
|
+
function fe(u4, e2) {
|
|
92539
92539
|
if (u4.indexOf(e2[1]) === -1) return -1;
|
|
92540
92540
|
let t2 = 0;
|
|
92541
92541
|
for (let n2 = 0; n2 < u4.length; n2++) if (u4[n2] === "\\") n2++;
|
|
@@ -92543,7 +92543,7 @@ function fe$1(u4, e2) {
|
|
|
92543
92543
|
else if (u4[n2] === e2[1] && (t2--, t2 < 0)) return n2;
|
|
92544
92544
|
return t2 > 0 ? -2 : -1;
|
|
92545
92545
|
}
|
|
92546
|
-
function me(u4, e2, t2, n2, r2) {
|
|
92546
|
+
function me$1(u4, e2, t2, n2, r2) {
|
|
92547
92547
|
let i2 = e2.href, s2 = e2.title || null, o2 = u4[1].replace(r2.other.outputLinkReplace, "$1");
|
|
92548
92548
|
n2.state.inLink = true;
|
|
92549
92549
|
let a2 = { type: u4[0].charAt(0) === "!" ? "image" : "link", raw: t2, href: i2, title: s2, text: o2, tokens: n2.inlineTokens(o2) };
|
|
@@ -92747,7 +92747,7 @@ ${p3}` : p3;
|
|
|
92747
92747
|
let s2 = z$2(n2.slice(0, -1), "\\");
|
|
92748
92748
|
if ((n2.length - s2.length) % 2 === 0) return;
|
|
92749
92749
|
} else {
|
|
92750
|
-
let s2 = fe
|
|
92750
|
+
let s2 = fe(t2[2], "()");
|
|
92751
92751
|
if (s2 === -2) return;
|
|
92752
92752
|
if (s2 > -1) {
|
|
92753
92753
|
let a2 = (t2[0].indexOf("!") === 0 ? 5 : 4) + t2[1].length + s2;
|
|
@@ -92759,7 +92759,7 @@ ${p3}` : p3;
|
|
|
92759
92759
|
let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
|
|
92760
92760
|
s2 && (r2 = s2[1], i2 = s2[3]);
|
|
92761
92761
|
} else i2 = t2[3] ? t2[3].slice(1, -1) : "";
|
|
92762
|
-
return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n2) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me(t2, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i2 && i2.replace(this.rules.inline.anyPunctuation, "$1") }, t2[0], this.lexer, this.rules);
|
|
92762
|
+
return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n2) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me$1(t2, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i2 && i2.replace(this.rules.inline.anyPunctuation, "$1") }, t2[0], this.lexer, this.rules);
|
|
92763
92763
|
}
|
|
92764
92764
|
}
|
|
92765
92765
|
reflink(e2, t2) {
|
|
@@ -92770,7 +92770,7 @@ ${p3}` : p3;
|
|
|
92770
92770
|
let s2 = n2[0].charAt(0);
|
|
92771
92771
|
return { type: "text", raw: s2, text: s2 };
|
|
92772
92772
|
}
|
|
92773
|
-
return me(n2, i2, n2[0], this.lexer, this.rules);
|
|
92773
|
+
return me$1(n2, i2, n2[0], this.lexer, this.rules);
|
|
92774
92774
|
}
|
|
92775
92775
|
}
|
|
92776
92776
|
emStrong(e2, t2, n2 = "") {
|
|
@@ -92852,11 +92852,11 @@ var x$3 = class u {
|
|
|
92852
92852
|
inlineQueue;
|
|
92853
92853
|
constructor(e2) {
|
|
92854
92854
|
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e2 || T$2, this.options.tokenizer = this.options.tokenizer || new y$2(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
|
|
92855
|
-
let t2 = { other: m$2, block: C$
|
|
92856
|
-
this.options.pedantic ? (t2.block = C$
|
|
92855
|
+
let t2 = { other: m$2, block: C$3.normal, inline: M$3.normal };
|
|
92856
|
+
this.options.pedantic ? (t2.block = C$3.pedantic, t2.inline = M$3.pedantic) : this.options.gfm && (t2.block = C$3.gfm, this.options.breaks ? t2.inline = M$3.breaks : t2.inline = M$3.gfm), this.tokenizer.rules = t2;
|
|
92857
92857
|
}
|
|
92858
92858
|
static get rules() {
|
|
92859
|
-
return { block: C$
|
|
92859
|
+
return { block: C$3, inline: M$3 };
|
|
92860
92860
|
}
|
|
92861
92861
|
static lex(e2, t2) {
|
|
92862
92862
|
return new u(t2).lex(e2);
|
|
@@ -93537,35 +93537,35 @@ Please report this to https://github.com/markedjs/marked.`, e2) {
|
|
|
93537
93537
|
}
|
|
93538
93538
|
};
|
|
93539
93539
|
var _$1 = new B$3();
|
|
93540
|
-
function k$
|
|
93540
|
+
function k$4(u4, e2) {
|
|
93541
93541
|
return _$1.parse(u4, e2);
|
|
93542
93542
|
}
|
|
93543
|
-
k$
|
|
93544
|
-
return _$1.setOptions(u4), k$
|
|
93543
|
+
k$4.options = k$4.setOptions = function(u4) {
|
|
93544
|
+
return _$1.setOptions(u4), k$4.defaults = _$1.defaults, G$2(k$4.defaults), k$4;
|
|
93545
93545
|
};
|
|
93546
|
-
k$
|
|
93547
|
-
k$
|
|
93548
|
-
k$
|
|
93549
|
-
return _$1.use(...u4), k$
|
|
93546
|
+
k$4.getDefaults = L$2;
|
|
93547
|
+
k$4.defaults = T$2;
|
|
93548
|
+
k$4.use = function(...u4) {
|
|
93549
|
+
return _$1.use(...u4), k$4.defaults = _$1.defaults, G$2(k$4.defaults), k$4;
|
|
93550
93550
|
};
|
|
93551
|
-
k$
|
|
93551
|
+
k$4.walkTokens = function(u4, e2) {
|
|
93552
93552
|
return _$1.walkTokens(u4, e2);
|
|
93553
93553
|
};
|
|
93554
|
-
k$
|
|
93555
|
-
k$
|
|
93556
|
-
k$
|
|
93557
|
-
k$
|
|
93558
|
-
k$
|
|
93559
|
-
k$
|
|
93560
|
-
k$
|
|
93561
|
-
k$
|
|
93562
|
-
k$
|
|
93563
|
-
k$
|
|
93564
|
-
k$
|
|
93565
|
-
k$
|
|
93566
|
-
k$
|
|
93567
|
-
k$
|
|
93568
|
-
k$
|
|
93554
|
+
k$4.parseInline = _$1.parseInline;
|
|
93555
|
+
k$4.Parser = b$3;
|
|
93556
|
+
k$4.parser = b$3.parse;
|
|
93557
|
+
k$4.Renderer = P$3;
|
|
93558
|
+
k$4.TextRenderer = $$3;
|
|
93559
|
+
k$4.Lexer = x$3;
|
|
93560
|
+
k$4.lexer = x$3.lex;
|
|
93561
|
+
k$4.Tokenizer = y$2;
|
|
93562
|
+
k$4.Hooks = S$2;
|
|
93563
|
+
k$4.parse = k$4;
|
|
93564
|
+
k$4.options;
|
|
93565
|
+
k$4.setOptions;
|
|
93566
|
+
k$4.use;
|
|
93567
|
+
k$4.walkTokens;
|
|
93568
|
+
k$4.parseInline;
|
|
93569
93569
|
b$3.parse;
|
|
93570
93570
|
x$3.lex;
|
|
93571
93571
|
function dedent(templ) {
|
|
@@ -93696,7 +93696,7 @@ function preprocessMarkdown(markdown2, { markdownAutoWrap }) {
|
|
|
93696
93696
|
__name(preprocessMarkdown, "preprocessMarkdown");
|
|
93697
93697
|
function markdownToLines(markdown2, config2 = {}) {
|
|
93698
93698
|
const preprocessedMarkdown = preprocessMarkdown(markdown2, config2);
|
|
93699
|
-
const nodes = k$
|
|
93699
|
+
const nodes = k$4.lexer(preprocessedMarkdown);
|
|
93700
93700
|
const lines = [[]];
|
|
93701
93701
|
let currentLine = 0;
|
|
93702
93702
|
function processNode(node2, parentType = "normal") {
|
|
@@ -93738,7 +93738,7 @@ function markdownToLines(markdown2, config2 = {}) {
|
|
|
93738
93738
|
}
|
|
93739
93739
|
__name(markdownToLines, "markdownToLines");
|
|
93740
93740
|
function markdownToHTML(markdown2, { markdownAutoWrap } = {}) {
|
|
93741
|
-
const nodes = k$
|
|
93741
|
+
const nodes = k$4.lexer(markdown2);
|
|
93742
93742
|
function output(node2) {
|
|
93743
93743
|
if (node2.type === "text") {
|
|
93744
93744
|
if (markdownAutoWrap === false) {
|
|
@@ -94197,7 +94197,7 @@ let p$1 = class p {
|
|
|
94197
94197
|
}
|
|
94198
94198
|
};
|
|
94199
94199
|
const f$1 = 0, d = 1, g = 2, M$2 = { A: 7, a: 7, C: 6, c: 6, H: 1, h: 1, L: 2, l: 2, M: 2, m: 2, Q: 4, q: 4, S: 4, s: 4, T: 2, t: 2, V: 1, v: 1, Z: 0, z: 0 };
|
|
94200
|
-
function k$
|
|
94200
|
+
function k$3(t2, e2) {
|
|
94201
94201
|
return t2.type === e2;
|
|
94202
94202
|
}
|
|
94203
94203
|
function b$2(t2) {
|
|
@@ -94212,17 +94212,17 @@ function b$2(t2) {
|
|
|
94212
94212
|
return e3[e3.length] = { type: g, text: "" }, e3;
|
|
94213
94213
|
})(t2);
|
|
94214
94214
|
let n2 = "BOD", o2 = 0, a2 = s2[o2];
|
|
94215
|
-
for (; !k$
|
|
94215
|
+
for (; !k$3(a2, g); ) {
|
|
94216
94216
|
let h3 = 0;
|
|
94217
94217
|
const r2 = [];
|
|
94218
94218
|
if ("BOD" === n2) {
|
|
94219
94219
|
if ("M" !== a2.text && "m" !== a2.text) return b$2("M0,0" + t2);
|
|
94220
94220
|
o2++, h3 = M$2[a2.text], n2 = a2.text;
|
|
94221
|
-
} else k$
|
|
94221
|
+
} else k$3(a2, d) ? h3 = M$2[n2] : (o2++, h3 = M$2[a2.text], n2 = a2.text);
|
|
94222
94222
|
if (!(o2 + h3 < s2.length)) throw new Error("Path data ended short");
|
|
94223
94223
|
for (let t3 = o2; t3 < o2 + h3; t3++) {
|
|
94224
94224
|
const e3 = s2[t3];
|
|
94225
|
-
if (!k$
|
|
94225
|
+
if (!k$3(e3, d)) throw new Error("Param not a number: " + n2 + "," + e3.text);
|
|
94226
94226
|
r2[r2.length] = +e3.text;
|
|
94227
94227
|
}
|
|
94228
94228
|
if ("number" != typeof M$2[n2]) throw new Error("Bad segment: " + n2);
|
|
@@ -94494,7 +94494,7 @@ function I$3(t2, e2) {
|
|
|
94494
94494
|
}
|
|
94495
94495
|
return { type: "fillPath", ops: s2 };
|
|
94496
94496
|
}
|
|
94497
|
-
function C$
|
|
94497
|
+
function C$2(t2, e2) {
|
|
94498
94498
|
return (function(t3, e3) {
|
|
94499
94499
|
let s2 = t3.fillStyle || "hachure";
|
|
94500
94500
|
if (!u3[s2]) switch (s2) {
|
|
@@ -94680,7 +94680,7 @@ function Y$2(t2, e2 = 0.15, s2) {
|
|
|
94680
94680
|
}
|
|
94681
94681
|
return s2 && s2 > 0 ? X$3(n2, 0, n2.length, s2) : n2;
|
|
94682
94682
|
}
|
|
94683
|
-
const tt = "none";
|
|
94683
|
+
const tt$1 = "none";
|
|
94684
94684
|
let et$1 = class et {
|
|
94685
94685
|
constructor(t2) {
|
|
94686
94686
|
this.defaultOptions = { maxRandomnessOffset: 2, roughness: 1, bowing: 1, stroke: "#000", strokeWidth: 1, curveTightness: 0, curveFitting: 0.95, curveStepCount: 9, fillStyle: "hachure", fillWeight: -1, hachureAngle: -41, hachureGap: -1, dashOffset: -1, dashGap: -1, zigzagOffset: -1, seed: 0, disableMultiStroke: false, disableMultiStrokeFill: false, preserveVertices: false, fillShapeRoughnessGain: 0.8 }, this.config = t2 || {}, this.config.options && (this.defaultOptions = this._o(this.config.options));
|
|
@@ -94702,17 +94702,17 @@ let et$1 = class et {
|
|
|
94702
94702
|
const a2 = this._o(o2), h3 = [], r2 = O$3(t2, e2, s2, n2, a2);
|
|
94703
94703
|
if (a2.fill) {
|
|
94704
94704
|
const o3 = [[t2, e2], [t2 + s2, e2], [t2 + s2, e2 + n2], [t2, e2 + n2]];
|
|
94705
|
-
"solid" === a2.fillStyle ? h3.push(I$3([o3], a2)) : h3.push(C$
|
|
94705
|
+
"solid" === a2.fillStyle ? h3.push(I$3([o3], a2)) : h3.push(C$2([o3], a2));
|
|
94706
94706
|
}
|
|
94707
|
-
return a2.stroke !== tt && h3.push(r2), this._d("rectangle", h3, a2);
|
|
94707
|
+
return a2.stroke !== tt$1 && h3.push(r2), this._d("rectangle", h3, a2);
|
|
94708
94708
|
}
|
|
94709
94709
|
ellipse(t2, e2, s2, n2, o2) {
|
|
94710
94710
|
const a2 = this._o(o2), h3 = [], r2 = T$1(s2, n2, a2), i2 = D$2(t2, e2, a2, r2);
|
|
94711
94711
|
if (a2.fill) if ("solid" === a2.fillStyle) {
|
|
94712
94712
|
const s3 = D$2(t2, e2, a2, r2).opset;
|
|
94713
94713
|
s3.type = "fillPath", h3.push(s3);
|
|
94714
|
-
} else h3.push(C$
|
|
94715
|
-
return a2.stroke !== tt && h3.push(i2.opset), this._d("ellipse", h3, a2);
|
|
94714
|
+
} else h3.push(C$2([i2.estimatedPoints], a2));
|
|
94715
|
+
return a2.stroke !== tt$1 && h3.push(i2.opset), this._d("ellipse", h3, a2);
|
|
94716
94716
|
}
|
|
94717
94717
|
circle(t2, e2, s2, n2) {
|
|
94718
94718
|
const o2 = this.ellipse(t2, e2, s2, s2, n2);
|
|
@@ -94738,13 +94738,13 @@ let et$1 = class et {
|
|
|
94738
94738
|
p3 - u4 > 2 * Math.PI && (u4 = 0, p3 = 2 * Math.PI);
|
|
94739
94739
|
const f2 = (p3 - u4) / h4.curveStepCount, d2 = [];
|
|
94740
94740
|
for (let t4 = u4; t4 <= p3; t4 += f2) d2.push([r3 + c3 * Math.cos(t4), i3 + l4 * Math.sin(t4)]);
|
|
94741
|
-
return d2.push([r3 + c3 * Math.cos(p3), i3 + l4 * Math.sin(p3)]), d2.push([r3, i3]), C$
|
|
94741
|
+
return d2.push([r3 + c3 * Math.cos(p3), i3 + l4 * Math.sin(p3)]), d2.push([r3, i3]), C$2([d2], h4);
|
|
94742
94742
|
})(t2, e2, s2, n2, o2, a2, i2));
|
|
94743
|
-
return i2.stroke !== tt && c2.push(l3), this._d("arc", c2, i2);
|
|
94743
|
+
return i2.stroke !== tt$1 && c2.push(l3), this._d("arc", c2, i2);
|
|
94744
94744
|
}
|
|
94745
94745
|
curve(t2, e2) {
|
|
94746
94746
|
const s2 = this._o(e2), n2 = [], o2 = L$1(t2, s2);
|
|
94747
|
-
if (s2.fill && s2.fill !== tt) if ("solid" === s2.fillStyle) {
|
|
94747
|
+
if (s2.fill && s2.fill !== tt$1) if ("solid" === s2.fillStyle) {
|
|
94748
94748
|
const e3 = L$1(t2, Object.assign(Object.assign({}, s2), { disableMultiStroke: true, roughness: s2.roughness ? s2.roughness + s2.fillShapeRoughnessGain : 0 }));
|
|
94749
94749
|
n2.push({ type: "fillPath", ops: this._mergedShape(e3.ops) });
|
|
94750
94750
|
} else {
|
|
@@ -94753,19 +94753,19 @@ let et$1 = class et {
|
|
|
94753
94753
|
const t3 = "number" == typeof o3[0][0] ? [o3] : o3;
|
|
94754
94754
|
for (const n3 of t3) n3.length < 3 ? e3.push(...n3) : 3 === n3.length ? e3.push(...Y$2(H$2([n3[0], n3[0], n3[1], n3[2]]), 10, (1 + s2.roughness) / 2)) : e3.push(...Y$2(H$2(n3), 10, (1 + s2.roughness) / 2));
|
|
94755
94755
|
}
|
|
94756
|
-
e3.length && n2.push(C$
|
|
94756
|
+
e3.length && n2.push(C$2([e3], s2));
|
|
94757
94757
|
}
|
|
94758
|
-
return s2.stroke !== tt && n2.push(o2), this._d("curve", n2, s2);
|
|
94758
|
+
return s2.stroke !== tt$1 && n2.push(o2), this._d("curve", n2, s2);
|
|
94759
94759
|
}
|
|
94760
94760
|
polygon(t2, e2) {
|
|
94761
94761
|
const s2 = this._o(e2), n2 = [], o2 = S$1(t2, true, s2);
|
|
94762
|
-
return s2.fill && ("solid" === s2.fillStyle ? n2.push(I$3([t2], s2)) : n2.push(C$
|
|
94762
|
+
return s2.fill && ("solid" === s2.fillStyle ? n2.push(I$3([t2], s2)) : n2.push(C$2([t2], s2))), s2.stroke !== tt$1 && n2.push(o2), this._d("polygon", n2, s2);
|
|
94763
94763
|
}
|
|
94764
94764
|
path(t2, e2) {
|
|
94765
94765
|
const s2 = this._o(e2), n2 = [];
|
|
94766
94766
|
if (!t2) return this._d("path", n2, s2);
|
|
94767
94767
|
t2 = (t2 || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
|
|
94768
|
-
const o2 = s2.fill && "transparent" !== s2.fill && s2.fill !== tt, a2 = s2.stroke !== tt, h3 = !!(s2.simplification && s2.simplification < 1), r2 = (function(t3, e3, s3) {
|
|
94768
|
+
const o2 = s2.fill && "transparent" !== s2.fill && s2.fill !== tt$1, a2 = s2.stroke !== tt$1, h3 = !!(s2.simplification && s2.simplification < 1), r2 = (function(t3, e3, s3) {
|
|
94769
94769
|
const n3 = m$1(y$1(b$2(t3))), o3 = [];
|
|
94770
94770
|
let a3 = [], h4 = [0, 0], r3 = [];
|
|
94771
94771
|
const i3 = () => {
|
|
@@ -94802,7 +94802,7 @@ let et$1 = class et {
|
|
|
94802
94802
|
const e3 = _(t2, Object.assign(Object.assign({}, s2), { disableMultiStroke: true, roughness: s2.roughness ? s2.roughness + s2.fillShapeRoughnessGain : 0 }));
|
|
94803
94803
|
n2.push({ type: "fillPath", ops: this._mergedShape(e3.ops) });
|
|
94804
94804
|
} else n2.push(I$3(r2, s2));
|
|
94805
|
-
else n2.push(C$
|
|
94805
|
+
else n2.push(C$2(r2, s2));
|
|
94806
94806
|
return a2 && (h3 ? r2.forEach(((t3) => {
|
|
94807
94807
|
n2.push(S$1(t3, false, s2));
|
|
94808
94808
|
})) : n2.push(i2)), this._d("path", n2, s2);
|
|
@@ -94830,10 +94830,10 @@ let et$1 = class et {
|
|
|
94830
94830
|
let e3 = null;
|
|
94831
94831
|
switch (t3.type) {
|
|
94832
94832
|
case "path":
|
|
94833
|
-
e3 = { d: this.opsToPath(t3), stroke: s2.stroke, strokeWidth: s2.strokeWidth, fill: tt };
|
|
94833
|
+
e3 = { d: this.opsToPath(t3), stroke: s2.stroke, strokeWidth: s2.strokeWidth, fill: tt$1 };
|
|
94834
94834
|
break;
|
|
94835
94835
|
case "fillPath":
|
|
94836
|
-
e3 = { d: this.opsToPath(t3), stroke: tt, strokeWidth: 0, fill: s2.fill || tt };
|
|
94836
|
+
e3 = { d: this.opsToPath(t3), stroke: tt$1, strokeWidth: 0, fill: s2.fill || tt$1 };
|
|
94837
94837
|
break;
|
|
94838
94838
|
case "fillSketch":
|
|
94839
94839
|
e3 = this.fillSketch(t3, s2);
|
|
@@ -94844,13 +94844,13 @@ let et$1 = class et {
|
|
|
94844
94844
|
}
|
|
94845
94845
|
fillSketch(t2, e2) {
|
|
94846
94846
|
let s2 = e2.fillWeight;
|
|
94847
|
-
return s2 < 0 && (s2 = e2.strokeWidth / 2), { d: this.opsToPath(t2), stroke: e2.fill || tt, strokeWidth: s2, fill: tt };
|
|
94847
|
+
return s2 < 0 && (s2 = e2.strokeWidth / 2), { d: this.opsToPath(t2), stroke: e2.fill || tt$1, strokeWidth: s2, fill: tt$1 };
|
|
94848
94848
|
}
|
|
94849
94849
|
_mergedShape(t2) {
|
|
94850
94850
|
return t2.filter(((t3, e2) => 0 === e2 || "move" !== t3.op));
|
|
94851
94851
|
}
|
|
94852
94852
|
};
|
|
94853
|
-
|
|
94853
|
+
class st {
|
|
94854
94854
|
constructor(t2, e2) {
|
|
94855
94855
|
this.canvas = t2, this.ctx = this.canvas.getContext("2d"), this.gen = new et$1(e2);
|
|
94856
94856
|
}
|
|
@@ -94933,9 +94933,9 @@ let st$1 = class st {
|
|
|
94933
94933
|
const s2 = this.gen.path(t2, e2);
|
|
94934
94934
|
return this.draw(s2), s2;
|
|
94935
94935
|
}
|
|
94936
|
-
}
|
|
94936
|
+
}
|
|
94937
94937
|
const nt$1 = "http://www.w3.org/2000/svg";
|
|
94938
|
-
class ot {
|
|
94938
|
+
let ot$1 = class ot {
|
|
94939
94939
|
constructor(t2, e2) {
|
|
94940
94940
|
this.svg = t2, this.gen = new et$1(e2);
|
|
94941
94941
|
}
|
|
@@ -95008,8 +95008,8 @@ class ot {
|
|
|
95008
95008
|
const s2 = this.gen.path(t2, e2);
|
|
95009
95009
|
return this.draw(s2);
|
|
95010
95010
|
}
|
|
95011
|
-
}
|
|
95012
|
-
var at = { canvas: (t2, e2) => new st
|
|
95011
|
+
};
|
|
95012
|
+
var at = { canvas: (t2, e2) => new st(t2, e2), svg: (t2, e2) => new ot$1(t2, e2), generator: (t2) => new et$1(t2), newSeed: () => et$1.newSeed() };
|
|
95013
95013
|
var labelHelper = /* @__PURE__ */ __name(async (parent, node2, _classes) => {
|
|
95014
95014
|
let cssClasses;
|
|
95015
95015
|
const useHtmlLabels = node2.useHtmlLabels || evaluate(getConfig2()?.htmlLabels);
|
|
@@ -101034,12 +101034,12 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
|
|
|
101034
101034
|
registerLayoutLoaders([
|
|
101035
101035
|
{
|
|
101036
101036
|
name: "dagre",
|
|
101037
|
-
loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-
|
|
101037
|
+
loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-DgjTaV05.js"), "loader")
|
|
101038
101038
|
},
|
|
101039
101039
|
...[
|
|
101040
101040
|
{
|
|
101041
101041
|
name: "cose-bilkent",
|
|
101042
|
-
loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-
|
|
101042
|
+
loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-PD3Cmd9b.js"), "loader")
|
|
101043
101043
|
}
|
|
101044
101044
|
]
|
|
101045
101045
|
]);
|
|
@@ -101070,7 +101070,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
|
|
|
101070
101070
|
return /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(txt);
|
|
101071
101071
|
}, "detector");
|
|
101072
101072
|
var loader = /* @__PURE__ */ __name(async () => {
|
|
101073
|
-
const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-
|
|
101073
|
+
const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-qgf3e5LC.js");
|
|
101074
101074
|
return { id: id$1, diagram: diagram2 };
|
|
101075
101075
|
}, "loader");
|
|
101076
101076
|
var plugin = {
|
|
@@ -101087,7 +101087,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101087
101087
|
return /^\s*graph/.test(txt);
|
|
101088
101088
|
}, "detector");
|
|
101089
101089
|
var loader2 = /* @__PURE__ */ __name(async () => {
|
|
101090
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
101090
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-CFtQhRYA.js");
|
|
101091
101091
|
return { id: id2, diagram: diagram2 };
|
|
101092
101092
|
}, "loader");
|
|
101093
101093
|
var plugin2 = {
|
|
@@ -101110,7 +101110,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101110
101110
|
return /^\s*flowchart/.test(txt);
|
|
101111
101111
|
}, "detector");
|
|
101112
101112
|
var loader3 = /* @__PURE__ */ __name(async () => {
|
|
101113
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
101113
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-CFtQhRYA.js");
|
|
101114
101114
|
return { id: id3, diagram: diagram2 };
|
|
101115
101115
|
}, "loader");
|
|
101116
101116
|
var plugin3 = {
|
|
@@ -101124,7 +101124,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
|
|
|
101124
101124
|
return /^\s*erDiagram/.test(txt);
|
|
101125
101125
|
}, "detector");
|
|
101126
101126
|
var loader4 = /* @__PURE__ */ __name(async () => {
|
|
101127
|
-
const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-
|
|
101127
|
+
const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-Cci7pZ-T.js");
|
|
101128
101128
|
return { id: id4, diagram: diagram2 };
|
|
101129
101129
|
}, "loader");
|
|
101130
101130
|
var plugin4 = {
|
|
@@ -101138,7 +101138,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
|
|
|
101138
101138
|
return /^\s*gitGraph/.test(txt);
|
|
101139
101139
|
}, "detector");
|
|
101140
101140
|
var loader5 = /* @__PURE__ */ __name(async () => {
|
|
101141
|
-
const { diagram: diagram2 } = await import("./gitGraphDiagram-NY62KEGX-
|
|
101141
|
+
const { diagram: diagram2 } = await import("./gitGraphDiagram-NY62KEGX-Bi-o_EAB.js");
|
|
101142
101142
|
return { id: id5, diagram: diagram2 };
|
|
101143
101143
|
}, "loader");
|
|
101144
101144
|
var plugin5 = {
|
|
@@ -101152,7 +101152,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
101152
101152
|
return /^\s*gantt/.test(txt);
|
|
101153
101153
|
}, "detector");
|
|
101154
101154
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
101155
|
-
const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-
|
|
101155
|
+
const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-BTkIx-5v.js");
|
|
101156
101156
|
return { id: id6, diagram: diagram2 };
|
|
101157
101157
|
}, "loader");
|
|
101158
101158
|
var plugin6 = {
|
|
@@ -101166,7 +101166,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
101166
101166
|
return /^\s*info/.test(txt);
|
|
101167
101167
|
}, "detector");
|
|
101168
101168
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
101169
|
-
const { diagram: diagram2 } = await import("./infoDiagram-WHAUD3N6-
|
|
101169
|
+
const { diagram: diagram2 } = await import("./infoDiagram-WHAUD3N6-BiU0QW2V.js");
|
|
101170
101170
|
return { id: id7, diagram: diagram2 };
|
|
101171
101171
|
}, "loader");
|
|
101172
101172
|
var info = {
|
|
@@ -101179,7 +101179,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
|
|
|
101179
101179
|
return /^\s*pie/.test(txt);
|
|
101180
101180
|
}, "detector");
|
|
101181
101181
|
var loader8 = /* @__PURE__ */ __name(async () => {
|
|
101182
|
-
const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-
|
|
101182
|
+
const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-DIVZXh1X.js");
|
|
101183
101183
|
return { id: id8, diagram: diagram2 };
|
|
101184
101184
|
}, "loader");
|
|
101185
101185
|
var pie = {
|
|
@@ -101192,7 +101192,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
|
|
|
101192
101192
|
return /^\s*quadrantChart/.test(txt);
|
|
101193
101193
|
}, "detector");
|
|
101194
101194
|
var loader9 = /* @__PURE__ */ __name(async () => {
|
|
101195
|
-
const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-
|
|
101195
|
+
const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-9DDnueEz.js");
|
|
101196
101196
|
return { id: id9, diagram: diagram2 };
|
|
101197
101197
|
}, "loader");
|
|
101198
101198
|
var plugin7 = {
|
|
@@ -101206,7 +101206,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
|
|
|
101206
101206
|
return /^\s*xychart(-beta)?/.test(txt);
|
|
101207
101207
|
}, "detector");
|
|
101208
101208
|
var loader10 = /* @__PURE__ */ __name(async () => {
|
|
101209
|
-
const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-
|
|
101209
|
+
const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-QUNLRyKO.js");
|
|
101210
101210
|
return { id: id10, diagram: diagram2 };
|
|
101211
101211
|
}, "loader");
|
|
101212
101212
|
var plugin8 = {
|
|
@@ -101220,7 +101220,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
|
|
|
101220
101220
|
return /^\s*requirement(Diagram)?/.test(txt);
|
|
101221
101221
|
}, "detector");
|
|
101222
101222
|
var loader11 = /* @__PURE__ */ __name(async () => {
|
|
101223
|
-
const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-
|
|
101223
|
+
const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-CcRlwgt6.js");
|
|
101224
101224
|
return { id: id11, diagram: diagram2 };
|
|
101225
101225
|
}, "loader");
|
|
101226
101226
|
var plugin9 = {
|
|
@@ -101234,7 +101234,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
|
|
|
101234
101234
|
return /^\s*sequenceDiagram/.test(txt);
|
|
101235
101235
|
}, "detector");
|
|
101236
101236
|
var loader12 = /* @__PURE__ */ __name(async () => {
|
|
101237
|
-
const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-
|
|
101237
|
+
const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-BEkxMpBG.js");
|
|
101238
101238
|
return { id: id12, diagram: diagram2 };
|
|
101239
101239
|
}, "loader");
|
|
101240
101240
|
var plugin10 = {
|
|
@@ -101251,7 +101251,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101251
101251
|
return /^\s*classDiagram/.test(txt);
|
|
101252
101252
|
}, "detector");
|
|
101253
101253
|
var loader13 = /* @__PURE__ */ __name(async () => {
|
|
101254
|
-
const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-
|
|
101254
|
+
const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-CgIGInn4.js");
|
|
101255
101255
|
return { id: id13, diagram: diagram2 };
|
|
101256
101256
|
}, "loader");
|
|
101257
101257
|
var plugin11 = {
|
|
@@ -101268,7 +101268,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101268
101268
|
return /^\s*classDiagram-v2/.test(txt);
|
|
101269
101269
|
}, "detector");
|
|
101270
101270
|
var loader14 = /* @__PURE__ */ __name(async () => {
|
|
101271
|
-
const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-
|
|
101271
|
+
const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-CgIGInn4.js");
|
|
101272
101272
|
return { id: id14, diagram: diagram2 };
|
|
101273
101273
|
}, "loader");
|
|
101274
101274
|
var plugin12 = {
|
|
@@ -101285,7 +101285,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101285
101285
|
return /^\s*stateDiagram/.test(txt);
|
|
101286
101286
|
}, "detector");
|
|
101287
101287
|
var loader15 = /* @__PURE__ */ __name(async () => {
|
|
101288
|
-
const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-
|
|
101288
|
+
const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-B2oxE8B3.js");
|
|
101289
101289
|
return { id: id15, diagram: diagram2 };
|
|
101290
101290
|
}, "loader");
|
|
101291
101291
|
var plugin13 = {
|
|
@@ -101305,7 +101305,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101305
101305
|
return false;
|
|
101306
101306
|
}, "detector");
|
|
101307
101307
|
var loader16 = /* @__PURE__ */ __name(async () => {
|
|
101308
|
-
const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-
|
|
101308
|
+
const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-DbneOtWC.js");
|
|
101309
101309
|
return { id: id16, diagram: diagram2 };
|
|
101310
101310
|
}, "loader");
|
|
101311
101311
|
var plugin14 = {
|
|
@@ -101319,7 +101319,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
|
|
|
101319
101319
|
return /^\s*journey/.test(txt);
|
|
101320
101320
|
}, "detector");
|
|
101321
101321
|
var loader17 = /* @__PURE__ */ __name(async () => {
|
|
101322
|
-
const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-
|
|
101322
|
+
const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-BteN4PJS.js");
|
|
101323
101323
|
return { id: id17, diagram: diagram2 };
|
|
101324
101324
|
}, "loader");
|
|
101325
101325
|
var plugin15 = {
|
|
@@ -101386,7 +101386,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
|
|
|
101386
101386
|
return false;
|
|
101387
101387
|
}, "detector");
|
|
101388
101388
|
var loader18 = /* @__PURE__ */ __name(async () => {
|
|
101389
|
-
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-
|
|
101389
|
+
const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-CFtQhRYA.js");
|
|
101390
101390
|
return { id: id18, diagram: diagram2 };
|
|
101391
101391
|
}, "loader");
|
|
101392
101392
|
var plugin16 = {
|
|
@@ -101400,7 +101400,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
|
|
|
101400
101400
|
return /^\s*timeline/.test(txt);
|
|
101401
101401
|
}, "detector");
|
|
101402
101402
|
var loader19 = /* @__PURE__ */ __name(async () => {
|
|
101403
|
-
const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-
|
|
101403
|
+
const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-ByNphRV7.js");
|
|
101404
101404
|
return { id: id19, diagram: diagram2 };
|
|
101405
101405
|
}, "loader");
|
|
101406
101406
|
var plugin17 = {
|
|
@@ -101414,7 +101414,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
|
|
|
101414
101414
|
return /^\s*mindmap/.test(txt);
|
|
101415
101415
|
}, "detector");
|
|
101416
101416
|
var loader20 = /* @__PURE__ */ __name(async () => {
|
|
101417
|
-
const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-
|
|
101417
|
+
const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-BZFlOxRY.js");
|
|
101418
101418
|
return { id: id20, diagram: diagram2 };
|
|
101419
101419
|
}, "loader");
|
|
101420
101420
|
var plugin18 = {
|
|
@@ -101428,7 +101428,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
|
|
|
101428
101428
|
return /^\s*kanban/.test(txt);
|
|
101429
101429
|
}, "detector");
|
|
101430
101430
|
var loader21 = /* @__PURE__ */ __name(async () => {
|
|
101431
|
-
const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-
|
|
101431
|
+
const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-NDl2gO7n.js");
|
|
101432
101432
|
return { id: id21, diagram: diagram2 };
|
|
101433
101433
|
}, "loader");
|
|
101434
101434
|
var plugin19 = {
|
|
@@ -101442,7 +101442,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
|
|
|
101442
101442
|
return /^\s*sankey(-beta)?/.test(txt);
|
|
101443
101443
|
}, "detector");
|
|
101444
101444
|
var loader22 = /* @__PURE__ */ __name(async () => {
|
|
101445
|
-
const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-
|
|
101445
|
+
const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-vJRuYFkA.js");
|
|
101446
101446
|
return { id: id22, diagram: diagram2 };
|
|
101447
101447
|
}, "loader");
|
|
101448
101448
|
var plugin20 = {
|
|
@@ -101456,7 +101456,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
|
|
|
101456
101456
|
return /^\s*packet(-beta)?/.test(txt);
|
|
101457
101457
|
}, "detector");
|
|
101458
101458
|
var loader23 = /* @__PURE__ */ __name(async () => {
|
|
101459
|
-
const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-
|
|
101459
|
+
const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-Bq_4wImq.js");
|
|
101460
101460
|
return { id: id23, diagram: diagram2 };
|
|
101461
101461
|
}, "loader");
|
|
101462
101462
|
var packet = {
|
|
@@ -101469,7 +101469,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
|
|
|
101469
101469
|
return /^\s*radar-beta/.test(txt);
|
|
101470
101470
|
}, "detector");
|
|
101471
101471
|
var loader24 = /* @__PURE__ */ __name(async () => {
|
|
101472
|
-
const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-
|
|
101472
|
+
const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-BRajomIJ.js");
|
|
101473
101473
|
return { id: id24, diagram: diagram2 };
|
|
101474
101474
|
}, "loader");
|
|
101475
101475
|
var radar = {
|
|
@@ -101482,7 +101482,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
|
|
|
101482
101482
|
return /^\s*block(-beta)?/.test(txt);
|
|
101483
101483
|
}, "detector");
|
|
101484
101484
|
var loader25 = /* @__PURE__ */ __name(async () => {
|
|
101485
|
-
const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-
|
|
101485
|
+
const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-C8n3Oqno.js");
|
|
101486
101486
|
return { id: id25, diagram: diagram2 };
|
|
101487
101487
|
}, "loader");
|
|
101488
101488
|
var plugin21 = {
|
|
@@ -101496,7 +101496,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
|
|
|
101496
101496
|
return /^\s*architecture/.test(txt);
|
|
101497
101497
|
}, "detector");
|
|
101498
101498
|
var loader26 = /* @__PURE__ */ __name(async () => {
|
|
101499
|
-
const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-
|
|
101499
|
+
const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-BzKLfMm5.js");
|
|
101500
101500
|
return { id: id26, diagram: diagram2 };
|
|
101501
101501
|
}, "loader");
|
|
101502
101502
|
var architecture = {
|
|
@@ -101510,7 +101510,7 @@ var detector27 = /* @__PURE__ */ __name((txt) => {
|
|
|
101510
101510
|
return /^\s*treemap/.test(txt);
|
|
101511
101511
|
}, "detector");
|
|
101512
101512
|
var loader27 = /* @__PURE__ */ __name(async () => {
|
|
101513
|
-
const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-
|
|
101513
|
+
const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-CRdd_rkv.js");
|
|
101514
101514
|
return { id: id27, diagram: diagram2 };
|
|
101515
101515
|
}, "loader");
|
|
101516
101516
|
var treemap = {
|
|
@@ -102619,9 +102619,9 @@ const Mermaid = /* @__PURE__ */ React__default.memo((props) => {
|
|
|
102619
102619
|
console.error("vite-plugin-css-injected-by-js", r2);
|
|
102620
102620
|
}
|
|
102621
102621
|
})();
|
|
102622
|
-
const { Text: k$
|
|
102622
|
+
const { Text: k$2 } = Typography, N$1 = (t2) => {
|
|
102623
102623
|
const { className: o2, children: r2 } = t2, n2 = o2?.match(/language-(\w+)/)?.[1] ?? "";
|
|
102624
|
-
return typeof r2 != "string" ? null : n2 === "mermaid" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Mermaid, { children: r2 }) : n2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(CodeHighlighter, { lang: n2, children: r2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(k$
|
|
102624
|
+
return typeof r2 != "string" ? null : n2 === "mermaid" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Mermaid, { children: r2 }) : n2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(CodeHighlighter, { lang: n2, children: r2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(k$2, { code: true, children: r2 });
|
|
102625
102625
|
}, m = (t2) => typeof t2 == "string" || typeof t2 == "number" ? String(t2) : isValidElement(t2) ? m(t2.props.children) : Array.isArray(t2) ? t2.map(m).join("") : "", $$1 = (t2) => {
|
|
102626
102626
|
const o2 = [], r2 = [], n2 = Children.toArray(t2);
|
|
102627
102627
|
for (const e2 of n2) {
|
|
@@ -105238,10 +105238,10 @@ function ve(t2, e2 = {}) {
|
|
|
105238
105238
|
}
|
|
105239
105239
|
const j = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
|
|
105240
105240
|
j.primary = j[5];
|
|
105241
|
-
function ke
|
|
105241
|
+
function ke() {
|
|
105242
105242
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
105243
105243
|
}
|
|
105244
|
-
function Ce(t2, e2) {
|
|
105244
|
+
function Ce$1(t2, e2) {
|
|
105245
105245
|
if (!t2)
|
|
105246
105246
|
return false;
|
|
105247
105247
|
if (t2.contains)
|
|
@@ -105270,7 +105270,7 @@ function I$1(t2) {
|
|
|
105270
105270
|
return Array.from(($2.get(t2) || t2).children).filter((e2) => e2.tagName === "STYLE");
|
|
105271
105271
|
}
|
|
105272
105272
|
function re(t2, e2 = {}) {
|
|
105273
|
-
if (!ke
|
|
105273
|
+
if (!ke())
|
|
105274
105274
|
return null;
|
|
105275
105275
|
const {
|
|
105276
105276
|
csp: n2,
|
|
@@ -105305,7 +105305,7 @@ function Ne$1(t2, e2 = {}) {
|
|
|
105305
105305
|
}
|
|
105306
105306
|
function Me$1(t2, e2) {
|
|
105307
105307
|
const n2 = $2.get(t2);
|
|
105308
|
-
if (!n2 || !Ce(document, n2)) {
|
|
105308
|
+
if (!n2 || !Ce$1(document, n2)) {
|
|
105309
105309
|
const r2 = re("", e2), {
|
|
105310
105310
|
parentNode: s2
|
|
105311
105311
|
} = r2;
|
|
@@ -105327,11 +105327,11 @@ function je(t2, e2, n2 = {}) {
|
|
|
105327
105327
|
function se(t2) {
|
|
105328
105328
|
return t2?.getRootNode?.();
|
|
105329
105329
|
}
|
|
105330
|
-
function $e
|
|
105330
|
+
function $e(t2) {
|
|
105331
105331
|
return se(t2) instanceof ShadowRoot;
|
|
105332
105332
|
}
|
|
105333
105333
|
function He$1(t2) {
|
|
105334
|
-
return $e
|
|
105334
|
+
return $e(t2) ? se(t2) : null;
|
|
105335
105335
|
}
|
|
105336
105336
|
let H$1 = {};
|
|
105337
105337
|
const O$2 = [], Te = (t2) => {
|
|
@@ -105355,20 +105355,20 @@ function qe() {
|
|
|
105355
105355
|
function ie(t2, e2, n2) {
|
|
105356
105356
|
!e2 && !H$1[n2] && (t2(false, n2), H$1[n2] = true);
|
|
105357
105357
|
}
|
|
105358
|
-
function k(t2, e2) {
|
|
105358
|
+
function k$1(t2, e2) {
|
|
105359
105359
|
ie(Re$1, t2, e2);
|
|
105360
105360
|
}
|
|
105361
105361
|
function Ae$1(t2, e2) {
|
|
105362
105362
|
ie(Ee, t2, e2);
|
|
105363
105363
|
}
|
|
105364
|
-
k.preMessage = Te;
|
|
105365
|
-
k.resetWarned = qe;
|
|
105366
|
-
k.noteOnce = Ae$1;
|
|
105364
|
+
k$1.preMessage = Te;
|
|
105365
|
+
k$1.resetWarned = qe;
|
|
105366
|
+
k$1.noteOnce = Ae$1;
|
|
105367
105367
|
function Ie$1(t2) {
|
|
105368
105368
|
return t2.replace(/-(.)/g, (e2, n2) => n2.toUpperCase());
|
|
105369
105369
|
}
|
|
105370
105370
|
function Oe$1(t2, e2) {
|
|
105371
|
-
k(t2, `[@ant-design/icons] ${e2}`);
|
|
105371
|
+
k$1(t2, `[@ant-design/icons] ${e2}`);
|
|
105372
105372
|
}
|
|
105373
105373
|
function U$1(t2) {
|
|
105374
105374
|
return typeof t2 == "object" && typeof t2.name == "string" && typeof t2.theme == "string" && (typeof t2.icon == "object" || typeof t2.icon == "function");
|
|
@@ -105395,7 +105395,7 @@ function oe(t2) {
|
|
|
105395
105395
|
function ae$1(t2) {
|
|
105396
105396
|
return t2 ? Array.isArray(t2) ? t2 : [t2] : [];
|
|
105397
105397
|
}
|
|
105398
|
-
const Le
|
|
105398
|
+
const Le = `
|
|
105399
105399
|
.anticon {
|
|
105400
105400
|
display: inline-flex;
|
|
105401
105401
|
align-items: center;
|
|
@@ -105457,7 +105457,7 @@ const Le$1 = `
|
|
|
105457
105457
|
prefixCls: n2,
|
|
105458
105458
|
layer: r2
|
|
105459
105459
|
} = useContext(X$1);
|
|
105460
|
-
let s2 = Le
|
|
105460
|
+
let s2 = Le;
|
|
105461
105461
|
n2 && (s2 = s2.replace(/anticon/g, n2)), r2 && (s2 = `@layer ${r2} {
|
|
105462
105462
|
${s2}
|
|
105463
105463
|
}`), useEffect(() => {
|
|
@@ -105542,7 +105542,7 @@ function R$1() {
|
|
|
105542
105542
|
}, R$1.apply(this, arguments);
|
|
105543
105543
|
}
|
|
105544
105544
|
ce(j.primary);
|
|
105545
|
-
const C$
|
|
105545
|
+
const C$1 = /* @__PURE__ */ React.forwardRef((t2, e2) => {
|
|
105546
105546
|
const {
|
|
105547
105547
|
// affect outter <i>...</i>
|
|
105548
105548
|
className: n2,
|
|
@@ -105583,9 +105583,9 @@ const C$2 = /* @__PURE__ */ React.forwardRef((t2, e2) => {
|
|
|
105583
105583
|
style: S3
|
|
105584
105584
|
}));
|
|
105585
105585
|
});
|
|
105586
|
-
C$
|
|
105587
|
-
C$
|
|
105588
|
-
process.env.NODE_ENV !== "production" && (C$
|
|
105586
|
+
C$1.getTwoToneColor = De$1;
|
|
105587
|
+
C$1.setTwoToneColor = ce;
|
|
105588
|
+
process.env.NODE_ENV !== "production" && (C$1.displayName = "AntdIcon");
|
|
105589
105589
|
var Ve = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" };
|
|
105590
105590
|
function E() {
|
|
105591
105591
|
return E = Object.assign ? Object.assign.bind() : function(t2) {
|
|
@@ -105597,7 +105597,7 @@ function E() {
|
|
|
105597
105597
|
return t2;
|
|
105598
105598
|
}, E.apply(this, arguments);
|
|
105599
105599
|
}
|
|
105600
|
-
const We$1 = (t2, e2) => /* @__PURE__ */ React.createElement(C$
|
|
105600
|
+
const We$1 = (t2, e2) => /* @__PURE__ */ React.createElement(C$1, E({}, t2, {
|
|
105601
105601
|
ref: e2,
|
|
105602
105602
|
icon: Ve
|
|
105603
105603
|
})), le$1 = /* @__PURE__ */ React.forwardRef(We$1);
|
|
@@ -105686,7 +105686,7 @@ function v({ breadcrumbs: e2 }) {
|
|
|
105686
105686
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "", children: t2 })
|
|
105687
105687
|
] }, `${t2}-${l3}`)) }) : null;
|
|
105688
105688
|
}
|
|
105689
|
-
function C
|
|
105689
|
+
function C(e2, t2) {
|
|
105690
105690
|
const l3 = t2 === "_blank" ? "noreferrer noopener" : "";
|
|
105691
105691
|
return e2 ? l3 ? [...new Set([...e2.split(" "), ...l3.split(" ")].filter(Boolean))].join(" ") : e2 : l3 || void 0;
|
|
105692
105692
|
}
|
|
@@ -105704,7 +105704,7 @@ function b({
|
|
|
105704
105704
|
{
|
|
105705
105705
|
href: e2,
|
|
105706
105706
|
target: t2,
|
|
105707
|
-
rel: C
|
|
105707
|
+
rel: C(l3, t2),
|
|
105708
105708
|
className: a2,
|
|
105709
105709
|
onClick: () => r2?.(),
|
|
105710
105710
|
children: s2
|
|
@@ -105971,7 +105971,7 @@ function q$1({
|
|
|
105971
105971
|
className: l3,
|
|
105972
105972
|
href: e2.href,
|
|
105973
105973
|
target: e2.target,
|
|
105974
|
-
rel: C
|
|
105974
|
+
rel: C(e2.rel, e2.target),
|
|
105975
105975
|
onClick: () => e2.onClick?.(),
|
|
105976
105976
|
children: e2.label
|
|
105977
105977
|
}
|
|
@@ -106215,16 +106215,16 @@ function Z$1(e2) {
|
|
|
106215
106215
|
try {
|
|
106216
106216
|
if (typeof document < "u") {
|
|
106217
106217
|
var r2 = document.createElement("style");
|
|
106218
|
-
r2.appendChild(document.createTextNode('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-20{top:calc(var(--spacing)*20)}.top-21{top:calc(var(--spacing)*21)}.top-full{top:100%}.right-4{right:calc(var(--spacing)*4)}.right-5{right:calc(var(--spacing)*5)}.right-full{right:100%}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-2\\.5{left:calc(var(--spacing)*2.5)}.left-full{left:100%}.z-50{z-index:50}.z-999{z-index:999}.z-1000{z-index:1000}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-2{margin-right:calc(var(--spacing)*2)}.-mb-0\\.5{margin-bottom:calc(var(--spacing)*-.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[75\\%\\]{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-full\\!{width:100%!important}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[520px\\]{max-width:520px}.max-w-\\[730px\\]{max-width:730px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#018AE5\\]{border-color:#018ae5}.border-\\[\\#E4E5EF\\]{border-color:#e4e5ef}.border-\\[\\#E6E6E6\\]{border-color:#e6e6e6}.border-\\[\\#EEF0F3\\]{border-color:#eef0f3}.border-\\[\\#e5e5e5\\]{border-color:#e5e5e5}.border-black\\/12{border-color:#0000001f}@supports (color:color-mix(in lab,red,red)){.border-black\\/12{border-color:color-mix(in oklab,var(--color-black)12%,transparent)}}.border-black\\/15{border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-black\\/15{border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.bg-\\[\\#00C868\\]{background-color:#00c868}.bg-\\[\\#1a1a1a\\]{background-color:#1a1a1a}.bg-\\[\\#1784FC\\]{background-color:#1784fc}.bg-\\[\\#666666\\]{background-color:#666}.bg-\\[\\#E9F0FE\\]{background-color:#e9f0fe}.bg-\\[\\#F3F4F6\\]{background-color:#f3f4f6}.bg-\\[\\#F5F5F5\\]{background-color:#f5f5f5}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-50\\/30{background-color:#eff6ff4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\!{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-\\[2px\\]{padding:2px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pl-0{padding-left:calc(var(--spacing)*0)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#8b8b8b\\]{color:#8b8b8b}.text-\\[\\#018AE5\\]{color:#018ae5}.text-\\[\\#22C55E\\]{color:#22c55e}.text-\\[\\#38C200\\]{color:#38c200}.text-\\[\\#148EFF\\]{color:#148eff}.text-\\[\\#333\\]{color:#333}.text-\\[\\#999\\]{color:#999}.text-\\[\\#1784FC\\]{color:#1784fc}.text-\\[\\#1990FF\\]{color:#1990ff}.text-\\[\\#333333\\]{color:#333}.text-\\[\\#666666\\]{color:#666}.text-\\[\\#999999\\]{color:#999}.text-\\[\\#C8C8C8\\]{color:#c8c8c8}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.italic{font-style:italic}.opacity-0{opacity:0}.shadow-\\[0_2px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 2px 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\\:text-\\[\\#0072FF\\]:is(:where(.group):hover *){color:#0072ff}.group-hover\\:text-\\[\\#1784FC\\]:is(:where(.group):hover *){color:#1784fc}}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing)*0)}@media (hover:hover){.hover\\:border-\\[\\#0072ff\\]\\!:hover{border-color:#0072ff!important}.hover\\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\\:bg-\\[\\#E0E9FD\\]:hover{background-color:#e0e9fd}.hover\\:bg-\\[\\#EDEDED\\]:hover{background-color:#ededed}.hover\\:bg-\\[\\#F7F7F7\\]:hover{background-color:#f7f7f7}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:text-\\[\\#0072ff\\]\\!:hover{color:#0072ff!important}.hover\\:text-\\[\\#ff4d4f\\]\\!:hover{color:#ff4d4f!important}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:opacity-80:hover{opacity:.8}}@media (min-width:48rem){.md\\:w-\\[610px\\]{width:610px}}.dark\\:border-\\[\\#1D3A6F\\]:where(.dark,.dark *){border-color:#1d3a6f}.dark\\:border-\\[\\#3A3A3A\\]:where(.dark,.dark *){border-color:#3a3a3a}.dark\\:border-\\[\\#4e4e56\\]:where(.dark,.dark *){border-color:#4e4e56}.dark\\:border-\\[\\#272626\\]:where(.dark,.dark *){border-color:#272626}.dark\\:border-black\\/15:where(.dark,.dark *){border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.dark\\:border-black\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\\:border-white\\/15:where(.dark,.dark *){border-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.dark\\:border-white\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.dark\\:bg-\\[\\#1E1E1E\\]:where(.dark,.dark *){background-color:#1e1e1e}.dark\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *){background-color:#1f2937}.dark\\:bg-\\[\\#2A2A2A\\]:where(.dark,.dark *){background-color:#2a2a2a}.dark\\:bg-\\[\\#020617\\]:where(.dark,.dark *){background-color:#020617}.dark\\:bg-\\[\\#020817\\]:where(.dark,.dark *){background-color:#020817}.dark\\:bg-\\[\\#111827\\]:where(.dark,.dark *){background-color:#111827}.dark\\:bg-\\[\\#202126\\]:where(.dark,.dark *){background-color:#202126}.dark\\:bg-\\[\\#202126\\]\\!:where(.dark,.dark *){background-color:#202126!important}.dark\\:bg-\\[\\#A3A3A3\\]:where(.dark,.dark *){background-color:#a3a3a3}.dark\\:bg-black:where(.dark,.dark *){background-color:var(--color-black)}.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:#1c398e1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)10%,transparent)}}.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\\:text-\\[\\#38C200\\]:where(.dark,.dark *){color:#38c200}.dark\\:text-\\[\\#666\\]:where(.dark,.dark *){color:#666}.dark\\:text-\\[\\#1990FF\\]:where(.dark,.dark *){color:#1990ff}.dark\\:text-\\[\\#808080\\]:where(.dark,.dark *){color:gray}.dark\\:text-\\[\\#999999\\]:where(.dark,.dark *){color:#999}.dark\\:text-\\[\\#A3A3A3\\]:where(.dark,.dark *){color:#a3a3a3}.dark\\:text-\\[\\#A6A6A6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-\\[\\#D1D5DB\\]:where(.dark,.dark *){color:#d1d5db}.dark\\:text-\\[\\#D8D8D8\\]:where(.dark,.dark *){color:#d8d8d8}.dark\\:text-\\[\\#E5E7EB\\]:where(.dark,.dark *){color:#e5e7eb}.dark\\:text-\\[\\#a6a6a6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:shadow-\\[0_2px_20px_rgba\\(255\\,255\\,255\\,0\\.1\\)\\]:where(.dark,.dark *){--tw-shadow:0 2px 20px var(--tw-shadow-color,#ffffff1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:drop-shadow-\\[0_0_6px_rgb\\(255\\,255\\,255\\)\\]:where(.dark,.dark *){--tw-drop-shadow-size:drop-shadow(0 0 6px var(--tw-drop-shadow-color,#fff));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (hover:hover){.dark\\:group-hover\\:text-\\[\\#0072FF\\]:where(.dark,.dark *):is(:where(.group):hover *){color:#0072ff}.dark\\:hover\\:border-blue-800:where(.dark,.dark *):hover{border-color:var(--color-blue-800)}.dark\\:hover\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *):hover{background-color:#1f2937}.dark\\:hover\\:bg-\\[\\#2C2C2C\\]:where(.dark,.dark *):hover{background-color:#2c2c2c}.dark\\:hover\\:bg-\\[\\#3A3A3A\\]:where(.dark,.dark *):hover{background-color:#3a3a3a}.dark\\:hover\\:bg-\\[\\#111827\\]:where(.dark,.dark *):hover{background-color:#111827}.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:#1c398e80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)50%,transparent)}}.dark\\:hover\\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\\:hover\\:text-blue-400:where(.dark,.dark *):hover{color:var(--color-blue-400)}}.\\[\\&_\\.ant-btn-icon\\]\\:flex .ant-btn-icon{display:flex}}.cm-deep-research-segmented .ant-segmented-item-label{font-size:16px}.cm-deep-research-segmented .ant-segmented-group{background-color:#fff;padding:2px}.cm-deep-research-segmented .ant-segmented-item{background-color:#fff}.cm-deep-research-segmented .ant-segmented-item:not(:last-child){margin-right:2px}.cm-deep-research-segmented .ant-segmented-item-selected{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item-selected .ant-segmented-item-label{color:#1784fc}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected) .ant-segmented-item-label{color:#333}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover .ant-segmented-item-label{color:#1784fc}.cm-markdown h1,.cm-markdown h2,.cm-markdown h3,.cm-markdown h4,.cm-markdown h5,.cm-markdown h6,.cm-markdown p,.cm-markdown ul,.cm-markdown ol{all:revert}.cm-markdown h1{margin-bottom:16px;font-size:24px;font-weight:600;line-height:32px}.cm-markdown h2{margin-top:24px;margin-bottom:8px;font-size:18px;font-weight:600;line-height:26px}.cm-markdown ol{margin-left:24px;list-style:decimal}.cm-markdown p{margin:4px 0;line-height:1.7}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')), document.head.appendChild(r2);
|
|
106218
|
+
r2.appendChild(document.createTextNode('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-20{top:calc(var(--spacing)*20)}.top-21{top:calc(var(--spacing)*21)}.top-full{top:100%}.right-4{right:calc(var(--spacing)*4)}.right-5{right:calc(var(--spacing)*5)}.right-full{right:100%}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-full{left:100%}.z-50{z-index:50}.z-999{z-index:999}.z-1000{z-index:1000}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-2{margin-right:calc(var(--spacing)*2)}.-mb-0\\.5{margin-bottom:calc(var(--spacing)*-.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[75\\%\\]{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-full\\!{width:100%!important}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[520px\\]{max-width:520px}.max-w-\\[730px\\]{max-width:730px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#018AE5\\]{border-color:#018ae5}.border-\\[\\#018AE5\\]\\/20{border-color:#018ae533}.border-\\[\\#E4E5EF\\]{border-color:#e4e5ef}.border-\\[\\#E6E6E6\\]{border-color:#e6e6e6}.border-\\[\\#EEF0F3\\]{border-color:#eef0f3}.border-\\[\\#e5e5e5\\]{border-color:#e5e5e5}.border-black\\/12{border-color:#0000001f}@supports (color:color-mix(in lab,red,red)){.border-black\\/12{border-color:color-mix(in oklab,var(--color-black)12%,transparent)}}.border-black\\/15{border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-black\\/15{border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-blue-100{border-color:var(--color-blue-100)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.bg-\\[\\#00C868\\]{background-color:#00c868}.bg-\\[\\#1a1a1a\\]{background-color:#1a1a1a}.bg-\\[\\#1784FC\\]{background-color:#1784fc}.bg-\\[\\#666666\\]{background-color:#666}.bg-\\[\\#E9F0FE\\]{background-color:#e9f0fe}.bg-\\[\\#F3F4F6\\]{background-color:#f3f4f6}.bg-\\[\\#F5F5F5\\]{background-color:#f5f5f5}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-50\\/30{background-color:#eff6ff4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\!{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-\\[2px\\]{padding:2px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pl-0{padding-left:calc(var(--spacing)*0)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#8b8b8b\\]{color:#8b8b8b}.text-\\[\\#018AE5\\]{color:#018ae5}.text-\\[\\#22C55E\\]{color:#22c55e}.text-\\[\\#38C200\\]{color:#38c200}.text-\\[\\#148EFF\\]{color:#148eff}.text-\\[\\#333\\]{color:#333}.text-\\[\\#999\\]{color:#999}.text-\\[\\#1784FC\\]{color:#1784fc}.text-\\[\\#1990FF\\]{color:#1990ff}.text-\\[\\#333333\\]{color:#333}.text-\\[\\#666666\\]{color:#666}.text-\\[\\#999999\\]{color:#999}.text-\\[\\#C8C8C8\\]{color:#c8c8c8}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-50{opacity:.5}.shadow-\\[0_2px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 2px 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\\:text-\\[\\#0072FF\\]:is(:where(.group):hover *){color:#0072ff}.group-hover\\:text-\\[\\#1784FC\\]:is(:where(.group):hover *){color:#1784fc}}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing)*0)}@media (hover:hover){.hover\\:border-\\[\\#0072ff\\]\\!:hover{border-color:#0072ff!important}.hover\\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\\:bg-\\[\\#E0E9FD\\]:hover{background-color:#e0e9fd}.hover\\:bg-\\[\\#EDEDED\\]:hover{background-color:#ededed}.hover\\:bg-\\[\\#F7F7F7\\]:hover{background-color:#f7f7f7}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:text-\\[\\#0072ff\\]\\!:hover{color:#0072ff!important}.hover\\:text-\\[\\#ff4d4f\\]\\!:hover{color:#ff4d4f!important}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}}@media (min-width:48rem){.md\\:w-\\[610px\\]{width:610px}}.dark\\:border-\\[\\#1D3A6F\\]:where(.dark,.dark *){border-color:#1d3a6f}.dark\\:border-\\[\\#3A3A3A\\]:where(.dark,.dark *){border-color:#3a3a3a}.dark\\:border-\\[\\#4e4e56\\]:where(.dark,.dark *){border-color:#4e4e56}.dark\\:border-\\[\\#272626\\]:where(.dark,.dark *){border-color:#272626}.dark\\:border-black\\/15:where(.dark,.dark *){border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.dark\\:border-black\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\\:border-white\\/15:where(.dark,.dark *){border-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.dark\\:border-white\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.dark\\:bg-\\[\\#1E1E1E\\]:where(.dark,.dark *){background-color:#1e1e1e}.dark\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *){background-color:#1f2937}.dark\\:bg-\\[\\#2A2A2A\\]:where(.dark,.dark *){background-color:#2a2a2a}.dark\\:bg-\\[\\#020617\\]:where(.dark,.dark *){background-color:#020617}.dark\\:bg-\\[\\#020817\\]:where(.dark,.dark *){background-color:#020817}.dark\\:bg-\\[\\#111827\\]:where(.dark,.dark *){background-color:#111827}.dark\\:bg-\\[\\#202126\\]:where(.dark,.dark *){background-color:#202126}.dark\\:bg-\\[\\#202126\\]\\!:where(.dark,.dark *){background-color:#202126!important}.dark\\:bg-\\[\\#A3A3A3\\]:where(.dark,.dark *){background-color:#a3a3a3}.dark\\:bg-black:where(.dark,.dark *){background-color:var(--color-black)}.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:#1c398e1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)10%,transparent)}}.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\\:text-\\[\\#38C200\\]:where(.dark,.dark *){color:#38c200}.dark\\:text-\\[\\#666\\]:where(.dark,.dark *){color:#666}.dark\\:text-\\[\\#1990FF\\]:where(.dark,.dark *){color:#1990ff}.dark\\:text-\\[\\#808080\\]:where(.dark,.dark *){color:gray}.dark\\:text-\\[\\#999999\\]:where(.dark,.dark *){color:#999}.dark\\:text-\\[\\#A3A3A3\\]:where(.dark,.dark *){color:#a3a3a3}.dark\\:text-\\[\\#A6A6A6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-\\[\\#D1D5DB\\]:where(.dark,.dark *){color:#d1d5db}.dark\\:text-\\[\\#D8D8D8\\]:where(.dark,.dark *){color:#d8d8d8}.dark\\:text-\\[\\#E5E7EB\\]:where(.dark,.dark *){color:#e5e7eb}.dark\\:text-\\[\\#a6a6a6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:shadow-\\[0_2px_20px_rgba\\(255\\,255\\,255\\,0\\.1\\)\\]:where(.dark,.dark *){--tw-shadow:0 2px 20px var(--tw-shadow-color,#ffffff1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:drop-shadow-\\[0_0_6px_rgb\\(255\\,255\\,255\\)\\]:where(.dark,.dark *){--tw-drop-shadow-size:drop-shadow(0 0 6px var(--tw-drop-shadow-color,#fff));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (hover:hover){.dark\\:group-hover\\:text-\\[\\#0072FF\\]:where(.dark,.dark *):is(:where(.group):hover *){color:#0072ff}.dark\\:hover\\:border-blue-800:where(.dark,.dark *):hover{border-color:var(--color-blue-800)}.dark\\:hover\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *):hover{background-color:#1f2937}.dark\\:hover\\:bg-\\[\\#2C2C2C\\]:where(.dark,.dark *):hover{background-color:#2c2c2c}.dark\\:hover\\:bg-\\[\\#3A3A3A\\]:where(.dark,.dark *):hover{background-color:#3a3a3a}.dark\\:hover\\:bg-\\[\\#111827\\]:where(.dark,.dark *):hover{background-color:#111827}.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:#1c398e80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)50%,transparent)}}.dark\\:hover\\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\\:hover\\:text-blue-400:where(.dark,.dark *):hover{color:var(--color-blue-400)}}.\\[\\&_\\.ant-btn-icon\\]\\:flex .ant-btn-icon{display:flex}}.cm-deep-research-segmented .ant-segmented-item-label{font-size:16px}.cm-deep-research-segmented .ant-segmented-group{background-color:#fff;padding:2px}.cm-deep-research-segmented .ant-segmented-item{background-color:#fff}.cm-deep-research-segmented .ant-segmented-item:not(:last-child){margin-right:2px}.cm-deep-research-segmented .ant-segmented-item-selected{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item-selected .ant-segmented-item-label{color:#1784fc}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected) .ant-segmented-item-label{color:#333}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover .ant-segmented-item-label{color:#1784fc}.cm-markdown h1,.cm-markdown h2,.cm-markdown h3,.cm-markdown h4,.cm-markdown h5,.cm-markdown h6,.cm-markdown p,.cm-markdown ul,.cm-markdown ol{all:revert}.cm-markdown h1{margin-bottom:16px;font-size:24px;font-weight:600;line-height:32px}.cm-markdown h2{margin-top:24px;margin-bottom:8px;font-size:18px;font-weight:600;line-height:26px}.cm-markdown ol{margin-left:24px;list-style:decimal}.cm-markdown p{margin:4px 0;line-height:1.7}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')), document.head.appendChild(r2);
|
|
106219
106219
|
}
|
|
106220
106220
|
} catch (e2) {
|
|
106221
106221
|
console.error("vite-plugin-css-injected-by-js", e2);
|
|
106222
106222
|
}
|
|
106223
106223
|
})();
|
|
106224
|
-
var Vt = { exports: {} },
|
|
106224
|
+
var Vt = { exports: {} }, ht = {};
|
|
106225
106225
|
var Yn;
|
|
106226
106226
|
function sl() {
|
|
106227
|
-
if (Yn) return
|
|
106227
|
+
if (Yn) return ht;
|
|
106228
106228
|
Yn = 1;
|
|
106229
106229
|
var e2 = React__default, t2 = /* @__PURE__ */ Symbol.for("react.element"), s2 = /* @__PURE__ */ Symbol.for("react.fragment"), n2 = Object.prototype.hasOwnProperty, r2 = e2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i2 = { key: true, ref: true, __self: true, __source: true };
|
|
106230
106230
|
function o2(a2, c2, d2) {
|
|
@@ -106234,52 +106234,52 @@ function sl() {
|
|
|
106234
106234
|
if (a2 && a2.defaultProps) for (u4 in c2 = a2.defaultProps, c2) h3[u4] === void 0 && (h3[u4] = c2[u4]);
|
|
106235
106235
|
return { $$typeof: t2, type: a2, key: p3, ref: m2, props: h3, _owner: r2.current };
|
|
106236
106236
|
}
|
|
106237
|
-
return
|
|
106237
|
+
return ht.Fragment = s2, ht.jsx = o2, ht.jsxs = o2, ht;
|
|
106238
106238
|
}
|
|
106239
|
-
var
|
|
106239
|
+
var ft = {};
|
|
106240
106240
|
var zn;
|
|
106241
106241
|
function nl() {
|
|
106242
106242
|
return zn || (zn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
106243
|
-
var e2 = React__default, t2 = /* @__PURE__ */ Symbol.for("react.element"), s2 = /* @__PURE__ */ Symbol.for("react.portal"), n2 = /* @__PURE__ */ Symbol.for("react.fragment"), r2 = /* @__PURE__ */ Symbol.for("react.strict_mode"), i2 = /* @__PURE__ */ Symbol.for("react.profiler"), o2 = /* @__PURE__ */ Symbol.for("react.provider"), a2 = /* @__PURE__ */ Symbol.for("react.context"), c2 = /* @__PURE__ */ Symbol.for("react.forward_ref"), d2 = /* @__PURE__ */ Symbol.for("react.suspense"), u4 = /* @__PURE__ */ Symbol.for("react.suspense_list"), h3 = /* @__PURE__ */ Symbol.for("react.memo"), p3 = /* @__PURE__ */ Symbol.for("react.lazy"), m2 = /* @__PURE__ */ Symbol.for("react.offscreen"),
|
|
106243
|
+
var e2 = React__default, t2 = /* @__PURE__ */ Symbol.for("react.element"), s2 = /* @__PURE__ */ Symbol.for("react.portal"), n2 = /* @__PURE__ */ Symbol.for("react.fragment"), r2 = /* @__PURE__ */ Symbol.for("react.strict_mode"), i2 = /* @__PURE__ */ Symbol.for("react.profiler"), o2 = /* @__PURE__ */ Symbol.for("react.provider"), a2 = /* @__PURE__ */ Symbol.for("react.context"), c2 = /* @__PURE__ */ Symbol.for("react.forward_ref"), d2 = /* @__PURE__ */ Symbol.for("react.suspense"), u4 = /* @__PURE__ */ Symbol.for("react.suspense_list"), h3 = /* @__PURE__ */ Symbol.for("react.memo"), p3 = /* @__PURE__ */ Symbol.for("react.lazy"), m2 = /* @__PURE__ */ Symbol.for("react.offscreen"), x2 = Symbol.iterator, w2 = "@@iterator";
|
|
106244
106244
|
function A2(f2) {
|
|
106245
106245
|
if (f2 === null || typeof f2 != "object")
|
|
106246
106246
|
return null;
|
|
106247
|
-
var b2 =
|
|
106247
|
+
var b2 = x2 && f2[x2] || f2[w2];
|
|
106248
106248
|
return typeof b2 == "function" ? b2 : null;
|
|
106249
106249
|
}
|
|
106250
106250
|
var g2 = e2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
106251
|
-
function
|
|
106251
|
+
function v2(f2) {
|
|
106252
106252
|
{
|
|
106253
|
-
for (var b2 = arguments.length,
|
|
106254
|
-
|
|
106255
|
-
y3("error", f2,
|
|
106253
|
+
for (var b2 = arguments.length, C2 = new Array(b2 > 1 ? b2 - 1 : 0), j2 = 1; j2 < b2; j2++)
|
|
106254
|
+
C2[j2 - 1] = arguments[j2];
|
|
106255
|
+
y3("error", f2, C2);
|
|
106256
106256
|
}
|
|
106257
106257
|
}
|
|
106258
|
-
function y3(f2, b2,
|
|
106258
|
+
function y3(f2, b2, C2) {
|
|
106259
106259
|
{
|
|
106260
|
-
var
|
|
106261
|
-
O2 !== "" && (b2 += "%s",
|
|
106262
|
-
var
|
|
106260
|
+
var j2 = g2.ReactDebugCurrentFrame, O2 = j2.getStackAddendum();
|
|
106261
|
+
O2 !== "" && (b2 += "%s", C2 = C2.concat([O2]));
|
|
106262
|
+
var _2 = C2.map(function(F2) {
|
|
106263
106263
|
return String(F2);
|
|
106264
106264
|
});
|
|
106265
|
-
|
|
106265
|
+
_2.unshift("Warning: " + b2), Function.prototype.apply.call(console[f2], console, _2);
|
|
106266
106266
|
}
|
|
106267
106267
|
}
|
|
106268
|
-
var
|
|
106269
|
-
|
|
106270
|
-
function
|
|
106271
|
-
return !!(typeof f2 == "string" || typeof f2 == "function" || f2 === n2 || f2 === i2 || T2 || f2 === r2 || f2 === d2 || f2 === u4 || S3 || f2 === m2 ||
|
|
106268
|
+
var E2 = false, P3 = false, V2 = false, S3 = false, T2 = false, M2;
|
|
106269
|
+
M2 = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
106270
|
+
function I2(f2) {
|
|
106271
|
+
return !!(typeof f2 == "string" || typeof f2 == "function" || f2 === n2 || f2 === i2 || T2 || f2 === r2 || f2 === d2 || f2 === u4 || S3 || f2 === m2 || E2 || P3 || V2 || typeof f2 == "object" && f2 !== null && (f2.$$typeof === p3 || f2.$$typeof === h3 || f2.$$typeof === o2 || f2.$$typeof === a2 || f2.$$typeof === c2 || // This needs to include all possible module reference object
|
|
106272
106272
|
// types supported by any Flight configuration anywhere since
|
|
106273
106273
|
// we don't know which Flight build this will end up being used
|
|
106274
106274
|
// with.
|
|
106275
|
-
f2.$$typeof ===
|
|
106275
|
+
f2.$$typeof === M2 || f2.getModuleId !== void 0));
|
|
106276
106276
|
}
|
|
106277
|
-
function Q2(f2, b2,
|
|
106278
|
-
var
|
|
106279
|
-
if (
|
|
106280
|
-
return
|
|
106277
|
+
function Q2(f2, b2, C2) {
|
|
106278
|
+
var j2 = f2.displayName;
|
|
106279
|
+
if (j2)
|
|
106280
|
+
return j2;
|
|
106281
106281
|
var O2 = b2.displayName || b2.name || "";
|
|
106282
|
-
return O2 !== "" ?
|
|
106282
|
+
return O2 !== "" ? C2 + "(" + O2 + ")" : C2;
|
|
106283
106283
|
}
|
|
106284
106284
|
function H2(f2) {
|
|
106285
106285
|
return f2.displayName || "Context";
|
|
@@ -106287,7 +106287,7 @@ function nl() {
|
|
|
106287
106287
|
function ce2(f2) {
|
|
106288
106288
|
if (f2 == null)
|
|
106289
106289
|
return null;
|
|
106290
|
-
if (typeof f2.tag == "number" &&
|
|
106290
|
+
if (typeof f2.tag == "number" && v2("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f2 == "function")
|
|
106291
106291
|
return f2.displayName || f2.name || null;
|
|
106292
106292
|
if (typeof f2 == "string")
|
|
106293
106293
|
return f2;
|
|
@@ -106311,17 +106311,17 @@ function nl() {
|
|
|
106311
106311
|
var b2 = f2;
|
|
106312
106312
|
return H2(b2) + ".Consumer";
|
|
106313
106313
|
case o2:
|
|
106314
|
-
var
|
|
106315
|
-
return H2(
|
|
106314
|
+
var C2 = f2;
|
|
106315
|
+
return H2(C2._context) + ".Provider";
|
|
106316
106316
|
case c2:
|
|
106317
106317
|
return Q2(f2, f2.render, "ForwardRef");
|
|
106318
106318
|
case h3:
|
|
106319
|
-
var
|
|
106320
|
-
return
|
|
106319
|
+
var j2 = f2.displayName || null;
|
|
106320
|
+
return j2 !== null ? j2 : ce2(f2.type) || "Memo";
|
|
106321
106321
|
case p3: {
|
|
106322
|
-
var O2 = f2,
|
|
106322
|
+
var O2 = f2, _2 = O2._payload, F2 = O2._init;
|
|
106323
106323
|
try {
|
|
106324
|
-
return ce2(F2(
|
|
106324
|
+
return ce2(F2(_2));
|
|
106325
106325
|
} catch {
|
|
106326
106326
|
return null;
|
|
106327
106327
|
}
|
|
@@ -106329,18 +106329,18 @@ function nl() {
|
|
|
106329
106329
|
}
|
|
106330
106330
|
return null;
|
|
106331
106331
|
}
|
|
106332
|
-
var X2 = Object.assign, de2 = 0,
|
|
106333
|
-
function
|
|
106332
|
+
var X2 = Object.assign, de2 = 0, ee2, B3, L2, U2, z2, re2, qe2;
|
|
106333
|
+
function jt() {
|
|
106334
106334
|
}
|
|
106335
|
-
|
|
106336
|
-
function
|
|
106335
|
+
jt.__reactDisabledLog = true;
|
|
106336
|
+
function Ee2() {
|
|
106337
106337
|
{
|
|
106338
106338
|
if (de2 === 0) {
|
|
106339
|
-
|
|
106339
|
+
ee2 = console.log, B3 = console.info, L2 = console.warn, U2 = console.error, z2 = console.group, re2 = console.groupCollapsed, qe2 = console.groupEnd;
|
|
106340
106340
|
var f2 = {
|
|
106341
106341
|
configurable: true,
|
|
106342
106342
|
enumerable: true,
|
|
106343
|
-
value:
|
|
106343
|
+
value: jt,
|
|
106344
106344
|
writable: true
|
|
106345
106345
|
};
|
|
106346
106346
|
Object.defineProperties(console, {
|
|
@@ -106356,7 +106356,7 @@ function nl() {
|
|
|
106356
106356
|
de2++;
|
|
106357
106357
|
}
|
|
106358
106358
|
}
|
|
106359
|
-
function
|
|
106359
|
+
function at2() {
|
|
106360
106360
|
{
|
|
106361
106361
|
if (de2--, de2 === 0) {
|
|
106362
106362
|
var f2 = {
|
|
@@ -106366,7 +106366,7 @@ function nl() {
|
|
|
106366
106366
|
};
|
|
106367
106367
|
Object.defineProperties(console, {
|
|
106368
106368
|
log: X2({}, f2, {
|
|
106369
|
-
value:
|
|
106369
|
+
value: ee2
|
|
106370
106370
|
}),
|
|
106371
106371
|
info: X2({}, f2, {
|
|
106372
106372
|
value: B3
|
|
@@ -106384,46 +106384,46 @@ function nl() {
|
|
|
106384
106384
|
value: re2
|
|
106385
106385
|
}),
|
|
106386
106386
|
groupEnd: X2({}, f2, {
|
|
106387
|
-
value:
|
|
106387
|
+
value: qe2
|
|
106388
106388
|
})
|
|
106389
106389
|
});
|
|
106390
106390
|
}
|
|
106391
|
-
de2 < 0 &&
|
|
106391
|
+
de2 < 0 && v2("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
106392
106392
|
}
|
|
106393
106393
|
}
|
|
106394
|
-
var
|
|
106395
|
-
function
|
|
106394
|
+
var lt = g2.ReactCurrentDispatcher, ct;
|
|
106395
|
+
function Ke2(f2, b2, C2) {
|
|
106396
106396
|
{
|
|
106397
|
-
if (
|
|
106397
|
+
if (ct === void 0)
|
|
106398
106398
|
try {
|
|
106399
106399
|
throw Error();
|
|
106400
106400
|
} catch (O2) {
|
|
106401
|
-
var
|
|
106402
|
-
|
|
106401
|
+
var j2 = O2.stack.trim().match(/\n( *(at )?)/);
|
|
106402
|
+
ct = j2 && j2[1] || "";
|
|
106403
106403
|
}
|
|
106404
106404
|
return `
|
|
106405
|
-
` +
|
|
106405
|
+
` + ct + f2;
|
|
106406
106406
|
}
|
|
106407
106407
|
}
|
|
106408
|
-
var
|
|
106408
|
+
var ut = false, Be2;
|
|
106409
106409
|
{
|
|
106410
106410
|
var R2 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
106411
|
-
|
|
106411
|
+
Be2 = new R2();
|
|
106412
106412
|
}
|
|
106413
|
-
function
|
|
106414
|
-
if (!f2 ||
|
|
106413
|
+
function je2(f2, b2) {
|
|
106414
|
+
if (!f2 || ut)
|
|
106415
106415
|
return "";
|
|
106416
106416
|
{
|
|
106417
|
-
var
|
|
106418
|
-
if (
|
|
106419
|
-
return
|
|
106417
|
+
var C2 = Be2.get(f2);
|
|
106418
|
+
if (C2 !== void 0)
|
|
106419
|
+
return C2;
|
|
106420
106420
|
}
|
|
106421
|
-
var
|
|
106422
|
-
|
|
106421
|
+
var j2;
|
|
106422
|
+
ut = true;
|
|
106423
106423
|
var O2 = Error.prepareStackTrace;
|
|
106424
106424
|
Error.prepareStackTrace = void 0;
|
|
106425
|
-
var
|
|
106426
|
-
|
|
106425
|
+
var _2;
|
|
106426
|
+
_2 = lt.current, lt.current = null, Ee2();
|
|
106427
106427
|
try {
|
|
106428
106428
|
if (b2) {
|
|
106429
106429
|
var F2 = function() {
|
|
@@ -106437,14 +106437,14 @@ function nl() {
|
|
|
106437
106437
|
try {
|
|
106438
106438
|
Reflect.construct(F2, []);
|
|
106439
106439
|
} catch (ue2) {
|
|
106440
|
-
|
|
106440
|
+
j2 = ue2;
|
|
106441
106441
|
}
|
|
106442
106442
|
Reflect.construct(f2, [], F2);
|
|
106443
106443
|
} else {
|
|
106444
106444
|
try {
|
|
106445
106445
|
F2.call();
|
|
106446
106446
|
} catch (ue2) {
|
|
106447
|
-
|
|
106447
|
+
j2 = ue2;
|
|
106448
106448
|
}
|
|
106449
106449
|
f2.call(F2.prototype);
|
|
106450
106450
|
}
|
|
@@ -106452,95 +106452,95 @@ function nl() {
|
|
|
106452
106452
|
try {
|
|
106453
106453
|
throw Error();
|
|
106454
106454
|
} catch (ue2) {
|
|
106455
|
-
|
|
106455
|
+
j2 = ue2;
|
|
106456
106456
|
}
|
|
106457
106457
|
f2();
|
|
106458
106458
|
}
|
|
106459
106459
|
} catch (ue2) {
|
|
106460
|
-
if (ue2 &&
|
|
106461
|
-
for (var
|
|
106462
|
-
`), ie2 =
|
|
106463
|
-
`), Y2 =
|
|
106460
|
+
if (ue2 && j2 && typeof ue2.stack == "string") {
|
|
106461
|
+
for (var D2 = ue2.stack.split(`
|
|
106462
|
+
`), ie2 = j2.stack.split(`
|
|
106463
|
+
`), Y2 = D2.length - 1, G2 = ie2.length - 1; Y2 >= 1 && G2 >= 0 && D2[Y2] !== ie2[G2]; )
|
|
106464
106464
|
G2--;
|
|
106465
106465
|
for (; Y2 >= 1 && G2 >= 0; Y2--, G2--)
|
|
106466
|
-
if (
|
|
106466
|
+
if (D2[Y2] !== ie2[G2]) {
|
|
106467
106467
|
if (Y2 !== 1 || G2 !== 1)
|
|
106468
106468
|
do
|
|
106469
|
-
if (Y2--, G2--, G2 < 0 ||
|
|
106470
|
-
var
|
|
106471
|
-
` +
|
|
106472
|
-
return f2.displayName &&
|
|
106469
|
+
if (Y2--, G2--, G2 < 0 || D2[Y2] !== ie2[G2]) {
|
|
106470
|
+
var fe2 = `
|
|
106471
|
+
` + D2[Y2].replace(" at new ", " at ");
|
|
106472
|
+
return f2.displayName && fe2.includes("<anonymous>") && (fe2 = fe2.replace("<anonymous>", f2.displayName)), typeof f2 == "function" && Be2.set(f2, fe2), fe2;
|
|
106473
106473
|
}
|
|
106474
106474
|
while (Y2 >= 1 && G2 >= 0);
|
|
106475
106475
|
break;
|
|
106476
106476
|
}
|
|
106477
106477
|
}
|
|
106478
106478
|
} finally {
|
|
106479
|
-
|
|
106479
|
+
ut = false, lt.current = _2, at2(), Error.prepareStackTrace = O2;
|
|
106480
106480
|
}
|
|
106481
|
-
var ze2 = f2 ? f2.displayName || f2.name : "",
|
|
106482
|
-
return typeof f2 == "function" &&
|
|
106481
|
+
var ze2 = f2 ? f2.displayName || f2.name : "", Le2 = ze2 ? Ke2(ze2) : "";
|
|
106482
|
+
return typeof f2 == "function" && Be2.set(f2, Le2), Le2;
|
|
106483
106483
|
}
|
|
106484
|
-
function ta(f2, b2,
|
|
106485
|
-
return
|
|
106484
|
+
function ta(f2, b2, C2) {
|
|
106485
|
+
return je2(f2, false);
|
|
106486
106486
|
}
|
|
106487
106487
|
function sa(f2) {
|
|
106488
106488
|
var b2 = f2.prototype;
|
|
106489
106489
|
return !!(b2 && b2.isReactComponent);
|
|
106490
106490
|
}
|
|
106491
|
-
function Rt(f2, b2,
|
|
106491
|
+
function Rt(f2, b2, C2) {
|
|
106492
106492
|
if (f2 == null)
|
|
106493
106493
|
return "";
|
|
106494
106494
|
if (typeof f2 == "function")
|
|
106495
|
-
return
|
|
106495
|
+
return je2(f2, sa(f2));
|
|
106496
106496
|
if (typeof f2 == "string")
|
|
106497
|
-
return
|
|
106497
|
+
return Ke2(f2);
|
|
106498
106498
|
switch (f2) {
|
|
106499
106499
|
case d2:
|
|
106500
|
-
return
|
|
106500
|
+
return Ke2("Suspense");
|
|
106501
106501
|
case u4:
|
|
106502
|
-
return
|
|
106502
|
+
return Ke2("SuspenseList");
|
|
106503
106503
|
}
|
|
106504
106504
|
if (typeof f2 == "object")
|
|
106505
106505
|
switch (f2.$$typeof) {
|
|
106506
106506
|
case c2:
|
|
106507
106507
|
return ta(f2.render);
|
|
106508
106508
|
case h3:
|
|
106509
|
-
return Rt(f2.type, b2,
|
|
106509
|
+
return Rt(f2.type, b2, C2);
|
|
106510
106510
|
case p3: {
|
|
106511
|
-
var
|
|
106511
|
+
var j2 = f2, O2 = j2._payload, _2 = j2._init;
|
|
106512
106512
|
try {
|
|
106513
|
-
return Rt(
|
|
106513
|
+
return Rt(_2(O2), b2, C2);
|
|
106514
106514
|
} catch {
|
|
106515
106515
|
}
|
|
106516
106516
|
}
|
|
106517
106517
|
}
|
|
106518
106518
|
return "";
|
|
106519
106519
|
}
|
|
106520
|
-
var
|
|
106520
|
+
var dt = Object.prototype.hasOwnProperty, Rn = {}, Nn = g2.ReactDebugCurrentFrame;
|
|
106521
106521
|
function Nt(f2) {
|
|
106522
106522
|
if (f2) {
|
|
106523
|
-
var b2 = f2._owner,
|
|
106524
|
-
Nn.setExtraStackFrame(
|
|
106523
|
+
var b2 = f2._owner, C2 = Rt(f2.type, f2._source, b2 ? b2.type : null);
|
|
106524
|
+
Nn.setExtraStackFrame(C2);
|
|
106525
106525
|
} else
|
|
106526
106526
|
Nn.setExtraStackFrame(null);
|
|
106527
106527
|
}
|
|
106528
|
-
function na(f2, b2,
|
|
106528
|
+
function na(f2, b2, C2, j2, O2) {
|
|
106529
106529
|
{
|
|
106530
|
-
var
|
|
106530
|
+
var _2 = Function.call.bind(dt);
|
|
106531
106531
|
for (var F2 in f2)
|
|
106532
|
-
if (
|
|
106533
|
-
var
|
|
106532
|
+
if (_2(f2, F2)) {
|
|
106533
|
+
var D2 = void 0;
|
|
106534
106534
|
try {
|
|
106535
106535
|
if (typeof f2[F2] != "function") {
|
|
106536
|
-
var ie2 = Error((
|
|
106536
|
+
var ie2 = Error((j2 || "React class") + ": " + C2 + " type `" + F2 + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f2[F2] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
106537
106537
|
throw ie2.name = "Invariant Violation", ie2;
|
|
106538
106538
|
}
|
|
106539
|
-
|
|
106539
|
+
D2 = f2[F2](b2, F2, j2, C2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
106540
106540
|
} catch (Y2) {
|
|
106541
|
-
|
|
106541
|
+
D2 = Y2;
|
|
106542
106542
|
}
|
|
106543
|
-
|
|
106543
|
+
D2 && !(D2 instanceof Error) && (Nt(O2), v2("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j2 || "React class", C2, F2, typeof D2), Nt(null)), D2 instanceof Error && !(D2.message in Rn) && (Rn[D2.message] = true, Nt(O2), v2("Failed %s type: %s", C2, D2.message), Nt(null));
|
|
106544
106544
|
}
|
|
106545
106545
|
}
|
|
106546
106546
|
}
|
|
@@ -106550,8 +106550,8 @@ function nl() {
|
|
|
106550
106550
|
}
|
|
106551
106551
|
function ia(f2) {
|
|
106552
106552
|
{
|
|
106553
|
-
var b2 = typeof Symbol == "function" && Symbol.toStringTag,
|
|
106554
|
-
return
|
|
106553
|
+
var b2 = typeof Symbol == "function" && Symbol.toStringTag, C2 = b2 && f2[Symbol.toStringTag] || f2.constructor.name || "Object";
|
|
106554
|
+
return C2;
|
|
106555
106555
|
}
|
|
106556
106556
|
}
|
|
106557
106557
|
function oa(f2) {
|
|
@@ -106566,7 +106566,7 @@ function nl() {
|
|
|
106566
106566
|
}
|
|
106567
106567
|
function Mn(f2) {
|
|
106568
106568
|
if (oa(f2))
|
|
106569
|
-
return
|
|
106569
|
+
return v2("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ia(f2)), Vn(f2);
|
|
106570
106570
|
}
|
|
106571
106571
|
var Dn = g2.ReactCurrentOwner, aa = {
|
|
106572
106572
|
key: true,
|
|
@@ -106575,7 +106575,7 @@ function nl() {
|
|
|
106575
106575
|
__source: true
|
|
106576
106576
|
}, Fn, Bn;
|
|
106577
106577
|
function la(f2) {
|
|
106578
|
-
if (
|
|
106578
|
+
if (dt.call(f2, "ref")) {
|
|
106579
106579
|
var b2 = Object.getOwnPropertyDescriptor(f2, "ref").get;
|
|
106580
106580
|
if (b2 && b2.isReactWarning)
|
|
106581
106581
|
return false;
|
|
@@ -106583,7 +106583,7 @@ function nl() {
|
|
|
106583
106583
|
return f2.ref !== void 0;
|
|
106584
106584
|
}
|
|
106585
106585
|
function ca(f2) {
|
|
106586
|
-
if (
|
|
106586
|
+
if (dt.call(f2, "key")) {
|
|
106587
106587
|
var b2 = Object.getOwnPropertyDescriptor(f2, "key").get;
|
|
106588
106588
|
if (b2 && b2.isReactWarning)
|
|
106589
106589
|
return false;
|
|
@@ -106595,78 +106595,78 @@ function nl() {
|
|
|
106595
106595
|
}
|
|
106596
106596
|
function da(f2, b2) {
|
|
106597
106597
|
{
|
|
106598
|
-
var
|
|
106599
|
-
Fn || (Fn = true,
|
|
106598
|
+
var C2 = function() {
|
|
106599
|
+
Fn || (Fn = true, v2("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b2));
|
|
106600
106600
|
};
|
|
106601
|
-
|
|
106602
|
-
get:
|
|
106601
|
+
C2.isReactWarning = true, Object.defineProperty(f2, "key", {
|
|
106602
|
+
get: C2,
|
|
106603
106603
|
configurable: true
|
|
106604
106604
|
});
|
|
106605
106605
|
}
|
|
106606
106606
|
}
|
|
106607
106607
|
function ha(f2, b2) {
|
|
106608
106608
|
{
|
|
106609
|
-
var
|
|
106610
|
-
Bn || (Bn = true,
|
|
106609
|
+
var C2 = function() {
|
|
106610
|
+
Bn || (Bn = true, v2("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b2));
|
|
106611
106611
|
};
|
|
106612
|
-
|
|
106613
|
-
get:
|
|
106612
|
+
C2.isReactWarning = true, Object.defineProperty(f2, "ref", {
|
|
106613
|
+
get: C2,
|
|
106614
106614
|
configurable: true
|
|
106615
106615
|
});
|
|
106616
106616
|
}
|
|
106617
106617
|
}
|
|
106618
|
-
var fa = function(f2, b2,
|
|
106619
|
-
var
|
|
106618
|
+
var fa = function(f2, b2, C2, j2, O2, _2, F2) {
|
|
106619
|
+
var D2 = {
|
|
106620
106620
|
// This tag allows us to uniquely identify this as a React Element
|
|
106621
106621
|
$$typeof: t2,
|
|
106622
106622
|
// Built-in properties that belong on the element
|
|
106623
106623
|
type: f2,
|
|
106624
106624
|
key: b2,
|
|
106625
|
-
ref:
|
|
106625
|
+
ref: C2,
|
|
106626
106626
|
props: F2,
|
|
106627
106627
|
// Record the component responsible for creating this element.
|
|
106628
|
-
_owner:
|
|
106628
|
+
_owner: _2
|
|
106629
106629
|
};
|
|
106630
|
-
return
|
|
106630
|
+
return D2._store = {}, Object.defineProperty(D2._store, "validated", {
|
|
106631
106631
|
configurable: false,
|
|
106632
106632
|
enumerable: false,
|
|
106633
106633
|
writable: true,
|
|
106634
106634
|
value: false
|
|
106635
|
-
}), Object.defineProperty(
|
|
106635
|
+
}), Object.defineProperty(D2, "_self", {
|
|
106636
106636
|
configurable: false,
|
|
106637
106637
|
enumerable: false,
|
|
106638
106638
|
writable: false,
|
|
106639
|
-
value:
|
|
106640
|
-
}), Object.defineProperty(
|
|
106639
|
+
value: j2
|
|
106640
|
+
}), Object.defineProperty(D2, "_source", {
|
|
106641
106641
|
configurable: false,
|
|
106642
106642
|
enumerable: false,
|
|
106643
106643
|
writable: false,
|
|
106644
106644
|
value: O2
|
|
106645
|
-
}), Object.freeze && (Object.freeze(
|
|
106645
|
+
}), Object.freeze && (Object.freeze(D2.props), Object.freeze(D2)), D2;
|
|
106646
106646
|
};
|
|
106647
|
-
function pa(f2, b2,
|
|
106647
|
+
function pa(f2, b2, C2, j2, O2) {
|
|
106648
106648
|
{
|
|
106649
|
-
var
|
|
106650
|
-
|
|
106651
|
-
for (
|
|
106652
|
-
|
|
106649
|
+
var _2, F2 = {}, D2 = null, ie2 = null;
|
|
106650
|
+
C2 !== void 0 && (Mn(C2), D2 = "" + C2), ca(b2) && (Mn(b2.key), D2 = "" + b2.key), la(b2) && (ie2 = b2.ref, ua(b2));
|
|
106651
|
+
for (_2 in b2)
|
|
106652
|
+
dt.call(b2, _2) && !aa.hasOwnProperty(_2) && (F2[_2] = b2[_2]);
|
|
106653
106653
|
if (f2 && f2.defaultProps) {
|
|
106654
106654
|
var Y2 = f2.defaultProps;
|
|
106655
|
-
for (
|
|
106656
|
-
F2[
|
|
106655
|
+
for (_2 in Y2)
|
|
106656
|
+
F2[_2] === void 0 && (F2[_2] = Y2[_2]);
|
|
106657
106657
|
}
|
|
106658
|
-
if (
|
|
106658
|
+
if (D2 || ie2) {
|
|
106659
106659
|
var G2 = typeof f2 == "function" ? f2.displayName || f2.name || "Unknown" : f2;
|
|
106660
|
-
|
|
106660
|
+
D2 && da(F2, G2), ie2 && ha(F2, G2);
|
|
106661
106661
|
}
|
|
106662
|
-
return fa(f2,
|
|
106662
|
+
return fa(f2, D2, ie2, O2, j2, Dn.current, F2);
|
|
106663
106663
|
}
|
|
106664
106664
|
}
|
|
106665
106665
|
var ss = g2.ReactCurrentOwner, Ln = g2.ReactDebugCurrentFrame;
|
|
106666
106666
|
function Ye(f2) {
|
|
106667
106667
|
if (f2) {
|
|
106668
|
-
var b2 = f2._owner,
|
|
106669
|
-
Ln.setExtraStackFrame(
|
|
106668
|
+
var b2 = f2._owner, C2 = Rt(f2.type, f2._source, b2 ? b2.type : null);
|
|
106669
|
+
Ln.setExtraStackFrame(C2);
|
|
106670
106670
|
} else
|
|
106671
106671
|
Ln.setExtraStackFrame(null);
|
|
106672
106672
|
}
|
|
@@ -106695,10 +106695,10 @@ Check the render method of \`` + f2 + "`.";
|
|
|
106695
106695
|
{
|
|
106696
106696
|
var b2 = On();
|
|
106697
106697
|
if (!b2) {
|
|
106698
|
-
var
|
|
106699
|
-
|
|
106698
|
+
var C2 = typeof f2 == "string" ? f2 : f2.displayName || f2.name;
|
|
106699
|
+
C2 && (b2 = `
|
|
106700
106700
|
|
|
106701
|
-
Check the top-level render call using <` +
|
|
106701
|
+
Check the top-level render call using <` + C2 + ">.");
|
|
106702
106702
|
}
|
|
106703
106703
|
return b2;
|
|
106704
106704
|
}
|
|
@@ -106708,12 +106708,12 @@ Check the top-level render call using <` + k2 + ">.");
|
|
|
106708
106708
|
if (!f2._store || f2._store.validated || f2.key != null)
|
|
106709
106709
|
return;
|
|
106710
106710
|
f2._store.validated = true;
|
|
106711
|
-
var
|
|
106712
|
-
if (In[
|
|
106711
|
+
var C2 = ga(b2);
|
|
106712
|
+
if (In[C2])
|
|
106713
106713
|
return;
|
|
106714
|
-
In[
|
|
106715
|
-
var
|
|
106716
|
-
f2 && f2._owner && f2._owner !== ss.current && (
|
|
106714
|
+
In[C2] = true;
|
|
106715
|
+
var j2 = "";
|
|
106716
|
+
f2 && f2._owner && f2._owner !== ss.current && (j2 = " It was passed a child from " + ce2(f2._owner.type) + "."), Ye(f2), v2('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', C2, j2), Ye(null);
|
|
106717
106717
|
}
|
|
106718
106718
|
}
|
|
106719
106719
|
function Wn(f2, b2) {
|
|
@@ -106721,16 +106721,16 @@ Check the top-level render call using <` + k2 + ">.");
|
|
|
106721
106721
|
if (typeof f2 != "object")
|
|
106722
106722
|
return;
|
|
106723
106723
|
if (ts(f2))
|
|
106724
|
-
for (var
|
|
106725
|
-
var
|
|
106726
|
-
rs(
|
|
106724
|
+
for (var C2 = 0; C2 < f2.length; C2++) {
|
|
106725
|
+
var j2 = f2[C2];
|
|
106726
|
+
rs(j2) && _n(j2, b2);
|
|
106727
106727
|
}
|
|
106728
106728
|
else if (rs(f2))
|
|
106729
106729
|
f2._store && (f2._store.validated = true);
|
|
106730
106730
|
else if (f2) {
|
|
106731
106731
|
var O2 = A2(f2);
|
|
106732
106732
|
if (typeof O2 == "function" && O2 !== f2.entries)
|
|
106733
|
-
for (var
|
|
106733
|
+
for (var _2 = O2.call(f2), F2; !(F2 = _2.next()).done; )
|
|
106734
106734
|
rs(F2.value) && _n(F2.value, b2);
|
|
106735
106735
|
}
|
|
106736
106736
|
}
|
|
@@ -106740,92 +106740,92 @@ Check the top-level render call using <` + k2 + ">.");
|
|
|
106740
106740
|
var b2 = f2.type;
|
|
106741
106741
|
if (b2 == null || typeof b2 == "string")
|
|
106742
106742
|
return;
|
|
106743
|
-
var
|
|
106743
|
+
var C2;
|
|
106744
106744
|
if (typeof b2 == "function")
|
|
106745
|
-
|
|
106745
|
+
C2 = b2.propTypes;
|
|
106746
106746
|
else if (typeof b2 == "object" && (b2.$$typeof === c2 || // Note: Memo only checks outer props here.
|
|
106747
106747
|
// Inner props are checked in the reconciler.
|
|
106748
106748
|
b2.$$typeof === h3))
|
|
106749
|
-
|
|
106749
|
+
C2 = b2.propTypes;
|
|
106750
106750
|
else
|
|
106751
106751
|
return;
|
|
106752
|
-
if (
|
|
106753
|
-
var
|
|
106754
|
-
na(
|
|
106752
|
+
if (C2) {
|
|
106753
|
+
var j2 = ce2(b2);
|
|
106754
|
+
na(C2, f2.props, "prop", j2, f2);
|
|
106755
106755
|
} else if (b2.PropTypes !== void 0 && !ns) {
|
|
106756
106756
|
ns = true;
|
|
106757
106757
|
var O2 = ce2(b2);
|
|
106758
|
-
|
|
106758
|
+
v2("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O2 || "Unknown");
|
|
106759
106759
|
}
|
|
106760
|
-
typeof b2.getDefaultProps == "function" && !b2.getDefaultProps.isReactClassApproved &&
|
|
106760
|
+
typeof b2.getDefaultProps == "function" && !b2.getDefaultProps.isReactClassApproved && v2("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
106761
106761
|
}
|
|
106762
106762
|
}
|
|
106763
106763
|
function xa(f2) {
|
|
106764
106764
|
{
|
|
106765
|
-
for (var b2 = Object.keys(f2.props),
|
|
106766
|
-
var
|
|
106767
|
-
if (
|
|
106768
|
-
Ye(f2),
|
|
106765
|
+
for (var b2 = Object.keys(f2.props), C2 = 0; C2 < b2.length; C2++) {
|
|
106766
|
+
var j2 = b2[C2];
|
|
106767
|
+
if (j2 !== "children" && j2 !== "key") {
|
|
106768
|
+
Ye(f2), v2("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j2), Ye(null);
|
|
106769
106769
|
break;
|
|
106770
106770
|
}
|
|
106771
106771
|
}
|
|
106772
|
-
f2.ref !== null && (Ye(f2),
|
|
106772
|
+
f2.ref !== null && (Ye(f2), v2("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
|
|
106773
106773
|
}
|
|
106774
106774
|
}
|
|
106775
106775
|
var Un = {};
|
|
106776
|
-
function qn(f2, b2,
|
|
106776
|
+
function qn(f2, b2, C2, j2, O2, _2) {
|
|
106777
106777
|
{
|
|
106778
|
-
var F2 =
|
|
106778
|
+
var F2 = I2(f2);
|
|
106779
106779
|
if (!F2) {
|
|
106780
|
-
var
|
|
106781
|
-
(f2 === void 0 || typeof f2 == "object" && f2 !== null && Object.keys(f2).length === 0) && (
|
|
106780
|
+
var D2 = "";
|
|
106781
|
+
(f2 === void 0 || typeof f2 == "object" && f2 !== null && Object.keys(f2).length === 0) && (D2 += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
106782
106782
|
var ie2 = ma();
|
|
106783
|
-
ie2 ?
|
|
106783
|
+
ie2 ? D2 += ie2 : D2 += On();
|
|
106784
106784
|
var Y2;
|
|
106785
|
-
f2 === null ? Y2 = "null" : ts(f2) ? Y2 = "array" : f2 !== void 0 && f2.$$typeof === t2 ? (Y2 = "<" + (ce2(f2.type) || "Unknown") + " />",
|
|
106785
|
+
f2 === null ? Y2 = "null" : ts(f2) ? Y2 = "array" : f2 !== void 0 && f2.$$typeof === t2 ? (Y2 = "<" + (ce2(f2.type) || "Unknown") + " />", D2 = " Did you accidentally export a JSX literal instead of a component?") : Y2 = typeof f2, v2("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y2, D2);
|
|
106786
106786
|
}
|
|
106787
|
-
var G2 = pa(f2, b2,
|
|
106787
|
+
var G2 = pa(f2, b2, C2, O2, _2);
|
|
106788
106788
|
if (G2 == null)
|
|
106789
106789
|
return G2;
|
|
106790
106790
|
if (F2) {
|
|
106791
|
-
var
|
|
106792
|
-
if (
|
|
106793
|
-
if (
|
|
106794
|
-
if (ts(
|
|
106795
|
-
for (var ze2 = 0; ze2 <
|
|
106796
|
-
Wn(
|
|
106797
|
-
Object.freeze && Object.freeze(
|
|
106791
|
+
var fe2 = b2.children;
|
|
106792
|
+
if (fe2 !== void 0)
|
|
106793
|
+
if (j2)
|
|
106794
|
+
if (ts(fe2)) {
|
|
106795
|
+
for (var ze2 = 0; ze2 < fe2.length; ze2++)
|
|
106796
|
+
Wn(fe2[ze2], f2);
|
|
106797
|
+
Object.freeze && Object.freeze(fe2);
|
|
106798
106798
|
} else
|
|
106799
|
-
|
|
106799
|
+
v2("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
106800
106800
|
else
|
|
106801
|
-
Wn(
|
|
106801
|
+
Wn(fe2, f2);
|
|
106802
106802
|
}
|
|
106803
|
-
if (
|
|
106804
|
-
var
|
|
106805
|
-
return
|
|
106803
|
+
if (dt.call(b2, "key")) {
|
|
106804
|
+
var Le2 = ce2(f2), ue2 = Object.keys(b2).filter(function(ka) {
|
|
106805
|
+
return ka !== "key";
|
|
106806
106806
|
}), is2 = ue2.length > 0 ? "{key: someKey, " + ue2.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
106807
|
-
if (!Un[
|
|
106808
|
-
var
|
|
106809
|
-
|
|
106807
|
+
if (!Un[Le2 + is2]) {
|
|
106808
|
+
var Ca = ue2.length > 0 ? "{" + ue2.join(": ..., ") + ": ...}" : "{}";
|
|
106809
|
+
v2(`A props object containing a "key" prop is being spread into JSX:
|
|
106810
106810
|
let props = %s;
|
|
106811
106811
|
<%s {...props} />
|
|
106812
106812
|
React keys must be passed directly to JSX without using spread:
|
|
106813
106813
|
let props = %s;
|
|
106814
|
-
<%s key={someKey} {...props} />`, is2,
|
|
106814
|
+
<%s key={someKey} {...props} />`, is2, Le2, Ca, Le2), Un[Le2 + is2] = true;
|
|
106815
106815
|
}
|
|
106816
106816
|
}
|
|
106817
106817
|
return f2 === n2 ? xa(G2) : ya(G2), G2;
|
|
106818
106818
|
}
|
|
106819
106819
|
}
|
|
106820
|
-
function va(f2, b2,
|
|
106821
|
-
return qn(f2, b2,
|
|
106820
|
+
function va(f2, b2, C2) {
|
|
106821
|
+
return qn(f2, b2, C2, true);
|
|
106822
106822
|
}
|
|
106823
|
-
function ba(f2, b2,
|
|
106824
|
-
return qn(f2, b2,
|
|
106823
|
+
function ba(f2, b2, C2) {
|
|
106824
|
+
return qn(f2, b2, C2, false);
|
|
106825
106825
|
}
|
|
106826
106826
|
var wa = ba, Aa = va;
|
|
106827
|
-
|
|
106828
|
-
})()),
|
|
106827
|
+
ft.Fragment = n2, ft.jsx = wa, ft.jsxs = Aa;
|
|
106828
|
+
})()), ft;
|
|
106829
106829
|
}
|
|
106830
106830
|
var Gn;
|
|
106831
106831
|
function rl() {
|
|
@@ -107170,25 +107170,27 @@ const ll = ({
|
|
|
107170
107170
|
getSuggestion: s2,
|
|
107171
107171
|
loading: n2
|
|
107172
107172
|
}) => {
|
|
107173
|
-
const { t: r2 } = useTranslation(), [i2, o2] = useState(false), [a2, c2] = useState(null);
|
|
107173
|
+
const { t: r2 } = useTranslation(), [i2, o2] = useState(false), [a2, c2] = useState(null), d2 = useRef(s2);
|
|
107174
107174
|
return useEffect(() => {
|
|
107175
|
-
|
|
107176
|
-
}, [
|
|
107175
|
+
d2.current = s2;
|
|
107176
|
+
}, [s2]), useEffect(() => {
|
|
107177
|
+
e2?.payload && (c2(e2?.payload), e2?.payload?.suggestion && d2.current && d2.current(e2?.payload?.suggestion));
|
|
107178
|
+
}, [e2?.payload]), useEffect(() => {
|
|
107177
107179
|
if (t2?.message_chunk && !n2)
|
|
107178
107180
|
try {
|
|
107179
|
-
const
|
|
107180
|
-
if (
|
|
107181
|
-
const
|
|
107182
|
-
|
|
107181
|
+
const h3 = t2.message_chunk.replace(/^"|"$/g, "").match(/<JSON>([\s\S]*?)<\/JSON>/g);
|
|
107182
|
+
if (h3) {
|
|
107183
|
+
const m2 = h3[h3.length - 1].replace(/<JSON>|<\/JSON>/g, ""), x2 = JSON.parse(m2);
|
|
107184
|
+
x2?.suggestion && d2.current && d2.current(x2?.suggestion), c2(x2);
|
|
107183
107185
|
}
|
|
107184
|
-
} catch (
|
|
107185
|
-
console.error("Failed to process message chunk in QueryIntent:",
|
|
107186
|
+
} catch (u4) {
|
|
107187
|
+
console.error("Failed to process message chunk in QueryIntent:", u4);
|
|
107186
107188
|
}
|
|
107187
|
-
}, [t2?.message_chunk, n2
|
|
107189
|
+
}, [t2?.message_chunk, n2]), !t2 && !e2 ? null : /* @__PURE__ */ l2.jsxs("div", { className: "space-y-2 mb-3 w-full", children: [
|
|
107188
107190
|
/* @__PURE__ */ l2.jsxs(
|
|
107189
107191
|
"button",
|
|
107190
107192
|
{
|
|
107191
|
-
onClick: () => o2((
|
|
107193
|
+
onClick: () => o2((u4) => !u4),
|
|
107192
107194
|
className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
|
|
107193
107195
|
children: [
|
|
107194
107196
|
n2 ? /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
@@ -107213,16 +107215,16 @@ const ll = ({
|
|
|
107213
107215
|
r2("assistant.message.steps.keywords"),
|
|
107214
107216
|
":"
|
|
107215
107217
|
] }),
|
|
107216
|
-
/* @__PURE__ */ l2.jsx("div", { className: "flex flex-wrap gap-1", children: a2?.keyword?.map((
|
|
107218
|
+
/* @__PURE__ */ l2.jsx("div", { className: "flex flex-wrap gap-1", children: a2?.keyword?.map((u4, h3) => /* @__PURE__ */ l2.jsxs(
|
|
107217
107219
|
"span",
|
|
107218
107220
|
{
|
|
107219
107221
|
className: "text-[#333333] dark:text-[#D8D8D8]",
|
|
107220
107222
|
children: [
|
|
107221
|
-
|
|
107222
|
-
|
|
107223
|
+
u4,
|
|
107224
|
+
h3 < 2 && "、"
|
|
107223
107225
|
]
|
|
107224
107226
|
},
|
|
107225
|
-
|
|
107227
|
+
u4 + h3
|
|
107226
107228
|
)) })
|
|
107227
107229
|
] }) : null,
|
|
107228
107230
|
a2?.category ? /* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
@@ -107247,10 +107249,10 @@ const ll = ({
|
|
|
107247
107249
|
r2("assistant.message.steps.relatedQuestions"),
|
|
107248
107250
|
":"
|
|
107249
107251
|
] }),
|
|
107250
|
-
/* @__PURE__ */ l2.jsx("div", { className: "flex-1 flex flex-col text-[#333333] dark:text-[#D8D8D8]", children: a2?.query?.map((
|
|
107252
|
+
/* @__PURE__ */ l2.jsx("div", { className: "flex-1 flex flex-col text-[#333333] dark:text-[#D8D8D8]", children: a2?.query?.map((u4, h3) => /* @__PURE__ */ l2.jsxs("span", { children: [
|
|
107251
107253
|
"- ",
|
|
107252
|
-
|
|
107253
|
-
] },
|
|
107254
|
+
u4
|
|
107255
|
+
] }, u4 + h3)) })
|
|
107254
107256
|
] }) : null
|
|
107255
107257
|
] }) }) })
|
|
107256
107258
|
] });
|
|
@@ -107352,8 +107354,8 @@ const hl = ({
|
|
|
107352
107354
|
p3 && c2(Number(p3[1]));
|
|
107353
107355
|
const m2 = t2.message_chunk.match(/\[([\s\S]*)\]/);
|
|
107354
107356
|
if (m2) {
|
|
107355
|
-
const
|
|
107356
|
-
u4(
|
|
107357
|
+
const x2 = JSON.parse(m2[0]);
|
|
107358
|
+
u4(x2);
|
|
107357
107359
|
}
|
|
107358
107360
|
} catch (p3) {
|
|
107359
107361
|
console.error("Failed to parse fetch source data:", p3);
|
|
@@ -107792,10 +107794,10 @@ const gl = ({
|
|
|
107792
107794
|
}
|
|
107793
107795
|
),
|
|
107794
107796
|
r2 && /* @__PURE__ */ l2.jsx("div", { className: "pl-2 pt-1 border-l-2 border-[#e5e5e5] dark:border-[#4e4e56]", children: /* @__PURE__ */ l2.jsx("div", { className: "text-[#8b8b8b] dark:text-[#a6a6a6] space-y-2", children: /* @__PURE__ */ l2.jsxs("div", { className: "mb-4 space-y-3 text-xs", children: [
|
|
107795
|
-
o2?.map((u4) => /* @__PURE__ */ l2.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ l2.jsxs("div", { className: "text-xs text-[#999999] dark:text-[#808080]", children: [
|
|
107797
|
+
o2?.map((u4, h3) => /* @__PURE__ */ l2.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ l2.jsxs("div", { className: "text-xs text-[#999999] dark:text-[#808080]", children: [
|
|
107796
107798
|
"- ",
|
|
107797
107799
|
u4
|
|
107798
|
-
] }) }, u4)),
|
|
107800
|
+
] }) }, `${u4}-${h3}`)),
|
|
107799
107801
|
c2?.split(`
|
|
107800
107802
|
`).map(
|
|
107801
107803
|
(u4, h3) => u4.trim() && /* @__PURE__ */ l2.jsx("p", { className: "text-sm", children: u4 }, h3)
|
|
@@ -107840,7 +107842,7 @@ const gl = ({
|
|
|
107840
107842
|
copyButtonId: i2,
|
|
107841
107843
|
onResend: o2
|
|
107842
107844
|
}) => {
|
|
107843
|
-
const [a2, c2] = useState(false), [d2, u4] = useState(false), [h3, p3] = useState(false), [m2,
|
|
107845
|
+
const [a2, c2] = useState(false), [d2, u4] = useState(false), [h3, p3] = useState(false), [m2, x2] = useState(false), [w2, A2] = useState(false), g2 = xl.includes(e2), v2 = async () => {
|
|
107844
107846
|
try {
|
|
107845
107847
|
await yi(t2), c2(true);
|
|
107846
107848
|
const S3 = setTimeout(() => {
|
|
@@ -107851,18 +107853,18 @@ const gl = ({
|
|
|
107851
107853
|
}
|
|
107852
107854
|
}, y3 = () => {
|
|
107853
107855
|
u4(!d2), p3(false);
|
|
107854
|
-
},
|
|
107856
|
+
}, E2 = () => {
|
|
107855
107857
|
p3(!h3), u4(false);
|
|
107856
107858
|
}, P3 = async () => {
|
|
107857
107859
|
if ("speechSynthesis" in window) {
|
|
107858
107860
|
if (m2) {
|
|
107859
|
-
window.speechSynthesis.cancel(),
|
|
107861
|
+
window.speechSynthesis.cancel(), x2(false);
|
|
107860
107862
|
return;
|
|
107861
107863
|
}
|
|
107862
107864
|
const S3 = new SpeechSynthesisUtterance(t2);
|
|
107863
107865
|
S3.lang = "zh-CN", S3.onend = () => {
|
|
107864
|
-
|
|
107865
|
-
},
|
|
107866
|
+
x2(false);
|
|
107867
|
+
}, x2(true), window.speechSynthesis.speak(S3);
|
|
107866
107868
|
}
|
|
107867
107869
|
}, V2 = () => {
|
|
107868
107870
|
if (o2) {
|
|
@@ -107877,7 +107879,7 @@ const gl = ({
|
|
|
107877
107879
|
"button",
|
|
107878
107880
|
{
|
|
107879
107881
|
id: i2,
|
|
107880
|
-
onClick:
|
|
107882
|
+
onClick: v2,
|
|
107881
107883
|
className: "p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg transition-colors",
|
|
107882
107884
|
children: a2 ? /* @__PURE__ */ l2.jsx(
|
|
107883
107885
|
Check,
|
|
@@ -107920,7 +107922,7 @@ const gl = ({
|
|
|
107920
107922
|
!g2 && /* @__PURE__ */ l2.jsx(
|
|
107921
107923
|
"button",
|
|
107922
107924
|
{
|
|
107923
|
-
onClick:
|
|
107925
|
+
onClick: E2,
|
|
107924
107926
|
className: `p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg transition-colors ${h3 ? "animate-shake" : ""}`,
|
|
107925
107927
|
children: /* @__PURE__ */ l2.jsx(
|
|
107926
107928
|
ThumbsDown,
|
|
@@ -108072,53 +108074,53 @@ const wl = ({ textToCopy: e2 }) => {
|
|
|
108072
108074
|
}
|
|
108073
108075
|
)
|
|
108074
108076
|
] });
|
|
108075
|
-
},
|
|
108076
|
-
function
|
|
108077
|
-
const [e2, t2] = useState(), [s2, n2] = useState(), [r2, i2] = useState(), [o2, a2] = useState(), [c2, d2] = useState(), [u4, h3] = useState(), [p3, m2] = useState(), [
|
|
108078
|
-
deal_query_intent: useCallback((
|
|
108077
|
+
}, Cl = ({ name: e2, className: t2, style: s2, ...n2 }) => /* @__PURE__ */ l2.jsx("svg", { className: `icon dark:drop-shadow-[0_0_6px_rgb(255,255,255)] ${t2 || ""}`, style: s2, ...n2, children: /* @__PURE__ */ l2.jsx("use", { xlinkHref: `#${e2}` }) });
|
|
108078
|
+
function kl() {
|
|
108079
|
+
const [e2, t2] = useState(), [s2, n2] = useState(), [r2, i2] = useState(), [o2, a2] = useState(), [c2, d2] = useState(), [u4, h3] = useState(), [p3, m2] = useState(), [x2, w2] = useState([]), A2 = {
|
|
108080
|
+
deal_query_intent: useCallback((v2) => {
|
|
108079
108081
|
t2((y3) => y3 ? {
|
|
108080
108082
|
...y3,
|
|
108081
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108082
|
-
} :
|
|
108083
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108084
|
+
} : v2);
|
|
108083
108085
|
}, []),
|
|
108084
|
-
deal_tools: useCallback((
|
|
108086
|
+
deal_tools: useCallback((v2) => {
|
|
108085
108087
|
n2((y3) => y3 ? {
|
|
108086
108088
|
...y3,
|
|
108087
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108088
|
-
} :
|
|
108089
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108090
|
+
} : v2);
|
|
108089
108091
|
}, []),
|
|
108090
|
-
deal_fetch_source: useCallback((
|
|
108092
|
+
deal_fetch_source: useCallback((v2) => {
|
|
108091
108093
|
i2((y3) => y3 ? {
|
|
108092
108094
|
...y3,
|
|
108093
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108094
|
-
} :
|
|
108095
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108096
|
+
} : v2);
|
|
108095
108097
|
}, []),
|
|
108096
|
-
deal_pick_source: useCallback((
|
|
108098
|
+
deal_pick_source: useCallback((v2) => {
|
|
108097
108099
|
a2((y3) => y3 ? {
|
|
108098
108100
|
...y3,
|
|
108099
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108100
|
-
} :
|
|
108101
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108102
|
+
} : v2);
|
|
108101
108103
|
}, []),
|
|
108102
|
-
deal_deep_read: useCallback((
|
|
108104
|
+
deal_deep_read: useCallback((v2) => {
|
|
108103
108105
|
d2((y3) => y3 ? {
|
|
108104
108106
|
...y3,
|
|
108105
|
-
message_chunk: (y3.message_chunk || "") + "&" + (
|
|
108106
|
-
} :
|
|
108107
|
+
message_chunk: (y3.message_chunk || "") + "&" + (v2.message_chunk || "")
|
|
108108
|
+
} : v2);
|
|
108107
108109
|
}, []),
|
|
108108
|
-
deal_think: useCallback((
|
|
108110
|
+
deal_think: useCallback((v2) => {
|
|
108109
108111
|
h3((y3) => y3 ? {
|
|
108110
108112
|
...y3,
|
|
108111
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108112
|
-
} :
|
|
108113
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108114
|
+
} : v2);
|
|
108113
108115
|
}, []),
|
|
108114
|
-
deal_response: useCallback((
|
|
108116
|
+
deal_response: useCallback((v2) => {
|
|
108115
108117
|
m2((y3) => y3 ? {
|
|
108116
108118
|
...y3,
|
|
108117
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108118
|
-
} :
|
|
108119
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108120
|
+
} : v2);
|
|
108119
108121
|
}, []),
|
|
108120
|
-
deal_deep_research: useCallback((
|
|
108121
|
-
w2((y3) => [...y3,
|
|
108122
|
+
deal_deep_research: useCallback((v2) => {
|
|
108123
|
+
w2((y3) => [...y3, v2]);
|
|
108122
108124
|
}, [])
|
|
108123
108125
|
};
|
|
108124
108126
|
return {
|
|
@@ -108130,11 +108132,11 @@ function Cl() {
|
|
|
108130
108132
|
deep_read: c2,
|
|
108131
108133
|
think: u4,
|
|
108132
108134
|
response: p3,
|
|
108133
|
-
deepResearch:
|
|
108135
|
+
deepResearch: x2
|
|
108134
108136
|
},
|
|
108135
108137
|
handlers: A2,
|
|
108136
|
-
clearAllChunkData: () => new Promise((
|
|
108137
|
-
t2(void 0), n2(void 0), i2(void 0), a2(void 0), d2(void 0), h3(void 0), m2(void 0), w2([]), setTimeout(
|
|
108138
|
+
clearAllChunkData: () => new Promise((v2) => {
|
|
108139
|
+
t2(void 0), n2(void 0), i2(void 0), a2(void 0), d2(void 0), h3(void 0), m2(void 0), w2([]), setTimeout(v2, 0);
|
|
108138
108140
|
})
|
|
108139
108141
|
};
|
|
108140
108142
|
}
|
|
@@ -108151,18 +108153,18 @@ function en(e2, t2) {
|
|
|
108151
108153
|
const s2 = e2.indexOf(t2);
|
|
108152
108154
|
s2 > -1 && e2.splice(s2, 1);
|
|
108153
108155
|
}
|
|
108154
|
-
const
|
|
108155
|
-
function
|
|
108156
|
+
const Ce = (e2, t2, s2) => s2 > t2 ? t2 : s2 < e2 ? e2 : s2;
|
|
108157
|
+
function Cs(e2, t2) {
|
|
108156
108158
|
return t2 ? `${e2}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t2}` : e2;
|
|
108157
108159
|
}
|
|
108158
|
-
let
|
|
108160
|
+
let nt = () => {
|
|
108159
108161
|
}, Se = () => {
|
|
108160
108162
|
};
|
|
108161
|
-
typeof process < "u" && process.env?.NODE_ENV !== "production" && (
|
|
108162
|
-
!e2 && typeof console < "u" && console.warn(
|
|
108163
|
+
typeof process < "u" && process.env?.NODE_ENV !== "production" && (nt = (e2, t2, s2) => {
|
|
108164
|
+
!e2 && typeof console < "u" && console.warn(Cs(t2, s2));
|
|
108163
108165
|
}, Se = (e2, t2, s2) => {
|
|
108164
108166
|
if (!e2)
|
|
108165
|
-
throw new Error(
|
|
108167
|
+
throw new Error(Cs(t2, s2));
|
|
108166
108168
|
});
|
|
108167
108169
|
const Pe = {}, bi = (e2) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e2);
|
|
108168
108170
|
function wi(e2) {
|
|
@@ -108203,40 +108205,40 @@ class sn {
|
|
|
108203
108205
|
this.subscriptions.length = 0;
|
|
108204
108206
|
}
|
|
108205
108207
|
}
|
|
108206
|
-
const we = /* @__NO_SIDE_EFFECTS__ */ (e2) => e2 * 1e3,
|
|
108207
|
-
function
|
|
108208
|
+
const we = /* @__NO_SIDE_EFFECTS__ */ (e2) => e2 * 1e3, me = /* @__NO_SIDE_EFFECTS__ */ (e2) => e2 / 1e3;
|
|
108209
|
+
function Ci(e2, t2) {
|
|
108208
108210
|
return t2 ? e2 * (1e3 / t2) : 0;
|
|
108209
108211
|
}
|
|
108210
108212
|
const Jn = /* @__PURE__ */ new Set();
|
|
108211
108213
|
function nn(e2, t2, s2) {
|
|
108212
|
-
e2 || Jn.has(t2) || (console.warn(
|
|
108214
|
+
e2 || Jn.has(t2) || (console.warn(Cs(t2, s2)), Jn.add(t2));
|
|
108213
108215
|
}
|
|
108214
|
-
const
|
|
108215
|
-
function
|
|
108216
|
+
const ki = (e2, t2, s2) => (((1 - 3 * s2 + 3 * t2) * e2 + (3 * s2 - 6 * t2)) * e2 + 3 * t2) * e2, Sl = 1e-7, Pl = 12;
|
|
108217
|
+
function El(e2, t2, s2, n2, r2) {
|
|
108216
108218
|
let i2, o2, a2 = 0;
|
|
108217
108219
|
do
|
|
108218
|
-
o2 = t2 + (s2 - t2) / 2, i2 =
|
|
108220
|
+
o2 = t2 + (s2 - t2) / 2, i2 = ki(o2, n2, r2) - e2, i2 > 0 ? s2 = o2 : t2 = o2;
|
|
108219
108221
|
while (Math.abs(i2) > Sl && ++a2 < Pl);
|
|
108220
108222
|
return o2;
|
|
108221
108223
|
}
|
|
108222
108224
|
function St(e2, t2, s2, n2) {
|
|
108223
108225
|
if (e2 === t2 && s2 === n2)
|
|
108224
108226
|
return ge;
|
|
108225
|
-
const r2 = (i2) =>
|
|
108226
|
-
return (i2) => i2 === 0 || i2 === 1 ? i2 :
|
|
108227
|
+
const r2 = (i2) => El(i2, 0, 1, e2, s2);
|
|
108228
|
+
return (i2) => i2 === 0 || i2 === 1 ? i2 : ki(r2(i2), t2, n2);
|
|
108227
108229
|
}
|
|
108228
|
-
const Ti = (e2) => (t2) => t2 <= 0.5 ? e2(2 * t2) / 2 : (2 - e2(2 * (1 - t2))) / 2, Si = (e2) => (t2) => 1 - e2(1 - t2), Pi = /* @__PURE__ */ St(0.33, 1.53, 0.69, 0.99), rn = /* @__PURE__ */ Si(Pi),
|
|
108230
|
+
const Ti = (e2) => (t2) => t2 <= 0.5 ? e2(2 * t2) / 2 : (2 - e2(2 * (1 - t2))) / 2, Si = (e2) => (t2) => 1 - e2(1 - t2), Pi = /* @__PURE__ */ St(0.33, 1.53, 0.69, 0.99), rn = /* @__PURE__ */ Si(Pi), Ei = /* @__PURE__ */ Ti(rn), ji = (e2) => (e2 *= 2) < 1 ? 0.5 * rn(e2) : 0.5 * (2 - Math.pow(2, -10 * (e2 - 1))), on = (e2) => 1 - Math.sin(Math.acos(e2)), Ri = Si(on), Ni = Ti(on), jl = /* @__PURE__ */ St(0.42, 0, 1, 1), Rl = /* @__PURE__ */ St(0, 0, 0.58, 1), Vi = /* @__PURE__ */ St(0.42, 0, 0.58, 1), Nl = (e2) => Array.isArray(e2) && typeof e2[0] != "number", Mi = (e2) => Array.isArray(e2) && typeof e2[0] == "number", Qn = {
|
|
108229
108231
|
linear: ge,
|
|
108230
|
-
easeIn:
|
|
108232
|
+
easeIn: jl,
|
|
108231
108233
|
easeInOut: Vi,
|
|
108232
108234
|
easeOut: Rl,
|
|
108233
108235
|
circIn: on,
|
|
108234
108236
|
circInOut: Ni,
|
|
108235
108237
|
circOut: Ri,
|
|
108236
108238
|
backIn: rn,
|
|
108237
|
-
backInOut:
|
|
108239
|
+
backInOut: Ei,
|
|
108238
108240
|
backOut: Pi,
|
|
108239
|
-
anticipate:
|
|
108241
|
+
anticipate: ji
|
|
108240
108242
|
}, Vl = (e2) => typeof e2 == "string", Hn = (e2) => {
|
|
108241
108243
|
if (Mi(e2)) {
|
|
108242
108244
|
Se(e2.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
@@ -108279,8 +108281,8 @@ function Ml(e2, t2) {
|
|
|
108279
108281
|
* Schedule a process to run on the next frame.
|
|
108280
108282
|
*/
|
|
108281
108283
|
schedule: (u4, h3 = false, p3 = false) => {
|
|
108282
|
-
const
|
|
108283
|
-
return h3 && o2.add(u4),
|
|
108284
|
+
const x2 = p3 && r2 ? s2 : n2;
|
|
108285
|
+
return h3 && o2.add(u4), x2.has(u4) || x2.add(u4), u4;
|
|
108284
108286
|
},
|
|
108285
108287
|
/**
|
|
108286
108288
|
* Cancel the provided callback from running on the next frame.
|
|
@@ -108308,18 +108310,18 @@ function Di(e2, t2) {
|
|
|
108308
108310
|
delta: 0,
|
|
108309
108311
|
timestamp: 0,
|
|
108310
108312
|
isProcessing: false
|
|
108311
|
-
}, i2 = () => s2 = true, o2 = Mt.reduce((y3,
|
|
108313
|
+
}, i2 = () => s2 = true, o2 = Mt.reduce((y3, E2) => (y3[E2] = Ml(i2), y3), {}), { setup: a2, read: c2, resolveKeyframes: d2, preUpdate: u4, update: h3, preRender: p3, render: m2, postRender: x2 } = o2, w2 = () => {
|
|
108312
108314
|
const y3 = Pe.useManualTiming ? r2.timestamp : performance.now();
|
|
108313
|
-
s2 = false, Pe.useManualTiming || (r2.delta = n2 ? 1e3 / 60 : Math.max(Math.min(y3 - r2.timestamp, Dl), 1)), r2.timestamp = y3, r2.isProcessing = true, a2.process(r2), c2.process(r2), d2.process(r2), u4.process(r2), h3.process(r2), p3.process(r2), m2.process(r2),
|
|
108315
|
+
s2 = false, Pe.useManualTiming || (r2.delta = n2 ? 1e3 / 60 : Math.max(Math.min(y3 - r2.timestamp, Dl), 1)), r2.timestamp = y3, r2.isProcessing = true, a2.process(r2), c2.process(r2), d2.process(r2), u4.process(r2), h3.process(r2), p3.process(r2), m2.process(r2), x2.process(r2), r2.isProcessing = false, s2 && t2 && (n2 = false, e2(w2));
|
|
108314
108316
|
}, A2 = () => {
|
|
108315
108317
|
s2 = true, n2 = true, r2.isProcessing || e2(w2);
|
|
108316
108318
|
};
|
|
108317
|
-
return { schedule: Mt.reduce((y3,
|
|
108318
|
-
const P3 = o2[
|
|
108319
|
-
return y3[
|
|
108319
|
+
return { schedule: Mt.reduce((y3, E2) => {
|
|
108320
|
+
const P3 = o2[E2];
|
|
108321
|
+
return y3[E2] = (V2, S3 = false, T2 = false) => (s2 || A2(), P3.schedule(V2, S3, T2)), y3;
|
|
108320
108322
|
}, {}), cancel: (y3) => {
|
|
108321
|
-
for (let
|
|
108322
|
-
o2[Mt[
|
|
108323
|
+
for (let E2 = 0; E2 < Mt.length; E2++)
|
|
108324
|
+
o2[Mt[E2]].cancel(y3);
|
|
108323
108325
|
}, state: r2, steps: o2 };
|
|
108324
108326
|
}
|
|
108325
108327
|
const { schedule: W, cancel: Me, state: te, steps: as } = /* @__PURE__ */ Di(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ge, true);
|
|
@@ -108336,17 +108338,17 @@ const ae = {
|
|
|
108336
108338
|
function Xn(e2) {
|
|
108337
108339
|
return typeof e2 != "string" ? false : e2.split("/*")[0].includes("var(--");
|
|
108338
108340
|
}
|
|
108339
|
-
const
|
|
108341
|
+
const rt = {
|
|
108340
108342
|
test: (e2) => typeof e2 == "number",
|
|
108341
108343
|
parse: parseFloat,
|
|
108342
108344
|
transform: (e2) => e2
|
|
108343
108345
|
}, wt = {
|
|
108344
|
-
...
|
|
108345
|
-
transform: (e2) =>
|
|
108346
|
+
...rt,
|
|
108347
|
+
transform: (e2) => Ce(0, 1, e2)
|
|
108346
108348
|
}, Dt = {
|
|
108347
|
-
...
|
|
108349
|
+
...rt,
|
|
108348
108350
|
default: 1
|
|
108349
|
-
},
|
|
108351
|
+
}, yt = (e2) => Math.round(e2 * 1e5) / 1e5, ln = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
108350
108352
|
function Ol(e2) {
|
|
108351
108353
|
return e2 == null;
|
|
108352
108354
|
}
|
|
@@ -108360,13 +108362,13 @@ const Il = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
108360
108362
|
[s2]: parseFloat(o2),
|
|
108361
108363
|
alpha: a2 !== void 0 ? parseFloat(a2) : 1
|
|
108362
108364
|
};
|
|
108363
|
-
}, _l = (e2) =>
|
|
108364
|
-
...
|
|
108365
|
+
}, _l = (e2) => Ce(0, 255, e2), ls = {
|
|
108366
|
+
...rt,
|
|
108365
108367
|
transform: (e2) => Math.round(_l(e2))
|
|
108366
|
-
},
|
|
108368
|
+
}, _e = {
|
|
108367
108369
|
test: /* @__PURE__ */ cn$1("rgb", "red"),
|
|
108368
108370
|
parse: /* @__PURE__ */ Li("red", "green", "blue"),
|
|
108369
|
-
transform: ({ red: e2, green: t2, blue: s2, alpha: n2 = 1 }) => "rgba(" + ls.transform(e2) + ", " + ls.transform(t2) + ", " + ls.transform(s2) + ", " +
|
|
108371
|
+
transform: ({ red: e2, green: t2, blue: s2, alpha: n2 = 1 }) => "rgba(" + ls.transform(e2) + ", " + ls.transform(t2) + ", " + ls.transform(s2) + ", " + yt(wt.transform(n2)) + ")"
|
|
108370
108372
|
};
|
|
108371
108373
|
function Wl(e2) {
|
|
108372
108374
|
let t2 = "", s2 = "", n2 = "", r2 = "";
|
|
@@ -108377,26 +108379,26 @@ function Wl(e2) {
|
|
|
108377
108379
|
alpha: r2 ? parseInt(r2, 16) / 255 : 1
|
|
108378
108380
|
};
|
|
108379
108381
|
}
|
|
108380
|
-
const
|
|
108382
|
+
const ks = {
|
|
108381
108383
|
test: /* @__PURE__ */ cn$1("#"),
|
|
108382
108384
|
parse: Wl,
|
|
108383
|
-
transform:
|
|
108385
|
+
transform: _e.transform
|
|
108384
108386
|
}, Pt = /* @__NO_SIDE_EFFECTS__ */ (e2) => ({
|
|
108385
108387
|
test: (t2) => typeof t2 == "string" && t2.endsWith(e2) && t2.split(" ").length === 1,
|
|
108386
108388
|
parse: parseFloat,
|
|
108387
108389
|
transform: (t2) => `${t2}${e2}`
|
|
108388
|
-
}), Re = /* @__PURE__ */ Pt("deg"), Ae = /* @__PURE__ */ Pt("%"),
|
|
108390
|
+
}), Re = /* @__PURE__ */ Pt("deg"), Ae = /* @__PURE__ */ Pt("%"), k = /* @__PURE__ */ Pt("px"), Ul = /* @__PURE__ */ Pt("vh"), ql = /* @__PURE__ */ Pt("vw"), Zn = {
|
|
108389
108391
|
...Ae,
|
|
108390
108392
|
parse: (e2) => Ae.parse(e2) / 100,
|
|
108391
108393
|
transform: (e2) => Ae.transform(e2 * 100)
|
|
108392
108394
|
}, Ge = {
|
|
108393
108395
|
test: /* @__PURE__ */ cn$1("hsl", "hue"),
|
|
108394
108396
|
parse: /* @__PURE__ */ Li("hue", "saturation", "lightness"),
|
|
108395
|
-
transform: ({ hue: e2, saturation: t2, lightness: s2, alpha: n2 = 1 }) => "hsla(" + Math.round(e2) + ", " + Ae.transform(
|
|
108397
|
+
transform: ({ hue: e2, saturation: t2, lightness: s2, alpha: n2 = 1 }) => "hsla(" + Math.round(e2) + ", " + Ae.transform(yt(t2)) + ", " + Ae.transform(yt(s2)) + ", " + yt(wt.transform(n2)) + ")"
|
|
108396
108398
|
}, J = {
|
|
108397
|
-
test: (e2) =>
|
|
108398
|
-
parse: (e2) =>
|
|
108399
|
-
transform: (e2) => typeof e2 == "string" ? e2 : e2.hasOwnProperty("red") ?
|
|
108399
|
+
test: (e2) => _e.test(e2) || ks.test(e2) || Ge.test(e2),
|
|
108400
|
+
parse: (e2) => _e.test(e2) ? _e.parse(e2) : Ge.test(e2) ? Ge.parse(e2) : ks.parse(e2),
|
|
108401
|
+
transform: (e2) => typeof e2 == "string" ? e2 : e2.hasOwnProperty("red") ? _e.transform(e2) : Ge.transform(e2),
|
|
108400
108402
|
getAnimatableNone: (e2) => {
|
|
108401
108403
|
const t2 = J.parse(e2);
|
|
108402
108404
|
return t2.alpha = 0, J.transform(t2);
|
|
@@ -108426,7 +108428,7 @@ function Wi(e2) {
|
|
|
108426
108428
|
for (let o2 = 0; o2 < n2; o2++)
|
|
108427
108429
|
if (i2 += t2[o2], r2[o2] !== void 0) {
|
|
108428
108430
|
const a2 = s2[o2];
|
|
108429
|
-
a2 === Oi ? i2 +=
|
|
108431
|
+
a2 === Oi ? i2 += yt(r2[o2]) : a2 === Ii ? i2 += J.transform(r2[o2]) : i2 += r2[o2];
|
|
108430
108432
|
}
|
|
108431
108433
|
return i2;
|
|
108432
108434
|
};
|
|
@@ -108467,10 +108469,10 @@ function qt(e2, t2) {
|
|
|
108467
108469
|
const K = (e2, t2, s2) => e2 + (t2 - e2) * s2, us = (e2, t2, s2) => {
|
|
108468
108470
|
const n2 = e2 * e2, r2 = s2 * (t2 * t2 - n2) + n2;
|
|
108469
108471
|
return r2 < 0 ? 0 : Math.sqrt(r2);
|
|
108470
|
-
}, Zl = [
|
|
108472
|
+
}, Zl = [ks, _e, Ge], $l = (e2) => Zl.find((t2) => t2.test(e2));
|
|
108471
108473
|
function er(e2) {
|
|
108472
108474
|
const t2 = $l(e2);
|
|
108473
|
-
if (
|
|
108475
|
+
if (nt(!!t2, `'${e2}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t2)
|
|
108474
108476
|
return false;
|
|
108475
108477
|
let s2 = t2.parse(e2);
|
|
108476
108478
|
return t2 === Ge && (s2 = Xl(s2)), s2;
|
|
@@ -108480,7 +108482,7 @@ const tr = (e2, t2) => {
|
|
|
108480
108482
|
if (!s2 || !n2)
|
|
108481
108483
|
return qt(e2, t2);
|
|
108482
108484
|
const r2 = { ...s2 };
|
|
108483
|
-
return (i2) => (r2.red = us(s2.red, n2.red, i2), r2.green = us(s2.green, n2.green, i2), r2.blue = us(s2.blue, n2.blue, i2), r2.alpha = K(s2.alpha, n2.alpha, i2),
|
|
108485
|
+
return (i2) => (r2.red = us(s2.red, n2.red, i2), r2.green = us(s2.green, n2.green, i2), r2.blue = us(s2.blue, n2.blue, i2), r2.alpha = K(s2.alpha, n2.alpha, i2), _e.transform(r2));
|
|
108484
108486
|
}, Ts = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
108485
108487
|
function ec(e2, t2) {
|
|
108486
108488
|
return Ts.has(e2) ? (s2) => s2 <= 0 ? e2 : t2 : (s2) => s2 >= 1 ? t2 : e2;
|
|
@@ -108519,7 +108521,7 @@ function nc(e2, t2) {
|
|
|
108519
108521
|
}
|
|
108520
108522
|
const rc = (e2, t2) => {
|
|
108521
108523
|
const s2 = De.createTransformer(t2), n2 = At(e2), r2 = At(t2);
|
|
108522
|
-
return n2.indexes.var.length === r2.indexes.var.length && n2.indexes.color.length === r2.indexes.color.length && n2.indexes.number.length >= r2.indexes.number.length ? Ts.has(e2) && !r2.values.length || Ts.has(t2) && !n2.values.length ? ec(e2, t2) : Tt(Ui(nc(n2, r2), r2.values), s2) : (
|
|
108524
|
+
return n2.indexes.var.length === r2.indexes.var.length && n2.indexes.color.length === r2.indexes.color.length && n2.indexes.number.length >= r2.indexes.number.length ? Ts.has(e2) && !r2.values.length || Ts.has(t2) && !n2.values.length ? ec(e2, t2) : Tt(Ui(nc(n2, r2), r2.values), s2) : (nt(true, `Complex values '${e2}' and '${t2}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), qt(e2, t2));
|
|
108523
108525
|
};
|
|
108524
108526
|
function qi(e2, t2, s2) {
|
|
108525
108527
|
return typeof e2 == "number" && typeof t2 == "number" && typeof s2 == "number" ? K(e2, t2, s2) : un(e2)(e2, t2);
|
|
@@ -108555,13 +108557,13 @@ function oc(e2, t2 = 100, s2) {
|
|
|
108555
108557
|
return {
|
|
108556
108558
|
type: "keyframes",
|
|
108557
108559
|
ease: (i2) => n2.next(r2 * i2).value / t2,
|
|
108558
|
-
duration: /* @__PURE__ */
|
|
108560
|
+
duration: /* @__PURE__ */ me(r2)
|
|
108559
108561
|
};
|
|
108560
108562
|
}
|
|
108561
108563
|
const ac = 5;
|
|
108562
108564
|
function Yi(e2, t2, s2) {
|
|
108563
108565
|
const n2 = Math.max(t2 - ac, 0);
|
|
108564
|
-
return
|
|
108566
|
+
return Ci(s2 - e2(n2), t2 - n2);
|
|
108565
108567
|
}
|
|
108566
108568
|
const q = {
|
|
108567
108569
|
// Default spring physics
|
|
@@ -108594,14 +108596,14 @@ const q = {
|
|
|
108594
108596
|
}, ds = 1e-3;
|
|
108595
108597
|
function lc({ duration: e2 = q.duration, bounce: t2 = q.bounce, velocity: s2 = q.velocity, mass: n2 = q.mass }) {
|
|
108596
108598
|
let r2, i2;
|
|
108597
|
-
|
|
108599
|
+
nt(e2 <= /* @__PURE__ */ we(q.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
108598
108600
|
let o2 = 1 - t2;
|
|
108599
|
-
o2 =
|
|
108600
|
-
const u4 = d2 * o2, h3 = u4 * e2, p3 = u4 - s2, m2 = Ss(d2, o2),
|
|
108601
|
-
return ds - p3 / m2 *
|
|
108601
|
+
o2 = Ce(q.minDamping, q.maxDamping, o2), e2 = Ce(q.minDuration, q.maxDuration, /* @__PURE__ */ me(e2)), o2 < 1 ? (r2 = (d2) => {
|
|
108602
|
+
const u4 = d2 * o2, h3 = u4 * e2, p3 = u4 - s2, m2 = Ss(d2, o2), x2 = Math.exp(-h3);
|
|
108603
|
+
return ds - p3 / m2 * x2;
|
|
108602
108604
|
}, i2 = (d2) => {
|
|
108603
|
-
const h3 = d2 * o2 * e2, p3 = h3 * s2 + s2, m2 = Math.pow(o2, 2) * Math.pow(d2, 2) * e2,
|
|
108604
|
-
return (-r2(d2) + ds > 0 ? -1 : 1) * ((p3 - m2) *
|
|
108605
|
+
const h3 = d2 * o2 * e2, p3 = h3 * s2 + s2, m2 = Math.pow(o2, 2) * Math.pow(d2, 2) * e2, x2 = Math.exp(-h3), w2 = Ss(Math.pow(d2, 2), o2);
|
|
108606
|
+
return (-r2(d2) + ds > 0 ? -1 : 1) * ((p3 - m2) * x2) / w2;
|
|
108605
108607
|
}) : (r2 = (d2) => {
|
|
108606
108608
|
const u4 = Math.exp(-d2 * e2), h3 = (d2 - s2) * e2 + 1;
|
|
108607
108609
|
return -ds + u4 * h3;
|
|
@@ -108650,7 +108652,7 @@ function fc(e2) {
|
|
|
108650
108652
|
};
|
|
108651
108653
|
if (!sr(e2, hc) && sr(e2, dc))
|
|
108652
108654
|
if (e2.visualDuration) {
|
|
108653
|
-
const s2 = e2.visualDuration, n2 = 2 * Math.PI / (s2 * 1.2), r2 = n2 * n2, i2 = 2 *
|
|
108655
|
+
const s2 = e2.visualDuration, n2 = 2 * Math.PI / (s2 * 1.2), r2 = n2 * n2, i2 = 2 * Ce(0.05, 1, 1 - (e2.bounce || 0)) * Math.sqrt(r2);
|
|
108654
108656
|
t2 = {
|
|
108655
108657
|
...t2,
|
|
108656
108658
|
mass: q.mass,
|
|
@@ -108676,47 +108678,47 @@ function Yt(e2 = q.visualDuration, t2 = q.bounce) {
|
|
|
108676
108678
|
let { restSpeed: n2, restDelta: r2 } = s2;
|
|
108677
108679
|
const i2 = s2.keyframes[0], o2 = s2.keyframes[s2.keyframes.length - 1], a2 = { done: false, value: i2 }, { stiffness: c2, damping: d2, mass: u4, duration: h3, velocity: p3, isResolvedFromDuration: m2 } = fc({
|
|
108678
108680
|
...s2,
|
|
108679
|
-
velocity: -/* @__PURE__ */
|
|
108680
|
-
}),
|
|
108681
|
-
n2 || (n2 =
|
|
108681
|
+
velocity: -/* @__PURE__ */ me(s2.velocity || 0)
|
|
108682
|
+
}), x2 = p3 || 0, w2 = d2 / (2 * Math.sqrt(c2 * u4)), A2 = o2 - i2, g2 = /* @__PURE__ */ me(Math.sqrt(c2 / u4)), v2 = Math.abs(A2) < 5;
|
|
108683
|
+
n2 || (n2 = v2 ? q.restSpeed.granular : q.restSpeed.default), r2 || (r2 = v2 ? q.restDelta.granular : q.restDelta.default);
|
|
108682
108684
|
let y3;
|
|
108683
108685
|
if (w2 < 1) {
|
|
108684
108686
|
const P3 = Ss(g2, w2);
|
|
108685
108687
|
y3 = (V2) => {
|
|
108686
108688
|
const S3 = Math.exp(-w2 * g2 * V2);
|
|
108687
|
-
return o2 - S3 * ((
|
|
108689
|
+
return o2 - S3 * ((x2 + w2 * g2 * A2) / P3 * Math.sin(P3 * V2) + A2 * Math.cos(P3 * V2));
|
|
108688
108690
|
};
|
|
108689
108691
|
} else if (w2 === 1)
|
|
108690
|
-
y3 = (P3) => o2 - Math.exp(-g2 * P3) * (A2 + (
|
|
108692
|
+
y3 = (P3) => o2 - Math.exp(-g2 * P3) * (A2 + (x2 + g2 * A2) * P3);
|
|
108691
108693
|
else {
|
|
108692
108694
|
const P3 = g2 * Math.sqrt(w2 * w2 - 1);
|
|
108693
108695
|
y3 = (V2) => {
|
|
108694
108696
|
const S3 = Math.exp(-w2 * g2 * V2), T2 = Math.min(P3 * V2, 300);
|
|
108695
|
-
return o2 - S3 * ((
|
|
108697
|
+
return o2 - S3 * ((x2 + w2 * g2 * A2) * Math.sinh(T2) + P3 * A2 * Math.cosh(T2)) / P3;
|
|
108696
108698
|
};
|
|
108697
108699
|
}
|
|
108698
|
-
const
|
|
108700
|
+
const E2 = {
|
|
108699
108701
|
calculatedDuration: m2 && h3 || null,
|
|
108700
108702
|
next: (P3) => {
|
|
108701
108703
|
const V2 = y3(P3);
|
|
108702
108704
|
if (m2)
|
|
108703
108705
|
a2.done = P3 >= h3;
|
|
108704
108706
|
else {
|
|
108705
|
-
let S3 = P3 === 0 ?
|
|
108706
|
-
w2 < 1 && (S3 = P3 === 0 ? /* @__PURE__ */ we(
|
|
108707
|
-
const T2 = Math.abs(S3) <= n2,
|
|
108708
|
-
a2.done = T2 &&
|
|
108707
|
+
let S3 = P3 === 0 ? x2 : 0;
|
|
108708
|
+
w2 < 1 && (S3 = P3 === 0 ? /* @__PURE__ */ we(x2) : Yi(y3, P3, V2));
|
|
108709
|
+
const T2 = Math.abs(S3) <= n2, M2 = Math.abs(o2 - V2) <= r2;
|
|
108710
|
+
a2.done = T2 && M2;
|
|
108709
108711
|
}
|
|
108710
108712
|
return a2.value = a2.done ? o2 : V2, a2;
|
|
108711
108713
|
},
|
|
108712
108714
|
toString: () => {
|
|
108713
|
-
const P3 = Math.min(dn(
|
|
108715
|
+
const P3 = Math.min(dn(E2), Kt), V2 = Ki((S3) => E2.next(P3 * S3).value, P3, 30);
|
|
108714
108716
|
return P3 + "ms " + V2;
|
|
108715
108717
|
},
|
|
108716
108718
|
toTransition: () => {
|
|
108717
108719
|
}
|
|
108718
108720
|
};
|
|
108719
|
-
return
|
|
108721
|
+
return E2;
|
|
108720
108722
|
}
|
|
108721
108723
|
Yt.applyToOptions = (e2) => {
|
|
108722
108724
|
const t2 = oc(e2, 100, Yt);
|
|
@@ -108726,18 +108728,18 @@ function Ps({ keyframes: e2, velocity: t2 = 0, power: s2 = 0.8, timeConstant: n2
|
|
|
108726
108728
|
const h3 = e2[0], p3 = {
|
|
108727
108729
|
done: false,
|
|
108728
108730
|
value: h3
|
|
108729
|
-
}, m2 = (T2) => a2 !== void 0 && T2 < a2 || c2 !== void 0 && T2 > c2,
|
|
108731
|
+
}, m2 = (T2) => a2 !== void 0 && T2 < a2 || c2 !== void 0 && T2 > c2, x2 = (T2) => a2 === void 0 ? c2 : c2 === void 0 || Math.abs(a2 - T2) < Math.abs(c2 - T2) ? a2 : c2;
|
|
108730
108732
|
let w2 = s2 * t2;
|
|
108731
108733
|
const A2 = h3 + w2, g2 = o2 === void 0 ? A2 : o2(A2);
|
|
108732
108734
|
g2 !== A2 && (w2 = g2 - h3);
|
|
108733
|
-
const
|
|
108734
|
-
const
|
|
108735
|
-
p3.done = Math.abs(
|
|
108735
|
+
const v2 = (T2) => -w2 * Math.exp(-T2 / n2), y3 = (T2) => g2 + v2(T2), E2 = (T2) => {
|
|
108736
|
+
const M2 = v2(T2), I2 = y3(T2);
|
|
108737
|
+
p3.done = Math.abs(M2) <= d2, p3.value = p3.done ? g2 : I2;
|
|
108736
108738
|
};
|
|
108737
108739
|
let P3, V2;
|
|
108738
108740
|
const S3 = (T2) => {
|
|
108739
108741
|
m2(p3.value) && (P3 = T2, V2 = Yt({
|
|
108740
|
-
keyframes: [p3.value,
|
|
108742
|
+
keyframes: [p3.value, x2(p3.value)],
|
|
108741
108743
|
velocity: Yi(y3, T2, p3.value),
|
|
108742
108744
|
// TODO: This should be passing * 1000
|
|
108743
108745
|
damping: r2,
|
|
@@ -108749,8 +108751,8 @@ function Ps({ keyframes: e2, velocity: t2 = 0, power: s2 = 0.8, timeConstant: n2
|
|
|
108749
108751
|
return S3(0), {
|
|
108750
108752
|
calculatedDuration: null,
|
|
108751
108753
|
next: (T2) => {
|
|
108752
|
-
let
|
|
108753
|
-
return !V2 && P3 === void 0 && (
|
|
108754
|
+
let M2 = false;
|
|
108755
|
+
return !V2 && P3 === void 0 && (M2 = true, E2(T2), S3(T2)), P3 !== void 0 && T2 >= P3 ? V2.next(T2 - P3) : (!M2 && E2(T2), p3);
|
|
108754
108756
|
}
|
|
108755
108757
|
};
|
|
108756
108758
|
}
|
|
@@ -108784,7 +108786,7 @@ function mc(e2, t2, { clamp: s2 = true, ease: n2, mixer: r2 } = {}) {
|
|
|
108784
108786
|
const p3 = /* @__PURE__ */ bt(e2[h3], e2[h3 + 1], u4);
|
|
108785
108787
|
return a2[h3](p3);
|
|
108786
108788
|
};
|
|
108787
|
-
return s2 ? (u4) => d2(
|
|
108789
|
+
return s2 ? (u4) => d2(Ce(e2[0], e2[i2 - 1], u4)) : d2;
|
|
108788
108790
|
}
|
|
108789
108791
|
function gc(e2, t2) {
|
|
108790
108792
|
const s2 = e2[e2.length - 1];
|
|
@@ -108891,22 +108893,22 @@ class pn extends fn {
|
|
|
108891
108893
|
const { generator: n2, totalDuration: r2, mixKeyframes: i2, mirroredGenerator: o2, resolvedDuration: a2, calculatedDuration: c2 } = this;
|
|
108892
108894
|
if (this.startTime === null)
|
|
108893
108895
|
return n2.next(0);
|
|
108894
|
-
const { delay: d2 = 0, keyframes: u4, repeat: h3, repeatType: p3, repeatDelay: m2, type:
|
|
108896
|
+
const { delay: d2 = 0, keyframes: u4, repeat: h3, repeatType: p3, repeatDelay: m2, type: x2, onUpdate: w2, finalKeyframe: A2 } = this.options;
|
|
108895
108897
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t2) : this.speed < 0 && (this.startTime = Math.min(t2 - r2 / this.speed, this.startTime)), s2 ? this.currentTime = t2 : this.updateTime(t2);
|
|
108896
|
-
const g2 = this.currentTime - d2 * (this.playbackSpeed >= 0 ? 1 : -1),
|
|
108898
|
+
const g2 = this.currentTime - d2 * (this.playbackSpeed >= 0 ? 1 : -1), v2 = this.playbackSpeed >= 0 ? g2 < 0 : g2 > r2;
|
|
108897
108899
|
this.currentTime = Math.max(g2, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r2);
|
|
108898
|
-
let y3 = this.currentTime,
|
|
108900
|
+
let y3 = this.currentTime, E2 = n2;
|
|
108899
108901
|
if (h3) {
|
|
108900
108902
|
const T2 = Math.min(this.currentTime, r2) / a2;
|
|
108901
|
-
let
|
|
108902
|
-
!
|
|
108903
|
+
let M2 = Math.floor(T2), I2 = T2 % 1;
|
|
108904
|
+
!I2 && T2 >= 1 && (I2 = 1), I2 === 1 && M2--, M2 = Math.min(M2, h3 + 1), !!(M2 % 2) && (p3 === "reverse" ? (I2 = 1 - I2, m2 && (I2 -= m2 / a2)) : p3 === "mirror" && (E2 = o2)), y3 = Ce(0, 1, I2) * a2;
|
|
108903
108905
|
}
|
|
108904
|
-
const P3 =
|
|
108906
|
+
const P3 = v2 ? { done: false, value: u4[0] } : E2.next(y3);
|
|
108905
108907
|
i2 && (P3.value = i2(P3.value));
|
|
108906
108908
|
let { done: V2 } = P3;
|
|
108907
|
-
!
|
|
108909
|
+
!v2 && c2 !== null && (V2 = this.playbackSpeed >= 0 ? this.currentTime >= r2 : this.currentTime <= 0);
|
|
108908
108910
|
const S3 = this.holdTime === null && (this.state === "finished" || this.state === "running" && V2);
|
|
108909
|
-
return S3 &&
|
|
108911
|
+
return S3 && x2 !== Ps && (P3.value = hn(u4, this.options, A2, this.speed)), w2 && w2(P3.value), S3 && this.finish(), P3;
|
|
108910
108912
|
}
|
|
108911
108913
|
/**
|
|
108912
108914
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -108917,14 +108919,14 @@ class pn extends fn {
|
|
|
108917
108919
|
return this.finished.then(t2, s2);
|
|
108918
108920
|
}
|
|
108919
108921
|
get duration() {
|
|
108920
|
-
return /* @__PURE__ */
|
|
108922
|
+
return /* @__PURE__ */ me(this.calculatedDuration);
|
|
108921
108923
|
}
|
|
108922
108924
|
get iterationDuration() {
|
|
108923
108925
|
const { delay: t2 = 0 } = this.options || {};
|
|
108924
|
-
return this.duration + /* @__PURE__ */
|
|
108926
|
+
return this.duration + /* @__PURE__ */ me(t2);
|
|
108925
108927
|
}
|
|
108926
108928
|
get time() {
|
|
108927
|
-
return /* @__PURE__ */
|
|
108929
|
+
return /* @__PURE__ */ me(this.currentTime);
|
|
108928
108930
|
}
|
|
108929
108931
|
set time(t2) {
|
|
108930
108932
|
t2 = /* @__PURE__ */ we(t2), this.currentTime = t2, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = t2 : this.driver && (this.startTime = this.driver.now() - t2 / this.playbackSpeed), this.driver?.start(false);
|
|
@@ -108935,7 +108937,7 @@ class pn extends fn {
|
|
|
108935
108937
|
set speed(t2) {
|
|
108936
108938
|
this.updateTime(ae.now());
|
|
108937
108939
|
const s2 = this.playbackSpeed !== t2;
|
|
108938
|
-
this.playbackSpeed = t2, s2 && (this.time = /* @__PURE__ */
|
|
108940
|
+
this.playbackSpeed = t2, s2 && (this.time = /* @__PURE__ */ me(this.currentTime));
|
|
108939
108941
|
}
|
|
108940
108942
|
play() {
|
|
108941
108943
|
if (this.isStopped)
|
|
@@ -108970,14 +108972,14 @@ class pn extends fn {
|
|
|
108970
108972
|
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), t2.observe(this);
|
|
108971
108973
|
}
|
|
108972
108974
|
}
|
|
108973
|
-
function
|
|
108975
|
+
function Cc(e2) {
|
|
108974
108976
|
for (let t2 = 1; t2 < e2.length; t2++)
|
|
108975
108977
|
e2[t2] ?? (e2[t2] = e2[t2 - 1]);
|
|
108976
108978
|
}
|
|
108977
|
-
const
|
|
108978
|
-
const t2 =
|
|
108979
|
-
return
|
|
108980
|
-
},
|
|
108979
|
+
const We = (e2) => e2 * 180 / Math.PI, Es = (e2) => {
|
|
108980
|
+
const t2 = We(Math.atan2(e2[1], e2[0]));
|
|
108981
|
+
return js(t2);
|
|
108982
|
+
}, kc = {
|
|
108981
108983
|
x: 4,
|
|
108982
108984
|
y: 5,
|
|
108983
108985
|
translateX: 4,
|
|
@@ -108985,12 +108987,12 @@ const _e = (e2) => e2 * 180 / Math.PI, js = (e2) => {
|
|
|
108985
108987
|
scaleX: 0,
|
|
108986
108988
|
scaleY: 3,
|
|
108987
108989
|
scale: (e2) => (Math.abs(e2[0]) + Math.abs(e2[3])) / 2,
|
|
108988
|
-
rotate:
|
|
108989
|
-
rotateZ:
|
|
108990
|
-
skewX: (e2) =>
|
|
108991
|
-
skewY: (e2) =>
|
|
108990
|
+
rotate: Es,
|
|
108991
|
+
rotateZ: Es,
|
|
108992
|
+
skewX: (e2) => We(Math.atan(e2[1])),
|
|
108993
|
+
skewY: (e2) => We(Math.atan(e2[2])),
|
|
108992
108994
|
skew: (e2) => (Math.abs(e2[1]) + Math.abs(e2[2])) / 2
|
|
108993
|
-
},
|
|
108995
|
+
}, js = (e2) => (e2 = e2 % 360, e2 < 0 && (e2 += 360), e2), nr = Es, rr = (e2) => Math.sqrt(e2[0] * e2[0] + e2[1] * e2[1]), ir = (e2) => Math.sqrt(e2[4] * e2[4] + e2[5] * e2[5]), Tc = {
|
|
108994
108996
|
x: 12,
|
|
108995
108997
|
y: 13,
|
|
108996
108998
|
z: 14,
|
|
@@ -109000,12 +109002,12 @@ const _e = (e2) => e2 * 180 / Math.PI, js = (e2) => {
|
|
|
109000
109002
|
scaleX: rr,
|
|
109001
109003
|
scaleY: ir,
|
|
109002
109004
|
scale: (e2) => (rr(e2) + ir(e2)) / 2,
|
|
109003
|
-
rotateX: (e2) =>
|
|
109004
|
-
rotateY: (e2) =>
|
|
109005
|
+
rotateX: (e2) => js(We(Math.atan2(e2[6], e2[5]))),
|
|
109006
|
+
rotateY: (e2) => js(We(Math.atan2(-e2[2], e2[0]))),
|
|
109005
109007
|
rotateZ: nr,
|
|
109006
109008
|
rotate: nr,
|
|
109007
|
-
skewX: (e2) =>
|
|
109008
|
-
skewY: (e2) =>
|
|
109009
|
+
skewX: (e2) => We(Math.atan(e2[4])),
|
|
109010
|
+
skewY: (e2) => We(Math.atan(e2[1])),
|
|
109009
109011
|
skew: (e2) => (Math.abs(e2[1]) + Math.abs(e2[4])) / 2
|
|
109010
109012
|
};
|
|
109011
109013
|
function Rs(e2) {
|
|
@@ -109020,7 +109022,7 @@ function Ns(e2, t2) {
|
|
|
109020
109022
|
n2 = Tc, r2 = s2;
|
|
109021
109023
|
else {
|
|
109022
109024
|
const a2 = e2.match(/^matrix\(([-\d.e\s,]+)\)$/u);
|
|
109023
|
-
n2 =
|
|
109025
|
+
n2 = kc, r2 = a2;
|
|
109024
109026
|
}
|
|
109025
109027
|
if (!r2)
|
|
109026
109028
|
return Rs(t2);
|
|
@@ -109034,7 +109036,7 @@ const Sc = (e2, t2) => {
|
|
|
109034
109036
|
function Pc(e2) {
|
|
109035
109037
|
return parseFloat(e2.trim());
|
|
109036
109038
|
}
|
|
109037
|
-
const
|
|
109039
|
+
const it = [
|
|
109038
109040
|
"transformPerspective",
|
|
109039
109041
|
"x",
|
|
109040
109042
|
"y",
|
|
@@ -109052,10 +109054,10 @@ const rt = [
|
|
|
109052
109054
|
"skew",
|
|
109053
109055
|
"skewX",
|
|
109054
109056
|
"skewY"
|
|
109055
|
-
],
|
|
109057
|
+
], ot2 = new Set(it), or = (e2) => e2 === rt || e2 === k, Ec = /* @__PURE__ */ new Set(["x", "y", "z"]), jc = it.filter((e2) => !Ec.has(e2));
|
|
109056
109058
|
function Rc(e2) {
|
|
109057
109059
|
const t2 = [];
|
|
109058
|
-
return
|
|
109060
|
+
return jc.forEach((s2) => {
|
|
109059
109061
|
const n2 = e2.getValue(s2);
|
|
109060
109062
|
n2 !== void 0 && (t2.push([s2, n2.get()]), n2.set(s2.startsWith("scale") ? 1 : 0));
|
|
109061
109063
|
}), t2;
|
|
@@ -109074,11 +109076,11 @@ const Ne = {
|
|
|
109074
109076
|
};
|
|
109075
109077
|
Ne.translateX = Ne.x;
|
|
109076
109078
|
Ne.translateY = Ne.y;
|
|
109077
|
-
const
|
|
109079
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
109078
109080
|
let Vs = false, Ms = false, Ds = false;
|
|
109079
109081
|
function Gi() {
|
|
109080
109082
|
if (Ms) {
|
|
109081
|
-
const e2 = Array.from(
|
|
109083
|
+
const e2 = Array.from(Ue).filter((n2) => n2.needsMeasurement), t2 = new Set(e2.map((n2) => n2.element)), s2 = /* @__PURE__ */ new Map();
|
|
109082
109084
|
t2.forEach((n2) => {
|
|
109083
109085
|
const r2 = Rc(n2);
|
|
109084
109086
|
r2.length && (s2.set(n2, r2), n2.render());
|
|
@@ -109092,10 +109094,10 @@ function Gi() {
|
|
|
109092
109094
|
n2.suspendedScrollY !== void 0 && window.scrollTo(0, n2.suspendedScrollY);
|
|
109093
109095
|
});
|
|
109094
109096
|
}
|
|
109095
|
-
Ms = false, Vs = false,
|
|
109097
|
+
Ms = false, Vs = false, Ue.forEach((e2) => e2.complete(Ds)), Ue.clear();
|
|
109096
109098
|
}
|
|
109097
109099
|
function Ji() {
|
|
109098
|
-
|
|
109100
|
+
Ue.forEach((e2) => {
|
|
109099
109101
|
e2.readKeyframes(), e2.needsMeasurement && (Ms = true);
|
|
109100
109102
|
});
|
|
109101
109103
|
}
|
|
@@ -109107,7 +109109,7 @@ class mn {
|
|
|
109107
109109
|
this.state = "pending", this.isAsync = false, this.needsMeasurement = false, this.unresolvedKeyframes = [...t2], this.onComplete = s2, this.name = n2, this.motionValue = r2, this.element = i2, this.isAsync = o2;
|
|
109108
109110
|
}
|
|
109109
109111
|
scheduleResolve() {
|
|
109110
|
-
this.state = "scheduled", this.isAsync ? (
|
|
109112
|
+
this.state = "scheduled", this.isAsync ? (Ue.add(this), Vs || (Vs = true, W.read(Ji), W.resolveKeyframes(Gi))) : (this.readKeyframes(), this.complete());
|
|
109111
109113
|
}
|
|
109112
109114
|
readKeyframes() {
|
|
109113
109115
|
const { unresolvedKeyframes: t2, name: s2, element: n2, motionValue: r2 } = this;
|
|
@@ -109121,7 +109123,7 @@ class mn {
|
|
|
109121
109123
|
}
|
|
109122
109124
|
t2[0] === void 0 && (t2[0] = o2), r2 && i2 === void 0 && r2.set(t2[0]);
|
|
109123
109125
|
}
|
|
109124
|
-
|
|
109126
|
+
Cc(t2);
|
|
109125
109127
|
}
|
|
109126
109128
|
setFinalKeyframe() {
|
|
109127
109129
|
}
|
|
@@ -109132,10 +109134,10 @@ class mn {
|
|
|
109132
109134
|
measureEndState() {
|
|
109133
109135
|
}
|
|
109134
109136
|
complete(t2 = false) {
|
|
109135
|
-
this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t2),
|
|
109137
|
+
this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t2), Ue.delete(this);
|
|
109136
109138
|
}
|
|
109137
109139
|
cancel() {
|
|
109138
|
-
this.state === "scheduled" && (
|
|
109140
|
+
this.state === "scheduled" && (Ue.delete(this), this.state = "pending");
|
|
109139
109141
|
}
|
|
109140
109142
|
resume() {
|
|
109141
109143
|
this.state === "pending" && this.scheduleResolve();
|
|
@@ -109157,20 +109159,20 @@ const Qi = /* @__PURE__ */ Bc(() => {
|
|
|
109157
109159
|
return false;
|
|
109158
109160
|
}
|
|
109159
109161
|
return true;
|
|
109160
|
-
}, "linearEasing"),
|
|
109162
|
+
}, "linearEasing"), mt = ([e2, t2, s2, n2]) => `cubic-bezier(${e2}, ${t2}, ${s2}, ${n2})`, ar = {
|
|
109161
109163
|
linear: "linear",
|
|
109162
109164
|
ease: "ease",
|
|
109163
109165
|
easeIn: "ease-in",
|
|
109164
109166
|
easeOut: "ease-out",
|
|
109165
109167
|
easeInOut: "ease-in-out",
|
|
109166
|
-
circIn: /* @__PURE__ */
|
|
109167
|
-
circOut: /* @__PURE__ */
|
|
109168
|
-
backIn: /* @__PURE__ */
|
|
109169
|
-
backOut: /* @__PURE__ */
|
|
109168
|
+
circIn: /* @__PURE__ */ mt([0, 0.65, 0.55, 1]),
|
|
109169
|
+
circOut: /* @__PURE__ */ mt([0.55, 0, 1, 0.45]),
|
|
109170
|
+
backIn: /* @__PURE__ */ mt([0.31, 0.01, 0.66, -0.59]),
|
|
109171
|
+
backOut: /* @__PURE__ */ mt([0.33, 1.53, 0.69, 0.99])
|
|
109170
109172
|
};
|
|
109171
109173
|
function Hi(e2, t2) {
|
|
109172
109174
|
if (e2)
|
|
109173
|
-
return typeof e2 == "function" ? Qi() ? Ki(e2, t2) : "ease-out" : Mi(e2) ?
|
|
109175
|
+
return typeof e2 == "function" ? Qi() ? Ki(e2, t2) : "ease-out" : Mi(e2) ? mt(e2) : Array.isArray(e2) ? e2.map((s2) => Hi(s2, t2) || ar.easeOut) : ar[e2];
|
|
109174
109176
|
}
|
|
109175
109177
|
function Lc(e2, t2, s2, { delay: n2 = 0, duration: r2 = 300, repeat: i2 = 0, repeatType: o2 = "loop", ease: a2 = "easeOut", times: c2 } = {}, d2 = void 0) {
|
|
109176
109178
|
const u4 = {
|
|
@@ -109249,14 +109251,14 @@ class Ic extends fn {
|
|
|
109249
109251
|
}
|
|
109250
109252
|
get duration() {
|
|
109251
109253
|
const t2 = this.animation.effect?.getComputedTiming?.().duration || 0;
|
|
109252
|
-
return /* @__PURE__ */
|
|
109254
|
+
return /* @__PURE__ */ me(Number(t2));
|
|
109253
109255
|
}
|
|
109254
109256
|
get iterationDuration() {
|
|
109255
109257
|
const { delay: t2 = 0 } = this.options || {};
|
|
109256
|
-
return this.duration + /* @__PURE__ */
|
|
109258
|
+
return this.duration + /* @__PURE__ */ me(t2);
|
|
109257
109259
|
}
|
|
109258
109260
|
get time() {
|
|
109259
|
-
return /* @__PURE__ */
|
|
109261
|
+
return /* @__PURE__ */ me(Number(this.animation.currentTime) || 0);
|
|
109260
109262
|
}
|
|
109261
109263
|
set time(t2) {
|
|
109262
109264
|
this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ we(t2);
|
|
@@ -109288,8 +109290,8 @@ class Ic extends fn {
|
|
|
109288
109290
|
}
|
|
109289
109291
|
}
|
|
109290
109292
|
const Zi = {
|
|
109291
|
-
anticipate:
|
|
109292
|
-
backInOut:
|
|
109293
|
+
anticipate: ji,
|
|
109294
|
+
backInOut: Ei,
|
|
109293
109295
|
circInOut: Ni
|
|
109294
109296
|
};
|
|
109295
109297
|
function _c(e2) {
|
|
@@ -109322,7 +109324,7 @@ class Uc extends Ic {
|
|
|
109322
109324
|
const a2 = new pn({
|
|
109323
109325
|
...o2,
|
|
109324
109326
|
autoplay: false
|
|
109325
|
-
}), c2 = Math.max(hs, ae.now() - this.startTime), d2 =
|
|
109327
|
+
}), c2 = Math.max(hs, ae.now() - this.startTime), d2 = Ce(0, hs, c2 - hs);
|
|
109326
109328
|
s2.setWithVelocity(a2.sample(Math.max(0, c2 - d2)).value, a2.sample(c2).value, d2), a2.stop();
|
|
109327
109329
|
}
|
|
109328
109330
|
}
|
|
@@ -109344,7 +109346,7 @@ function Kc(e2, t2, s2, n2) {
|
|
|
109344
109346
|
if (t2 === "display" || t2 === "visibility")
|
|
109345
109347
|
return true;
|
|
109346
109348
|
const i2 = e2[e2.length - 1], o2 = lr(r2, t2), a2 = lr(i2, t2);
|
|
109347
|
-
return
|
|
109349
|
+
return nt(o2 === a2, `You are trying to animate ${t2} from "${r2}" to "${i2}". "${o2 ? i2 : r2}" is not an animatable value.`, "value-not-animatable"), !o2 || !a2 ? false : qc(e2) || (s2 === "spring" || Xi(s2)) && n2;
|
|
109348
109350
|
}
|
|
109349
109351
|
function Fs(e2) {
|
|
109350
109352
|
e2.duration = 0, e2.type = "keyframes";
|
|
@@ -109386,7 +109388,7 @@ class Qc extends fn {
|
|
|
109386
109388
|
element: u4,
|
|
109387
109389
|
...h3
|
|
109388
109390
|
}, m2 = u4?.KeyframeResolver || mn;
|
|
109389
|
-
this.keyframeResolver = new m2(a2, (
|
|
109391
|
+
this.keyframeResolver = new m2(a2, (x2, w2, A2) => this.onKeyframesResolved(x2, w2, p3, !A2), c2, d2, u4), this.keyframeResolver?.scheduleResolve();
|
|
109390
109392
|
}
|
|
109391
109393
|
onKeyframesResolved(t2, s2, n2, r2) {
|
|
109392
109394
|
this.keyframeResolver = void 0;
|
|
@@ -109487,11 +109489,11 @@ const eo = /* @__PURE__ */ new Set([
|
|
|
109487
109489
|
"left",
|
|
109488
109490
|
"right",
|
|
109489
109491
|
"bottom",
|
|
109490
|
-
...
|
|
109492
|
+
...it
|
|
109491
109493
|
]), $c = {
|
|
109492
109494
|
test: (e2) => e2 === "auto",
|
|
109493
109495
|
parse: (e2) => e2
|
|
109494
|
-
}, to = (e2) => (t2) => t2.test(e2), so = [
|
|
109496
|
+
}, to = (e2) => (t2) => t2.test(e2), so = [rt, k, Ae, Re, ql, Ul, $c], cr = (e2) => so.find(to(e2));
|
|
109495
109497
|
function eu(e2) {
|
|
109496
109498
|
return typeof e2 == "number" ? e2 === 0 : e2 !== null ? e2 === "none" || e2 === "0" || Ai(e2) : true;
|
|
109497
109499
|
}
|
|
@@ -109514,7 +109516,7 @@ const nu = /\b([a-z-]*)\(.*?\)/gu, Bs = {
|
|
|
109514
109516
|
return t2 ? t2.map(su).join(" ") : e2;
|
|
109515
109517
|
}
|
|
109516
109518
|
}, ur = {
|
|
109517
|
-
...
|
|
109519
|
+
...rt,
|
|
109518
109520
|
transform: Math.round
|
|
109519
109521
|
}, ru = {
|
|
109520
109522
|
rotate: Re,
|
|
@@ -109528,74 +109530,74 @@ const nu = /\b([a-z-]*)\(.*?\)/gu, Bs = {
|
|
|
109528
109530
|
skew: Re,
|
|
109529
109531
|
skewX: Re,
|
|
109530
109532
|
skewY: Re,
|
|
109531
|
-
distance:
|
|
109532
|
-
translateX:
|
|
109533
|
-
translateY:
|
|
109534
|
-
translateZ:
|
|
109535
|
-
x:
|
|
109536
|
-
y:
|
|
109537
|
-
z:
|
|
109538
|
-
perspective:
|
|
109539
|
-
transformPerspective:
|
|
109533
|
+
distance: k,
|
|
109534
|
+
translateX: k,
|
|
109535
|
+
translateY: k,
|
|
109536
|
+
translateZ: k,
|
|
109537
|
+
x: k,
|
|
109538
|
+
y: k,
|
|
109539
|
+
z: k,
|
|
109540
|
+
perspective: k,
|
|
109541
|
+
transformPerspective: k,
|
|
109540
109542
|
opacity: wt,
|
|
109541
109543
|
originX: Zn,
|
|
109542
109544
|
originY: Zn,
|
|
109543
|
-
originZ:
|
|
109545
|
+
originZ: k
|
|
109544
109546
|
}, yn = {
|
|
109545
109547
|
// Border props
|
|
109546
|
-
borderWidth:
|
|
109547
|
-
borderTopWidth:
|
|
109548
|
-
borderRightWidth:
|
|
109549
|
-
borderBottomWidth:
|
|
109550
|
-
borderLeftWidth:
|
|
109551
|
-
borderRadius:
|
|
109552
|
-
radius:
|
|
109553
|
-
borderTopLeftRadius:
|
|
109554
|
-
borderTopRightRadius:
|
|
109555
|
-
borderBottomRightRadius:
|
|
109556
|
-
borderBottomLeftRadius:
|
|
109548
|
+
borderWidth: k,
|
|
109549
|
+
borderTopWidth: k,
|
|
109550
|
+
borderRightWidth: k,
|
|
109551
|
+
borderBottomWidth: k,
|
|
109552
|
+
borderLeftWidth: k,
|
|
109553
|
+
borderRadius: k,
|
|
109554
|
+
radius: k,
|
|
109555
|
+
borderTopLeftRadius: k,
|
|
109556
|
+
borderTopRightRadius: k,
|
|
109557
|
+
borderBottomRightRadius: k,
|
|
109558
|
+
borderBottomLeftRadius: k,
|
|
109557
109559
|
// Positioning props
|
|
109558
|
-
width:
|
|
109559
|
-
maxWidth:
|
|
109560
|
-
height:
|
|
109561
|
-
maxHeight:
|
|
109562
|
-
top:
|
|
109563
|
-
right:
|
|
109564
|
-
bottom:
|
|
109565
|
-
left:
|
|
109566
|
-
inset:
|
|
109567
|
-
insetBlock:
|
|
109568
|
-
insetBlockStart:
|
|
109569
|
-
insetBlockEnd:
|
|
109570
|
-
insetInline:
|
|
109571
|
-
insetInlineStart:
|
|
109572
|
-
insetInlineEnd:
|
|
109560
|
+
width: k,
|
|
109561
|
+
maxWidth: k,
|
|
109562
|
+
height: k,
|
|
109563
|
+
maxHeight: k,
|
|
109564
|
+
top: k,
|
|
109565
|
+
right: k,
|
|
109566
|
+
bottom: k,
|
|
109567
|
+
left: k,
|
|
109568
|
+
inset: k,
|
|
109569
|
+
insetBlock: k,
|
|
109570
|
+
insetBlockStart: k,
|
|
109571
|
+
insetBlockEnd: k,
|
|
109572
|
+
insetInline: k,
|
|
109573
|
+
insetInlineStart: k,
|
|
109574
|
+
insetInlineEnd: k,
|
|
109573
109575
|
// Spacing props
|
|
109574
|
-
padding:
|
|
109575
|
-
paddingTop:
|
|
109576
|
-
paddingRight:
|
|
109577
|
-
paddingBottom:
|
|
109578
|
-
paddingLeft:
|
|
109579
|
-
paddingBlock:
|
|
109580
|
-
paddingBlockStart:
|
|
109581
|
-
paddingBlockEnd:
|
|
109582
|
-
paddingInline:
|
|
109583
|
-
paddingInlineStart:
|
|
109584
|
-
paddingInlineEnd:
|
|
109585
|
-
margin:
|
|
109586
|
-
marginTop:
|
|
109587
|
-
marginRight:
|
|
109588
|
-
marginBottom:
|
|
109589
|
-
marginLeft:
|
|
109590
|
-
marginBlock:
|
|
109591
|
-
marginBlockStart:
|
|
109592
|
-
marginBlockEnd:
|
|
109593
|
-
marginInline:
|
|
109594
|
-
marginInlineStart:
|
|
109595
|
-
marginInlineEnd:
|
|
109576
|
+
padding: k,
|
|
109577
|
+
paddingTop: k,
|
|
109578
|
+
paddingRight: k,
|
|
109579
|
+
paddingBottom: k,
|
|
109580
|
+
paddingLeft: k,
|
|
109581
|
+
paddingBlock: k,
|
|
109582
|
+
paddingBlockStart: k,
|
|
109583
|
+
paddingBlockEnd: k,
|
|
109584
|
+
paddingInline: k,
|
|
109585
|
+
paddingInlineStart: k,
|
|
109586
|
+
paddingInlineEnd: k,
|
|
109587
|
+
margin: k,
|
|
109588
|
+
marginTop: k,
|
|
109589
|
+
marginRight: k,
|
|
109590
|
+
marginBottom: k,
|
|
109591
|
+
marginLeft: k,
|
|
109592
|
+
marginBlock: k,
|
|
109593
|
+
marginBlockStart: k,
|
|
109594
|
+
marginBlockEnd: k,
|
|
109595
|
+
marginInline: k,
|
|
109596
|
+
marginInlineStart: k,
|
|
109597
|
+
marginInlineEnd: k,
|
|
109596
109598
|
// Misc
|
|
109597
|
-
backgroundPositionX:
|
|
109598
|
-
backgroundPositionY:
|
|
109599
|
+
backgroundPositionX: k,
|
|
109600
|
+
backgroundPositionY: k,
|
|
109599
109601
|
...ru,
|
|
109600
109602
|
zIndex: ur,
|
|
109601
109603
|
// SVG
|
|
@@ -109854,7 +109856,7 @@ class du {
|
|
|
109854
109856
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t2 - this.updatedAt > dr)
|
|
109855
109857
|
return 0;
|
|
109856
109858
|
const s2 = Math.min(this.updatedAt - this.prevUpdatedAt, dr);
|
|
109857
|
-
return
|
|
109859
|
+
return Ci(parseFloat(this.current) - parseFloat(this.prevFrameValue), s2);
|
|
109858
109860
|
}
|
|
109859
109861
|
/**
|
|
109860
109862
|
* Registers a new animation to control this `MotionValue`. Only one
|
|
@@ -109905,7 +109907,7 @@ class du {
|
|
|
109905
109907
|
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
109906
109908
|
}
|
|
109907
109909
|
}
|
|
109908
|
-
function
|
|
109910
|
+
function et2(e2, t2) {
|
|
109909
109911
|
return new du(e2, t2);
|
|
109910
109912
|
}
|
|
109911
109913
|
const { schedule: xn } = /* @__PURE__ */ Di(queueMicrotask, false), xe = {
|
|
@@ -109992,8 +109994,8 @@ function gu(e2, t2, s2 = {}) {
|
|
|
109992
109994
|
if (!pr(a2))
|
|
109993
109995
|
return;
|
|
109994
109996
|
Ot.add(c2);
|
|
109995
|
-
const d2 = t2(c2, a2), u4 = (m2,
|
|
109996
|
-
window.removeEventListener("pointerup", h3), window.removeEventListener("pointercancel", p3), Ot.has(c2) && Ot.delete(c2), pr(m2) && typeof d2 == "function" && d2(m2, { success:
|
|
109997
|
+
const d2 = t2(c2, a2), u4 = (m2, x2) => {
|
|
109998
|
+
window.removeEventListener("pointerup", h3), window.removeEventListener("pointercancel", p3), Ot.has(c2) && Ot.delete(c2), pr(m2) && typeof d2 == "function" && d2(m2, { success: x2 });
|
|
109997
109999
|
}, h3 = (m2) => {
|
|
109998
110000
|
u4(m2, c2 === window || c2 === document || s2.useGlobalTarget || co(c2, m2.target));
|
|
109999
110001
|
}, p3 = (m2) => {
|
|
@@ -110058,7 +110060,7 @@ class Au extends React.Component {
|
|
|
110058
110060
|
return this.props.children;
|
|
110059
110061
|
}
|
|
110060
110062
|
}
|
|
110061
|
-
function
|
|
110063
|
+
function Cu({ children: e2, isPresent: t2, anchorX: s2, root: n2 }) {
|
|
110062
110064
|
const r2 = useId(), i2 = useRef(null), o2 = useRef({
|
|
110063
110065
|
width: 0,
|
|
110064
110066
|
height: 0,
|
|
@@ -110067,10 +110069,10 @@ function ku({ children: e2, isPresent: t2, anchorX: s2, root: n2 }) {
|
|
|
110067
110069
|
right: 0
|
|
110068
110070
|
}), { nonce: a2 } = useContext(bn), c2 = e2.props?.ref ?? e2?.ref, d2 = wu(i2, c2);
|
|
110069
110071
|
return useInsertionEffect(() => {
|
|
110070
|
-
const { width: u4, height: h3, top: p3, left: m2, right:
|
|
110072
|
+
const { width: u4, height: h3, top: p3, left: m2, right: x2 } = o2.current;
|
|
110071
110073
|
if (t2 || !i2.current || !u4 || !h3)
|
|
110072
110074
|
return;
|
|
110073
|
-
const w2 = s2 === "left" ? `left: ${m2}` : `right: ${
|
|
110075
|
+
const w2 = s2 === "left" ? `left: ${m2}` : `right: ${x2}`;
|
|
110074
110076
|
i2.current.dataset.motionPopId = r2;
|
|
110075
110077
|
const A2 = document.createElement("style");
|
|
110076
110078
|
a2 && (A2.nonce = a2);
|
|
@@ -110088,7 +110090,7 @@ function ku({ children: e2, isPresent: t2, anchorX: s2, root: n2 }) {
|
|
|
110088
110090
|
};
|
|
110089
110091
|
}, [t2]), l2.jsx(Au, { isPresent: t2, childRef: i2, sizeRef: o2, children: React.cloneElement(e2, { ref: d2 }) });
|
|
110090
110092
|
}
|
|
110091
|
-
const
|
|
110093
|
+
const ku = ({ children: e2, initial: t2, isPresent: s2, onExitComplete: n2, custom: r2, presenceAffectsLayout: i2, mode: o2, anchorX: a2, root: c2 }) => {
|
|
110092
110094
|
const d2 = Xs(Tu), u4 = useId();
|
|
110093
110095
|
let h3 = true, p3 = useMemo$1(() => (h3 = false, {
|
|
110094
110096
|
id: u4,
|
|
@@ -110097,18 +110099,18 @@ const Cu = ({ children: e2, initial: t2, isPresent: s2, onExitComplete: n2, cust
|
|
|
110097
110099
|
custom: r2,
|
|
110098
110100
|
onExitComplete: (m2) => {
|
|
110099
110101
|
d2.set(m2, true);
|
|
110100
|
-
for (const
|
|
110101
|
-
if (!
|
|
110102
|
+
for (const x2 of d2.values())
|
|
110103
|
+
if (!x2)
|
|
110102
110104
|
return;
|
|
110103
110105
|
n2 && n2();
|
|
110104
110106
|
},
|
|
110105
110107
|
register: (m2) => (d2.set(m2, false), () => d2.delete(m2))
|
|
110106
110108
|
}), [s2, d2, n2]);
|
|
110107
110109
|
return i2 && h3 && (p3 = { ...p3 }), useMemo$1(() => {
|
|
110108
|
-
d2.forEach((m2,
|
|
110110
|
+
d2.forEach((m2, x2) => d2.set(x2, false));
|
|
110109
110111
|
}, [s2]), React.useEffect(() => {
|
|
110110
110112
|
!s2 && !d2.size && n2 && n2();
|
|
110111
|
-
}, [s2]), o2 === "popLayout" && (e2 = l2.jsx(
|
|
110113
|
+
}, [s2]), o2 === "popLayout" && (e2 = l2.jsx(Cu, { isPresent: s2, anchorX: a2, root: c2, children: e2 })), l2.jsx(Xt.Provider, { value: p3, children: e2 });
|
|
110112
110114
|
};
|
|
110113
110115
|
function Tu() {
|
|
110114
110116
|
return /* @__PURE__ */ new Map();
|
|
@@ -110133,9 +110135,9 @@ function gr(e2) {
|
|
|
110133
110135
|
}), t2;
|
|
110134
110136
|
}
|
|
110135
110137
|
const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2, presenceAffectsLayout: r2 = true, mode: i2 = "sync", propagate: o2 = false, anchorX: a2 = "left", root: c2 }) => {
|
|
110136
|
-
const [d2, u4] = fo(o2), h3 = useMemo$1(() => gr(e2), [e2]), p3 = o2 && !d2 ? [] : h3.map(Ft), m2 = useRef(true),
|
|
110138
|
+
const [d2, u4] = fo(o2), h3 = useMemo$1(() => gr(e2), [e2]), p3 = o2 && !d2 ? [] : h3.map(Ft), m2 = useRef(true), x2 = useRef(h3), w2 = Xs(() => /* @__PURE__ */ new Map()), A2 = useRef(/* @__PURE__ */ new Set()), [g2, v2] = useState(h3), [y3, E2] = useState(h3);
|
|
110137
110139
|
vi(() => {
|
|
110138
|
-
m2.current = false,
|
|
110140
|
+
m2.current = false, x2.current = h3;
|
|
110139
110141
|
for (let S3 = 0; S3 < y3.length; S3++) {
|
|
110140
110142
|
const T2 = Ft(y3[S3]);
|
|
110141
110143
|
p3.includes(T2) ? (w2.delete(T2), A2.current.delete(T2)) : w2.get(T2) !== true && w2.set(T2, false);
|
|
@@ -110145,15 +110147,15 @@ const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2,
|
|
|
110145
110147
|
if (h3 !== g2) {
|
|
110146
110148
|
let S3 = [...h3];
|
|
110147
110149
|
for (let T2 = 0; T2 < y3.length; T2++) {
|
|
110148
|
-
const
|
|
110149
|
-
p3.includes(
|
|
110150
|
+
const M2 = y3[T2], I2 = Ft(M2);
|
|
110151
|
+
p3.includes(I2) || (S3.splice(T2, 0, M2), P3.push(M2));
|
|
110150
110152
|
}
|
|
110151
|
-
return i2 === "wait" && P3.length && (S3 = P3),
|
|
110153
|
+
return i2 === "wait" && P3.length && (S3 = P3), E2(gr(S3)), v2(h3), null;
|
|
110152
110154
|
}
|
|
110153
110155
|
process.env.NODE_ENV !== "production" && i2 === "wait" && y3.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
110154
110156
|
const { forceRender: V2 } = useContext(Hs);
|
|
110155
110157
|
return l2.jsx(l2.Fragment, { children: y3.map((S3) => {
|
|
110156
|
-
const T2 = Ft(S3),
|
|
110158
|
+
const T2 = Ft(S3), M2 = o2 && !d2 ? false : h3 === y3 || p3.includes(T2), I2 = () => {
|
|
110157
110159
|
if (A2.current.has(T2))
|
|
110158
110160
|
return;
|
|
110159
110161
|
if (A2.current.add(T2), w2.has(T2))
|
|
@@ -110163,9 +110165,9 @@ const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2,
|
|
|
110163
110165
|
let Q2 = true;
|
|
110164
110166
|
w2.forEach((H2) => {
|
|
110165
110167
|
H2 || (Q2 = false);
|
|
110166
|
-
}), Q2 && (V2?.(),
|
|
110168
|
+
}), Q2 && (V2?.(), E2(x2.current), o2 && u4?.(), n2 && n2());
|
|
110167
110169
|
};
|
|
110168
|
-
return l2.jsx(
|
|
110170
|
+
return l2.jsx(ku, { isPresent: M2, initial: !m2.current || s2 ? void 0 : false, custom: t2, presenceAffectsLayout: r2, mode: i2, root: c2, onExitComplete: M2 ? void 0 : I2, anchorX: a2, children: S3 }, T2);
|
|
110169
110171
|
}) });
|
|
110170
110172
|
}, po = createContext({ strict: false }), yr = {
|
|
110171
110173
|
animation: [
|
|
@@ -110186,19 +110188,19 @@ const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2,
|
|
|
110186
110188
|
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
110187
110189
|
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
110188
110190
|
layout: ["layout", "layoutId"]
|
|
110189
|
-
},
|
|
110191
|
+
}, tt = {};
|
|
110190
110192
|
for (const e2 in yr)
|
|
110191
|
-
|
|
110193
|
+
tt[e2] = {
|
|
110192
110194
|
isEnabled: (t2) => yr[e2].some((s2) => !!t2[s2])
|
|
110193
110195
|
};
|
|
110194
110196
|
function Pu(e2) {
|
|
110195
110197
|
for (const t2 in e2)
|
|
110196
|
-
|
|
110197
|
-
...
|
|
110198
|
+
tt[t2] = {
|
|
110199
|
+
...tt[t2],
|
|
110198
110200
|
...e2[t2]
|
|
110199
110201
|
};
|
|
110200
110202
|
}
|
|
110201
|
-
const
|
|
110203
|
+
const Eu = /* @__PURE__ */ new Set([
|
|
110202
110204
|
"animate",
|
|
110203
110205
|
"exit",
|
|
110204
110206
|
"variants",
|
|
@@ -110231,14 +110233,14 @@ const ju = /* @__PURE__ */ new Set([
|
|
|
110231
110233
|
"viewport"
|
|
110232
110234
|
]);
|
|
110233
110235
|
function zt(e2) {
|
|
110234
|
-
return e2.startsWith("while") || e2.startsWith("drag") && e2 !== "draggable" || e2.startsWith("layout") || e2.startsWith("onTap") || e2.startsWith("onPan") || e2.startsWith("onLayout") ||
|
|
110236
|
+
return e2.startsWith("while") || e2.startsWith("drag") && e2 !== "draggable" || e2.startsWith("layout") || e2.startsWith("onTap") || e2.startsWith("onPan") || e2.startsWith("onLayout") || Eu.has(e2);
|
|
110235
110237
|
}
|
|
110236
110238
|
let mo = (e2) => !zt(e2);
|
|
110237
|
-
function
|
|
110239
|
+
function ju(e2) {
|
|
110238
110240
|
typeof e2 == "function" && (mo = (t2) => t2.startsWith("on") ? !zt(t2) : e2(t2));
|
|
110239
110241
|
}
|
|
110240
110242
|
try {
|
|
110241
|
-
|
|
110243
|
+
ju(require("@emotion/is-prop-valid").default);
|
|
110242
110244
|
} catch {
|
|
110243
110245
|
}
|
|
110244
110246
|
function Ru(e2, t2, s2) {
|
|
@@ -110252,7 +110254,7 @@ const Zt = /* @__PURE__ */ createContext({});
|
|
|
110252
110254
|
function $t(e2) {
|
|
110253
110255
|
return e2 !== null && typeof e2 == "object" && typeof e2.start == "function";
|
|
110254
110256
|
}
|
|
110255
|
-
function
|
|
110257
|
+
function Ct(e2) {
|
|
110256
110258
|
return typeof e2 == "string" || Array.isArray(e2);
|
|
110257
110259
|
}
|
|
110258
110260
|
const wn = [
|
|
@@ -110265,7 +110267,7 @@ const wn = [
|
|
|
110265
110267
|
"exit"
|
|
110266
110268
|
], An = ["initial", ...wn];
|
|
110267
110269
|
function es(e2) {
|
|
110268
|
-
return $t(e2.animate) || An.some((t2) =>
|
|
110270
|
+
return $t(e2.animate) || An.some((t2) => Ct(e2[t2]));
|
|
110269
110271
|
}
|
|
110270
110272
|
function go(e2) {
|
|
110271
110273
|
return !!(es(e2) || e2.variants);
|
|
@@ -110274,8 +110276,8 @@ function Nu(e2, t2) {
|
|
|
110274
110276
|
if (es(e2)) {
|
|
110275
110277
|
const { initial: s2, animate: n2 } = e2;
|
|
110276
110278
|
return {
|
|
110277
|
-
initial: s2 === false ||
|
|
110278
|
-
animate:
|
|
110279
|
+
initial: s2 === false || Ct(s2) ? s2 : void 0,
|
|
110280
|
+
animate: Ct(n2) ? n2 : void 0
|
|
110279
110281
|
};
|
|
110280
110282
|
}
|
|
110281
110283
|
return e2.inherit !== false ? t2 : {};
|
|
@@ -110290,12 +110292,12 @@ function xr(e2) {
|
|
|
110290
110292
|
function vr(e2, t2) {
|
|
110291
110293
|
return t2.max === t2.min ? 0 : e2 / (t2.max - t2.min) * 100;
|
|
110292
110294
|
}
|
|
110293
|
-
const
|
|
110295
|
+
const pt = {
|
|
110294
110296
|
correct: (e2, t2) => {
|
|
110295
110297
|
if (!t2.target)
|
|
110296
110298
|
return e2;
|
|
110297
110299
|
if (typeof e2 == "string")
|
|
110298
|
-
if (
|
|
110300
|
+
if (k.test(e2))
|
|
110299
110301
|
e2 = parseFloat(e2);
|
|
110300
110302
|
else
|
|
110301
110303
|
return e2;
|
|
@@ -110314,7 +110316,7 @@ const ft = {
|
|
|
110314
110316
|
}
|
|
110315
110317
|
}, Ls = {
|
|
110316
110318
|
borderRadius: {
|
|
110317
|
-
...
|
|
110319
|
+
...pt,
|
|
110318
110320
|
applyTo: [
|
|
110319
110321
|
"borderTopLeftRadius",
|
|
110320
110322
|
"borderTopRightRadius",
|
|
@@ -110322,25 +110324,25 @@ const ft = {
|
|
|
110322
110324
|
"borderBottomRightRadius"
|
|
110323
110325
|
]
|
|
110324
110326
|
},
|
|
110325
|
-
borderTopLeftRadius:
|
|
110326
|
-
borderTopRightRadius:
|
|
110327
|
-
borderBottomLeftRadius:
|
|
110328
|
-
borderBottomRightRadius:
|
|
110327
|
+
borderTopLeftRadius: pt,
|
|
110328
|
+
borderTopRightRadius: pt,
|
|
110329
|
+
borderBottomLeftRadius: pt,
|
|
110330
|
+
borderBottomRightRadius: pt,
|
|
110329
110331
|
boxShadow: Mu
|
|
110330
110332
|
};
|
|
110331
110333
|
function yo(e2, { layout: t2, layoutId: s2 }) {
|
|
110332
|
-
return
|
|
110334
|
+
return ot2.has(e2) || e2.startsWith("origin") || (t2 || s2 !== void 0) && (!!Ls[e2] || e2 === "opacity");
|
|
110333
110335
|
}
|
|
110334
110336
|
const Du = {
|
|
110335
110337
|
x: "translateX",
|
|
110336
110338
|
y: "translateY",
|
|
110337
110339
|
z: "translateZ",
|
|
110338
110340
|
transformPerspective: "perspective"
|
|
110339
|
-
}, Fu =
|
|
110341
|
+
}, Fu = it.length;
|
|
110340
110342
|
function Bu(e2, t2, s2) {
|
|
110341
110343
|
let n2 = "", r2 = true;
|
|
110342
110344
|
for (let i2 = 0; i2 < Fu; i2++) {
|
|
110343
|
-
const o2 =
|
|
110345
|
+
const o2 = it[i2], a2 = e2[o2];
|
|
110344
110346
|
if (a2 === void 0)
|
|
110345
110347
|
continue;
|
|
110346
110348
|
let c2 = true;
|
|
@@ -110356,12 +110358,12 @@ function Bu(e2, t2, s2) {
|
|
|
110356
110358
|
}
|
|
110357
110359
|
return n2 = n2.trim(), s2 ? n2 = s2(t2, r2 ? "" : n2) : r2 && (n2 = "none"), n2;
|
|
110358
110360
|
}
|
|
110359
|
-
function
|
|
110361
|
+
function Cn(e2, t2, s2) {
|
|
110360
110362
|
const { style: n2, vars: r2, transformOrigin: i2 } = e2;
|
|
110361
110363
|
let o2 = false, a2 = false;
|
|
110362
110364
|
for (const c2 in t2) {
|
|
110363
110365
|
const d2 = t2[c2];
|
|
110364
|
-
if (
|
|
110366
|
+
if (ot2.has(c2)) {
|
|
110365
110367
|
o2 = true;
|
|
110366
110368
|
continue;
|
|
110367
110369
|
} else if (Bi(c2)) {
|
|
@@ -110377,7 +110379,7 @@ function kn(e2, t2, s2) {
|
|
|
110377
110379
|
n2.transformOrigin = `${c2} ${d2} ${u4}`;
|
|
110378
110380
|
}
|
|
110379
110381
|
}
|
|
110380
|
-
const
|
|
110382
|
+
const kn = () => ({
|
|
110381
110383
|
style: {},
|
|
110382
110384
|
transform: {},
|
|
110383
110385
|
transformOrigin: {},
|
|
@@ -110389,8 +110391,8 @@ function xo(e2, t2, s2) {
|
|
|
110389
110391
|
}
|
|
110390
110392
|
function Lu({ transformTemplate: e2 }, t2) {
|
|
110391
110393
|
return useMemo$1(() => {
|
|
110392
|
-
const s2 =
|
|
110393
|
-
return
|
|
110394
|
+
const s2 = kn();
|
|
110395
|
+
return Cn(s2, t2, e2), Object.assign({}, s2.vars, s2.style);
|
|
110394
110396
|
}, [t2]);
|
|
110395
110397
|
}
|
|
110396
110398
|
function Ou(e2, t2) {
|
|
@@ -110411,8 +110413,8 @@ const _u = {
|
|
|
110411
110413
|
function Uu(e2, t2, s2 = 1, n2 = 0, r2 = true) {
|
|
110412
110414
|
e2.pathLength = 1;
|
|
110413
110415
|
const i2 = r2 ? _u : Wu;
|
|
110414
|
-
e2[i2.offset] =
|
|
110415
|
-
const o2 =
|
|
110416
|
+
e2[i2.offset] = k.transform(-n2);
|
|
110417
|
+
const o2 = k.transform(t2), a2 = k.transform(s2);
|
|
110416
110418
|
e2[i2.array] = `${o2} ${a2}`;
|
|
110417
110419
|
}
|
|
110418
110420
|
const qu = [
|
|
@@ -110431,7 +110433,7 @@ function vo(e2, {
|
|
|
110431
110433
|
// This is object creation, which we try to avoid per-frame.
|
|
110432
110434
|
...a2
|
|
110433
110435
|
}, c2, d2, u4) {
|
|
110434
|
-
if (
|
|
110436
|
+
if (Cn(e2, a2, d2), c2) {
|
|
110435
110437
|
e2.style.viewBox && (e2.attrs.viewBox = e2.style.viewBox);
|
|
110436
110438
|
return;
|
|
110437
110439
|
}
|
|
@@ -110443,7 +110445,7 @@ function vo(e2, {
|
|
|
110443
110445
|
t2 !== void 0 && (h3.x = t2), s2 !== void 0 && (h3.y = s2), n2 !== void 0 && (h3.scale = n2), r2 !== void 0 && Uu(h3, r2, i2, o2, false);
|
|
110444
110446
|
}
|
|
110445
110447
|
const bo = () => ({
|
|
110446
|
-
...
|
|
110448
|
+
...kn(),
|
|
110447
110449
|
attrs: {}
|
|
110448
110450
|
}), wo = (e2) => typeof e2 == "string" && e2.toLowerCase() === "svg";
|
|
110449
110451
|
function Ku(e2, t2, s2, n2) {
|
|
@@ -110553,19 +110555,19 @@ function Ju(e2, t2, s2, n2) {
|
|
|
110553
110555
|
if (h3 && typeof h3 != "boolean" && !$t(h3)) {
|
|
110554
110556
|
const p3 = Array.isArray(h3) ? h3 : [h3];
|
|
110555
110557
|
for (let m2 = 0; m2 < p3.length; m2++) {
|
|
110556
|
-
const
|
|
110557
|
-
if (
|
|
110558
|
-
const { transitionEnd: w2, transition: A2, ...g2 } =
|
|
110559
|
-
for (const
|
|
110560
|
-
let y3 = g2[
|
|
110558
|
+
const x2 = Sn(e2, p3[m2]);
|
|
110559
|
+
if (x2) {
|
|
110560
|
+
const { transitionEnd: w2, transition: A2, ...g2 } = x2;
|
|
110561
|
+
for (const v2 in g2) {
|
|
110562
|
+
let y3 = g2[v2];
|
|
110561
110563
|
if (Array.isArray(y3)) {
|
|
110562
|
-
const
|
|
110563
|
-
y3 = y3[
|
|
110564
|
+
const E2 = u4 ? y3.length - 1 : 0;
|
|
110565
|
+
y3 = y3[E2];
|
|
110564
110566
|
}
|
|
110565
|
-
y3 !== null && (r2[
|
|
110567
|
+
y3 !== null && (r2[v2] = y3);
|
|
110566
110568
|
}
|
|
110567
|
-
for (const
|
|
110568
|
-
r2[
|
|
110569
|
+
for (const v2 in w2)
|
|
110570
|
+
r2[v2] = w2[v2];
|
|
110569
110571
|
}
|
|
110570
110572
|
}
|
|
110571
110573
|
}
|
|
@@ -110583,19 +110585,19 @@ function Pn(e2, t2, s2) {
|
|
|
110583
110585
|
}
|
|
110584
110586
|
const Qu = /* @__PURE__ */ Ao({
|
|
110585
110587
|
scrapeMotionValuesFromProps: Pn,
|
|
110586
|
-
createRenderState:
|
|
110588
|
+
createRenderState: kn
|
|
110587
110589
|
});
|
|
110588
|
-
function
|
|
110590
|
+
function Co(e2, t2, s2) {
|
|
110589
110591
|
const n2 = Pn(e2, t2, s2);
|
|
110590
110592
|
for (const r2 in e2)
|
|
110591
110593
|
if (ne(e2[r2]) || ne(t2[r2])) {
|
|
110592
|
-
const i2 =
|
|
110594
|
+
const i2 = it.indexOf(r2) !== -1 ? "attr" + r2.charAt(0).toUpperCase() + r2.substring(1) : r2;
|
|
110593
110595
|
n2[i2] = e2[r2];
|
|
110594
110596
|
}
|
|
110595
110597
|
return n2;
|
|
110596
110598
|
}
|
|
110597
110599
|
const Hu = /* @__PURE__ */ Ao({
|
|
110598
|
-
scrapeMotionValuesFromProps:
|
|
110600
|
+
scrapeMotionValuesFromProps: Co,
|
|
110599
110601
|
createRenderState: bo
|
|
110600
110602
|
}), Xu = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
|
|
110601
110603
|
function Zu(e2, t2, s2) {
|
|
@@ -110615,8 +110617,8 @@ function Zu(e2, t2, s2) {
|
|
|
110615
110617
|
else o2 && (o2.current = i2);
|
|
110616
110618
|
}, [t2]);
|
|
110617
110619
|
}
|
|
110618
|
-
const
|
|
110619
|
-
function
|
|
110620
|
+
const En = (e2) => e2.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), $u = "framerAppearId", ko = "data-" + En($u), To = createContext({});
|
|
110621
|
+
function gt(e2) {
|
|
110620
110622
|
return e2 && typeof e2 == "object" && Object.prototype.hasOwnProperty.call(e2, "current");
|
|
110621
110623
|
}
|
|
110622
110624
|
function ed(e2, t2, s2, n2, r2, i2) {
|
|
@@ -110636,12 +110638,12 @@ function ed(e2, t2, s2, n2, r2, i2) {
|
|
|
110636
110638
|
useInsertionEffect(() => {
|
|
110637
110639
|
h3 && m2.current && h3.update(s2, c2);
|
|
110638
110640
|
});
|
|
110639
|
-
const
|
|
110641
|
+
const x2 = s2[ko], w2 = useRef(!!x2 && !window.MotionHandoffIsComplete?.(x2) && window.MotionHasOptimisedAnimation?.(x2));
|
|
110640
110642
|
return vi(() => {
|
|
110641
110643
|
h3 && (m2.current = true, window.MotionIsMounted = true, h3.updateFeatures(), h3.scheduleRenderMicrotask(), w2.current && h3.animationState && h3.animationState.animateChanges());
|
|
110642
110644
|
}), useEffect(() => {
|
|
110643
110645
|
h3 && (!w2.current && h3.animationState && h3.animationState.animateChanges(), w2.current && (queueMicrotask(() => {
|
|
110644
|
-
window.MotionHandoffMarkAsComplete?.(
|
|
110646
|
+
window.MotionHandoffMarkAsComplete?.(x2);
|
|
110645
110647
|
}), w2.current = false), h3.enteringChildren = void 0);
|
|
110646
110648
|
}), h3;
|
|
110647
110649
|
}
|
|
@@ -110650,7 +110652,7 @@ function td(e2, t2, s2, n2) {
|
|
|
110650
110652
|
e2.projection = new s2(e2.latestValues, t2["data-framer-portal-id"] ? void 0 : So(e2.parent)), e2.projection.setOptions({
|
|
110651
110653
|
layoutId: r2,
|
|
110652
110654
|
layout: i2,
|
|
110653
|
-
alwaysMeasureLayout: !!o2 || a2 &&
|
|
110655
|
+
alwaysMeasureLayout: !!o2 || a2 && gt(a2),
|
|
110654
110656
|
visualElement: e2,
|
|
110655
110657
|
/**
|
|
110656
110658
|
* TODO: Update options in an effect. This could be tricky as it'll be too late
|
|
@@ -110679,13 +110681,13 @@ function ps(e2, { forwardMotionProps: t2 = false, type: s2 } = {}, n2, r2) {
|
|
|
110679
110681
|
...useContext(bn),
|
|
110680
110682
|
...d2,
|
|
110681
110683
|
layoutId: sd(d2)
|
|
110682
|
-
}, { isStatic: m2 } = p3,
|
|
110684
|
+
}, { isStatic: m2 } = p3, x2 = Vu(d2), w2 = o2(d2, m2);
|
|
110683
110685
|
if (!m2 && Zs) {
|
|
110684
110686
|
nd(p3, n2);
|
|
110685
110687
|
const A2 = rd(p3);
|
|
110686
|
-
h3 = A2.MeasureLayout,
|
|
110688
|
+
h3 = A2.MeasureLayout, x2.visualElement = ed(e2, w2, p3, r2, A2.ProjectionNode, i2);
|
|
110687
110689
|
}
|
|
110688
|
-
return l2.jsxs(Zt.Provider, { value:
|
|
110690
|
+
return l2.jsxs(Zt.Provider, { value: x2, children: [h3 && x2.visualElement ? l2.jsx(h3, { visualElement: x2.visualElement, ...p3 }) : null, zu(e2, d2, Zu(w2, x2.visualElement, u4), w2, m2, t2, i2)] });
|
|
110689
110691
|
}
|
|
110690
110692
|
a2.displayName = `motion.${typeof e2 == "string" ? e2 : `create(${e2.displayName ?? e2.name ?? ""})`}`;
|
|
110691
110693
|
const c2 = forwardRef(a2);
|
|
@@ -110699,11 +110701,11 @@ function nd(e2, t2) {
|
|
|
110699
110701
|
const s2 = useContext(po).strict;
|
|
110700
110702
|
if (process.env.NODE_ENV !== "production" && t2 && s2) {
|
|
110701
110703
|
const n2 = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
110702
|
-
e2.ignoreStrict ?
|
|
110704
|
+
e2.ignoreStrict ? nt(false, n2, "lazy-strict-mode") : Se(false, n2, "lazy-strict-mode");
|
|
110703
110705
|
}
|
|
110704
110706
|
}
|
|
110705
110707
|
function rd(e2) {
|
|
110706
|
-
const { drag: t2, layout: s2 } =
|
|
110708
|
+
const { drag: t2, layout: s2 } = tt;
|
|
110707
110709
|
if (!t2 && !s2)
|
|
110708
110710
|
return {};
|
|
110709
110711
|
const n2 = { ...t2, ...s2 };
|
|
@@ -110751,10 +110753,10 @@ function ms(e2) {
|
|
|
110751
110753
|
function Os({ scale: e2, scaleX: t2, scaleY: s2 }) {
|
|
110752
110754
|
return !ms(e2) || !ms(t2) || !ms(s2);
|
|
110753
110755
|
}
|
|
110754
|
-
function
|
|
110755
|
-
return Os(e2) ||
|
|
110756
|
+
function Ie(e2) {
|
|
110757
|
+
return Os(e2) || Eo(e2) || e2.z || e2.rotate || e2.rotateX || e2.rotateY || e2.skewX || e2.skewY;
|
|
110756
110758
|
}
|
|
110757
|
-
function
|
|
110759
|
+
function Eo(e2) {
|
|
110758
110760
|
return wr(e2.x) || wr(e2.y);
|
|
110759
110761
|
}
|
|
110760
110762
|
function wr(e2) {
|
|
@@ -110770,10 +110772,10 @@ function Ar(e2, t2, s2, n2, r2) {
|
|
|
110770
110772
|
function Is(e2, t2 = 0, s2 = 1, n2, r2) {
|
|
110771
110773
|
e2.min = Ar(e2.min, t2, s2, n2, r2), e2.max = Ar(e2.max, t2, s2, n2, r2);
|
|
110772
110774
|
}
|
|
110773
|
-
function
|
|
110775
|
+
function jo(e2, { x: t2, y: s2 }) {
|
|
110774
110776
|
Is(e2.x, t2.translate, t2.scale, t2.originPoint), Is(e2.y, s2.translate, s2.scale, s2.originPoint);
|
|
110775
110777
|
}
|
|
110776
|
-
const
|
|
110778
|
+
const Cr = 0.999999999999, kr = 1.0000000000001;
|
|
110777
110779
|
function ld(e2, t2, s2, n2 = false) {
|
|
110778
110780
|
const r2 = s2.length;
|
|
110779
110781
|
if (!r2)
|
|
@@ -110786,9 +110788,9 @@ function ld(e2, t2, s2, n2 = false) {
|
|
|
110786
110788
|
c2 && c2.props.style && c2.props.style.display === "contents" || (n2 && i2.options.layoutScroll && i2.scroll && i2 !== i2.root && He(e2, {
|
|
110787
110789
|
x: -i2.scroll.offset.x,
|
|
110788
110790
|
y: -i2.scroll.offset.y
|
|
110789
|
-
}), o2 && (t2.x *= o2.x.scale, t2.y *= o2.y.scale,
|
|
110791
|
+
}), o2 && (t2.x *= o2.x.scale, t2.y *= o2.y.scale, jo(e2, o2)), n2 && Ie(i2.latestValues) && He(e2, i2.latestValues));
|
|
110790
110792
|
}
|
|
110791
|
-
t2.x <
|
|
110793
|
+
t2.x < kr && t2.x > Cr && (t2.x = 1), t2.y < kr && t2.y > Cr && (t2.y = 1);
|
|
110792
110794
|
}
|
|
110793
110795
|
function Qe(e2, t2) {
|
|
110794
110796
|
e2.min = e2.min + t2, e2.max = e2.max + t2;
|
|
@@ -110834,21 +110836,21 @@ function hd(e2, t2, s2) {
|
|
|
110834
110836
|
if (ne(r2))
|
|
110835
110837
|
e2.addValue(n2, r2);
|
|
110836
110838
|
else if (ne(i2))
|
|
110837
|
-
e2.addValue(n2,
|
|
110839
|
+
e2.addValue(n2, et2(r2, { owner: e2 }));
|
|
110838
110840
|
else if (i2 !== r2)
|
|
110839
110841
|
if (e2.hasValue(n2)) {
|
|
110840
110842
|
const o2 = e2.getValue(n2);
|
|
110841
110843
|
o2.liveStyle === true ? o2.jump(r2) : o2.hasAnimated || o2.set(r2);
|
|
110842
110844
|
} else {
|
|
110843
110845
|
const o2 = e2.getStaticValue(n2);
|
|
110844
|
-
e2.addValue(n2,
|
|
110846
|
+
e2.addValue(n2, et2(o2 !== void 0 ? o2 : r2, { owner: e2 }));
|
|
110845
110847
|
}
|
|
110846
110848
|
}
|
|
110847
110849
|
for (const n2 in s2)
|
|
110848
110850
|
t2[n2] === void 0 && e2.removeValue(n2);
|
|
110849
110851
|
return t2;
|
|
110850
110852
|
}
|
|
110851
|
-
const
|
|
110853
|
+
const Er = [
|
|
110852
110854
|
"AnimationStart",
|
|
110853
110855
|
"AnimationComplete",
|
|
110854
110856
|
"Update",
|
|
@@ -110904,7 +110906,7 @@ class fd {
|
|
|
110904
110906
|
}
|
|
110905
110907
|
bindToMotionValue(t2, s2) {
|
|
110906
110908
|
this.valueSubscriptions.has(t2) && this.valueSubscriptions.get(t2)();
|
|
110907
|
-
const n2 =
|
|
110909
|
+
const n2 = ot2.has(t2);
|
|
110908
110910
|
n2 && this.onBindTransform && this.onBindTransform();
|
|
110909
110911
|
const r2 = s2.on("change", (o2) => {
|
|
110910
110912
|
this.latestValues[t2] = o2, this.props.onUpdate && W.preRender(this.notifyUpdate), n2 && this.projection && (this.projection.isTransformDirty = true), this.scheduleRender();
|
|
@@ -110919,8 +110921,8 @@ class fd {
|
|
|
110919
110921
|
}
|
|
110920
110922
|
updateFeatures() {
|
|
110921
110923
|
let t2 = "animation";
|
|
110922
|
-
for (t2 in
|
|
110923
|
-
const s2 =
|
|
110924
|
+
for (t2 in tt) {
|
|
110925
|
+
const s2 = tt[t2];
|
|
110924
110926
|
if (!s2)
|
|
110925
110927
|
continue;
|
|
110926
110928
|
const { isEnabled: n2, Feature: r2 } = s2;
|
|
@@ -110953,8 +110955,8 @@ class fd {
|
|
|
110953
110955
|
*/
|
|
110954
110956
|
update(t2, s2) {
|
|
110955
110957
|
(t2.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t2, this.prevPresenceContext = this.presenceContext, this.presenceContext = s2;
|
|
110956
|
-
for (let n2 = 0; n2 <
|
|
110957
|
-
const r2 =
|
|
110958
|
+
for (let n2 = 0; n2 < Er.length; n2++) {
|
|
110959
|
+
const r2 = Er[n2];
|
|
110958
110960
|
this.propEventSubscriptions[r2] && (this.propEventSubscriptions[r2](), delete this.propEventSubscriptions[r2]);
|
|
110959
110961
|
const i2 = "on" + r2, o2 = t2[i2];
|
|
110960
110962
|
o2 && (this.propEventSubscriptions[r2] = this.on(r2, o2));
|
|
@@ -111015,7 +111017,7 @@ class fd {
|
|
|
111015
111017
|
if (this.props.values && this.props.values[t2])
|
|
111016
111018
|
return this.props.values[t2];
|
|
111017
111019
|
let n2 = this.values.get(t2);
|
|
111018
|
-
return n2 === void 0 && s2 !== void 0 && (n2 =
|
|
111020
|
+
return n2 === void 0 && s2 !== void 0 && (n2 = et2(s2 === null ? void 0 : s2, { owner: this }), this.addValue(t2, n2)), n2;
|
|
111019
111021
|
}
|
|
111020
111022
|
/**
|
|
111021
111023
|
* If we're trying to animate to a previously unencountered value,
|
|
@@ -111097,7 +111099,7 @@ class md extends Vo {
|
|
|
111097
111099
|
super(...arguments), this.type = "html", this.renderInstance = Mo;
|
|
111098
111100
|
}
|
|
111099
111101
|
readValueFromInstance(t2, s2) {
|
|
111100
|
-
if (
|
|
111102
|
+
if (ot2.has(s2))
|
|
111101
111103
|
return this.projection?.isProjecting ? Rs(s2) : Sc(t2, s2);
|
|
111102
111104
|
{
|
|
111103
111105
|
const n2 = pd(t2), r2 = (Bi(s2) ? n2.getPropertyValue(s2) : n2[s2]) || 0;
|
|
@@ -111108,7 +111110,7 @@ class md extends Vo {
|
|
|
111108
111110
|
return Ro(t2, s2);
|
|
111109
111111
|
}
|
|
111110
111112
|
build(t2, s2, n2) {
|
|
111111
|
-
|
|
111113
|
+
Cn(t2, s2, n2.transformTemplate);
|
|
111112
111114
|
}
|
|
111113
111115
|
scrapeMotionValuesFromProps(t2, s2, n2) {
|
|
111114
111116
|
return Pn(t2, s2, n2);
|
|
@@ -111142,7 +111144,7 @@ const Do = /* @__PURE__ */ new Set([
|
|
|
111142
111144
|
function gd(e2, t2, s2, n2) {
|
|
111143
111145
|
Mo(e2, t2, void 0, n2);
|
|
111144
111146
|
for (const r2 in t2.attrs)
|
|
111145
|
-
e2.setAttribute(Do.has(r2) ? r2 :
|
|
111147
|
+
e2.setAttribute(Do.has(r2) ? r2 : En(r2), t2.attrs[r2]);
|
|
111146
111148
|
}
|
|
111147
111149
|
class yd extends Vo {
|
|
111148
111150
|
constructor() {
|
|
@@ -111152,14 +111154,14 @@ class yd extends Vo {
|
|
|
111152
111154
|
return t2[s2];
|
|
111153
111155
|
}
|
|
111154
111156
|
readValueFromInstance(t2, s2) {
|
|
111155
|
-
if (
|
|
111157
|
+
if (ot2.has(s2)) {
|
|
111156
111158
|
const n2 = no(s2);
|
|
111157
111159
|
return n2 && n2.default || 0;
|
|
111158
111160
|
}
|
|
111159
|
-
return s2 = Do.has(s2) ? s2 :
|
|
111161
|
+
return s2 = Do.has(s2) ? s2 : En(s2), t2.getAttribute(s2);
|
|
111160
111162
|
}
|
|
111161
111163
|
scrapeMotionValuesFromProps(t2, s2, n2) {
|
|
111162
|
-
return
|
|
111164
|
+
return Co(t2, s2, n2);
|
|
111163
111165
|
}
|
|
111164
111166
|
build(t2, s2, n2) {
|
|
111165
111167
|
vo(t2, s2, this.isSVGTag, n2.transformTemplate, n2.style);
|
|
@@ -111180,7 +111182,7 @@ function Ze(e2, t2, s2) {
|
|
|
111180
111182
|
}
|
|
111181
111183
|
const Ws = (e2) => Array.isArray(e2);
|
|
111182
111184
|
function vd(e2, t2, s2) {
|
|
111183
|
-
e2.hasValue(t2) ? e2.getValue(t2).set(s2) : e2.addValue(t2,
|
|
111185
|
+
e2.hasValue(t2) ? e2.getValue(t2).set(s2) : e2.addValue(t2, et2(s2));
|
|
111184
111186
|
}
|
|
111185
111187
|
function bd(e2) {
|
|
111186
111188
|
return Ws(e2) ? e2[e2.length - 1] || 0 : e2;
|
|
@@ -111207,11 +111209,11 @@ function Us(e2, t2) {
|
|
|
111207
111209
|
}
|
|
111208
111210
|
}
|
|
111209
111211
|
function Fo(e2) {
|
|
111210
|
-
return e2.props[
|
|
111212
|
+
return e2.props[ko];
|
|
111211
111213
|
}
|
|
111212
|
-
const
|
|
111213
|
-
function
|
|
111214
|
-
const r2 = e2.filter(
|
|
111214
|
+
const Cd = (e2) => e2 !== null;
|
|
111215
|
+
function kd(e2, { repeat: t2, repeatType: s2 = "loop" }, n2) {
|
|
111216
|
+
const r2 = e2.filter(Cd), i2 = t2 && s2 !== "loop" && t2 % 2 === 1 ? 0 : r2.length - 1;
|
|
111215
111217
|
return r2[i2];
|
|
111216
111218
|
}
|
|
111217
111219
|
const Td = {
|
|
@@ -111227,15 +111229,15 @@ const Td = {
|
|
|
111227
111229
|
}), Pd = {
|
|
111228
111230
|
type: "keyframes",
|
|
111229
111231
|
duration: 0.8
|
|
111230
|
-
},
|
|
111232
|
+
}, Ed = {
|
|
111231
111233
|
type: "keyframes",
|
|
111232
111234
|
ease: [0.25, 0.1, 0.35, 1],
|
|
111233
111235
|
duration: 0.3
|
|
111234
|
-
},
|
|
111236
|
+
}, jd = (e2, { keyframes: t2 }) => t2.length > 2 ? Pd : ot2.has(e2) ? e2.startsWith("scale") ? Sd(t2[1]) : Td : Ed;
|
|
111235
111237
|
function Rd({ when: e2, delay: t2, delayChildren: s2, staggerChildren: n2, staggerDirection: r2, repeat: i2, repeatType: o2, repeatDelay: a2, from: c2, elapsed: d2, ...u4 }) {
|
|
111236
111238
|
return !!Object.keys(u4).length;
|
|
111237
111239
|
}
|
|
111238
|
-
const
|
|
111240
|
+
const jn = (e2, t2, s2, n2 = {}, r2, i2) => (o2) => {
|
|
111239
111241
|
const a2 = gn(n2, e2) || {}, c2 = a2.delay || n2.delay || 0;
|
|
111240
111242
|
let { elapsed: d2 = 0 } = n2;
|
|
111241
111243
|
d2 = d2 - /* @__PURE__ */ we(c2);
|
|
@@ -111255,10 +111257,10 @@ const En = (e2, t2, s2, n2 = {}, r2, i2) => (o2) => {
|
|
|
111255
111257
|
motionValue: t2,
|
|
111256
111258
|
element: i2 ? void 0 : r2
|
|
111257
111259
|
};
|
|
111258
|
-
Rd(a2) || Object.assign(u4,
|
|
111260
|
+
Rd(a2) || Object.assign(u4, jd(e2, u4)), u4.duration && (u4.duration = /* @__PURE__ */ we(u4.duration)), u4.repeatDelay && (u4.repeatDelay = /* @__PURE__ */ we(u4.repeatDelay)), u4.from !== void 0 && (u4.keyframes[0] = u4.from);
|
|
111259
111261
|
let h3 = false;
|
|
111260
111262
|
if ((u4.type === false || u4.duration === 0 && !u4.repeatDelay) && (Fs(u4), u4.delay === 0 && (h3 = true)), (Pe.instantAnimations || Pe.skipAnimations) && (h3 = true, Fs(u4), u4.delay = 0), u4.allowFlatten = !a2.type && !a2.ease, h3 && !i2 && t2.get() !== void 0) {
|
|
111261
|
-
const p3 =
|
|
111263
|
+
const p3 = kd(u4.keyframes, a2);
|
|
111262
111264
|
if (p3 !== void 0) {
|
|
111263
111265
|
W.update(() => {
|
|
111264
111266
|
u4.onUpdate(p3), u4.onComplete();
|
|
@@ -111283,18 +111285,18 @@ function Bo(e2, t2, { delay: s2 = 0, transitionOverride: n2, type: r2 } = {}) {
|
|
|
111283
111285
|
const m2 = {
|
|
111284
111286
|
delay: s2,
|
|
111285
111287
|
...gn(i2 || {}, u4)
|
|
111286
|
-
},
|
|
111287
|
-
if (
|
|
111288
|
+
}, x2 = h3.get();
|
|
111289
|
+
if (x2 !== void 0 && !h3.isAnimating && !Array.isArray(p3) && p3 === x2 && !m2.velocity)
|
|
111288
111290
|
continue;
|
|
111289
111291
|
let w2 = false;
|
|
111290
111292
|
if (window.MotionHandoffAnimation) {
|
|
111291
111293
|
const g2 = Fo(e2);
|
|
111292
111294
|
if (g2) {
|
|
111293
|
-
const
|
|
111294
|
-
|
|
111295
|
+
const v2 = window.MotionHandoffAnimation(g2, u4, W);
|
|
111296
|
+
v2 !== null && (m2.startTime = v2, w2 = true);
|
|
111295
111297
|
}
|
|
111296
111298
|
}
|
|
111297
|
-
Us(e2, u4), h3.start(
|
|
111299
|
+
Us(e2, u4), h3.start(jn(u4, h3, p3, e2.shouldReduceMotion && eo.has(u4) ? { type: false } : m2, e2, w2));
|
|
111298
111300
|
const A2 = h3.animation;
|
|
111299
111301
|
A2 && c2.push(A2);
|
|
111300
111302
|
}
|
|
@@ -111369,7 +111371,7 @@ function Io(e2) {
|
|
|
111369
111371
|
const t2 = {};
|
|
111370
111372
|
for (let s2 = 0; s2 < Dd; s2++) {
|
|
111371
111373
|
const n2 = An[s2], r2 = e2.props[n2];
|
|
111372
|
-
(
|
|
111374
|
+
(Ct(r2) || r2 === false) && (t2[n2] = r2);
|
|
111373
111375
|
}
|
|
111374
111376
|
return t2;
|
|
111375
111377
|
}
|
|
@@ -111378,12 +111380,12 @@ function Ld(e2) {
|
|
|
111378
111380
|
return (t2) => Promise.all(t2.map(({ animation: s2, options: n2 }) => Md(e2, s2, n2)));
|
|
111379
111381
|
}
|
|
111380
111382
|
function Od(e2) {
|
|
111381
|
-
let t2 = Ld(e2), s2 =
|
|
111383
|
+
let t2 = Ld(e2), s2 = jr(), n2 = true;
|
|
111382
111384
|
const r2 = (c2) => (d2, u4) => {
|
|
111383
111385
|
const h3 = Ze(e2, u4, c2 === "exit" ? e2.presenceContext?.custom : void 0);
|
|
111384
111386
|
if (h3) {
|
|
111385
|
-
const { transition: p3, transitionEnd: m2, ...
|
|
111386
|
-
d2 = { ...d2, ...
|
|
111387
|
+
const { transition: p3, transitionEnd: m2, ...x2 } = h3;
|
|
111388
|
+
d2 = { ...d2, ...x2, ...m2 };
|
|
111387
111389
|
}
|
|
111388
111390
|
return d2;
|
|
111389
111391
|
};
|
|
@@ -111392,28 +111394,28 @@ function Od(e2) {
|
|
|
111392
111394
|
}
|
|
111393
111395
|
function o2(c2) {
|
|
111394
111396
|
const { props: d2 } = e2, u4 = Io(e2.parent) || {}, h3 = [], p3 = /* @__PURE__ */ new Set();
|
|
111395
|
-
let m2 = {},
|
|
111397
|
+
let m2 = {}, x2 = 1 / 0;
|
|
111396
111398
|
for (let A2 = 0; A2 < Bd; A2++) {
|
|
111397
|
-
const g2 = Fd[A2],
|
|
111398
|
-
P3 === false && (
|
|
111399
|
-
let V2 = y3 === u4[g2] && y3 !== d2[g2] &&
|
|
111400
|
-
if (V2 && n2 && e2.manuallyAnimateOnMount && (V2 = false),
|
|
111401
|
-
!
|
|
111402
|
-
!y3 && !
|
|
111399
|
+
const g2 = Fd[A2], v2 = s2[g2], y3 = d2[g2] !== void 0 ? d2[g2] : u4[g2], E2 = Ct(y3), P3 = g2 === c2 ? v2.isActive : null;
|
|
111400
|
+
P3 === false && (x2 = A2);
|
|
111401
|
+
let V2 = y3 === u4[g2] && y3 !== d2[g2] && E2;
|
|
111402
|
+
if (V2 && n2 && e2.manuallyAnimateOnMount && (V2 = false), v2.protectedKeys = { ...m2 }, // If it isn't active and hasn't *just* been set as inactive
|
|
111403
|
+
!v2.isActive && P3 === null || // If we didn't and don't have any defined prop for this animation type
|
|
111404
|
+
!y3 && !v2.prevProp || // Or if the prop doesn't define an animation
|
|
111403
111405
|
$t(y3) || typeof y3 == "boolean")
|
|
111404
111406
|
continue;
|
|
111405
|
-
const S3 = Id(
|
|
111407
|
+
const S3 = Id(v2.prevProp, y3);
|
|
111406
111408
|
let T2 = S3 || // If we're making this variant active, we want to always make it active
|
|
111407
|
-
g2 === c2 &&
|
|
111408
|
-
A2 >
|
|
111409
|
-
const
|
|
111410
|
-
let Q2 =
|
|
111409
|
+
g2 === c2 && v2.isActive && !V2 && E2 || // If we removed a higher-priority variant (i is in reverse order)
|
|
111410
|
+
A2 > x2 && E2, M2 = false;
|
|
111411
|
+
const I2 = Array.isArray(y3) ? y3 : [y3];
|
|
111412
|
+
let Q2 = I2.reduce(r2(g2), {});
|
|
111411
111413
|
P3 === false && (Q2 = {});
|
|
111412
|
-
const { prevResolvedValues: H2 = {} } =
|
|
111414
|
+
const { prevResolvedValues: H2 = {} } = v2, ce2 = {
|
|
111413
111415
|
...H2,
|
|
111414
111416
|
...Q2
|
|
111415
111417
|
}, X2 = (B3) => {
|
|
111416
|
-
T2 = true, p3.has(B3) && (
|
|
111418
|
+
T2 = true, p3.has(B3) && (M2 = true, p3.delete(B3)), v2.needsAnimating[B3] = true;
|
|
111417
111419
|
const L2 = e2.getValue(B3);
|
|
111418
111420
|
L2 && (L2.liveStyle = false);
|
|
111419
111421
|
};
|
|
@@ -111422,11 +111424,11 @@ function Od(e2) {
|
|
|
111422
111424
|
if (m2.hasOwnProperty(B3))
|
|
111423
111425
|
continue;
|
|
111424
111426
|
let z2 = false;
|
|
111425
|
-
Ws(L2) && Ws(U2) ? z2 = !Oo(L2, U2) : z2 = L2 !== U2, z2 ? L2 != null ? X2(B3) : p3.add(B3) : L2 !== void 0 && p3.has(B3) ? X2(B3) :
|
|
111427
|
+
Ws(L2) && Ws(U2) ? z2 = !Oo(L2, U2) : z2 = L2 !== U2, z2 ? L2 != null ? X2(B3) : p3.add(B3) : L2 !== void 0 && p3.has(B3) ? X2(B3) : v2.protectedKeys[B3] = true;
|
|
111426
111428
|
}
|
|
111427
|
-
|
|
111429
|
+
v2.prevProp = y3, v2.prevResolvedValues = Q2, v2.isActive && (m2 = { ...m2, ...Q2 }), n2 && e2.blockInitialAnimation && (T2 = false);
|
|
111428
111430
|
const de2 = V2 && S3;
|
|
111429
|
-
T2 && (!de2 ||
|
|
111431
|
+
T2 && (!de2 || M2) && h3.push(...I2.map((B3) => {
|
|
111430
111432
|
const L2 = { type: g2 };
|
|
111431
111433
|
if (typeof B3 == "string" && n2 && !de2 && e2.manuallyAnimateOnMount && e2.parent) {
|
|
111432
111434
|
const { parent: U2 } = e2, z2 = Ze(U2, B3);
|
|
@@ -111448,8 +111450,8 @@ function Od(e2) {
|
|
|
111448
111450
|
g2 && g2.transition && (A2.transition = g2.transition);
|
|
111449
111451
|
}
|
|
111450
111452
|
p3.forEach((g2) => {
|
|
111451
|
-
const
|
|
111452
|
-
y3 && (y3.liveStyle = true), A2[g2] =
|
|
111453
|
+
const v2 = e2.getBaseTarget(g2), y3 = e2.getValue(g2);
|
|
111454
|
+
y3 && (y3.liveStyle = true), A2[g2] = v2 ?? null;
|
|
111453
111455
|
}), h3.push({ animation: A2 });
|
|
111454
111456
|
}
|
|
111455
111457
|
let w2 = !!h3.length;
|
|
@@ -111470,14 +111472,14 @@ function Od(e2) {
|
|
|
111470
111472
|
setAnimateFunction: i2,
|
|
111471
111473
|
getState: () => s2,
|
|
111472
111474
|
reset: () => {
|
|
111473
|
-
s2 =
|
|
111475
|
+
s2 = jr();
|
|
111474
111476
|
}
|
|
111475
111477
|
};
|
|
111476
111478
|
}
|
|
111477
111479
|
function Id(e2, t2) {
|
|
111478
111480
|
return typeof t2 == "string" ? t2 !== e2 : Array.isArray(t2) ? !Oo(t2, e2) : false;
|
|
111479
111481
|
}
|
|
111480
|
-
function
|
|
111482
|
+
function Oe(e2 = false) {
|
|
111481
111483
|
return {
|
|
111482
111484
|
isActive: e2,
|
|
111483
111485
|
protectedKeys: {},
|
|
@@ -111485,15 +111487,15 @@ function Le(e2 = false) {
|
|
|
111485
111487
|
prevResolvedValues: {}
|
|
111486
111488
|
};
|
|
111487
111489
|
}
|
|
111488
|
-
function
|
|
111490
|
+
function jr() {
|
|
111489
111491
|
return {
|
|
111490
|
-
animate:
|
|
111491
|
-
whileInView:
|
|
111492
|
-
whileHover:
|
|
111493
|
-
whileTap:
|
|
111494
|
-
whileDrag:
|
|
111495
|
-
whileFocus:
|
|
111496
|
-
exit:
|
|
111492
|
+
animate: Oe(true),
|
|
111493
|
+
whileInView: Oe(),
|
|
111494
|
+
whileHover: Oe(),
|
|
111495
|
+
whileTap: Oe(),
|
|
111496
|
+
whileDrag: Oe(),
|
|
111497
|
+
whileFocus: Oe(),
|
|
111498
|
+
exit: Oe()
|
|
111497
111499
|
};
|
|
111498
111500
|
}
|
|
111499
111501
|
class Fe {
|
|
@@ -111561,10 +111563,10 @@ const qd = {
|
|
|
111561
111563
|
Feature: Ud
|
|
111562
111564
|
}
|
|
111563
111565
|
};
|
|
111564
|
-
function
|
|
111566
|
+
function kt(e2, t2, s2, n2 = { passive: true }) {
|
|
111565
111567
|
return e2.addEventListener(t2, s2, n2), () => e2.removeEventListener(t2, s2);
|
|
111566
111568
|
}
|
|
111567
|
-
function
|
|
111569
|
+
function Et(e2) {
|
|
111568
111570
|
return {
|
|
111569
111571
|
point: {
|
|
111570
111572
|
x: e2.pageX,
|
|
@@ -111572,9 +111574,9 @@ function jt(e2) {
|
|
|
111572
111574
|
}
|
|
111573
111575
|
};
|
|
111574
111576
|
}
|
|
111575
|
-
const Kd = (e2) => (t2) => vn(t2) && e2(t2,
|
|
111576
|
-
function
|
|
111577
|
-
return
|
|
111577
|
+
const Kd = (e2) => (t2) => vn(t2) && e2(t2, Et(t2));
|
|
111578
|
+
function xt(e2, t2, s2, n2) {
|
|
111579
|
+
return kt(e2, t2, Kd(s2), n2);
|
|
111578
111580
|
}
|
|
111579
111581
|
const _o = 1e-4, Yd = 1 - _o, zd = 1 + _o, Wo = 0.01, Gd = 0 - Wo, Jd = 0 + Wo;
|
|
111580
111582
|
function le(e2) {
|
|
@@ -111586,7 +111588,7 @@ function Qd(e2, t2, s2) {
|
|
|
111586
111588
|
function Rr(e2, t2, s2, n2 = 0.5) {
|
|
111587
111589
|
e2.origin = n2, e2.originPoint = K(t2.min, t2.max, e2.origin), e2.scale = le(s2) / le(t2), e2.translate = K(s2.min, s2.max, e2.origin) - e2.originPoint, (e2.scale >= Yd && e2.scale <= zd || isNaN(e2.scale)) && (e2.scale = 1), (e2.translate >= Gd && e2.translate <= Jd || isNaN(e2.translate)) && (e2.translate = 0);
|
|
111588
111590
|
}
|
|
111589
|
-
function
|
|
111591
|
+
function vt(e2, t2, s2, n2) {
|
|
111590
111592
|
Rr(e2.x, t2.x, s2.x, n2 ? n2.originX : void 0), Rr(e2.y, t2.y, s2.y, n2 ? n2.originY : void 0);
|
|
111591
111593
|
}
|
|
111592
111594
|
function Nr(e2, t2, s2) {
|
|
@@ -111601,7 +111603,7 @@ function Vr(e2, t2, s2) {
|
|
|
111601
111603
|
function Jt(e2, t2, s2) {
|
|
111602
111604
|
Vr(e2.x, t2.x, s2.x), Vr(e2.y, t2.y, s2.y);
|
|
111603
111605
|
}
|
|
111604
|
-
function
|
|
111606
|
+
function pe(e2) {
|
|
111605
111607
|
return [e2("x"), e2("y")];
|
|
111606
111608
|
}
|
|
111607
111609
|
const Uo = ({ current: e2 }) => e2 ? e2.ownerDocument.defaultView : null, Mr = (e2, t2) => Math.abs(e2 - t2);
|
|
@@ -111619,29 +111621,29 @@ class qo {
|
|
|
111619
111621
|
}, this.updatePoint = () => {
|
|
111620
111622
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
111621
111623
|
return;
|
|
111622
|
-
const m2 = ys(this.lastMoveEventInfo, this.history),
|
|
111623
|
-
if (!
|
|
111624
|
+
const m2 = ys(this.lastMoveEventInfo, this.history), x2 = this.startEvent !== null, w2 = Xd(m2.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
111625
|
+
if (!x2 && !w2)
|
|
111624
111626
|
return;
|
|
111625
111627
|
const { point: A2 } = m2, { timestamp: g2 } = te;
|
|
111626
111628
|
this.history.push({ ...A2, timestamp: g2 });
|
|
111627
|
-
const { onStart:
|
|
111628
|
-
|
|
111629
|
-
}, this.handlePointerMove = (m2,
|
|
111630
|
-
this.lastMoveEvent = m2, this.lastMoveEventInfo = gs(
|
|
111631
|
-
}, this.handlePointerUp = (m2,
|
|
111629
|
+
const { onStart: v2, onMove: y3 } = this.handlers;
|
|
111630
|
+
x2 || (v2 && v2(this.lastMoveEvent, m2), this.startEvent = this.lastMoveEvent), y3 && y3(this.lastMoveEvent, m2);
|
|
111631
|
+
}, this.handlePointerMove = (m2, x2) => {
|
|
111632
|
+
this.lastMoveEvent = m2, this.lastMoveEventInfo = gs(x2, this.transformPagePoint), W.update(this.updatePoint, true);
|
|
111633
|
+
}, this.handlePointerUp = (m2, x2) => {
|
|
111632
111634
|
this.end();
|
|
111633
111635
|
const { onEnd: w2, onSessionEnd: A2, resumeAnimation: g2 } = this.handlers;
|
|
111634
111636
|
if ((this.dragSnapToOrigin || !this.startEvent) && g2 && g2(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
111635
111637
|
return;
|
|
111636
|
-
const
|
|
111637
|
-
this.startEvent && w2 && w2(m2,
|
|
111638
|
+
const v2 = ys(m2.type === "pointercancel" ? this.lastMoveEventInfo : gs(x2, this.transformPagePoint), this.history);
|
|
111639
|
+
this.startEvent && w2 && w2(m2, v2), A2 && A2(m2, v2);
|
|
111638
111640
|
}, !vn(t2))
|
|
111639
111641
|
return;
|
|
111640
111642
|
this.dragSnapToOrigin = i2, this.handlers = s2, this.transformPagePoint = n2, this.distanceThreshold = o2, this.contextWindow = r2 || window;
|
|
111641
|
-
const c2 =
|
|
111643
|
+
const c2 = Et(t2), d2 = gs(c2, this.transformPagePoint), { point: u4 } = d2, { timestamp: h3 } = te;
|
|
111642
111644
|
this.history = [{ ...u4, timestamp: h3 }];
|
|
111643
111645
|
const { onSessionStart: p3 } = s2;
|
|
111644
|
-
p3 && p3(t2, ys(d2, this.history)), this.removeListeners = Tt(
|
|
111646
|
+
p3 && p3(t2, ys(d2, this.history)), this.removeListeners = Tt(xt(this.contextWindow, "pointermove", this.handlePointerMove), xt(this.contextWindow, "pointerup", this.handlePointerUp), xt(this.contextWindow, "pointercancel", this.handlePointerUp)), a2 && this.startScrollTracking(a2);
|
|
111645
111647
|
}
|
|
111646
111648
|
/**
|
|
111647
111649
|
* Start tracking scroll on ancestors and window.
|
|
@@ -111721,7 +111723,7 @@ function $d(e2, t2) {
|
|
|
111721
111723
|
s2--;
|
|
111722
111724
|
if (!n2)
|
|
111723
111725
|
return { x: 0, y: 0 };
|
|
111724
|
-
const i2 = /* @__PURE__ */
|
|
111726
|
+
const i2 = /* @__PURE__ */ me(r2.timestamp - n2.timestamp);
|
|
111725
111727
|
if (i2 === 0)
|
|
111726
111728
|
return { x: 0, y: 0 };
|
|
111727
111729
|
const o2 = {
|
|
@@ -111758,7 +111760,7 @@ function sh(e2, t2) {
|
|
|
111758
111760
|
function nh(e2, t2) {
|
|
111759
111761
|
let s2 = 0.5;
|
|
111760
111762
|
const n2 = le(e2), r2 = le(t2);
|
|
111761
|
-
return r2 > n2 ? s2 = /* @__PURE__ */ bt(t2.min, t2.max - n2, e2.min) : n2 > r2 && (s2 = /* @__PURE__ */ bt(e2.min, e2.max - r2, t2.min)),
|
|
111763
|
+
return r2 > n2 ? s2 = /* @__PURE__ */ bt(t2.min, t2.max - n2, e2.min) : n2 > r2 && (s2 = /* @__PURE__ */ bt(e2.min, e2.max - r2, t2.min)), Ce(0, 1, s2);
|
|
111762
111764
|
}
|
|
111763
111765
|
function rh(e2, t2) {
|
|
111764
111766
|
const s2 = {};
|
|
@@ -111790,39 +111792,39 @@ class ah {
|
|
|
111790
111792
|
if (r2 && r2.isPresent === false)
|
|
111791
111793
|
return;
|
|
111792
111794
|
const i2 = (h3) => {
|
|
111793
|
-
s2 ? (this.stopAnimation(), this.snapToCursor(
|
|
111795
|
+
s2 ? (this.stopAnimation(), this.snapToCursor(Et(h3).point)) : this.pauseAnimation();
|
|
111794
111796
|
}, o2 = (h3, p3) => {
|
|
111795
111797
|
this.stopAnimation();
|
|
111796
|
-
const { drag: m2, dragPropagation:
|
|
111797
|
-
if (m2 && !
|
|
111798
|
+
const { drag: m2, dragPropagation: x2, onDragStart: w2 } = this.getProps();
|
|
111799
|
+
if (m2 && !x2 && (this.openDragLock && this.openDragLock(), this.openDragLock = hu(m2), !this.openDragLock))
|
|
111798
111800
|
return;
|
|
111799
|
-
this.latestPointerEvent = h3, this.latestPanInfo = p3, this.isDragging = true, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = true, this.visualElement.projection.target = void 0),
|
|
111800
|
-
let
|
|
111801
|
-
if (Ae.test(
|
|
111801
|
+
this.latestPointerEvent = h3, this.latestPanInfo = p3, this.isDragging = true, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = true, this.visualElement.projection.target = void 0), pe((g2) => {
|
|
111802
|
+
let v2 = this.getAxisMotionValue(g2).get() || 0;
|
|
111803
|
+
if (Ae.test(v2)) {
|
|
111802
111804
|
const { projection: y3 } = this.visualElement;
|
|
111803
111805
|
if (y3 && y3.layout) {
|
|
111804
|
-
const
|
|
111805
|
-
|
|
111806
|
+
const E2 = y3.layout.layoutBox[g2];
|
|
111807
|
+
E2 && (v2 = le(E2) * (parseFloat(v2) / 100));
|
|
111806
111808
|
}
|
|
111807
111809
|
}
|
|
111808
|
-
this.originPoint[g2] =
|
|
111810
|
+
this.originPoint[g2] = v2;
|
|
111809
111811
|
}), w2 && W.postRender(() => w2(h3, p3)), Us(this.visualElement, "transform");
|
|
111810
111812
|
const { animationState: A2 } = this.visualElement;
|
|
111811
111813
|
A2 && A2.setActive("whileDrag", true);
|
|
111812
111814
|
}, a2 = (h3, p3) => {
|
|
111813
111815
|
this.latestPointerEvent = h3, this.latestPanInfo = p3;
|
|
111814
|
-
const { dragPropagation: m2, dragDirectionLock:
|
|
111816
|
+
const { dragPropagation: m2, dragDirectionLock: x2, onDirectionLock: w2, onDrag: A2 } = this.getProps();
|
|
111815
111817
|
if (!m2 && !this.openDragLock)
|
|
111816
111818
|
return;
|
|
111817
111819
|
const { offset: g2 } = p3;
|
|
111818
|
-
if (
|
|
111820
|
+
if (x2 && this.currentDirection === null) {
|
|
111819
111821
|
this.currentDirection = lh(g2), this.currentDirection !== null && w2 && w2(this.currentDirection);
|
|
111820
111822
|
return;
|
|
111821
111823
|
}
|
|
111822
111824
|
this.updateAxis("x", p3.point, g2), this.updateAxis("y", p3.point, g2), this.visualElement.render(), A2 && A2(h3, p3);
|
|
111823
111825
|
}, c2 = (h3, p3) => {
|
|
111824
111826
|
this.latestPointerEvent = h3, this.latestPanInfo = p3, this.stop(h3, p3), this.latestPointerEvent = null, this.latestPanInfo = null;
|
|
111825
|
-
}, d2 = () =>
|
|
111827
|
+
}, d2 = () => pe((h3) => this.getAnimationState(h3) === "paused" && this.getAxisMotionValue(h3).animation?.play()), { dragSnapToOrigin: u4 } = this.getProps();
|
|
111826
111828
|
this.panSession = new qo(t2, {
|
|
111827
111829
|
onSessionStart: i2,
|
|
111828
111830
|
onStart: o2,
|
|
@@ -111869,13 +111871,13 @@ class ah {
|
|
|
111869
111871
|
}
|
|
111870
111872
|
resolveConstraints() {
|
|
111871
111873
|
const { dragConstraints: t2, dragElastic: s2 } = this.getProps(), n2 = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(false) : this.visualElement.projection?.layout, r2 = this.constraints;
|
|
111872
|
-
t2 &&
|
|
111874
|
+
t2 && gt(t2) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t2 && n2 ? this.constraints = th(n2.layoutBox, t2) : this.constraints = false, this.elastic = ih(s2), r2 !== this.constraints && n2 && this.constraints && !this.hasMutatedConstraints && pe((i2) => {
|
|
111873
111875
|
this.constraints !== false && this.getAxisMotionValue(i2) && (this.constraints[i2] = rh(n2.layoutBox[i2], this.constraints[i2]));
|
|
111874
111876
|
});
|
|
111875
111877
|
}
|
|
111876
111878
|
resolveRefConstraints() {
|
|
111877
111879
|
const { dragConstraints: t2, onMeasureDragConstraints: s2 } = this.getProps();
|
|
111878
|
-
if (!t2 || !
|
|
111880
|
+
if (!t2 || !gt(t2))
|
|
111879
111881
|
return false;
|
|
111880
111882
|
const n2 = t2.current;
|
|
111881
111883
|
Se(n2 !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
|
|
@@ -111891,12 +111893,12 @@ class ah {
|
|
|
111891
111893
|
return o2;
|
|
111892
111894
|
}
|
|
111893
111895
|
startAnimation(t2) {
|
|
111894
|
-
const { drag: s2, dragMomentum: n2, dragElastic: r2, dragTransition: i2, dragSnapToOrigin: o2, onDragTransitionEnd: a2 } = this.getProps(), c2 = this.constraints || {}, d2 =
|
|
111896
|
+
const { drag: s2, dragMomentum: n2, dragElastic: r2, dragTransition: i2, dragSnapToOrigin: o2, onDragTransitionEnd: a2 } = this.getProps(), c2 = this.constraints || {}, d2 = pe((u4) => {
|
|
111895
111897
|
if (!Bt(u4, s2, this.currentDirection))
|
|
111896
111898
|
return;
|
|
111897
111899
|
let h3 = c2 && c2[u4] || {};
|
|
111898
111900
|
o2 && (h3 = { min: 0, max: 0 });
|
|
111899
|
-
const p3 = r2 ? 200 : 1e6, m2 = r2 ? 40 : 1e7,
|
|
111901
|
+
const p3 = r2 ? 200 : 1e6, m2 = r2 ? 40 : 1e7, x2 = {
|
|
111900
111902
|
type: "inertia",
|
|
111901
111903
|
velocity: n2 ? t2[u4] : 0,
|
|
111902
111904
|
bounceStiffness: p3,
|
|
@@ -111907,19 +111909,19 @@ class ah {
|
|
|
111907
111909
|
...i2,
|
|
111908
111910
|
...h3
|
|
111909
111911
|
};
|
|
111910
|
-
return this.startAxisValueAnimation(u4,
|
|
111912
|
+
return this.startAxisValueAnimation(u4, x2);
|
|
111911
111913
|
});
|
|
111912
111914
|
return Promise.all(d2).then(a2);
|
|
111913
111915
|
}
|
|
111914
111916
|
startAxisValueAnimation(t2, s2) {
|
|
111915
111917
|
const n2 = this.getAxisMotionValue(t2);
|
|
111916
|
-
return Us(this.visualElement, t2), n2.start(
|
|
111918
|
+
return Us(this.visualElement, t2), n2.start(jn(t2, n2, 0, s2, this.visualElement, false));
|
|
111917
111919
|
}
|
|
111918
111920
|
stopAnimation() {
|
|
111919
|
-
|
|
111921
|
+
pe((t2) => this.getAxisMotionValue(t2).stop());
|
|
111920
111922
|
}
|
|
111921
111923
|
pauseAnimation() {
|
|
111922
|
-
|
|
111924
|
+
pe((t2) => this.getAxisMotionValue(t2).animation?.pause());
|
|
111923
111925
|
}
|
|
111924
111926
|
getAnimationState(t2) {
|
|
111925
111927
|
return this.getAxisMotionValue(t2).animation?.state;
|
|
@@ -111935,7 +111937,7 @@ class ah {
|
|
|
111935
111937
|
return r2 || this.visualElement.getValue(t2, (n2.initial ? n2.initial[t2] : void 0) || 0);
|
|
111936
111938
|
}
|
|
111937
111939
|
snapToCursor(t2) {
|
|
111938
|
-
|
|
111940
|
+
pe((s2) => {
|
|
111939
111941
|
const { drag: n2 } = this.getProps();
|
|
111940
111942
|
if (!Bt(s2, n2, this.currentDirection))
|
|
111941
111943
|
return;
|
|
@@ -111955,11 +111957,11 @@ class ah {
|
|
|
111955
111957
|
if (!this.visualElement.current)
|
|
111956
111958
|
return;
|
|
111957
111959
|
const { drag: t2, dragConstraints: s2 } = this.getProps(), { projection: n2 } = this.visualElement;
|
|
111958
|
-
if (!
|
|
111960
|
+
if (!gt(s2) || !n2 || !this.constraints)
|
|
111959
111961
|
return;
|
|
111960
111962
|
this.stopAnimation();
|
|
111961
111963
|
const r2 = { x: 0, y: 0 };
|
|
111962
|
-
|
|
111964
|
+
pe((o2) => {
|
|
111963
111965
|
const a2 = this.getAxisMotionValue(o2);
|
|
111964
111966
|
if (a2 && this.constraints !== false) {
|
|
111965
111967
|
const c2 = a2.get();
|
|
@@ -111967,7 +111969,7 @@ class ah {
|
|
|
111967
111969
|
}
|
|
111968
111970
|
});
|
|
111969
111971
|
const { transformTemplate: i2 } = this.visualElement.getProps();
|
|
111970
|
-
this.visualElement.current.style.transform = i2 ? i2({}, "") : "none", n2.root && n2.root.updateScroll(), n2.updateLayout(), this.resolveConstraints(),
|
|
111972
|
+
this.visualElement.current.style.transform = i2 ? i2({}, "") : "none", n2.root && n2.root.updateScroll(), n2.updateLayout(), this.resolveConstraints(), pe((o2) => {
|
|
111971
111973
|
if (!Bt(o2, t2, null))
|
|
111972
111974
|
return;
|
|
111973
111975
|
const a2 = this.getAxisMotionValue(o2), { min: c2, max: d2 } = this.constraints[o2];
|
|
@@ -111978,16 +111980,16 @@ class ah {
|
|
|
111978
111980
|
if (!this.visualElement.current)
|
|
111979
111981
|
return;
|
|
111980
111982
|
oh.set(this.visualElement, this);
|
|
111981
|
-
const t2 = this.visualElement.current, s2 =
|
|
111983
|
+
const t2 = this.visualElement.current, s2 = xt(t2, "pointerdown", (c2) => {
|
|
111982
111984
|
const { drag: d2, dragListener: u4 = true } = this.getProps();
|
|
111983
111985
|
d2 && u4 && !uo(c2.target) && this.start(c2);
|
|
111984
111986
|
}), n2 = () => {
|
|
111985
111987
|
const { dragConstraints: c2 } = this.getProps();
|
|
111986
|
-
|
|
111988
|
+
gt(c2) && c2.current && (this.constraints = this.resolveRefConstraints());
|
|
111987
111989
|
}, { projection: r2 } = this.visualElement, i2 = r2.addEventListener("measure", n2);
|
|
111988
111990
|
r2 && !r2.layout && (r2.root && r2.root.updateScroll(), r2.updateLayout()), W.read(n2);
|
|
111989
|
-
const o2 =
|
|
111990
|
-
this.isDragging && d2 && (
|
|
111991
|
+
const o2 = kt(window, "resize", () => this.scalePositionWithinConstraints()), a2 = r2.addEventListener("didUpdate", (({ delta: c2, hasLayoutChanged: d2 }) => {
|
|
111992
|
+
this.isDragging && d2 && (pe((u4) => {
|
|
111991
111993
|
const h3 = this.getAxisMotionValue(u4);
|
|
111992
111994
|
h3 && (this.originPoint[u4] += c2[u4].translate, h3.set(h3.get() + c2[u4].translate));
|
|
111993
111995
|
}), this.visualElement.render());
|
|
@@ -112057,7 +112059,7 @@ class uh extends Fe {
|
|
|
112057
112059
|
};
|
|
112058
112060
|
}
|
|
112059
112061
|
mount() {
|
|
112060
|
-
this.removePointerDownListener =
|
|
112062
|
+
this.removePointerDownListener = xt(this.node.current, "pointerdown", (t2) => this.onPointerDown(t2));
|
|
112061
112063
|
}
|
|
112062
112064
|
update() {
|
|
112063
112065
|
this.session && this.session.updateHandlers(this.createPanHandlers());
|
|
@@ -112124,8 +112126,8 @@ function Yo(e2) {
|
|
|
112124
112126
|
return l2.jsx(dh, { ...e2, layoutGroup: n2, switchLayoutGroup: useContext(To), isPresent: t2, safeToRemove: s2 });
|
|
112125
112127
|
}
|
|
112126
112128
|
function hh(e2, t2, s2) {
|
|
112127
|
-
const n2 = ne(e2) ? e2 :
|
|
112128
|
-
return n2.start(
|
|
112129
|
+
const n2 = ne(e2) ? e2 : et2(e2);
|
|
112130
|
+
return n2.start(jn("", n2, t2, s2)), n2.animation;
|
|
112129
112131
|
}
|
|
112130
112132
|
const fh = (e2, t2) => e2.depth - t2.depth;
|
|
112131
112133
|
class ph {
|
|
@@ -112149,7 +112151,7 @@ function mh(e2, t2) {
|
|
|
112149
112151
|
};
|
|
112150
112152
|
return W.setup(n2, true), () => Me(n2);
|
|
112151
112153
|
}
|
|
112152
|
-
const zo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gh = zo.length, Wr = (e2) => typeof e2 == "string" ? parseFloat(e2) : e2, Ur = (e2) => typeof e2 == "number" ||
|
|
112154
|
+
const zo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gh = zo.length, Wr = (e2) => typeof e2 == "string" ? parseFloat(e2) : e2, Ur = (e2) => typeof e2 == "number" || k.test(e2);
|
|
112153
112155
|
function yh(e2, t2, s2, n2, r2, i2) {
|
|
112154
112156
|
r2 ? (e2.opacity = K(0, s2.opacity ?? 1, xh(n2)), e2.opacityExit = K(t2.opacity ?? 1, 0, vh(n2))) : i2 && (e2.opacity = K(t2.opacity ?? 1, s2.opacity ?? 1, n2));
|
|
112155
112157
|
for (let o2 = 0; o2 < gh; o2++) {
|
|
@@ -112202,7 +112204,7 @@ function Jo(e2) {
|
|
|
112202
112204
|
function Hr(e2, t2) {
|
|
112203
112205
|
return e2.min === t2.min && e2.max === t2.max;
|
|
112204
112206
|
}
|
|
112205
|
-
function
|
|
112207
|
+
function Ch(e2, t2) {
|
|
112206
112208
|
return Hr(e2.x, t2.x) && Hr(e2.y, t2.y);
|
|
112207
112209
|
}
|
|
112208
112210
|
function Xr(e2, t2) {
|
|
@@ -112217,7 +112219,7 @@ function Zr(e2) {
|
|
|
112217
112219
|
function $r(e2, t2) {
|
|
112218
112220
|
return e2.translate === t2.translate && e2.scale === t2.scale && e2.originPoint === t2.originPoint;
|
|
112219
112221
|
}
|
|
112220
|
-
class
|
|
112222
|
+
class kh {
|
|
112221
112223
|
constructor() {
|
|
112222
112224
|
this.members = [];
|
|
112223
112225
|
}
|
|
@@ -112275,8 +112277,8 @@ function Th(e2, t2, s2) {
|
|
|
112275
112277
|
let n2 = "";
|
|
112276
112278
|
const r2 = e2.x.translate / t2.x, i2 = e2.y.translate / t2.y, o2 = s2?.z || 0;
|
|
112277
112279
|
if ((r2 || i2 || o2) && (n2 = `translate3d(${r2}px, ${i2}px, ${o2}px) `), (t2.x !== 1 || t2.y !== 1) && (n2 += `scale(${1 / t2.x}, ${1 / t2.y}) `), s2) {
|
|
112278
|
-
const { transformPerspective: d2, rotate: u4, rotateX: h3, rotateY: p3, skewX: m2, skewY:
|
|
112279
|
-
d2 && (n2 = `perspective(${d2}px) ${n2}`), u4 && (n2 += `rotate(${u4}deg) `), h3 && (n2 += `rotateX(${h3}deg) `), p3 && (n2 += `rotateY(${p3}deg) `), m2 && (n2 += `skewX(${m2}deg) `),
|
|
112280
|
+
const { transformPerspective: d2, rotate: u4, rotateX: h3, rotateY: p3, skewX: m2, skewY: x2 } = s2;
|
|
112281
|
+
d2 && (n2 = `perspective(${d2}px) ${n2}`), u4 && (n2 += `rotate(${u4}deg) `), h3 && (n2 += `rotateX(${h3}deg) `), p3 && (n2 += `rotateY(${p3}deg) `), m2 && (n2 += `skewX(${m2}deg) `), x2 && (n2 += `skewY(${x2}deg) `);
|
|
112280
112282
|
}
|
|
112281
112283
|
const a2 = e2.x.scale * t2.x, c2 = e2.y.scale * t2.y;
|
|
112282
112284
|
return (a2 !== 1 || c2 !== 1) && (n2 += `scale(${a2}, ${c2})`), n2 || "none";
|
|
@@ -112346,15 +112348,15 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112346
112348
|
this.target = void 0, this.relativeTarget = void 0;
|
|
112347
112349
|
return;
|
|
112348
112350
|
}
|
|
112349
|
-
const
|
|
112350
|
-
if (this.options.layoutRoot || this.resumeFrom ||
|
|
112351
|
+
const x2 = this.options.transition || d2.getDefaultTransition() || _h, { onLayoutAnimationStart: w2, onLayoutAnimationComplete: A2 } = d2.getProps(), g2 = !this.targetLayout || !Qo(this.targetLayout, m2), v2 = !h3 && p3;
|
|
112352
|
+
if (this.options.layoutRoot || this.resumeFrom || v2 || h3 && (g2 || !this.currentAnimation)) {
|
|
112351
112353
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
112352
112354
|
const y3 = {
|
|
112353
|
-
...gn(
|
|
112355
|
+
...gn(x2, "layout"),
|
|
112354
112356
|
onPlay: w2,
|
|
112355
112357
|
onComplete: A2
|
|
112356
112358
|
};
|
|
112357
|
-
(d2.shouldReduceMotion || this.options.layoutRoot) && (y3.delay = 0, y3.type = false), this.startAnimation(y3), this.setAnimationOrigin(u4,
|
|
112359
|
+
(d2.shouldReduceMotion || this.options.layoutRoot) && (y3.delay = 0, y3.type = false), this.startAnimation(y3), this.setAnimationOrigin(u4, v2);
|
|
112358
112360
|
} else
|
|
112359
112361
|
h3 || si(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
112360
112362
|
this.targetLayout = m2;
|
|
@@ -112413,9 +112415,9 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112413
112415
|
this.nodes.forEach(ti);
|
|
112414
112416
|
return;
|
|
112415
112417
|
}
|
|
112416
|
-
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = false, this.nodes.forEach(Mh), this.nodes.forEach(
|
|
112418
|
+
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = false, this.nodes.forEach(Mh), this.nodes.forEach(Eh), this.nodes.forEach(jh)) : this.nodes.forEach(ti), this.clearAllSnapshots();
|
|
112417
112419
|
const a2 = ae.now();
|
|
112418
|
-
te.delta =
|
|
112420
|
+
te.delta = Ce(0, 1e3 / 60, a2 - te.timestamp), te.timestamp = a2, te.isProcessing = true, as.update.process(te), as.preRender.process(te), as.render.process(te), te.isProcessing = false;
|
|
112419
112421
|
}
|
|
112420
112422
|
didUpdate() {
|
|
112421
112423
|
this.updateScheduled || (this.updateScheduled = true, xn.read(this.scheduleUpdate));
|
|
@@ -112465,7 +112467,7 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112465
112467
|
if (!r2)
|
|
112466
112468
|
return;
|
|
112467
112469
|
const o2 = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a2 = this.projectionDelta && !Jo(this.projectionDelta), c2 = this.getTransformTemplate(), d2 = c2 ? c2(this.latestValues, "") : void 0, u4 = d2 !== this.prevTransformTemplateValue;
|
|
112468
|
-
o2 && this.instance && (a2 ||
|
|
112470
|
+
o2 && this.instance && (a2 || Ie(this.latestValues) || u4) && (r2(this.instance, d2), this.shouldResetTransform = false, this.scheduleRender());
|
|
112469
112471
|
}
|
|
112470
112472
|
measure(o2 = true) {
|
|
112471
112473
|
const a2 = this.measurePageBox();
|
|
@@ -112507,22 +112509,22 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112507
112509
|
!a2 && u4.options.layoutScroll && u4.scroll && u4 !== u4.root && He(c2, {
|
|
112508
112510
|
x: -u4.scroll.offset.x,
|
|
112509
112511
|
y: -u4.scroll.offset.y
|
|
112510
|
-
}),
|
|
112512
|
+
}), Ie(u4.latestValues) && He(c2, u4.latestValues);
|
|
112511
112513
|
}
|
|
112512
|
-
return
|
|
112514
|
+
return Ie(this.latestValues) && He(c2, this.latestValues), c2;
|
|
112513
112515
|
}
|
|
112514
112516
|
removeTransform(o2) {
|
|
112515
112517
|
const a2 = Z();
|
|
112516
112518
|
ye(a2, o2);
|
|
112517
112519
|
for (let c2 = 0; c2 < this.path.length; c2++) {
|
|
112518
112520
|
const d2 = this.path[c2];
|
|
112519
|
-
if (!d2.instance || !
|
|
112521
|
+
if (!d2.instance || !Ie(d2.latestValues))
|
|
112520
112522
|
continue;
|
|
112521
112523
|
Os(d2.latestValues) && d2.updateSnapshot();
|
|
112522
112524
|
const u4 = Z(), h3 = d2.measurePageBox();
|
|
112523
112525
|
ye(u4, h3), Jr(a2, d2.latestValues, d2.snapshot ? d2.snapshot.layoutBox : void 0, u4);
|
|
112524
112526
|
}
|
|
112525
|
-
return
|
|
112527
|
+
return Ie(this.latestValues) && Jr(a2, this.latestValues), a2;
|
|
112526
112528
|
}
|
|
112527
112529
|
setTargetDelta(o2) {
|
|
112528
112530
|
this.targetDelta = o2, this.root.scheduleUpdateProjection(), this.isProjectionDirty = true;
|
|
@@ -112551,10 +112553,10 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112551
112553
|
return;
|
|
112552
112554
|
this.resolvedRelativeTargetAt = te.timestamp;
|
|
112553
112555
|
const p3 = this.getClosestProjectingParent();
|
|
112554
|
-
p3 && this.linkedParentVersion !== p3.layoutVersion && !p3.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (p3 && p3.layout ? this.createRelativeTarget(p3, this.layout.layoutBox, p3.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Z(), this.targetWithTransforms = Z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hd(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ye(this.target, this.layout.layoutBox),
|
|
112556
|
+
p3 && this.linkedParentVersion !== p3.layoutVersion && !p3.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (p3 && p3.layout ? this.createRelativeTarget(p3, this.layout.layoutBox, p3.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Z(), this.targetWithTransforms = Z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hd(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ye(this.target, this.layout.layoutBox), jo(this.target, this.targetDelta)) : ye(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = false, p3 && !!p3.resumingFrom == !!this.resumingFrom && !p3.options.layoutScroll && p3.target && this.animationProgress !== 1 ? this.createRelativeTarget(p3, this.target, p3.target) : this.relativeParent = this.relativeTarget = void 0));
|
|
112555
112557
|
}
|
|
112556
112558
|
getClosestProjectingParent() {
|
|
112557
|
-
if (!(!this.parent || Os(this.parent.latestValues) ||
|
|
112559
|
+
if (!(!this.parent || Os(this.parent.latestValues) || Eo(this.parent.latestValues)))
|
|
112558
112560
|
return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
|
|
112559
112561
|
}
|
|
112560
112562
|
isProjecting() {
|
|
@@ -112582,7 +112584,7 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112582
112584
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
112583
112585
|
return;
|
|
112584
112586
|
}
|
|
112585
|
-
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Yr(this.prevProjectionDelta.x, this.projectionDelta.x), Yr(this.prevProjectionDelta.y, this.projectionDelta.y)),
|
|
112587
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Yr(this.prevProjectionDelta.x, this.projectionDelta.x), Yr(this.prevProjectionDelta.y, this.projectionDelta.y)), vt(this.projectionDelta, this.layoutCorrected, m2, this.latestValues), (this.treeScale.x !== h3 || this.treeScale.y !== p3 || !$r(this.projectionDelta.x, this.prevProjectionDelta.x) || !$r(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = true, this.scheduleRender(), this.notifyListeners("projectionUpdate", m2));
|
|
112586
112588
|
}
|
|
112587
112589
|
hide() {
|
|
112588
112590
|
this.isVisible = false;
|
|
@@ -112603,17 +112605,17 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112603
112605
|
setAnimationOrigin(o2, a2 = false) {
|
|
112604
112606
|
const c2 = this.snapshot, d2 = c2 ? c2.latestValues : {}, u4 = { ...this.latestValues }, h3 = Xe();
|
|
112605
112607
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a2;
|
|
112606
|
-
const p3 = Z(), m2 = c2 ? c2.source : void 0,
|
|
112608
|
+
const p3 = Z(), m2 = c2 ? c2.source : void 0, x2 = this.layout ? this.layout.source : void 0, w2 = m2 !== x2, A2 = this.getStack(), g2 = !A2 || A2.members.length <= 1, v2 = !!(w2 && !g2 && this.options.crossfade === true && !this.path.some(Ih));
|
|
112607
112609
|
this.animationProgress = 0;
|
|
112608
112610
|
let y3;
|
|
112609
|
-
this.mixTargetDelta = (
|
|
112610
|
-
const P3 =
|
|
112611
|
-
ni(h3.x, o2.x, P3), ni(h3.y, o2.y, P3), this.setTargetDelta(h3), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jt(p3, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Oh(this.relativeTarget, this.relativeTargetOrigin, p3, P3), y3 &&
|
|
112611
|
+
this.mixTargetDelta = (E2) => {
|
|
112612
|
+
const P3 = E2 / 1e3;
|
|
112613
|
+
ni(h3.x, o2.x, P3), ni(h3.y, o2.y, P3), this.setTargetDelta(h3), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jt(p3, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Oh(this.relativeTarget, this.relativeTargetOrigin, p3, P3), y3 && Ch(this.relativeTarget, y3) && (this.isProjectionDirty = false), y3 || (y3 = Z()), ye(y3, this.relativeTarget)), w2 && (this.animationValues = u4, yh(u4, d2, this.latestValues, P3, v2, g2)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P3;
|
|
112612
112614
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
112613
112615
|
}
|
|
112614
112616
|
startAnimation(o2) {
|
|
112615
112617
|
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (Me(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = W.update(() => {
|
|
112616
|
-
_t.hasAnimatedSinceResize = true, this.motionValue || (this.motionValue =
|
|
112618
|
+
_t.hasAnimatedSinceResize = true, this.motionValue || (this.motionValue = et2(0)), this.currentAnimation = hh(this.motionValue, [0, 1e3], {
|
|
112617
112619
|
...o2,
|
|
112618
112620
|
velocity: 0,
|
|
112619
112621
|
isSync: true,
|
|
@@ -112647,11 +112649,11 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112647
112649
|
const p3 = le(this.layout.layoutBox.y);
|
|
112648
112650
|
c2.y.min = o2.target.y.min, c2.y.max = c2.y.min + p3;
|
|
112649
112651
|
}
|
|
112650
|
-
ye(a2, c2), He(a2, u4),
|
|
112652
|
+
ye(a2, c2), He(a2, u4), vt(this.projectionDeltaWithTransform, this.layoutCorrected, a2, u4);
|
|
112651
112653
|
}
|
|
112652
112654
|
}
|
|
112653
112655
|
registerSharedNode(o2, a2) {
|
|
112654
|
-
this.sharedNodes.has(o2) || this.sharedNodes.set(o2, new
|
|
112656
|
+
this.sharedNodes.has(o2) || this.sharedNodes.set(o2, new kh()), this.sharedNodes.get(o2).add(a2);
|
|
112655
112657
|
const d2 = a2.options.initialPromotionConfig;
|
|
112656
112658
|
a2.promote({
|
|
112657
112659
|
transition: d2 ? d2.transition : void 0,
|
|
@@ -112714,7 +112716,7 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112714
112716
|
}
|
|
112715
112717
|
const d2 = this.getLead();
|
|
112716
112718
|
if (!this.projectionDelta || !this.layout || !d2.target) {
|
|
112717
|
-
this.options.layoutId && (o2.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, o2.pointerEvents = It(a2?.pointerEvents) || ""), this.hasProjected && !
|
|
112719
|
+
this.options.layoutId && (o2.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, o2.pointerEvents = It(a2?.pointerEvents) || ""), this.hasProjected && !Ie(this.latestValues) && (o2.transform = c2 ? c2({}, "") : "none", this.hasProjected = false);
|
|
112718
112720
|
return;
|
|
112719
112721
|
}
|
|
112720
112722
|
o2.visibility = "";
|
|
@@ -112724,16 +112726,16 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112724
112726
|
c2 && (h3 = c2(u4, h3)), o2.transform = h3;
|
|
112725
112727
|
const { x: p3, y: m2 } = this.projectionDelta;
|
|
112726
112728
|
o2.transformOrigin = `${p3.origin * 100}% ${m2.origin * 100}% 0`, d2.animationValues ? o2.opacity = d2 === this ? u4.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u4.opacityExit : o2.opacity = d2 === this ? u4.opacity !== void 0 ? u4.opacity : "" : u4.opacityExit !== void 0 ? u4.opacityExit : 0;
|
|
112727
|
-
for (const
|
|
112728
|
-
if (u4[
|
|
112729
|
+
for (const x2 in Ls) {
|
|
112730
|
+
if (u4[x2] === void 0)
|
|
112729
112731
|
continue;
|
|
112730
|
-
const { correct: w2, applyTo: A2, isCSSVariable: g2 } = Ls[
|
|
112732
|
+
const { correct: w2, applyTo: A2, isCSSVariable: g2 } = Ls[x2], v2 = h3 === "none" ? u4[x2] : w2(u4[x2], d2);
|
|
112731
112733
|
if (A2) {
|
|
112732
112734
|
const y3 = A2.length;
|
|
112733
|
-
for (let
|
|
112734
|
-
o2[A2[
|
|
112735
|
+
for (let E2 = 0; E2 < y3; E2++)
|
|
112736
|
+
o2[A2[E2]] = v2;
|
|
112735
112737
|
} else
|
|
112736
|
-
g2 ? this.options.visualElement.renderState.vars[
|
|
112738
|
+
g2 ? this.options.visualElement.renderState.vars[x2] = v2 : o2[x2] = v2;
|
|
112737
112739
|
}
|
|
112738
112740
|
this.options.layoutId && (o2.pointerEvents = d2 === this ? It(a2?.pointerEvents) || "" : "none");
|
|
112739
112741
|
}
|
|
@@ -112746,24 +112748,24 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112746
112748
|
}
|
|
112747
112749
|
};
|
|
112748
112750
|
}
|
|
112749
|
-
function
|
|
112751
|
+
function Eh(e2) {
|
|
112750
112752
|
e2.updateLayout();
|
|
112751
112753
|
}
|
|
112752
|
-
function
|
|
112754
|
+
function jh(e2) {
|
|
112753
112755
|
const t2 = e2.resumeFrom?.snapshot || e2.snapshot;
|
|
112754
112756
|
if (e2.isLead() && e2.layout && t2 && e2.hasListeners("didUpdate")) {
|
|
112755
112757
|
const { layoutBox: s2, measuredBox: n2 } = e2.layout, { animationType: r2 } = e2.options, i2 = t2.source !== e2.layout.source;
|
|
112756
|
-
r2 === "size" ?
|
|
112758
|
+
r2 === "size" ? pe((u4) => {
|
|
112757
112759
|
const h3 = i2 ? t2.measuredBox[u4] : t2.layoutBox[u4], p3 = le(h3);
|
|
112758
112760
|
h3.min = s2[u4].min, h3.max = h3.min + p3;
|
|
112759
|
-
}) : Zo(r2, t2.layoutBox, s2) &&
|
|
112761
|
+
}) : Zo(r2, t2.layoutBox, s2) && pe((u4) => {
|
|
112760
112762
|
const h3 = i2 ? t2.measuredBox[u4] : t2.layoutBox[u4], p3 = le(s2[u4]);
|
|
112761
112763
|
h3.max = h3.min + p3, e2.relativeTarget && !e2.currentAnimation && (e2.isProjectionDirty = true, e2.relativeTarget[u4].max = e2.relativeTarget[u4].min + p3);
|
|
112762
112764
|
});
|
|
112763
112765
|
const o2 = Xe();
|
|
112764
|
-
|
|
112766
|
+
vt(o2, s2, t2.layoutBox);
|
|
112765
112767
|
const a2 = Xe();
|
|
112766
|
-
i2 ?
|
|
112768
|
+
i2 ? vt(a2, e2.applyTransform(n2, true), t2.measuredBox) : vt(a2, s2, t2.layoutBox);
|
|
112767
112769
|
const c2 = !Jo(o2);
|
|
112768
112770
|
let d2 = false;
|
|
112769
112771
|
if (!e2.resumeFrom) {
|
|
@@ -112773,8 +112775,8 @@ function Eh(e2) {
|
|
|
112773
112775
|
if (h3 && p3) {
|
|
112774
112776
|
const m2 = Z();
|
|
112775
112777
|
Jt(m2, t2.layoutBox, h3.layoutBox);
|
|
112776
|
-
const
|
|
112777
|
-
Jt(
|
|
112778
|
+
const x2 = Z();
|
|
112779
|
+
Jt(x2, s2, p3.layoutBox), Qo(m2, x2) || (d2 = true), u4.options.layoutRoot && (e2.relativeTarget = x2, e2.relativeTargetOrigin = m2, e2.relativeParent = u4);
|
|
112778
112780
|
}
|
|
112779
112781
|
}
|
|
112780
112782
|
}
|
|
@@ -112855,7 +112857,7 @@ function Uh(e2) {
|
|
|
112855
112857
|
return e2 !== e2.root && e2.scroll?.wasRoot;
|
|
112856
112858
|
}
|
|
112857
112859
|
const qh = Xo({
|
|
112858
|
-
attachResizeListener: (e2, t2) =>
|
|
112860
|
+
attachResizeListener: (e2, t2) => kt(e2, "resize", t2),
|
|
112859
112861
|
measureScroll: () => ({
|
|
112860
112862
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
112861
112863
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
@@ -112893,7 +112895,7 @@ function li(e2, t2, s2) {
|
|
|
112893
112895
|
const { props: n2 } = e2;
|
|
112894
112896
|
e2.animationState && n2.whileHover && e2.animationState.setActive("whileHover", s2 === "Start");
|
|
112895
112897
|
const r2 = "onHover" + s2, i2 = n2[r2];
|
|
112896
|
-
i2 && W.postRender(() => i2(t2,
|
|
112898
|
+
i2 && W.postRender(() => i2(t2, Et(t2)));
|
|
112897
112899
|
}
|
|
112898
112900
|
class Yh extends Fe {
|
|
112899
112901
|
mount() {
|
|
@@ -112920,7 +112922,7 @@ class zh extends Fe {
|
|
|
112920
112922
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", false), this.isActive = false);
|
|
112921
112923
|
}
|
|
112922
112924
|
mount() {
|
|
112923
|
-
this.unmount = Tt(
|
|
112925
|
+
this.unmount = Tt(kt(this.node.current, "focus", () => this.onFocus()), kt(this.node.current, "blur", () => this.onBlur()));
|
|
112924
112926
|
}
|
|
112925
112927
|
unmount() {
|
|
112926
112928
|
}
|
|
@@ -112931,7 +112933,7 @@ function ci(e2, t2, s2) {
|
|
|
112931
112933
|
return;
|
|
112932
112934
|
e2.animationState && n2.whileTap && e2.animationState.setActive("whileTap", s2 === "Start");
|
|
112933
112935
|
const r2 = "onTap" + (s2 === "End" ? "" : s2), i2 = n2[r2];
|
|
112934
|
-
i2 && W.postRender(() => i2(t2,
|
|
112936
|
+
i2 && W.postRender(() => i2(t2, Et(t2)));
|
|
112935
112937
|
}
|
|
112936
112938
|
class Gh extends Fe {
|
|
112937
112939
|
mount() {
|
|
@@ -113030,26 +113032,26 @@ const tf = {
|
|
|
113030
113032
|
const { t: r2 } = useTranslation(), i2 = e2 ?? [], [o2, a2] = useState(
|
|
113031
113033
|
/* @__PURE__ */ new Set()
|
|
113032
113034
|
), [c2, d2] = useState(false), u4 = (g2) => {
|
|
113033
|
-
a2((
|
|
113034
|
-
const y3 = new Set(
|
|
113035
|
+
a2((v2) => {
|
|
113036
|
+
const y3 = new Set(v2);
|
|
113035
113037
|
return y3.has(g2) ? y3.delete(g2) : y3.add(g2), y3;
|
|
113036
113038
|
});
|
|
113037
113039
|
}, h3 = i2.findIndex((g2) => g2.status !== "pending"), p3 = i2.reduce(
|
|
113038
|
-
(g2,
|
|
113040
|
+
(g2, v2, y3) => v2.status !== "pending" ? y3 : g2,
|
|
113039
113041
|
-1
|
|
113040
|
-
), m2 = i2.length ? i2.some((g2) => g2.status === "in_progress") ? "in_progress" : i2.every((g2) => g2.status === "done") ? "done" : i2.some((g2) => g2.status === "done") ? "in_progress" : "pending" : "pending",
|
|
113042
|
+
), m2 = i2.length ? i2.some((g2) => g2.status === "in_progress") ? "in_progress" : i2.every((g2) => g2.status === "done") ? "done" : i2.some((g2) => g2.status === "done") ? "in_progress" : "pending" : "pending", x2 = t2 ?? (i2.length ? "done" : "pending"), w2 = s2 ?? m2, A2 = n2 ?? "pending";
|
|
113041
113043
|
return /* @__PURE__ */ l2.jsxs("div", { className: "space-y-6 pr-6", children: [
|
|
113042
113044
|
/* @__PURE__ */ l2.jsx("div", { className: "text-sm text-[#333] dark:text-[#E5E7EB]", children: r2("deepResearch.steps.intro") }),
|
|
113043
113045
|
/* @__PURE__ */ l2.jsxs("div", { className: "space-y-4", children: [
|
|
113044
113046
|
/* @__PURE__ */ l2.jsxs(
|
|
113045
113047
|
"div",
|
|
113046
113048
|
{
|
|
113047
|
-
className: `flex items-center gap-2 text-base font-medium ${
|
|
113049
|
+
className: `flex items-center gap-2 text-base font-medium ${x2 === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
|
|
113048
113050
|
children: [
|
|
113049
|
-
|
|
113051
|
+
x2 === "in_progress" ? /* @__PURE__ */ l2.jsx(Loader, { className: "w-5 h-5 text-[#1784FC] animate-spin" }) : /* @__PURE__ */ l2.jsx(
|
|
113050
113052
|
PencilLine,
|
|
113051
113053
|
{
|
|
113052
|
-
className: `w-4 h-4 ${
|
|
113054
|
+
className: `w-4 h-4 ${x2 === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
|
|
113053
113055
|
}
|
|
113054
113056
|
),
|
|
113055
113057
|
r2("deepResearch.steps.planTitle")
|
|
@@ -113071,9 +113073,9 @@ const tf = {
|
|
|
113071
113073
|
]
|
|
113072
113074
|
}
|
|
113073
113075
|
),
|
|
113074
|
-
c2 && i2.length > 0 && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-1 rounded-lg bg-white dark:bg-[#020817] border border-[#EEF0F3] dark:border-[#1D3A6F] p-3", children: i2.map((g2,
|
|
113076
|
+
c2 && i2.length > 0 && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-1 rounded-lg bg-white dark:bg-[#020817] border border-[#EEF0F3] dark:border-[#1D3A6F] p-3", children: i2.map((g2, v2) => /* @__PURE__ */ l2.jsxs("div", { className: "flex items-start gap-2 text-sm", children: [
|
|
113075
113077
|
/* @__PURE__ */ l2.jsxs("span", { className: "text-[#999] dark:text-[#A6A6A6]", children: [
|
|
113076
|
-
|
|
113078
|
+
v2 + 1,
|
|
113077
113079
|
"."
|
|
113078
113080
|
] }),
|
|
113079
113081
|
/* @__PURE__ */ l2.jsx("span", { className: "text-[#333] dark:text-[#E5E7EB]", children: g2.title })
|
|
@@ -113090,8 +113092,8 @@ const tf = {
|
|
|
113090
113092
|
]
|
|
113091
113093
|
}
|
|
113092
113094
|
),
|
|
113093
|
-
i2.map((g2,
|
|
113094
|
-
const y3 = g2.status !== "pending",
|
|
113095
|
+
i2.map((g2, v2) => {
|
|
113096
|
+
const y3 = g2.status !== "pending", E2 = v2 === h3, P3 = v2 === p3, V2 = g2.status === "pending" && !g2.searches;
|
|
113095
113097
|
return /* @__PURE__ */ l2.jsxs(
|
|
113096
113098
|
"div",
|
|
113097
113099
|
{
|
|
@@ -113100,15 +113102,15 @@ const tf = {
|
|
|
113100
113102
|
y3 && h3 !== -1 && p3 !== -1 && /* @__PURE__ */ l2.jsx(
|
|
113101
113103
|
"div",
|
|
113102
113104
|
{
|
|
113103
|
-
className: "absolute left-2
|
|
113105
|
+
className: "absolute left-2 border-l border-dashed border-[#018AE5]/20 dark:border-gray-700",
|
|
113104
113106
|
style: {
|
|
113105
|
-
top:
|
|
113106
|
-
bottom: P3 ? 10 :
|
|
113107
|
+
top: E2 ? 10 : 16,
|
|
113108
|
+
bottom: P3 ? 10 : -12
|
|
113107
113109
|
}
|
|
113108
113110
|
}
|
|
113109
113111
|
),
|
|
113110
|
-
g2.status === "done" && /* @__PURE__ */ l2.jsx(
|
|
113111
|
-
g2.status === "in_progress" && /* @__PURE__ */ l2.jsx(
|
|
113112
|
+
g2.status === "done" && /* @__PURE__ */ l2.jsx(CircleCheckBig, { className: "absolute left-0 top-0 w-4 h-4 text-[#1784FC]" }),
|
|
113113
|
+
g2.status === "in_progress" && /* @__PURE__ */ l2.jsx(Loader, { className: "absolute left-0 top-0 w-4 h-4 text-[#1784FC] animate-spin" }),
|
|
113112
113114
|
V2 ? /* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
113113
113115
|
/* @__PURE__ */ l2.jsx(List, { className: "w-4 h-4 text-[#C8C8C8]" }),
|
|
113114
113116
|
/* @__PURE__ */ l2.jsx("div", { className: "text-sm text-[#999999] dark:text-[#666]", children: g2.title })
|
|
@@ -113164,7 +113166,7 @@ const tf = {
|
|
|
113164
113166
|
]
|
|
113165
113167
|
}
|
|
113166
113168
|
),
|
|
113167
|
-
o2.has(S3.id) && S3.hits && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-2 pl-4", children: S3.hits.map((T2,
|
|
113169
|
+
o2.has(S3.id) && S3.hits && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-2 pl-4", children: S3.hits.map((T2, M2) => /* @__PURE__ */ l2.jsx(
|
|
113168
113170
|
"div",
|
|
113169
113171
|
{
|
|
113170
113172
|
className: "p-3 bg-white dark:bg-[#020817] border border-gray-100 dark:border-[#1D3A6F] rounded-lg hover:border-blue-200 dark:hover:border-blue-800 transition-colors cursor-pointer group",
|
|
@@ -113174,7 +113176,7 @@ const tf = {
|
|
|
113174
113176
|
T2.content && /* @__PURE__ */ l2.jsx("div", { className: "text-xs text-[#999] dark:text-[#A6A6A6] mt-1 line-clamp-2", children: T2.content })
|
|
113175
113177
|
] }) })
|
|
113176
113178
|
},
|
|
113177
|
-
|
|
113179
|
+
M2
|
|
113178
113180
|
)) }),
|
|
113179
113181
|
S3.note && /* @__PURE__ */ l2.jsx("p", { className: "text-[#999] dark:text-[#A6A6A6] text-sm mt-4 mb-2", children: S3.note })
|
|
113180
113182
|
] }, S3.id)
|
|
@@ -113199,7 +113201,7 @@ const tf = {
|
|
|
113199
113201
|
{
|
|
113200
113202
|
className: `flex items-center gap-2 text-base font-medium mb-4 ${A2 === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
|
|
113201
113203
|
children: [
|
|
113202
|
-
A2 === "in_progress" ? /* @__PURE__ */ l2.jsx(
|
|
113204
|
+
A2 === "in_progress" ? /* @__PURE__ */ l2.jsx(Loader, { className: "w-5 h-5 text-blue-500 animate-spin" }) : /* @__PURE__ */ l2.jsx(
|
|
113203
113205
|
BookOpenText,
|
|
113204
113206
|
{
|
|
113205
113207
|
className: `w-4 h-4 ${A2 === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
|
|
@@ -113294,7 +113296,7 @@ const tf = {
|
|
|
113294
113296
|
theme: h3,
|
|
113295
113297
|
showReportOnly: p3 = false
|
|
113296
113298
|
}) => {
|
|
113297
|
-
const { t: m2 } = useTranslation(), [
|
|
113299
|
+
const { t: m2 } = useTranslation(), [x2, w2] = useState(s2 || m2("deepResearch.tab.steps"));
|
|
113298
113300
|
return useEffect(() => {
|
|
113299
113301
|
p3 ? w2(m2("deepResearch.tab.report")) : s2 && w2(s2);
|
|
113300
113302
|
}, [s2, p3, m2]), /* @__PURE__ */ l2.jsx(Su, { children: e2 && /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
@@ -113336,7 +113338,7 @@ const tf = {
|
|
|
113336
113338
|
Segmented,
|
|
113337
113339
|
{
|
|
113338
113340
|
className: "cm-deep-research-segmented",
|
|
113339
|
-
value:
|
|
113341
|
+
value: x2,
|
|
113340
113342
|
style: { marginBottom: 8 },
|
|
113341
113343
|
onChange: (A2) => w2(A2),
|
|
113342
113344
|
options: [
|
|
@@ -113347,7 +113349,7 @@ const tf = {
|
|
|
113347
113349
|
}
|
|
113348
113350
|
),
|
|
113349
113351
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
113350
|
-
|
|
113352
|
+
x2 === m2("deepResearch.tab.report") && /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
113351
113353
|
/* @__PURE__ */ l2.jsxs(
|
|
113352
113354
|
"button",
|
|
113353
113355
|
{
|
|
@@ -113384,7 +113386,7 @@ const tf = {
|
|
|
113384
113386
|
] })
|
|
113385
113387
|
] }),
|
|
113386
113388
|
/* @__PURE__ */ l2.jsxs("div", { className: "pt-6 flex-1 overflow-y-auto bg-white dark:bg-black", children: [
|
|
113387
|
-
|
|
113389
|
+
x2 === m2("deepResearch.tab.report") && /* @__PURE__ */ l2.jsx(
|
|
113388
113390
|
of,
|
|
113389
113391
|
{
|
|
113390
113392
|
content: c2,
|
|
@@ -113392,7 +113394,7 @@ const tf = {
|
|
|
113392
113394
|
formatUrl: u4
|
|
113393
113395
|
}
|
|
113394
113396
|
),
|
|
113395
|
-
|
|
113397
|
+
x2 === m2("deepResearch.tab.steps") && /* @__PURE__ */ l2.jsx(
|
|
113396
113398
|
rf,
|
|
113397
113399
|
{
|
|
113398
113400
|
steps: n2,
|
|
@@ -113401,7 +113403,7 @@ const tf = {
|
|
|
113401
113403
|
reportStatus: o2
|
|
113402
113404
|
}
|
|
113403
113405
|
),
|
|
113404
|
-
|
|
113406
|
+
x2 === m2("deepResearch.tab.searchResults") && /* @__PURE__ */ l2.jsx(af, { hits: d2, theme: h3 })
|
|
113405
113407
|
] })
|
|
113406
113408
|
]
|
|
113407
113409
|
}
|
|
@@ -113513,21 +113515,19 @@ const tf = {
|
|
|
113513
113515
|
}) => {
|
|
113514
113516
|
const { t: r2 } = useTranslation(), [i2, o2] = useState(false), [a2, c2] = useState(
|
|
113515
113517
|
r2("deepResearch.tab.steps")
|
|
113516
|
-
)
|
|
113517
|
-
console.log(111111111, e2);
|
|
113518
|
-
const {
|
|
113518
|
+
), {
|
|
113519
113519
|
deepResearchPlans: d2,
|
|
113520
113520
|
deepResearchCurrentStepIndex: u4,
|
|
113521
113521
|
deepResearchCurrentStepFinished: h3,
|
|
113522
113522
|
deepResearchQuery: p3,
|
|
113523
113523
|
deepResearchResultCount: m2,
|
|
113524
|
-
deepResearchPlannerStarted:
|
|
113524
|
+
deepResearchPlannerStarted: x2,
|
|
113525
113525
|
deepResearchResearcherStarted: w2,
|
|
113526
113526
|
deepResearchReporterStarted: A2,
|
|
113527
113527
|
deepResearchReporterFinished: g2,
|
|
113528
|
-
deepResearchReportData:
|
|
113528
|
+
deepResearchReportData: v2,
|
|
113529
113529
|
deepResearchSearchMap: y3
|
|
113530
|
-
} = useMemo$1(() => lf(e2), [e2]),
|
|
113530
|
+
} = useMemo$1(() => lf(e2), [e2]), E2 = d2.length > 0 && u4 >= 0 && u4 < d2.length, P3 = E2 ? d2[u4] : "", V2 = d2.length > 0 ? 1 : 0, S3 = E2 ? (u4 + 1) / d2.length : 0, T2 = g2 ? 1 : A2 ? 0.5 : 0, M2 = (V2 + S3 + T2) / 3, I2 = useMemo$1(() => {
|
|
113531
113531
|
if (g2)
|
|
113532
113532
|
return typeof m2 == "number" ? `深度研究完成 · 找到 ${m2} 条相关结果` : "深度研究完成";
|
|
113533
113533
|
if (A2)
|
|
@@ -113545,7 +113545,7 @@ const tf = {
|
|
|
113545
113545
|
]), Q2 = useMemo$1(() => d2.length ? d2.map((L2, U2) => {
|
|
113546
113546
|
let z2 = "pending";
|
|
113547
113547
|
g2 || A2 ? z2 = "done" : w2 && (U2 < u4 ? z2 = "done" : U2 === u4 && (z2 = h3 ? "done" : "in_progress"));
|
|
113548
|
-
const re2 = y3[L2],
|
|
113548
|
+
const re2 = y3[L2], qe2 = re2?.query ? [
|
|
113549
113549
|
{
|
|
113550
113550
|
id: `step-${U2 + 1}-search-1`,
|
|
113551
113551
|
query: re2.query,
|
|
@@ -113558,7 +113558,7 @@ const tf = {
|
|
|
113558
113558
|
id: `step-${U2 + 1}`,
|
|
113559
113559
|
title: L2,
|
|
113560
113560
|
status: z2,
|
|
113561
|
-
searches:
|
|
113561
|
+
searches: qe2,
|
|
113562
113562
|
showOptimizePlan: false
|
|
113563
113563
|
};
|
|
113564
113564
|
}) : [], [
|
|
@@ -113574,7 +113574,9 @@ const tf = {
|
|
|
113574
113574
|
return Object.values(y3).forEach((U2) => {
|
|
113575
113575
|
U2.hits && Array.isArray(U2.hits) && L2.push(...U2.hits);
|
|
113576
113576
|
}), L2;
|
|
113577
|
-
}, [y3]), ce2 = d2.length ? "done" :
|
|
113577
|
+
}, [y3]), ce2 = d2.length ? "done" : x2 ? "in_progress" : "pending", X2 = useMemo$1(() => Q2.length ? Q2.some((L2) => L2.status === "in_progress") ? "in_progress" : Q2.some((L2) => L2.status === "done") ? "done" : "pending" : "pending", [Q2]), de2 = g2 ? "done" : A2 ? "in_progress" : "pending", ee2 = useMemo$1(() => typeof M2 != "number" || Number.isNaN(M2) || M2 < 0 ? 0 : M2 > 1 ? 1 : M2, [M2]), B3 = useMemo$1(() => I2 || (ee2 >= 1 ? typeof m2 == "number" ? r2("deepResearch.status.completedWithCount", {
|
|
113578
|
+
count: m2
|
|
113579
|
+
}) : r2("deepResearch.status.completed") : ee2 > 0 ? r2("deepResearch.status.running") : r2("deepResearch.status.preparing")), [I2, ee2, m2, r2]);
|
|
113578
113580
|
return e2.length ? /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
113579
113581
|
/* @__PURE__ */ l2.jsx(
|
|
113580
113582
|
"div",
|
|
@@ -113586,11 +113588,11 @@ const tf = {
|
|
|
113586
113588
|
children: /* @__PURE__ */ l2.jsxs("div", { className: "w-full rounded-xl border border-[#EEF0F3] bg-[#F3F4F6] dark:border-[#1D3A6F] dark:bg-[#020817] p-4", children: [
|
|
113587
113589
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-2 mb-4", children: [
|
|
113588
113590
|
/* @__PURE__ */ l2.jsx(Hourglass, { className: "h-4 w-4 text-[#148EFF] cm-hourglass-rotate" }),
|
|
113589
|
-
/* @__PURE__ */ l2.jsx("div", { className: "text-sm font-medium text-[#333] dark:text-[#E5E7EB] truncate", children: P3 || "
|
|
113591
|
+
/* @__PURE__ */ l2.jsx("div", { className: "text-sm font-medium text-[#333] dark:text-[#E5E7EB] truncate", children: P3 || "——" })
|
|
113590
113592
|
] }),
|
|
113591
113593
|
/* @__PURE__ */ l2.jsxs("div", { className: "mt-2 flex items-center justify-between rounded-full bg-white px-3 py-2 text-sm text-[#333] dark:bg-[#111827] dark:text-[#D1D5DB]", children: [
|
|
113592
113594
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex min-w-0 items-center gap-2 flex-1", children: [
|
|
113593
|
-
|
|
113595
|
+
ee2 >= 1 ? /* @__PURE__ */ l2.jsx(Check, { className: "h-4 w-4 text-[#22C55E] shrink-0" }) : /* @__PURE__ */ l2.jsx(Loader, { className: "h-4 w-4 animate-spin text-[#148EFF] shrink-0" }),
|
|
113594
113596
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex min-w-0 items-center flex-1", children: [
|
|
113595
113597
|
/* @__PURE__ */ l2.jsx("span", { className: "whitespace-nowrap shrink-0", children: B3 }),
|
|
113596
113598
|
/* @__PURE__ */ l2.jsxs("span", { className: "text-[#999] dark:text-[#A6A6A6] truncate ml-1", children: [
|
|
@@ -113600,8 +113602,8 @@ const tf = {
|
|
|
113600
113602
|
] })
|
|
113601
113603
|
] }),
|
|
113602
113604
|
/* @__PURE__ */ l2.jsxs("div", { className: "ml-2 flex items-center gap-2 shrink-0", children: [
|
|
113603
|
-
|
|
113604
|
-
|
|
113605
|
+
ee2 < 1 && typeof m2 == "number" ? /* @__PURE__ */ l2.jsx("div", { className: "flex py-0.5 px-1 items-center justify-center rounded-full border border-[#018AE5] bg-white text-xs font-medium text-[#018AE5] dark:bg-[#020617]", children: m2 }) : null,
|
|
113606
|
+
ee2 >= 1 && /* @__PURE__ */ l2.jsx(
|
|
113605
113607
|
"button",
|
|
113606
113608
|
{
|
|
113607
113609
|
type: "button",
|
|
@@ -113618,11 +113620,11 @@ const tf = {
|
|
|
113618
113620
|
/* @__PURE__ */ l2.jsx("div", { className: "h-2 rounded-full flex-1 items-center bg-white dark:bg-[#1F2937]", children: /* @__PURE__ */ l2.jsx(
|
|
113619
113621
|
"div",
|
|
113620
113622
|
{
|
|
113621
|
-
className: `h-full rounded-full transition-all ${
|
|
113622
|
-
style: { width: `${
|
|
113623
|
+
className: `h-full rounded-full transition-all ${ee2 >= 1 ? "bg-[#00C868]" : "bg-[#1784FC]"}`,
|
|
113624
|
+
style: { width: `${ee2 * 100}%` }
|
|
113623
113625
|
}
|
|
113624
113626
|
) }),
|
|
113625
|
-
/* @__PURE__ */ l2.jsx("div", { className: "flex items-center justify-center cursor-
|
|
113627
|
+
/* @__PURE__ */ l2.jsx("div", { className: "flex items-center justify-center cursor-not-allowed opacity-50", children: ee2 >= 1 ? /* @__PURE__ */ l2.jsx(Check, { className: "h-4 w-4 text-[#22C55E]" }) : /* @__PURE__ */ l2.jsx(CirclePause, { className: "h-4 w-4 text-[#1784FC]" }) })
|
|
113626
113628
|
] })
|
|
113627
113629
|
] })
|
|
113628
113630
|
}
|
|
@@ -113637,7 +113639,7 @@ const tf = {
|
|
|
113637
113639
|
plannerStatus: ce2,
|
|
113638
113640
|
executionStatus: X2,
|
|
113639
113641
|
reportStatus: de2,
|
|
113640
|
-
reportData:
|
|
113642
|
+
reportData: v2,
|
|
113641
113643
|
searchHits: H2,
|
|
113642
113644
|
formatUrl: s2,
|
|
113643
113645
|
theme: n2
|
|
@@ -113722,21 +113724,21 @@ const ff = memo(
|
|
|
113722
113724
|
locale: h3,
|
|
113723
113725
|
assistantList: p3,
|
|
113724
113726
|
currentAssistant: m2
|
|
113725
|
-
},
|
|
113726
|
-
const { t: w2, i18n: A2 } = useTranslation(), g2 = hf(u4), [
|
|
113727
|
+
}, x2) {
|
|
113728
|
+
const { t: w2, i18n: A2 } = useTranslation(), g2 = hf(u4), [v2, y3] = useState({}), {
|
|
113727
113729
|
data: {
|
|
113728
|
-
query_intent:
|
|
113730
|
+
query_intent: E2,
|
|
113729
113731
|
tools: P3,
|
|
113730
113732
|
fetch_source: V2,
|
|
113731
113733
|
pick_source: S3,
|
|
113732
113734
|
deep_read: T2,
|
|
113733
|
-
think:
|
|
113734
|
-
response:
|
|
113735
|
+
think: M2,
|
|
113736
|
+
response: I2,
|
|
113735
113737
|
deepResearch: Q2
|
|
113736
113738
|
},
|
|
113737
113739
|
handlers: H2,
|
|
113738
113740
|
clearAllChunkData: ce2
|
|
113739
|
-
} =
|
|
113741
|
+
} = kl(), [X2, de2] = useState({
|
|
113740
113742
|
query_intent: false,
|
|
113741
113743
|
tools: false,
|
|
113742
113744
|
fetch_source: false,
|
|
@@ -113745,8 +113747,8 @@ const ff = memo(
|
|
|
113745
113747
|
think: false,
|
|
113746
113748
|
response: false,
|
|
113747
113749
|
deepResearch: false
|
|
113748
|
-
}),
|
|
113749
|
-
useImperativeHandle(
|
|
113750
|
+
}), ee2 = useRef(false);
|
|
113751
|
+
useImperativeHandle(x2, () => ({
|
|
113750
113752
|
addChunk: (R2) => {
|
|
113751
113753
|
if (de2(() => ({
|
|
113752
113754
|
query_intent: false,
|
|
@@ -113771,16 +113773,16 @@ const ff = memo(
|
|
|
113771
113773
|
else if (R2.chunk_type === "think")
|
|
113772
113774
|
H2.deal_think(R2);
|
|
113773
113775
|
else if (R2.chunk_type === "response") {
|
|
113774
|
-
const
|
|
113775
|
-
if (typeof
|
|
113776
|
-
if (
|
|
113777
|
-
|
|
113776
|
+
const je2 = R2.message_chunk;
|
|
113777
|
+
if (typeof je2 == "string") {
|
|
113778
|
+
if (je2.includes("<think>") || je2.includes("<think>")) {
|
|
113779
|
+
ee2.current = true;
|
|
113778
113780
|
return;
|
|
113779
|
-
} else if (
|
|
113780
|
-
|
|
113781
|
+
} else if (je2.includes("</think>") || je2.includes("</think>")) {
|
|
113782
|
+
ee2.current = false;
|
|
113781
113783
|
return;
|
|
113782
113784
|
}
|
|
113783
|
-
|
|
113785
|
+
ee2.current ? H2.deal_think({ ...R2, chunk_type: "think" }) : H2.deal_response(R2);
|
|
113784
113786
|
}
|
|
113785
113787
|
} else df.includes(R2.chunk_type || "") ? H2.deal_deep_research(R2) : R2.chunk_type;
|
|
113786
113788
|
},
|
|
@@ -113794,7 +113796,7 @@ const ff = memo(
|
|
|
113794
113796
|
think: false,
|
|
113795
113797
|
response: false,
|
|
113796
113798
|
deepResearch: false
|
|
113797
|
-
}),
|
|
113799
|
+
}), ee2.current = false;
|
|
113798
113800
|
}
|
|
113799
113801
|
}));
|
|
113800
113802
|
const B3 = t2?._source?.type === "assistant", L$12 = t2?._source?.assistant_id, U2 = t2?._source?.assistant_item;
|
|
@@ -113819,22 +113821,22 @@ const ff = memo(
|
|
|
113819
113821
|
p3,
|
|
113820
113822
|
m2
|
|
113821
113823
|
]);
|
|
113822
|
-
const z2 = t2?._source, re2 = z2?.message || "",
|
|
113823
|
-
|
|
113824
|
-
},
|
|
113824
|
+
const z2 = t2?._source, re2 = z2?.message || "", qe2 = z2?.payload, jt = z2?.attachments ?? [], Ee2 = z2?.details || [], at2 = z2?.question || "", lt = s2 === false && (re2 || I2?.message_chunk), [ct, Ke2] = useState([]), ut = (R2) => {
|
|
113825
|
+
Ke2(R2);
|
|
113826
|
+
}, Be2 = () => B3 ? /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
113825
113827
|
/* @__PURE__ */ l2.jsx(
|
|
113826
113828
|
ll,
|
|
113827
113829
|
{
|
|
113828
|
-
Detail:
|
|
113829
|
-
ChunkData:
|
|
113830
|
-
getSuggestion:
|
|
113830
|
+
Detail: Ee2.find((R2) => R2.type === "query_intent"),
|
|
113831
|
+
ChunkData: E2,
|
|
113832
|
+
getSuggestion: ut,
|
|
113831
113833
|
loading: X2?.query_intent
|
|
113832
113834
|
}
|
|
113833
113835
|
),
|
|
113834
113836
|
/* @__PURE__ */ l2.jsx(
|
|
113835
113837
|
cl,
|
|
113836
113838
|
{
|
|
113837
|
-
Detail:
|
|
113839
|
+
Detail: Ee2.find((R2) => R2.type === "tools"),
|
|
113838
113840
|
ChunkData: P3,
|
|
113839
113841
|
loading: X2?.tools
|
|
113840
113842
|
}
|
|
@@ -113842,7 +113844,7 @@ const ff = memo(
|
|
|
113842
113844
|
/* @__PURE__ */ l2.jsx(
|
|
113843
113845
|
hl,
|
|
113844
113846
|
{
|
|
113845
|
-
Detail:
|
|
113847
|
+
Detail: Ee2.find((R2) => R2.type === "fetch_source"),
|
|
113846
113848
|
ChunkData: V2,
|
|
113847
113849
|
loading: X2?.fetch_source,
|
|
113848
113850
|
formatUrl: d2
|
|
@@ -113851,7 +113853,7 @@ const ff = memo(
|
|
|
113851
113853
|
/* @__PURE__ */ l2.jsx(
|
|
113852
113854
|
pl,
|
|
113853
113855
|
{
|
|
113854
|
-
Detail:
|
|
113856
|
+
Detail: Ee2.find((R2) => R2.type === "pick_source"),
|
|
113855
113857
|
ChunkData: S3,
|
|
113856
113858
|
loading: X2?.pick_source
|
|
113857
113859
|
}
|
|
@@ -113859,7 +113861,7 @@ const ff = memo(
|
|
|
113859
113861
|
/* @__PURE__ */ l2.jsx(
|
|
113860
113862
|
gl,
|
|
113861
113863
|
{
|
|
113862
|
-
Detail:
|
|
113864
|
+
Detail: Ee2.find((R2) => R2.type === "deep_read"),
|
|
113863
113865
|
ChunkData: T2,
|
|
113864
113866
|
loading: X2?.deep_read
|
|
113865
113867
|
}
|
|
@@ -113867,50 +113869,50 @@ const ff = memo(
|
|
|
113867
113869
|
/* @__PURE__ */ l2.jsx(
|
|
113868
113870
|
yl,
|
|
113869
113871
|
{
|
|
113870
|
-
Detail:
|
|
113871
|
-
ChunkData:
|
|
113872
|
+
Detail: Ee2.find((R2) => R2.type === "think"),
|
|
113873
|
+
ChunkData: M2,
|
|
113872
113874
|
loading: X2?.think
|
|
113873
113875
|
}
|
|
113874
113876
|
),
|
|
113875
113877
|
/* @__PURE__ */ l2.jsx("div", { className: "cm-markdown", children: /* @__PURE__ */ l2.jsx(
|
|
113876
113878
|
L,
|
|
113877
113879
|
{
|
|
113878
|
-
content: re2 ||
|
|
113880
|
+
content: re2 || I2?.message_chunk || ""
|
|
113879
113881
|
}
|
|
113880
113882
|
) }),
|
|
113881
|
-
/* @__PURE__ */ l2.jsx(uf, { payload:
|
|
113883
|
+
/* @__PURE__ */ l2.jsx(uf, { payload: qe2, formatUrl: d2 }),
|
|
113882
113884
|
/* @__PURE__ */ l2.jsx(
|
|
113883
113885
|
cf,
|
|
113884
113886
|
{
|
|
113885
113887
|
ChunkData: Q2,
|
|
113886
|
-
question:
|
|
113888
|
+
question: at2,
|
|
113887
113889
|
formatUrl: d2,
|
|
113888
113890
|
theme: g2
|
|
113889
113891
|
}
|
|
113890
113892
|
),
|
|
113891
113893
|
s2 && /* @__PURE__ */ l2.jsx("div", { className: "inline-block w-1.5 h-5 ml-0.5 -mb-0.5 bg-[#666666] dark:bg-[#A3A3A3] rounded-sm animate-typing" }),
|
|
113892
|
-
|
|
113894
|
+
lt && /* @__PURE__ */ l2.jsx(
|
|
113893
113895
|
vl,
|
|
113894
113896
|
{
|
|
113895
113897
|
id: t2._id ?? "",
|
|
113896
|
-
content: re2 ||
|
|
113897
|
-
question:
|
|
113898
|
+
content: re2 || I2?.message_chunk || "",
|
|
113899
|
+
question: at2,
|
|
113898
113900
|
actionClassName: o2,
|
|
113899
113901
|
actionIconSize: a2,
|
|
113900
113902
|
copyButtonId: c2,
|
|
113901
113903
|
onResend: () => {
|
|
113902
|
-
n2 && n2(
|
|
113904
|
+
n2 && n2(at2);
|
|
113903
113905
|
}
|
|
113904
113906
|
}
|
|
113905
113907
|
),
|
|
113906
113908
|
!s2 && /* @__PURE__ */ l2.jsx(
|
|
113907
113909
|
bl,
|
|
113908
113910
|
{
|
|
113909
|
-
suggestions:
|
|
113911
|
+
suggestions: ct,
|
|
113910
113912
|
onSelect: (R2) => n2 && n2(R2)
|
|
113911
113913
|
}
|
|
113912
113914
|
)
|
|
113913
|
-
] }) : /* @__PURE__ */ l2.jsx(Al, { message: re2, attachments:
|
|
113915
|
+
] }) : /* @__PURE__ */ l2.jsx(Al, { message: re2, attachments: jt });
|
|
113914
113916
|
return /* @__PURE__ */ l2.jsx(
|
|
113915
113917
|
"div",
|
|
113916
113918
|
{
|
|
@@ -113929,11 +113931,11 @@ const ff = memo(
|
|
|
113929
113931
|
{
|
|
113930
113932
|
className: `w-full space-y-2 ${B3 ? "text-left" : "text-right"}`,
|
|
113931
113933
|
children: [
|
|
113932
|
-
!r2 && /* @__PURE__ */ l2.jsxs("div", { className: "w-full flex items-center gap-1 font-semibold text-sm text-[#333] dark:text-white", children: [
|
|
113933
|
-
B3 ? /* @__PURE__ */ l2.jsx("div", { className: "w-6 h-6 flex justify-center items-center rounded-full bg-white dark:bg-[#2A2A2A] border border-[#E6E6E6] dark:border-[#3A3A3A]", children:
|
|
113934
|
-
|
|
113934
|
+
!r2 && (Be2() || I2 || M2) && /* @__PURE__ */ l2.jsxs("div", { className: "w-full flex items-center gap-1 font-semibold text-sm text-[#333] dark:text-white", children: [
|
|
113935
|
+
B3 ? /* @__PURE__ */ l2.jsx("div", { className: "w-6 h-6 flex justify-center items-center rounded-full bg-white dark:bg-[#2A2A2A] border border-[#E6E6E6] dark:border-[#3A3A3A]", children: v2?._source?.icon?.startsWith("font_") ? /* @__PURE__ */ l2.jsx(
|
|
113936
|
+
Cl,
|
|
113935
113937
|
{
|
|
113936
|
-
name:
|
|
113938
|
+
name: v2._source.icon,
|
|
113937
113939
|
className: "w-4 h-4"
|
|
113938
113940
|
}
|
|
113939
113941
|
) : /* @__PURE__ */ l2.jsx(
|
|
@@ -113944,9 +113946,18 @@ const ff = memo(
|
|
|
113944
113946
|
alt: w2("assistant.message.logo")
|
|
113945
113947
|
}
|
|
113946
113948
|
) }) : null,
|
|
113947
|
-
B3 ?
|
|
113949
|
+
B3 ? v2?._source?.name || "Coco AI" : ""
|
|
113948
113950
|
] }),
|
|
113949
|
-
/* @__PURE__ */ l2.jsx("div", { className: "w-full prose dark:prose-invert prose-sm max-w-none", children: /* @__PURE__ */ l2.jsx(
|
|
113951
|
+
/* @__PURE__ */ l2.jsx("div", { className: "w-full prose dark:prose-invert prose-sm max-w-none", children: /* @__PURE__ */ l2.jsx(
|
|
113952
|
+
"div",
|
|
113953
|
+
{
|
|
113954
|
+
className: clsx(
|
|
113955
|
+
"w-full text-[#333] dark:text-white leading-relaxed",
|
|
113956
|
+
B3 && "pl-7"
|
|
113957
|
+
),
|
|
113958
|
+
children: Be2()
|
|
113959
|
+
}
|
|
113960
|
+
) })
|
|
113950
113961
|
]
|
|
113951
113962
|
}
|
|
113952
113963
|
)
|
|
@@ -114984,9 +114995,6 @@ const ActiveChatMessage = ({
|
|
|
114984
114995
|
currentAssistant
|
|
114985
114996
|
}) => {
|
|
114986
114997
|
const allMessages = activeChat?.messages || [];
|
|
114987
|
-
if (curChatEnd) {
|
|
114988
|
-
return null;
|
|
114989
|
-
}
|
|
114990
114998
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
114991
114999
|
Tf,
|
|
114992
115000
|
{
|
|
@@ -115231,6 +115239,7 @@ const InnerChatAI = memo(
|
|
|
115231
115239
|
messages: [...baseChat.messages || [], messageItem]
|
|
115232
115240
|
};
|
|
115233
115241
|
}
|
|
115242
|
+
console.log("setActiveChat3", nextChat);
|
|
115234
115243
|
setActiveChat(nextChat);
|
|
115235
115244
|
}
|
|
115236
115245
|
const chunkData = JSON.parse(msg);
|
|
@@ -115249,14 +115258,11 @@ const InnerChatAI = memo(
|
|
|
115249
115258
|
},
|
|
115250
115259
|
[activeChat, setActiveChat, setCurChatEnd]
|
|
115251
115260
|
);
|
|
115252
|
-
const prepareChatSession = useCallback(
|
|
115253
|
-
|
|
115254
|
-
|
|
115255
|
-
|
|
115256
|
-
|
|
115257
|
-
},
|
|
115258
|
-
[]
|
|
115259
|
-
);
|
|
115261
|
+
const prepareChatSession = useCallback(async (value) => {
|
|
115262
|
+
activeMessageRef.current?.reset();
|
|
115263
|
+
setTimedoutShow(false);
|
|
115264
|
+
setQuestion(value);
|
|
115265
|
+
}, []);
|
|
115260
115266
|
const fetchHistory = useCallback(
|
|
115261
115267
|
async (chatId) => {
|
|
115262
115268
|
try {
|
|
@@ -115268,6 +115274,10 @@ const InnerChatAI = memo(
|
|
|
115268
115274
|
const hits = res?.hits?.hits ?? [];
|
|
115269
115275
|
const currentActive = useChatStore.getState().activeChat;
|
|
115270
115276
|
if (currentActive?._id === chatId) {
|
|
115277
|
+
console.log("setActiveChat4", {
|
|
115278
|
+
...currentActive,
|
|
115279
|
+
messages: hits
|
|
115280
|
+
});
|
|
115271
115281
|
setActiveChat({
|
|
115272
115282
|
...currentActive,
|
|
115273
115283
|
messages: hits
|
|
@@ -115332,7 +115342,14 @@ const InnerChatAI = memo(
|
|
|
115332
115342
|
onMessage: handleStreamMessage
|
|
115333
115343
|
});
|
|
115334
115344
|
},
|
|
115335
|
-
[
|
|
115345
|
+
[
|
|
115346
|
+
prepareChatSession,
|
|
115347
|
+
fetchHistory,
|
|
115348
|
+
currentAssistant?._source?.deep_research_enabled,
|
|
115349
|
+
currentAssistant?._source?.deep_think_enabled,
|
|
115350
|
+
currentAssistant?._id,
|
|
115351
|
+
handleStreamMessage
|
|
115352
|
+
]
|
|
115336
115353
|
);
|
|
115337
115354
|
const handleSendMessage = useCallback(
|
|
115338
115355
|
async (chat, params) => {
|
|
@@ -115358,23 +115375,36 @@ const InnerChatAI = memo(
|
|
|
115358
115375
|
}
|
|
115359
115376
|
setCurChatEnd(true);
|
|
115360
115377
|
}, [activeChat, setCurChatEnd]);
|
|
115361
|
-
const clearChat = useCallback(() => {
|
|
115362
|
-
setTimedoutShow(false);
|
|
115363
|
-
setActiveChat(void 0);
|
|
115364
|
-
setCurChatEnd(true);
|
|
115365
|
-
}, [setActiveChat, setCurChatEnd]);
|
|
115366
115378
|
const onSelectChat = useCallback(
|
|
115367
115379
|
async (chat) => {
|
|
115368
|
-
|
|
115380
|
+
activeMessageRef.current?.reset();
|
|
115369
115381
|
setCurChatEnd(true);
|
|
115370
115382
|
setTimedoutShow(false);
|
|
115371
|
-
|
|
115372
|
-
|
|
115373
|
-
|
|
115383
|
+
console.log("setActiveChat5", chat);
|
|
115384
|
+
setActiveChat(chat);
|
|
115385
|
+
if (chat?._id) {
|
|
115386
|
+
await fetchHistory(chat?._id);
|
|
115374
115387
|
}
|
|
115375
115388
|
},
|
|
115376
115389
|
[setActiveChat, setCurChatEnd, fetchHistory]
|
|
115377
115390
|
);
|
|
115391
|
+
const clearChat = useCallback(() => {
|
|
115392
|
+
onSelectChat(void 0);
|
|
115393
|
+
}, [onSelectChat]);
|
|
115394
|
+
const lastActiveChatIdRef = useRef(void 0);
|
|
115395
|
+
useEffect(() => {
|
|
115396
|
+
console.log(555555, activeChat?._id, lastActiveChatIdRef.current);
|
|
115397
|
+
if (activeChat?._id && activeChat._id !== lastActiveChatIdRef.current) {
|
|
115398
|
+
lastActiveChatIdRef.current = activeChat._id;
|
|
115399
|
+
setTimeout(() => {
|
|
115400
|
+
onSelectChat(activeChat);
|
|
115401
|
+
}, 0);
|
|
115402
|
+
}
|
|
115403
|
+
}, [activeChat, onSelectChat]);
|
|
115404
|
+
const getFileUrl = useCallback(
|
|
115405
|
+
(path) => `${baseUrl?.replace(/\/$/, "")}/files/${encodeURIComponent(path)}`,
|
|
115406
|
+
[baseUrl]
|
|
115407
|
+
);
|
|
115378
115408
|
useImperativeHandle(ref2, () => ({
|
|
115379
115409
|
init: (params) => {
|
|
115380
115410
|
if (!activeChat?._id) {
|
|
@@ -115389,10 +115419,6 @@ const InnerChatAI = memo(
|
|
|
115389
115419
|
clearChat,
|
|
115390
115420
|
onSelectChat
|
|
115391
115421
|
}));
|
|
115392
|
-
const getFileUrl = useCallback(
|
|
115393
|
-
(path) => `${baseUrl?.replace(/\/$/, "")}/files/${encodeURIComponent(path)}`,
|
|
115394
|
-
[baseUrl]
|
|
115395
|
-
);
|
|
115396
115422
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col rounded-md h-full overflow-hidden relative", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
115397
115423
|
ChatContent,
|
|
115398
115424
|
{
|
|
@@ -116089,13 +116115,18 @@ const HistoryList = (props) => {
|
|
|
116089
116115
|
}
|
|
116090
116116
|
);
|
|
116091
116117
|
};
|
|
116092
|
-
function InnerHistory({
|
|
116118
|
+
function InnerHistory({
|
|
116119
|
+
BaseUrl,
|
|
116120
|
+
Token: Token2,
|
|
116121
|
+
locale = "en",
|
|
116122
|
+
t: tProp
|
|
116123
|
+
}) {
|
|
116093
116124
|
const { t: tOriginal } = useTranslation();
|
|
116094
116125
|
const t2 = tProp || tOriginal;
|
|
116095
116126
|
const chats = useChatStore((state2) => state2.chats);
|
|
116096
116127
|
const setChats = useChatStore((state2) => state2.setChats);
|
|
116097
|
-
const
|
|
116098
|
-
const
|
|
116128
|
+
const activeChat = useChatStore((state2) => state2.activeChat);
|
|
116129
|
+
const setActiveChat = useChatStore((state2) => state2.setActiveChat);
|
|
116099
116130
|
const [messageApi, contextHolder] = message.useMessage();
|
|
116100
116131
|
const [keyword, setKeyword] = useState("");
|
|
116101
116132
|
const [renamingId, setRenamingId] = useState("");
|
|
@@ -116129,23 +116160,22 @@ function InnerHistory({ BaseUrl, Token: Token2, locale = "en", t: tProp }) {
|
|
|
116129
116160
|
const hits = res?.hits?.hits || [];
|
|
116130
116161
|
setChats(hits);
|
|
116131
116162
|
if (hits.length > 0) {
|
|
116132
|
-
|
|
116133
|
-
|
|
116134
|
-
setActive(hits[0]);
|
|
116135
|
-
}
|
|
116163
|
+
console.log("setActiveChat1", hits[0]);
|
|
116164
|
+
setActiveChat(hits[0]);
|
|
116136
116165
|
}
|
|
116137
116166
|
} catch (e2) {
|
|
116138
116167
|
console.error(e2);
|
|
116139
116168
|
}
|
|
116140
|
-
}, [keyword, setChats,
|
|
116169
|
+
}, [keyword, setChats, setActiveChat]);
|
|
116141
116170
|
useEffect(() => {
|
|
116142
116171
|
fetchChatHistory();
|
|
116143
116172
|
}, [fetchChatHistory]);
|
|
116144
116173
|
const onSelect = useCallback(
|
|
116145
116174
|
async (chat) => {
|
|
116146
|
-
|
|
116175
|
+
console.log("setActiveChat2", chat);
|
|
116176
|
+
setActiveChat(chat);
|
|
116147
116177
|
},
|
|
116148
|
-
[
|
|
116178
|
+
[setActiveChat]
|
|
116149
116179
|
);
|
|
116150
116180
|
const onRename = useCallback(
|
|
116151
116181
|
async (chatId, title) => {
|
|
@@ -116205,7 +116235,7 @@ function InnerHistory({ BaseUrl, Token: Token2, locale = "en", t: tProp }) {
|
|
|
116205
116235
|
{
|
|
116206
116236
|
historyPanelId: "history-panel",
|
|
116207
116237
|
chats,
|
|
116208
|
-
active,
|
|
116238
|
+
active: activeChat,
|
|
116209
116239
|
onSearch: setKeyword,
|
|
116210
116240
|
onRefresh: fetchChatHistory,
|
|
116211
116241
|
onSelect,
|