@banou/stub 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/build/.well-known/fkn.json +1 -1
  2. package/build/assets/embed-VjpeLPHx.js +1461 -0
  3. package/build/assets/index-Cq0deG16.js +1964 -0
  4. package/build/assets/lib-DHuurgWT.js +71 -0
  5. package/build/assets/{lib-account-BuVN6Bsx.js → lib-account-B_rZrj_U.js} +1 -1
  6. package/build/assets/lib-account-ZA7I4UZl.js +2 -0
  7. package/build/assets/lib-api-0oE17Lze.js +2 -0
  8. package/build/assets/{lib-build-DEOZ3A7n.js → lib-api-DLvscoll-INenJIDp.js} +863 -556
  9. package/build/assets/lib-worker-B7p9HUJX.js +2 -0
  10. package/build/assets/lib-worker-C6VkH7Kf.js +9006 -0
  11. package/build/assets/lib-worker-index-DCktGn3b.js +1964 -0
  12. package/build/assets/main-DZ0Ws1xk.css +1 -0
  13. package/build/assets/main-JLaHac0l.js +3844 -0
  14. package/build/assets/uri-CY1i0hlC.js +1 -0
  15. package/build/assets/worker-CaEIruuB.js +1 -0
  16. package/build/assets/worker-juGKbgx7.js +1 -0
  17. package/build/embed.html +4 -8
  18. package/build/fkn.json +1 -1
  19. package/build/index.html +5 -8
  20. package/build/index.js +23838 -35935
  21. package/fkn.json +1 -1
  22. package/package.json +6 -3
  23. package/build/assets/Preview-DG9nqCV0.js +0 -1
  24. package/build/assets/compat-CusyxzKh.js +0 -1
  25. package/build/assets/custom-media-element-BDICDseJ.js +0 -43
  26. package/build/assets/dash.all.min-Dbg8AB-J.js +0 -19
  27. package/build/assets/dist-BgIerfpp.js +0 -3136
  28. package/build/assets/dist-BrpV89uJ.js +0 -1
  29. package/build/assets/dist-D-OKiX-f.js +0 -1
  30. package/build/assets/dist-D_XB-JLn.js +0 -40
  31. package/build/assets/embed-DBjG5JMH.js +0 -1
  32. package/build/assets/index-BHgdalnH.js +0 -1401
  33. package/build/assets/lib-Preview-B6uZKyhl.js +0 -82
  34. package/build/assets/lib-account-Cw8yCZtf.js +0 -2
  35. package/build/assets/lib-api-DLvscoll-DhlBp9Wz.js +0 -312
  36. package/build/assets/lib-api-DVwR-22s.js +0 -2
  37. package/build/assets/lib-compat-D8G4_Lzi.js +0 -860
  38. package/build/assets/lib-custom-media-element-CnANKrGl.js +0 -217
  39. package/build/assets/lib-dash.all.min-CDvdorbj.js +0 -27251
  40. package/build/assets/lib-dist-Dv8d3Kr0.js +0 -7
  41. package/build/assets/lib-dist-S8Gxnnq-.js +0 -12468
  42. package/build/assets/lib-dist-T0QlKbbk.js +0 -18578
  43. package/build/assets/lib-dist-xBHT3Lfz.js +0 -911
  44. package/build/assets/lib-react-BEg4mBBK.js +0 -112
  45. package/build/assets/lib-react-C0OCUIWX.js +0 -434
  46. package/build/assets/lib-react-CAkOlDha.js +0 -367
  47. package/build/assets/lib-react-CGlZXIjl.js +0 -2187
  48. package/build/assets/lib-react-CLVoi_ZM.js +0 -334
  49. package/build/assets/lib-react-DUxKSzCt.js +0 -311
  50. package/build/assets/lib-react-QvmpnEVK.js +0 -334
  51. package/build/assets/lib-react-WTnxAo6F.js +0 -202
  52. package/build/assets/lib-remote-DeY2A2G7.js +0 -416
  53. package/build/assets/lib-remote-DxEZmpd0.js +0 -2
  54. package/build/assets/lib-worker-index-C7ynIZYg.js +0 -1401
  55. package/build/assets/main-q4eQ72Te.js +0 -3349
  56. package/build/assets/players-BIbP12aF.js +0 -1530
  57. package/build/assets/preload-helper-D2XUqLHy.js +0 -1
  58. package/build/assets/react-BDr8Ag8b.js +0 -19
  59. package/build/assets/react-BTju4bmn.js +0 -22
  60. package/build/assets/react-CLMfdUXR.js +0 -2
  61. package/build/assets/react-CjmRCHoG.js +0 -34
  62. package/build/assets/react-Cs34a503.js +0 -19
  63. package/build/assets/react-DKSDz1wJ.js +0 -6
  64. package/build/assets/react-bkM_mQGd.js +0 -17
  65. package/build/assets/react-kPj0f67l.js +0 -21
  66. package/build/assets/rolldown-runtime-CNC7AqOf.js +0 -1
  67. /package/build/assets/{players-3a7RYKgR.css → embed-3a7RYKgR.css} +0 -0
