PageSourceSearch

https://www.adamrichards.co.uk/_next/static/chunks/5ae81804-439789814dc10f5e.js

js adamrichards.co.uk collected 2026-10-04 12:24:40 UTC 217,019 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[375],{27353:function(e,t,n){n.d(t,{B:function(){return Ba}});var r,o,i,s,a,l,d,c,u,h,p,g,f,m,x,w,v,C,j,y,k,L,M,b,H,V,R,I,Z,T,z,B,_,W,S,E,A,q,O,D,P,F=n(32932),U=n(67294),N=n(85893),Q=n(11636),X=n(35027),K=n(37288),Y=n(25617),$=n(61876),G=n(68697),J=n(14890),ee=n(53416),te=n(22915),ne=n(15069),re=n(71459),oe=n(82976),ie=n(83610),se=n(32817),ae=n(40052),le=n(82649),de=n(19293),ce=n(1545),ue=n(23071),he=n(46297),pe=n(5014),ge=n(91458),fe=n(29127),me=n(94975),xe=n(79878),we=n(63428),ve=n(34978),Ce=n(65315),je=n(42965),ye=n(83505),ke=n(25934),Le=n(37946),Me=n(23450),be=n.n(Me),He=n(86126),Ve=n(77720),Re=n(23157),Ie=n(26246),Ze=n(56312),Te=n(87536),ze=n(1604),Be=n(42298),_e=n(56755),We=n.n(_e),Se=n(20640),Ee=n.n(Se),Ae=n(933),qe=n(60769),Oe=n(34393),De=n(19642),Pe=n(32512);function Fe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Ue=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"access-denied",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ne=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"activity",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M21 15H19L15.5 7L11 18L8 12L6 15H4",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Qe=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"add-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Xe=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"add",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 5V20M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ke=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"api",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z",fill:"currentColor"})]})})),Ye=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"archive",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.5 10.5V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M4.5 7.5H20.5M16 14L12.5 17.5L9 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),$e=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"arrow-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.5 19.5V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M18 14L12.5 19.5L7 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Ge=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"arrow-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M5.5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M11 18L5.5 12.5L11 7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Je=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M19.5 12.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M14 7L19.5 12.5L14 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),et=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"arrow-top-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M16.5 8.5L7 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}
1),(0,N.jsx)("path",{d:"M9 8.5H16.5V16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),tt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"arrow-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M7 11L12.5 5.5L18 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M12.5 5.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),nt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"bar-chart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),rt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"basket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19 
116.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ot=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"bell",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17.5C6.5 16 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 16 19.5 17.5H5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),it=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"bill",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),st=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"binary-document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})]})})),at=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"block-content",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z",fill:"currentColor"}),(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z",fill:"currentColor"}),(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z",fill:"currentColor"}),(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 18.6002H4V17.4002H21V18.6002Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z",fill:"currentColor"})]})})),lt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"block-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),dt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"blockquote",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ct=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"bold",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z",fill:"currentColor"})})})),ut=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"book",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M20.5 17.5V5.5L12.5 6.5M20.5 17.5L12.5 18.5M20.5 17.5V18.5M4.5 17.5V5.5L12.5 6.5M4.5 17.5L12.5 18.5M4.5 17.5V18.5M12.5 18.5L4.5 19.5V18.5M12.5 18.5L20.5 19.5V18.5M12.5 18.5V6.5M12.5 18.5H4.5M12.5 18.5H20.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ht=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"bottle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94772 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),pt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"bulb-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4272 14.3368C15.8273 15.1773 15.5 16.
11794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M16.4272 14.3368L15.9388 13.9883L16.4272 14.3368ZM14 19.5V18.9H13.4V19.5H14ZM11 19.5H11.6V18.9H11V19.5ZM8.57284 14.3368L9.06122 13.9883H9.06122L8.57284 14.3368ZM16.1 17.212C16.1 16.3069 16.3868 15.4261 16.9155 14.6853L15.9388 13.9883C15.2678 14.9284 14.9 16.0519 14.9 17.212H16.1ZM16.1 18.5V17.212H14.9V18.5H16.1ZM14.5 20.1C15.3837 20.1 16.1 19.3837 16.1 18.5H14.9C14.9 18.7209 14.7209 18.9 14.5 18.9V20.1ZM14 20.1H14.5V18.9H14V20.1ZM13.4 19.5V20.5H14.6V19.5H13.4ZM13.4 20.5C13.4 20.7209 13.2209 20.9 13 20.9V22.1C13.8837 22.1 14.6 21.3837 14.6 20.5H13.4ZM13 20.9H12V22.1H13V20.9ZM12 20.9C11.7791 20.9 11.6 20.7209 11.6 20.5H10.4C10.4 21.3837 11.1163 22.1 12 22.1V20.9ZM11.6 20.5V19.5H10.4V20.5H11.6ZM10.5 20.1H11V18.9H10.5V20.1ZM8.9 18.5C8.9 19.3837 9.61634 20.1 10.5 20.1V18.9C10.2791 18.9 10.1 18.7209 10.1 18.5H8.9ZM8.9 17.212V18.5H10.1V17.212H8.9ZM8.08446 14.6853C8.61315 15.4261 8.9 16.3069 8.9 17.212H10.1C10.1 16.0519 9.73217 14.9284 9.06122 13.9883L8.08446 14.6853ZM6.4 10C6.4 11.0377 6.56208 11.8595 6.86624 12.611C7.16624 13.3521 7.59495 13.9995 8.08446 14.6853L9.06122 13.9883C8.58004 13.3
114 8.22233 12.7629 7.97858 12.1607C7.739 11.5688 7.6 10.9023 7.6 10H6.4ZM12.5 3.9C9.16863 3.9 6.4 6.66863 6.4 10H7.6C7.6 7.33137 9.83137 5.1 12.5 5.1V3.9ZM18.6 10C18.6 6.66863 15.8314 3.9 12.5 3.9V5.1C15.1686 5.1 17.4 7.33137 17.4 10H18.6ZM16.9155 14.6853C17.4051 13.9995 17.8338 13.3521 18.1338 12.611C18.4379 11.8595 18.6 11.0377 18.6 10H17.4C17.4 10.9023 17.261 11.5688 17.0214 12.1607C16.7777 12.7629 16.42 13.314 15.9388 13.9883L16.9155 14.6853Z",fill:"currentColor"})]})})),gt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"bulb-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z",stroke:"currentColor",strokeWidth:1.2})})})),ft=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"calendar",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M4.5 10.5V19.5H20.5V10.5M4.5 10.5V5.5H20.5V10.5M4.5 10.5H12.5H20.5M20.5 13.5H16.5M16.5 13.5H12.5M16.5 13.5V10.5M16.5 13.5V16.5M12.5 13.5H8.5M12.5 13.5V16.5M12.5 13.5V10.5M8.5 13.5H4.5M8.5 13.5V10.5M8.5 13.5V16.5M20.5 16.5H16.5M16.5 16.5H12.5M16.5 16.5V19.5M12.5 16.5H8.5M12.5 16.5V19.5M8.5 16.5H4.5M8.5 16.5V19.5M17.5 8V3M7.5 8V3",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),mt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"case",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),xt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"chart-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),wt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"checkmark-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),vt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"checkmark",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ct=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17 10.5L12.5 15L8 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),jt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M14.5 17L10 12.5L14.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),yt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.5 8L15 12.5L10.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),kt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 14.5L12.5 10L17 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Lt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Mt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"clipboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),bt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"clipboard-image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ht=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"clock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Vt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"close-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Rt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"close",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18 7L7 18M7 7L18 18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),It=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"code-block",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Zt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"code",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Tt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"cog",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M14.2624 5.40607L13.8714 4.42848C13.6471 3.86771 13.104 3.5 12.5 3.5C11.896 3.5 11.3529 3.86771 11.1286 4.42848L10.7376 5.40607C10.5857 5.78585 10.2869 6.08826 9.90901 6.2448C9.53111 6.40133 9.10603 6.39874 8.73006 6.23761L7.76229 5.82285C7.20716 5.58494 6.56311 5.70897 6.13604 6.13604C5.70897 6.56311 5.58494 7.20716 5.82285 7.76229L6.23761 8.73006C6.39874 9.10602 6.40133 9.53111 6.2448 9.90901C6.08826 10.2869 5.78585 10.5857 5.40607 10.7376L4.42848 11.1286C3.86771 11.3529 3.5 11.896 3.5 12.5C3.5 13.104 3.86771 13.6471 4.42848 13.8714L5.40607 14.2624C5.78585 14.4143 6.08826 14.7131 6.2448 15.091C6.40133 15.4689 6.39874 15.894 6.23761 16.2699L5.82285 17.2377C5.58494 17.7928 5.70897 18.4369 6.13604 18.864C6.56311 19.291 7.20716 19.4151 7.76229 19.1772L8.73006 18.7624C9.10603 18.6013 9.53111 18.5987 9.90901 18.7552C10.2869 18.9117 10.5857 19.2141 10.7376 19.5939L11.1286 20.5715C11.3529 21.1323 11.896 21.5 12.5 21.5C13.104 21.5 13.6471 21.1323 13.8714 20.5715L14.2624 19.5939C14.4143 19.2141 14.7131 18.9117 15.091 18.7552C15.4689 18.5987 15.894 18.6013 16.2699 18.7624L17.2377 19.1771C17.7928 19.4151 18.4369 19.291 18.864 18.864C19.291 18.4369 19.4151 17.7928 19.1771 17.2377L18.7624 16.2699C18.6013 15.894 18.5987 15.4689 18.7552 15.091C18.911
17 14.7131 19.2141 14.4143 19.5939 14.2624L20.5715 13.8714C21.1323 13.6471 21.5 13.104 21.5 12.5C21.5 11.896 21.1323 11.3529 20.5715 11.1286L19.5939 10.7376C19.2141 10.5857 18.9117 10.2869 18.7552 9.90901C18.5987 9.53111 18.6013 9.10602 18.7624 8.73006L19.1772 7.76229C19.4151 7.20716 19.291 6.56311 18.864 6.13604C18.4369 5.70897 17.7928 5.58494 17.2377 5.82285L16.2699 6.23761C15.894 6.39874 15.4689 6.40133 15.091 6.2448C14.7131 6.08826 14.4143 5.78585 14.2624 5.40607Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16.5 12.5C16.5 14.7091 14.7091 16.5 12.5 16.5C10.2909 16.5 8.5 14.7091 8.5 12.5C8.5 10.2909 10.2909 8.5 12.5 8.5C14.7091 8.5 16.5 10.2909 16.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),zt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"collapse",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M10.5 14.5L6 19M14.5 10.5L19 6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Bt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"color-wheel",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5ZM16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),_t=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Wt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"component",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),St=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"compose",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Et=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"controls",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),At=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"copy",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),qt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"credit-card",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M20.5 9.5H4.5V11.5H20.5V9.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Ot=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"crop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 5V15.5H20M5 9.5H15.5V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Dt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"dashboard",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Pt=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"database",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18.5 7V17.5C18.5 19.0594 16.
10504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ft=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"desktop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ut=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5L6.5 9.5M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Nt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-pdf",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392 18.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Qt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Xt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-sheet",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5
1H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Kt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-text",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Yt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-video",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 16.5V13.5L14 15L11.5 16.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2}),(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),$t=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-word",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Gt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"document-zip",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.5 4.5V9.5H6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Jt=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"documents",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M10.5 4.5V9.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),en=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"dot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("circle",{cx:12.5,cy:12.5,r:1.5,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2})})})),tn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"double-chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17 8.5L12.5 13L8 8.5M17 12.5L12.5 17L8 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),nn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"double-chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 17L8 12.5L12.5 8M16.5 17L12 12.5L16.5 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),rn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"double-chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 8L17 12.5L12.5 17M8.5 8L13 12.5L8.5 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),on=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"double-chevron-up",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 12.5L12.5 8L17 12.5M8 16.5L12.5 12L17 16.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),sn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"download",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M19.5 17V19.5H5.5V17M12.5 16L12.5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),an=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"drag-handle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z",fill:"currentColor"})]})})),ln=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"drop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18.5 14.5C18.5 18 
116 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),dn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"earth-americas",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M7 13L5.5 9L10 5H15V10L14 9H11L9.5 11L10.5 12H12V13L13 14.5H15.5L18.5 17L15.5 19.5L10.5 20V17L12.5 15L9 13L7 10.5V13Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("circle",{cx:12.5,cy:12.5,r:8,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),cn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"earth-globe",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 16.5H19.5M5.5 8.5H19.5M4.5 12.5H20.5M12.5 20.5C12.5 20.5 8 18.5 8 12.5C8 6.5 12.5 4.5 12.5 4.5M12.5 4.5C12.5 4.5 17 6.5 17 12.5C17 18.5 12.5 20.5 12.5 20.5M12.5 4.5V20.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),un=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"edit",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),hn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"ellipsis-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z",fill:"currentColor"})]})})),pn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"ellipsis-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M14 18.5C14 19.3284 13.3284 20 12.5 20C11.6716 20 11 19.3284 11 18.5C11 17.6716 11.6716 17 12.5 17C13.3284 17 14 17.6716 14 18.5Z",fill:"currentColor"})]})})),gn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"enter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M6 14.5H19.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M10 18.5L6 14.5L10 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),fn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"enter-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M19 14.5H5.5V7",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M15 18.5L19 14.5L15 10.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),mn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"envelope",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M20.5 18.5H4.5V6.5H20.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),xn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"equal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M7.5 4.5H3.5V20.5
1H7.5",stroke:"currentColor",strokeWidth:1.2}),(0,N.jsx)("path",{d:"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5",stroke:"currentColor",strokeWidth:1.2}),(0,N.jsx)("path",{d:"M9 10.5H16",stroke:"currentColor",strokeWidth:1.2}),(0,N.jsx)("path",{d:"M9 14.5H16",stroke:"currentColor",strokeWidth:1.2})]})})),wn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"error-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z",fill:"currentColor"})})})),vn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"error-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Cn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"expand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M14 6.5H18.5V11M11 18.5H6.5V14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M18.5 6.5L14 11M6.5 18.5L11 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),jn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"eye-closed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),yn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"eye-open",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.39999 12.5C9.39999 10.7879 10.7879 9.39999 12.5 9.39999C14.2121 9.39999 15.6 10.7879 15.6 12.5C15.6 14.2121 14.2121 15.6 12.5 15.6C10.7879 15.6 9.39999 14.2121 9.39999 12.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M12.5 7.5C8.5 7.5 6 10 4.5 12.5C6 15 8.5 17.5 12.5 17.5C16.5 17.5 19 15 20.5 12.5C19 10 16.5 7.5 12.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),kn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"filter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M11 12L6 7V6L19 6L19 7L14 12V17L11 19V12Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})})),Ln=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"folder",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Mn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"generate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16 11L12.5 14.5L9 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),bn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"groq",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M13 13H21L13 21L13 13Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M12 12V4L4 12H12Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M12 13H4L12 21V13Z",fill:"currentColor"})]})})),Hn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"heart-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.70
159 19.8 12.9118 17 16Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Vn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"heart",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Rn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"help-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),In=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"home",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M6.5 8.75V18.5H18.5V8.75M4.5 10L12.5 5L20.5 10M14.5 18.5V11.5H10.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Zn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"ice-cream",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Tn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"image",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),zn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"image-remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Bn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"images",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),_n=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"info-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z",fill:"currentColor"})})})),Wn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"info-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Sn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"inl
1ine-element",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),En=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"inline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),An=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"insert-above",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.5M18.5 5.5L6.5 5.5M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})})),qn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"insert-below",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"square",strokeLinejoin:"round"})})})),On=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"italic",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3043 8.29849C13.8022 8.29849 14.2095 7.89112 14.2095 7.39322C14.2095 6.89532 13.8022 6.48795 13.3043 6.48795C12.8064 6.48795 12.399 6.89532 12.399 7.39322C12.399 7.89112 12.8064 8.29849 13.3043 8.29849Z",fill:"currentColor"})})})),Dn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"joystick",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Pn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"launch",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M14 6.5H5.5V19.5H18.5V11M20.5 4.5L10.5 14.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16 4.5H20.5V9",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Fn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"leave",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M15.5 15V18.5H5.5V6.5H15.5V10M9 12.5H21.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M18.5 9.5L21.5 12.5L18.5 15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Un=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"lemon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379 
112.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Nn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"link",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M11 12.5L12.5 14C13.281 14.781 14.719 14.781 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.5C17.2189 6.71895 15.781 6.71895 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.781 6.5 14L9.50001 11C10.2811 10.219 11.719 10.2189 12.5 11L14 12.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Qn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"link-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18.5 11C19.281 10.219 19.281 8.78108 18.5 8.00003L18 7.50003C17.2189 6.71898 15.781 6.71898 15 7.50003L13 9.50003M15.5 14C14.7189 14.7811 13.281 14.7811 12.5 14M6.5 14C5.71895 14.7811 5.71894 16.219 6.49999 17L6.99999 17.5C7.78104 18.2811 9.21894 18.2811 9.99999 17.5L12 15.5M12.5 11C11.719 10.219 10.281 10.219 9.5 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Xn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"lock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Kn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"logo-js",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})})),Yn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"logo-ts",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z",fill:"currentColor"})})})),$n=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"master-detail",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M7 9.5H10M11.5 6.5V18.5M7 12.5H10M13 9.5H18M7 15.5H10M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Gn=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"menu",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M6 7.5H19M6 17.5H19M6 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Jn=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"mobile-device",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M7.5 6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H15.5C16.6046 4.5 17.5 5.39543 17.5 6.5V18.5C17.5 19.6046 16.6046 20.5 15.5 20.5H9.5C8.39543 20.5 7.5 19.6046 7.5 18.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M13.5 17.5C13.5 18.0523 13.0523 18.5 12.5 18.5C11.9477 18.5 11.5 18.0523 11.5 17.5C11.5 16.9477 11.9477 16.5 12.5 16.5C13.0523 16.5 13.5 16.9477 13.5 17.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),er=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"moon",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),tr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"number",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M7.09808 13.3967V7.508H5.74066L3.83636 8.78241V10.091L5.65277 8.88495H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M9.81781 9.63202V9.66132H11.1069V9.62714C11.1069 8.95331 11.5756 8.49432 12.2739 8.49432C12.9575 8.49432 13.4018 8.89471 13.4018 9.50507C13.4018 9.9787 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9855C14.3491 10.843 14.7543 10.1838 14.7543 9.41229C14.7543 8.19159 13.7729 7.36639 12.3178 7.36639C10.8383 7.36639 9.81781 8.28436 9.81781 9.63202Z",fill:"currentColor"}
1),(0,N.jsx)("path",{d:"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8683 19.8422 12.4982C19.8422 13.1183 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.6769 20.9457 10.0666 20.9457 9.23651C20.9457 8.12323 19.9741 7.36639 18.5434 7.36639C17.0541 7.36639 16.1118 8.17694 16.0629 9.50018H17.2983C17.3422 8.88007 17.8061 8.48456 18.4995 8.48456C19.2075 8.48456 19.6567 8.85565 19.6567 9.44159C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z",fill:"currentColor"})]})})),nr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"ok-hand",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.9957 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),rr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"olist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10 7.5H19M10 12.5H19M10 17.5H19M5 18.5H7.5L7 17.5L7.5 16.5H5M5 6.5H6.5V8.5M5 8.5H6.5M6.5 8.5H8M8 13.5H6L7 11.5H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),or=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"overage",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M18.5 11V6.5H14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ir=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"package",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),sr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"pause",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M10.5 7.5H8.5V17.5H10.5V7.5Z",stroke:"currentColor",strokeWidth:1.2}),(0,N.jsx)("path",{d:"M16.5 7.5H14.5V17.5H16.5V7.5Z",stroke:"currentColor",strokeWidth:1.2})]})})),ar=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"pin",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),lr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"pin-removed",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),dr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"play",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),cr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"plug",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ur=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"presentation",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),hr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"publish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M4.99997 5.50006H20M12.5 9.00005V20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7.5 14L12.5 9.00006L17.5 14",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),pr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"read-only",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),gr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"remove-circle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),fr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"remove",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5 12.5H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),mr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"reset",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M4.56189 13.5L4.14285 13.9294C4.25676 14.0406 4.41017 14.1019 4.56932 14.1C4.72847 14.098 4.88032 14.0329 4.99144 13.9189L4.56189 13.5ZM9.92427 15.9243L15.9243 9.92427L15.0757 9.07574L9.07574 15.0757L9.92427 15.9243ZM9.07574 9.92426L15.0757 15.9243L15.9243 15.0757L9.92426 9.07574L9.07574 9.92426ZM19.9 12.5C19.9 16.5869 16.5869 19.9 12.5 19.9V21.1C17.2496 21.1 21.1 17.2496 21.1 12.5H19.9ZM5.1 12.5C5.1 8.41309 8.41309 5.1 12.5 5.1V3.9C7.75035 3.9 3.9 7.75035 3.9 12.5H5.1ZM12.5 5.1C16.5869 5.1 19.9 8.41309 19.9 12.5H21.1C21.1 7.75035 17.2496 3.9 12.5 3.9V5.1ZM5.15728 13.4258C5.1195 13.1227 5.1 12.8138 5.1 12.5H3.9C3.9 12.8635 3.92259 13.2221 3.9665 13.5742L5.15728 13.4258ZM12.5 19.9C9.9571 19.9 7.71347 18.6179 6.38048 16.6621L5.38888 17.3379C6.93584 19.6076 9.54355 21.1 12.5 21.1V19.9ZM4.99144 13.9189L7.42955 11.4189L6.57045 10.5811L4.13235 13.0811L4.99144 13.9189ZM4.98094 13.0706L2.41905 10.5706L1.58095 11.4294L4.14285 13.9294L4.98094 13.0706Z",fill:"currentColor"})})})),xr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"restore",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
1183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),wr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"retrieve",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M16 14L12.5 10.5L9 14M5.5 7.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M12.5 10.5L12.5 17.5M19.5 7.5V19.5H5.5V7.5L7.5 5.5H17.5L19.5 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),vr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"retry",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M20 9L10 9C7.51472 9 5.5 11.0147 5.5 13.5C5.5 15.9853 7.51472 18 10 18H20",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16 13L20 9L16 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Cr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"revert",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M5 9L15 9C17.4853 9 19.5 11.0147 19.5 13.5C19.5 15.9853 17.4853 18 15 18H5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M9 13L5 9L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),jr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"robot",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),yr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"rocket",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 20.5L15.5 14M11 9.49999L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.9 12.5 7.5C15.5 4.5 20.5 4.5 20.5 4.5C20.5 4.5 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 9.99999C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 9.99999C13.5 9.17157 14.1716 8.49999 15 8.49999C15.8284 8.49999 16.5 9.17157 16.5 9.99999Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),kr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"schema",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 9.5V12.5M12.5 12.5H8.5V15.5M12.5 12.5H16.5V15.5M10.5 5.5H14.5V9.5H10.5V5.5ZM6.5 15.5H10.5V19.5H6.5V15.5ZM14.5 15.5H18.5V19.5H14.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Lr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"search",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M15.0355 15.0355L19 19M16.5 11.5C16.5 14.2614 14.2614 16.5 11.5 16.5C8.73858 16.5 6.5 14.2614 6.5 11.5C6.5 8.73858 8.73858 6.5 11.5 6.5C14.2614 6.5 16.5 8.73858 16.5 11.5
1Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Mr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"select",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M16.5 15.5L12.5 19.5L8.5 15.5M8.5 9.5L12.5 5.5L16.5 9.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),br=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"share",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M15 9.5H18.5V19.5H6.5L6.5 9.5H10M12.5 16V3.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M9.5 6.5L12.5 3.5L15.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Hr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"sort",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Vr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"sparkle",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.5 10.5C8.5 12.5 5 12.5 5 12.5C5 12.5 8.5 12.5 10.5 14.5C12.5 16.5 12.5 20 12.5 20C12.5 20 12.5 16.5 14.5 14.5C16.5 12.5 20 12.5 20 12.5C20 12.5 16.5 12.5 14.5 10.5C12.5 8.5 12.5 5 12.5 5C12.5 5 12.5 8.5 10.5 10.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Rr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"sparkles",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M9.5 15C9.5 15 12.2308 14.7692 13.5 13.5C14.7692 12.2308 15 9.5 15 9.5C15 9.5 15.2308 12.2308 16.5 13.5C17.7692 14.7692 20.5 15 20.5 15C20.5 15 17.7692 15.2308 16.5 16.5C15.2308 17.7692 15 20.5 15 20.5C15 20.5 14.7692 17.7692 13.5 16.5C12.2308 15.2308 9.5 15 9.5 15ZM4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})})})),Ir=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"spinner",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Zr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"split-horizontal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Tr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"split-vertical",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),zr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"square",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("rect",{x:5.5,y:5.5,width:14,height:14,stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Br=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"stack-compact",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),_r=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"stack",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Wr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"star",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M13 4L15.2747 9.8691L21.5595 10.2188L16.6806 14.1959L18.2901 20.2812L13 16.87L7.70993 20.2812L9.31941 14.1959L4.44049 10.2188L10.7253 9.8691L13 4Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Sr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"stop",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("rect",{x:7.5,y:7.5,width:10,height:10,fill:"currentColor",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Er=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"strikethrough",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.5656 7.73438C11.0656 7.73438 10.
10734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M7 13.1H18V11.9H7V13.1Z",fill:"currentColor"})]})})),Ar=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"string",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279 15.637 16.4609 15.637Z",fill:"currentColor"}),(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z",fill:"currentColor"})]})})),qr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"sun",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Or=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"sync",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Dr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"tag",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),Pr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"tags",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.1562 7.93179L13.9717 6.11633L20.3553 12.5L13.9717 18.8836L10.6855 18.8836M11.0283 18.8836L17.4119 12.5L11.0283 6.11633L4.64462 12.5L4.64462 18.8836L11.0283 18.8836ZM9.75153 15.0534C9.75153 15.7585 9.17992 16.3302 8.47481 16.3302C7.76969 16.3302 7.19808 15.7585 7.19808 15.0534C7.19808 14.3483 7.76969 13.7767 8.47481 13.7767C9.17992 13.7767 9.75153 14.3483 9.75153 15.0534Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Fr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"terminal",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Ur=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"th-large",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H20.5M12.5 12.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Nr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"th-list",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H20.5M9.5 10.5H4.5M9.5 14.5V18.5M9.5 14.5H20.5M9.5 14.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Qr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"tiers",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5M12.5 12.5L20.5 8.5L12.5 4.5L4.5 8.5L12.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Xr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"toggle-arrow-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M10 16.5V8.5L16 12.5L10 16.5Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"})})})),Kr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"token",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Yr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"transfer",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M19.5 16.5H6M5.5 8.5L19 8.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),$r=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"translate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.37
173 15.9Z",fill:"currentColor"})})})),Gr=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"trash",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),Jr=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"trend-upward",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M20.5 11V6.5H16",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),eo=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"triangle-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),to=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"trolley",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),no=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"truncate",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),ro=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"twitter",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M18.8738 6.65751C18.1994 5.9447 17.2445 5.5 16.1857 5.5C14.1423 5.5 12.4857 7.15655 12.4857 9.2C12.4857 9.55263 12.535 9.89374 12.6272 10.2168C7.0826 9.56422 4.55703 6.02857 4.55703 6.02857C4.55703 6.02857 4.02846 9.2 6.14274 11.3143C5.08571 11.3143 4.55703 10.7857 4.55703 10.7857C4.55703 10.7857 4.55703 13.4286 7.19989 14.4857C6.67143 15.0143 5.61417 14.4857 5.61417 14.4857C5.97533 15.9303 7.45606 16.8562 8.82133 17.1358C6.67298 19.1676 3.5 18.7143 3.5 18.7143C5.14562 19.771 7.21334 20.3 9.31429 20.3C16.1214 20.3 19.8162 15.6315 19.8848 9.37762C20.8722 8.58943 22 7.08571 22 7.08571C22 7.08571 21.277 7.45458 19.6913 7.98315C21.277 6.92601 21.4714 5.5 21.4714 5.5C21.4714 5.5 20.4135 6.55789 18.8738 6.65751Z",fill:"currentColor"})})})),oo=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"ulist",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M7.10153 17.5001C7.10153 17.8323 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8323 5.89847 17.5001C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5001Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7.10153 7.5C7.10153 7.83221 6.83221 8.10153 6.5 8.10153C6.16778 8.10153 5.89847 7.83221 5.89847 7.5C5.89847 7.16778 6.16778 6.89847 6.5 6.89847C6.83221 6.89847 7.10153 7.16778 7.10153 7.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8985 6.5 11.8985C6.83221 11.8985 7.10153 12.1678 7.10153 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M10 7.5H19M10 17.5H19M10 12.5H19",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),io=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"underline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M9.52791 7.11407H8.17V14.2582C8.17 16.5817 9.79195 18.2565 12.4927 18.2565C15.1934 18.2565 16.8154 16.5817 16.8154 14.2582V7.11407H15.4574V14.1677C15.4574 15.8122 14.3787 17.0042 12.4927 17.0042C10.6067 17.0042 9.52791 15.8122 9.52791 14.1677V7.11407Z",fill:"currentColor"}),(0,N.jsx)("path",{d:"M7 20.5H18",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),so=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"undo",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9
1183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7 11L4.5 13.5L2 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ao=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"unknown",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),lo=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"unlock",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M9.5 11.5V8.5C9.5 6.5 8 5.5 6.5 5.5C5 5.5 3.5 6.5 3.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),co=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"unpublish",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M5 19.5H20M12.5 16V5",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M17.5 11L12.5 16L7.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),uo=(0,U.forwardRef)((function(e,t){return(0,N.jsxs)("svg",{"data-sanity-icon":"upload",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[(0,N.jsx)("path",{d:"M12.5 6.00003V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,N.jsx)("path",{d:"M7.5 11L12.5 6.00003L17.5 11",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})),ho=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"user",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),po=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"users",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17.5 18.5H21.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),go=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"warning-filled",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.741 5.12637C13.7357 3.41737 11.2643 3.41737 10.259 5.12637L3.7558 16.1818C2.73624 17.915 3.98595 20.1 5.99683 20.1H19.0032C21.014 20.1 22.2637 17.915 21.2442 16.1818L14.741 5.12637ZM11.9 9V13H13.1V9H11.9ZM13.1 16V14.5H11.9V16H13.1Z",fill:"currentColor"})})})),fo=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"warning-outline",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M12.5 9V13M12.5 16V14.5M14.2239 5.43058L20.727 16.486C21.5113 17.8192 20.55 19.5 19.0032 19.5H5.99683C4.45 19.5 3.48869 17.8192 4.27297 16.486L10.7761 5.43058C11.5494 4.11596 13.4506 4.11596 14.2239 5.43058Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})),mo=(0,U.forwardRef)((function(e,t){return(0,N.jsx)("svg",{"data-sanity-icon":"wrench",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:(0,N.jsx)("path",{d:"M17.0407 5.14624L17.4649 5.57051C17.6166 5.41887 17.6757 5.19783 17.6202 4.99071C17.5646 4.78359 17.4027 4.62189 17.1955 4.56656L17.0407 5.14624ZM14.4013 7.7856L13.977 7.36134C13.8288 7.50959 13.7687 7.72447 13.8185 7.92813L14.4013 7.7856ZM12.8778 6.26211L12.4535 5.83784V5.83784L12.8778 6.26211ZM11.8309 10.6568L12.2552 11.
10811C12.4152 10.9211 12.4716 10.6847 12.401 10.4697L11.8309 10.6568ZM5.63925 16.8485L5.21498 16.4242H5.21498L5.63925 16.8485ZM5.63925 19.935L6.06351 19.5108H6.06351L5.63925 19.935ZM8.72581 19.935L9.15007 20.3593L8.72581 19.935ZM15.1184 13.5425L15.2301 12.953C15.0351 12.916 14.8344 12.9779 14.6941 13.1182L15.1184 13.5425ZM18.9718 12.3561L19.3961 12.7804L18.9718 12.3561ZM20.0877 8.19324L20.6674 8.03843C20.612 7.83125 20.4503 7.66934 20.2432 7.61375C20.0361 7.55816 19.815 7.61734 19.6634 7.76898L20.0877 8.19324ZM17.4483 10.8326L17.3058 11.4154C17.5094 11.4652 17.7243 11.4051 17.8726 11.2569L17.4483 10.8326ZM15 10.2339L14.4172 10.3764C14.4704 10.5938 14.6401 10.7635 14.8575 10.8167L15 10.2339ZM16.6164 4.72198L13.977 7.36134L14.8256 8.20986L17.4649 5.57051L16.6164 4.72198ZM13.3021 6.68637C14.2723 5.71612 15.6467 5.39501 16.8859 5.72593L17.1955 4.56656C15.5595 4.12966 13.7389 4.55245 12.4535 5.83784L13.3021 6.68637ZM12.401 10.4697C11.9779 9.18109 12.2794 7.70907 13.3021 6.68637L12.4535 5.83784C11.0985 7.19284 10.7021 9.14218 11.2608 10.844L12.401 10.4697ZM11.4066 10.2326L5.21498 16.4242L6.06351 17.2727L12.2552 11.0811L11.4066 10.2326ZM5.21498 16.4242C4.12834 17.5109 4.12834 19.2727 5.21498 20.3593L6.06351 19.5108C5.4455 18.8928 5.4455 17.8908 6.06351 17.2727L5.21498 16.4242ZM5.21498 20.3593C6.30163 21.446 8.06343 21.446 9.15007 20.3593L8.30155 19.5108C7.68353 20.1288 6.68153 20.1288 6.06351 19.5108L5.21498 20.3593ZM9.15007 20.3593L15.5426 13.9668L14.6941 13.1182L8.30155 19.5108L9.15007 20.3593ZM18.5475 11.9318C17.6463 12.8331 16.3968 13.1742 15.2301 12.953L15.0066 14.132C16.5466 14.4239 18.2023 13.9741 19.3961 12.7804L18.5475 11.9318ZM19.508 8.34804C19.8389 9.58721 19.5178 10.9616 18.5475 11.9318L19.3961 12.7804C20.6815 11.495 21.1043 9.67445 20.6674 8.03843L19.508 8.34804ZM17.8726 11.2569L20.5119 8.6175L19.6634 7.76898L17.024 10.4083L17.8726 11.2569ZM14.8575 10.8167L17.3058 11.4154L17.5908 10.2498L15.1426 9.65106L14.8575 10.8167ZM13.8185 7.92813L14.4172 10.3764L15.5829 10.0914L14.9841 7.64307L13.8185 7.92813Z",fill:"currentColor"})})})),xo={"access-denied":Ue,activity:Ne,"add-circle":Qe,add:Xe,api:Ke,archive:Ye,"arrow-down":$e,"arrow-left":Ge,"arrow-right":Je,"arrow-top-right":et,"arrow-up":tt,"bar-chart":nt,basket:rt,bell:ot,bill:it,"binary-document":st,"block-content":at,"block-element":lt,blockquote:dt,bold:ct,book:ut,bottle:ht,"bulb-filled":pt,"bulb-outline":gt,calendar:ft,case:mt,"chart-upward":xt,"checkmark-circle":wt,checkmark:vt,"chevron-down":Ct,"chevron-left":jt,"chevron-right":yt,"chevron-up":kt,circle:Lt,clipboard:Mt,"clipboard-image":bt,clock:Ht,"close-circle":Vt,close:Rt,"code-block":It,code:Zt,cog:Tt,collapse:zt,"color-wheel":Bt,comment:_t,component:Wt,compose:St,controls:Et,copy:At,"credit-card":qt,crop:Ot,dashboard:Dt,database:Pt,desktop:Ft,document:Ut,"document-pdf":Nt,"document-remove":Qt,"document-sheet":Xt,"document-text":Kt,"document-video":Yt,"document-word":$t,"document-zip":Gt,documents:Jt,dot:en,"double-chevron-down":tn,"double-chevron-left":nn,"double-chevron-right":rn,"double-chevron-up":on,download:sn,"drag-handle":an,drop:ln,"earth-americas":dn,"earth-globe":cn,edit:un,"ellipsis-horizontal":hn,"ellipsis-vertical":pn,enter:gn,"enter-right":fn,envelope:mn,equal:xn,"error-filled":wn,"error-outline":vn,expand:Cn,"eye-closed":jn,"eye-open":yn,filter:kn,folder:Ln,generate:Mn,groq:bn,"heart-filled":Hn,heart:Vn,"help-circle":Rn,home:In,"ice-cream":Zn,image:Tn,"image-remove":zn,images:Bn,"info-filled":_n,"info-outline":Wn,"inline-element":Sn,inline:En,"insert-above":An,"insert-below":qn,italic:On,joystick:Dn,launch:Pn,leave:Fn,lemon:Un,link:Nn,"link-removed":Qn,lock:Xn,"logo-js":Kn,"logo-ts":Yn,"master-detail":$n,menu:Gn,"mobile-device":Jn,moon:er,number:tr,"ok-hand":nr,olist:rr,overage:or,package:ir,pause:sr,pin:ar,"pin-removed":lr,play:dr,plug:cr,presentation:ur,publish:hr,"read-only":pr,"remove-circle":gr,remove:fr,reset:mr,restore:xr,retrieve:wr,retry:vr,revert:Cr,robot:jr,rocket:yr,schema:kr,search:Lr,select:Mr,share:br,sort:Hr,sparkle:Vr,sparkles:Rr,spinner:Ir,"split-horizontal":Zr,"split-vertical":Tr,square:zr,"stack-compact":Br,stack:_r,star:Wr,stop:Sr,strikethrough:Er,string:Ar,sun:qr,sync:Or,tag:Dr,tags:Pr,terminal:Fr,"th-large":Ur,"th-list":Nr,tiers:Qr,"toggle-arrow-right":Xr,token:Kr,transfer:Yr,translate:$r,trash:Gr,"trend-upward":Jr,"triangle-outline":eo,trolley:to,truncate:no,twitter:ro,ulist:oo,underline:io,undo:so,unknown:ao,unlock:lo,unpublish:co,upload:uo,user:ho,users:po,"warning-filled":go,"warning-outline":fo,wrench:mo},wo=(0,U.forwardRef)((function(e,t){const{symbol:n,...r}=e,o=xo[n];return o?(0,U.createElement)(o,{...r,ref:t}):null})),vo=(e,t)=>{const n=(0,U.useRef)(!1),r=(0,U.useCallback)((r=>{(0,X.ZP)(e,r)&&(n.current=!0,t&&t())}),[e,t]),o=(0,U.useCallback)((()=>{n.current=!1}),[]);return(0,U.useEffect)((()=>(window.addEventListener("keydown",r),window.addEventListener("keyup",o),()=>{window.removeEventListener("keydown",r),window.removeEventListener("keyup",o)})),[r,o]),n},Co={type:"divider"},jo={altText:{assetTypes:["file","image"],field:"altText",name:"altText",operatorType:"empty",operatorTypes:["empty","notEmpty",null,"includes","doesNotInclude"],title:"Alt text",type:"string",value:""},description:{assetTypes:["file","image"],field:"description",name:"description",operatorType:"empty",operatorTypes:["empty","notEmpty",null,"includes","doesNotInclude"],title:"Description",type:"string",value:""},fileName:{assetTypes:["file","image"],field:"originalFilename",name:"filename",operatorType:"includes",operatorTypes:["includes","doesNotInclude"],title:"File name",type:"string",value:""},height:{assetTypes:["image"],field:"metadata.dimensions.height",name:"height",operatorType:"greaterThan",operatorTypes:["greaterThan","greaterThanOrEqualTo","lessThan","lessThanOrEqualTo",null,"equalTo"],title:"Height",type:"number",value:400},inCurrentDocument:{assetTypes:["file","image"],name:"inCurrentDocument",operatorType:"is",options:[{name:"true",title:"True",value:(0,K.Z)(r||(r=Fe(["_id in $documentAssetIds"])))}
1,{name:"false",title:"False",value:(0,K.Z)(o||(o=Fe(["!(_id in $documentAssetIds)"])))}],selectOnly:!0,title:"In use in current document",type:"select",value:"true"},inUse:{assetTypes:["file","image"],name:"inUse",operatorType:"is",options:[{name:"true",title:"True",value:(0,K.Z)(i||(i=Fe(["count(*[references(^._id)]) > 0"])))},{name:"false",title:"False",value:(0,K.Z)(s||(s=Fe(["count(*[references(^._id)]) == 0"])))}],title:"In use",type:"select",value:"true"},isOpaque:{assetTypes:["image"],field:"metadata.isOpaque",name:"isOpaque",operatorType:"equalTo",options:[{name:"true",title:"True",value:"false"},{name:"false",title:"False",value:"true"}],title:"Has transparency",type:"select",value:"true"},orientation:{assetTypes:["image"],name:"orientation",operatorType:"is",operatorTypes:["is","isNot"],options:[{name:"portrait",title:"Portrait",value:"metadata.dimensions.aspectRatio < 1"},{name:"landscape",title:"Landscape",value:"metadata.dimensions.aspectRatio > 1"},{name:"square",title:"Square",value:"metadata.dimensions.aspectRatio == 1"}],title:"Orientation",type:"select",value:"portrait"},size:{assetTypes:["file","image"],field:"size",modifier:"kb",modifiers:[{name:"kb",title:"KB",fieldModifier:e=>"round(".concat(e," / 1000)")},{name:"mb",title:"MB",fieldModifier:e=>"round(".concat(e," / 1000000)")}],name:"size",operatorType:"greaterThan",operatorTypes:["greaterThan","greaterThanOrEqualTo","lessThan","lessThanOrEqualTo",null,"equalTo"],title:"File size",type:"number",value:0},tag:{assetTypes:["file","image"],field:"opt.media.tags",name:"tag",operatorType:"references",operatorTypes:["references","doesNotReference",null,"empty","notEmpty"],title:"Tags",type:"searchable"},title:{assetTypes:["file","image"],field:"title",name:"title",operatorType:"empty",operatorTypes:["empty","notEmpty",null,"includes","doesNotInclude"],title:"Title",type:"string",value:""},type:{assetTypes:["file","image"],name:"type",operatorType:"is",operatorTypes:["is","isNot"],options:[{name:"image",title:"Image",value:'mimeType match "image*"'},{name:"video",title:"Video",value:'mimeType match "video*"'},{name:"audio",title:"Audio",value:'mimeType match "audio*"'},{name:"pdf",title:"PDF",value:'mimeType == "application/pdf"'}],title:"File type",type:"select",value:"image"},width:{assetTypes:["image"],field:"metadata.dimensions.width",name:"width",operatorType:"greaterThan",operatorTypes:["greaterThan","greaterThanOrEqualTo","lessThan","lessThanOrEqualTo",null,"equalTo"],title:"Width",type:"number",value:400}},yo={doesNotInclude:{fn:(e,t)=>e?"!(".concat(t," match '*").concat(e,"*')"):void 0,label:"does not include"},doesNotReference:{fn:(e,t)=>e?"!references('".concat(e,"')"):void 0,label:"does not include"},empty:{fn:(e,t)=>"!defined(".concat(t,")"),hideInput:!0,label:"is empty"},equalTo:{fn:(e,t)=>e?"".concat(t," == ").concat(e):void 0,label:"is equal to"},greaterThan:{fn:(e,t)=>e?"".concat(t," > ").concat(e):void 0,label:"is greater than"},greaterThanOrEqualTo:{fn:(e,t)=>e?"".concat(t," >= ").concat(e):void 0,label:"is greater than or equal to"},includes:{fn:(e,t)=>e?"".concat(t," match '*").concat(e,"*'"):void 0,label:"includes"},is:{fn:(e,t)=>"".concat(e),label:"is"},isNot:{fn:(e,t)=>"!(".concat(e,")"),label:"is not"},lessThan:{fn:(e,t)=>e?"".concat(t," < ").concat(e):void 0,label:"is less than"},lessThanOrEqualTo:{fn:(e,t)=>e?"".concat(t," <= ").concat(e):void 0,label:"is less than or equal to"},notEmpty:{fn:(e,t)=>"defined(".concat(t,")"),hideInput:!0,label:"is not empty"},references:{fn:(e,t)=>e?"references('".concat(e,"')"):void 0,label:"includes"}},ko=[{direction:"desc",field:"_createdAt"},{direction:"asc",field:"_createdAt"},null,{direction:"desc",field:"_updatedAt"},{direction:"asc",field:"_updatedAt"},null,{direction:"asc",field:"originalFilename"},{direction:"desc",field:"originalFilename"},null,{direction:"desc",field:"size"},{direction:"asc",field:"size"}],Lo=[jo.tag,Co,jo.inUse,jo.inCurrentDocument,Co,jo.title,jo.altText,jo.description,Co,jo.isOpaque,Co,jo.fileName,jo.size,jo.type,Co,jo.orientation,jo.width,jo.height],Mo="3rem 100px auto 1.5rem",bo="3rem 100px auto 5.5rem 5.5rem 3.5rem 8.5rem 4.75rem 2rem",Ho=(0,U.createContext)(void 0),Vo=e=>{const{children:t,onSelect:n}=e,r={onSelect:n};return(0,N.jsx)(Ho.Provider,{value:r,children:t})},Ro=()=>{const e=(0,U.useContext)(Ho);if(void 0===e)throw new Error("useAssetSourceActions must be used within an AssetSourceDispatchProvider");return e},Io=()=>(0,F.m85)({apiVersion:"2022-10-01"}),Zo={_createdAt:{asc:"Last created: Oldest first",desc:"Last created: Newest first"},_updatedAt:{asc:"Last updated: Oldest first",desc:"Last updated: Newest first"},mimeType:{asc:"MIME type: A to Z",desc:"MIME type: Z to A"},originalFilename:{asc:"File name: A to Z",desc:"File name: Z to A"},size:{asc:"File size: Smallest first",desc:"File size: Largest first"}},To=(e,t)=>Zo[e][t],zo=e=>function(t){return(0,oe.s)((()=>!!e),t.pipe((0,he.g)(3e3),(0,pe.z)((e=>Math.random()>.5?(0,ie._)({message:"Test error",statusCode:500}):(0,se.of)(e)))),t)},Bo=e=>{let{assetTypes:t,searchFacets:n,searchQuery:r}=e;const o=t.map((e=>"sanity.".concat(e,"Asset"))),i=(0,K.Z)(a||(a=Fe(["\n    _type in ",' && !(_id in path("drafts.**"))\n  '])),JSON.stringify(o)),s=n.reduce(((e,t)=>{var n;if("number"===t.type){const{field:n,modifier:r,modifiers:o,operatorType:i,value:s}=t,a=yo[i],l=null==o?void 0:o.find((e=>e.name===r)),d=(null==l?void 0:l.fieldModifier)?l.fieldModifier(n):n,c=a.fn(s,d);c&&e.push(c)}if("searchable"===t.type){const{field:n,operatorType:r,value:o}=t,i=yo[r].fn(null==o?void 0:o.value,n);i&&e.push(i)}if("select"===t.type){const{field:r,operatorType:o,options:i,value:s}=t,a=yo[o],l=null==(n=null==i?void 0:i.find((e=>e.name===s)))?void 0:n.value,d=a.fn(l,r);d&&e.push(d)}if("string"===t.type){const{field:n,operatorType:r,value:o}=t,i=yo[r].fn(o,n);i&&e.push(i)}return e}),[]);return[i,...r?[(0,K.Z)(l||(l=Fe(["[_id, altText, assetId, description, originalFilename, title, url] match '*","*'"])),r.trim())]:[],...s].join(" && ")},_o=(e,t)=>function(n){return n.pipe((0,pe.z)((()=>(0,ae.D)(e.fetch((0,K.Z)(d||(d=Fe(['count(*[_type == "','" && name.current == $name])'])),"media.tag"),{name:t})))),(0,pe.z)((e=>e>0?(0,ie._)({message:"Tag already exists",statusCode:409}):(0,se.of)(!0))))},Wo=e=>e.reduce(((e,t)=>{var n;const r=null==t?void 0:t.tag;return r&&e.push({label:null==(n=null==r?void 0:r.name)?void 0:n.current,value:null==r?void 0:r._id}),e}),[]),So={tagsAddComplete:(0,$.PH)("actions/tagsAddComplete",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}})),tagsAddError:(0,$.PH)("actions/tagsAddError",(function(e){let{assets:t,error:n,tag:r}=e;return{payload:{assets:t,error:n,tag:r}}})),tagsAddRequest:(0,$.PH)("actions/tagsAddRequest",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}})),tagsRemoveComplete:(0,$.PH)("actions/tagsRemoveComplete",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}})),tagsRemoveError:(0,$.PH)("actions/tagsRemoveError",(function(e){let{assets:t,error:n,tag:r}=e;return{payload:{assets:t,error:n,tag:r}}})),tagsRemoveRequest:(0,$.PH)("actions/tagsRemoveRequest",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}}))},Eo={showTagCreate:(0,$.PH)("dialog/showTagCreate"),showTagEdit:(0,$.PH)("dialog/showTagEdit",(function(e){let{tagId:t}=e;return{payload:{tagId:t}}}))},Ao=(0,$.oM)({name:"tags",initialState:{allIds:[],byIds:{},creating:!1,creatingError:void 0,fetchCount:-1,fetching:!1,fetchingError:void 0,panelVisible:!0},extraReducers:e=>{e.addCase(Eo.showTagCreate,(e=>{delete e.creatingError})).addCase(Eo.showTagEdit,((e,t)=>
1{const{tagId:n}=t.payload;delete e.byIds[n].error})).addMatcher((e=>[So.tagsAddComplete.type,So.tagsAddError.type,So.tagsRemoveComplete.type,So.tagsRemoveError.type].includes(e.type)),((e,t)=>{const{tag:n}=t.payload;e.byIds[n._id].updating=!1})).addMatcher((e=>[So.tagsAddRequest.type,So.tagsRemoveRequest.type].includes(e.type)),((e,t)=>{const{tag:n}=t.payload;e.byIds[n._id].updating=!0}))},reducers:{createComplete(e,t){const{tag:n}=t.payload;e.creating=!1,e.allIds.includes(n._id)||e.allIds.push(n._id),e.byIds[n._id]={_type:"tag",picked:!1,tag:n,updating:!1}},createError(e,t){e.creating=!1,e.creatingError=t.payload.error},createRequest(e,t){e.creating=!0,delete e.creatingError},deleteComplete(e,t){const{tagId:n}=t.payload,r=e.allIds.indexOf(n);r>=0&&e.allIds.splice(r,1),delete e.byIds[n]},deleteError(e,t){const{error:n,tag:r}=t.payload,o=null==r?void 0:r._id;e.byIds[o].error=n,e.byIds[o].updating=!1},deleteRequest(e,t){var n,r;const o=null==(r=null==(n=t.payload)?void 0:n.tag)?void 0:r._id;e.byIds[o].picked=!1,e.byIds[o].updating=!0,Object.keys(e.byIds).forEach((t=>{delete e.byIds[t].error}))},fetchComplete(e,t){const{tags:n}=t.payload;null==n||n.forEach((t=>{e.allIds.push(t._id),e.byIds[t._id]={_type:"tag",picked:!1,tag:t,updating:!1}})),e.fetching=!1,e.fetchCount=n.length||0,delete e.fetchingError},fetchError(e,t){const{error:n}=t.payload;e.fetching=!1,e.fetchingError=n},fetchRequest:{reducer:(e,t)=>{e.fetching=!0,delete e.fetchingError},prepare:()=>({payload:{query:(0,K.Z)(c||(c=Fe(['\n          {\n            "items": *[\n              _type == "','"\n              && !(_id in path("drafts.**"))\n            ] {\n              _createdAt,\n              _updatedAt,\n              _id,\n              _rev,\n              _type,\n              name\n            } | order(name.current asc),\n          }\n        '])),"media.tag")}})},listenerCreateQueue(e,t){},listenerCreateQueueComplete(e,t){const{tags:n}=t.payload;null==n||n.forEach((t=>{e.byIds[t._id]={_type:"tag",picked:!1,tag:t,updating:!1},e.allIds.includes(t._id)||e.allIds.push(t._id)}))},listenerDeleteQueue(e,t){},listenerDeleteQueueComplete(e,t){const{tagIds:n}=t.payload;null==n||n.forEach((t=>{const n=e.allIds.indexOf(t);n>=0&&e.allIds.splice(n,1),delete e.byIds[t]}))},listenerUpdateQueue(e,t){},listenerUpdateQueueComplete(e,t){const{tags:n}=t.payload;null==n||n.forEach((t=>{e.byIds[t._id]&&(e.byIds[t._id].tag=t)}))},panelVisibleSet(e,t){const{panelVisible:n}=t.payload;e.panelVisible=n},sort(e){e.allIds.sort(((t,n)=>{const r=e.byIds[t].tag.name.current,o=e.byIds[n].tag.name.current;return r<o?-1:r>o?1:0}))},updateComplete(e,t){const{tag:n}=t.payload;e.byIds[n._id].tag=n,e.byIds[n._id].updating=!1},updateError(e,t){const{error:n,tag:r}=t.payload,o=null==r?void 0:r._id;e.byIds[o].error=n,e.byIds[o].updating=!1},updateRequest(e,t){const{tag:n}=t.payload;e.byIds[null==n?void 0:n._id].updating=!0}}}),qo=e=>e.tags.byIds,Oo=(0,G.P1)([qo,e=>e.tags.allIds],((e,t)=>t.map((t=>e[t])))),Do=(0,G.P1)([qo,(e,t)=>t],((e,t)=>e[t])),Po=Ao.actions;var Fo=Ao.reducer;const Uo=(0,$.oM)({name:"search",initialState:{facets:[],query:""},reducers:{facetsAdd(e,t){e.facets.push({...t.payload.facet,id:(0,ke.Z)()})},facetsClear(e){e.facets=[]},facetsRemoveByName(e,t){e.facets=e.facets.filter((e=>e.name!==t.payload.facetName))},facetsRemoveByTag(e,t){e.facets=e.facets.filter((e=>{var n;return!("tag"===e.name&&"searchable"===e.type&&("references"===e.operatorType||"doesNotReference"===e.operatorType)&&(null==(n=e.value)?void 0:n.value)===t.payload.tagId)}))},facetsRemoveById(e,t){e.facets=e.facets.filter((e=>e.id!==t.payload.facetId))},facetsUpdate(e,t){const{modifier:n,name:r,operatorType:o,value:i}=t.payload,s=e.facets.find((e=>e.name===r));s&&("number"===s.type&&n&&(s.modifier=n),o&&(s.operatorType=o),void 0!==i&&(s.value=i),e.facets=e.facets.filter((e=>e.name!==s.name||e.id===s.id)))},facetsUpdateById(e,t){const{modifier:n,id:r,operatorType:o,value:i}=t.payload;e.facets.forEach(((t,s)=>{t.id===r&&("number"===t.type&&n&&(t.modifier=n),o&&(t.operatorType=o),void 0!==i&&(e.facets[s].value=i))}))},querySet(e,t){var n;e.query=null==(n=t.payload)?void 0:n.searchQuery}}}),No=(0,G.P1)([e=>e.search.facets,(e,t)=>t],((e,t)=>e.some((e=>{var n;return"tag"===e.name&&"searchable"===e.type&&("references"===e.operatorType||"doesNotReference"===e.operatorType)&&(null==(n=e.value)?void 0:n.value)===t})))),Qo=Uo.actions;var Xo=Uo.reducer;const Ko={uploadComplete:(0,$.PH)("uploads/uploadComplete",(function(e){let{asset:t}=e;return{payload:{asset:t}}}))},Yo=ko[0],$o={allIds:[],assetTypes:[],byIds:{},fetchCount:-1,fetching:!1,fetchingError:void 0,lastPicked:void 0,order:{direction:Yo.direction,field:Yo.field,title:To(Yo.field,Yo.direction)},pageIndex:0,pageSize:100,view:"grid"}
1,Go=(0,$.oM)({name:"assets",initialState:$o,extraReducers:e=>{e.addCase(Ko.uploadComplete,((e,t)=>{const{asset:n}=t.payload;e.byIds[n._id]={_type:"asset",asset:n,picked:!1,updating:!1}})).addCase(So.tagsAddComplete,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(So.tagsAddError,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(So.tagsAddRequest,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!0}))})).addCase(So.tagsRemoveComplete,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(So.tagsRemoveError,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(So.tagsRemoveRequest,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!0}))}))},reducers:{clear(e){e.allIds=[]},deleteComplete(e,t){const{assetIds:n}=t.payload;null==n||n.forEach((t=>{const n=e.allIds.indexOf(t);n>=0&&e.allIds.splice(n,1),delete e.byIds[t]})),e.pageIndex=Math.floor(e.allIds.length/e.pageSize)-1},deleteError(e,t){var n,r,o,i;const{assetIds:s,error:a}=t.payload,l=null==(i=null==(o=null==(r=null==(n=null==a?void 0:a.response)?void 0:n.body)?void 0:r.error)?void 0:o.items)?void 0:i.map((e=>e.error));null==s||s.forEach((t=>{e.byIds[t].updating=!1})),null==l||l.forEach((t=>{e.byIds[t.id].error=t.description}))},deleteRequest(e,t){const{assets:n}=t.payload;n.forEach((t=>{e.byIds[null==t?void 0:t._id].updating=!0})),Object.keys(e.byIds).forEach((t=>{delete e.byIds[t].error}))},fetchComplete(e,t){var n;const r=(null==(n=t.payload)?void 0:n.assets)||[];r&&r.forEach((t=>{e.allIds.includes(t._id)||e.allIds.push(t._id),e.byIds[t._id]={_type:"asset",asset:t,picked:!1,updating:!1}})),e.fetching=!1,e.fetchCount=r.length||0,delete e.fetchingError},fetchError(e,t){const n=t.payload;e.fetching=!1,e.fetchingError=n},fetchRequest:{reducer:(e,t)=>{e.fetching=!0,delete e.fetchingError},prepare:e=>{let{params:t={},queryFilter:n,selector:r="",sort:o=(0,K.Z)(h||(h=Fe(["order(_updatedAt desc)"])))}=e;const i=o||r?"|":"";return{payload:{params:t,query:(0,K.Z)(p||(p=Fe(['\n          {\n            "items": *[',"] {\n              _id,\n              _type,\n              _createdAt,\n              _updatedAt,\n              altText,\n              description,\n              extension,\n              metadata {\n                dimensions,\n                exif,\n                isOpaque,\n              },\n              mimeType,\n              opt {\n                media\n              },\n              originalFilename,\n              size,\n              title,\n              url\n            } "," "," ",",\n          }\n        "])),n,i,o,r)}}}},insertUploads(e,t){const{results:n}=t.payload;Object.entries(n).forEach((t=>{let[n,r]=t;r&&!e.allIds.includes(n)&&e.allIds.push(r)}))},listenerCreateQueue(e,t){},listenerCreateQueueComplete(e,t){const{assets:n}=t.payload;null==n||n.forEach((t=>{var n;(null==(n=e.byIds[null==t?void 0:t._id])?void 0:n.asset)&&(e.byIds[t._id].asset=t)}))},listenerDeleteQueue(e,t){},listenerDeleteQueueComplete(e,t){const{assetIds:n}=t.payload;null==n||n.forEach((t=>{const n=e.allIds.indexOf(t);n>=0&&e.allIds.splice(n,1),delete e.byIds[t]}))},listenerUpdateQueue(e,t){},listenerUpdateQueueComplete(e,t){const{assets:n}=t.payload;null==n||n.forEach((t=>{var n;(null==(n=e.byIds[null==t?void 0:t._id])?void 0:n.asset)&&(e.byIds[t._id].asset=t)}))},loadNextPage(){},loadPageIndex(e,t){e.pageIndex=t.payload.pageIndex},orderSet(e,t){var n;e.order=null==(n=t.payload)?void 0:n.order,e.pageIndex=0},pick(e,t){const{assetId:n,picked:r}=t.payload;e.byIds[n].picked=r,e.lastPicked=r?n:void 0},pickAll(e){e.allIds.forEach((t=>{e.byIds[t].picked=!0}))},pickClear(e){e.lastPicked=void 0,Object.values(e.byIds).forEach((t=>{e.byIds[t.asset._id].picked=!1}))},pickRange(e,t){const n=e.allIds.findIndex((e=>e===t.payload.startId)),r=e.allIds.findIndex((e=>e===t.payload.endId)),o=[n,r].sort(((e,t)=>e-t));e.allIds.slice(o[0],o[1]+1).forEach((t=>{e.byIds[t].picked=!0})),e.lastPicked=e.allIds[r]},sort(e){e.allIds.sort(((t,n)=>{const r=e.byIds[t].asset[e.order.field],o=e.byIds[n].asset[e.order.field];return r<o?"asc"===e.order.direction?-1:1:r>o?"asc"===e.order.direction?1:-1:0}))},updateComplete(e,t){const{asset:n}=t.payload;e.byIds[n._id].updating=!1,e.byIds[n._id].asset=n},updateError(e,t){const{asset:n,error:r}=t.payload,o=null==n?void 0:n._id;e.byIds[o].error=r.message,e.byIds[o].updating=!1},updateRequest(e,t){var n,r;const o=null==(r=null==(n=t.payload)?void 0:n.asset)?void 0:r._id;e.byIds[o].updating=!0},viewSet(e,t){var n;e.view=null==(n=t.payload)?void 0:n.view}}}),Jo=(0,G.P1)([e=>e.assets.byIds,(e,t)=>t],((e,t)=>e[t]||void 0)),ei=(0,G.P1)([e=>e.assets.byIds,e=>e.assets.allIds],((e,t)=>t.map((t=>e[t])))),ti=(0,G.P1)([ei],(e=>e.length)),ni=(0,G.P1)([ei],(e=>e.filter((e=>null==e?void 0:e.picked)))),ri=(0,G.P1)([ni],(e=>e.length)),oi=Go.actions;var ii=Go.reducer;const si=(0,Le.iv)(x||(x=Fe(["\n  ::-webkit-scrollbar {\n    width: 14px;\n  }\n\n  ::-webkit-scrollbar-thumb {\n    border-radius: 10px;\n    border: 4px solid rgba(0, 0, 0, 0);\n    background: var(--card-border-color);\n    background-clip: padding-box;\n\n    &:hover {\n      background: var(--card-muted-fg-color);\n      background-clip: padding-box;\n    }\n  }\n"]))),ai=(0,Le.vJ)(w||(w=Fe(["\n  .media__custom-scrollbar {\n    ",'\n  }\n\n  // @sanity/ui overrides\n\n  // Custom scrollbar on Box (used in Dialogs)\n  div[data-ui="Box"] {\n    ','\n  }\n\n  // Dialog background color\n  div[data-ui="Dialog"] {\n    background-color: rgba(15, 17, 18, 0.9);\n  }\n\n'])),si,si),li=Y.v9,di=(0,$.oM)({name:"dialog",initialState:{items:[]},extraReducers:e=>{e.addCase(Eo.showTagCreate,(e=>{e.items.push({id:"tagCreate",type:"tagCreate"})})),e.addCase(Eo.showTagEdit,((e,t)=>
1{const{tagId:n}=t.payload;e.items.push({id:n,tagId:n,type:"tagEdit"})}))},reducers:{clear(e){e.items=[]},inlineTagCreate(e,t){const{assetId:n,tag:r}=t.payload;e.items.forEach((e=>{"assetEdit"===e.type&&e.assetId===n&&(e.lastCreatedTag={label:r.name.current,value:r._id})}))},inlineTagRemove(e,t){const{tagIds:n}=t.payload;e.items.forEach((e=>{"assetEdit"===e.type&&(e.lastRemovedTagIds=n)}))},remove(e,t){var n;const r=null==(n=t.payload)?void 0:n.id;e.items=e.items.filter((e=>e.id!==r))},showConfirmAssetsTagAdd(e,t){const{assetsPicked:n,closeDialogId:r,tag:o}=t.payload,i="".concat(n.length," ").concat(be()("asset",n.length));e.items.push({closeDialogId:r,confirmCallbackAction:So.tagsAddRequest({assets:n,tag:o}),confirmText:"Yes, add tag to ".concat(i),title:"Add tag ".concat(o.name.current," to ").concat(i,"?"),id:"confirm",headerTitle:"Confirm tag addition",tone:"primary",type:"confirm"})},showConfirmAssetsTagRemove(e,t){const{assetsPicked:n,closeDialogId:r,tag:o}=t.payload,i="".concat(n.length," ").concat(be()("asset",n.length));e.items.push({closeDialogId:r,confirmCallbackAction:So.tagsRemoveRequest({assets:n,tag:o}),confirmText:"Yes, remove tag from ".concat(i),headerTitle:"Confirm tag removal",id:"confirm",title:"Remove tag ".concat(o.name.current," from ").concat(i,"?"),tone:"critical",type:"confirm"})},showConfirmDeleteAssets(e,t){const{assets:n,closeDialogId:r}=t.payload,o="".concat(n.length," ").concat(be()("asset",n.length));e.items.push({closeDialogId:r,confirmCallbackAction:oi.deleteRequest({assets:n.map((e=>e.asset))}),confirmText:"Yes, delete ".concat(o),description:"This operation cannot be reversed. Are you sure you want to continue?",title:"Permanently delete ".concat(o,"?"),id:"confirm",headerTitle:"Confirm deletion",tone:"critical",type:"confirm"})},showConfirmDeleteTag(e,t){const{closeDialogId:n,tag:r}=t.payload;e.items.push({closeDialogId:n,confirmCallbackAction:Po.deleteRequest({tag:r}),confirmText:"Yes, delete ".concat("tag"),description:"This operation cannot be reversed. Are you sure you want to continue?",title:"Permanently delete ".concat("tag","?"),id:"confirm",headerTitle:"Confirm deletion",tone:"critical",type:"confirm"})},showAssetEdit(e,t){const{assetId:n}=t.payload;e.items.push({assetId:n,id:n,type:"assetEdit"})},showSearchFacets(e){e.items.push({id:"searchFacets",type:"searchFacets"})},showTags(e){e.items.push({id:"tags",type:"tags"})}}}),ci=di.actions;var ui=di.reducer;const hi=()=>{const e=(0,Y.I0)(),t=li((e=>e.assets.view));return(0,N.jsxs)(Q.gF,{space:0,style:{whiteSpace:"nowrap"},children:[(0,N.jsx)(Q.zx,{fontSize:1,icon:Ur,mode:"grid"===t?"default":"ghost",onClick:()=>e(oi.viewSet({view:"grid"})),style:{borderBottomRightRadius:0,borderTopRightRadius:0}}),(0,N.jsx)(Q.zx,{fontSize:1,icon:Nr,mode:"table"===t?"default":"ghost",onClick:()=>e(oi.viewSet({view:"table"})),style:{borderBottomLeftRadius:0,borderTopLeftRadius:0}})]})};function pi(){const e=(0,Q.vI)();return{constrainSize:!0,floatingBoundary:e.element,portal:!0,referenceBoundary:e.element}}const gi=()=>{var e;const t=(0,Y.I0)(),n=li((e=>e.assets.order)),r=pi();return(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,icon:Hr,mode:"bleed",padding:3,text:To(n.field,n.direction)}),id:"order",menu:(0,N.jsx)(Q.v2,{children:null==(e=ko)?void 0:e.map(((e,r)=>{if(e){const o=n.field===e.field&&n.direction===e.direction;return(0,N.jsx)(Q.sN,{disabled:o,fontSize:1,iconRight:o,onClick:()=>t(oi.orderSet({order:{direction:e.direction,field:e.field}})),padding:2,selected:o,space:4,style:{minWidth:"200px"},text:To(e.field,e.direction)},r)}return(0,N.jsx)(Q.R,{},r)}))}),popover:r})},fi=e=>{const{loading:t}=e,{animationDuration:n,isFinished:r,progress:o}=(0,He.ee)({animationDuration:300,isAnimating:t});return(0,N.jsx)(Q.xu,{style:{opacity:r?0:1,transition:"opacity ".concat(n,"ms linear")},children:(0,N.jsx)(Q.xu,{style:{height:"1px",background:"rgba(255, 255, 255, 0.5)",position:"absolute",left:0,top:0,transition:"width ".concat(n,"ms linear"),width:"".concat(100*o,"%")}})})},mi={bg:{dark:{title:"Gray 950",hex:"#1b1d20"}.hex,light:{title:"Gray 50",hex:"#f2f3f5"}.hex},bg2:{dark:{title:"Gray 900",hex:"#272a2e"}.hex,light:{title:"Gray 100",hex:"#e6e8ec"}.hex},inputEnabledBorder:{dark:Q.studioTheme.color.dark.default.input.default.enabled.border,light:Q.studioTheme.color.light.default.input.default.enabled.border},inputHoveredBorder:{dark:Q.studioTheme.color.dark.default.input.default.hovered.border,light:Q.studioTheme.color.light.default.input.default.hovered.border},mutedHoveredBg:{dark:Q.studioTheme.color.dark.primary.muted.primary.hovered.bg,light:Q.studioTheme.color.light.primary.muted.primary.hovered.bg}
1,mutedHoveredFg:{dark:Q.studioTheme.color.dark.primary.muted.primary.hovered.fg,light:Q.studioTheme.color.light.primary.muted.primary.hovered.fg},mutedSelectedBg:{dark:Q.studioTheme.color.dark.primary.muted.primary.selected.bg,light:Q.studioTheme.color.light.primary.muted.primary.selected.bg},spotBlue:{dark:Q.studioTheme.color.dark.primary.spot.blue,light:Q.studioTheme.color.light.primary.spot.blue}};function xi(e,t){var n;return null==(n=mi[t])?void 0:n[e]}const wi=(0,Le.ZP)(Q.xu)((e=>{let{scheme:t,theme:n}=e;return(0,Le.iv)(v||(v=Fe(["\n    background: ",";\n    border-radius: ",";\n  "])),xi(t,"bg"),(0,Q.hO)(n.sanity.radius[2]))})),vi=e=>{const{children:t,facet:n}=e,{scheme:r}=(0,F.tv4)(),o=(0,Y.I0)();return(0,N.jsx)(wi,{padding:[2,2,1],scheme:r,children:(0,N.jsxs)(Q.kC,{align:["flex-start","flex-start","center"],direction:["column","column","row"],children:[(0,N.jsx)(Q.xu,{paddingBottom:[3,3,0],paddingLeft:1,paddingRight:2,paddingTop:[1,1,0],children:(0,N.jsx)(Q.__,{size:0,style:{whiteSpace:"nowrap"},children:n.title})}),(0,N.jsxs)(Q.kC,{align:"center",children:[t,(0,N.jsx)(Q.xu,{marginLeft:1,paddingX:2,children:(0,N.jsx)(Q.xv,{muted:!0,size:0,children:(0,N.jsx)(Rt,{onClick:()=>{o(Qo.facetsRemoveById({facetId:n.id}))}})})})]})]})})},Ci=e=>{const{onValueChange:t,value:n,...r}=e;return(0,N.jsx)(Q.oi,{...r,onChange:e=>{const n=e.target.value;(""===n||/^[0-9\b]+$/.test(n))&&t(parseInt(n,10)||"")},value:null!=n?n:""})},ji=e=>{let{facet:t}=e;var n;const r=(0,Y.I0)(),o=pi(),i=null==t?void 0:t.modifiers,s=(null==t?void 0:t.modifier)?null==i?void 0:i.find((e=>e.name===(null==t?void 0:t.modifier))):null==i?void 0:i[0],a=null!=(n=t.operatorType)?n:"greaterThan";return(0,N.jsxs)(vi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:Mr,padding:2,text:yo[a].label}),id:"operators",menu:(0,N.jsx)(Q.v2,{children:t.operatorTypes.map(((e,n)=>e?(0,N.jsx)(Q.sN,{disabled:e===a,fontSize:1,onClick:()=>(e=>{r(Qo.facetsUpdateById({id:t.id,operatorType:e}))})(e),padding:2,text:yo[e].label},e):(0,N.jsx)(Q.R,{},n)))}),popover:o}),(0,N.jsx)(Q.xu,{marginX:1,style:{maxWidth:"50px"},children:(0,N.jsx)(Ci,{fontSize:1,onValueChange:e=>{r(Qo.facetsUpdateById({id:t.id,value:e}))},padding:2,radius:2,width:2,value:null==t?void 0:t.value})}),i&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:Mr,padding:2,text:null==s?void 0:s.title}),id:"modifier",menu:(0,N.jsx)(Q.v2,{children:i.map((e=>{const n=e.name===t.modifier;return(0,N.jsx)(Q.sN,{disabled:n,fontSize:1,onClick:()=>(e=>{r(Qo.facetsUpdateById({id:t.id,modifier:e.name}))})(e),padding:2,text:e.title},e.name)}))}),popover:o})]})},yi=e=>{let{facet:t}=e;var n;const r=(0,Y.I0)(),o=pi(),i=null==t?void 0:t.options,s=null==i?void 0:i.find((e=>e.name===(null==t?void 0:t.value))),a=null!=(n=null==t?void 0:t.operatorType)?n:"is";return(0,N.jsxs)(vi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.xu,{marginRight:1,children:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:Mr,padding:2,text:yo[a].label})}),id:"operators",menu:(0,N.jsx)(Q.v2,{children:t.operatorTypes.map(((e,n)=>e?(0,N.jsx)(Q.sN,{disabled:e===a,fontSize:1,onClick:()=>(e=>{r(Qo.facetsUpdate({name:t.name,operatorType:e}))})(e),padding:2,text:yo[e].label},e):(0,N.jsx)(Q.R,{},n)))}),popover:o}),(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:Mr,padding:2,text:null==s?void 0:s.title}),id:"list",menu:(0,N.jsx)(Q.v2,{children:null==i?void 0:i.map(((e,n)=>{const o=e.name===(null==s?void 0:s.name);return(0,N.jsx)(Q.sN,{disabled:o,fontSize:1,onClick:()=>{return e=i[n],void r(Qo.facetsUpdate({name:t.name,value:e.name}));var e},padding:2,text:e.title},e.name)}))}),popover:o})]})},ki=e=>{let{facet:t}=e;const n=(0,Y.I0)(),r=pi(),o=t.operatorType;return(0,N.jsxs)(vi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:Mr,padding:2,text:yo[o].label}),id:"operators",menu:(0,N.jsx)(Q.v2,{children:t.operatorTypes.map(((e,r)=>e?(0,N.jsx)(Q.sN,{disabled:e===o,fontSize:1,onClick:()=>(e=>{n(Qo.facetsUpdateById({id:t.id,operatorType:e}))})(e),padding:2,text:yo[e].label},e):(0,N.jsx)(Q.R,{},r)))}),popover:r}),!yo[o].hideInput&&(0,N.jsx)(Q.xu,{marginLeft:1,style:{maxWidth:"125px"},children:(0,N.jsx)(Q.oi,{fontSize:1,onChange:e=>{n(Qo.facetsUpdateById({id:t.id,value:e.target.value}))},padding:2,radius:2,width:2,value:null==t?void 0:t.value})})]})},{fonts:{text:{sizes:Li}},radius:Mi,space:bi}=Q.studioTheme,Hi=e=>({control:(t,n)=>{let{isDisabled:r,isFocused:o}=n,i="inset 0 0 0 1px var(--card-border-color)";return o&&(i="inset 0 0 0 1px ".concat(xi(e,"inputEnabledBorder"),",\n        0 0 0 1px ").concat(xi(e,"bg2"),",\n        0 0 0 3px var(--card-focus-ring-color) !important")),{...t,backgroundColor:"var(--card-bg-color)",color:"inherit",border:"none",borderRadius:Mi[2],boxShadow:i,fontSize:Li[1].fontSize,minHeight:"25px",opacity:r?.5:"inherit",outline:"none",transition:"none","&:hover":{boxShadow:"inset 0 0 0 1px ".concat(xi(e,"inputHoveredBorder"))}}},input:e=>({...e,color:"var(--card-fg-color)",fontFamily:Q.studioTheme.fonts.text.family,fontSize:Li[1].fontSize,marginLeft:(0,Q.hO)(bi[2])}),menuList:e=>({...e,padding:0}),noOptionsMessage:e=>({...e,fontFamily:Q.studioTheme.fonts.text.family,fontSize:Li[1].fontSize,lineHeight:"1em"}),option:(t,n)=>{let{isFocused:r}=n;return{...t,backgroundColor:r?xi(e,"spotBlue"):"transparent",borderRadius:Mi[2],color:r?xi(e,"bg"):"inherit",fontSize:Li[1].fontSize,lineHeight:"1em",margin:0,padding:(0,Q.hO)(bi[1]),"&:hover":{backgroundColor:xi(e,"spotBlue"),color:xi(e,"bg")}}},placeholder:e=>({...e,fontSize:Li[1].fontSize,marginLeft:(0,Q.hO)(bi[2]),paddingLeft:0}),singleValue:e=>({...e,alignItems:"center",display:"inline-flex",height:"100%",marginLeft:(0,Q.hO)(bi[2])}),valueContainer:e=>({...e,margin:0,padding:0})}),Vi=e=>(0,N.jsx)(Q.xu,{padding:1,children:(0,N.jsx)(Ve.c.Option,{...e,children:(0,N.jsx)(Q.xu,{paddingY:1,children:(0,N.jsx)(Q.xv,{size:1,style:{color:"inherit"},textOverflow:"ellipsis",children:e.children})})})}),Ri={ClearIndicator:e=>(0,N.jsx)(Ve.c.ClearIndicator,{...e,children:(0,N.jsx)(Q.xu,{paddingRight:1,style:{transform:"scale(0.85)"},children:(0,N.jsx)(Q.xv,{muted:!0,size:0,children:(0,N.jsx)(Rt,{})})})}),DropdownIndicator:null,IndicatorSeparator:null,Menu:e=>(0,N.jsx)(Ve.c.Menu,{...e,children:(0,N.jsx)(Q.Zb,{radius:1,shadow:2,children:e.children})}),MenuList:e=>{const{children:t}=e;if(Array.isArray(t)){const e=t.length>5?165:33*t.length;return(0,N.jsx)(Ie.OO,{className:"media__custom-scrollbar",itemContent:e=>{const n=t[e];return(0,N.jsx)(Vi,{...n.props})},style:{height:e},totalCount:t.length})}return(0,N.jsx)(Ve.c.MenuList,{...e,children:t})},NoOptionsMessage:e=>(0,N.jsx)(Ve.c.NoOptionsMessage,{...e,children:e.children}),Option:Vi,SingleValue:e=>(0,N.jsx)(Ve.c.SingleValue,{...e,children:(0,N.jsx)(Q.xv,{size:1,textOverflow:"ellipsis",children:e.children})})},Ii=e=>{let{facet:t}=e;const{scheme:n}=(0,F.tv4)(),r=(0,Y.I0)(),o=li((e=>Oo(e))),i=li((e=>e.tags.fetching)),s=Wo(o),a=pi(),l=t.operatorType;return(0,N.jsxs)(vi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:Mr,padding:2,text:yo[l].label}),id:"operators",menu:(0,N.jsx)(Q.v2,{children:t.operatorTypes.map(((e,n)=>e?(0,N.jsx)(Q.sN,{disabled:e===l,fontSize:1,onClick:()=>(e=>{r(Qo.facetsUpdateById({id:t.id,operatorType:e}))})(e),padding:2,space:4,style:{minWidth:"150px"},text:yo[e].label},e):(0,N.jsx)(Q.R,{},n)))}),popover:a}),!yo[l].hideInput&&(0,N.jsx)(Q.xu,{marginX:1,style:{width:"160px"},children:(0,N.jsx)(Re.ZP,{components:Ri,instanceId:"facet-searchable",isClearable:!0,isDisabled:i,isSearchable:!0,name:"tags",noOptionsMessage:()=>"No tags",onChange:e=>{return n=e,void r(Qo.facetsUpdateById({id:t.id,value:n}));var n},options:s,placeholder:i?"Loading...":"Select...",styles:Hi(n),value:null==t?void 0:t.value})})]})},Zi=(0,Le.ZP)(Q.kC)((e=>{let{theme:t}=e;return(0,Le.iv)(C||(C=Fe(["\n    > * {\n      margin-bottom: ",";\n    }\n  "])),(0,Q.hO)(t.sanity.space[2]))})),Ti=e=>{const{layout:t="inline"}=e,n=li((e=>e.search.facets)),r=n.map((e=>{const t=e.id;return"number"===e.type?(0,N.jsx)(ji,{facet:e},t):"searchable"===e.type?(0,N.jsx)(Ii,{facet:e},t):"select"===e.type?(0,N.jsx)(yi,{facet:e}
1,t):"string"===e.type?(0,N.jsx)(ki,{facet:e},t):null}));if("inline"===t)return 0===n.length?null:(0,N.jsx)(Q.xu,{marginBottom:2,children:(0,N.jsx)(Q.gF,{space:2,children:r})});if("stack"===t)return(0,N.jsx)(Zi,{align:"flex-start",direction:"column",children:r});throw Error("Invalid layout")},zi=()=>{const e=(0,Y.I0)(),t=li((e=>e.assets.assetTypes)),n=li((e=>e.search.facets)),r=li((e=>e.selected.document)),o=pi(),i=!r,s=Lo.filter((e=>"group"===e.type||"divider"===e.type||(i?!(null==e?void 0:e.selectOnly):e.assetTypes.filter((e=>t.includes(e))).length>0))).filter(((e,t,n)=>{const r=n[t-1];return("divider"!==e.type||0!==t&&t!==n.length-1)&&("divider"!==e.type||"divider"!==(null==r?void 0:r.type))})),a=s.length>0,l=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,N.jsx)(N.Fragment,{children:null==t?void 0:t.map(((t,o)=>{if("divider"===t.type)return(0,N.jsx)(Q.R,{},o);if("group"===t.type)return(0,N.jsx)(Q.kS,{text:t.title,title:t.title,children:l(t.facets,r+1)},"group-".concat(r,"-").concat(o));if(t){const r=!t.operatorTypes&&!!n.find((e=>e.name===t.name));return(0,N.jsx)(Q.sN,{disabled:r,fontSize:1,onClick:()=>e(Qo.facetsAdd({facet:t})),padding:2,text:t.title},t.name)}return null}))})};return(0,N.jsxs)(Q.kC,{children:[(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{disabled:!a,fontSize:1,icon:Xe,mode:"bleed",space:2,text:"Add filter",tone:"primary"}),id:"facets",menu:(0,N.jsx)(Q.v2,{children:l(s)}),popover:{...o,placement:"right-start"}}),n.length>0&&(0,N.jsx)(Q.zx,{fontSize:1,mode:"bleed",onClick:()=>e(Qo.facetsClear()),text:"Clear"})]})},Bi=()=>(0,N.jsxs)("svg",{"data-sanity-icon":"media__tag",fill:"currentColor",height:"1em",stroke:"currentColor",strokeWidth:"0",viewBox:"0 0 512 512",width:"1em",children:[(0,N.jsx)("path",{d:"M435.25 48h-122.9a14.46 14.46 0 00-10.2 4.2L56.45 297.9a28.85 28.85 0 000 40.7l117 117a28.85 28.85 0 0040.7 0L459.75 210a14.46 14.46 0 004.2-10.2v-123a28.66 28.66 0 00-28.7-28.8z",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"}),(0,N.jsx)("path",{d:"M384 160a32 32 0 1132-32 32 32 0 01-32 32z"})]}),_i=()=>{const e=li((e=>e.search.query)),t=(0,Y.I0)();return(0,N.jsxs)(Q.xu,{style:{position:"relative"},children:[(0,N.jsx)(Q.oi,{fontSize:1,icon:Lr,onChange:e=>{t(Qo.querySet({searchQuery:e.currentTarget.value}))},placeholder:"Search",radius:2,value:e}),e.length>0&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",onClick:()=>{t(Qo.querySet({searchQuery:""}))},style:{cursor:"pointer",height:"100%",opacity:.75,position:"absolute",right:0,top:0,width:"2em",zIndex:1},children:(0,N.jsx)(Rt,{})})]})},Wi=()=>{const e=(0,Y.I0)(),t=li((e=>e.assets.fetching)),n=li((e=>e.assets.pageIndex)),r=li((e=>e.search.facets)),o=li((e=>e.tags.panelVisible)),i=(0,Q.d2)();return(0,N.jsxs)(Q.xu,{paddingY:2,style:{borderBottom:"1px solid var(--card-border-color)",zIndex:2},children:[(0,N.jsx)(Q.xu,{marginBottom:2,children:(0,N.jsx)(Q.kC,{align:"flex-start",direction:["column","column","column","column","row"],justify:"space-between",children:(0,N.jsxs)(Q.kC,{flex:1,style:{alignItems:"flex-start",flex:1,height:"100%",justifyContent:i<2?"space-between":"flex-start",position:"relative",width:"100%"},children:[(0,N.jsx)(Q.xu,{marginX:2,style:{minWidth:"200px"},children:(0,N.jsx)(_i,{})}),(0,N.jsxs)(Q.xu,{display:["none","none","block"],children:[(0,N.jsx)(Ti,{}),(0,N.jsx)(zi,{})]}),(0,N.jsx)(Q.xu,{display:["block","block","none"],marginX:2,children:(0,N.jsxs)(Q.gF,{space:2,style:{whiteSpace:"nowrap"},children:[(0,N.jsx)(Q.zx,{fontSize:1,mode:"ghost",onClick:()=>{e(ci.showSearchFacets())},text:"Filters".concat(r.length>0?" (".concat(r.length,")"):""),tone:"primary"}),(0,N.jsx)(Q.zx,{fontSize:1,mode:"ghost",onClick:()=>{e(ci.showTags())},text:"Tags",tone:"primary"})]})})]})})}),(0,N.jsx)(Q.xu,{children:(0,N.jsxs)(Q.kC,{align:"center",justify:["space-between"],children:[(0,N.jsx)(Q.xu,{marginX:2,children:(0,N.jsx)(hi,{})}),(0,N.jsxs)(Q.kC,{marginX:2,children:[(0,N.jsx)(gi,{}),(0,N.jsx)(Q.xu,{display:["none","none","block"],marginLeft:2,children:(0,N.jsx)(Q.zx,{fontSize:1,icon:(0,N.jsx)(Q.xu,{style:{transform:"scale(0.75)"},children:(0,N.jsx)(Bi,{})}),onClick:()=>{e(Po.panelVisibleSet({panelVisible:!o}))},mode:o?"default":"ghost",text:o?"Tags":""})})]})]})}),(0,N.jsx)(fi,{loading:t},n)]})},Si=(0,$.oM)({name:"debug",initialState:{badConnection:!1,enabled:!1},reducers:{setBadConnection(e,t){e.badConnection=t.payload},toggleEnabled(e){e.enabled=!e.enabled}}}),Ei=Si.actions;var Ai=Si.reducer;const qi=()=>{const e=(0,Y.I0)(),t=li((e=>e.debug.badConnection)),n=li((e=>e.debug.enabled));return vo("alt+ctrl+shift+/",(()=>{e(Ei.toggleEnabled())})),n?(0,N.jsx)(Q.xu,{padding:4,style:{bottom:0,left:0,pointerEvents:"none",position:"fixed",width:"100%"},children:(0,N.jsxs)(Q.kC,{align:"center",children:[(0,N.jsx)(Q.xu,{marginRight:3,children:(0,N.jsx)(Q.xv,{muted:!0,size:1,children:(0,N.jsx)(cr,{})})}),(0,N.jsx)(Q.u,{content:(0,N.jsx)(Q.xu,{padding:2,children:(0,N.jsx)(Q.xv,{muted:!0,size:1,children:t?"Bad connection: +3000ms & 50% chance to fail":"No connection throttling"})}),fallbackPlacements:["right","left"],placement:"bottom",portal:!0,children:(0,N.jsx)(Q.rs,{checked:t,onChange:t=>{const n=t.target.checked;e(Ei.setBadConnection(n))},style:{pointerEvents:"auto"}})})]})}):null},Oi=ze.Ry({label:ze.Z_().trim().min(1,{message:"Label cannot be empty"}),value:ze.Z_().trim().min(1,{message:"Value cannot be empty"})}),Di=ze.Ry({altText:ze.Z_().trim().optional(),description:ze.Z_().trim().optional(),opt:ze.Ry({media:ze.Ry({tags:ze.IX(Oi).nullable()})}),originalFilename:ze.Z_().trim().min(1,{message:"Filename cannot be empty"}),title:ze.Z_().trim().optional()}
1),Pi=ze.Ry({name:ze.Z_().min(1,{message:"Name cannot be empty"})});function Fi(e){const t=e.reduce(((e,t)=>t._id.startsWith("drafts.")?e.concat(t._id.slice(7)):e),[]);return e.filter((e=>!t.includes(e._id)))}const Ui=(e,t)=>{const n="undefined"!=typeof window&&window.devicePixelRatio?Math.round(window.devicePixelRatio):1,r=(null==t?void 0:t.height)?(null==t?void 0:t.height)*Math.max(1,n):void 0,o=t.width*Math.max(1,n),i=new URLSearchParams;return i.append("fit","max"),i.append("w",o.toString()),r&&i.append("h",r.toString()),"".concat(e.url,"?").concat(i.toString())},Ni=e=>Object.keys(e).reduce(((t,n)=>{const r=e[n];return"object"==typeof r&&null!==r&&r.constructor!==Array?t[n]=Ni(r):""===r||void 0===r||0===(null==r?void 0:r.length)?t[n]=null:t[n]="string"==typeof r&&r?e[n].trim():e[n],t}),{}),Qi=e=>"sanity.fileAsset"===e._type,Xi=e=>"sanity.imageAsset"===e._type,Ki=e=>"".concat(e.metadata.dimensions.width,"x").concat(e.metadata.dimensions.height,"px"),Yi=e=>{let{disabled:t,url:n}=e;const r=pi(),o=(0,U.useRef)(),[i,s]=(0,U.useState)(!1);return(0,U.useEffect)((()=>()=>{o.current&&clearTimeout(o.current)}),[]),(0,N.jsx)(Q.J2,{content:(0,N.jsx)(Q.xv,{muted:!0,size:1,children:"Copied!"}),open:i,padding:2,placement:"top",radius:1,...r,children:(0,N.jsx)(Q.zx,{disabled:t,fontSize:1,icon:Mt,mode:"ghost",onClick:()=>{o.current&&clearTimeout(o.current),s(!0),Ee()(n),o.current=setTimeout((()=>{s(!1)}),1250)},text:"Copy URL"})})},$i=e=>{let{label:t,value:n}=e;return(0,N.jsxs)(Q.kC,{justify:"space-between",children:[(0,N.jsx)(Q.xv,{size:1,style:{opacity:.8,width:"40%"},textOverflow:"ellipsis",children:t}),(0,N.jsx)(Q.xv,{size:1,style:{opacity:.4,textAlign:"right",width:"60%"},textOverflow:"ellipsis",children:n})]})},Gi=e=>{var t;const{asset:n,item:r}=e,o=null==(t=null==n?void 0:n.metadata)?void 0:t.exif;return(0,N.jsxs)(Q.xu,{marginTop:3,children:[(0,N.jsx)(Q.xu,{children:(0,N.jsxs)(Q.Kq,{space:3,children:[(0,N.jsx)($i,{label:"Size",value:We()(null==n?void 0:n.size,{base:10,round:0})}),(0,N.jsx)($i,{label:"MIME type",value:null==n?void 0:n.mimeType}),(0,N.jsx)($i,{label:"Extension",value:(null==n?void 0:n.extension).toUpperCase()}),Xi(n)&&(0,N.jsx)($i,{label:"Dimensions",value:Ki(n)})]})}),o&&(o.DateTimeOriginal||o.FNumber||o.FocalLength||o.ExposureTime||o.ISO)&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(Q.xu,{marginY:4,style:{background:"var(--card-border-color)",height:"1px",width:"100%"}}),(0,N.jsx)(Q.xu,{children:(0,N.jsxs)(Q.Kq,{space:3,children:[o.ISO&&(0,N.jsx)($i,{label:"ISO",value:o.ISO}),o.FNumber&&(0,N.jsx)($i,{label:"Aperture",value:"\u0192/".concat(o.FNumber)}),o.FocalLength&&(0,N.jsx)($i,{label:"Focal length",value:"".concat(o.FocalLength,"mm")}),o.ExposureTime&&(0,N.jsx)($i,{label:"Exposure time",value:"1/".concat(1/o.ExposureTime)}),o.DateTimeOriginal&&(0,N.jsx)($i,{label:"Original date",value:(0,Be.Z)(new Date(o.DateTimeOriginal),"PPp")})]})})]}),(0,N.jsx)(Q.xu,{marginTop:5,children:(0,N.jsxs)(Q.gF,{space:2,children:[(0,N.jsx)(Q.zx,{disabled:!r||(null==r?void 0:r.updating),fontSize:1,icon:sn,mode:"ghost",onClick:()=>{window.location.href="".concat(n.url,"?dl=").concat(n.originalFilename)},text:"Download"}),(0,N.jsx)(Yi,{disabled:!r||(null==r?void 0:r.updating),url:n.url})]})})]})},Ji=e=>(0,N.jsx)(Q.Vq,{...e,style:{position:"fixed"}}),es=e=>{let{documents:t,isLoading:n}=e;const r=(0,F.I_y)();return n?(0,N.jsx)(Q.xv,{muted:!0,size:1,children:"Loading..."}):0===t.length?(0,N.jsx)(Q.xv,{muted:!0,size:1,children:"No documents are referencing this asset"}):(0,N.jsx)(Q.Zb,{flex:1,marginBottom:2,padding:2,radius:2,shadow:1,children:(0,N.jsx)(Q.Kq,{space:2,children:null==t?void 0:t.map((e=>(0,N.jsx)(ts,{doc:e,schemaType:r.get(e._type)},e._id)))})})},ts=e=>{const{doc:t,schemaType:n}=e,{onClick:r}=(0,Ae.PM)({intent:"edit",params:{id:t._id}});return n?(0,N.jsx)(Q.zx,{mode:"bleed",onClick:r,padding:2,style:{width:"100%"},children:(0,N.jsx)(F.MBS,{layout:"default",schemaType:n,value:t})},t._id):(0,N.jsx)(Q.xu,{padding:2,children:(0,N.jsxs)(Q.xv,{size:1,children:["A document of the unknown type ",(0,N.jsx)("em",{children:t._type})]})})},ns=(0,Le.ZP)(Q.xu)((e=>{let{theme:t}=e;return(0,Le.iv)(j||(j=Fe(["\n    text {\n      font-family: "," !important;\n      font-size: 8px !important;\n      font-weight: 500 !important;\n    }\n  "])),t.sanity.fonts.text.family)})),rs=e=>{const{extension:t,onClick:n,width:r}=e;return(0,N.jsx)(Q.kC,{align:"center",justify:"center",onClick:n,style:{height:"100%"},children:(0,N.jsx)(ns,{style:{width:r},children:(0,N.jsx)(qe.a,t?{extension:t,...qe.j[t]}:{})})})},os=e=>{const{asset:t}=e;return 0===t.mimeType.search("audio")?(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{height:"100%"},children:(0,N.jsx)("audio",{controls:!0,src:t.url,style:{width:"100%"}})}):0===t.mimeType.search("video")?(0,N.jsx)("video",{controls:!0,src:t.url,style:{height:"100%",width:"100%"}}):(0,N.jsx)(rs,{extension:t.extension,width:"50%"})},{radius:is,space:ss}=Q.studioTheme,as=e=>({control:(t,n)=>{let{isFocused:r}=n,o="inset 0 0 0 1px var(--card-border-color)";return r&&(o="inset 0 0 0 1px ".concat(xi(e,"inputEnabledBorder"),",\n        0 0 0 1px var(--card-bg-color),\n        0 0 0 3px var(--card-focus-ring-color) !important")),{...t,backgroundColor:"var(--card-bg-color)",color:"inherit",border:"none",borderRadius:is[1],boxShadow:o,margin:0,minHeight:"35px",outline:"none",padding:(0,Q.hO)(ss[1]),transition:"none","&:hover":{boxShadow:"inset 0 0 0 1px ".concat(xi(e,"inputHoveredBorder"))}}},indicatorsContainer:(e,t)=>{let{isDisabled:n}=t;return{...e,opacity:n?.25:1}},input:e=>({...e,color:"var(--card-fg-color)",fontFamily:Q.studioTheme.fonts.text.family,marginLeft:(0,Q.hO)(ss[2])}),menuList:e=>({...e}),multiValue:(t,n)=>{let{isDisabled:r}=n;return{...t,backgroundColor:xi(e,"mutedHoveredBg"),borderRadius:is[2],opacity:r?.5:1}},multiValueLabel:()=>({color:xi(e,"mutedHoveredFg"),fontSize:"inherit",padding:0}),multiValueRemove:t=>({...t,borderTopLeftRadius:0,borderBottomLeftRadius:0,svg:{color:xi(e,"mutedHoveredFg")},"&:hover":{backgroundColor:xi(e,"mutedSelectedBg")}}),noOptionsMessage:e=>({...e,fontFamily:Q.studioTheme.fonts.text.family,lineHeight:"1em"}),option:(t,n)=>{let{isFocused:r}=n;return{...t,backgroundColor:r?xi(e,"spotBlue"):"transparent",borderRadius:is[2],
1color:r?xi(e,"bg"):"inherit",padding:"".concat((0,Q.hO)(ss[1])," ").concat((0,Q.hO)(ss[2])),"&:hover":{backgroundColor:xi(e,"spotBlue"),color:xi(e,"bg")}}},placeholder:e=>({...e,marginLeft:(0,Q.hO)(ss[2])}),valueContainer:e=>({...e,margin:0,padding:0})}),ls=e=>(0,N.jsx)(Q.xu,{paddingX:1,paddingY:1,children:(0,N.jsx)(Ve.c.Option,{...e,children:(0,N.jsxs)(Q.kC,{align:"center",children:[e.data.__isNew__&&(0,N.jsx)(Xe,{style:{marginRight:"3px"}}),e.children]})})}),ds={DropdownIndicator:e=>(0,N.jsx)(Ve.c.DropdownIndicator,{...e,children:(0,N.jsx)(Q.xu,{paddingX:2,children:(0,N.jsx)(Q.xv,{size:1,children:(0,N.jsx)(Ct,{})})})}),IndicatorSeparator:null,Menu:e=>(0,N.jsx)(Ve.c.Menu,{...e,children:(0,N.jsx)(Q.Zb,{radius:1,shadow:2,children:e.children})}),MenuList:e=>{const{children:t}=e;if(Array.isArray(t)){const e=t.length>5?185:37*t.length;return(0,N.jsx)(Ie.OO,{className:"media__custom-scrollbar",itemContent:e=>{const n=t[e];return(0,N.jsx)(ls,{...n.props})},style:{height:e},totalCount:t.length})}return(0,N.jsx)(Ve.c.MenuList,{...e,children:t})},MultiValueLabel:e=>(0,N.jsx)(Q.xu,{padding:2,paddingRight:1,children:(0,N.jsx)(Q.xv,{size:1,weight:"medium",children:(0,N.jsx)(Ve.c.MultiValueLabel,{...e})})}),MultiValueRemove:e=>(0,N.jsx)(Ve.c.MultiValueRemove,{...e,children:(0,N.jsx)(Rt,{color:"#1f2123"})}),Option:ls},cs=(0,Le.ZP)(vn)((e=>{let{theme:t}=e;return{color:t.sanity.color.spot.red}})),us=e=>{const{description:t,error:n,label:r,name:o}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(Q.xu,{marginY:3,children:(0,N.jsxs)(Q.gF,{space:2,children:[(0,N.jsx)(Q.xv,{as:"label",htmlFor:o,size:1,weight:"semibold",children:r}),n&&(0,N.jsx)(Q.xv,{size:1,children:(0,N.jsx)(Q.u,{content:(0,N.jsx)(Q.xu,{padding:2,children:(0,N.jsxs)(Q.xv,{muted:!0,size:1,children:[(0,N.jsx)(cs,{style:{marginRight:"0.1em"}}),n]})}),fallbackPlacements:["top","left"],placement:"right",portal:!0,children:(0,N.jsx)(cs,{})})})]})}),t&&(0,N.jsx)(Q.xu,{marginY:3,children:(0,N.jsx)(Q.xv,{htmlFor:o,muted:!0,size:1,children:t})})]})},hs=e=>{const{control:t,description:n,disabled:r,error:o,label:i,name:s,onCreateTag:a,options:l,placeholder:d,value:c}=e,{scheme:u}=(0,F.tv4)(),h=li((e=>e.tags.creating)),p=li((e=>e.tags.fetching));return(0,N.jsxs)(Q.xu,{style:{zIndex:2},children:[(0,N.jsx)(us,{description:n,error:o,label:i,name:s}),(0,N.jsx)(Te.Qr,{control:t,defaultValue:c,name:s,render:e=>{let{field:t}=e;const{onBlur:n,onChange:o,value:i}=t;return(0,N.jsx)(Oe.Z,{components:ds,instanceId:"tags",isClearable:!1,isDisabled:h||r||p,isLoading:h,isMulti:!0,name:s,noOptionsMessage:()=>"No tags",onBlur:n,onChange:o,onCreateOption:a,options:l,placeholder:p?"Loading...":d,styles:as(u),value:i})}})]})},ps=(0,U.forwardRef)(((e,t)=>{const{description:n,disabled:r,error:o,label:i,name:s,placeholder:a,value:l,...d}=e;return(0,N.jsxs)(Q.xu,{children:[(0,N.jsx)(us,{description:n,error:o,label:i,name:s}),(0,N.jsx)(Q.oi,{...d,autoComplete:"off",autoFocus:!0,defaultValue:l,disabled:r,id:s,name:s,placeholder:a,ref:t})]})})),gs=(0,U.forwardRef)(((e,t)=>{const{description:n,disabled:r,error:o,label:i,name:s,placeholder:a,rows:l,value:d,...c}=e;return(0,N.jsxs)(Q.xu,{children:[(0,N.jsx)(us,{description:n,error:o,label:i,name:s}),(0,N.jsx)(Q.Kx,{...c,autoComplete:"off",defaultValue:d,disabled:r,id:s,name:s,placeholder:a,ref:t,rows:l})]})})),fs=e=>{const{disabled:t,isValid:n,lastUpdated:r,onClick:o}=e;let i;return i=n?r?(0,N.jsxs)(N.Fragment,{children:["Last updated",(0,N.jsx)("br",{})," ",(0,Be.Z)(new Date(r),"PPp")]}):"No unpublished changes":"There are validation errors that need to be fixed before this document can be published",(0,N.jsx)(Q.u,{content:(0,N.jsx)(Q.xu,{padding:3,style:{maxWidth:"185px"},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,children:i})}),disabled:"ontouchstart"in window,placement:"top",portal:!0,children:(0,N.jsx)(Q.xu,{children:(0,N.jsx)(Q.zx,{disabled:t,fontSize:1,onClick:o,text:"Save and close",tone
1:"primary"})})})},ms=Le.ZP.img(y||(y=Fe(["\n  --checkerboard-color: ",";\n\n  display: block;\n  width: 100%;\n  height: 100%;\n  object-fit: contain;\n\n  ","\n"])),(e=>e.scheme?xi(e.scheme,"bg2"):"inherit"),(e=>e.showCheckerboard&&(0,Le.iv)(k||(k=Fe(["\n      background-image: linear-gradient(45deg, var(--checkerboard-color) 25%, transparent 25%),\n        linear-gradient(-45deg, var(--checkerboard-color) 25%, transparent 25%),\n        linear-gradient(45deg, transparent 75%, var(--checkerboard-color) 75%),\n        linear-gradient(-45deg, transparent 75%, var(--checkerboard-color) 75%);\n      background-size: 20px 20px;\n      background-position: 0 0, 0 10px, 10px -10px, -10px 0;\n    "]))))),xs=e=>{var t;const{children:n,dialog:{assetId:r,id:o,lastCreatedTag:i,lastRemovedTagIds:s}}=e,a=Io(),{scheme:l}=(0,F.tv4)(),d=(0,F.H__)(),c=(0,Y.I0)(),u=li((e=>Jo(e,String(r)))),h=li(Oo),p=(0,U.useRef)(void 0),[g,f]=(0,U.useState)(null==u?void 0:u.asset),[m,x]=(0,U.useState)("details"),w=u?null==u?void 0:u.asset:g,v=Wo(h),C=li((j=w,e=>{var t,n,r;const o=null==(r=null==(n=null==(t=null==j?void 0:j.opt)?void 0:t.media)?void 0:n.tags)?void 0:r.reduce(((t,n)=>{const r=e.tags.byIds[n._ref];return(null==r?void 0:r.tag)&&t.push(r),t}),[]);return o&&(null==o?void 0:o.length)>0?Wo(o):null}));var j;const y=(0,U.useCallback)((e=>({altText:(null==e?void 0:e.altText)||"",description:(null==e?void 0:e.description)||"",originalFilename:(null==e?void 0:e.originalFilename)||"",opt:{media:{tags:C}},title:(null==e?void 0:e.title)||""})),[C]),{control:k,formState:{errors:M,isDirty:b,isValid:H},getValues:V,handleSubmit:R,register:I,reset:Z,setValue:T}=(0,Te.cI)({defaultValues:y(null==u?void 0:u.asset),mode:"onChange",resolver:(0,Ze.F)(Di)}),z=!u||(null==u?void 0:u.updating),B=(0,U.useCallback)((()=>{c(ci.remove({id:o}))}),[c,o]),_=(0,U.useCallback)((()=>{(null==u?void 0:u.asset)&&c(ci.showConfirmDeleteAssets({assets:[u],closeDialogId:null==u?void 0:u.asset._id}))}),[u,c]),W=(0,U.useCallback)((e=>{const{result:t,transition:n}=e;t&&"update"===n&&f(t)}),[]),S=(0,U.useCallback)((e=>{c(Po.createRequest({assetId:null==w?void 0:w._id,name:e}))}),[null==w?void 0:w._id,c]),E=(0,U.useCallback)((e=>{var t;if(!(null==u?void 0:u.asset))return;const n=Ni(e);c(oi.updateRequest({asset:null==u?void 0:u.asset,closeDialogId:null==u?void 0:u.asset._id,formData:{...n,opt:{media:{...n.opt.media,tags:(null==(t=n.opt.media.tags)?void 0:t.map((e=>({_ref:e.value,_type:"reference",_weak:!0}))))||null}}}}))}),[null==u?void 0:u.asset,c]);return(0,U.useEffect)((()=>{if(!(null==u?void 0:u.asset))return;const e=a.listen((0,K.Z)(L||(L=Fe(["*[_id == $id]"]))),{id:null==u?void 0:u.asset._id}).subscribe(W);return()=>{null==e||e.unsubscribe()}}),[null==u?void 0:u.asset,a,W]),(0,U.useEffect)((()=>{if(i){const e=(V("opt.media.tags")||[]).concat([i]);T("opt.media.tags",e,{shouldDirty:!0})}}),[V,i,T]),(0,U.useEffect)((()=>{if(s){const e=(V("opt.media.tags")||[]).filter((e=>!s.includes(e.value)));T("opt.media.tags",e,{shouldDirty:!0})}}),[V,s,T]),(0,U.useEffect)((()=>{p.current!==(null==u?void 0:u.asset._updatedAt)&&Z(y(null==u?void 0:u.asset)),p.current=null==u?void 0:u.asset._updatedAt}),[null==u?void 0:u.asset,y,Z]),w?(0,N.jsxs)(Ji,{footer:(0,N.jsx)((()=>(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsxs)(Q.kC,{justify:"space-between",children:[(0,N.jsx)(Q.zx,{disabled:z,fontSize:1,mode:"bleed",onClick:_,text:"Delete",tone:"critical"}),(0,N.jsx)(fs,{disabled:z||!b||!H,isValid:H,lastUpdated:null==w?void 0:w._updatedAt,onClick:R(E)})]})})),{}),header:"Asset details",id:o,onClose:B,width:3,children:[(0,N.jsxs)(Q.kC,{direction:["column-reverse","column-reverse","row-reverse"],children:[(0,N.jsx)(Q.xu,{flex:1,marginTop:[5,5,0],padding:4,children:(0,N.jsx)(F._ZM,{documentStore:d,id:w._id,children:e=>{let{isLoading:t,referringDocuments:n}=e;var r,o,i,s,a,l,d;const c=Fi(n);return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(Q.td,{space:2,children:[(0,N.jsx)(Q.OK,{"aria-controls":"details-panel",disabled:z,id:"details-tab",label:"Details",onClick:()=>x("details"),selected:"details"===m,size:2}),(0,N.jsx)(Q.OK,{"aria-controls":"references-panel",disabled:z,id:"references-tab",label:"References".concat(!t&&Array.isArray(c)?" (".concat(c.length,")"):""),onClick:()=>x("references"),selected:"references"===m,size:2})]}),(0,N.jsxs)(Q.xu,{as:"form",marginTop:4,onSubmit:R(E),children:[!u&&(0,N.jsx)(Q.Zb,{marginBottom:3,padding:3,radius:2,shadow:1,tone:"critical",children:(0,N.jsx)(Q.xv,{size:1,children:"This file cannot be found \u2013 it may have been deleted."})}),(0,N.jsx)("button",{style:{display:"none"},tabIndex:-1,type:"submit"}),(0,N.jsx)(Q.x4,{"aria-labelledby":"details",hidden:"details"!==m,id:"details-panel",children:(0,N.jsxs)(Q.Kq,{space:3,children:[(0,N.jsx)(hs,{control:k,disabled:z,error:null==(i=null==(o=null==(r=null==M?void 0:M.opt)?void 0:r.media)?void 0:o.tags)?void 0:i.message,label:"Tags",name:"opt.media.tags",onCreateTag:S,options:v,placeholder:"Select or create...",value:C}),(0,N.jsx)(ps,{...I("originalFilename"),disabled:z,error:null==(s=null==M?void 0:M.originalFilename)?void 0:s.message,label:"Filename",name:"originalFilename",value:null==w?void 0:w.originalFilename}),(0,N.jsx)(ps,{...I("title"),disabled:z,error:null==(a=null==M?void 0:M.title)?void 0:a.message,label:"Title",name:"title",value:null==w?void 0:w.title}),(0,N.jsx)(ps,{...I("altText"),disabled:z,error:null==(l=null==M?void 0:M.altText)?void 0:l.message,label:"Alt Text",name:"altText",value:null==w?void 0:w.altText}),(0,N.jsx)(gs,{...I("description"),disabled:z,error:null==(d=null==M?void 0:M.description)?void 0:d.message,label:"Description",name:"description",rows:5,value:null==w?void 0:w.description})]})}),(0,N.jsx)(Q.x4,{"aria-labelledby":"references",hidden:"references"!==m,id:"references-panel",children:(0,N.jsx)(Q.xu,{marginTop:5,children:(null==u?void 0:u.asset)&&(0,N.jsx)(es,{documents:c,isLoading:t})})})]})]})}})}),(0,N.jsxs)(Q.xu,{flex:1,padding:4,children:[(0,N.jsxs)(Q.xu,{style:{aspectRatio:"1"},children:[Qi(w)&&(0,N.jsx)(os,{asset:w}),Xi(w)&&(0,N.jsx)(ms,{draggable:!1,scheme:l,showCheckerboard:!(null==(t=null==w?void 0:w.metadata)?void 0:t.isOpaque),src:Ui(w,{height:600,width:600})})]}),w&&(0,N.jsx)(Q.xu,{marginTop:4,children:(0,N.jsx)(Gi,{asset:w,item:u})})]})]}),n]}):null},ws=e=>{const{children:t,dialog:n}=e,r=(0,Y.I0)(),o=()=>
1{r(ci.remove({id:null==n?void 0:n.id}))},i=()=>{(null==n?void 0:n.closeDialogId)&&r(ci.remove({id:null==n?void 0:n.closeDialogId})),(null==n?void 0:n.confirmCallbackAction)&&r(n.confirmCallbackAction),o()};return(0,N.jsxs)(Ji,{footer:(0,N.jsx)((()=>(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsxs)(Q.kC,{justify:"space-between",children:[(0,N.jsx)(Q.zx,{fontSize:1,mode:"bleed",onClick:o,text:"Cancel"}),(0,N.jsx)(Q.zx,{fontSize:1,onClick:i,text:null==n?void 0:n.confirmText,tone:null==n?void 0:n.tone})]})})),{}),header:(0,N.jsx)((()=>(0,N.jsxs)(Q.kC,{align:"center",children:[(0,N.jsx)(Q.xu,{paddingX:1,children:(0,N.jsx)(fo,{})}),(0,N.jsx)(Q.xu,{marginLeft:2,children:null==n?void 0:n.headerTitle})]})),{}),id:"confirm",onClose:o,width:1,children:[(0,N.jsx)(Q.xu,{paddingX:4,paddingY:4,children:(0,N.jsxs)(Q.Kq,{space:3,children:[(null==n?void 0:n.title)&&(0,N.jsx)(Q.xv,{size:1,children:n.title}),(null==n?void 0:n.description)&&(0,N.jsx)(Q.xv,{muted:!0,size:1,children:(0,N.jsx)("em",{children:n.description})})]})}),t]})},vs=e=>{const{children:t,dialog:{id:n}}=e,r=(0,Y.I0)(),o=(0,U.useCallback)((()=>{r(ci.clear())}),[]);return(0,N.jsxs)(Ji,{header:"Filters",id:n,onClose:o,width:1,children:[(0,N.jsxs)(Q.xu,{padding:3,children:[(0,N.jsx)(Ti,{layout:"stack"}),(0,N.jsx)(zi,{})]}),t]})},Cs=e=>{var t;const{children:n,dialog:{id:r}}=e,o=(0,Y.I0)(),i=li((e=>e.tags.creating)),s=li((e=>e.tags.creatingError)),{formState:{errors:a,isDirty:l,isValid:d},handleSubmit:c,register:u,setError:h}=(0,Te.cI)({defaultValues:{name:""},mode:"onChange",resolver:(0,Ze.F)(Pi)}),p=i,g=e=>{const t=Ni(e);o(Po.createRequest({name:t.name}))};return(0,U.useEffect)((()=>{s&&h("name",{message:null==s?void 0:s.message})}),[s,h]),(0,N.jsxs)(Ji,{footer:(0,N.jsx)((()=>(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsx)(Q.kC,{justify:"flex-end",children:(0,N.jsx)(fs,{disabled:p||!l||!d,isValid:d,onClick:c(g)})})})),{}),header:"Create Tag",id:r,onClose:()=>{o(ci.clear())},width:1,children:[(0,N.jsxs)(Q.xu,{as:"form",padding:4,onSubmit:c(g),children:[(0,N.jsx)("button",{style:{display:"none"},tabIndex:-1,type:"submit"}),(0,N.jsx)(ps,{...u("name"),disabled:p,error:null==(t=null==a?void 0:a.name)?void 0:t.message,label:"Name",name:"name"})]}),n]})},js=e=>{var t;const{children:n,dialog:{id:r,tagId:o}}=e,i=Io(),s=(0,Y.I0)(),a=li((e=>Do(e,String(o)))),[l,d]=(0,U.useState)(null==a?void 0:a.tag),c=a?null==a?void 0:a.tag:l,u=e=>{var t;return{name:(null==(t=null==e?void 0:e.name)?void 0:t.current)||""}},{formState:{errors:h,isDirty:p,isValid:g},handleSubmit:f,register:m,reset:x,setError:w}=(0,Te.cI)({defaultValues:u(null==a?void 0:a.tag),mode:"onChange",resolver:(0,Ze.F)(Pi)}),v=!a||(null==a?void 0:a.updating),C=e=>{var t;if(!(null==a?void 0:a.tag))return;const n=Ni(e);s(Po.updateRequest({closeDialogId:null==(t=null==a?void 0:a.tag)?void 0:t._id,formData:{name:{_type:"slug",current:n.name}},tag:null==a?void 0:a.tag}))},j=()=>{var e;(null==a?void 0:a.tag)&&s(ci.showConfirmDeleteTag({closeDialogId:null==(e=null==a?void 0:a.tag)?void 0:e._id,tag:null==a?void 0:a.tag}))},y=(0,U.useCallback)((e=>{const{result:t,transition:n}=e;t&&"update"===n&&(d(t),x(u(t)))}),[x]);return(0,U.useEffect)((()=>{var e;(null==a?void 0:a.error)&&w("name",{message:null==(e=a.error)?void 0:e.message})}),[w,a.error]),(0,U.useEffect)((()=>{if(!(null==a?void 0:a.tag))return;const e=i.listen((0,K.Z)(M||(M=Fe(["*[_id == $id]"]))),{id:null==a?void 0:a.tag._id}).subscribe(y);return()=>{null==e||e.unsubscribe()}}),[i,y,null==a?void 0:a.tag]),c?(0,N.jsxs)(Ji,{footer:(0,N.jsx)((()=>{var e;return(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsxs)(Q.kC,{justify:"space-between",children:[(0,N.jsx)(Q.zx,{disabled:v,fontSize:1,mode:"bleed",onClick:j,text:"Delete",tone:"critical"}),(0,N.jsx)(fs,{disabled:v||!p||!g,isValid:g,lastUpdated:null==(e=null==a?void 0:a.tag)?void 0:e._updatedAt,onClick:f(C)})]})})}),{}),header:"Edit Tag",id:r,onClose:()=>{s(ci.remove({id:r}))},width:1,children:[(0,N.jsxs)(Q.xu,{as:"form",padding:4,onSubmit:f(C),children:[!a&&(0,N.jsx)(Q.Zb,{marginBottom:3,padding:3,radius:2,shadow:1,tone:"critical",children:(0,N.jsx)(Q.xv,{size:1,children:"This tag cannot be found \u2013 it may have been deleted."})}),(0,N.jsx)("button",{style:{display:"none"},tabIndex:-1,type:"submit"}),(0,N.jsx)(ps,{...m("name"),disabled:v,error:null==(t=null==h?void 0:h.name)?void 0:t.message,label:"Name",name:"name"})]}),n]}):null},ys=(0,Le.ZP)(Q.kC)(b||(b=Fe(["\n  height: ","px;\n"])),32),ks=(0,Le.ZP)(Q.kC)(H||(H=Fe(["\n  @media (pointer: fine) {\n    visibility: hidden;\n  }\n\n  @media (hover: hover) and (pointer: fine) {\n    ",":hover & {\n      visibility: visible;\n    }\n  }\n"])),ys),Ls=e=>{const{disabled:t,icon:n,onClick:r,tone:o,tooltip:i}=e;return(0,N.jsx)(Q.u,{content:(0,N.jsx)(Q.W2,{padding:2,width:0,children:(0,N.jsx)(Q.xv,{muted:!0,size:1,children:i})}),disabled:"ontouchstart"in window,placement:"top",portal:!0,children:(0,N.jsx)(Q.zx,{disabled:t,fontSize:1,icon:n,mode:"bleed",onClick:r,padding:2,tone:o})})},Ms=e=>{var t,n;const{actions:r,tag:o}=e,i=(0,Y.I0)(),s=li(ni),a=li((e=>{var t;return No(e,null==(t=null==o?void 0:o.tag)?void 0:t._id)}));return(0,N.jsxs)(ys,{align:"center",flex:1,justify:"space-between",paddingLeft:3,children:[(0,N.jsx)(Q.xu,{flex:1,children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{opacity:(null==o?void 0:o.updating)?.5:1,userSelect:"none"},textOverflow:"ellipsis",children:null==(n=null==(t=null==o?void 0:o.tag)?void 0:t.name)?void 0:n.current})}),(0,N.jsxs)(ks,{align:"center",style:{flexShrink:0},children:[(null==r?void 0:r.includes("search"))&&(0,N.jsx)(Ls,{disabled:null==o?void 0:o.updating,icon:(0,N.jsx)(a?Rt:Lr,{}),onClick:a?()=>{i(Qo.facetsRemoveByTag({tagId:o.tag._id}))}:()=>{var e,t,n;const r={...jo.tag,value:{label:null==(t=null==(e=null==o?void 0:o.tag)?void 0:e.name)?void 0:t.current,value:null==(n=null==o?void 0:o.tag)?void 0:n._id}};i(a?Qo.facetsUpdate({name:"tag",operatorType:"references",value:r.value}):Qo.facetsAdd({facet:r}))},tooltip:a?"Remove filter":"Filter by tag"}),(null==r?void 0:r.includes("edit"))&&(0,N.jsx)(Ls,{disabled:null==o?void 0:o.updating,icon:(0,N.jsx)(un,{}),onClick:()=>{var e;i(Eo.showTagEdit({tagId:null==(e=null==o?void 0:o.tag)?void 0:e._id}))},tone:"primary",tooltip:"Edit tag"}),(null==r?void 0:r.includes("applyAll"))&&(0,N.jsx)(Ls,{disabled:null==o?void 0:o.updating,icon:(0,N.jsx)(tt,{}),onClick:()=>{i(ci.showConfirmAssetsTagAdd({assetsPicked:s,tag:o.tag}))},tone:"primary",tooltip:"Add tag to selected assets"}),(null==r?void 0:r.includes("removeAll"))&&(0,N.jsx)(Ls,{disabled:null==o?void 0:o.updating,icon:(0,N.jsx)($e,{}),onClick:()=>{i(ci.showConfirmAssetsTagRemove({assetsPicked:s,tag:o.tag}))},tone:"critical",tooltip:"Remove tag from selected assets"}),(null==r?void 0:r.includes("delete"))&&(0,N.jsx)(Ls,{disabled:null==o?void 0:o.updating,icon:(0,N.jsx)(Gr,{}),onClick:()=>{i(ci.showConfirmDeleteTag({tag:o.tag}))},tone:"critical",tooltip:"Delete tag"})]})]})},bs=(0,U.memo)((e=>{let{isScrolling:t,item:n}=e;var r;return"string"==typeof n?(0,N.jsx)(Q.kC,{align:"center",justify:"space-between",paddingX:3,style:{height:"".concat(32,"px")},children:(0,N.jsx)(Q.__,{size:0,children:n})},n):(0,N.jsx)(Ms,{actions:t?void 0:n.actions,tag:n},null==(r=n.tag)?void 0:r._id)})),Hs=()=>{const e=li(ni),t=li(Oo),[n,r]=(0,U.useState)(!1),o=null==e?void 0:e.reduce(((e,t)=>{var n,r,o,i;const s=(null==(i=null==(o=null==(r=null==(n=null==t?void 0:t.asset)?void 0:n.opt)?void 0:r.media)?void 0:o.tags)?void 0:i.map((e=>e._ref)))||[];return e.concat(s)}),[]),i=[...new Set(o)],s=i.reduce(((t,n)=>(e.every((e=>{var t,r,o,i;return(null!=(i=null==(o=null==(r=null==(t=e.asset.opt)?void 0:t.media)?void 0:r.tags)?void 0:o.findIndex((e=>e._ref===n)))?i:-1)>=0}))?t.appliedToAll.push(n):t.appliedToSome.push(n),t)),{appliedToAll:[],appliedToSome:[]}),a=t.filter((e=>s.appliedToAll.includes(e.tag._id))).map((e=>({...e,actions:["delete","edit","removeAll","search"]}))),l=t.filter((e=>s.appliedToSome.includes(e.tag._id))).map((e=>({...e,actions:["applyAll","delete","edit","removeAll","search"]}))),d=t.filter((e=>!i.includes(e.tag._id))).map((e=>({...e,actions:["applyAll","delete","edit","search"]})));let c=[];return 0===e.length?c=t.map((e=>({...e,actions:["delete","edit","search"]}))):((null==a?void 0:a.length)>0&&(c=[...c,1===e.length?"Used":"Used by all",...a]),(null==l?void 0:l.length)>0&&(c=[...c,"Used by some",...l]),(null==d?void 0:d.length)>0&&(c=[...c,"Unused",...d])),(0,N.jsx)(Ie.OO,{className:"media__custom-scrollbar",computeItemKey:e=>{const t=c[e];return"string"==typeof t?t:t.tag._id},isScrolling:r,itemContent:e=>(0,N.jsx)(bs,{isScrolling:n,item:c[e]}),style:{flex:1,overflowX:"hidden"},totalCount:c.length})},Vs=e=>{let{allowCreate:t,light:n,title:r}=e;const{scheme:o}=(0,F.tv4)(),i=(0,Y.I0)(),s=li((e=>e.tags.creating)),a=li((e=>e.tags.fetching));return(0,N.jsx)(N.Fragment,{children:(0,N.jsxs)(Q.kC,{align:"center",justify:"space-between",paddingLeft:3,style:{background:n?xi(o,"bg"):"inherit",borderBottom:"1px solid var(--card-border-color)",flexShrink:0,height:"".concat(32,"px")},children:[(0,N.jsxs)(Q.gF,{space:2,children:[(0,N.jsx)(Q.__,{size:0,children:r}),a&&(0,N.jsx)(Q.__,{size:0,style:{opacity:.3},children:"Loading..."})]}),t&&(0,N.jsx)(Q.xu,{marginRight:1,children:(0,N.jsx)(Q.zx,{disabled:s,fontSize:1,icon:St,mode:"bleed",onClick:()=>{i(Eo.showTagCreate())},style:{background:"transparent",boxShadow:"none"}})})]})})},Rs=()=>{const e=li(ri),t=li(Oo),n=li((e=>e.tags.fetching)),r=-1!==li((e=>e.tags.fetchCount)),o=!n&&(null==t?void 0:t.length)>0,i=!!(e>0);return(0,N.jsxs)(Q.kC,{direction:"column",flex:1,height:"fill",children:[(0,N.jsx)(Vs,{allowCreate:!0,light:i,title:i?"Tags (in selection)":"Tags"}),r&&!o&&(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsx)(Q.xv,{muted:!0,size:1,children:(0,N.jsx)("em",{children:"No tags"})})}),o&&(0,N.jsx)(Hs,{})]})},Is=e=>{const{children:t,dialog:{id:n}}=e,r=(0,Y.I0)(),o=(0,U.useCallback)((()=>{r(ci.clear())}),[]);return(0,N.jsxs)(Ji,{header:"All Tags",id:n,onClose:o,width:1,children:[(0,N.jsx)(Q.xu,{style:{height:"100%",minHeight:"420px"},children:(0,N.jsx)(Rs,{})}),t]})},Zs=()=>{const e=li((e=>e.dialog.items)),t=(e,n)=>{if(0===e.length||n>=e.length)return null;const r=e[n],o=t(e,n+1);return"assetEdit"===r.type?(0,N.jsx)(xs,{dialog:r,children:o},n):"confirm"===r.type?(0,N.jsx)(ws,{dialog:r,children:o},n):"searchFacets"===r.type?(0,N.jsx)(vs,{dialog:r,children:o},n):"tagCreate"===r.type?(0,N.jsx)(Cs,{dialog:r,children:o},n):"tagEdit"===r.type?(0,N.jsx)(js,{dialog:r,children:o},n):"tags"===r.type?(0,N.jsx)(Is,{dialog:r,children:o},n):null};return t(e,0)},Ts=(0,U.createContext)(void 0),zs=e=>{const{children:t,open:n}=e,r={open:n};return(0,N.jsx)(Ts.Provider,{value:r,children:t})},Bs=e=>{const{onClose:t}=e,{open:n}=(()=>{const e=(0,U.useContext)(Ts);if(void 0===e)throw new Error("useDropzoneActions must be used within an DropzoneDispatchProvider");return e})(),{onSelect:r}=Ro(),o=li((e=>e.assets.assetTypes)),i=li((e=>e.selected.document));return(0,N.jsx)(Q.xu,{paddingY:2,children:(0,N.jsxs)(Q.kC,{align:"center",justify:"space-between",children:[(0,N.jsx)(Q.xu,{flex:1,marginX:3,children:(0,N.jsxs)(Q.gF,{style:{whiteSpace:"nowrap"},children:[(0,N.jsx)(Q.xv,{textOverflow:"ellipsis",weight:"semibold",children:(0,N.jsx)("span",{children:r?"Insert ".concat(o.join(" or ")):"Browse Assets"})}),i&&(0,N.jsx)(Q.xu,{display:["none","none","block"],children:(0,N.jsxs)(Q.xv,{children:[(0,N.jsx)("span",{style:{margin:"0 0.5em"},children:(0,N.jsx)(wo,{symbol:"arrow-right"})}),(0,N.jsx)("span",{style:{textTransform:"capitalize"},children:i._type})]})})]})}),(0,N.jsxs)(Q.kC,{marginX:2,children:[(0,N.jsx)(Q.zx,{fontSize:1,icon:uo,mode:"bleed",onClick:n,text:"Upload ".concat(1===o.length?be()(o[0]):"assets"),tone:"primary"}),t&&(0,N.jsx)(Q.xu,{style:{flexShrink:0},children:(0,N.jsx)(Q.zx,{disabled:!t,icon:Rt,mode:"bleed",onClick:t,radius:2})})]})]})})},_s=(0,G.P1)([e=>e.assets.allIds,e=>e.uploads.allIds],((e,t)=>{const n=e.map((e=>({id:e,type:"asset"})));return[...t.map((e=>({id:e,type:"upload"}))),...n]})),Ws=(0,Le.ZP)(Q.kC)(V||(V=Fe(["\n  box-sizing: border-box;\n  height: 100%;\n  overflow: hidden;\n  position: relative;\n  width: 100%;\n"]))),Ss=(0,Le.ZP)(Q.kC)((e=>{let{picked:t,theme:n,updating:r}=e;return(0,Le.iv)(R||(R=Fe(["\n      border: 1px solid transparent;\n      height: 100%;\n      pointer-events: ",";\n      position: relative;\n      transition: all 300ms;\n      user-select: none;\n      width: 100%;\n\n      border: ",";\n\n      ","\n    "])),r?"none":"auto",t?"1px solid ".concat(n.sanity.color.spot.orange," !important"):"1px solid inherit",!r&&(0,Le.iv)(I||(I=Fe(["\n        @media (hover: hover) and (pointer: fine) {\n          &:hover {\n            border: 1px solid var(--card-border-color);\n          }\n        }\n      "]))))})),Es=(0,Le.ZP)(Q.kC)((e=>{let{scheme:t}=e;
1return(0,Le.iv)(Z||(Z=Fe(["\n    cursor: pointer;\n    height: ","px;\n    transition: all 300ms;\n    @media (hover: hover) and (pointer: fine) {\n      &:hover {\n        background: ",";\n      }\n    }\n  "])),32,xi(t,"bg"))})),As=(0,Le.ZP)(go)((e=>{let{theme:t}=e;return{color:t.sanity.color.spot.red}}));var qs=(0,U.memo)((e=>{var t,n;const{id:r,selected:o}=e,{scheme:i}=(0,F.tv4)(),s=vo("shift"),a=(0,Y.I0)(),l=li((e=>e.assets.lastPicked)),d=li((e=>Jo(e,r))),c=null==d?void 0:d.asset,u=null==d?void 0:d.error,h=null==(n=null==(t=null==d?void 0:d.asset)?void 0:t.metadata)?void 0:n.isOpaque,p=null==d?void 0:d.picked,g=null==d?void 0:d.updating,{onSelect:f}=Ro();if(!c)return null;const m=g?.5:1,x=o||g?.25:1;return(0,N.jsx)(Ws,{padding:1,children:(0,N.jsxs)(Ss,{direction:"column",picked:p,updating:d.updating,children:[(0,N.jsxs)(Q.xu,{flex:1,style:{cursor:o?"default":"pointer",position:"relative"},children:[(0,N.jsxs)("div",{onClick:e=>{e.stopPropagation(),f?f([{kind:"assetDocumentId",value:c._id}]):s.current?a(p?oi.pick({assetId:c._id,picked:!p}):oi.pickRange({startId:l||c._id,endId:c._id})):a(ci.showAssetEdit({assetId:c._id}))},style:{height:"100%",opacity:x},children:[Qi(c)&&(0,N.jsx)(rs,{extension:c.extension,width:"80px"}),Xi(c)&&(0,N.jsx)(ms,{draggable:!1,scheme:i,showCheckerboard:!h,src:Ui(c,{height:250,width:250}),style:{draggable:!1,transition:"opacity 1000ms"}})]}),o&&!g&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{height:"100%",left:0,opacity:m,position:"absolute",top:0,width:"100%"},children:(0,N.jsx)(Q.xv,{size:2,children:(0,N.jsx)(wt,{})})}),g&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},children:(0,N.jsx)(Q.$j,{})})]}),(0,N.jsxs)(Es,{align:"center",onClick:e=>{e.stopPropagation(),f?a(ci.showAssetEdit({assetId:c._id})):s.current&&!p?a(oi.pickRange({startId:l||c._id,endId:c._id})):a(oi.pick({assetId:c._id,picked:!p}))},paddingX:1,scheme:i,style:{opacity:m},children:[f?(0,N.jsx)(un,{style:{flexShrink:0,opacity:.5}}):(0,N.jsx)(Q.XZ,{checked:p,readOnly:!0,style:{flexShrink:0,pointerEvents:"none",transform:"scale(0.8)"}}),(0,N.jsx)(Q.xu,{marginLeft:2,children:(0,N.jsx)(Q.xv,{muted:!0,size:0,textOverflow:"ellipsis",children:c.originalFilename})})]}),u&&(0,N.jsx)(Q.xu,{padding:3,style:{position:"absolute",right:0,top:0},children:(0,N.jsx)(Q.u,{content:(0,N.jsx)(Q.W2,{padding:2,width:0,children:(0,N.jsx)(Q.xv,{size:1,children:u})}),placement:"left",portal:!0,children:(0,N.jsx)(Q.xv,{size:1,children:(0,N.jsx)(As,{color:"critical"})})})})]})})}));function Os(e,t){const n=e.indexOf(t);return n>-1&&e.splice(n,1),e}const Ds=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4;const t=[],n=[],r=new le.x;function o(s){return new de.y((a=>{if(t.length>=e)return i(s).pipe((0,pe.z)(o)).subscribe(a);const l=s.subscribe(a);return t.push(l),()=>{for(Os(t,l),Os(n,s),l.unsubscribe();n.length>0&&t.length<e;)r.next(n.shift())}}))}function i(e){return n.push(e),r.asObservable().pipe((0,ge.P)((t=>t===e)))}return o},Ps=e=>Array.prototype.map.call(new Uint8Array(e),(e=>"00".concat(e.toString(16)).slice(-2))).join(""),Fs=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=Ds(t);return function(){return(0,ae.D)(n(e(...arguments)))}}(((e,t,n,r)=>(0,se.of)(null).pipe((0,pe.z)((()=>((e,t,n)=>e.observable.fetch("*[_type == $documentType && sha1hash == $hash][0]",{documentType:t,hash:n}))(e,"sanity.".concat(t,"Asset"),r))),(0,pe.z)((e=>e?(0,ie._)({message:"Asset already exists",statusCode:409}):(0,se.of)(null))),(0,pe.z)((()=>e.observable.assets.upload(t,n,{extract:["blurhash","exif","location","lqip","palette"],preserveFilename:!0}).pipe((0,fe.U)((e=>"response"===e.type?{asset:e.body.document,id:e.body.document._id,type:"complete"}:e)))))))),Us=(0,$.oM)({name:"uploads",initialState:{allIds:[],byIds:{}},extraReducers:e=>{e.addCase(Ko.uploadComplete,((e,t)=>{const{asset:n}=t.payload;e.byIds[n.sha1hash]&&(e.byIds[n.sha1hash].status="complete")}))},reducers:{checkRequest(e,t){},checkComplete(e,t){const{results:n}=t.payload;
1Object.keys(n).forEach((t=>{const n=e.allIds.indexOf(t);if(n>=0&&e.allIds.splice(n,1),e.byIds[t]){const n=e.byIds[t].objectUrl;n&&window.URL.revokeObjectURL(n),delete e.byIds[t]}}))},previewReady(e,t){const{blobUrl:n,hash:r}=t.payload;e.byIds[r]&&(e.byIds[r].objectUrl=n)},uploadCancel(e,t){const{hash:n}=t.payload,r=e.allIds.indexOf(n);r>=0&&e.allIds.splice(r,1),e.byIds[n]&&delete e.byIds[n]},uploadError(e,t){const{hash:n}=t.payload,r=e.allIds.indexOf(n);r>=0&&e.allIds.splice(r,1),delete e.byIds[n]},uploadRequest(e,t){},uploadProgress(e,t){const{event:n,uploadHash:r}=t.payload;e.byIds[r].percent=n.percent,e.byIds[r].status="uploading"},uploadStart(e,t){const{uploadItem:n}=t.payload;e.allIds.includes(n.hash)||e.allIds.push(n.hash),e.byIds[n.hash]=n}}}),Ns=(0,G.P1)([e=>e.uploads.byIds,(e,t)=>t],((e,t)=>e[t]));(0,G.P1)([e=>e.uploads.byIds,e=>e.uploads.allIds],((e,t)=>t.map((t=>e[t]))));const Qs=Us.actions;var Xs=Us.reducer;const Ks=(0,Le.ZP)(Q.kC)(z||(z=Fe(["\n  box-sizing: border-box;\n  height: 100%;\n  overflow: hidden;\n  position: relative;\n  width: 100%;\n"]))),Ys=e=>{const{id:t}=e,{scheme:n}=(0,F.tv4)(),r=(0,Y.I0)(),o=li((e=>Ns(e,t)));if(!o)return null;const i=We()(o.size,{base:10,round:0}),s=Math.round(o.percent||0),a="complete"===o.status,l="uploading"===o.status,d="queued"===o.status;let c;return a&&(c="Verifying"),l&&(c="".concat(s,"%")),d&&(c="Queued"),(0,N.jsx)(Ks,{padding:1,children:(0,N.jsxs)(Q.kC,{direction:"column",flex:1,style:{background:xi(n,"bg"),border:"1px solid transparent",height:"100%",position:"relative"},children:[(0,N.jsx)("div",{style:{background:"var(--card-fg-color)",bottom:0,height:"1px",left:0,position:"absolute",width:"100%",transform:"scaleX(".concat(.01*s,")"),transformOrigin:"bottom left",transition:"all 1000ms ease-out"}}),(0,N.jsxs)(Q.xu,{flex:1,style:{position:"relative"},children:["image"===o.assetType&&(null==o?void 0:o.objectUrl)&&(0,N.jsx)(ms,{draggable:!1,scheme:n,src:o.objectUrl,style:{opacity:.4}}),"file"===o.assetType&&(0,N.jsx)("div",{style:{height:"100%",opacity:.1},children:(0,N.jsx)(rs,{width:"80px"})}),!a&&100!==s&&(0,N.jsx)(Q.kC,{align:"center",direction:"column",justify:"center",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},children:(0,N.jsx)(Q.zx,{fontSize:4,icon:Rt,mode:"bleed",onClick:()=>{r(Qs.uploadCancel({hash:o.hash}))},padding:2,style:{background:"none",boxShadow:"none"},tone:"critical"})})]}),(0,N.jsxs)(Q.kC,{align:"center",justify:"space-between",paddingX:2,style:{height:"".concat(32,"px")},children:[(0,N.jsx)(Q.xu,{flex:1,marginRight:1,children:(0,N.jsxs)(Q.xv,{size:0,textOverflow:"ellipsis",children:[o.name," (",i,")"]})}),(0,N.jsx)(Q.xv,{size:0,style:{flexShrink:0},weight:"semibold",children:c})]})]})})},$s=(0,U.memo)((e=>{let{item:t,selected:n}=e;return"asset"===(null==t?void 0:t.type)?(0,N.jsx)(qs,{id:t.id,selected:n}):"upload"===(null==t?void 0:t.type)?(0,N.jsx)(Ys,{id:t.id}):null})),Gs=Le.ZP.div(B||(B=Fe(["\n  height: ","px;\n  width: ","px;\n"])),220,240),Js=Le.ZP.div(_||(_=Fe(["\n  display: grid;\n  grid-template-columns: repeat(auto-fill, ","px);\n  grid-template-rows: repeat(auto-fill, ","px);\n  justify-content: center;\n  margin: 0 auto;\n"])),240,220),ea=e=>{const{items:t,onLoadMore:n}=e,r=li((e=>e.selected.assets)),o=r&&r.map((e=>e._id))||[],i=null==t?void 0:t.length;return 0===i?null:(0,N.jsx)(Ie.Mr,{className:"media__custom-scrollbar",computeItemKey:e=>{const n=t[e];return null==n?void 0:n.id},components:{Item:Gs,List:Js},endReached:n,itemContent:e=>{const n=t[e],r=o.includes(null==n?void 0:n.id);return(0,N.jsx)($s,{item:n,selected:r})},overscan:48,style:{overflowX:"hidden",overflowY:"scroll"},totalCount:i})},ta=e=>{const{field:t,title:n}=e,r=(0,Y.I0)(),o=li((e=>e.assets.order)),i=o.field===t;return(0,N.jsx)(Q.__,{muted:!t,size:0,children:(0,N.jsxs)(Q.xu,{onClick:t?()=>{if(t&&n)if(i){const e="asc"===o.direction?"desc":"asc";r(oi.orderSet({order:{field:t,direction:e}}))}else r(oi.orderSet({order:{field:t,direction:"asc"}}))}:void 0,style:{cursor:t?"pointer":"default",display:"inline",whiteSpace:"nowrap"},children:[(0,N.jsx)("span",{style:{marginRight:"0.4em"},children:n}),i&&"asc"===(null==o?void 0:o.direction)&&(0,N.jsx)(kt,{}),i&&"desc"===(null==o?void 0:o.direction)&&(0,N.jsx)(Ct,{})]})})},na=(0,Le.ZP)(Q.kC)((e=>{let{scheme:t}=e;return(0,Le.iv)(W||(W=Fe(["\n    cursor: pointer;\n    @media (hover: hover) and (pointer: fine) {\n      &:hover {\n        background: ",";\n      }\n    }\n  "])),xi(t,"bg"))})),ra=()=>{const{scheme:e}=(0,F.tv4)(),t=(0,Y.I0)(),n=li((e=>e.assets.fetching)),r=li(ti),o=li(ri),i=(0,Q.d2)(),{onSelect:s}=Ro(),a=o===r;return(0,N.jsxs)(Q.rj,{style:{alignItems:"center",background:"var(--card-bg-color)",borderBottom:"1px solid var(--card-border-color)",gridColumnGap:i<3?0:"16px",gridTemplateColumns:bo,height:i<3?0:"".concat(32,"px"),letterSpacing:"0.025em",position:"sticky",textTransform:"uppercase",top:0,visibility:i<3?"hidden":"visible",width:"100%",zIndex:1},children:[s?(0,N.jsx)(ta,{}):(0,N.jsx)(na,{align:"center",justify:"center",onClick:e=>{e.stopPropagation(),t(a?oi.pickClear():oi.pickAll())},scheme:e,style:{height:"100%",position:"relative"},children:(0,N.jsx)(Q.XZ,{checked:!n&&a,readOnly:!0,style:{pointerEvents:"none",transform:"scale(0.8)"}})}),(0,N.jsx)(ta,{}),(0,N.jsx)(ta,{field:"originalFilename",title:"Filename"}),(0,N.jsx)(ta,{title:"Resolution"}),(0,N.jsx)(ta,{field:"mimeType",title:"MIME type"}),(0,N.jsx)(ta,{field:"size",title:"Size"}),(0,N.jsx)(ta,{field:"_updatedAt",title:"Last updated"}),(0,N.jsx)(ta,{title:"References"}),(0,N.jsx)(ta,{})]})},oa=(0,Le.ZP)(Q.rj)((e=>{let{scheme:t,selected:n,updating:r}=e;return(0,Le.iv)(S||(S=Fe(["\n      align-items: center;\n      cursor: ",";\n      height: 100%;\n      pointer-events: ",";\n      user-select: none;\n      white-space: nowrap;\n\n      ","\n    "])),n?"default":"pointer",r?"none":"auto",!r&&(0,Le.iv)(E||(E=Fe(["\n        @media (hover: hover) and (pointer: fine) {\n          &:hover {\n            background: ",";\n          }\n        }\n      "])),xi(t,"bg")))})),ia=(0,Le.ZP)(Q.kC)((e=>{let{scheme:t}=e;return(0,Le.iv)(A||(A=Fe(["\n    cursor: pointer;\n    @media (hover: hover) and (pointer: fine) {\n      &:hover {\n        background: ",";\n      }\n    }\n  "])),xi(t,"bg2"))})),sa=(0,Le.ZP)(go)((e=>{let{theme:t}=e;return{color:t.sanity.color.spot.red}}));var aa=(0,U.memo)((e=>{var t,n;const{id:r,selected:o}=e,{scheme:i}=(0,F.tv4)(),s=vo("shift"),[a,l]=(0,U.useState)(!1),d=(0,U.useRef)(),c=(0,Y.I0)(),u=li((e=>e.assets.lastPicked)),h=li((e=>Jo(e,r))),p=(0,Q.d2)(),g=null==h?void 0:h.asset,f=null==h?void 0:h.error,m=null==(n=null==(t=null==h?void 0:h.asset)?void 0:t.metadata)?void 0:n.isOpaque,x=null==h?void 0:h.picked,w=null==h?void 0:h.updating,{onSelect:v}=Ro(),C=(0,U.useCallback)((e=>{e.stopPropagation(),g&&(v?c(ci.showAssetEdit({assetId:g._id}
1)):s.current&&!x?c(oi.pickRange({startId:u||g._id,endId:g._id})):c(oi.pick({assetId:g._id,picked:!x})))}),[g,c,u,v,x,s]),j=(0,U.useCallback)((e=>{e.stopPropagation(),g&&(v?v([{kind:"assetDocumentId",value:g._id}]):s.current?c(x?oi.pick({assetId:g._id,picked:!x}):oi.pickRange({startId:u||g._id,endId:g._id})):c(ci.showAssetEdit({assetId:g._id})))}),[g,c,u,v,x,s]),y=w?.5:1,k=o||w?.1:1;return(0,U.useEffect)((()=>(d.current=setTimeout((()=>l(!0)),750),()=>{d.current&&clearTimeout(d.current)})),[]),g?(0,N.jsxs)(oa,{onClick:o?void 0:j,scheme:i,selected:o,style:{gridColumnGap:p<3?0:"16px",gridRowGap:0,gridTemplateColumns:p<3?Mo:bo,gridTemplateRows:p<3?"auto":"1fr"},updating:h.updating,children:[(0,N.jsx)(ia,{onClick:C,scheme:i,style:{alignItems:"center",gridColumn:1,gridRowStart:1,gridRowEnd:"span 5",height:"100%",justifyContent:"center",opacity:y,position:"relative"},children:v?(0,N.jsx)(un,{style:{flexShrink:0,opacity:.5}}):(0,N.jsx)(Q.XZ,{checked:x,readOnly:!0,style:{pointerEvents:"none",transform:"scale(0.8)"}})}),(0,N.jsx)(Q.xu,{style:{gridColumn:2,gridRowStart:1,gridRowEnd:"span 5",height:"90px",width:"100px"},children:(0,N.jsxs)(Q.kC,{align:"center",justify:"center",style:{height:"100%",position:"relative"},children:[(0,N.jsxs)(Q.xu,{style:{height:"100%",opacity:k,position:"relative"},children:[Qi(g)&&(0,N.jsx)(rs,{extension:g.extension,width:"40px"}),Xi(g)&&(0,N.jsx)(ms,{draggable:!1,scheme:i,showCheckerboard:!m,src:Ui(g,{height:100,width:100})})]}),w&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},children:(0,N.jsx)(Q.$j,{})}),o&&!w&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},children:(0,N.jsx)(Q.xv,{size:2,children:(0,N.jsx)(wt,{})})})]})}),(0,N.jsx)(Q.xu,{marginLeft:p<3?3:0,style:{gridColumn:3,gridRow:p<3?2:"auto",opacity:y},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:g.originalFilename})}),(0,N.jsx)(Q.xu,{marginLeft:p<3?3:0,style:{gridColumn:p<3?3:4,gridRow:p<3?3:"auto",opacity:y},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:Xi(g)&&Ki(g)})}),(0,N.jsx)(Q.xu,{style:{display:p<3?"none":"block",gridColumn:5,gridRow:"auto",opacity:y},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:g.mimeType})}),(0,N.jsx)(Q.xu,{style:{display:p<3?"none":"block",gridColumn:6,gridRow:"auto",opacity:y},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:We()(g.size,{base:10,round:0})})}),(0,N.jsx)(Q.xu,{marginLeft:p<3?3:0,style:{gridColumn:p<3?3:7,gridRow:p<3?4:"auto",opacity:y},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:(0,De.Z)(new Date(g._updatedAt),new Date)})}),(0,N.jsx)(Q.xu,{style:{display:p<3?"none":"block",gridColumn:8,gridRow:"auto",opacity:y},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:a?(0,N.jsx)(F._ZM,{id:r,children:e=>{let{isLoading:t,referringDocuments:n}=e;const r=Fi(n);return(0,N.jsx)(N.Fragment,t?{children:"-"}:{children:Array.isArray(r)?r.length:0})}}):(0,N.jsx)(N.Fragment,{children:"-"})})}),(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{gridColumn:p<3?4:9,gridRowStart:"1",gridRowEnd:p<3?"span 5":"auto",opacity:y},children:f&&(0,N.jsx)(Q.xu,{padding:2,children:(0,N.jsx)(Q.u,{content:(0,N.jsx)(Q.W2,{padding:2,width:0,children:(0,N.jsx)(Q.xv,{size:1,children:f})}),placement:"left",portal:!0,children:(0,N.jsx)(Q.xv,{size:1,children:(0,N.jsx)(sa,{color:"critical"})})})})})]}):null}));const la=e=>{const{id:t}=e,{scheme:n}=(0,F.tv4)(),r=(0,Y.I0)(),o=li((e=>Ns(e,t))),i=(0,Q.d2)();if(!o)return null;const s=We()(o.size,{base:10,round:0}),a=Math.round(o.percent||0),l="complete"===o.status,d="uploading"===o.status,c="queued"===o.status;let u;return l&&(u="Verifying"),d&&(u="".concat(a,"%")),c&&(u="Queued"),(0,N.jsxs)(Q.rj,{style:{alignItems:"center",background:xi(n,"bg"),gridColumnGap:i<3?0:"16px",gridRowGap:0,gridTemplateColumns:i<3?Mo:bo,gridTemplateRows:i<3?"auto":"1fr",height:"100%",position:"relative"},children:[(0,N.jsx)("div",{style:{background:"var(--card-fg-color)",bottom:0,height:"1px",left:0,position:"absolute",width:"100%",transform:"scaleX(".concat(.01*a,")"),transformOrigin:"bottom left",transition:"all 1000ms ease-out"}}),(0,N.jsx)(Q.xu,{style:{gridColumn:2,gridRowStart:i<3?1:"auto",gridRowEnd:i<3?"span 4":"auto",height:"90px",width:"100px"},children:(0,N.jsxs)(Q.xu,{style:{height:"100%",position:"relative"},children:["image"===o.assetType&&(null==o?void 0:o.objectUrl)&&(0,N.jsx)(ms,{draggable:!1,scheme:n,src:o.objectUrl,style:{opacity:.25}}),"file"===o.assetType&&(0,N.jsx)("div",{style:{height:"100%",opacity:.1},children:(0,N.jsx)(rs,{width:"40px"})}),!l&&100!==a&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{position:"absolute",height:"100%",left:0,top:0,width:"100%"},children:(0,N.jsx)(Q.zx,{fontSize:3,icon:Rt,mode:"bleed",onClick:()=>{r(Qs.uploadCancel({hash:o.hash}))},padding:2,style:{background:"none",boxShadow:"none"},tone:"critical"})})]})}),(0,N.jsx)(Q.xu,{style:{gridColumn:i<3?3:"3/8",gridRow:i<3?"2/4":"auto",marginLeft:i<3?3:0},children:(0,N.jsxs)(Q.Kq,{space:3,children:[(0,N.jsxs)(Q.xv,{muted:!0,size:1,textOverflow:"ellipsis",children:[o.name," 
1(",s,")"]}),(0,N.jsx)(Q.xv,{size:1,textOverflow:"ellipsis",weight:"semibold",children:u})]})})]})},da=(0,U.memo)((e=>{let{item:t,selected:n}=e;return"asset"===(null==t?void 0:t.type)?(0,N.jsx)(Q.xu,{style:{height:"100px"},children:(0,N.jsx)(aa,{id:t.id,selected:n})}):"upload"===(null==t?void 0:t.type)?(0,N.jsx)(Q.xu,{style:{height:"100px"},children:(0,N.jsx)(la,{id:t.id})}):null})),ca=e=>{const{items:t,onLoadMore:n}=e,r=li((e=>e.selected.assets)),o=r&&r.map((e=>e._id))||[],i=null==t?void 0:t.length;return 0===i?null:(0,N.jsx)(Ie.Px,{className:"media__custom-scrollbar",computeItemKey:e=>{const n=t[e];return(null==n?void 0:n.id)||e},endReached:n,groupCounts:Array(1).fill(i),groupContent:()=>(0,N.jsx)(ra,{}),itemContent:e=>{const n=t[e],r=o.includes(null==n?void 0:n.id);return(0,N.jsx)(da,{item:n,selected:r})},style:{overflowX:"hidden"}})},ua=()=>{const e=(0,Y.I0)(),t=li((e=>e.assets.fetchCount)),n=li((e=>e.assets.fetching)),r=li((e=>e.tags.panelVisible)),o=li((e=>e.assets.view)),i=li(_s),s=(()=>{var e,t;const n=null==(t=null==(e=Q.studioTheme)?void 0:e.container)?void 0:t.map((e=>window.matchMedia("(max-width: ".concat(e,"px)")))),r=()=>n.findIndex((e=>e.matches)),[o,i]=(0,U.useState)(r());return(0,U.useEffect)((()=>{const e=()=>{i(r)};return n.forEach((t=>{try{t.addEventListener("change",e)}catch(n){try{t.addListener(e)}catch(e){}}})),()=>{try{n.forEach((t=>t.removeEventListener("change",e)))}catch(t){try{n.forEach((t=>t.removeListener(e)))}catch(e){}}}}),[]),o})(),a=t>=0,l=i.length>0,d=()=>{n||e(oi.loadNextPage())};return(0,U.useEffect)((()=>{s<=1&&r&&e(Po.panelVisibleSet({panelVisible:!1}))}),[s]),(0,N.jsx)(Q.xu,{flex:1,style:{width:"100%"},children:l||!a||n?(0,N.jsxs)(N.Fragment,{children:["grid"===o&&(0,N.jsx)(ea,{items:i,onLoadMore:d}),"table"===o&&(0,N.jsx)(ca,{items:i,onLoadMore:d})]}):(0,N.jsx)(Q.xu,{padding:4,children:(0,N.jsx)(Q.xv,{size:1,weight:"semibold",children:"No results for the current query"})})})},ha=()=>{const e=li((e=>e.notifications.items)),t=(0,Q.pm)();return(0,U.useEffect)((()=>{if(e.length>0){const n=e[e.length-1];t.push({closable:!0,status:n.status,title:n.title})}}),[e.length]),null},pa=()=>{const{scheme:e}=(0,F.tv4)(),t=(0,Y.I0)(),n=li(ni);return 0===n.length?null:(0,N.jsx)(Q.kC,{align:"center",justify:"flex-start",style:{background:xi(e,"bg"),borderBottom:"1px solid var(--card-border-color)",height:"".concat(32,"px"),position:"relative",width:"100%"},children:(0,N.jsxs)(Q.kC,{align:"center",paddingX:3,children:[(0,N.jsx)(Q.xu,{paddingRight:2,children:(0,N.jsxs)(Q.__,{size:0,style:{color:"inherit"},children:[n.length," ",be()("asset",n.length)," selected"]})}),(0,N.jsx)(Q.zx,{mode:"bleed",onClick:()=>{t(oi.pickClear())},padding:2,style:{background:"none",boxShadow:"none"},tone:"default",children:(0,N.jsx)(Q.__,{size:0,children:"Deselect"})}),(0,N.jsx)(Q.zx,{mode:"bleed",onClick:()=>{t(ci.showConfirmDeleteAssets({assets:n}))},padding:2,style:{background:"none",boxShadow:"none"},tone:"critical",children:(0,N.jsx)(Q.__,{size:0,children:"Delete"})})]})})};var ga=(0,$.oM)({name:"selected",initialState:{assets:[],document:void 0,documentAssetIds:[]},reducers:{}}).reducer;const fa=(0,$.oM)({name:"notifications",initialState:{items:[]},reducers:{add(e,t){const{asset:n,status:r,title:o}=t.payload;e.items.push({asset:n,status:r,title:o})}}}),ma=fa.actions;var xa=fa.reducer;const wa=(0,te.l)(((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(oi.deleteRequest.match),(0,pe.z)((e=>{const{assets:t}=e.payload,n=t.map((e=>e._id));return(0,se.of)(t).pipe((0,pe.z)((()=>r.observable.delete({query:(0,K.Z)(g||(g=Fe(["*[_id in ","]"])),JSON.stringify(n))}))),(0,pe.z)((()=>(0,se.of)(oi.deleteComplete({assetIds:n})))),(0,xe.K)((e=>(0,se.of)(oi.deleteError({assetIds:n,error:e})))))}
1)))}),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(oi.fetchRequest.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;var o,i;const s=null==(o=t.payload)?void 0:o.params,a=null==(i=t.payload)?void 0:i.query;return(0,se.of)(t).pipe(zo(n.debug.badConnection),(0,pe.z)((()=>r.observable.fetch(a,s))),(0,pe.z)((e=>{const{items:t}=e;return(0,se.of)(oi.fetchComplete({assets:t}))})),(0,xe.K)((e=>(0,se.of)(oi.fetchError({message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500})))))})))}),((e,t)=>e.pipe((0,me.h)(oi.deleteComplete.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;if(0===n.assets.allIds.length){const e=Math.floor(n.assets.allIds.length/n.assets.pageSize);return(0,se.of)(oi.loadPageIndex({pageIndex:e}))}return(0,ce.c)()})))),((e,t)=>e.pipe((0,me.h)(oi.loadNextPage.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;return(0,se.of)(oi.loadPageIndex({pageIndex:n.assets.pageIndex+1}))})))),((e,t)=>e.pipe((0,me.h)(oi.loadPageIndex.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;var r,o,i,s,a,l;const d=n.assets.pageSize,c=t.payload.pageIndex*d,u=c+d,h=null==(r=null==n?void 0:n.selected.document)?void 0:r._id,p=null==(o=null==n?void 0:n.selected)?void 0:o.documentAssetIds,g=Bo({assetTypes:n.assets.assetTypes,searchFacets:n.search.facets,searchQuery:n.search.query}),x={...h?{documentId:h}:{},documentAssetIds:p};return(0,se.of)(oi.fetchRequest({params:x,queryFilter:g,selector:(0,K.Z)(f||(f=Fe(["[","...","]"])),c,u),sort:(0,K.Z)(m||(m=Fe(["order("," ",")"])),null==(s=null==(i=n.assets)?void 0:i.order)?void 0:s.field,null==(l=null==(a=n.assets)?void 0:a.order)?void 0:l.direction)}))})))),(e=>e.pipe((0,me.h)(oi.listenerCreateQueue.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=null==e?void 0:e.map((e=>e.payload.asset));return(0,se.of)(oi.listenerCreateQueueComplete({assets:t}))})))),(e=>e.pipe((0,me.h)(oi.listenerDeleteQueue.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=null==e?void 0:e.map((e=>e.payload.assetId));return(0,se.of)(oi.listenerDeleteQueueComplete({assetIds:t}))})))),(e=>e.pipe((0,me.h)(oi.listenerUpdateQueue.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=null==e?void 0:e.map((e=>e.payload.asset));return(0,se.of)(oi.listenerUpdateQueueComplete({assets:t}))})))),(e=>e.pipe((0,me.h)(oi.orderSet.match),(0,pe.z)((()=>(0,se.of)(oi.clear(),oi.loadPageIndex({pageIndex:0})))))),(e=>e.pipe((0,ne.l)(Qo.facetsAdd.type,Qo.facetsClear.type,Qo.facetsRemoveById.type,Qo.facetsRemoveByName.type,Qo.facetsRemoveByTag.type,Qo.facetsUpdate.type,Qo.facetsUpdateById.type,Qo.querySet.type),(0,je.b)(400),(0,pe.z)((()=>(0,se.of)(oi.clear(),oi.loadPageIndex({pageIndex:0})))))),(e=>e.pipe((0,ne.l)(oi.insertUploads.type,oi.listenerUpdateQueueComplete.type,oi.updateComplete.type),(0,pe.z)((()=>(0,se.of)(oi.sort()))))),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(So.tagsAddRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assets:o,tag:i}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),(0,pe.z)((()=>{const e=ni(n),t=null==e?void 0:e.filter((e=>t=>{var n,r,o,i,s;return(null!=(s=null==(i=null==(o=null==(r=null==(n=null==t?void 0:t.asset)?void 0:n.opt)?void 0:r.media)?void 0:o.tags)?void 0:i.findIndex((t=>t._ref===(null==e?void 0:e._id))))?s:-1)<0})(i)),o=t.reduce(((e,t)=>{var n;return e.patch(null==(n=null==t?void 0:t.asset)?void 0:n._id,(e=>{let{tag:t}=e;return e=>e.setIfMissing({opt:{}}).setIfMissing({"opt.media":{}}).setIfMissing({"opt.media.tags":[]}).append("opt.media.tags",[{_key:(0,ee.x0)(),_ref:null==t?void 0:t._id,_type:"reference",_weak:!0}])})({tag:i}))}),r.transaction());return(0,ae.D)(o.commit())})),(0,pe.z)((()=>(0,se.of)(So.tagsAddComplete({assets:o,tag:i})))),(0,xe.K)((e=>(0,se.of)(So.tagsAddError({assets:o,error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},tag:i})))))})))}),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(So.tagsRemoveRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assets:o,tag:i}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),(0,pe.z)((()=>{const e=ni(n).reduce(((e,t)=>{var n;return e.patch(null==(n=null==t?void 0:t.asset)?void 0:n._id,(e=>{let{asset:t,tag:n}=e;return e=>{var r;return e.ifRevisionId(null==(r=null==t?void 0:t.asset)?void 0:r._rev).unset(['opt.media.tags[_ref == "'.concat(n._id,'"]')])}})({asset:t,tag:i}))}),r.transaction());return(0,ae.D)(e.commit())}
1)),(0,pe.z)((()=>(0,se.of)(So.tagsRemoveComplete({assets:o,tag:i})))),(0,xe.K)((e=>(0,se.of)(So.tagsRemoveError({assets:o,error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},tag:i})))))})))}),(e=>e.pipe((0,ne.l)(oi.orderSet.type,oi.viewSet.type,Qo.facetsAdd.type,Qo.facetsClear.type,Qo.facetsRemoveById.type,Qo.facetsRemoveByName.type,Qo.facetsRemoveByTag.type,Qo.facetsUpdate.type,Qo.facetsUpdateById.type,Qo.querySet.type),(0,pe.z)((()=>(0,se.of)(oi.pickClear()))))),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(oi.updateRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{asset:o,closeDialogId:i,formData:s}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),(0,pe.z)((()=>(0,ae.D)(r.patch(o._id).setIfMissing({opt:{}}).setIfMissing({"opt.media":{}}).set(s).commit()))),(0,pe.z)((e=>(0,se.of)(oi.updateComplete({asset:e,closeDialogId:i})))),(0,xe.K)((e=>(0,se.of)(oi.updateError({asset:o,error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500}})))))})))}),(e=>e.pipe((0,ne.l)(oi.deleteComplete.type,oi.updateComplete.type,Po.deleteComplete.type,Po.updateComplete.type),(0,me.h)((e=>{var t;return!!(null==(t=null==e?void 0:e.payload)?void 0:t.closeDialogId)})),(0,pe.z)((e=>{var t;const n=null==(t=null==e?void 0:e.payload)?void 0:t.closeDialogId;return n?(0,se.of)(di.actions.remove({id:n})):(0,ce.c)()})))),(e=>e.pipe((0,me.h)(Po.createComplete.match),(0,pe.z)((e=>{const{assetId:t,tag:n}=null==e?void 0:e.payload;return t?(0,se.of)(di.actions.inlineTagCreate({tag:n,assetId:t})):n._id?(0,se.of)(di.actions.remove({id:"tagCreate"})):(0,ce.c)()})))),(e=>e.pipe((0,me.h)(Po.listenerDeleteQueueComplete.match),(0,pe.z)((e=>{const{tagIds:t}=null==e?void 0:e.payload;return(0,se.of)(di.actions.inlineTagRemove({tagIds:t}))})))),(e=>e.pipe((0,me.h)(oi.deleteError.match),(0,pe.z)((e=>{const{assetIds:t}=e.payload,n=t.length;return(0,se.of)(fa.actions.add({status:"error",title:"Unable to delete ".concat(n," ").concat(be()("asset",n),". Please review any asset errors and try again.")}))})))),(e=>e.pipe((0,me.h)(oi.deleteComplete.match),(0,pe.z)((e=>{const{assetIds:t}=e.payload,n=t.length;return(0,se.of)(fa.actions.add({status:"info",title:"".concat(n," ").concat(be()("asset",n)," deleted")}))})))),(e=>e.pipe((0,me.h)(So.tagsAddComplete.match),(0,pe.z)((e=>{var t,n;const r=null==(n=null==(t=null==e?void 0:e.payload)?void 0:t.assets)?void 0:n.length;return(0,se.of)(fa.actions.add({status:"info",title:"Tag added to ".concat(r," ").concat(be()("asset",r))}))})))),(e=>e.pipe((0,me.h)(So.tagsRemoveComplete.match),(0,pe.z)((e=>{var t,n;const r=null==(n=null==(t=null==e?void 0:e.payload)?void 0:t.assets)?void 0:n.length;return(0,se.of)(fa.actions.add({status:"info",title:"Tag removed from ".concat(r," ").concat(be()("asset",r))}))})))),(e=>e.pipe((0,me.h)(oi.updateComplete.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=e.length;return(0,se.of)(fa.actions.add({status:"info",title:"".concat(t," ").concat(be()("asset",t)," updated")}))})))),(e=>e.pipe((0,ne.l)(oi.fetchError.type,oi.updateError.type,Po.createError.type,Po.deleteError.type,Po.fetchError.type,Po.updateError.type,Qs.uploadError.type),(0,pe.z)((e=>{var t;const n=null==(t=e.payload)?void 0:t.error;return(0,se.of)(fa.actions.add({status:"error",title:"An error occured: ".concat(n.message)}))})))),(e=>e.pipe((0,me.h)(Po.createComplete.match),(0,pe.z)((()=>(0,se.of)(fa.actions.add({status:"info",title:"Tag created"})))))),(e=>e.pipe((0,me.h)(Po.deleteComplete.match),(0,pe.z)((()=>(0,se.of)(fa.actions.add({status:"info",title:"Tag deleted"})))))),(e=>e.pipe((0,me.h)(Po.updateComplete.match),(0,pe.z)((()=>(0,se.of)(fa.actions.add({status:"info",title:"Tag updated"})))))),((e,t)=>e.pipe((0,me.h)(Po.updateComplete.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;var r,o,i,s,a;const{tag:l}=t.payload,d=null==(r=n.search.facets)?void 0:r.find((e=>"tag"===e.name)),c=n.tags.byIds[l._id];return"searchable"===(null==d?void 0:d.type)&&(null==(o=d.value)?void 0:o.value)===l._id?(0,se.of)(Uo.actions.facetsUpdate({name:"tag",value:{label:null==(s=null==(i=null==c?void 0:c.tag)?void 0:i.name)?void 0:s.current,value:null==(a=null==c?void 0:c.tag)?void 0:a._id}})):(0,ce.c)()})))),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(Ao.actions.createRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assetId:o,name:i}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),_o(r,i),(0,pe.z)((()=>r.observable.create({_type:"media.tag",name:{_type:"slug",current:i}}))),(0,pe.z)((e=>(0,se.of)(Ao.actions.createComplete({assetId:o,tag:e})))),(0,xe.K)((e=>(0,se.of)(Ao.actions.createError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},name:i})))))})))}),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(Ao.actions.deleteRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{tag:o}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),(0,pe.z)((()=>r.observable.fetch((0,K.Z)(u||(u=Fe(['*[\n              _type in ["sanity.fileAsset", "sanity.imageAsset"]\n              && references(*[_type == "media.tag" && name.current == $tagName]._id)\n            ] {\n              _id,\n              _rev,\n              opt\n            }']))),{tagName:o.name.current}))),(0,pe.z)((e=>{const t=e.map((e=>({id:e._id,patch:{ifRevisionID:e._rev,unset:['opt.media.tags[_ref == "'.concat(o._id,'"]')]}}))).reduce(((e,t)=>e.patch(t.id,t.patch)),r.transaction());return t.delete(o._id),(0,ae.D)(t.commit())}
1)),(0,pe.z)((()=>(0,se.of)(Ao.actions.deleteComplete({tagId:o._id})))),(0,xe.K)((e=>(0,se.of)(Ao.actions.deleteError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},tag:o})))))})))}),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(Ao.actions.fetchRequest.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;const{query:o}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),(0,pe.z)((()=>r.observable.fetch(o))),(0,pe.z)((e=>{const{items:t}=e;return(0,se.of)(Ao.actions.fetchComplete({tags:t}))})),(0,xe.K)((e=>(0,se.of)(Ao.actions.fetchError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500}})))))})))}),(e=>e.pipe((0,me.h)(Ao.actions.listenerCreateQueue.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=null==e?void 0:e.map((e=>e.payload.tag));return(0,se.of)(Ao.actions.listenerCreateQueueComplete({tags:t}))})))),(e=>e.pipe((0,me.h)(Ao.actions.listenerDeleteQueue.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=null==e?void 0:e.map((e=>e.payload.tagId));return(0,se.of)(Ao.actions.listenerDeleteQueueComplete({tagIds:t}))})))),(e=>e.pipe((0,me.h)(Ao.actions.listenerUpdateQueue.match),(0,Ce.e)(2e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=null==e?void 0:e.map((e=>e.payload.tag));return(0,se.of)(Ao.actions.listenerUpdateQueueComplete({tags:t}))})))),(e=>e.pipe((0,ne.l)(Ao.actions.listenerCreateQueueComplete.type,Ao.actions.listenerUpdateQueueComplete.type),(0,Ce.e)(1e3),(0,me.h)((e=>e.length>0)),(0,pe.z)((()=>(0,se.of)(Ao.actions.sort()))))),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(Ao.actions.updateRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;var o;const{closeDialogId:i,formData:s,tag:a}=t.payload;return(0,se.of)(t).pipe(zo(n.debug.badConnection),_o(r,null==(o=null==s?void 0:s.name)?void 0:o.current),(0,pe.z)((()=>(0,ae.D)(r.patch(a._id).set({name:{_type:"slug",current:null==s?void 0:s.name.current}}).commit()))),(0,pe.z)((e=>(0,se.of)(Ao.actions.updateComplete({closeDialogId:i,tag:e})))),(0,xe.K)((e=>(0,se.of)(Ao.actions.updateError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},tag:a})))))})))}),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(Qs.uploadStart.match),(0,pe.z)((t=>{const{file:n,uploadItem:o}=t.payload;return(0,ue.T)((0,se.of)(null).pipe((0,pe.z)((()=>(e=>(0,se.of)(null).pipe((0,pe.z)((()=>(0,ae.D)((async e=>{const t=await(e=>new Promise((t=>{const n=window.URL.createObjectURL(e),r=new Image;r.onload=()=>{window.URL.revokeObjectURL(n),t(r)},r.src=n})))(e),n=await(r=t,new Promise((e=>{const t=r.width/r.height,n=document.createElement("canvas");n.width=180,n.height=Math.max(180/t,1);try{const o=n.getContext("2d");null==o||o.drawImage(r,0,0,180,180/t),n.toBlob(e,"image/jpeg")}catch(e){console.warn("Unable to generate preview image:",e)}})));var r;if(!n)throw Error("Unable to generate file Blob");return window.URL.createObjectURL(n)})(e))))))(n))),(0,pe.z)((e=>(0,se.of)(Qs.previewReady({blobUrl:e,hash:o.hash}))))),(0,se.of)(null).pipe((0,pe.z)((()=>Fs(r,o.assetType,n,o.hash))),(0,ye.R)(e.pipe((0,me.h)(Qs.uploadCancel.match),(0,me.h)((e=>e.payload.hash===o.hash)))),(0,pe.z)((e=>"complete"===(null==e?void 0:e.type)?(0,se.of)(Ko.uploadComplete({asset:e.asset})):"progress"===(null==e?void 0:e.type)&&"upload"===(null==e?void 0:e.stage)?(0,se.of)(Qs.uploadProgress({event:e,uploadHash:o.hash})):(0,ce.c)())),(0,xe.K)((e=>(0,se.of)(Qs.uploadError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},hash:o.hash}))))))})))}),((e,t)=>e.pipe((0,me.h)(Qs.uploadRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{file:r,forceAsAssetType:o}=t.payload;return(0,se.of)(t).pipe((0,pe.z)((()=>(e=>window.crypto&&window.crypto.subtle&&window.FileReader?(e=>new de.y((t=>{const n=new FileReader;return n.onload=()=>{t.next(n.result),t.complete()},n.onerror=e=>{t.error(e)},n.readAsArrayBuffer(e),()=>{n.abort()}})))(e).pipe((0,pe.z)((e=>window.crypto.subtle.digest("SHA-1",e))),(0,fe.U)(Ps)):(0,ie._)({message:"Unable to generate hash: uploads are only allowed in secure contexts",statusCode:500}))(r))),(0,me.h)((e=>!n.uploads.byIds[e])),(0,pe.z)((e=>{const t={_type:"upload",assetType:o||(r.type.indexOf("image")>=0?"image":"file"),hash:e,name:r.name,size:r.size,status:"queued"};return(0,se.of)(Qs.uploadStart({file:r,uploadItem:t}))})))})))),((e,t,n)=>{let{client:r}=n;return e.pipe((0,me.h)(Qs.checkRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assets:o}=t.payload,i=o.map((e=>e._id)),s=Bo({assetTypes:n.assets.assetTypes,searchFacets:n.search.facets,searchQuery:n.search.query}),a=(0,K.Z)(T||(T=Fe(["\n        *["," && _id in $documentIds].sha1hash\n      "])),s);return(0,se.of)(t).pipe((0,he.g)(1e3),(0,pe.z)((()=>r.observable.fetch(a,{documentIds:i}))),(0,pe.z)((e=>{const t=o.reduce(((t,n)=>(t[n.sha1hash]=e.includes(n.sha1hash)?n._id:null,t)),{});return(0,se.of)(Qs.checkComplete({results:t}),oi.insertUploads({results:t}))})))})))}),(e=>e.pipe((0,me.h)(Ko.uploadComplete.match),(0,pe.z)((e=>(0,se.of)(Qs.checkRequest({assets:[e.payload.asset]}))))))),va=(0,J.UY)({assets:ii,debug:Ai,dialog:ui,notifications:xa,search:Xo,selected:ga,tags:Fo,uploads:Xs}),Ca=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),ja=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var n,r;return Array.isArray(e)&&e.forEach((e=>{ja(e,t)})),Ca(e)&&("reference"===(null==(n=null==e?void 0:e.asset)?void 0:n._type)&&(null==(r=null==e?void 0:e.asset)?void 0:r._ref)&&t.push(e.asset._ref),Object.values(e).forEach((e=>{ja(e,t)}))),t},ya=e=>{const t=ja(e);return[...new Set(t.sort())]};class ka extends U.Component{constructor(e){super(e);const t=(0,re.k)({dependencies:{client:e.client}});this.store=(0,$.xC)({reducer:va,middleware:e=>e({serializableCheck:!1,thunk:!1}).prepend(t),devTools:!0,preloadedState:{assets:{...$o,assetTypes:(null==e?void 0:e.assetType)?[e.assetType]:["file","image"]},selected:{assets:e.selectedAssets||[],document:e.document,documentAssetIds:e.document?ya(e.document):[]}}}),t.run(wa)}render(){return(0,N.jsx)(Y.zt,{store:this.store,children:this.props.children})}}const La=()=>li((e=>e.tags.panelVisible))?(0,N.jsx)(Q.xu,{style:{position:"relative",width:250},children:(0,N.jsx)(Q.xu,{className:"media__custom-scrollbar",style:{borderLeft:"1px solid var(--card-border-color)",height:"100%",overflowX:"hidden",overflowY:"auto",position:"absolute",right:0,top:0,width:"100%"},children:(0,N.jsx)(Rs,{})})}):null,Ma=Le.ZP.div(q||(q=Fe(["\n  color: white;\n  height: 100%;\n  min-height: 100%;\n  right: 0;\n  top: 0;\n  width: 100%;\n\n  &:focus {\n    outline: none;\n  }\n"]))),ba=Le.ZP.div(O||(O=Fe(["\n  align-items: center;\n  background: rgba(0, 0, 0, 0.75);\n  display: flex;\n  height: 100%;\n  justify-content: center;\n  position: absolute;\n  right: 0;\n  top: 0;\n  width: 100%;\n  z-index: 3;\n"]))),Ha=e=>{const{children:t}=e,{onSelect:n}=Ro(),r=(0,Y.I0)(),o=li((e=>e.assets.assetTypes)),i=1===o.length&&"image"===o[0],{getRootProps:s,getInputProps:a,isDragActive:l,open:d}=(0,Pe.uI)({accept:i?"image/*":"",getFilesFromEvent:async e=>{var t;let n;if("drop"===e.type&&"dataTransfer"in e&&(n=null==(t=null==e?void 0:e.dataTransfer)?void 0:t.files),"change"===e.type){const t=null==e?void 0:e.target;(null==t?void 0:t.files)&&(n=t.files)}if(!n)return[];const o=await async function(e){const t=Array.from(e),n=[];for(const r of t)try{await r.slice(0,1).arrayBuffer(),n.push(r)}catch(e){}return n}(n);return(null==n?void 0:n.length)!==o.length&&r(ma.add({status:"error",title:"Unable to upload some items (folders and packages aren't supported)"})),o},noClick:!0,noDrag:!!n,onDrop:async e=>{e.forEach((e=>r(Qs.uploadRequest({file:e,forceAsAssetType:1===o.length?o[0]:void 0}))))}});return(0,N.jsx)(zs,{open:d,children:(0,N.jsxs)(Ma,{...s(),children:[(0,N.jsx)("input",{...a()}),l&&(0,N.jsx)(ba,{children:(0,N.jsx)(Q.kC,{direction:"column",justify:"center",style:{color:"#fff"},children:(0,N.jsx)(Q.xv,{size:3,style:{color:"inherit"},children:"Drop files to upload"})})}),t]})})},Va=e=>{let{onClose:t}=e;const n=Io(),[r,o]=(0,U.useState)(null),i=(0,Y.I0)(),s=e=>{const{documentId:t,result:n,transition:r}=e;"appear"===r&&i(oi.listenerCreateQueue({asset:n})),"disappear"===r&&i(oi.listenerDeleteQueue({assetId:t})),"update"===r&&i(oi.listenerUpdateQueue({asset:n}))},a=e=>{const{documentId:t,result:n,transition:r}=e;"appear"===r&&i(Po.listenerCreateQueue({tag:n})),"disappear"===r&&i(Po.listenerDeleteQueue({tagId:t})),"update"===r&&i(Po.listenerUpdateQueue({tag:n}))};return(0,U.useEffect)((()=>{i(oi.loadPageIndex({pageIndex:0})),i(Po.fetchRequest());const e=n.listen((0,K.Z)(D||(D=Fe(['*[_type in ["sanity.fileAsset", "sanity.imageAsset"] && !(_i
1d in path("drafts.**"))]'])))).subscribe(s),t=n.listen((0,K.Z)(P||(P=Fe(['*[_type == "','" && !(_id in path("drafts.**"))]'])),"media.tag")).subscribe(a);return()=>{null==e||e.unsubscribe(),null==t||t.unsubscribe()}}),[]),(0,N.jsx)(Q.Xp,{element:r,children:(0,N.jsxs)(Ha,{children:[(0,N.jsx)(Zs,{}),(0,N.jsx)(ha,{}),(0,N.jsx)(Q.Zb,{display:"flex",height:"fill",ref:o,children:(0,N.jsxs)(Q.kC,{direction:"column",flex:1,children:[(0,N.jsx)(Bs,{onClose:t}),(0,N.jsx)(Wi,{}),(0,N.jsxs)(Q.kC,{flex:1,children:[(0,N.jsxs)(Q.kC,{align:"flex-end",direction:"column",flex:1,style:{position:"relative"},children:[(0,N.jsx)(pa,{}),(0,N.jsx)(ua,{})]}),(0,N.jsx)(La,{})]}),(0,N.jsx)(qi,{})]})})]})})},Ra=e=>{const t=Io(),{scheme:n}=(0,F.tv4)();return(0,N.jsx)(ka,{assetType:null==e?void 0:e.assetType,client:t,document:null==e?void 0:e.document,selectedAssets:null==e?void 0:e.selectedAssets,children:(0,N.jsx)(Q.f6,{scheme:n,theme:Q.studioTheme,children:(0,N.jsx)(Q.VW,{children:(0,N.jsxs)(Vo,{onSelect:null==e?void 0:e.onSelect,children:[(0,N.jsx)(ai,{}),(0,N.jsx)(Va,{onClose:null==e?void 0:e.onClose})]})})})})};var Ia={title:"Media Tag",icon:Bi,name:"media.tag",type:"document",fields:[{title:"Name",name:"name",type:"slug"}],preview:{select:{name:"name"},prepare(e){const{name:t}=e;return{media:Bi,title:null==t?void 0:t.current}}}};const Za={icon:Tn,name:"media",title:"Media"},Ta={...Za,component:e=>{const{onClose:t}=e,n=(()=>{const[e]=(0,U.useState)((()=>document.createElement("div")));return(0,U.useEffect)((()=>(e.classList.add("media-portal"),document.body.appendChild(e),()=>{document.body.removeChild(e)})),[e]),e})(),r=(0,F.tdq)([]);vo("escape",t);const o=e=>{e.nativeEvent.stopImmediatePropagation(),e.stopPropagation()},{zIndex:i}=(0,Q.sJ)();return(0,N.jsx)(Q.Xp,{element:n,children:(0,N.jsx)(Q.h_,{children:(0,N.jsx)(Q.xu,{onDragEnter:o,onDragLeave:o,onDragOver:o,onDrop:o,onMouseUp:o,style:{bottom:0,height:"auto",left:0,position:"fixed",top:0,width:"100%",zIndex:i},children:(0,N.jsx)(Ra,{document:r,...e})})})})}},za={...Za,component:()=>(0,N.jsx)(Q.kC,{direction:"column",height:"fill",flex:1,children:(0,N.jsx)(Ra,{})})},Ba=(0,F.Cw0)({name:"media",form:{file:{assetSources:e=>[...e,Ta]},image:{assetSources:e=>[...e,Ta]}},schema:{types:[Ia]},tools:e=>[...e,za]})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.