@hot-updater/console 1.2.0-rc.0 → 1.2.0-rc.1

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 (74) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{index-PQ3UCeQV.js → index-BWU6owTG.js} +2 -2
  3. package/.output/public/assets/native-builds_._buildId-D_Spjl10.js +1 -0
  4. package/.output/public/assets/{native-builds_._buildId-9p4FFpa4.js → native-builds_._buildId-DtoXD8rz.js} +2 -2
  5. package/.output/server/{__23tanstack-start-server-fn-resolver-nWkGzoo3.mjs → __23tanstack-start-server-fn-resolver-CygMPYHZ.mjs} +46 -46
  6. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  7. package/.output/server/_ssr/{BundleIdDisplay-C2YJNpHa.mjs → BundleIdDisplay-DOPz4pUS.mjs} +2 -2
  8. package/.output/server/_ssr/{ConsoleFeatureUnavailable-Co4rDns4.mjs → ConsoleFeatureUnavailable-Xb1JKqcc.mjs} +6 -6
  9. package/.output/server/_ssr/{EventDetails-CTvni55k.mjs → EventDetails-D7MejFCN.mjs} +6 -6
  10. package/.output/server/_ssr/{HashValueDisplay-BBswr65a.mjs → HashValueDisplay-Dd-wu5rY.mjs} +2 -2
  11. package/.output/server/_ssr/{InsightsPageHeader-ueG4Pkov.mjs → InsightsPageHeader-CWf1n4Vt.mjs} +6 -6
  12. package/.output/server/_ssr/{NotFoundPage-BES4AfvN.mjs → NotFoundPage-C5rFdUpg.mjs} +2 -2
  13. package/.output/server/_ssr/{RolloutPercentageBadge-Bkl0uDbV.mjs → RolloutPercentageBadge-g0Bhfl3M.mjs} +3 -3
  14. package/.output/server/_ssr/{StoreSubmission-0TLWxjym.mjs → StoreSubmission-JZ2Zltak.mjs} +4 -4
  15. package/.output/server/_ssr/{alert-dialog-Cn0L__fU.mjs → alert-dialog-CvNvTvIJ.mjs} +1 -1
  16. package/.output/server/_ssr/{api-qUMT9H2M.mjs → api-0vtwA5vY.mjs} +3 -3
  17. package/.output/server/_ssr/{api-keys-Dt6_6uWi.mjs → api-keys-D5dyA4D1.mjs} +8 -8
  18. package/.output/server/_ssr/{api-keys-rpc-BqbL9Iyl.mjs → api-keys-rpc-BOIUHhDi.mjs} +3 -3
  19. package/.output/server/_ssr/{api-keys-DgiwJvLW.mjs → api-keys-yFlQDwQF.mjs} +2 -2
  20. package/.output/server/_ssr/{api-rpc-CzZPviuV.mjs → api-rpc-COeFOpYi.mjs} +3 -3
  21. package/.output/server/_ssr/{auth-rpc-CPZyE2Rz.mjs → auth-rpc-D1ss2GUI.mjs} +4 -4
  22. package/.output/server/_ssr/{auth.server-C2hyK1tQ.mjs → auth.server-DYS1OJ6P.mjs} +2 -2
  23. package/.output/server/_ssr/{badge-C4HK6j63.mjs → badge-CEdVRgyl.mjs} +1 -1
  24. package/.output/server/_ssr/{config.server-CwjEf3S5.mjs → config.server-NnMFjMFX.mjs} +3 -3
  25. package/.output/server/_ssr/{console-access-B2mUKj3_.mjs → console-access-33BNlH97.mjs} +2 -2
  26. package/.output/server/_ssr/{console-features-api-X8ItTwxM.mjs → console-features-api-v1fSycue.mjs} +5 -5
  27. package/.output/server/_ssr/{console-features-rpc-BRTvGLBV.mjs → console-features-rpc-C7XNVqm0.mjs} +3 -3
  28. package/.output/server/_ssr/{dialog-L9IrT3sY.mjs → dialog-C8CS8RMt.mjs} +1 -1
  29. package/.output/server/_ssr/{empty-CkTC2uZd.mjs → empty-CkdEAvCY.mjs} +2 -2
  30. package/.output/server/_ssr/{field-W7Ikmzjb.mjs → field-CW08sZXd.mjs} +2 -2
  31. package/.output/server/_ssr/{input-group-BFnD9l_p.mjs → input-group-D-TpFPuG.mjs} +1 -1
  32. package/.output/server/_ssr/{insights-CtPYme4Q.mjs → insights-CMyzPs8l.mjs} +19 -19
  33. package/.output/server/_ssr/{insights-C9KDOFcN.mjs → insights-CYeBl8N9.mjs} +5 -5
  34. package/.output/server/_ssr/{insights-Dz42GlcZ.mjs → insights-DAi9KknT.mjs} +2 -2
  35. package/.output/server/_ssr/{insights-api-Cuz8lmZx.mjs → insights-api-BFARQ5ct.mjs} +3 -3
  36. package/.output/server/_ssr/{insights-failures-rpc-CxI071Ew.mjs → insights-failures-rpc-Q4WNNJkU.mjs} +4 -4
  37. package/.output/server/_ssr/{insights-recovery-rpc-B-9bs9Gz.mjs → insights-recovery-rpc-CY5RYJKa.mjs} +3 -3
  38. package/.output/server/_ssr/{insights-rpc-5NfC16-Q.mjs → insights-rpc-BO7_evvs.mjs} +3 -3
  39. package/.output/server/_ssr/{insights-search-CtQj0m7f.mjs → insights-search-DKfxgHD3.mjs} +2 -2
  40. package/.output/server/_ssr/{insights-usage-rpc-CFWx4_pK.mjs → insights-usage-rpc-B4czku50.mjs} +3 -3
  41. package/.output/server/_ssr/{insights-usage-rpc-Qnyviyah.mjs → insights-usage-rpc-CUCTFska.mjs} +3 -3
  42. package/.output/server/_ssr/{insights_.distribution-Czd0Jtle.mjs → insights_.distribution-BDeUhZGj.mjs} +2 -2
  43. package/.output/server/_ssr/{insights_.distribution-BamrEztu.mjs → insights_.distribution-BRrbZN1X.mjs} +5 -5
  44. package/.output/server/_ssr/{insights_.distribution-CXItWbX1.mjs → insights_.distribution-C2MXpzKd.mjs} +13 -13
  45. package/.output/server/_ssr/{installations-Dy8zAJI_.mjs → installations-BVk7okiY.mjs} +4 -4
  46. package/.output/server/_ssr/{installations-BaHA_zCp.mjs → installations-BjLMgBoH.mjs} +2 -2
  47. package/.output/server/_ssr/{installations-Q6t6CEZ8.mjs → installations-DxGZEC5G.mjs} +11 -11
  48. package/.output/server/_ssr/{native-builds-BWTUWJUF.mjs → native-builds-CSCgFB21.mjs} +2 -2
  49. package/.output/server/_ssr/{native-builds-Cuw87Y51.mjs → native-builds-CdlyAldW.mjs} +9 -9
  50. package/.output/server/_ssr/{native-builds_._buildId-Dr3Mc32p.mjs → native-builds_._buildId-CMp1h8dT.mjs} +2 -2
  51. package/.output/server/_ssr/{native-builds_._buildId-CbhHK93c.mjs → native-builds_._buildId-GHpGaYyE.mjs} +50 -26
  52. package/.output/server/_ssr/{release-adoption-rpc-BHxQWHWw.mjs → release-adoption-rpc-BJXZvtoQ.mjs} +5 -5
  53. package/.output/server/_ssr/{remote-config-Bmh0t1FQ.mjs → remote-config-DjsEl270.mjs} +17 -17
  54. package/.output/server/_ssr/{remote-config-CrVQfJ9y.mjs → remote-config-DlyyohL2.mjs} +2 -2
  55. package/.output/server/_ssr/{remote-config-DWlhe-Nu.mjs → remote-config-XdYuByHz.mjs} +2 -2
  56. package/.output/server/_ssr/{remote-config-rpc-BYJbiG9k.mjs → remote-config-rpc-GMLPb-90.mjs} +3 -3
  57. package/.output/server/_ssr/{router-Bg_TI2qP.mjs → router-vpxd56RW.mjs} +53 -31
  58. package/.output/server/_ssr/{routes-fs827NQ-.mjs → routes-DyEM4b3x.mjs} +10 -10
  59. package/.output/server/_ssr/{routes-Do9CHvbC.mjs → routes-dQe3XhiS.mjs} +17 -17
  60. package/.output/server/_ssr/{schema-migration-rpc-vH6ZlJgo.mjs → schema-migration-rpc-BfGzEK_o.mjs} +3 -3
  61. package/.output/server/_ssr/{select-BoRQ8ytA.mjs → select-DM1uwtk9.mjs} +1 -1
  62. package/.output/server/_ssr/{server-DtM4lJ0t.mjs → server-BUUKNSPI.mjs} +3 -3
  63. package/.output/server/_ssr/{sidebar-D1AgCVIN.mjs → sidebar-DB2YQlok.mjs} +2 -2
  64. package/.output/server/_ssr/ssr.mjs +1 -1
  65. package/.output/server/_ssr/{switch-CY0ZEeD2.mjs → switch-DLD58zLy.mjs} +2 -2
  66. package/.output/server/_ssr/{table-ClsVe-Mz.mjs → table-P4TnAZhl.mjs} +1 -1
  67. package/.output/server/_ssr/{tabs-BJacHKeX.mjs → tabs-B7ZeLicF.mjs} +2 -2
  68. package/.output/server/{_tanstack-start-manifest_v-CF4kCd6q.mjs → _tanstack-start-manifest_v-C-KC63Zq.mjs} +5 -5
  69. package/.output/server/index.mjs +126 -126
  70. package/package.json +7 -7
  71. package/src/components/ConsoleAccessPage.tsx +36 -6
  72. package/src/components/features/native-builds/InstallCard.tsx +47 -24
  73. package/src/routes/api/native-builds/$buildId/download.ts +9 -4
  74. package/.output/public/assets/native-builds_._buildId-BRiNTN3j.js +0 -1