package/fkn.json CHANGED
@@ -1 +1 @@
1
- {"v":1,"app":"fkn:app:1mv4iei5nrldfysclsmkxnadt4a2y3k6y7rsln6hkawsuep7bo3vq","root":"5Nagknk9CNeVCZoPl1lBbNe6I5JqTW7a7xoN8AXRg3E=","slug":"stub","keys":{"serial":0,"members":["UgFyOKUlOb5rt9YfoqiIofxArQt2evRREFbuRgHYOGE="],"sig":"905Et1WneOyEFktPt2HTN1KGXJtrfpUmCjSOWZHlrU7uDoK9fTBE0Na8LzVXYll/RW6KfUiCCmCbr7vzJG9zCA=="},"key":"UgFyOKUlOb5rt9YfoqiIofxArQt2evRREFbuRgHYOGE=","sources":["npm:@banou/stub","https:anime.fkn.app"],"name":"Stub","issuedAt":1789106234,"sig":"VCR2u0nphf0GWqugfgLTgK0xw6QVOGLG76MNQIVww1vwx61GzNTfyfG/gEJ14hoMymS2VR2pQkF1AH814zLJCw=="}
1
+ {"v":1,"app":"fkn:app:1mv4iei5nrldfysclsmkxnadt4a2y3k6y7rsln6hkawsuep7bo3vq","root":"5Nagknk9CNeVCZoPl1lBbNe6I5JqTW7a7xoN8AXRg3E=","slug":"stub","keys":{"serial":0,"members":["UgFyOKUlOb5rt9YfoqiIofxArQt2evRREFbuRgHYOGE="],"sig":"905Et1WneOyEFktPt2HTN1KGXJtrfpUmCjSOWZHlrU7uDoK9fTBE0Na8LzVXYll/RW6KfUiCCmCbr7vzJG9zCA=="},"key":"UgFyOKUlOb5rt9YfoqiIofxArQt2evRREFbuRgHYOGE=","sources":["npm:@banou/stub","https:anime.fkn.app"],"name":"Stub","issuedAt":1789333609,"contents":{"name":"@banou/stub","version":"0.0.21","alg":"sha256","files":{"README.md":"UlRX2sBn1TfnBWbCmOoAbyYQ7jYz5xwO1YmpGLIarsY=","build/_headers":"9W0cSAW6o130D9QJkqnbfXKpsw8+VoNrecvGI5OQgOo=","build/assets/account-CTqTIqCB.js":"AjSBfjeNQ+FcYGVk9a9fJ/Vx0YJ45I80nthhgTrzL+U=","build/assets/account-DQlY5DdH.js":"ENgHafFlaqZjYh5xGQ/lKU9Zw0N9Ry48ZtXSTq1U6hw=","build/assets/anime-index-Jbe1K3rX.js":"GX18NEu4KqVsycGt40uiW2kcHF1A9hXPt/pVKrzdSSk=","build/assets/anime-seasons-CVM0BQGM.js":"L6fZ6Qpvlqr/dhdK1nl3Pa51iq4tVu8U6xchCJ/pO84=","build/assets/api-D5uFVynV.js":"n3rE18v1StQLBI18V34btzN6ZIStRfStDmeDKAMd0w4=","build/assets/api-DLvscoll-DBsLjsEb.js":"b0WFXmf96Gc26elpg3CpmXsmslQsFrFHg+AQbt9ZErs=","build/assets/build-BuC_lDPE.js":"NtDVx4cXy+y7UAbJEGMemdHW6KLNgaUB4MmdLLjj6tQ=","build/assets/embed-3a7RYKgR.css":"EuPdgWlK6mGFtnOnlqri0xmDiB/N98ZkSuFJJYccMsY=","build/assets/embed-VjpeLPHx.js":"xbpHjUPLjjA4RsVwv0OpvAoRelg1Iu9kjDlMzx2Okfc=","build/assets/frizbee_wasm_bg-FO8dlm9E.wasm":"EbPVSEfqpLjbbYlJez4oFXWj1pxftV//IJXVMjMkxWY=","build/assets/index-Cq0deG16.js":"K92fXFdamutC4cmsTf8fG+Gv5MJuYyvGDcNFd+DqiVk=","build/assets/lib-DHuurgWT.js":"FxVkMzbR+DoC9rA5+m2Wv6UdSnBj8zUNVPgJOkN4IJ8=","build/assets/lib-account-B_rZrj_U.js":"zEoUJzv5DKRPCsKijHKWkuX3L8xOldisC/fAdQSRDOI=","build/assets/lib-account-ZA7I4UZl.js":"2Blc2ODnUVJvn15K4coFcxXqXNAWkvbBCODnhni6a/E=","build/assets/lib-api-0oE17Lze.js":"0RFUVvqfHTOBZTx3vmnRRSYDFlE3yiVW4nvboBMM4RU=","build/assets/lib-api-DLvscoll-INenJIDp.js":"VMctg/t/Y5FfzDiAXu0bIesmsbPsoCqcZD4CnGFirps=","build/assets/lib-rolldown-runtime-B1bRi_D7.js":"E0tpx7MZWvgIy/WCYXUIm+rSlt9pGNvmLilLgfHtQeg=","build/assets/lib-worker-B7p9HUJX.js":"je0f7DCT9qELHHXGZcX4+Y0V/sHdmKk8xIHPiusMcQ0=","build/assets/lib-worker-C6VkH7Kf.js":"pNc2AZpbcaaaEvHoYAeBqT3fsurMTkCPA/TKwNfq0TY=","build/assets/lib-worker-anime-index-Jbe1K3rX.js":"GX18NEu4KqVsycGt40uiW2kcHF1A9hXPt/pVKrzdSSk=","build/assets/lib-worker-anime-seasons-CVM0BQGM.js":"L6fZ6Qpvlqr/dhdK1nl3Pa51iq4tVu8U6xchCJ/pO84=","build/assets/lib-worker-index-DCktGn3b.js":"RdAdfnti/zuncMLqs9PxlfANvbGTdsw2455dx0JMUB0=","build/assets/main-DZ0Ws1xk.css":"7ZwsfA3yMBRBULTT1josyqLgFuhPAA3WK165z4KQS/U=","build/assets/main-JLaHac0l.js":"TXzS0A2jDw/QlqubSMRXH/S9PmP8555vGLK7gcA+kJo=","build/assets/remote-CW2xewp5.js":"DiiTfjp/h/c7x3NHKguTCp1A1m7iZkeobjP6rbIyzOc=","build/assets/remote-DNcNpuT3.js":"Rab/fhj5AZ04E8pJNkb8I42omSwL6G8UmCk6PtF55e8=","build/assets/sacha_bg-CNH7LeJ_.wasm":"smWtrIBF7AJr+ZplWM15OF/LhD/8/qI1IA2fVj6hCHM=","build/assets/uri-CY1i0hlC.js":"4BvjYcFlub9m78Rzv+XXBA5E8CK2rrJL8JxZhW9sC4A=","build/assets/worker-CaEIruuB.js":"gdYbJP71utqxOxie/CSTgGuZgwzPorw+KKsYrY0jPPQ=","build/assets/worker-juGKbgx7.js":"XNV+9owbXXzc/E1KGcZUqWQfb9JmCRCMnxFM/22aYPI=","build/embed.html":"qK33ZxRw4vqhJCi2aCAXAy+xZM10VW3bvkfKSBjMwkE=","build/index.html":"JcDh7FNep9nN4o8e5oRVhx5ZNJ16XoFyc6KgigX+b5Y=","build/index.js":"5/dscOrZLPekWmQ5Ez1UaVuyOrr7oEwVJQtp9KZER7M=","package.json":"TL2TR0RE9Is5YC1DUqreQJiGNNUGBkrdJV+pcgAKBdY="}},"sig":"n/+lFt7YF+XELBXurIEW84QzqM28M+sMkQHnuBIPEJM5Yt2liHLotG4UMiBjdHc1iMS6o9IFUyZCxP+2BO9gBA=="}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banou/stub",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "keywords": [
5
5
  "fkn",
6
6
  "fkn-type:app"
@@ -24,6 +24,9 @@
24
24
  "data:build": "node scripts/build-anime-data.mjs",
25
25
  "data:build-offline": "node scripts/build-anime-data.mjs --offline",
26
26
  "seed:export": "node scripts/export-season-seed.mjs",
27
+ "corpus:walk": "node scripts/walk-season-answers.mjs",
28
+ "corpus:label": "node scripts/label-corpus.mjs",
29
+ "corpus:replay": "node scripts/replay-answers.mjs",
27
30
  "build-test": "npm run data:build && vp build --config vite.test.config.ts",
28
31
  "build-test-watch": "vp build --config vite.test.config.ts --watch",
29
32
  "test": "npm run test:unit && npm run build-test && playwright test",
@@ -49,6 +52,7 @@
49
52
  "@videojs/core": "10.0.0-beta.26",
50
53
  "@videojs/media": "10.0.0-beta.26",
51
54
  "@videojs/react": "10.0.0-beta.26",
55
+ "@xyflow/react": "^12.11.6",
52
56
  "dataloader": "^2.2.3",
53
57
  "dompurify": "^3.2.6",
54
58
  "frizbee": "^0.13.0",
@@ -62,7 +66,6 @@
62
66
  "osra": "^0.6.4",
63
67
  "preact": "^11.0.0-beta.0",
64
68
  "react-hook-form": "^7.62.0",
65
- "react-player": "^3.3.2",
66
69
  "react-window": "^2.0.1",
67
70
  "sacha": "^0.2.4",
68
71
  "urql": "^4.2.2",
@@ -70,7 +73,7 @@
70
73
  },