@@ -0,0 +1 @@
1
+ import{$ as e,Fn as t,In as n,Ln as r,Wr as i,ii as a,ir as o,p as s,ti as c}from"./sidebar-Di9SN47G.js";import{t as l}from"./link-DTEyW70e.js";import{t as u}from"./arrow-up-right-DK8Zdg40.js";import{a as d,c as f,f as p,n as m,o as ee,p as te,r as ne,s as re,t as ie,u as ae}from"./native-builds-BOC71grI.js";import{t as oe}from"./chevron-right-BoUXo82O.js";import{n as se,t as h}from"./native-builds_._buildId-DtoXD8rz.js";import{t as ce}from"./download-Cf24LBde.js";import{n as le,t as ue}from"./history-DqHlgSuV.js";import{r as de}from"./-native-builds-search-C-TGpFAm.js";import{t as fe}from"./refresh-cw-B9HHjLej.js";import{a as g,i as pe,n as _,r as me,t as he}from"./StoreSubmission-JpngSvHS.js";import{a as v,d as y,f as b,i as x,n as S,o as C,r as ge,s as w,t as T,u as E}from"./badge-DWFcDWho.js";import{r as _e}from"./uuidv7-zXMtwR9Q.js";import{a as D,i as O,n as k,o as A,r as j,t as M}from"./empty-B3Uwdd6k.js";import{t as ve}from"./PlatformIcon-BBWQlWm9.js";import{d as ye,l as be,u as xe}from"./api-P2g8dCNg.js";import{a as N,i as P,n as F,o as I,r as L,t as R}from"./table-Bpy3SvSo.js";import{t as Se}from"./RolloutPercentageBadge-Cxogpi8F.js";var Ce=o(`package-open`,[[`path`,{d:`M12 22v-9`,key:`x3hkom`}],[`path`,{d:`M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z`,key:`2ntwy6`}],[`path`,{d:`M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13`,key:`1pmm1c`}],[`path`,{d:`M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z`,key:`12ttoo`}]]),z=i();function B({label:e,children:t}){return(0,z.jsxs)(`div`,{className:`grid gap-1 sm:grid-cols-[10rem_minmax(0,1fr)] sm:gap-4`,children:[(0,z.jsx)(`dt`,{className:`text-xs font-medium text-muted-foreground`,children:e}),(0,z.jsx)(`dd`,{className:`min-w-0 text-sm`,children:t})]})}function we({detail:e}){let{build:t,newestInScope:n}=e;return n===null?null:n.id===t.id?(0,z.jsxs)(`div`,{className:`flex items-start gap-2 rounded-md border bg-muted/40 p-3 text-xs`,children:[(0,z.jsx)(se,{"aria-hidden":`true`,className:`mt-0.5 size-3.5 shrink-0 text-muted-foreground`}),(0,z.jsxs)(`p`,{children:[(0,z.jsx)(`span`,{className:`font-medium`,children:`Current baseline.`}),` New deploys to this scope add a patch from this build's bundle.`]})]}):(0,z.jsxs)(`div`,{className:`flex items-start gap-2 rounded-md border bg-muted/40 p-3 text-xs`,children:[(0,z.jsx)(ue,{"aria-hidden":`true`,className:`mt-0.5 size-3.5 shrink-0 text-muted-foreground`}),(0,z.jsxs)(`p`,{children:[(0,z.jsx)(`span`,{className:`font-medium`,children:`Superseded`}),` by`,` `,(0,z.jsxs)(l,{className:`inline-flex items-center gap-0.5 font-medium underline underline-offset-4`,params:{buildId:n.id},to:`/native-builds/$buildId`,children:[f(n.platform),` `,ne[n.artifact_kind].label,` ·`,` `,(0,z.jsx)(p,{uuid:n.id}),(0,z.jsx)(u,{"aria-hidden":`true`,className:`size-3`})]}),`. New deploys patch from that build, so this one gets no new patches.`]})]})}function Te({detail:e}){let{build:t,builtInBundle:n,channel:r}=e,i=re(t),a=n?.childCount??0;return(0,z.jsxs)(C,{className:`overflow-hidden shadow-sm`,children:[(0,z.jsx)(E,{className:`border-b px-4 py-3`,children:(0,z.jsx)(y,{className:`text-sm`,children:(0,z.jsx)(`h2`,{children:`Built-in bundle`})})}),(0,z.jsxs)(w,{className:`flex flex-col gap-4 p-4 sm:p-6`,children:[(0,z.jsxs)(`dl`,{className:`flex flex-col gap-3`,children:[(0,z.jsx)(B,{label:`Bundle ID`,children:(0,z.jsx)(`span`,{className:`break-all font-mono text-xs`,translate:`no`,children:t.min_bundle_id})}),(0,z.jsx)(B,{label:`OTAs patching from it`,children:(0,z.jsx)(`span`,{className:`tabular-nums`,children:a===1?`1 bundle`:`${a} bundles`})}),(0,z.jsx)(B,{label:`Scope`,children:(0,z.jsxs)(`span`,{className:`flex flex-wrap items-center gap-1.5`,children:[(0,z.jsx)(l,{"aria-label":`Show the builds that embed ${r}`,search:{channel:r},to:`/native-builds`,children:(0,z.jsx)(T,{translate:`no`,variant:`outline`,children:r})}),(0,z.jsx)(`span`,{className:`text-xs`,children:f(t.platform)}),(0,z.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`· `,i.label]}),t.fingerprint_hash===null?(0,z.jsx)(`span`,{className:`font-mono text-xs`,translate:`no`,children:i.value}):(0,z.jsx)(pe,{label:`fingerprint`,length:12,value:t.fingerprint_hash})]})}),t.build_number?(0,z.jsx)(B,{label:`Build number`,children:(0,z.jsx)(`span`,{className:`font-mono text-xs tabular-nums`,translate:`no`,children:t.build_number})}):null,_(t)?(0,z.jsx)(B,{label:`Store`,children:(0,z.jsx)(he,{build:t,withTime:!0})}):null,(0,z.jsx)(B,{label:`Commit`,children:(0,z.jsx)(me,{hash:t.git_commit_hash})}),(0,z.jsx)(B,{label:`Created`,children:(0,z.jsx)(p,{format:`both`,uuid:t.id})})]}),(0,z.jsx)(we,{detail:e}),(0,z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`A store or test install of this build runs this bundle until its first OTA. That OTA downloads as a patch from this bundle when one exists, and as the full bundle otherwise.`})]})]})}var Ee=a(c(),1),V=(e=>(e[e.Border=-1]=`Border`,e[e.Data=0]=`Data`,e[e.Function=1]=`Function`,e[e.Position=2]=`Position`,e[e.Timing=3]=`Timing`,e[e.Alignment=4]=`Alignment`,e))(V||{}),De=[0,1],Oe=[1,0],ke=[2,3],Ae=[3,2],je={L:De,M:Oe,Q:ke,H:Ae},Me=/^\d*$/,Ne=/^[A-Z0-9 $%*+./:-]*$/,H=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`,U=1,W=40,Pe=3,Fe=3,G=40,Ie=10,Le=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],Re=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],ze=class{constructor(e,t,n,r){if(this.version=e,this.ecc=t,e<U||e>W)throw RangeError(`Version value out of range`);if(r<-1||r>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let i=Array.from({length:this.size}).fill(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.types.push(i.map(()=>0));this.drawFunctionPatterns();let a=this.addEccAndInterleave(n);if(this.drawCodewords(a),r===-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(r=t,e=n),this.applyMask(t)}}this.mask=r,this.applyMask(r),this.drawFormatBits(r)}size;mask;modules=[];types=[];getModule(e,t){return e>=0&&e<this.size&&t>=0&&t<this.size&&this.modules[t][e]}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0,V.Timing),this.setFunctionModule(e,6,e%2==0,V.Timing);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n===0&&r===0||n===0&&r===t-1||n===t-1&&r===0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.ecc[1]<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let r=(t<<10|n)^21522;for(let e=0;e<=5;e++)this.setFunctionModule(8,e,q(r,e));this.setFunctionModule(8,7,q(r,6)),this.setFunctionModule(8,8,q(r,7)),this.setFunctionModule(7,8,q(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,q(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,q(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,q(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;for(let e=0;e<18;e++){let n=q(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;a>=0&&a<this.size&&o>=0&&o<this.size&&this.setFunctionModule(a,o,i!==2&&i!==4,V.Position)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!==1,V.Alignment)}setFunctionModule(e,t,n,r=V.Function){this.modules[t][e]=n,this.types[t][e]=r}addEccAndInterleave(e){let t=this.version,n=this.ecc;if(e.length!==X(t,n))throw RangeError(`Invalid argument`);let r=Re[n[0]][t],i=Le[n[0]][t],a=Math.floor(Y(t)/8),o=r-a%r,s=Math.floor(a/r),c=[],l=Qe(i);for(let t=0,n=0;t<r;t++){let r=e.slice(n,n+s-i+(t<o?0:1));n+=r.length;let a=$e(r,l);t<o&&r.push(0),c.push(r.concat(a))}let u=[];for(let e=0;e<c[0].length;e++)c.forEach((t,n)=>{(e!==s-i||n>=o)&&u.push(t[e])});return u}drawCodewords(e){if(e.length!==Math.floor(Y(this.version)/8))throw RangeError(`Invalid argument`);let t=0;for(let n=this.size-1;n>=1;n-=2){n===6&&(n=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){let a=n-i,o=n+1&2?r:this.size-1-r;!this.types[o][a]&&t<e.length*8&&(this.modules[o][a]=q(e[t>>>3],7-(t&7)),t++)}}}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.types[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[t][a]===n?(r++,r===5?e+=Pe:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*G),n=this.modules[t][a],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*G}for(let t=0;t<this.size;t++){let n=!1,r=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][t]===n?(r++,r===5?e+=Pe:r>5&&e++):(this.finderPenaltyAddHistory(r,i),n||(e+=this.finderPenaltyCountPatterns(i)*G),n=this.modules[a][t],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,i)*G}for(let t=0;t<this.size-1;t++)for(let n=0;n<this.size-1;n++){let r=this.modules[t][n];r===this.modules[t][n+1]&&r===this.modules[t+1][n]&&r===this.modules[t+1][n+1]&&(e+=Fe)}let t=0;for(let e of this.modules)t=e.reduce((e,t)=>e+ +!!t,t);let n=this.size*this.size,r=Math.ceil(Math.abs(t*20-n*10)/n)-1;return e+=r*Ie,e}getAlignmentPatternPositions(){if(this.version===1)return[];{let e=Math.floor(this.version/7)+2,t=this.version===32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}finderPenaltyCountPatterns(e){let t=e[1],n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]===0&&(e+=this.size),t.pop(),t.unshift(e)}};function K(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function q(e,t){return(e>>>t&1)!=0}var J=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}getData(){return this.bitData.slice()}},Be=[1,10,12,14],Ve=[2,9,11,13],He=[4,8,16,16];function Ue(e,t){return e[Math.floor((t+7)/17)+1]}function We(e){let t=[];for(let n of e)K(n,8,t);return new J(He,e.length,t)}function Ge(e){if(!Je(e))throw RangeError(`String contains non-numeric characters`);let t=[];for(let n=0;n<e.length;){let r=Math.min(e.length-n,3);K(Number.parseInt(e.substring(n,n+r),10),r*3+1,t),n+=r}return new J(Be,e.length,t)}function Ke(e){if(!Ye(e))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let t=[],n;for(n=0;n+2<=e.length;n+=2){let r=H.indexOf(e.charAt(n))*45;r+=H.indexOf(e.charAt(n+1)),K(r,11,t)}return n<e.length&&K(H.indexOf(e.charAt(n)),6,t),new J(Ve,e.length,t)}function qe(e){return e===``?[]:Je(e)?[Ge(e)]:Ye(e)?[Ke(e)]:[We(Ze(e))]}function Je(e){return Me.test(e)}function Ye(e){return Ne.test(e)}function Xe(e,t){let n=0;for(let r of e){let e=Ue(r.mode,t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}function Ze(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)===`%`?(t.push(Number.parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}function Y(e){if(e<U||e>W)throw RangeError(`Version number out of range`);let t=(16*e+128)*e+64;if(e>=2){let n=Math.floor(e/7)+2;t-=(25*n-10)*n-55,e>=7&&(t-=36)}return t}function X(e,t){return Math.floor(Y(e)/8)-Le[t[0]][e]*Re[t[0]][e]}function Qe(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let t=[];for(let n=0;n<e-1;n++)t.push(0);t.push(1);let n=1;for(let r=0;r<e;r++){for(let e=0;e<t.length;e++)t[e]=Z(t[e],n),e+1<t.length&&(t[e]^=t[e+1]);n=Z(n,2)}return t}function $e(e,t){let n=t.map(e=>0);for(let r of e){let e=r^n.shift();n.push(0),t.forEach((t,r)=>n[r]^=Z(t,e))}return n}function Z(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return n}function et(e,t,n=1,r=40,i=-1,a=!0){if(!(U<=n&&n<=r&&r<=W)||i<-1||i>7)throw RangeError(`Invalid value`);let o,s;for(o=n;;o++){let n=X(o,t)*8,i=Xe(e,o);if(i<=n){s=i;break}if(o>=r)throw RangeError(`Data too long`)}for(let e of[Oe,ke,Ae])a&&s<=X(o,e)*8&&(t=e);let c=[];for(let t of e){K(t.mode[0],4,c),K(t.numChars,Ue(t.mode,o),c);for(let e of t.getData())c.push(e)}let l=X(o,t)*8;K(0,Math.min(4,l-c.length),c),K(0,(8-c.length%8)%8,c);for(let e=236;c.length<l;e^=253)K(e,8,c);let u=Array.from({length:Math.ceil(c.length/8)},()=>0);return c.forEach((e,t)=>u[t>>>3]|=e<<7-(t&7)),new ze(o,t,u,i)}function tt(e,t){let{ecc:n=`L`,boostEcc:r=!1,minVersion:i=1,maxVersion:a=40,maskPattern:o=-1,border:s=1}=t||{},c=typeof e==`string`?qe(e):Array.isArray(e)?[We(e)]:void 0;if(!c)throw Error(`uqr only supports encoding string and binary data, but got: ${typeof e}`);let l=et(c,je[n],i,a,o,r),u=nt({version:l.version,maskPattern:l.mask,size:l.size,data:l.modules,types:l.types},s);return t?.invert&&(u.data=u.data.map(e=>e.map(e=>!e))),t?.onEncoded?.(u),u}function nt(e,t=1){if(!t)return e;let{size:n}=e,r=n+t*2;e.size=r,e.data.forEach(e=>{for(let n=0;n<t;n++)e.unshift(!1),e.push(!1)});for(let n=0;n<t;n++)e.data.unshift(Array.from({length:r},e=>!1)),e.data.push(Array.from({length:r},e=>!1));let i=V.Border;e.types.forEach(e=>{for(let n=0;n<t;n++)e.unshift(i),e.push(i)});for(let n=0;n<t;n++)e.types.unshift(Array.from({length:r},e=>i)),e.types.push(Array.from({length:r},e=>i));return e}var rt=e=>{let{data:t,size:n}=tt(e,{ecc:`M`,border:4}),r=``;return t.forEach((e,t)=>e.forEach((e,n)=>{e&&(r+=`M${n} ${t}h1v1h-1z`)})),{size:n,path:r}};function it({value:e,label:t,className:n}){let{size:i,path:a}=(0,Ee.useMemo)(()=>rt(e),[e]);return(0,z.jsxs)(`svg`,{"aria-label":t,className:r(`aspect-square rounded-md`,n),role:`img`,shapeRendering:`crispEdges`,viewBox:`0 0 ${i} ${i}`,children:[(0,z.jsx)(`rect`,{fill:`#fff`,height:i,width:i}),(0,z.jsx)(`path`,{d:a,fill:`#000`})]})}var Q={ipa:`The .ipa installs only on devices its signing profile allows (development or ad hoc); an App Store export reaches testers through TestFlight.`,aab:`The .aab installs through Google Play or bundletool, not from the file.`},at={apk:`Scan with an Android phone's camera, then open the APK to install it.`,ipa:`Scan to download. ${Q.ipa}`,aab:`Scan to download. ${Q.aab}`,app:`Scan to download the .app.zip on a Mac.`};function ot({build:t}){let n=xe(t.id,!0),r=n.data?.url;if(r===null){let e=Q[t.artifact_kind];return(0,z.jsxs)(`div`,{className:`flex flex-col gap-2 text-xs text-muted-foreground`,children:[(0,z.jsx)(`p`,{children:`This storage gives no download link a phone can open without signing in, so there is no QR code. Download the build here, or open this page on the phone signed in to the console.`}),e?(0,z.jsx)(`p`,{children:e}):null]})}return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[r===void 0?n.isError?(0,z.jsxs)(S,{variant:`destructive`,children:[(0,z.jsx)(b,{}),(0,z.jsx)(v,{children:`The download link couldn't be created`}),(0,z.jsx)(x,{children:n.error.message})]}):(0,z.jsx)(e,{className:`size-48`}):(0,z.jsx)(it,{className:`size-48`,label:`Download ${ee(t)}`,value:r}),(0,z.jsx)(`p`,{className:`max-w-56 text-center text-xs text-muted-foreground`,children:at[t.artifact_kind]})]})}function $({build:e}){return(0,z.jsx)(`span`,{className:`font-mono text-foreground`,translate:`no`,children:e.submitted_version??`this build`})}function st({build:e}){switch(e.artifact_kind){case`apk`:return(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`On an emulator or a phone over USB, download the APK and install it:`}),(0,z.jsx)(g,{label:`the install command`,value:ie(e)})]});case`app`:return(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`It runs only in the iOS Simulator. Install it on the booted one:`}),(0,z.jsx)(g,{label:`the install command`,value:ae(e)})]});case`aab`:return _(e)?(0,z.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Submitted to Google Play internal testing as`,` `,(0,z.jsx)($,{build:e}),`. Testers get it once its release is rolled out; on an app Play Console hasn't published, the release is a draft you roll out in Play Console.`]}):(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`For testers, build and release to internal testing:`}),(0,z.jsx)(g,{label:`the Google Play command`,value:`npx hot-updater google-play upload`})]});case`ipa`:return _(e)?(0,z.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`On TestFlight as `,(0,z.jsx)($,{build:e}),`.`]}):(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,z.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Over USB, Xcode or Apple Configurator installs it. For testers:`}),(0,z.jsx)(g,{label:`the TestFlight command`,value:`npx hot-updater testflight`})]})}}function ct({build:e}){let t=ee(e);return(0,z.jsxs)(C,{className:`overflow-hidden shadow-sm`,children:[(0,z.jsx)(E,{className:`border-b px-4 py-3`,children:(0,z.jsx)(y,{className:`text-sm`,children:(0,z.jsx)(`h2`,{children:`Install`})})}),(0,z.jsxs)(w,{className:`grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6`,children:[(0,z.jsx)(ot,{build:e}),(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-4`,children:[(0,z.jsx)(st,{build:e}),(0,z.jsxs)(`a`,{className:n({className:`h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit`,variant:`outline`}),download:!0,href:d(e.id),children:[(0,z.jsx)(ce,{"data-icon":`inline-start`}),(0,z.jsxs)(`span`,{className:`text-left [overflow-wrap:anywhere]`,children:[`Download `,t]})]})]})]})]})}var lt=`https://hot-updater.dev/docs/guides/bundle-diffing#first-ota-update`;function ut({detail:r,page:i,onPage:a}){let o=i.before!==void 0||i.after!==void 0,s=ye(r.build.min_bundle_id,i,o),c=o?s.data:r.patches,{next:d,previous:f}=c??{};return(0,z.jsxs)(C,{className:`overflow-hidden shadow-sm`,id:`patches`,children:[(0,z.jsx)(E,{className:`border-b px-4 py-3`,children:(0,z.jsx)(y,{className:`text-sm`,children:(0,z.jsx)(`h2`,{children:`Patches from this build`})})}),(0,z.jsxs)(w,{className:`p-0`,children:[o&&s.isError?(0,z.jsx)(`div`,{className:`p-4`,children:(0,z.jsxs)(S,{variant:`destructive`,children:[(0,z.jsx)(b,{}),(0,z.jsx)(v,{children:`Patches couldn't be loaded`}),(0,z.jsx)(x,{children:s.error.message}),(0,z.jsx)(ge,{children:(0,z.jsxs)(t,{onClick:()=>void s.refetch(),size:`xs`,variant:`outline`,children:[(0,z.jsx)(fe,{"data-icon":`inline-start`}),`Retry`]})})]})}):c===void 0?(0,z.jsxs)(`div`,{className:`flex flex-col gap-2 p-4`,children:[(0,z.jsx)(`span`,{className:`sr-only`,children:`Loading patches`}),(0,z.jsx)(e,{className:`h-4 w-full`}),(0,z.jsx)(e,{className:`h-4 w-2/3`})]}):c.data.length===0?o?(0,z.jsxs)(M,{className:`py-10`,children:[(0,z.jsx)(O,{children:(0,z.jsx)(A,{children:`No more patches`})}),(0,z.jsx)(t,{className:`min-h-11 sm:min-h-8`,onClick:()=>a({}),variant:`outline`,children:`Show the newest patches`})]}):(0,z.jsxs)(M,{className:`py-10`,children:[(0,z.jsxs)(O,{children:[(0,z.jsx)(D,{variant:`icon`,children:(0,z.jsx)(le,{})}),(0,z.jsx)(A,{children:`No patches from this build`}),(0,z.jsxs)(j,{children:[`A deploy adds a patch from this build's bundle while it is its scope's newest build and the deploy config turns patches on, with `,(0,z.jsx)(`code`,{className:`font-mono`,children:`patch`}),` in`,` `,(0,z.jsx)(`code`,{className:`font-mono`,children:`hot-updater.config.ts`}),`.`]})]}),(0,z.jsx)(k,{children:(0,z.jsxs)(`a`,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),href:lt,rel:`noreferrer`,target:`_blank`,children:[`Bundle diffing guide`,(0,z.jsx)(u,{"data-icon":`inline-end`})]})})]}):(0,z.jsxs)(R,{"aria-busy":o&&s.isPlaceholderData,"aria-label":`Patches from this build`,className:`table-fixed`,children:[(0,z.jsx)(N,{children:(0,z.jsxs)(I,{children:[(0,z.jsx)(P,{children:`Target bundle`}),(0,z.jsx)(P,{className:`w-28`,children:`Patch size`}),(0,z.jsx)(P,{className:`hidden w-32 sm:table-cell`,children:`Created`})]})}),(0,z.jsx)(F,{children:c.data.map(e=>(0,z.jsxs)(I,{children:[(0,z.jsx)(L,{className:`py-3 whitespace-normal`,children:(0,z.jsx)(l,{className:`block font-mono text-xs [overflow-wrap:anywhere] underline-offset-4 hover:underline`,search:{bundleId:e.bundleId},title:e.bundleId,to:`/`,translate:`no`,children:e.bundleId})}),(0,z.jsx)(L,{className:`text-xs tabular-nums`,children:m(e.byteSize)}),(0,z.jsx)(L,{className:`hidden sm:table-cell`,children:(0,z.jsx)(p,{uuid:e.bundleId})})]},e.bundleId))})]}),d!==void 0||f!==void 0?(0,z.jsxs)(`nav`,{"aria-label":`Patch pages`,className:`flex items-center justify-end gap-2 border-t px-4 py-2`,children:[(0,z.jsxs)(t,{className:`min-h-11 sm:min-h-7`,disabled:f===void 0||o&&s.isPlaceholderData,onClick:()=>a({after:f}),size:`sm`,variant:`ghost`,children:[(0,z.jsx)(te,{"data-icon":`inline-start`}),`Newer`]}),(0,z.jsxs)(t,{className:`min-h-11 sm:min-h-7`,disabled:d===void 0||o&&s.isPlaceholderData,onClick:()=>a({before:d}),size:`sm`,variant:`ghost`,children:[`Older`,(0,z.jsx)(oe,{"data-icon":`inline-end`})]})]}):null]})]})}var dt=(e,t)=>{let n=e.data.find(e=>e.bundleId===t);if(n!==void 0)return{kind:`patch`,byteSize:n.byteSize};let r=e.data.at(-1)?.bundleId;return e.next!==void 0&&r!==void 0&&t<r?{kind:`unknown`}:{kind:`full`}};function ft({download:e}){switch(e.kind){case`patch`:return(0,z.jsxs)(`span`,{className:`text-xs`,children:[`Patch`,` `,(0,z.jsxs)(`span`,{className:`text-muted-foreground tabular-nums`,children:[`(`,m(e.byteSize),`)`]})]});case`full`:return(0,z.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:`Full bundle`});case`unknown`:return(0,z.jsx)(`a`,{className:`text-xs underline-offset-4 hover:underline`,href:`#patches`,children:`See patches`})}}function pt({detail:e}){let{servedNow:t,patches:r,catalogScopeKey:i}=e,a=(0,z.jsxs)(l,{className:`inline-flex items-center gap-0.5 underline-offset-4 hover:underline`,search:{scopeKey:i},to:`/`,children:[`All releases in this scope`,(0,z.jsx)(u,{"aria-hidden":`true`,className:`size-3`})]});return(0,z.jsxs)(C,{className:`overflow-hidden shadow-sm`,children:[(0,z.jsx)(E,{className:`border-b px-4 py-3`,children:(0,z.jsx)(y,{className:`text-sm`,children:(0,z.jsx)(`h2`,{children:`Served now`})})}),(0,z.jsx)(w,{className:`p-0`,children:t.length===0?(0,z.jsxs)(M,{className:`py-10`,children:[(0,z.jsxs)(O,{children:[(0,z.jsx)(D,{variant:`icon`,children:(0,z.jsx)(Ce,{})}),(0,z.jsx)(A,{children:`No OTA for this build yet`}),(0,z.jsxs)(j,{children:[`No release in this build's scope is newer than its built-in bundle. Deploy one with`,` `,(0,z.jsx)(`code`,{className:`font-mono`,children:`hot-updater deploy`}),`, and it shows here.`]})]}),(0,z.jsx)(k,{children:(0,z.jsx)(l,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),search:{scopeKey:i},to:`/`,children:`All releases in this scope`})})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(R,{"aria-label":`Served now`,className:`table-fixed`,children:[(0,z.jsx)(N,{children:(0,z.jsxs)(I,{children:[(0,z.jsx)(P,{children:`Bundle`}),(0,z.jsx)(P,{className:`hidden w-40 md:table-cell`,children:`Rollout`}),(0,z.jsx)(P,{className:`hidden w-32 sm:table-cell`,children:`Created`}),(0,z.jsx)(P,{className:`w-32`,children:`First OTA download`})]})}),(0,z.jsx)(F,{children:t.map(e=>{let t=e.bundleId,n=e.rolloutCohortCount/_e*100;return(0,z.jsxs)(I,{children:[(0,z.jsx)(L,{className:`py-3 whitespace-normal`,children:(0,z.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,z.jsx)(l,{className:`font-mono text-xs [overflow-wrap:anywhere] underline-offset-4 hover:underline`,search:{releaseId:e.releaseId},title:t,to:`/`,translate:`no`,children:t}),e.message?(0,z.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.message}):null]})}),(0,z.jsx)(L,{className:`hidden md:table-cell`,children:(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[e.targetCohorts.length>0?(0,z.jsx)(T,{variant:`secondary`,children:e.targetCohorts.length===1?`1 cohort`:`${e.targetCohorts.length} cohorts`}):(0,z.jsx)(Se,{percentage:n}),e.shouldForceUpdate?(0,z.jsx)(T,{variant:`outline`,children:`Forced`}):null]})}),(0,z.jsx)(L,{className:`hidden sm:table-cell`,children:(0,z.jsx)(p,{uuid:t})}),(0,z.jsx)(L,{children:(0,z.jsx)(ft,{download:dt(r,t)})})]},e.releaseId)})})]}),(0,z.jsxs)(`p`,{className:`border-t px-4 py-3 text-xs text-muted-foreground`,children:[`What the update check serves an install of this build now, newest first: not the history. `,a]})]})})]})}function mt({buildId:r,search:i,onSearchChange:a}){let o=be(r),c=o.data,u={...i.patchesBefore===void 0?{}:{before:i.patchesBefore},...i.patchesAfter===void 0?{}:{after:i.patchesAfter}};return(0,z.jsxs)(`div`,{className:`flex h-svh min-h-0 flex-col`,children:[(0,z.jsxs)(`header`,{className:`sticky top-0 z-10 flex shrink-0 items-center gap-x-2 border-b bg-background px-3 py-3 sm:min-h-12 sm:bg-card/70 sm:px-4 sm:backdrop-blur-sm`,children:[(0,z.jsx)(s,{className:`-ml-1 size-11 lg:size-7`}),(0,z.jsxs)(l,{className:n({className:`min-h-11 sm:min-h-7`,size:`sm`,variant:`ghost`}),to:`/native-builds`,children:[(0,z.jsx)(te,{"data-icon":`inline-start`}),`Native builds`]}),c?(0,z.jsxs)(`h1`,{className:`flex min-w-0 items-center gap-1.5 text-sm font-medium`,children:[(0,z.jsx)(ve,{className:`size-3.5 shrink-0 text-muted-foreground`,platform:c.build.platform}),(0,z.jsxs)(`span`,{className:`min-w-0 [overflow-wrap:anywhere]`,children:[f(c.build.platform),` `,ne[c.build.artifact_kind].label,` ·`,` `,(0,z.jsx)(`span`,{translate:`no`,children:c.channel})]}),(0,z.jsx)(`span`,{className:`hidden text-xs font-normal text-muted-foreground tabular-nums sm:inline`,children:m(c.build.byte_size)})]}):(0,z.jsx)(`h1`,{className:`sr-only`,children:`Native build`})]}),(0,z.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-y-auto bg-muted/5 p-3 sm:p-6`,children:(0,z.jsx)(`div`,{className:`mx-auto flex w-full max-w-5xl flex-col gap-4 sm:gap-6`,children:o.isError?(0,z.jsxs)(S,{variant:`destructive`,children:[(0,z.jsx)(b,{}),(0,z.jsx)(v,{children:`The native build couldn't be loaded`}),(0,z.jsx)(x,{children:o.error.message}),(0,z.jsx)(ge,{children:(0,z.jsxs)(t,{onClick:()=>void o.refetch(),size:`xs`,variant:`outline`,children:[(0,z.jsx)(fe,{"data-icon":`inline-start`}),`Retry`]})})]}):c===void 0?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`span`,{className:`sr-only`,children:`Loading the native build`}),(0,z.jsx)(e,{className:`h-56 w-full rounded-xl`}),(0,z.jsx)(e,{className:`h-64 w-full rounded-xl`})]}):c===null?(0,z.jsxs)(M,{className:`border py-16`,children:[(0,z.jsxs)(O,{children:[(0,z.jsx)(D,{variant:`icon`,children:(0,z.jsx)(de,{})}),(0,z.jsx)(A,{children:`Native build not found`}),(0,z.jsxs)(j,{children:[`No native build has this ID. It may have been deleted with`,` `,(0,z.jsx)(`code`,{className:`font-mono`,children:`native-build delete`}),`, or be from another console.`]})]}),(0,z.jsx)(k,{children:(0,z.jsx)(l,{className:n({className:`min-h-11 sm:min-h-8`,variant:`outline`}),to:`/native-builds`,children:`Show all native builds`})})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(ct,{build:c.build}),(0,z.jsx)(Te,{detail:c}),(0,z.jsx)(pt,{detail:c}),(0,z.jsx)(ut,{detail:c,onPage:e=>a({...e.before===void 0?{}:{patchesBefore:e.before},...e.after===void 0?{}:{patchesAfter:e.after}}),page:u})]})})})]})}function ht(){let{buildId:e}=h.useParams(),t=h.useSearch(),n=h.useNavigate();return(0,z.jsx)(mt,{buildId:e,onSearchChange:e=>void n({search:e,replace:!0}),search:t})}export{ht as component};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-builds_._buildId-BRiNTN3j.js","assets/sidebar-Di9SN47G.js","assets/link-DTEyW70e.js","assets/arrow-up-right-DK8Zdg40.js","assets/native-builds-BOC71grI.js","assets/relativeTime-YQt84dYr.js","assets/uuidv7-zXMtwR9Q.js","assets/chevron-right-BoUXo82O.js","assets/download-Cf24LBde.js","assets/history-DqHlgSuV.js","assets/-native-builds-search-C-TGpFAm.js","assets/refresh-cw-B9HHjLej.js","assets/StoreSubmission-JpngSvHS.js","assets/copy-DsuLj3oj.js","assets/badge-DWFcDWho.js","assets/dist-CPlO6ko9.js","assets/api-P2g8dCNg.js","assets/useMutation-DbYw7boA.js","assets/PlatformIcon-BBWQlWm9.js","assets/RolloutPercentageBadge-Cxogpi8F.js","assets/empty-B3Uwdd6k.js","assets/table-Bpy3SvSo.js"])))=>i.map(i=>d[i]);
2
- import{ir as e}from"./sidebar-Di9SN47G.js";import{n as t,r as n,t as r}from"./preload-helper-B44EvKhG.js";import{t as i}from"./-native-builds-search-C-TGpFAm.js";var a=e(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),o=n(`/native-builds_/$buildId`)({component:t(()=>r(()=>import(`./native-builds_._buildId-BRiNTN3j.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),`component`),validateSearch:i});export{a as n,o as t};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/native-builds_._buildId-D_Spjl10.js","assets/sidebar-Di9SN47G.js","assets/link-DTEyW70e.js","assets/arrow-up-right-DK8Zdg40.js","assets/native-builds-BOC71grI.js","assets/relativeTime-YQt84dYr.js","assets/uuidv7-zXMtwR9Q.js","assets/chevron-right-BoUXo82O.js","assets/download-Cf24LBde.js","assets/history-DqHlgSuV.js","assets/-native-builds-search-C-TGpFAm.js","assets/refresh-cw-B9HHjLej.js","assets/StoreSubmission-JpngSvHS.js","assets/copy-DsuLj3oj.js","assets/badge-DWFcDWho.js","assets/dist-CPlO6ko9.js","assets/api-P2g8dCNg.js","assets/useMutation-DbYw7boA.js","assets/PlatformIcon-BBWQlWm9.js","assets/RolloutPercentageBadge-Cxogpi8F.js","assets/empty-B3Uwdd6k.js","assets/table-Bpy3SvSo.js"])))=>i.map(i=>d[i]);
2
+ import{ir as e}from"./sidebar-Di9SN47G.js";import{n as t,r as n,t as r}from"./preload-helper-B44EvKhG.js";import{t as i}from"./-native-builds-search-C-TGpFAm.js";var a=e(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),o=n(`/native-builds_/$buildId`)({component:t(()=>r(()=>import(`./native-builds_._buildId-D_Spjl10.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),`component`),validateSearch:i});export{a as n,o as t};
@@ -1,184 +1,184 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/__23tanstack-start-server-fn-resolver-nWkGzoo3.js
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/__23tanstack-start-server-fn-resolver-CygMPYHZ.js
2
2
  var manifest = {
3
3
  "0ccfae64b399b03d820328fa98a38e2caa0b622d3da5a7ca633c5a0e8101e3f6": {
4
4
  functionName: "getRemoteConfigRpc_createServerFn_handler",
5
- importer: () => import("./_ssr/remote-config-rpc-BYJbiG9k.mjs")
5
+ importer: () => import("./_ssr/remote-config-rpc-GMLPb-90.mjs")
6
6
  },
7
7
  "0d1dacdd1e5ee6b100e5c142fb9af03602b6f2c6fe6af79312b36c223d7f8f97": {
8
8
  functionName: "getUpdateFailuresRpc_createServerFn_handler",
9
- importer: () => import("./_ssr/insights-failures-rpc-CxI071Ew.mjs")
9
+ importer: () => import("./_ssr/insights-failures-rpc-Q4WNNJkU.mjs")
10
10
  },
11
11
  "1371bff16085636e2c44b60a573ae434b556c63045c40a0a93a93ab69ec47999": {
12
12
  functionName: "previewRemoteConfigRpc_createServerFn_handler",
13
- importer: () => import("./_ssr/remote-config-rpc-BYJbiG9k.mjs")
13
+ importer: () => import("./_ssr/remote-config-rpc-GMLPb-90.mjs")
14
14
  },
15
15
  "16e3be74610cddd54e5e894419dca16817a7b63c09a4eed15042cdac9c39e1e0": {
16
16
  functionName: "getAdoptionReleaseRpc_createServerFn_handler",
17
- importer: () => import("./_ssr/release-adoption-rpc-BHxQWHWw.mjs")
17
+ importer: () => import("./_ssr/release-adoption-rpc-BJXZvtoQ.mjs")
18
18
  },
19
19
  "17a54fe7c5ad6ca53457914b1d02b3d6887811aa6b5fa6598a1ee107796ce8f0": {
20
20
  functionName: "getNativeBuilds_createServerFn_handler",
21
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
21
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
22
22
  },
23
23
  "1bd85c2a50e24785cb6abb023a247a9f048f37ddfa85cbb1c57e579563bad013": {
24
24
  functionName: "getBundle_createServerFn_handler",
25
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
25
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
26
26
  },
27
27
  "206547cb1526f961070a989818ca7b9e34f6b2b0e4ab851698c3807fe9fb5e0c": {
28
28
  functionName: "getReleases_createServerFn_handler",
29
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
29
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
30
30
  },
31
31
  "28ea8c9bdbeb67f80c776990bb5bcb5c990f5129520631f241faf074d90fea02": {
32
32
  functionName: "getSchemaMigrationRpc_createServerFn_handler",
33
- importer: () => import("./_ssr/schema-migration-rpc-vH6ZlJgo.mjs")
33
+ importer: () => import("./_ssr/schema-migration-rpc-BfGzEK_o.mjs")
34
34
  },
35
35
  "2b9b8d1f49f79a511589617d8d4bfc6094a3acf5264f33651b9569ba66d3f321": {
36
36
  functionName: "createChannel_createServerFn_handler",
37
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
37
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
38
38
  },
39
39
  "2c7f3cdb9bd3cab2c026a48abdc84c362db0362924a08679052a325640aec56b": {
40
40
  functionName: "listApiKeysRpc_createServerFn_handler",
41
- importer: () => import("./_ssr/api-keys-rpc-BqbL9Iyl.mjs")
41
+ importer: () => import("./_ssr/api-keys-rpc-BOIUHhDi.mjs")
42
42
  },
43
43
  "2e3fab89483b2e4fea0c2f996071b2dbb15b8bc072e7dae78c75a9a9d854d5b9": {
44
44
  functionName: "getNativeBuildPatches_createServerFn_handler",
45
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
45
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
46
46
  },
47
47
  "3377db68b9d1d971971595469029c0466da0777a177b294d655cd0c039737f1a": {
48
48
  functionName: "listRemoteConfigVersionsRpc_createServerFn_handler",
49
- importer: () => import("./_ssr/remote-config-rpc-BYJbiG9k.mjs")
49
+ importer: () => import("./_ssr/remote-config-rpc-GMLPb-90.mjs")
50
50
  },
51
51
  "3c04bc6624be6dfdd80cf96819f9c6d0455e59a7bb4c0374b6afb0162ffd15b0": {
52
52
  functionName: "listInsightsInstallationEventsRpc_createServerFn_handler",
53
- importer: () => import("./_ssr/insights-rpc-5NfC16-Q.mjs")
53
+ importer: () => import("./_ssr/insights-rpc-BO7_evvs.mjs")
54
54
  },
55
55
  "4182bf9ccbb675700638f30bc6122517ccd90b16a339a6823a0f5f6c808d70a6": {
56
56
  functionName: "publishRemoteConfigRpc_createServerFn_handler",
57
- importer: () => import("./_ssr/remote-config-rpc-BYJbiG9k.mjs")
57
+ importer: () => import("./_ssr/remote-config-rpc-GMLPb-90.mjs")
58
58
  },
59
59
  "4370f1bf70b91f1168d85379d3008449a1bedb915e9878ca4ef89d5f3a80fa7f": {
60
60
  functionName: "getBundleChildren_createServerFn_handler",
61
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
61
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
62
62
  },
63
63
  "4ca367070b00f58179a572f0bb8196a4ccdd3881e9b1dbfe33deee0cb6e1f549": {
64
64
  functionName: "getBundleChildCounts_createServerFn_handler",
65
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
65
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
66
66
  },
67
67
  "51a34c05479a893c7d320bd4cd1604427289d667698c48b9f30a01aabf8a5e68": {
68
68
  functionName: "getConfig_createServerFn_handler",
69
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
69
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
70
70
  },
71
71
  "52756dde414919a906bfe83d1ab6d29910c63bcafdb47653d6f1df562d958920": {
72
72
  functionName: "deleteChannel_createServerFn_handler",
73
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
73
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
74
74
  },
75
75
  "6726f1ed9eda1f0cb4c1f1ad1023faee435ddcfd0b7c55ef08ca7f2f7f577370": {
76
76
  functionName: "getInsightsInstallationRpc_createServerFn_handler",
77
- importer: () => import("./_ssr/insights-rpc-5NfC16-Q.mjs")
77
+ importer: () => import("./_ssr/insights-rpc-BO7_evvs.mjs")
78
78
  },
79
79
  "68a2d94ee016be64936401f5eba60ab08a47ff373e1cf9de48e4413336e6034b": {
80
80
  functionName: "createApiKeyRpc_createServerFn_handler",
81
- importer: () => import("./_ssr/api-keys-rpc-BqbL9Iyl.mjs")
81
+ importer: () => import("./_ssr/api-keys-rpc-BOIUHhDi.mjs")
82
82
  },
83
83
  "735c501f6d5ea81a445ff2b6b2ea6a1b589e3c6f63a465a881822c80ae71e7d1": {
84
84
  functionName: "findInsightsInstallationsRpc_createServerFn_handler",
85
- importer: () => import("./_ssr/insights-rpc-5NfC16-Q.mjs")
85
+ importer: () => import("./_ssr/insights-rpc-BO7_evvs.mjs")
86
86
  },
87
87
  "79ada05964de8f2123bfcd62b10097d59bf8fd689ef5c7161031e5871d8396c5": {
88
88
  functionName: "getChannels_createServerFn_handler",
89
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
89
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
90
90
  },
91
91
  "7ea0186f19f9f2bc2ca4b26e3c59636891cf046957f84287b6783f8d88bd8cb7": {
92
92
  functionName: "updateRelease_createServerFn_handler",
93
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
93
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
94
94
  },
95
95
  "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe": {
96
96
  functionName: "getConsoleFeaturesRpc_createServerFn_handler",
97
- importer: () => import("./_ssr/console-features-rpc-BRTvGLBV.mjs")
97
+ importer: () => import("./_ssr/console-features-rpc-C7XNVqm0.mjs")
98
98
  },
99
99
  "868ce85f0b63ad138a1f82a573d1d6b12f80c7ca44aefec3dadf01b5fa7db86c": {
100
100
  functionName: "getReleaseNativeBuild_createServerFn_handler",
101
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
101
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
102
102
  },
103
103
  "8a98cd9c178e4a54185d62c25a95f09d3d59850c43d3f5baa1563e1614ad942e": {
104
104
  functionName: "getAppUsageReportRpc_createServerFn_handler",
105
- importer: () => import("./_ssr/insights-usage-rpc-CFWx4_pK.mjs")
105
+ importer: () => import("./_ssr/insights-usage-rpc-B4czku50.mjs")
106
106
  },
107
107
  "936ef8582ff49d97077d1d80e8403d0b4106831c955591c5c471a88f96007fe9": {
108
108
  functionName: "getNativeBuildDownloadUrl_createServerFn_handler",
109
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
109
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
110
110
  },
111
111
  "956539a300d79a7efa191c1cc2d529d62fc4bfd940442548fdbc1404e0d53078": {
112
112
  functionName: "promoteRelease_createServerFn_handler",
113
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
113
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
114
114
  },
115
115
  "98c10bdc514eb4d3fe65af546be44452b492a81092cfe45625778a4c9f731727": {
116
116
  functionName: "rollbackRemoteConfigRpc_createServerFn_handler",
117
- importer: () => import("./_ssr/remote-config-rpc-BYJbiG9k.mjs")
117
+ importer: () => import("./_ssr/remote-config-rpc-GMLPb-90.mjs")
118
118
  },
119
119
  "a1cb80b19ca72a64fb631ca28ebb9b6941db245983de082d5dd3203ec2eef795": {
120
120
  functionName: "revokeApiKeyRpc_createServerFn_handler",
121
- importer: () => import("./_ssr/api-keys-rpc-BqbL9Iyl.mjs")
121
+ importer: () => import("./_ssr/api-keys-rpc-BOIUHhDi.mjs")
122
122
  },
123
123
  "a6f23116eeaf76166d405e28a95213123025613c6603030894e519015bf48032": {
124
124
  functionName: "getRelease_createServerFn_handler",
125
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
125
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
126
126
  },
127
127
  "af71e3c55a659ce46093e33b9d70e729359610eec7d576502e8f0e26c785b317": {
128
128
  functionName: "getRemoteConfigVersionRpc_createServerFn_handler",
129
- importer: () => import("./_ssr/remote-config-rpc-BYJbiG9k.mjs")
129
+ importer: () => import("./_ssr/remote-config-rpc-GMLPb-90.mjs")
130
130
  },
131
131
  "b4388826a9b515fb4d2113270aa8ded1c50ba13d7f07ac2b268c41396e87d0a3": {
132
132
  functionName: "listFailureReportsRpc_createServerFn_handler",
133
- importer: () => import("./_ssr/insights-failures-rpc-CxI071Ew.mjs")
133
+ importer: () => import("./_ssr/insights-failures-rpc-Q4WNNJkU.mjs")
134
134
  },
135
135
  "b46c95dba95a6a3e8fa5c9d100e3622fa5ae7af4f38e10fb1ed2fa48289a3a8f": {
136
136
  functionName: "preflightRelease_createServerFn_handler",
137
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
137
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
138
138
  },
139
139
  "b4bf4c461903edcdc44eea52468c737b5b600a586f542138ff022dcbbe86c45c": {
140
140
  functionName: "getBundleActivityRpc_createServerFn_handler",
141
- importer: () => import("./_ssr/insights-recovery-rpc-B-9bs9Gz.mjs")
141
+ importer: () => import("./_ssr/insights-recovery-rpc-CY5RYJKa.mjs")
142
142
  },
143
143
  "bfcca2365dfef4d071bdcddf97538a2637482c77bb747969dbdcd6769ca98416": {
144
144
  functionName: "getBundleEventsRpc_createServerFn_handler",
145
- importer: () => import("./_ssr/release-adoption-rpc-BHxQWHWw.mjs")
145
+ importer: () => import("./_ssr/release-adoption-rpc-BJXZvtoQ.mjs")
146
146
  },
147
147
  "c101ad0315790cf226f182906274176b64a93b9bf5b410cacec5067208c70a04": {
148
148
  functionName: "getNativeBuildDetail_createServerFn_handler",
149
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
149
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
150
150
  },
151
151
  "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13": {
152
152
  functionName: "getConsoleAccessRpc_createServerFn_handler",
153
- importer: () => import("./_ssr/auth-rpc-CPZyE2Rz.mjs")
153
+ importer: () => import("./_ssr/auth-rpc-D1ss2GUI.mjs")
154
154
  },
155
155
  "c6f18db42ac40385dbff247095197ee9f3fd3a97dc914efd368ce0ded1f098c6": {
156
156
  functionName: "getInsightsRetentionRpc_createServerFn_handler",
157
- importer: () => import("./_ssr/insights-rpc-5NfC16-Q.mjs")
157
+ importer: () => import("./_ssr/insights-rpc-BO7_evvs.mjs")
158
158
  },
159
159
  "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256": {
160
160
  functionName: "listAdoptionReleasesRpc_createServerFn_handler",
161
- importer: () => import("./_ssr/release-adoption-rpc-BHxQWHWw.mjs")
161
+ importer: () => import("./_ssr/release-adoption-rpc-BJXZvtoQ.mjs")
162
162
  },
163
163
  "d4c50f40701055145f24873dc90f3c55a5494457a6a03a743339b2ac4545eb19": {
164
164
  functionName: "listInsightsEventsRpc_createServerFn_handler",
165
- importer: () => import("./_ssr/insights-rpc-5NfC16-Q.mjs")
165
+ importer: () => import("./_ssr/insights-rpc-BO7_evvs.mjs")
166
166
  },
167
167
  "d5b58722ce514e3b63a377f736b4823c2011782495442ae4870ed547e392c70b": {
168
168
  functionName: "deleteRelease_createServerFn_handler",
169
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
169
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
170
170
  },
171
171
  "e8c24b7247936f045a145ffd5c177fd0e3df3b52769d67dfbd8d1de491d66396": {
172
172
  functionName: "getReleaseCatalogDiagnostics_createServerFn_handler",
173
- importer: () => import("./_ssr/api-rpc-CzZPviuV.mjs")
173
+ importer: () => import("./_ssr/api-rpc-COeFOpYi.mjs")
174
174
  },
175
175
  "fa8c48f0489d97c62b9b68fd0caf0a61b15bad25a42b3866ec36264b4b30bb74": {
176
176
  functionName: "getConsoleAuthProvidersRpc_createServerFn_handler",
177
- importer: () => import("./_ssr/auth-rpc-CPZyE2Rz.mjs")
177
+ importer: () => import("./_ssr/auth-rpc-D1ss2GUI.mjs")
178
178
  },
179
179
  "ff00311d412c8cdfa8ad5b0ba1eb6aa7471d0cc12170e6cc645deb91603d42dd": {
180
180
  functionName: "getReportingInstallationsRpc_createServerFn_handler",
181
- importer: () => import("./_ssr/insights-rpc-5NfC16-Q.mjs")
181
+ importer: () => import("./_ssr/insights-rpc-BO7_evvs.mjs")
182
182
  }
183
183
  };
184
184
  async function getServerFnById(id, access) {
@@ -1,8 +1,8 @@
1
1
  import { i as __toESM } from "../../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../@base-ui/react+[...].mjs";
3
- import { _ as isRedirect } from "./react-router+[...].mjs";
4
3
  import { o as QueryClientProvider } from "../tanstack__react-query.mjs";
5
4
  import { c as hydrate, s as dehydrateQuery } from "../tanstack__query-core.mjs";
5
+ import { _ as isRedirect } from "./react-router+[...].mjs";
6
6
  //#region ../../node_modules/.pnpm/@tanstack+router-ssr-query-core@1.169.3_@tanstack+query-core@5.104.0_@tanstack+router-core@1.171.37/node_modules/@tanstack/router-ssr-query-core/dist/esm/index.js
7
7
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
8
8
  var shouldDehydrateAllQueries = () => true;
@@ -1,6 +1,6 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { k as cn } from "./sidebar-D1AgCVIN.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/BundleIdDisplay-C2YJNpHa.js
2
+ import { k as cn } from "./sidebar-DB2YQlok.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/BundleIdDisplay-DOPz4pUS.js
4
4
  var import_jsx_runtime = require_jsx_runtime();
5
5
  function BundleIdDisplay({ bundleId, className }) {
6
6
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
@@ -1,11 +1,11 @@
1
- import { a as unavailableReason, n as consoleFeatures } from "./console-features-BTV-XuhQ.mjs";
2
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
2
  import { tt as ArrowUpRight } from "../_libs/lucide-react.mjs";
4
- import { O as buttonVariants, S as SidebarTrigger } from "./sidebar-D1AgCVIN.mjs";
5
- import { a as useConsoleFeatures, n as notFoundFeature } from "./console-features-api-X8ItTwxM.mjs";
6
- import { t as NotFoundPage } from "./NotFoundPage-BES4AfvN.mjs";
7
- import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CkTC2uZd.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/ConsoleFeatureUnavailable-Co4rDns4.js
3
+ import { O as buttonVariants, S as SidebarTrigger } from "./sidebar-DB2YQlok.mjs";
4
+ import { a as unavailableReason, n as consoleFeatures } from "./console-features-BTV-XuhQ.mjs";
5
+ import { a as useConsoleFeatures, n as notFoundFeature } from "./console-features-api-v1fSycue.mjs";
6
+ import { t as NotFoundPage } from "./NotFoundPage-C5rFdUpg.mjs";
7
+ import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CkdEAvCY.mjs";
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/ConsoleFeatureUnavailable-Xb1JKqcc.js
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  var CONSOLE_DEPLOYMENT_GUIDE_URL = "https://hot-updater.dev/docs/guides/console-deployment";
11
11
  /**
@@ -1,14 +1,14 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { B as Download, G as CircleAlert, V as Copy, X as Check, Y as ChevronDown, g as RotateCcw, l as Sparkles, ot as Activity, rt as ArrowRightLeft, u as Smartphone } from "../_libs/lucide-react.mjs";
4
- import { a as SheetContent, c as SheetTitle, i as Sheet, l as SheetTrigger, o as SheetDescription, s as SheetHeader, t as Button$1 } from "./sidebar-D1AgCVIN.mjs";
5
- import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CkTC2uZd.mjs";
6
- import { a as Badge } from "./badge-C4HK6j63.mjs";
4
+ import { a as SheetContent, c as SheetTitle, i as Sheet, l as SheetTrigger, o as SheetDescription, s as SheetHeader, t as Button$1 } from "./sidebar-DB2YQlok.mjs";
5
+ import { a as Badge } from "./badge-CEdVRgyl.mjs";
7
6
  import { n as toast } from "../_libs/sonner.mjs";
7
+ import { i as EmptyHeader, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CkdEAvCY.mjs";
8
8
  import { n as describeFailure } from "./insights-failures-B9VPkzZE.mjs";
9
- import { s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-ueG4Pkov.mjs";
10
- import { t as HashValueDisplay } from "./HashValueDisplay-BBswr65a.mjs";
11
- //#region node_modules/.nitro/vite/services/ssr/assets/EventDetails-CTvni55k.js
9
+ import { s as isBuiltinBundle, t as BuiltinBundleBadge } from "./InsightsPageHeader-CWf1n4Vt.mjs";
10
+ import { t as HashValueDisplay } from "./HashValueDisplay-Dd-wu5rY.mjs";
11
+ //#region node_modules/.nitro/vite/services/ssr/assets/EventDetails-D7MejFCN.js
12
12
  var import_react = /* @__PURE__ */ __toESM(require_react());
13
13
  var import_jsx_runtime = require_jsx_runtime();
14
14
  var eventTypes = {
@@ -1,7 +1,7 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { D as TooltipTrigger, T as TooltipContent, k as cn, w as Tooltip$1 } from "./sidebar-D1AgCVIN.mjs";
2
+ import { D as TooltipTrigger, T as TooltipContent, k as cn, w as Tooltip$1 } from "./sidebar-DB2YQlok.mjs";
3
3
  import { n as toast } from "../_libs/sonner.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/HashValueDisplay-BBswr65a.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/HashValueDisplay-Dd-wu5rY.js
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  var shortenIdentifier = (value, maxLength = 12) => value.length > maxLength ? `${value.slice(0, Math.max(1, maxLength - 4))}…${value.slice(-4)}` : value;
7
7
  function HashValueDisplay({ value, maxLength = 12, className, buttonClassName }) {
@@ -1,13 +1,13 @@
1
- import { r as isConsoleFeatureUnavailableError } from "./console-features-BTV-XuhQ.mjs";
2
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
2
  import { A as Info, O as List, Z as ChartNoAxesCombined, i as TriangleAlert } from "../_libs/lucide-react.mjs";
4
- import { O as buttonVariants, S as SidebarTrigger, k as cn } from "./sidebar-D1AgCVIN.mjs";
3
+ import { O as buttonVariants, S as SidebarTrigger, k as cn } from "./sidebar-DB2YQlok.mjs";
4
+ import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-CEdVRgyl.mjs";
5
+ import { r as isConsoleFeatureUnavailableError } from "./console-features-BTV-XuhQ.mjs";
5
6
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { i as useConsoleFeature } from "./console-features-api-X8ItTwxM.mjs";
7
- import { a as Badge, i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-C4HK6j63.mjs";
7
+ import { i as useConsoleFeature } from "./console-features-api-v1fSycue.mjs";
8
8
  import { n as usageMetrics } from "./insights-usage-DiGnuxW8.mjs";
9
- import { i as TabsTrigger, r as TabsList, t as Tabs$1 } from "./tabs-BJacHKeX.mjs";
10
- //#region node_modules/.nitro/vite/services/ssr/assets/InsightsPageHeader-ueG4Pkov.js
9
+ import { i as TabsTrigger, r as TabsList, t as Tabs$1 } from "./tabs-B7ZeLicF.mjs";
10
+ //#region node_modules/.nitro/vite/services/ssr/assets/InsightsPageHeader-CWf1n4Vt.js
11
11
  var import_jsx_runtime = require_jsx_runtime();
12
12
  function InsightsErrorAlert({ error, fallbackTitle }) {
13
13
  if (isConsoleFeatureUnavailableError(error)) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, { children: [
@@ -1,7 +1,7 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { O as buttonVariants } from "./sidebar-D1AgCVIN.mjs";
2
+ import { O as buttonVariants } from "./sidebar-DB2YQlok.mjs";
3
3
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-BES4AfvN.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-C5rFdUpg.js
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  var homeSearch = {
7
7
  afterReleaseId: void 0,
@@ -1,8 +1,8 @@
1
1
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
2
  import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
3
- import { k as cn } from "./sidebar-D1AgCVIN.mjs";
4
- import { a as Badge } from "./badge-C4HK6j63.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-Bkl0uDbV.js
3
+ import { k as cn } from "./sidebar-DB2YQlok.mjs";
4
+ import { a as Badge } from "./badge-CEdVRgyl.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-g0Bhfl3M.js
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function RolloutPercentageBadge({ percentage, className }) {
8
8
  const isPartialRollout = percentage < 100;
@@ -1,13 +1,13 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { V as Copy, p as Send } from "../_libs/lucide-react.mjs";
4
- import { t as Button$1 } from "./sidebar-D1AgCVIN.mjs";
5
- import { a as Badge } from "./badge-C4HK6j63.mjs";
4
+ import { t as Button$1 } from "./sidebar-DB2YQlok.mjs";
5
+ import { a as Badge } from "./badge-CEdVRgyl.mjs";
6
6
  import { n as toast } from "../_libs/sonner.mjs";
7
- import { a as useConfigQuery } from "./api-qUMT9H2M.mjs";
7
+ import { a as useConfigQuery } from "./api-0vtwA5vY.mjs";
8
8
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
9
9
  import { n as getCommitUrl } from "./git-CTA8Aqr0.mjs";
10
- //#region node_modules/.nitro/vite/services/ssr/assets/StoreSubmission-0TLWxjym.js
10
+ //#region node_modules/.nitro/vite/services/ssr/assets/StoreSubmission-JZ2Zltak.js
11
11
  var import_jsx_runtime = require_jsx_runtime();
12
12
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
13
13
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
2
  import { $ as DialogTitle, X as AlertDialogTrigger$1, Z as AlertDialogRoot, at as DialogBackdrop, bt as require_react, it as DialogClose, nt as DialogPopup, rt as DialogDescription, tt as DialogPortal, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn, t as Button$1 } from "./sidebar-D1AgCVIN.mjs";
3
+ import { k as cn, t as Button$1 } from "./sidebar-DB2YQlok.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function AlertDialog$1({ ...props }) {
@@ -1,11 +1,11 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { A as createSsrRpc } from "./sidebar-D1AgCVIN.mjs";
3
- import { t as consoleAccess } from "./console-access-B2mUKj3_.mjs";
2
+ import { t as consoleAccess } from "./console-access-33BNlH97.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-DB2YQlok.mjs";
4
4
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
5
5
  import { o as assertCanonicalChannelName } from "./dist-TEpM_UAD.mjs";
6
6
  import { n as channelIdOf } from "./native-builds-DhXL5zf_.mjs";
7
7
  import { n as readReleaseFilter } from "./listReleases-D_GY00SQ.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-qUMT9H2M.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-0vtwA5vY.js
9
9
  var MAX_PAGE_LIMIT = 100;
10
10
  var pageLimit = (limit) => {
11
11
  const value = limit ?? 20;
@@ -1,17 +1,17 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
+ import { t as consoleAccess } from "./console-access-33BNlH97.mjs";
3
4
  import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
5
  import { D as LoaderCircle, H as Clipboard, X as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-D1AgCVIN.mjs";
6
- import { t as consoleAccess } from "./console-access-B2mUKj3_.mjs";
6
+ import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-DB2YQlok.mjs";
7
+ import { a as Badge, d as CardTitle, i as AlertTitle, n as AlertAction, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-CEdVRgyl.mjs";
8
+ import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-CvNvTvIJ.mjs";
9
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-C8CS8RMt.mjs";
10
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CW08sZXd.mjs";
11
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-P4TnAZhl.mjs";
7
12
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
8
- import { a as Badge, d as CardTitle, i as AlertTitle, n as AlertAction, o as Card, r as AlertDescription, s as CardContent, t as Alert, u as CardHeader } from "./badge-C4HK6j63.mjs";
9
- import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-Cn0L__fU.mjs";
10
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-L9IrT3sY.mjs";
11
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-W7Ikmzjb.mjs";
12
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-ClsVe-Mz.mjs";
13
13
  import { n as toast } from "../_libs/sonner.mjs";
14
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Dt6_6uWi.js
14
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D5dyA4D1.js
15
15
  var import_react = /* @__PURE__ */ __toESM(require_react());
16
16
  var import_jsx_runtime = require_jsx_runtime();
17
17
  var parseName = (input) => {
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-B2mUKj3_.mjs";
2
+ import { t as consoleAccess } from "./console-access-33BNlH97.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BVvRVOz5.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-BqbL9Iyl.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-BOIUHhDi.js
5
5
  var parseName = (input) => {
6
6
  const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
7
7
  if (typeof name !== "string") throw new TypeError("API key name must be a string.");
@@ -14,7 +14,7 @@ var parseId = (input) => {
14
14
  };
15
15
  /** API key management, once the console's access check and the feature guard pass. */
16
16
  var apiKeyManagement = async () => {
17
- const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CwjEf3S5.mjs"), import("./runtime.server-BdMY1blX.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-NnMFjMFX.mjs"), import("./runtime.server-BdMY1blX.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Co4rDns4.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-DgiwJvLW.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-Xb1JKqcc.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-yFlQDwQF.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,5 +1,5 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-B2mUKj3_.mjs";
2
+ import { t as consoleAccess } from "./console-access-33BNlH97.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-BVvRVOz5.mjs";
4
4
  import { o as assertCanonicalChannelName } from "./dist-TEpM_UAD.mjs";
5
5
  import { i as rowToBundle } from "./databaseRows-B6H8Cmgq.mjs";
@@ -7,7 +7,7 @@ import { t as ReleaseManagementError } from "./releaseManagement-DHUux2az.mjs";
7
7
  import { f as releaseNativeBuildScope, n as channelIdOf } from "./native-builds-DhXL5zf_.mjs";
8
8
  import { n as readReleaseFilter, t as listReleases } from "./listReleases-D_GY00SQ.mjs";
9
9
  import { t as addReleaseReachability } from "./releaseReachability-DZOK_dH-.mjs";
10
- //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-CzZPviuV.js
10
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-COeFOpYi.js
11
11
  var withPublicBundleMutationErrors = async (action) => {
12
12
  try {
13
13
  return await action();
@@ -23,7 +23,7 @@ var pageLimit = (limit) => {
23
23
  return value;
24
24
  };
25
25
  var prepare = async () => {
26
- const { prepareConfig } = await import("./config.server-CwjEf3S5.mjs");
26
+ const { prepareConfig } = await import("./config.server-NnMFjMFX.mjs");
27
27
  return prepareConfig();
28
28
  };
29
29
  var getReleases_createServerFn_handler = createServerRpc({
@@ -1,14 +1,14 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
2
  import { t as createServerRpc } from "./createServerRpc-BVvRVOz5.mjs";
3
- import { i as getRequest } from "./server-DtM4lJ0t.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-CPZyE2Rz.js
3
+ import { i as getRequest } from "./server-BUUKNSPI.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-D1ss2GUI.js
5
5
  var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
6
6
  id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
7
7
  name: "getConsoleAccessRpc",
8
8
  filename: "src/lib/auth-rpc.ts"
9
9
  }, (opts) => getConsoleAccessRpc.__executeServer(opts));
10
10
  var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
11
- const { getConsoleAccess } = await import("./auth.server-C2hyK1tQ.mjs");
11
+ const { getConsoleAccess } = await import("./auth.server-DYS1OJ6P.mjs");
12
12
  return getConsoleAccess(getRequest());
13
13
  });
14
14
  var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
17
17
  filename: "src/lib/auth-rpc.ts"
18
18
  }, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
19
19
  var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
20
- const { getConsoleAuthProviders } = await import("./auth.server-C2hyK1tQ.mjs");
20
+ const { getConsoleAuthProviders } = await import("./auth.server-DYS1OJ6P.mjs");
21
21
  return getConsoleAuthProviders(getRequest());
22
22
  });
23
23
  //#endregion