71
74
  "devDependencies": {
72
75
  "@eddeee888/gcg-typescript-resolver-files": "^0.12.1",
73
- "@fkn/sign": "^0.0.2",
76
+ "@fkn/sign": "^0.0.4",
74
77
  "@graphql-codegen/cli": "^5.0.7",
75
78
  "@graphql-codegen/typescript": "^4.1.6",
76
79
  "@graphql-codegen/typescript-document-nodes": "^4.0.16",
@@ -1 +0,0 @@
1
- import{f as e,i as t,x as n,y as r}from"./compat-CusyxzKh.js";e();var i=`64px`,a={},o=({src:e,light:o,oEmbedUrl:s,onClickPreview:c,playIcon:l,previewTabIndex:u,previewAriaLabel:d})=>{let[f,p]=n(null);r(()=>{!e||!o||!s||m({src:e,light:o,oEmbedUrl:s})},[e,o,s]);let m=async({src:e,light:n,oEmbedUrl:r})=>{if(t.isValidElement(n))return;if(typeof n==`string`){p(n);return}if(a[e]){p(a[e]);return}p(null);let i=await(await fetch(r.replace(`{url}`,e))).json();if(i.thumbnail_url){let t=i.thumbnail_url.replace(`height=100`,`height=480`).replace(`-d_295x166`,`-d_640`);p(t),a[e]=t}},h=e=>{(e.key===`Enter`||e.key===` `)&&c?.(e)},g=e=>{c?.(e)},_=t.isValidElement(o),v={display:`flex`,alignItems:`center`,justifyContent:`center`},y={preview:{width:`100%`,height:`100%`,backgroundImage:f&&!_?`url(${f})`:void 0,backgroundSize:`cover`,backgroundPosition:`center`,cursor:`pointer`,...v},shadow:{background:`radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)`,borderRadius:i,width:i,height:i,position:_?`absolute`:void 0,...v},playIcon:{borderStyle:`solid`,borderWidth:`16px 0 16px 26px`,borderColor:`transparent transparent transparent white`,marginLeft:`7px`}},b=t.createElement(`div`,{style:y.shadow,className:`react-player__shadow`},t.createElement(`div`,{style:y.playIcon,className:`react-player__play-icon`}));return t.createElement(`div`,{style:y.preview,className:`react-player__preview`,tabIndex:u,onClick:g,onKeyPress:h,...d?{"aria-label":d}:{}},_?o:null,l||b)};export{o as default};
@@ -1 +0,0 @@
1
- import{n as e,r as t}from"./rolldown-runtime-CNC7AqOf.js";function n(e){e&&e.parentNode&&e.remove()}function r(e,t,n){var r,a,o,s={};for(o in t)o==`key`?r=t[o]:o==`ref`&&typeof e!=`function`?a=t[o]:s[o]=t[o];return arguments.length>2&&(s.children=arguments.length>3?ae.call(arguments,2):n),i(e,s,r,a,null)}function i(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++ne,__i:-1,__u:0};return i==null&&A.vnode!=null&&A.vnode(a),a}function a(){return{current:null}}function o(e){return e.children}function s(e,t){this.props=e,this.context=t,this.__g=0}function c(e,t){if(t==null)return e.__?c(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?c(e):null}function l(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=n.__e;break}return l(e)}}function u(e){(8&e.__g||!(e.__g|=8)||!j.push(e)||N++)&&M==A.debounceRendering||((M=A.debounceRendering)||queueMicrotask)(d)}function d(){for(var e,t,n,r,i,a,o,s,u=1;j.length;)j.length>u&&j.sort(P),e=j.shift(),u=j.length,8&e.__g&&(n=void 0,i=(r=(t=e).__v).__e,a=[],o=[],(s=t.__P)&&((n=V({},r)).__v=r.__v+1,A.vnode&&A.vnode(n),b(s,n,r,t.__n,s.namespaceURI,32&r.__u?[i]:null,a,i??c(r),!!(32&r.__u),o,s.ownerDocument),n.__v=r.__v,n.__.__k[n.__i]=n,S(a,n,o),n.__e!=i&&l(n)));N=0}function f(e,t,n,r,i,a,o,s,c,l,u,d){var f,h,g,_,v,y,x,S=r&&r.__k||ie,C=t.length;for(c=p(n,t,S,c,C),f=0;f<C;f++)(g=n.__k[f])!=null&&(h=g.__i==-1?z:S[g.__i]||z,g.__i=f,y=b(e,g,h,i,a,o,s,c,l,u,d),_=g.__e,g.ref&&h.ref!=g.ref&&(h.ref&&T(h.ref,null,g),u.push(g.ref,g.__c||_,g)),v==null&&_!=null&&(v=_),(x=!!(4&g.__u))||h.__k===g.__k?c=m(g,c,e,x):typeof g.type==`function`&&y!==void 0?c=y:_&&(c=_.nextSibling),g.__u&=-7);return n.__e=v,c}function p(e,t,n,r,a){var s,l,u,d,f,p=n.length,m=p,h=0;for(e.__k=Array(a),s=0;s<a;s++)(l=t[s])!=null&&typeof l!=`boolean`&&typeof l!=`function`?(d=s+h,(l=e.__k[s]=typeof l==`string`||typeof l==`number`||typeof l==`bigint`||l.constructor==String?i(null,l,null,null,null):B(l)?i(o,{children:l},null,null,null):l.constructor==null&&l.__b>0?i(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=e,l.__b=e.__b+1,u=null,(f=l.__i=g(l,n,d,m))!=-1&&(m--,(u=n[f])&&(u.__u|=2)),u==null||u.__v==null?(f==-1&&(a>p?h--:a<p&&h++),typeof l.type!=`function`&&(l.__u|=4)):f!=d&&(f==d-1?h--:f==d+1?h++:(f>d?h--:h++,l.__u|=4))):e.__k[s]=null;if(m)for(s=0;s<p;s++)(u=n[s])!=null&&!(2&u.__u)&&(u.__e==r&&(r=c(u)),E(u,u));return r}function m(e,t,n,r){var i,a;if(typeof e.type==`function`){for(i=e.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=e,t=m(i[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=c(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function h(e,t){return t||=[],e==null||typeof e==`boolean`||(B(e)?e.some(function(e){h(e,t)}):t.push(e)),t}function g(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&(2&l.__u)==0;if(l===null&&e.key==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function _(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n??``}function v(e,t,n,r,i){var a;n:if(t==`style`)if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||_(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||_(e.style,t,n[t])}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(F,`$1`)),(t=t.slice(2))[0].toLowerCase()!=t[0]&&(t=t.toLowerCase()),e.__l||={},e.__l[t+a]=n,n?r?n.l=r.l:(n.l=I,e.addEventListener(t,a?R:L,a)):e.removeEventListener(t,a?R:L,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function y(e){return function(t){if(this.__l){var n=this.__l[t.type+e];if(t.u==null)t.u=I++;else if(t.u<n.l)return;return n(A.event?A.event(t):t)}}}function b(e,t,r,i,a,c,l,u,d,p,m){var h,g,_,v,y,b,S,T,E,D,O,te,k,ne,j,M,N,P,F,I,L,R=t.type;if(t.constructor!=null)return null;128&r.__u&&(d=!!(32&r.__u),r.__c.__z&&(u=t.__e=r.__e=(c=r.__c.__z)[0],r.__c.__z=null)),(h=A.__b)&&h(t);n:if(typeof R==`function`)try{if(T=t.props,E=`prototype`in R&&R.prototype.render,D=(h=R.contextType)&&i[h.__c],O=h?D?D.props.value:h.__:i,r.__c?2&(g=t.__c=r.__c).__g&&(g.__g|=1,S=!0):(E?t.__c=g=new R(T,O):(t.__c=g=new s(T,O),g.constructor=R,g.render=ee),D&&D.sub(g),g.props=T,g.state||={},g.context=O,g.__n=i,_=!0,g.__g|=8,g.__h=[],g._sb=[]),E&&g.__s==null&&(g.__s=g.state),E&&R.getDerivedStateFromProps!=null&&(g.__s==g.state&&(g.__s=V({},g.__s)),V(g.__s,R.getDerivedStateFromProps(T,g.__s))),v=g.props,y=g.state,g.__v=t,_)E&&R.getDerivedStateFromProps==null&&g.componentWillMount!=null&&g.componentWillMount(),E&&g.componentDidMount!=null&&g.__h.push(g.componentDidMount);else{if(E&&R.getDerivedStateFromProps==null&&T!==v&&g.componentWillReceiveProps!=null&&g.componentWillReceiveProps(T,O),!(4&g.__g)&&g.shouldComponentUpdate!=null&&!1===g.shouldComponentUpdate(T,g.__s,O)||t.__v==r.__v){for(t.__v!=r.__v&&(g.props=T,g.state=g.__s,g.__g&=-9),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),te=0;te<g._sb.length;te++)g.__h.push(g._sb[te]);g._sb=[],g.__h.length&&l.push(g);break n}g.componentWillUpdate!=null&&g.componentWillUpdate(T,g.__s,O),E&&g.componentDidUpdate!=null&&g.__h.push(function(){g.componentDidUpdate(v,y,b)})}if(g.context=O,g.props=T,g.__P=e,g.__g&=-5,k=A.__r,ne=0,E){for(g.state=g.__s,g.__g&=-9,k&&k(t),h=g.render(g.props,g.state,g.context),j=0;j<g._sb.length;j++)g.__h.push(g._sb[j]);g._sb=[]}else do g.__g&=-9,k&&k(t),h=g.render(g.props,g.state,g.context),g.state=g.__s;while(8&g.__g&&++ne<25);g.state=g.__s,g.getChildContext!=null&&(i=V({},i,g.getChildContext())),E&&!_&&g.getSnapshotBeforeUpdate!=null&&(b=g.getSnapshotBeforeUpdate(v,y)),M=h,h!=null&&h.type===o&&h.key==null&&(M=C(h.props.children)),u=f(e,B(M)?M:[M],t,r,i,a,c,l,u,d,p,m),t.__u&=-161,g.__h.length&&l.push(g),S&&(g.__g&=-4)}catch(e){if(t.__v=null,d||c!=null)if(e.then){for(N=0,P=!1,t.__u|=d?160:128,t.__c.__z=[],F=0;F<c.length;F++)(I=c[F])==null||P||(I.nodeType==8&&I.data==`$s`?(N>0&&t.__c.__z.push(I),N++,c[F]=null):I.nodeType==8&&I.data==`/$s`?(--N>0&&t.__c.__z.push(I),P=N===0,u=c[F],c[F]=null):N>0&&(t.__c.__z.push(I),c[F]=null));if(!P){for(;u&&u.nodeType==8&&u.nextSibling;)u=u.nextSibling;c[c.indexOf(u)]=null,t.__c.__z=[u]}t.__e=u}else{for(L=c.length;L--;)n(c[L]);x(t)}else t.__e=r.__e,t.__k=r.__k,e.then||x(t);A.__e(e,t,r)}else u=t.__e=w(r.__e,t,r,i,a,c,l,d,p,m);return(h=A.diffed)&&h(t),128&t.__u?void 0:u}function x(e){e&&e.__c&&(e.__c.__g|=4),e&&e.__k&&e.__k.forEach(x)}function S(e,t,n){for(var r=0;r<n.length;r++)T(n[r],n[++r],n[++r]);A.__c&&A.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){A.__e(e,t.__v)}})}function C(e){return typeof e!=`object`||!e||e.__b&&e.__b>0?e:B(e)?e.map(C):V({},e)}function w(e,t,r,i,a,o,s,l,u,d){var p,m,h,g,_,y,b,x,S=r.props,C=t.props,w=t.type;if(w==`svg`?a=`http://www.w3.org/2000/svg`:w==`math`?a=`http://www.w3.org/1998/Math/MathML`:a||=`http://www.w3.org/1999/xhtml`,o!=null){for(p=0;p<o.length;p++)if((_=o[p])&&`setAttribute`in _==!!w&&(w?_.localName==w:_.nodeType==3)){e=_,o[p]=null;break}}if(e==null){if(w==null)return d.createTextNode(C);e=d.createElementNS(a,w,C.is&&C),l&&=(A.__m&&A.__m(t,o),!1),o=null}if(w==null)S===C||l&&e.data==C||(e.data=C);else{if(o&&=ae.call(e.childNodes),S=r.props||z,!l&&o!=null)for(S={},p=0;p<e.attributes.length;p++)S[(_=e.attributes[p]).name]=_.value;for(p in S)if(_=S[p],p!=`children`){if(p==`dangerouslySetInnerHTML`)h=_;else if(!(p in C)){if(p==`value`&&`defaultValue`in C||p==`checked`&&`defaultChecked`in C)continue;v(e,p,null,_,a)}}for(p in x=1&r.__u,C)_=C[p],p==`children`?g=_:p==`dangerouslySetInnerHTML`?m=_:p==`value`?y=_:p==`checked`?b=_:l&&typeof _!=`function`||S[p]===_&&!x||v(e,p,_,S[p],a);if(m)l||h&&(m.__html==h.__html||m.__html==e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(h&&(e.innerHTML=``),f(w==`template`?e.content:e,B(g)?g:[g],t,r,i,w==`foreignObject`?`http://www.w3.org/1999/xhtml`:a,o,s,o?o[0]:r.__k&&c(r,0),l,u,d),o!=null)for(p=o.length;p--;)n(o[p]);l||(p=`value`,w==`progress`&&y==null?e.removeAttribute(`value`):y==null||y===e[p]&&(w!==`progress`||y)||v(e,p,y,S[p],a),p=`checked`,b!=null&&b!=e[p]&&v(e,p,b,S[p],a))}return e}function T(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){A.__e(e,n)}}function E(e,t,r){var i,a;if(A.unmount&&A.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||T(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){A.__e(e,t)}i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&E(i[a],t,r||typeof e.type!=`function`);r||n(e.__e),e.__e&&e.__e.__l&&(e.__e.__l=null),e.__e=e.__c=e.__=null}function ee(e,t,n){return this.constructor(e,n)}function D(e,t){var n,i,a,s;t==document&&(t=document.documentElement),A.__&&A.__(e,t),i=(n=!!(e&&32&e.__u))?null:t.__k,e=t.__k=r(o,null,[e]),a=[],s=[],b(t,e,i||z,z,t.namespaceURI,i?null:t.firstChild?ae.call(t.childNodes):null,a,i?i.__e:t.firstChild,n,s,t.ownerDocument),S(a,e,s)}function O(e,t){e.__u|=32,D(e,t)}function te(e,t,n){var r,a,o,s=V({},e.props);for(o in t)o==`key`?r=t[o]:o==`ref`&&typeof e.type!=`function`?a=t[o]:s[o]=t[o];return arguments.length>2&&(s.children=arguments.length>3?ae.call(arguments,2):n),i(e.type,s,r||e.key,a||e.ref,null)}function k(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__g|=4,u(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+re++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}var A,ne,j,M,N,P,F,I,L,R,re,z,ie,B,ae,V,oe=e((()=>{z={},ie=[],B=Array.isArray,ae=ie.slice,V=Object.assign,A={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!(1&i.__g)){i.__g|=4;try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=8&i.__g),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=8&i.__g),o)return void(i.__g|=2)}catch(t){e=t}}throw N=0,e}},ne=0,s.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=V({},this.state);typeof e==`function`&&(e=e(V({},n),this.props)),e&&V(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),u(this))},s.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),u(this))},s.prototype.render=o,j=[],N=0,P=function(e,t){return e.__v.__b-t.__v.__b},F=/(PointerCapture)$|Capture$/i,I=0,L=y(!1),R=y(!0),re=0}));function H(e,t){Z.__h&&Z.__h(Y,e,X||t),X=0;var n=Y.__H||={__:[],__h:[]};return e>=n.__.length&&n.__.push({}),n.__[e]}function U(e){return X=1,W(ye,e)}function W(e,t,n){var r=H(J++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ye(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);Se(t,n)||(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return!!e.__c});if(i.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var o=r.__c.props!==e;return i.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,Se(t,e.__[0])||(o=!0)}}),a&&a.call(this,e,t,n)||o};Y.__f=!0;var a=Y.shouldComponentUpdate,o=Y.componentWillUpdate;Y.componentWillUpdate=function(e,t,n){if(4&this.__g){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},Y.shouldComponentUpdate=i}return r.__N||r.__}function G(e,t){var n=H(J++,3);!Z.__s&&ve(n.__H,t)&&(n.__=e,n.u=t,Y.__H.__h.push(n))}function K(e,t){var n=H(J++,4);!Z.__s&&ve(n.__H,t)&&(n.__=e,n.u=t,Y.__h.push(n))}function se(e){return X=5,q(function(){return{current:e}},[])}function ce(e,t,n){X=6,K(function(){if(typeof e==`function`){var n=e(t());return function(){e(null),n&&typeof n==`function`&&n()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function q(e,t){var n=H(J++,7);return ve(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function le(e,t){return X=8,q(function(){return e},t)}function ue(e){var t=Y.context[e.__c],n=H(J++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(Y)),t.props.value):e.__}function de(e,t){Z.useDebugValue&&Z.useDebugValue(t?t(e):e)}function fe(e){var t=H(J++,10),n=U();return t.__=e,Y.componentDidCatch||=function(e,r){t.__&&t.__(e,r),n[1](e)},[n[0],function(){n[1](void 0)}]}function pe(){var e=H(J++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||=[0,0];e.__=`P`+n[0]+`-`+n[1]++}return e.__}function me(){for(var e;e=Ce.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(_e),e.__H.__h=[]}catch(t){e.__H.__h=[],Z.__e(t,e.__v)}}function he(e){var t,n=function(){clearTimeout(r),Ae&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Ae&&(t=requestAnimationFrame(n))}function ge(e){var t=Y,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),Y=t}function _e(e){var t=Y;e.__c=e.__(),Y=t}function ve(e,t){return!e||e.length!==t.length||t.some(function(t,n){return!Se(t,e[n])})}function ye(e,t){return typeof t==`function`?t(e):t}var J,Y,be,xe,Se,X,Ce,Z,we,Te,Ee,De,Oe,ke,Ae,je=e((()=>{oe(),Se=Object.is,X=0,Ce=[],Z=A,we=Z.__b,Te=Z.__r,Ee=Z.diffed,De=Z.__c,Oe=Z.unmount,ke=Z.__,Z.__b=function(e){Y=null,we&&we(e)},Z.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ke&&ke(e,t)},Z.__r=function(e){Te&&Te(e),J=0;var t=(Y=e.__c).__H;t&&(be===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(ge),t.__h.forEach(_e),t.__h=[],J=0)),be=Y},Z.diffed=function(e){Ee&&Ee(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ce.push(t)!==1&&xe===Z.requestAnimationFrame||((xe=Z.requestAnimationFrame)||he)(me)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),be=Y=null},Z.__c=function(e,t){t.some(function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter(function(e){return!e.__||_e(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],Z.__e(n,e.__v)}}),De&&De(e,t)},Z.unmount=function(e){Oe&&Oe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{ge(e)}catch(e){t=e}}),n.__H=void 0,t&&Z.__e(t,n.__v))},Ae=typeof requestAnimationFrame==`function`})),Me=t({Children:()=>dt,Component:()=>s,Fragment:()=>o,PureComponent:()=>ze,StrictMode:()=>Ot,Suspense:()=>Q,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Tt,cloneElement:()=>nt,createContext:()=>k,createElement:()=>r,createFactory:()=>$e,createPortal:()=>qe,createRef:()=>a,default:()=>At,findDOMNode:()=>it,flushSync:()=>Dt,forwardRef:()=>Ve,hydrate:()=>Ye,isElement:()=>kt,isFragment:()=>et,isMemo:()=>tt,isValidElement:()=>$,lazy:()=>We,memo:()=>Be,render:()=>Je,startTransition:()=>Fe,unmountComponentAtNode:()=>rt,unstable_batchedUpdates:()=>at,useCallback:()=>le,useContext:()=>ue,useDebugValue:()=>de,useDeferredValue:()=>Ie,useEffect:()=>G,useErrorBoundary:()=>fe,useId:()=>pe,useImperativeHandle:()=>ce,useInsertionEffect:()=>ot,useLayoutEffect:()=>K,useMemo:()=>q,useReducer:()=>W,useRef:()=>se,useState:()=>U,useSyncExternalStore:()=>Ne,useTransition:()=>Le,version:()=>Et});function Ne(e,t){var n=t(),r=U({t:{__:n,u:t}}),i=r[0].t,a=r[1];return K(function(){i.__=n,i.u=t,Pe(i)&&a({t:i})},[e,n,t]),G(function(){return Pe(i)&&a({t:i}),e(function(){Pe(i)&&a({t:i})})},[e]),n}function Pe(e){var t=e.u,n=e.__;try{var r=t();return!Object.is(n,r)}catch{return!0}}function Fe(e){e()}function Ie(e){return e}function Le(){return[!1,Fe]}function Re(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function ze(e,t){this.props=e,this.context=t}function Be(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Re(this.props,e)}function i(t){return this.shouldComponentUpdate=n,r(e,t)}return i.displayName=`Memo(`+(e.displayName||e.name)+`)`,i.prototype.isReactComponent=!0,i.type=e,i}function Ve(e){function t(t){var n=st({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=lt,t.render=e,t.prototype.isReactComponent=!0,t.displayName=`ForwardRef(`+(e.displayName||e.name)+`)`,t}function He(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),e.__c.__H=null),(e=st({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__g|=4,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return He(e,t,n)})),e}function Ue(e,t,n){return e&&n&&(typeof e.type==`string`&&(e.__u|=1),e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Ue(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__g|=4,e.__c.__P=n)),e}function Q(){this.__u=0,this.o=null,this.__b=null}function We(e){var t,n,i;function a(a){if(t||(t=e()).then(function(e){n=e.default||e},function(e){i=e}),i)throw i;if(!n)throw t;return r(n,a)}return a.displayName=`Lazy`,a}function Ge(e){return this.getChildContext=function(){return e.context},e.children}function Ke(e){var t=this,n=e.i;if(t.componentWillUnmount=function(){D(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),!t.l){for(var i=t.__v;i!==null&&!i.__m&&i.__!==null;)i=i.__;t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],__k:{__m:i.__m},ownerDocument:n.ownerDocument,insertBefore:function(e,n){this.childNodes.push(e),t.i.insertBefore(e,n)}}}D(r(Ge,{context:t.context},e.__v),t.l)}function qe(e,t){var n=r(Ke,{__v:e,i:t});return n.containerInfo=t,n}function Je(e,t,n){return t.__k??(t.textContent=``),D(e,t),typeof n==`function`&&n(),e?e.__c:null}function Ye(e,t,n){return O(e,t),typeof n==`function`&&n(),e?e.__c:null}function Xe(){}function Ze(){return this.cancelBubble}function Qe(){return this.defaultPrevented}function $e(e){return r.bind(null,e)}function $(e){return!!e&&e.$$typeof===mt}function et(e){return $(e)&&e.type===o}function tt(e){return!!e&&!!e.displayName&&(typeof e.displayName==`string`||e.displayName instanceof String)&&e.displayName.startsWith(`Memo(`)}function nt(e){return $(e)?te.apply(null,arguments):e}function rt(e){return!!e.__k&&(D(null,e),!0)}function it(e){return e&&(e.__v&&e.__v.__e||e.nodeType===1&&e)||null}function at(e,t){return e(t)}var ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,_t,vt,yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt=e((()=>{oe(),je(),je(),ot=K,st=Object.assign,ct=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini)/,(ze.prototype=new s).isPureReactComponent=!0,ze.prototype.shouldComponentUpdate=function(e,t){return Re(this.props,e)||Re(this.state,t)},lt=Symbol.for(`react.forward_ref`),ut=function(e,t,n){return e==null?null:h(h(e).map(t.bind(n)))},dt={map:ut,forEach:ut,count:function(e){return e?h(e).length:0},only:function(e){var t=h(e);if(t.length!==1)throw`Children.only`;return t[0]},toArray:h},ft=A.__e,A.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}ft(e,t,n,r)},pt=A.unmount,A.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),pt&&pt(e)},(Q.prototype=new s).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=!1,a=function(){i||(i=!0,n.__R=null,o())};n.__R=a;var o=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ue(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Q.prototype.componentWillUnmount=function(){this.o=[]},Q.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),i=this.__v.__k[0].__c;this.__v.__k[0]=He(this.__b,n,i.__O=i.__P)}this.__b=null}return[r(o,null,t.__a?null:e.children),t.__a&&r(o,null,e.fallback)]},mt=Symbol.for(`react.element`),ht=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,gt=/[A-Z0-9]/g,_t=typeof document<`u`,vt=function(e){return/fil|che|rad/.test(e)},s.prototype.isReactComponent={},[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(s.prototype,e,{configurable:!0,get:function(){return this[`UNSAFE_`+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}),yt=A.event,A.event=function(e){return yt&&(e=yt(e)),e.persist=Xe,e.isPropagationStopped=Ze,e.isDefaultPrevented=Qe,e.nativeEvent=e},xt={enumerable:!1,configurable:!0,get:function(){return this.class}},St=A.vnode,A.vnode=function(e){if(typeof e.type==`string`)(function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)===-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||_t&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){if(a===`style`&&typeof o==`object`)for(var s in o)typeof o[s]!=`number`||ct.test(s)||(o[s]+=`px`);else if(a===`defaultValue`&&`value`in t&&t.value==null)a=`value`;else if(a===`download`&&!0===o)o=``;else if(a===`translate`&&o===`no`)o=!1;else if(a[0]===`o`&&a[1]===`n`){var c=a.toLowerCase();c===`ondoubleclick`?a=`ondblclick`:c!==`onchange`||n!==`input`&&n!==`textarea`||vt(t.type)?c===`onfocus`?a=`onfocusin`:c===`onblur`&&(a=`onfocusout`):c=a=`oninput`,c===`oninput`&&r[a=c]&&(a=`oninputCapture`)}else i&&ht.test(a)?a=a.replace(gt,`-$&`).toLowerCase():o===null&&(o=void 0);r[a]=o}}n==`select`&&r.multiple&&Array.isArray(r.value)&&(r.value=h(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),n==`select`&&r.defaultValue!=null&&(r.value=h(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",xt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r})(e);else if(typeof e.type==`function`&&(`ref`in e.props&&`prototype`in e.type&&e.type.prototype.render&&(e.ref=e.props.ref,delete e.props.ref),e.type.defaultProps)){var t=st({},e.props);for(var n in e.type.defaultProps)t[n]===void 0&&(t[n]=e.type.defaultProps[n]);e.props=t}e.$$typeof=mt,St&&St(e)},Ct=A.__r,A.__r=function(e){Ct&&Ct(e),bt=e.__c},wt=A.diffed,A.diffed=function(e){wt&&wt(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value),bt=null},Tt={ReactCurrentDispatcher:{current:{readContext:function(e){return bt.__n[e.__c].props.value},useCallback:le,useContext:ue,useDebugValue:de,useDeferredValue:Ie,useEffect:G,useId:pe,useImperativeHandle:ce,useInsertionEffect:ot,useLayoutEffect:K,useMemo:q,useReducer:W,useRef:se,useState:U,useSyncExternalStore:Ne,useTransition:Le}}},Et=`18.3.1`,Dt=function(e,t){return e(t)},Ot=o,kt=$,At={useState:U,useId:pe,useReducer:W,useEffect:G,useLayoutEffect:K,useInsertionEffect:ot,useTransition:Le,useDeferredValue:Ie,useSyncExternalStore:Ne,startTransition:Fe,useRef:se,useImperativeHandle:ce,useMemo:q,useCallback:le,useContext:ue,useDebugValue:de,version:`18.3.1`,Children:dt,render:Je,hydrate:Ye,unmountComponentAtNode:rt,createPortal:qe,createElement:r,createContext:k,createFactory:$e,cloneElement:nt,createRef:a,Fragment:o,isValidElement:$,isElement:kt,isFragment:et,isMemo:tt,findDOMNode:it,Component:s,PureComponent:ze,memo:Be,forwardRef:Ve,flushSync:Dt,unstable_batchedUpdates:at,StrictMode:Ot,Suspense:Q,lazy:We,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Tt}}));export{o as A,ue as C,k as D,D as E,r as O,je as S,W as T,pe as _,dt as a,le as b,Q as c,nt as d,jt as f,se as g,K as h,At as i,A as j,oe as k,Dt as l,ot as m,Be as n,qe as o,$ as p,Ne as r,Ve as s,We as t,Me as u,ce as v,q as w,U as x,G as y};
@@ -1,43 +0,0 @@
1
- var e=`abort.canplay.canplaythrough.durationchange.emptied.encrypted.ended.error.loadeddata.loadedmetadata.loadstart.pause.play.playing.progress.ratechange.seeked.seeking.stalled.suspend.timeupdate.volumechange.waiting.waitingforkey.resize.enterpictureinpicture.leavepictureinpicture.webkitbeginfullscreen.webkitendfullscreen.webkitpresentationmodechanged`.split(`.`),t=[`autopictureinpicture`,`disablepictureinpicture`,`disableremoteplayback`,`autoplay`,`controls`,`controlslist`,`crossorigin`,`loop`,`muted`,`playsinline`,`poster`,`preload`,`src`];function n(e){return`
2
- <style>
3
- :host {
4
- display: inline-flex;
5
- line-height: 0;
6
- flex-direction: column;
7
- justify-content: end;
8
- }
9
-
10
- audio {
11
- width: 100%;
12
- }
13
- </style>
14
- <slot name="media">
15
- <audio${o(e)}></audio>
16
- </slot>
17
- <slot></slot>
18
- `}function r(e){return`
19
- <style>
20
- :host {
21
- display: inline-block;
22
- line-height: 0;
23
- }
24
-
25
- video {
26
- max-width: 100%;
27
- max-height: 100%;
28
- min-width: 100%;
29
- min-height: 100%;
30
- object-fit: var(--media-object-fit, contain);
31
- object-position: var(--media-object-position, 50% 50%);
32
- }
33
-
34
- video::-webkit-media-text-track-container {
35
- transform: var(--media-webkit-text-track-transform);
36
- transition: var(--media-webkit-text-track-transition);
37
- }
38
- </style>
39
- <slot name="media">
40
- <video${o(e)}></video>
41
- </slot>
42
- <slot></slot>
43
- `}function i(i,{tag:o,is:c}){let l=globalThis.document?.createElement?.(o,{is:c}),u=l?a(l):[];return class a extends i{static getTemplateHTML=o.endsWith(`audio`)?n:r;static shadowRootOptions={mode:`open`};static Events=e;static#e=!1;static get observedAttributes(){return a.#t(),[...l?.constructor?.observedAttributes??[],...t]}static#t(){if(this.#e)return;this.#e=!0;let e=new Set(this.observedAttributes);e.delete(`muted`);for(let t of u)if(!(t in this.prototype))if(typeof l[t]==`function`)this.prototype[t]=function(...e){return this.#o(),this.call?this.call(t,...e):(this.nativeEl?.[t])?.apply(this.nativeEl,e)};else{let n={get(){this.#o();let n=t.toLowerCase();if(e.has(n)){let e=this.getAttribute(n);return e===null?!1:e===``?!0:e}return this.get?.(t)??this.nativeEl?.[t]}};t!==t.toUpperCase()&&(n.set=function(n){this.#o();let r=t.toLowerCase();if(e.has(r)){n===!0||n===!1||n==null?this.toggleAttribute(r,!!n):this.setAttribute(r,n);return}if(this.set){this.set(t,n);return}this.nativeEl&&(this.nativeEl[t]=n)}),Object.defineProperty(this.prototype,t,n)}}#n=!1;#r=null;#i=new Map;#a;get;set;call;get nativeEl(){return this.#o(),this.#r??this.querySelector(`:scope > [slot=media]`)??this.querySelector(o)??this.shadowRoot?.querySelector(o)??null}set nativeEl(e){this.#r=e}get defaultMuted(){return this.hasAttribute(`muted`)}set defaultMuted(e){this.toggleAttribute(`muted`,e)}get src(){return this.getAttribute(`src`)}set src(e){this.setAttribute(`src`,`${e}`)}get preload(){return this.getAttribute(`preload`)??this.nativeEl?.preload}set preload(e){this.setAttribute(`preload`,`${e}`)}#o(){this.#n||(this.#n=!0,this.init())}init(){if(!this.shadowRoot){this.attachShadow({mode:`open`});let e=s(this.attributes);c&&(e.is=c),o&&(e.part=o),this.shadowRoot.innerHTML=this.constructor.getTemplateHTML(e)}this.nativeEl.muted=this.hasAttribute(`muted`);for(let e of u)this.#u(e);this.#a=new MutationObserver(this.#c.bind(this)),this.shadowRoot.addEventListener(`slotchange`,()=>this.#s()),this.#s();for(let e of this.constructor.Events)this.shadowRoot.addEventListener(e,this,!0)}handleEvent(e){e.target===this.nativeEl&&this.dispatchEvent(new CustomEvent(e.type,{detail:e.detail}))}#s(){let e=new Map(this.#i);((this.shadowRoot?.querySelector(`slot:not([name])`))?.assignedElements({flatten:!0}).filter(e=>[`track`,`source`].includes(e.localName))).forEach(t=>{e.delete(t);let n=this.#i.get(t);n||(n=t.cloneNode(),this.#i.set(t,n),this.#a?.observe(t,{attributes:!0})),this.nativeEl?.append(n),this.#l(n)}),e.forEach((e,t)=>{e.remove(),this.#i.delete(t)})}#c(e){for(let t of e)if(t.type===`attributes`){let{target:e,attributeName:n}=t,r=this.#i.get(e);r&&n&&(r.setAttribute(n,e.getAttribute(n)??``),this.#l(r))}}#l(e){e&&e.localName===`track`&&e.default&&(e.kind===`chapters`||e.kind===`metadata`)&&e.track.mode===`disabled`&&(e.track.mode=`hidden`)}#u(e){if(Object.prototype.hasOwnProperty.call(this,e)){let t=this[e];delete this[e],this[e]=t}}attributeChangedCallback(e,t,n){this.#o(),this.#d(e,t,n)}#d(e,t,n){[`id`,`class`].includes(e)||!a.observedAttributes.includes(e)&&this.constructor.observedAttributes.includes(e)||(n===null?this.nativeEl?.removeAttribute(e):this.nativeEl?.getAttribute(e)!==n&&this.nativeEl?.setAttribute(e,n))}connectedCallback(){this.#o()}}}function a(e){let t=[];for(let n=Object.getPrototypeOf(e);n&&n!==HTMLElement.prototype;n=Object.getPrototypeOf(n)){let e=Object.getOwnPropertyNames(n);t.push(...e)}return t}function o(e){let n=``;for(let r in e){if(!t.includes(r))continue;let i=e[r];i===``?n+=` ${r}`:n+=` ${r}="${i}"`}return n}function s(e){let t={};for(let n of e)t[n.name]=n.value;return t}var c=i(globalThis.HTMLElement??class{},{tag:`video`});i(globalThis.HTMLElement??class{},{tag:`audio`});export{c as t};