PageSourceSearch

https://www.sergehillproject.co.uk/_next/static/chunks/5ae81804-49cf1df7dc5a9606.js

js sergehillproject.co.uk collected 2026-10-04 13:27:28 UTC 216,073 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 xa}});var o,r,i,s,l,a,d,c,u,h,p,g,f,x,m,w,v,C,j,y,k,L,M,b,H,V,R,I,Z,T,z,_,B,W,S,E,A,q,D,P,O,F=n(32932),U=n(67294),N=n(85893),Q=n(11636),X=n(35027),K=n(37288),G=n(25617),Y=n(61876),$=n(68697),J=n(14890),ee=n(53416),te=n(22915),ne=n(15069),oe=n(71459),re=n(82976),ie=n(83610),se=n(32817),le=n(40052),ae=n(82649),de=n(19293),ce=n(1545),ue=n(23071),he=n(46297),pe=n(5014),ge=n(91458),fe=n(29127),xe=n(94975),me=n(79878),we=n(63428),ve=n(34978),Ce=n(65315),je=n(42965),ye=n(83505),ke=n(25934),Le=n(14141),Me=n(23450),be=n.n(Me),He=n(86126),Ve=n(75464),Re=n(23157),Ie=n(26246),Ze=n(63201),Te=n(87536),ze=n(1604),_e=n(42298),Be=n(56755),We=n.n(Be),Se=n(20640),Ee=n.n(Se),Ae=n(933),qe=n(60769),De=n(58620),Pe=n(19642),Oe=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"})]})})),Ge=(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"})]})})),Ye=(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"})]})})),$e=(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"})})})),ot=(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"})})})),rt=(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"})]})})),lt=(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"})]})})),at=(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"})})})),xt=(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"})})})),mt=(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"})]})})),_t=(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"})})})),Bt=(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"})]})})),Dt=(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"})})})),Pt=(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"})})})),Ot=(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"})]})})),Gt=(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"})]})})),Yt=(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"})]})})),$t=(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"})})})),on=(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"})})})),rn=(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"})]})})),ln=(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"})]})})),an=(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"})]})})),xn=(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"})]})})),mn=(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"})})})),_n=(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"})})})),Bn=(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"})})})),Dn=(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"})})})),Pn=(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"})})})),On=(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"})})})),Gn=(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"})})})),Yn=(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"})})})),$n=(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"})]})})),eo=(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"})})})),to=(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"})]})})),no=(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"})})})),oo=(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"})})})),ro=(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"})]})})),io=(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"})})})),so=(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})]})})),lo=(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"})]})})),ao=(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"})})})),co=(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"})})})),uo=(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"})})})),ho=(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"})})})),po=(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"})]})})),go=(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"})})})),fo=(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"})})})),xo=(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"})})})),mo=(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"})})})),wo=(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"})]})})),vo=(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"})]})})),Co=(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"})]})})),jo=(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"})]})})),yo=(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"})})})),ko=(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"})})})),Lo=(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"})})})),Mo=(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"})})})),bo=(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"})})})),Ho=(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"})]})})),Vo=(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"})})})),Ro=(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"})})})),Io=(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"})})})),Zo=(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"})})})),To=(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"})})})),zo=(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"})})})),_o=(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"})})})),Bo=(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"})})})),Wo=(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"})})})),So=(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"})})})),Eo=(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"})})})),Ao=(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"})]})})),qo=(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"})]})})),Do=(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"})})})),Po=(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"})]})})),Oo=(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"})]})})),Fo=(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"})})})),Uo=(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"})})})),No=(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"})})})),Qo=(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"})})})),Xo=(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"})})})),Ko=(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"})})})),Go=(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"})})})),Yo=(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"})]})})),$o=(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"})})})),Jo=(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"})})})),er=(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"})]})})),tr=(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"})})})),nr=(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"})})})),or=(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"})})})),rr=(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"})})})),ir=(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"})]})})),sr=(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"})]})})),lr=(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"})]})})),ar=(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"})})})),dr=(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"})})})),cr=(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"})]})})),ur=(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"})]})})),hr=(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"})})})),pr=(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"})})})),gr=(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"})})})),fr=(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"})})})),xr=(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"})})})),mr={"access-denied":Ue,activity:Ne,"add-circle":Qe,add:Xe,api:Ke,archive:Ge,"arrow-down":Ye,"arrow-left":$e,"arrow-right":Je,"arrow-top-right":et,"arrow-up":tt,"bar-chart":nt,basket:ot,bell:rt,bill:it,"binary-document":st,"block-content":lt,"block-element":at,blockquote:dt,bold:ct,book:ut,bottle:ht,"bulb-filled":pt,"bulb-outline":gt,calendar:ft,case:xt,"chart-upward":mt,"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":_t,comment:Bt,component:Wt,compose:St,controls:Et,copy:At,"credit-card":qt,crop:Dt,dashboard:Pt,database:Ot,desktop:Ft,document:Ut,"document-pdf":Nt,"document-remove":Qt,"document-sheet":Xt,"document-text":Kt,"document-video":Gt,"document-word":Yt,"document-zip":$t,documents:Jt,dot:en,"double-chevron-down":tn,"double-chevron-left":nn,"double-chevron-right":on,"double-chevron-up":rn,download:sn,"drag-handle":ln,drop:an,"earth-americas":dn,"earth-globe":cn,edit:un,"ellipsis-horizontal":hn,"ellipsis-vertical":pn,enter:gn,"enter-right":fn,envelope:xn,equal:mn,"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:_n,"info-filled":Bn,"info-outline":Wn,"inline-element":Sn,inline:En,"insert-above":An,"insert-below":qn,italic:Dn,joystick:Pn,launch:On,leave:Fn,lemon:Un,link:Nn,"link-removed":Qn,lock:Xn,"logo-js":Kn,"logo-ts":Gn,"master-detail":Yn,menu:$n,"mobile-device":Jn,moon:eo,number:to,"ok-hand":no,olist:oo,overage:ro,package:io,pause:so,pin:lo,"pin-removed":ao,play:co,plug:uo,presentation:ho,publish:po,"read-only":go,"remove-circle":fo,remove:xo,reset:mo,restore:wo,retrieve:vo,retry:Co,revert:jo,robot:yo,rocket:ko,schema:Lo,search:Mo,select:bo,share:Ho,sort:Vo,sparkle:Ro,sparkles:Io,spinner:Zo,"split-horizontal":To,"split-vertical":zo,square:_o,"stack-compact":Bo,stack:Wo,star:So,stop:Eo,strikethrough:Ao,string:qo,sun:Do,sync:Po,tag:Oo,tags:Fo,terminal:Uo,"th-large":No,"th-list":Qo,tiers:Xo,"toggle-arrow-right":Ko,token:Go,transfer:Yo,translate:$o,trash:Jo,"trend-upward":er,"triangle-outline":tr,trolley:nr,truncate:or,twitter:rr,ulist:ir,underline:sr,undo:lr,unknown:ar,unlock:dr,unpublish:cr,upload:ur,user:hr,users:pr,"warning-filled":gr,"warning-outline":fr,wrench:xr},wr=(0,U.forwardRef)((function(e,t){const{symbol:n,...o}=e,r=mr[n];return r?(0,U.createElement)(r,{...o,ref:t}):null})),vr=(e,t)=>{const n=(0,U.useRef)(!1),o=(0,U.useCallback)((o=>{(0,X.ZP)(e,o)&&(n.current=!0,t&&t())}),[e,t]),r=(0,U.useCallback)((()=>{n.current=!1}),[]);return(0,U.useEffect)((()=>(window.addEventListener("keydown",o),window.addEventListener("keyup",r),()=>{window.removeEventListener("keydown",o),window.removeEventListener("keyup",r)})),[o,r]),n},Cr={type:"divider"},jr={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)(o||(o=
1Fe(["_id in $documentAssetIds"])))},{name:"false",title:"False",value:(0,K.Z)(r||(r=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}},yr={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"}},kr=[{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"}],Lr=[jr.tag,Cr,jr.inUse,jr.inCurrentDocument,Cr,jr.title,jr.altText,jr.description,Cr,jr.isOpaque,Cr,jr.fileName,jr.size,jr.type,Cr,jr.orientation,jr.width,jr.height],Mr="3rem 100px auto 1.5rem",br="3rem 100px auto 5.5rem 5.5rem 3.5rem 8.5rem 4.75rem 2rem",Hr=(0,U.createContext)(void 0),Vr=e=>{const{children:t,onSelect:n}=e,o={onSelect:n};return(0,N.jsx)(Hr.Provider,{value:o,children:t})},Rr=()=>{const e=(0,U.useContext)(Hr);if(void 0===e)throw new Error("useAssetSourceActions must be used within an AssetSourceDispatchProvider");return e},Ir=()=>(0,F.m85)({apiVersion:"2022-10-01"}),Zr={_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"}},Tr=(e,t)=>Zr[e][t],zr=e=>function(t){return(0,re.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)},_r=e=>{let{assetTypes:t,searchFacets:n,searchQuery:o}=e;const r=t.map((e=>"sanity.".concat(e,"Asset"))),i=(0,K.Z)(l||(l=Fe(["\n    _type in ",' && !(_id in path("drafts.**"))\n  '])),JSON.stringify(r)),s=n.reduce(((e,t)=>{var n;if("number"===t.type){const{field:n,modifier:o,modifiers:r,operatorType:i,value:s}=t,l=yr[i],a=null==r?void 0:r.find((e=>e.name===o)),d=(null==a?void 0:a.fieldModifier)?a.fieldModifier(n):n,c=l.fn(s,d);c&&e.push(c)}if("searchable"===t.type){const{field:n,operatorType:o,value:r}=t,i=yr[o].fn(null==r?void 0:r.value,n);i&&e.push(i)}if("select"===t.type){const{field:o,operatorType:r,options:i,value:s}=t,l=yr[r],a=null==(n=null==i?void 0:i.find((e=>e.name===s)))?void 0:n.value,d=l.fn(a,o);d&&e.push(d)}if("string"===t.type){const{field:n,operatorType:o,value:r}=t,i=yr[o].fn(r,n);i&&e.push(i)}return e}),[]);return[i,...o?[(0,K.Z)(a||(a=Fe(["[_id, altText, assetId, description, originalFilename, title, url] match '*","*'"])),o.trim())]:[],...s].join(" && ")},Br=(e,t)=>
1function(n){return n.pipe((0,pe.z)((()=>(0,le.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))))},Wr=e=>e.reduce(((e,t)=>{var n;const o=null==t?void 0:t.tag;return o&&e.push({label:null==(n=null==o?void 0:o.name)?void 0:n.current,value:null==o?void 0:o._id}),e}),[]),Sr={tagsAddComplete:(0,Y.PH)("actions/tagsAddComplete",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}})),tagsAddError:(0,Y.PH)("actions/tagsAddError",(function(e){let{assets:t,error:n,tag:o}=e;return{payload:{assets:t,error:n,tag:o}}})),tagsAddRequest:(0,Y.PH)("actions/tagsAddRequest",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}})),tagsRemoveComplete:(0,Y.PH)("actions/tagsRemoveComplete",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}})),tagsRemoveError:(0,Y.PH)("actions/tagsRemoveError",(function(e){let{assets:t,error:n,tag:o}=e;return{payload:{assets:t,error:n,tag:o}}})),tagsRemoveRequest:(0,Y.PH)("actions/tagsRemoveRequest",(function(e){let{assets:t,tag:n}=e;return{payload:{assets:t,tag:n}}}))},Er={showTagCreate:(0,Y.PH)("dialog/showTagCreate"),showTagEdit:(0,Y.PH)("dialog/showTagEdit",(function(e){let{tagId:t}=e;return{payload:{tagId:t}}}))},Ar=(0,Y.oM)({name:"tags",initialState:{allIds:[],byIds:{},creating:!1,creatingError:void 0,fetchCount:-1,fetching:!1,fetchingError:void 0,panelVisible:!0},extraReducers:e=>{e.addCase(Er.showTagCreate,(e=>{delete e.creatingError})).addCase(Er.showTagEdit,((e,t)=>
1{const{tagId:n}=t.payload;delete e.byIds[n].error})).addMatcher((e=>[Sr.tagsAddComplete.type,Sr.tagsAddError.type,Sr.tagsRemoveComplete.type,Sr.tagsRemoveError.type].includes(e.type)),((e,t)=>{const{tag:n}=t.payload;e.byIds[n._id].updating=!1})).addMatcher((e=>[Sr.tagsAddRequest.type,Sr.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,o=e.allIds.indexOf(n);o>=0&&e.allIds.splice(o,1),delete e.byIds[n]},deleteError(e,t){const{error:n,tag:o}=t.payload,r=null==o?void 0:o._id;e.byIds[r].error=n,e.byIds[r].updating=!1},deleteRequest(e,t){var n,o;const r=null==(o=null==(n=t.payload)?void 0:n.tag)?void 0:o._id;e.byIds[r].picked=!1,e.byIds[r].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 o=e.byIds[t].tag.name.current,r=e.byIds[n].tag.name.current;return o<r?-1:o>r?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:o}=t.payload,r=null==o?void 0:o._id;e.byIds[r].error=n,e.byIds[r].updating=!1},updateRequest(e,t){const{tag:n}=t.payload;e.byIds[null==n?void 0:n._id].updating=!0}}}),qr=e=>e.tags.byIds,Dr=(0,$.P1)([qr,e=>e.tags.allIds],((e,t)=>t.map((t=>e[t])))),Pr=(0,$.P1)([qr,(e,t)=>t],((e,t)=>e[t])),Or=Ar.actions;var Fr=Ar.reducer;const Ur=(0,Y.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:o,operatorType:r,value:i}=t.payload,s=e.facets.find((e=>e.name===o));s&&("number"===s.type&&n&&(s.modifier=n),r&&(s.operatorType=r),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:o,operatorType:r,value:i}=t.payload;e.facets.forEach(((t,s)=>{t.id===o&&("number"===t.type&&n&&(t.modifier=n),r&&(t.operatorType=r),void 0!==i&&(e.facets[s].value=i))}))},querySet(e,t){var n;e.query=null==(n=t.payload)?void 0:n.searchQuery}}}),Nr=(0,$.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})))),Qr=Ur.actions;var Xr=Ur.reducer;const Kr={uploadComplete:(0,Y.PH)("uploads/uploadComplete",(function(e){let{asset:t}=e;return{payload:{asset:t}}}))},Gr=kr[0],Yr={allIds:[],assetTypes:[],byIds:{},fetchCount:-1,fetching:!1,fetchingError:void 0,lastPicked:void 0,order:{direction:Gr.direction,field:Gr.field,title:Tr(Gr.field,Gr.direction)},pageIndex:0,pageSize:50,view:"grid"}
1,$r=(0,Y.oM)({name:"assets",initialState:Yr,extraReducers:e=>{e.addCase(Kr.uploadComplete,((e,t)=>{const{asset:n}=t.payload;e.byIds[n._id]={_type:"asset",asset:n,picked:!1,updating:!1}})).addCase(Sr.tagsAddComplete,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(Sr.tagsAddError,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(Sr.tagsAddRequest,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!0}))})).addCase(Sr.tagsRemoveComplete,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(Sr.tagsRemoveError,((e,t)=>{const{assets:n}=t.payload;n.forEach((t=>{e.byIds[t.asset._id].updating=!1}))})).addCase(Sr.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,o,r,i;const{assetIds:s,error:l}=t.payload,a=null==(i=null==(r=null==(o=null==(n=null==l?void 0:l.response)?void 0:n.body)?void 0:o.error)?void 0:r.items)?void 0:i.map((e=>e.error));null==s||s.forEach((t=>{e.byIds[t].updating=!1})),null==a||a.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 o=(null==(n=t.payload)?void 0:n.assets)||[];o&&o.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=o.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:o="",sort:r=(0,K.Z)(h||(h=Fe(["order(_updatedAt desc)"])))}=e;const i=r||o?"|":"";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,r,o)}}}},insertUploads(e,t){const{results:n}=t.payload;Object.entries(n).forEach((t=>{let[n,o]=t;o&&!e.allIds.includes(n)&&e.allIds.push(o)}))},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:o}=t.payload;e.byIds[n].picked=o,e.lastPicked=o?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)),o=e.allIds.findIndex((e=>e===t.payload.endId)),r=[n,o].sort(((e,t)=>e-t));e.allIds.slice(r[0],r[1]+1).forEach((t=>{e.byIds[t].picked=!0})),e.lastPicked=e.allIds[o]},sort(e){e.allIds.sort(((t,n)=>{const o=e.byIds[t].asset[e.order.field],r=e.byIds[n].asset[e.order.field];return o<r?"asc"===e.order.direction?-1:1:o>r?"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:o}=t.payload,r=null==n?void 0:n._id;e.byIds[r].error=o.message,e.byIds[r].updating=!1},updateRequest(e,t){var n,o;const r=null==(o=null==(n=t.payload)?void 0:n.asset)?void 0:o._id;e.byIds[r].updating=!0},viewSet(e,t){var n;e.view=null==(n=t.payload)?void 0:n.view}}}),Jr=(0,$.P1)([e=>e.assets.byIds,(e,t)=>t],((e,t)=>e[t])),ei=(0,$.P1)([e=>e.assets.byIds,e=>e.assets.allIds],((e,t)=>t.map((t=>e[t])))),ti=(0,$.P1)([ei],(e=>e.length)),ni=(0,$.P1)([ei],(e=>e.filter((e=>null==e?void 0:e.picked)))),oi=(0,$.P1)([ni],(e=>e.length)),ri=$r.actions;var ii=$r.reducer;const si={50:{title:"Gray 50",hex:"#f2f3f5"},100:{title:"Gray 100",hex:"#e6e8ec"},200:{title:"Gray 200",hex:"#ced2d9"},300:{title:"Gray 300",hex:"#b6bcc6"},400:{title:"Gray 400",hex:"#9ea6b3"},500:{title:"Gray 500",hex:"#8690a0"},600:{title:"Gray 600",hex:"#6e7683"},700:{title:"Gray 700",hex:"#565d67"},800:{title:"Gray 800",hex:"#3f434a"},900:{title:"Gray 900",hex:"#272a2e"},950:{title:"Gray 950",hex:"#1b1d20"}},li="#101112",ai="#fff";var di,ci;const ui=(0,Le.iv)(m||(m=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: ",";\n    background-clip: padding-box;\n\n    &:hover {\n      background: ",";\n      background-clip: padding-box;\n    }\n  }\n"])),null==(di=si)?void 0:di[800].hex,null==(ci=si)?void 0:ci[400].hex),hi=(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'])),ui,ui),pi=G.v9,gi=(0,Y.oM)({name:"dialog",initialState:{items:[]},extraReducers:e=>{e.addCase(Er.showTagCreate,(e=>{e.items.push({id:"tagCreate",type:"tagCreate"})})),e.addCase(Er.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:o}=t.payload;e.items.forEach((e=>{"assetEdit"===e.type&&e.assetId===n&&(e.lastCreatedTag={label:o.name.current,value:o._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 o=null==(n=t.payload)?void 0:n.id;e.items=e.items.filter((e=>e.id!==o))},showConfirmAssetsTagAdd(e,t){const{assetsPicked:n,closeDialogId:o,tag:r}=t.payload,i="".concat(n.length," ").concat(be()("asset",n.length));e.items.push({closeDialogId:o,confirmCallbackAction:Sr.tagsAddRequest({assets:n,tag:r}),confirmText:"Yes, add tag to ".concat(i),title:"Add tag ".concat(r.name.current," to ").concat(i,"?"),id:"confirm",headerTitle:"Confirm tag addition",tone:"primary",type:"confirm"})},showConfirmAssetsTagRemove(e,t){const{assetsPicked:n,closeDialogId:o,tag:r}=t.payload,i="".concat(n.length," ").concat(be()("asset",n.length));e.items.push({closeDialogId:o,confirmCallbackAction:Sr.tagsRemoveRequest({assets:n,tag:r}),confirmText:"Yes, remove tag from ".concat(i),headerTitle:"Confirm tag removal",id:"confirm",title:"Remove tag ".concat(r.name.current," from ").concat(i,"?"),tone:"critical",type:"confirm"})},showConfirmDeleteAssets(e,t){const{assets:n,closeDialogId:o}=t.payload,r="".concat(n.length," ").concat(be()("asset",n.length));e.items.push({closeDialogId:o,confirmCallbackAction:ri.deleteRequest({assets:n.map((e=>e.asset))}),confirmText:"Yes, delete ".concat(r),description:"This operation cannot be reversed. Are you sure you want to continue?",title:"Permanently delete ".concat(r,"?"),id:"confirm",headerTitle:"Confirm deletion",tone:"critical",type:"confirm"})},showConfirmDeleteTag(e,t){const{closeDialogId:n,tag:o}=t.payload;e.items.push({closeDialogId:n,confirmCallbackAction:Or.deleteRequest({tag:o}),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"})}}}),fi=gi.actions;var xi=gi.reducer;const mi=()=>{const e=(0,G.I0)(),t=pi((e=>e.assets.view));return(0,N.jsxs)(Q.gF,{space:0,style:{whiteSpace:"nowrap"},children:[(0,N.jsx)(Q.zx,{fontSize:1,icon:No,mode:"grid"===t?"default":"ghost",onClick:()=>e(ri.viewSet({view:"grid"})),style:{borderBottomRightRadius:0,borderTopRightRadius:0}}),(0,N.jsx)(Q.zx,{fontSize:1,icon:Qo,mode:"table"===t?"default":"ghost",onClick:()=>e(ri.viewSet({view:"table"})),style:{borderBottomLeftRadius:0,borderTopLeftRadius:0}})]})};function wi(){const e=(0,Q.vI)();return{constrainSize:!0,floatingBoundary:e.element,portal:!0,referenceBoundary:e.element}}const vi=()=>{var e;const t=(0,G.I0)(),n=pi((e=>e.assets.order)),o=wi();return(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,icon:Vo,iconRight:bo,mode:"ghost",padding:3,text:Tr(n.field,n.direction)}),id:"order",menu:(0,N.jsx)(Q.v2,{children:null==(e=kr)?void 0:e.map(((e,o)=>e?(0,N.jsx)(Q.sN,{disabled:n.field===e.field&&n.direction===e.direction,fontSize:1,onClick:()=>t(ri.orderSet({order:{direction:e.direction,field:e.field}})),padding:2,text:Tr(e.field,e.direction)},o):(0,N.jsx)(Q.R,{},o)))}),popover:o})},Ci=e=>{const{loading:t}=e,{animationDuration:n,isFinished:o,progress:r}=(0,He.ee)({animationDuration:300,isAnimating:t});return(0,N.jsx)(Q.xu,{style:{opacity:o?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*r,"%")}})})},ji=(0,Le.ZP)(Q.xu)(v||(v=Fe(["\n  background: rgba(255, 255, 255, 0.05);\n  border-radius: ","px;\n"])),(e=>e.theme.sanity.radius[2])),yi=e=>{const{children:t,facet:n}=e,o=(0,G.I0)();return(0,N.jsx)(ji,{padding:[2,2,1],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(Qr.facetsRemoveById({facetId:n.id}))}})})})]})]})})},ki=e=>{const{onValueChange:t,value:n,...o}=e;return(0,N.jsx)(Q.oi,{...o,onChange:e=>{const n=e.target.value;(""===n||/^[0-9\b]+$/.test(n))&&t(parseInt(n,10)||"")},value:null!=n?n:""})},Li=e=>{let{facet:t}=e;var n;const o=(0,G.I0)(),r=wi(),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],l=null!=(n=t.operatorType)?n:"greaterThan";return(0,N.jsxs)(yi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:bo,padding:2,text:yr[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=>{o(Qr.facetsUpdateById({id:t.id,operatorType:e}))})(e),padding:2,text:yr[e].label},e):(0,N.jsx)(Q.R,{},n)))}),popover:r}),(0,N.jsx)(Q.xu,{marginX:1,style:{maxWidth:"50px"},children:(0,N.jsx)(ki,{fontSize:1,onValueChange:e=>{o(Qr.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:bo,padding:2,text:null==s?void 0:s.title}),id:"modifier",menu:(0,N.jsx)(Q.v2,{children:i.map((e=>(0,N.jsx)(Q.sN,{disabled:e.name===t.modifier,fontSize:1,onClick:()=>(e=>{o(Qr.facetsUpdateById({id:t.id,modifier:e.name}))})(e),padding:2,text:e.title},e.name)))}),popover:r})]})},Mi=e=>{let{facet:t}=e;var n;const o=(0,G.I0)(),r=wi(),i=null==t?void 0:t.options,s=null==i?void 0:i.find((e=>e.name===(null==t?void 0:t.value))),l=null!=(n=null==t?void 0:t.operatorType)?n:"is";return(0,N.jsxs)(yi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:bo,padding:2,style:{marginRight:"4px"},text:yr[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=>{o(Qr.facetsUpdate({name:t.name,operatorType:e}))})(e),padding:2,text:yr[e].label},e):(0,N.jsx)(Q.R,{},n)))}),popover:r}),(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:bo,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)=>(0,N.jsx)(Q.sN,{disabled:e.name===(null==s?void 0:s.name),fontSize:1,onClick:()=>{return e=i[n],void o(Qr.facetsUpdate({name:t.name,value:e.name}));var e},padding:2,text:e.title},e.name)))}),popover:r})]})},bi=e=>{let{facet:t}=e;const n=(0,G.I0)(),o=wi(),r=t.operatorType;return(0,N.jsxs)(yi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:bo,padding:2,text:yr[r].label}),id:"operators",menu:(0,N.jsx)(Q.v2,{children:t.operatorTypes.map(((e,o)=>e?(0,N.jsx)(Q.sN,{disabled:e===r,fontSize:1,onClick:()=>(e=>{n(Qr.facetsUpdateById({id:t.id,operatorType:e}))})(e),padding:2,text:yr[e].label},e):(0,N.jsx)(Q.R,{},o)))}),popover:o}),!yr[r].hideInput&&(0,N.jsx)(Q.xu,{marginLeft:1,style:{maxWidth:"125px"},children:(0,N.jsx)(Q.oi,{fontSize:1,onChange:e=>{n(Qr.facetsUpdateById({id:t.id,value:e.target.value}))},padding:2,radius:2,width:2,value:null==t?void 0:t.value})})]})};var Hi,Vi,Ri,Ii,Zi,Ti,zi,_i,Bi,Wi,Si,Ei,Ai,qi,Di;const Pi=null==(Zi=null==(Ii=null==(Ri=null==(Vi=null==(Hi=Q.Lg)?void 0:Hi.color)?void 0:Vi.dark)?void 0:Ri.primary)?void 0:Ii.spot)?void 0:Zi.blue,Oi=null==(Wi=null==(Bi=null==(_i=null==(zi=null==(Ti=Q.Lg)?void 0:Ti.color)?void 0:zi.dark)?void 0:_i.default)?void 0:Bi.base)?void 0:Wi.bg,Fi=null==(Si=Q.Lg)?void 0:Si.radius,Ui=null==(Ei=Q.Lg)?void 0:Ei.space,Ni=null==(Di=null==(qi=null==(Ai=Q.Lg)?void 0:Ai.fonts)?void 0:qi.text)?void 0:Di.sizes,Qi={control:(e,t)=>{let{isDisabled:n,isFocused:o}=t,r="inset 0 0 0 1px ".concat(si[900].hex);return o&&(r="inset 0 0 0 1px ".concat(si[900].hex,", 0 0 0 1px var(--card-bg-color), 0 0 0 3px var(--card-focus-ring-color) !important")),{...e,backgroundColor:Oi,color:ai,border:"none",borderRadius:Fi[2],boxShadow:r,fontSize:Ni[1].fontSize,minHeight:"25px",opacity:n?.5:"inherit",outline:"none",transition:"none","&:hover":{boxShadow:"inset 0 0 0 1px ".concat(Q.Lg.color.dark.default.input.default.hovered.border)}}},input:e=>({...e,color:ai,fontFamily:Q.Lg.fonts.text.family,marginLeft:Ui[2]}),menuList:e=>({...e,padding:0}),noOptionsMessage:e=>({...e,fontFamily:Q.Lg.fonts.text.family,fontSize:Ni[1].fontSize,lineHeight:"1em"}),option:(e,t)=>{let{isFocused:n}=t;return{...e,backgroundColor:n?Pi:"transparent",borderRadius:Fi[2],color:n?li:"inherit",fontSize:Ni[1].fontSize,lineHeight:"1em",padding:"4px 6px","&:hover":{backgroundColor:Pi,color:li}}},placeholder:e=>({...e,fontFamily:Q.Lg.fonts.text.family,marginLeft:Ui[2],paddingBottom:"2px"}),singleValue:e=>({...e,color:ai,lineHeight:"1em",paddingBottom:"1px"}),valueContainer:e=>({...e,margin:0,padding:0})},Xi=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})})})}),Ki={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)(Xi,{...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:Xi,SingleValue:e=>(0,N.jsx)(Ve.c.SingleValue,{...e,children:(0,N.jsx)(Q.xu,{paddingLeft:2,children:(0,N.jsx)(Q.xv,{size:1,style:{color:"inherit",lineHeight:"2em"},textOverflow:"ellipsis",children:e.children})})})},Gi=e=>{let{facet:t}=e;const n=(0,G.I0)(),o=pi((e=>Dr(e))),r=pi((e=>e.tags.fetching)),i=Wr(o),s=wi(),l=t.operatorType;return(0,N.jsxs)(yi,{facet:t,children:[(null==t?void 0:t.operatorTypes)&&(0,N.jsx)(Q.j2,{button:(0,N.jsx)(Q.zx,{fontSize:1,iconRight:bo,padding:2,text:yr[l].label}),id:"operators",menu:(0,N.jsx)(Q.v2,{children:t.operatorTypes.map(((e,o)=>e?(0,N.jsx)(Q.sN,{disabled:e===l,fontSize:1,onClick:()=>(e=>{n(Qr.facetsUpdateById({id:t.id,operatorType:e}))})(e),padding:2,text:yr[e].label},e):(0,N.jsx)(Q.R,{},o)))}),popover:s}),!yr[l].hideInput&&(0,N.jsx)(Q.xu,{marginX:1,style:{width:"160px"},children:(0,N.jsx)(Re.ZP,{components:Ki,instanceId:"facet-searchable",isClearable:!0,isDisabled:r,isSearchable:!0,name:"tags",noOptionsMessage:()=>"No tags",onChange:e=>{return o=e,void n(Qr.facetsUpdateById({id:t.id,value:o}));var o},options:i,placeholder:r?"Loading...":"Select...",styles:Qi,value:null==t?void 0:t.value})})]})},Yi=(0,Le.ZP)(Q.kC)(C||(C=Fe(["\n  > * {\n    margin-bottom: ","px;\n  }\n"])),(e=>e.theme.sanity.space[2])),$i=e=>{const{layout:t="inline"}=e,n=pi((e=>e.search.facets)),o=n.map((e=>{const t=e.id;return"number"===e.type?(0,N.jsx)(Li,{facet:e},t):"searchable"===e.type?(0,N.jsx)(Gi,{facet:e},t):"select"===e.type?(0,N.jsx)(Mi,{facet:e}
1,t):"string"===e.type?(0,N.jsx)(bi,{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:o})});if("stack"===t)return(0,N.jsx)(Yi,{align:"flex-start",direction:"column",children:o});throw Error("Invalid layout")},Ji=()=>{const e=(0,G.I0)(),t=pi((e=>e.assets.assetTypes)),n=pi((e=>e.search.facets)),o=pi((e=>e.selected.document)),r=wi(),i=!o,s=Lr.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 o=n[t-1];return("divider"!==e.type||0!==t&&t!==n.length-1)&&("divider"!==e.type||"divider"!==(null==o?void 0:o.type))})),l=s.length>0,a=function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,N.jsx)(N.Fragment,{children:null==t?void 0:t.map(((t,r)=>{if("divider"===t.type)return(0,N.jsx)(Q.R,{},r);if("group"===t.type)return(0,N.jsx)(Q.kS,{text:t.title,title:t.title,children:a(t.facets,o+1)},"group-".concat(o,"-").concat(r));if(t){const o=!t.operatorTypes&&!!n.find((e=>e.name===t.name));return(0,N.jsx)(Q.sN,{disabled:o,fontSize:1,onClick:()=>e(Qr.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:!l,fontSize:1,icon:Qe,mode:"bleed",text:"Add filter",tone:"primary"}),id:"facets",menu:(0,N.jsx)(Q.v2,{children:a(s)}),popover:{...r,placement:"right-start"}}),n.length>0&&(0,N.jsx)(Q.zx,{fontSize:1,mode:"bleed",onClick:()=>e(Qr.facetsClear()),text:"Clear"})]})},es=()=>(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"})]}),ts=()=>{const e=pi((e=>e.search.query)),t=(0,G.I0)();return(0,N.jsxs)(Q.xu,{style:{position:"relative"},children:[(0,N.jsx)(Q.oi,{fontSize:1,icon:Mo,onChange:e=>{t(Qr.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(Qr.querySet({searchQuery:""}))},style:{cursor:"pointer",height:"100%",opacity:.75,position:"absolute",right:0,top:0,width:"2em",zIndex:1},children:(0,N.jsx)(Rt,{})})]})},ns=()=>{var e;const t=(0,G.I0)(),n=pi((e=>e.assets.fetching)),o=pi((e=>e.assets.pageIndex)),r=pi((e=>e.search.facets)),i=pi((e=>e.tags.panelVisible)),s=(0,Q.d2)();return(0,N.jsxs)(Q.xu,{paddingY:2,style:{borderBottom:"1px solid ".concat(null==(e=si)?void 0:e[900].hex),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:s<2?"space-between":"flex-start",position:"relative",width:"100%"},children:[(0,N.jsx)(Q.xu,{marginX:2,style:{minWidth:"200px"},children:(0,N.jsx)(ts,{})}),(0,N.jsxs)(Q.xu,{display:["none","none","block"],children:[(0,N.jsx)($i,{}),(0,N.jsx)(Ji,{})]}),(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:()=>{t(fi.showSearchFacets())},text:"Filters".concat(r.length>0?" (".concat(r.length,")"):""),tone:"primary"}),(0,N.jsx)(Q.zx,{fontSize:1,mode:"ghost",onClick:()=>{t(fi.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)(mi,{})}),(0,N.jsxs)(Q.kC,{marginX:2,children:[(0,N.jsx)(vi,{}),(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)(es,{})}),onClick:()=>{t(Or.panelVisibleSet({panelVisible:!i}))},mode:i?"default":"ghost",text:i?"Tags":""})})]})]})}),(0,N.jsx)(Ci,{loading:n},o)]})},os=(0,Y.oM)({name:"debug",initialState:{badConnection:!1,enabled:!1},reducers:{setBadConnection(e,t){e.badConnection=t.payload},toggleEnabled(e){e.enabled=!e.enabled}}}
1),rs=os.actions;var is=os.reducer;const ss=()=>{const e=(0,G.I0)(),t=pi((e=>e.debug.badConnection)),n=pi((e=>e.debug.enabled));return vr("alt+ctrl+shift+/",(()=>{e(rs.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)(uo,{})})}),(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(rs.setBadConnection(n))},style:{pointerEvents:"auto"}})})]})}):null},ls=ze.Ry({label:ze.Z_().trim().min(1,{message:"Label cannot be empty"}),value:ze.Z_().trim().min(1,{message:"Value cannot be empty"})}),as=ze.Ry({altText:ze.Z_().trim().optional(),description:ze.Z_().trim().optional(),opt:ze.Ry({media:ze.Ry({tags:ze.IX(ls).nullable()})}),originalFilename:ze.Z_().trim().min(1,{message:"Filename cannot be empty"}),title:ze.Z_().trim().optional()}
1),ds=ze.Ry({name:ze.Z_().min(1,{message:"Name cannot be empty"})});function cs(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 us=(e,t)=>{const n="undefined"!=typeof window&&window.devicePixelRatio?Math.round(window.devicePixelRatio):1,o=(null==t?void 0:t.height)?(null==t?void 0:t.height)*Math.max(1,n):void 0,r=t.width*Math.max(1,n),i=new URLSearchParams;return i.append("fit","max"),i.append("w",r.toString()),o&&i.append("h",o.toString()),"".concat(e.url,"?").concat(i.toString())},hs=e=>Object.keys(e).reduce(((t,n)=>{const o=e[n];return"object"==typeof o&&null!==o&&o.constructor!==Array?t[n]=hs(o):""===o||void 0===o||0===(null==o?void 0:o.length)?t[n]=null:t[n]="string"==typeof o&&o?e[n].trim():e[n],t}),{}),ps=e=>"sanity.fileAsset"===e._type,gs=e=>"sanity.imageAsset"===e._type,fs=e=>"".concat(e.metadata.dimensions.width,"x").concat(e.metadata.dimensions.height,"px"),xs=e=>{let{disabled:t,url:n}=e;const o=wi(),r=(0,U.useRef)(),[i,s]=(0,U.useState)(!1);return(0,U.useEffect)((()=>()=>{r.current&&clearTimeout(r.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,...o,children:(0,N.jsx)(Q.zx,{disabled:t,fontSize:1,icon:Mt,mode:"ghost",onClick:()=>{r.current&&clearTimeout(r.current),s(!0),Ee()(n),r.current=setTimeout((()=>{s(!1)}),1250)},text:"Copy URL"})})},ms=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})]})},ws=e=>{var t;const{asset:n,item:o}=e,r=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)(ms,{label:"Size",value:We()(null==n?void 0:n.size,{base:10,round:0})}),(0,N.jsx)(ms,{label:"MIME type",value:null==n?void 0:n.mimeType}),(0,N.jsx)(ms,{label:"Extension",value:(null==n?void 0:n.extension).toUpperCase()}),gs(n)&&(0,N.jsx)(ms,{label:"Dimensions",value:fs(n)})]})}),r&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(Q.xu,{marginY:4,style:{background:"#222",height:"1px",width:"100%"}}),(0,N.jsx)(Q.xu,{children:(0,N.jsxs)(Q.Kq,{space:3,children:[r.ISO&&(0,N.jsx)(ms,{label:"ISO",value:r.ISO}),r.FNumber&&(0,N.jsx)(ms,{label:"Aperture",value:"\u0192/".concat(r.FNumber)}),r.FocalLength&&(0,N.jsx)(ms,{label:"Focal length",value:"".concat(r.FocalLength,"mm")}),r.ExposureTime&&(0,N.jsx)(ms,{label:"Exposure time",value:"1/".concat(1/r.ExposureTime)}),r.DateTimeOriginal&&(0,N.jsx)(ms,{label:"Original date",value:(0,_e.Z)(new Date(r.DateTimeOriginal),"PPp")})]})})]}),(0,N.jsx)(Q.xu,{marginTop:5,children:(0,N.jsxs)(Q.gF,{space:2,children:[(0,N.jsx)(Q.zx,{disabled:!o||(null==o?void 0:o.updating),fontSize:1,icon:sn,mode:"ghost",onClick:()=>{window.location.href="".concat(n.url,"?dl=").concat(n.originalFilename)},text:"Download"}),(0,N.jsx)(xs,{disabled:!o||(null==o?void 0:o.updating),url:n.url})]})})]})},vs=e=>(0,N.jsx)(Q.Vq,{...e,style:{position:"fixed"}}),Cs=e=>{let{documents:t,isLoading:n}=e;const o=(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)(js,{doc:e,schemaType:o.get(e._type)},e._id)))})})},js=e=>{const{doc:t,schemaType:n}=e,{onClick:o}=(0,Ae.PM)({intent:"edit",params:{id:t._id}});return n?(0,N.jsx)(Q.zx,{mode:"bleed",onClick:o,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})]})})},ys=(0,Le.ZP)(Q.xu)(j||(j=Fe(["\n  text {\n    font-family: "," !important;\n    font-size: 8px !important;\n    font-weight: 500 !important;\n  }\n"])),(e=>e.theme.sanity.fonts.text.family)),ks=e=>{const{extension:t,onClick:n,width:o}=e;return(0,N.jsx)(Q.kC,{align:"center",justify:"center",onClick:n,style:{height:"100%"},children:(0,N.jsx)(ys,{style:{width:o},children:(0,N.jsx)(qe.a,t?{extension:t,...qe.j[t]}:{})})})},Ls=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)(ks,{extension:t.extension,width:"50%"})};var Ms,bs,Hs,Vs,Rs,Is,Zs,Ts,zs,_s,Bs,Ws;const Ss=null==(Rs=null==(Vs=null==(Hs=null==(bs=null==(Ms=Q.Lg)?void 0:Ms.color)?void 0:bs.dark)?void 0:Hs.primary)?void 0:Vs.spot)?void 0:Rs.blue,Es=null==(_s=null==(zs=null==(Ts=null==(Zs=null==(Is=Q.Lg)?void 0:Is.color)?void 0:Zs.dark)?void 0:Ts.primary)?void 0:zs.spot)?void 0:_s.gray,As=null==(Bs=Q.Lg)?void 0:Bs.radius,qs=null==(Ws=Q.Lg)?void 0:Ws.space,Ds={control:(e,t)=>{let{isDisabled:n,isFocused:o}=t,r="inset 0 0 0 1px ".concat(si[900].hex);return o&&(r="inset 0 0 0 1px ".concat(si[900].hex,", 0 0 0 1px var(--card-bg-color), 0 0 0 3px var(--card-focus-ring-color) !important")),{...e,background:n?Q.Lg.color.dark.default.input.default.disabled.bg:"transparent",color:ai,border:"none",borderRadius:As[1],boxShadow:r,minHeight:"35px",outline:"none",transition:"none","&:hover":{boxShadow:"inset 0 0 0 1px ".concat(Q.Lg.color.dark.default.input.default.hovered.border)}}},indicatorsContainer:(e,t)=>{let{isDisabled:n}=t;return{...e,opacity:n?.25:1}},input:e=>({...e,color:ai,fontFamily:Q.Lg.fonts.text.family,marginLeft:qs[2]}),menuList:e=>({...e}),multiValue:(e,t)=>
1{let{isDisabled:n}=t;return{...e,backgroundColor:Es,borderRadius:As[2],opacity:n?.5:1}},multiValueRemove:e=>({...e,paddingLeft:0,"&:hover":{background:"transparent",color:"inherit"}}),noOptionsMessage:e=>({...e,fontFamily:Q.Lg.fonts.text.family,lineHeight:"1em"}),option:(e,t)=>{let{isFocused:n}=t;return{...e,backgroundColor:n?Ss:"transparent",borderRadius:As[2],color:n?li:"inherit",fontFamily:Q.Lg.fonts.text.family,padding:"4px 8px","&:hover":{backgroundColor:Ss,color:li}}},placeholder:e=>({...e,fontFamily:Q.Lg.fonts.text.family,marginLeft:qs[2]}),valueContainer:e=>({...e,marginBottom:qs[0],marginLeft:qs[1],marginTop:qs[0],padding:0})},Ps=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]})})}),Os={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)(Ps,{...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,{paddingLeft:1,paddingRight:0,paddingY:1,children:(0,N.jsx)(Q.xv,{size:2,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:Ps},Fs=(0,Le.ZP)(vn)((e=>{let{theme:t}=e;return{color:t.sanity.color.spot.red}})),Us=e=>{const{description:t,error:n,label:o,name:r}=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:r,size:1,weight:"semibold",children:o}),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)(Fs,{style:{marginRight:"0.1em"}}),n]})}),fallbackPlacements:["top","left"],placement:"right",portal:!0,children:(0,N.jsx)(Fs,{})})})]})}),t&&(0,N.jsx)(Q.xu,{marginY:3,children:(0,N.jsx)(Q.xv,{htmlFor:r,muted:!0,size:1,children:t})})]})},Ns=e=>{const{control:t,description:n,disabled:o,error:r,label:i,name:s,onCreateTag:l,options:a,placeholder:d,value:c}=e,u=pi((e=>e.tags.creating)),h=pi((e=>e.tags.fetching));return(0,N.jsxs)(Q.xu,{style:{zIndex:2},children:[(0,N.jsx)(Us,{description:n,error:r,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:r,value:i}=t;return(0,N.jsx)(De.Z,{components:Os,instanceId:"tags",isClearable:!1,isDisabled:u||o||h,isLoading:u,isMulti:!0,name:s,noOptionsMessage:()=>"No tags",onBlur:n,onChange:r,onCreateOption:l,options:a,placeholder:h?"Loading...":d,styles:Ds,value:i})}})]})},Qs=(0,U.forwardRef)(((e,t)=>{const{description:n,disabled:o,error:r,label:i,name:s,placeholder:l,value:a,...d}=e;return(0,N.jsxs)(Q.xu,{children:[(0,N.jsx)(Us,{description:n,error:r,label:i,name:s}),(0,N.jsx)(Q.oi,{...d,autoComplete:"off",autoFocus:!0,defaultValue:a,disabled:o,id:s,name:s,placeholder:l,ref:t})]})})),Xs=(0,U.forwardRef)(((e,t)=>{const{description:n,disabled:o,error:r,label:i,name:s,placeholder:l,rows:a,value:d,...c}=e;return(0,N.jsxs)(Q.xu,{children:[(0,N.jsx)(Us,{description:n,error:r,label:i,name:s}),(0,N.jsx)(Q.Kx,{...c,autoComplete:"off",defaultValue:d,disabled:o,id:s,name:s,placeholder:l,ref:t,rows:a})]})})),Ks=e=>{const{disabled:t,isValid:n,lastUpdated:o,onClick:r}=e;let i;return i=n?o?(0,N.jsxs)(N.Fragment,{children:["Last updated",(0,N.jsx)("br",{})," ",(0,_e.Z)(new Date(o),"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:r,text:"Save and close",tone
1:"primary"})})})},Gs=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"])),si[900].hex,(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    "]))))),Ys=e=>{var t;const{children:n,dialog:{assetId:o,id:r,lastCreatedTag:i,lastRemovedTagIds:s}}=e,l=Ir(),a=(0,F.H__)(),d=(0,G.I0)(),c=pi((e=>Jr(e,String(o)))),u=pi(Dr),h=(0,U.useRef)(null),[p,g]=(0,U.useState)(null==c?void 0:c.asset),[f,x]=(0,U.useState)("details"),m=c?null==c?void 0:c.asset:p,w=Wr(u),v=pi((C=m,e=>{var t,n,o;const r=null==(o=null==(n=null==(t=null==C?void 0:C.opt)?void 0:t.media)?void 0:n.tags)?void 0:o.reduce(((t,n)=>{const o=e.tags.byIds[n._ref];return(null==o?void 0:o.tag)&&t.push(o),t}),[]);return r&&(null==r?void 0:r.length)>0?Wr(r):null}));var C;const j=(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:v}},title:(null==e?void 0:e.title)||""})),[v]),{control:y,formState:{errors:k,isDirty:M,isValid:b},getValues:H,handleSubmit:V,register:R,reset:I,setValue:Z}=(0,Te.cI)({defaultValues:j(null==c?void 0:c.asset),mode:"onChange",resolver:(0,Ze.F)(as)}),T=!c||(null==c?void 0:c.updating),z=(0,U.useCallback)((()=>{d(fi.remove({id:r}))}),[d,r]),_=(0,U.useCallback)((()=>{(null==c?void 0:c.asset)&&d(fi.showConfirmDeleteAssets({assets:[c],closeDialogId:null==c?void 0:c.asset._id}))}),[c,d]),B=(0,U.useCallback)((e=>{const{result:t,transition:n}=e;t&&"update"===n&&g(t)}),[]),W=(0,U.useCallback)((e=>{d(Or.createRequest({assetId:null==m?void 0:m._id,name:e}))}),[null==m?void 0:m._id,d]),S=(0,U.useCallback)((e=>{var t;if(!(null==c?void 0:c.asset))return;const n=hs(e);d(ri.updateRequest({asset:null==c?void 0:c.asset,closeDialogId:null==c?void 0:c.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==c?void 0:c.asset,d]);return(0,U.useEffect)((()=>{if(!(null==c?void 0:c.asset))return;const e=l.listen((0,K.Z)(L||(L=Fe(["*[_id == $id]"]))),{id:null==c?void 0:c.asset._id}).subscribe(B);return()=>{null==e||e.unsubscribe()}}),[null==c?void 0:c.asset,l,B]),(0,U.useEffect)((()=>{if(i){const e=(H("opt.media.tags")||[]).concat([i]);Z("opt.media.tags",e,{shouldDirty:!0})}}),[H,i,Z]),(0,U.useEffect)((()=>{if(s){const e=(H("opt.media.tags")||[]).filter((e=>!s.includes(e.value)));Z("opt.media.tags",e,{shouldDirty:!0})}}),[H,s,Z]),(0,U.useEffect)((()=>{h.current!==(null==c?void 0:c.asset._updatedAt)&&I(j(null==c?void 0:c.asset)),h.current=null==c?void 0:c.asset._updatedAt}),[null==c?void 0:c.asset,j,I]),m?(0,N.jsxs)(vs,{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:T,fontSize:1,mode:"bleed",onClick:_,text:"Delete",tone:"critical"}),(0,N.jsx)(Ks,{disabled:T||!M||!b,isValid:b,lastUpdated:m._updatedAt,onClick:V(S)})]})})),{}),header:"Asset details",id:r,onClose:z,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:a,id:c.asset._id,children:e=>{let{isLoading:t,referringDocuments:n}=e;var o,r,i,s,l,a,d;const u=cs(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:T,id:"details-tab",label:"Details",onClick:()=>x("details"),selected:"details"===f,size:2}),(0,N.jsx)(Q.OK,{"aria-controls":"references-panel",disabled:T,id:"references-tab",label:"References".concat(!t&&Array.isArray(u)?" (".concat(u.length,")"):""),onClick:()=>x("references"),selected:"references"===f,size:2})]}),(0,N.jsxs)(Q.xu,{as:"form",marginTop:4,onSubmit:V(S),children:[!c&&(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"!==f,id:"details-panel",children:(0,N.jsxs)(Q.Kq,{space:3,children:[(0,N.jsx)(Ns,{control:y,disabled:T,error:null==(i=null==(r=null==(o=null==k?void 0:k.opt)?void 0:o.media)?void 0:r.tags)?void 0:i.message,label:"Tags",name:"opt.media.tags",onCreateTag:W,options:w,placeholder:"Select or create...",value:v}),(0,N.jsx)(Qs,{...R("originalFilename"),disabled:T,error:null==(s=null==k?void 0:k.originalFilename)?void 0:s.message,label:"Filename",name:"originalFilename",value:null==m?void 0:m.originalFilename}),(0,N.jsx)(Qs,{...R("title"),disabled:T,error:null==(l=null==k?void 0:k.title)?void 0:l.message,label:"Title",name:"title",value:null==m?void 0:m.title}),(0,N.jsx)(Qs,{...R("altText"),disabled:T,error:null==(a=null==k?void 0:k.altText)?void 0:a.message,label:"Alt Text",name:"altText",value:null==m?void 0:m.altText}),(0,N.jsx)(Xs,{...R("description"),disabled:T,error:null==(d=null==k?void 0:k.description)?void 0:d.message,label:"Description",name:"description",rows:3,value:null==m?void 0:m.description})]})}),(0,N.jsx)(Q.x4,{"aria-labelledby":"references",hidden:"references"!==f,id:"references-panel",children:(0,N.jsx)(Q.xu,{marginTop:5,children:(null==c?void 0:c.asset)&&(0,N.jsx)(Cs,{documents:u,isLoading:t})})})]})]})}})}),(0,N.jsxs)(Q.xu,{flex:1,padding:4,children:[(0,N.jsxs)(Q.xu,{style:{aspectRatio:"1"},children:[ps(m)&&(0,N.jsx)(Ls,{asset:m}),gs(m)&&(0,N.jsx)(Gs,{draggable:!1,showCheckerboard:!(null==(t=null==m?void 0:m.metadata)?void 0:t.isOpaque),src:us(m,{height:600,width:600})})]}),m&&(0,N.jsx)(Q.xu,{marginTop:4,children:(0,N.jsx)(ws,{asset:m,item:c})})]})]}),n]}):null},$s=e=>{const{children:t,dialog:n}=e,o=(0,G.I0)(),r=()=>
1{o(fi.remove({id:null==n?void 0:n.id}))},i=()=>{(null==n?void 0:n.closeDialogId)&&o(fi.remove({id:null==n?void 0:n.closeDialogId})),(null==n?void 0:n.confirmCallbackAction)&&o(n.confirmCallbackAction),r()};return(0,N.jsxs)(vs,{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:r,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)(fr,{})}),(0,N.jsx)(Q.xu,{marginLeft:2,children:null==n?void 0:n.headerTitle})]})),{}),id:"confirm",onClose:r,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]})},Js=e=>{const{children:t,dialog:{id:n}}=e,o=(0,G.I0)(),r=(0,U.useCallback)((()=>{o(fi.clear())}),[]);return(0,N.jsxs)(vs,{header:"Filters",id:n,onClose:r,width:1,children:[(0,N.jsxs)(Q.xu,{padding:3,children:[(0,N.jsx)($i,{layout:"stack"}),(0,N.jsx)(Ji,{})]}),t]})},el=e=>{var t;const{children:n,dialog:{id:o}}=e,r=(0,G.I0)(),i=pi((e=>e.tags.creating)),s=pi((e=>e.tags.creatingError)),{formState:{errors:l,isDirty:a,isValid:d},handleSubmit:c,register:u,setError:h}=(0,Te.cI)({defaultValues:{name:""},mode:"onChange",resolver:(0,Ze.F)(ds)}),p=i,g=e=>{const t=hs(e);r(Or.createRequest({name:t.name}))};return(0,U.useEffect)((()=>{s&&h("name",{message:null==s?void 0:s.message})}),[s,h]),(0,N.jsxs)(vs,{footer:(0,N.jsx)((()=>(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsx)(Q.kC,{justify:"flex-end",children:(0,N.jsx)(Ks,{disabled:p||!a||!d,isValid:d,onClick:c(g)})})})),{}),header:"Create Tag",id:o,onClose:()=>{r(fi.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)(Qs,{...u("name"),disabled:p,error:null==(t=null==l?void 0:l.name)?void 0:t.message,label:"Name",name:"name"})]}),n]})},tl=e=>{var t;const{children:n,dialog:{id:o,tagId:r}}=e,i=Ir(),s=(0,G.I0)(),l=pi((e=>Pr(e,String(r)))),[a,d]=(0,U.useState)(null==l?void 0:l.tag),c=l?null==l?void 0:l.tag:a,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:x,reset:m,setError:w}=(0,Te.cI)({defaultValues:u(null==l?void 0:l.tag),mode:"onChange",resolver:(0,Ze.F)(ds)}),v=!l||(null==l?void 0:l.updating),C=e=>{var t;if(!(null==l?void 0:l.tag))return;const n=hs(e);s(Or.updateRequest({closeDialogId:null==(t=null==l?void 0:l.tag)?void 0:t._id,formData:{name:{_type:"slug",current:n.name}},tag:null==l?void 0:l.tag}))},j=()=>{var e;(null==l?void 0:l.tag)&&s(fi.showConfirmDeleteTag({closeDialogId:null==(e=null==l?void 0:l.tag)?void 0:e._id,tag:null==l?void 0:l.tag}))},y=(0,U.useCallback)((e=>{const{result:t,transition:n}=e;t&&"update"===n&&(d(t),m(u(t)))}),[m]);return(0,U.useEffect)((()=>{var e;(null==l?void 0:l.error)&&w("name",{message:null==(e=l.error)?void 0:e.message})}),[w,l.error]),(0,U.useEffect)((()=>{if(!(null==l?void 0:l.tag))return;const e=i.listen((0,K.Z)(M||(M=Fe(["*[_id == $id]"]))),{id:null==l?void 0:l.tag._id}).subscribe(y);return()=>{null==e||e.unsubscribe()}}),[i,y,null==l?void 0:l.tag]),c?(0,N.jsxs)(vs,{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)(Ks,{disabled:v||!p||!g,isValid:g,lastUpdated:null==(e=null==l?void 0:l.tag)?void 0:e._updatedAt,onClick:f(C)})]})})}),{}),header:"Edit Tag",id:o,onClose:()=>{s(fi.remove({id:o}))},width:1,children:[(0,N.jsxs)(Q.xu,{as:"form",padding:4,onSubmit:f(C),children:[!l&&(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)(Qs,{...x("name"),disabled:v,error:null==(t=null==h?void 0:h.name)?void 0:t.message,label:"Name",name:"name"})]}),n]}):null},nl=(0,Le.ZP)(Q.kC)(b||(b=Fe(["\n  height: ","px;\n"])),32),ol=(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"])),nl),rl=e=>{const{disabled:t,icon:n,onClick:o,tone:r,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:o,padding:2,tone:r})})},il=e=>{var t,n;const{actions:o,tag:r}=e,i=(0,G.I0)(),s=pi(ni),l=pi((e=>{var t;return Nr(e,null==(t=null==r?void 0:r.tag)?void 0:t._id)}));return(0,N.jsxs)(nl,{align:"center",flex:1,justify:"space-between",paddingLeft:3,children:[(0,N.jsx)(Q.xu,{flex:1,children:(0,N.jsx)(Q.xv,{size:1,style:{color:(null==r?void 0:r.updating)?si[800].hex:si[500].hex,userSelect:"none"},textOverflow:"ellipsis",children:null==(n=null==(t=null==r?void 0:r.tag)?void 0:t.name)?void 0:n.current})}),(0,N.jsxs)(ol,{align:"center",style:{flexShrink:0},children:[(null==o?void 0:o.includes("search"))&&(0,N.jsx)(rl,{disabled:null==r?void 0:r.updating,icon:(0,N.jsx)(l?Rt:Mo,{}),onClick:l?()=>{i(Qr.facetsRemoveByTag({tagId:r.tag._id}))}:()=>{var e,t,n;const o={...jr.tag,value:{label:null==(t=null==(e=null==r?void 0:r.tag)?void 0:e.name)?void 0:t.current,value:null==(n=null==r?void 0:r.tag)?void 0:n._id}};i(l?Qr.facetsUpdate({name:"tag",operatorType:"references",value:o.value}):Qr.facetsAdd({facet:o}))},tooltip:l?"Remove filter":"Filter by tag"}),(null==o?void 0:o.includes("edit"))&&(0,N.jsx)(rl,{disabled:null==r?void 0:r.updating,icon:(0,N.jsx)(un,{}),onClick:()=>{var e;i(Er.showTagEdit({tagId:null==(e=null==r?void 0:r.tag)?void 0:e._id}))},tone:"primary",tooltip:"Edit tag"}),(null==o?void 0:o.includes("applyAll"))&&(0,N.jsx)(rl,{disabled:null==r?void 0:r.updating,icon:(0,N.jsx)(tt,{}),onClick:()=>{i(fi.showConfirmAssetsTagAdd({assetsPicked:s,tag:r.tag}))},tone:"primary",tooltip:"Add tag to selected assets"}),(null==o?void 0:o.includes("removeAll"))&&(0,N.jsx)(rl,{disabled:null==r?void 0:r.updating,icon:(0,N.jsx)(Ye,{}),onClick:()=>{i(fi.showConfirmAssetsTagRemove({assetsPicked:s,tag:r.tag}))},tone:"critical",tooltip:"Remove tag from selected assets"}),(null==o?void 0:o.includes("delete"))&&(0,N.jsx)(rl,{disabled:null==r?void 0:r.updating,icon:(0,N.jsx)(Jo,{}),onClick:()=>{i(fi.showConfirmDeleteTag({tag:r.tag}))},tone:"critical",tooltip:"Delete tag"})]})]})},sl=(0,U.memo)((e=>{let{isScrolling:t,item:n}=e;var o;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)(il,{actions:t?void 0:n.actions,tag:n},null==(o=n.tag)?void 0:o._id)})),ll=()=>{const e=pi(ni),t=pi(Dr),[n,o]=(0,U.useState)(!1),r=null==e?void 0:e.reduce(((e,t)=>{var n,o,r,i;const s=(null==(i=null==(r=null==(o=null==(n=null==t?void 0:t.asset)?void 0:n.opt)?void 0:o.media)?void 0:r.tags)?void 0:i.map((e=>e._ref)))||[];return e.concat(s)}),[]),i=[...new Set(r)],s=i.reduce(((t,n)=>{const o=e.every((e=>{var t,o,r,i;return(null!=(i=null==(r=null==(o=null==(t=e.asset.opt)?void 0:t.media)?void 0:o.tags)?void 0:r.findIndex((e=>e._ref===n)))?i:-1)>=0}));return o?t.appliedToAll.push(n):t.appliedToSome.push(n),t}),{appliedToAll:[],appliedToSome:[]}),l=t.filter((e=>s.appliedToAll.includes(e.tag._id))).map((e=>({...e,actions:["delete","edit","removeAll","search"]}))),a=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==l?void 0:l.length)>0&&(c=[...c,1===e.length?"Used":"Used by all",...l]),(null==a?void 0:a.length)>0&&(c=[...c,"Used by some",...a]),(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:o,itemContent:e=>(0,N.jsx)(sl,{isScrolling:n,item:c[e]}),style:{flex:1,overflowX:"hidden"},totalCount:c.length})},al=e=>{let{allowCreate:t,light:n,title:o}=e;var r,i;const s=(0,G.I0)(),l=pi((e=>e.tags.creating)),a=pi((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?null==(r=si)?void 0:r[900].hex:li,borderBottom:"1px solid ".concat(null==(i=si)?void 0:i[900].hex),flexShrink:0,height:"".concat(32,"px")},children:[(0,N.jsxs)(Q.gF,{space:2,children:[(0,N.jsx)(Q.__,{size:0,children:o}),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:l,fontSize:1,icon:St,mode:"bleed",onClick:()=>{s(Er.showTagCreate())},style:{background:"transparent",boxShadow:"none"}})})]})})},dl=()=>{const e=pi(oi),t=pi(Dr),n=pi((e=>e.tags.fetching)),o=-1!==pi((e=>e.tags.fetchCount)),r=!n&&(null==t?void 0:t.length)>0,i=!!(e>0);return(0,N.jsxs)(Q.kC,{direction:"column",flex:1,style:{background:li,height:"100%"},children:[(0,N.jsx)(al,{allowCreate:!0,light:i,title:i?"Tags (in selection)":"Tags"}),o&&!r&&(0,N.jsx)(Q.xu,{padding:3,children:(0,N.jsx)(Q.xv,{size:1,style:{color:si[700].hex},children:(0,N.jsx)("em",{children:"No tags"})})}),r&&(0,N.jsx)(ll,{})]})},cl=e=>{const{children:t,dialog:{id:n}}=e,o=(0,G.I0)(),r=(0,U.useCallback)((()=>{o(fi.clear())}),[]);return(0,N.jsxs)(vs,{header:"All Tags",id:n,onClose:r,width:1,children:[(0,N.jsx)(Q.xu,{style:{height:"100%",minHeight:"420px"},children:(0,N.jsx)(dl,{})}),t]})},ul=()=>{const e=pi((e=>e.dialog.items)),t=(e,n)=>{if(0===e.length||n>=e.length)return null;const o=e[n],r=t(e,n+1);return"assetEdit"===o.type?(0,N.jsx)(Ys,{dialog:o,children:r},n):"confirm"===o.type?(0,N.jsx)($s,{dialog:o,children:r},n):"searchFacets"===o.type?(0,N.jsx)(Js,{dialog:o,children:r},n):"tagCreate"===o.type?(0,N.jsx)(el,{dialog:o,children:r},n):"tagEdit"===o.type?(0,N.jsx)(tl,{dialog:o,children:r},n):"tags"===o.type?(0,N.jsx)(cl,{dialog:o,children:r},n):null};return t(e,0)},hl=(0,U.createContext)(void 0),pl=e=>{const{children:t,open:n}=e,o={open:n};return(0,N.jsx)(hl.Provider,{value:o,children:t})},gl=e=>{const{onClose:t}=e,{open:n}=(()=>{const e=(0,U.useContext)(hl);if(void 0===e)throw new Error("useDropzoneActions must be used within an DropzoneDispatchProvider");return e})(),{onSelect:o}=Rr(),r=pi((e=>e.assets.assetTypes)),i=pi((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:o?"Insert ".concat(r.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)(wr,{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:ur,mode:"bleed",onClick:n,text:"Upload ".concat(1===r.length?be()(r[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})})]})]})})},fl=(0,$.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]})),xl=(0,Le.ZP)(Q.kC)(V||(V=Fe(["\n  box-sizing: border-box;\n  height: 100%;\n  overflow: hidden;\n  padding: 2px;\n  position: relative;\n  width: 100%;\n"]))),ml=(0,Le.ZP)(Q.kC)(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"])),(e=>e.updating?"none":"auto"),(e=>e.picked?"1px solid ".concat(e.theme.sanity.color.spot.orange," !important"):"1px solid inherit"),(e=>!e.updating&&(0,Le.iv)(I||(I=Fe(["\n      @media (hover: hover) and (pointer: fine) {\n        &:hover {\n          border: 1px solid ",";\n        }\n      }\n    "])),si[500].hex))),wl=(0,Le.ZP)(Q.kC)(Z||(Z=Fe(["\n  cursor: ",";\n  height: ","px;\n  transition: all 300ms;\n\n  @media (hover: hover) and (pointer: fine) {\n    &:hover {\n      background: ",";\n    }\n  }\n"])),(e=>e.selected?"default":"pointer"),32,si[950].hex),vl=(0,Le.ZP)(gr)((e=>{let{theme:t}=e;return{color:t.sanity.color.spot.red}}));var Cl=(0,U.memo)((e=>{var t,n;const{id:o,selected:r}=e,i=vr("shift"),s=(0,G.I0)(),l=pi((e=>e.assets.lastPicked)),a=pi((e=>Jr(e,o))),d=null==a?void 0:a.asset,c=null==a?void 0:a.error,u=null==(n=null==(t=null==a?void 0:a.asset)?void 0:t.metadata)?void 0:n.isOpaque,h=null==a?void 0:a.picked,p=null==a?void 0:a.updating,{onSelect:g}=Rr();if(!d)return null;const f=p?.5:1,x=r||p?.25:1;return(0,N.jsx)(xl,{children:(0,N.jsxs)(ml,{direction:"column",picked:h,updating:a.updating,children:[(0,N.jsxs)(Q.xu,{flex:1,style:{cursor:r?"default":"pointer",position:"relative"},children:[(0,N.jsxs)("div",{onClick:e=>{e.stopPropagation(),g?g([{kind:"assetDocumentId",value:d._id}]):i.current?s(h?ri.pick({assetId:d._id,picked:!h}):ri.pickRange({startId:l||d._id,endId:d._id})):s(fi.showAssetEdit({assetId:d._id}))},style:{height:"100%",opacity:x},children:[ps(d)&&(0,N.jsx)(ks,{extension:d.extension,width:"80px"}),gs(d)&&(0,N.jsx)(Gs,{draggable:!1,showCheckerboard:!u,src:us(d,{height:250,width:250}),style:{draggable:!1,transition:"opacity 1000ms"}})]}),r&&!p&&(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{height:"100%",left:0,opacity:f,position:"absolute",top:0,width:"100%"},children:(0,N.jsx)(Q.xv,{size:2,children:(0,N.jsx)(wt,{})})}),p&&(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)(wl,{align:"center",onClick:e=>{e.stopPropagation(),g?s(fi.showAssetEdit({assetId:d._id})):i.current&&!h?s(ri.pickRange({startId:l||d._id,endId:d._id})):s(ri.pick({assetId:d._id,picked:!h}))},paddingX:1,style:{opacity:f},children:[g?(0,N.jsx)(un,{style:{flexShrink:0,opacity:.5}}):(0,N.jsx)(Q.XZ,{checked:h,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:d.originalFilename})})]}),c&&(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:c})}),placement:"left",portal:!0,children:(0,N.jsx)(Q.xv,{size:1,children:(0,N.jsx)(vl,{color:"critical"})})})})]})})}));function jl(e,t){const n=e.indexOf(t);return n>-1&&e.splice(n,1),e}const yl=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4;const t=[],n=[],o=new ae.x;function r(s){return new de.y((l=>{if(t.length>=e)return i(s).pipe((0,pe.z)(r)).subscribe(l);const a=s.subscribe(l);return t.push(a),()=>{for(jl(t,a),jl(n,s),a.unsubscribe();n.length>0&&t.length<e;)o.next(n.shift())}}))}function i(e){return n.push(e),o.asObservable().pipe((0,ge.P)((t=>t===e)))}return r},kl=e=>Array.prototype.map.call(new Uint8Array(e),(e=>"00".concat(e.toString(16)).slice(-2))).join(""),Ll=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=yl(t);return function(){return(0,le.D)(n(e(...arguments)))}}(((e,t,n,o)=>(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"),o))),(0,pe.z)((e=>e?(0,ie._)({message:"Asset already exists",statusCode:409}):
1(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)))))))),Ml=(0,Y.oM)({name:"uploads",initialState:{allIds:[],byIds:{}},extraReducers:e=>{e.addCase(Kr.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;Object.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:o}=t.payload;e.byIds[o]&&(e.byIds[o].objectUrl=n)},uploadCancel(e,t){const{hash:n}=t.payload,o=e.allIds.indexOf(n);o>=0&&e.allIds.splice(o,1),e.byIds[n]&&delete e.byIds[n]},uploadError(e,t){const{hash:n}=t.payload,o=e.allIds.indexOf(n);o>=0&&e.allIds.splice(o,1),delete e.byIds[n]},uploadRequest(e,t){},uploadProgress(e,t){const{event:n,uploadHash:o}=t.payload;e.byIds[o].percent=n.percent,e.byIds[o].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}}}),bl=(0,$.P1)([e=>e.uploads.byIds,(e,t)=>t],((e,t)=>e[t]));(0,$.P1)([e=>e.uploads.byIds,e=>e.uploads.allIds],((e,t)=>t.map((t=>e[t]))));const Hl=Ml.actions;var Vl=Ml.reducer;const Rl=(0,Le.ZP)(Q.kC)(z||(z=Fe(["\n  box-sizing: border-box;\n  height: 100%;\n  overflow: hidden;\n  padding: 2px;\n  position: relative;\n  width: 100%;\n"]))),Il=e=>{const{id:t}=e,n=(0,G.I0)(),o=pi((e=>bl(e,t)));if(!o)return null;const r=We()(o.size,{base:10,round:0}),i=Math.round(o.percent||0),s="complete"===o.status,l="uploading"===o.status,a="queued"===o.status;let d;return s&&(d="Verifying"),l&&(d="".concat(i,"%")),a&&(d="Queued"),(0,N.jsx)(Rl,{children:(0,N.jsxs)(Q.kC,{direction:"column",flex:1,style:{background:si[950].hex,border:"1px solid transparent",height:"100%",position:"relative"},children:[(0,N.jsx)("div",{style:{background:si[600].hex,bottom:0,height:"1px",left:0,position:"absolute",width:"100%",transform:"scaleX(".concat(.01*i,")"),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)(Gs,{draggable:!1,src:o.objectUrl,style:{opacity:.4}}),"file"===o.assetType&&(0,N.jsx)("div",{style:{height:"100%",opacity:.1},children:(0,N.jsx)(ks,{width:"80px"})}),!s&&100!==i&&(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:()=>{n(Hl.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," (",r,")"]})}),(0,N.jsx)(Q.xv,{size:0,style:{flexShrink:0},weight:"semibold",children:d})]})]})})},Zl=(0,U.memo)((e=>{let{item:t,selected:n}=e;return"asset"===(null==t?void 0:t.type)?(0,N.jsx)(Cl,{id:t.id,selected:n}):"upload"===(null==t?void 0:t.type)?(0,N.jsx)(Il,{id:t.id}):null})),Tl=Le.ZP.div(_||(_=Fe(["\n  height: ","px;\n  width: ","px;\n"])),220,240),zl=Le.ZP.div(B||(B=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),_l=e=>{const{items:t,onLoadMore:n}=e,o=pi((e=>e.selected.assets)),r=o&&o.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:Tl,List:zl},endReached:n,itemContent:e=>{const n=t[e],o=r.includes(null==n?void 0:n.id);return(0,N.jsx)(Zl,{item:n,selected:o})},overscan:48,style:{overflowX:"hidden",overflowY:"scroll"},totalCount:i})},Bl=e=>{const{field:t,title:n}=e,o=(0,G.I0)(),r=pi((e=>e.assets.order)),i=r.field===t;return(0,N.jsx)(Q.__,{muted:!t,size:0,children:(0,N.jsxs)(Q.xu,{onClick:t?()=>
1{if(t&&n)if(i){const e="asc"===r.direction?"desc":"asc";o(ri.orderSet({order:{field:t,direction:e}}))}else o(ri.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==r?void 0:r.direction)&&(0,N.jsx)(kt,{}),i&&"desc"===(null==r?void 0:r.direction)&&(0,N.jsx)(Ct,{})]})})};var Wl;const Sl=(0,Le.ZP)(Q.kC)(W||(W=Fe(["\n  cursor: pointer;\n\n  @media (hover: hover) and (pointer: fine) {\n    &:hover {\n      background: ",";\n    }\n  }\n"])),null==(Wl=si)?void 0:Wl[900].hex),El=()=>{var e;const t=(0,G.I0)(),n=pi((e=>e.assets.fetching)),o=pi(ti),r=pi(oi),i=(0,Q.d2)(),{onSelect:s}=Rr(),l=r===o;return(0,N.jsxs)(Q.rj,{style:{alignItems:"center",background:li,borderBottom:"1px solid ".concat(null==(e=si)?void 0:e[900].hex),gridColumnGap:i<3?0:"16px",gridTemplateColumns:br,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)(Bl,{}):(0,N.jsx)(Sl,{align:"center",justify:"center",onClick:e=>{e.stopPropagation(),t(l?ri.pickClear():ri.pickAll())},style:{height:"100%",position:"relative"},children:(0,N.jsx)(Q.XZ,{checked:!n&&l,readOnly:!0,style:{pointerEvents:"none",transform:"scale(0.8)"}})}),(0,N.jsx)(Bl,{}),(0,N.jsx)(Bl,{field:"originalFilename",title:"Filename"}),(0,N.jsx)(Bl,{title:"Resolution"}),(0,N.jsx)(Bl,{field:"mimeType",title:"MIME type"}),(0,N.jsx)(Bl,{field:"size",title:"Size"}),(0,N.jsx)(Bl,{field:"_updatedAt",title:"Last updated"}),(0,N.jsx)(Bl,{title:"References"}),(0,N.jsx)(Bl,{})]})};var Al;const ql=(0,Le.ZP)(Q.rj)(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"])),(e=>e.selected?"default":"pointer"),(e=>e.updating?"none":"auto"),(e=>{var t;return!e.updating&&(0,Le.iv)(E||(E=Fe(["\n      @media (hover: hover) and (pointer: fine) {\n        &:hover {\n          background: ",";\n        }\n      }\n    "])),null==(t=si)?void 0:t[950].hex)})),Dl=(0,Le.ZP)(Q.kC)(A||(A=Fe(["\n  cursor: pointer;\n\n  @media (hover: hover) and (pointer: fine) {\n    &:hover {\n      background: ",";\n    }\n  }\n"])),null==(Al=si)?void 0:Al[900].hex),Pl=(0,Le.ZP)(gr)((e=>{let{theme:t}=e;return{color:t.sanity.color.spot.red}}));var Ol=(0,U.memo)((e=>{var t,n;const{id:o,selected:r}=e,i=vr("shift"),[s,l]=(0,U.useState)(!1),a=(0,U.useRef)(),d=(0,G.I0)(),c=pi((e=>e.assets.lastPicked)),u=pi((e=>Jr(e,o))),h=(0,Q.d2)(),p=null==u?void 0:u.asset,g=null==u?void 0:u.error,f=null==(n=null==(t=null==u?void 0:u.asset)?void 0:t.metadata)?void 0:n.isOpaque,x=null==u?void 0:u.picked,m=null==u?void 0:u.updating,{onSelect:w}=Rr(),v=(0,U.useCallback)((e=>{e.stopPropagation(),w?d(fi.showAssetEdit({assetId:p._id})):i.current&&!x?d(ri.pickRange({startId:c||p._id,endId:p._id})):d(ri.pick({assetId:p._id,picked:!x}))}),[p._id,d,c,w,x,i]),C=(0,U.useCallback)((e=>{e.stopPropagation(),w?w([{kind:"assetDocumentId",value:p._id}]):i.current?d(x?ri.pick({assetId:p._id,picked:!x}):ri.pickRange({startId:c||p._id,endId:p._id})):d(fi.showAssetEdit({assetId:p._id}))}),[p._id,d,c,w,x,i]),j=m?.5:1,y=r||m?.1:1;return(0,U.useEffect)((()=>(a.current=setTimeout((()=>l(!0)),750),()=>{a.current&&clearTimeout(a.current)})),[]),p?(0,N.jsxs)(ql,{onClick:r?void 0:C,selected:r,style:{gridColumnGap:h<3?0:"16px",gridRowGap:0,gridTemplateColumns:h<3?Mr:br,gridTemplateRows:h<3?"auto":"1fr"},updating:u.updating,children:[(0,N.jsx)(Dl,{onClick:v,style:{alignItems:"center",gridColumn:1,gridRowStart:1,gridRowEnd:"span 5",height:"100%",justifyContent:"center",opacity:j,position:"relative"},children:w?(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:y,position:"relative"},children:[ps(p)&&(0,N.jsx)(ks,{extension:p.extension,width:"40px"}),gs(p)&&(0,N.jsx)(Gs,{draggable:!1,showCheckerboard:!f,src:us(p,{height:100,width:100})})]}),m&&(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,{})}),r&&!m&&(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:h<3?3:0,style:{gridColumn:3,gridRow:h<3?2:"auto",opacity:j},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:p.originalFilename})}),(0,N.jsx)(Q.xu,{marginLeft:h<3?3:0,style:{gridColumn:h<3?3:4,gridRow:h<3?3:"auto",opacity:j},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:gs(p)&&fs(p)})}),(0,N.jsx)(Q.xu,{style:{display:h<3?"none":"block",gridColumn:5,gridRow:"auto",opacity:j},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:p.mimeType})}),(0,N.jsx)(Q.xu,{style:{display:h<3?"none":"block",gridColumn:6,gridRow:"auto",opacity:j},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:We()(p.size,{base:10,round:0})})}),(0,N.jsx)(Q.xu,{marginLeft:h<3?3:0,style:{gridColumn:h<3?3:7,gridRow:h<3?4:"auto",opacity:j},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:(0,Pe.Z)(new Date(p._updatedAt),new Date)})}),(0,N.jsx)(Q.xu,{style:{display:h<3?"none":"block",gridColumn:8,gridRow:"auto",opacity:j},children:(0,N.jsx)(Q.xv,{muted:!0,size:1,style:{lineHeight:"2em"},textOverflow:"ellipsis",children:s?(0,N.jsx)(F._ZM,{id:o,children:e=>{let{isLoading:t,referringDocuments:n}=e;const o=cs(n);return(0,N.jsx)(N.Fragment,t?{children:"-"}:{children:Array.isArray(o)?o.length:0})}}):(0,N.jsx)(N.Fragment,{children:"-"})})}),(0,N.jsx)(Q.kC,{align:"center",justify:"center",style:{gridColumn:h<3?4:9,gridRowStart:"1",gridRowEnd:h<3?"span 5":"auto",opacity:j},children:g&&(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:g})}),placement:"left",portal:!0,children:(0,N.jsx)(Q.xv,{size:1,children:(0,N.jsx)(Pl,{color:"critical"})})})})})]}):null}));const Fl=e=>{const{id:t}=e,n=(0,G.I0)(),o=pi((e=>bl(e,t))),r=(0,Q.d2)();if(!o)return null;const i=We()(o.size,{base:10,round:0}),s=Math.round(o.percent||0),l="complete"===o.status,a="uploading"===o.status,d="queued"===o.status;let c;return l&&(c="Verifying"),a&&(c="".concat(s,"%")),d&&(c="Queued"),(0,N.jsxs)(Q.rj,{style:{alignItems:"center",background:si[950].hex,gridColumnGap:r<3?0:"16px",gridRowGap:0,gridTemplateColumns:r<3?Mr:br,gridTemplateRows:r<3?"auto":"1fr",height:"100%",position:"relative"},children:[(0,N.jsx)("div",{style:{background:si[600].hex,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.jsx)(Q.xu,{style:{gridColumn:2,gridRowStart:r<3?1:"auto",gridRowEnd:r<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)(Gs,{draggable:!1,src:o.objectUrl,style:{opacity:.25}}),"file"===o.assetType&&(0,N.jsx)("div",{style:{height:"100%",opacity:.1},children:(0,N.jsx)(ks,{width:"40px"})}),!l&&100!==s&&(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:()=>{n(Hl.uploadCancel({hash:o.hash}))},padding:2,style:{background:"none",boxShadow:"none"},tone:"critical"})})]})}),(0,N.jsx)(Q.xu,{style:{gridColumn:r<3?3:"3/8",gridRow:r<3?"2/4":"auto",marginLeft:r<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(",i,")"]}),(0,N.jsx)(Q.xv,{size:1,textOverflow:"ellipsis",weight:"semibold",children:c})]})})]})},Ul=(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)(Ol,{id:t.id,selected:n})}):"upload"===(null==t?void 0:t.type)?(0,N.jsx)(Q.xu,{style:{height:"100px"},children:(0,N.jsx)(Fl,{id:t.id})}):null})),Nl=e=>{const{items:t,onLoadMore:n}=e,o=pi((e=>e.selected.assets)),r=o&&o.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)(El,{}),itemContent:e=>{const n=t[e],o=r.includes(null==n?void 0:n.id);return(0,N.jsx)(Ul,{item:n,selected:o})},style:{overflowX:"hidden"}})},Ql=()=>{const e=(0,G.I0)(),t=pi((e=>e.assets.fetchCount)),n=pi((e=>e.assets.fetching)),o=pi((e=>e.tags.panelVisible)),r=pi((e=>e.assets.view)),i=pi(fl),s=(()=>{var e,t;const n=null==(t=null==(e=Q.Lg)?void 0:e.container)?void 0:t.map((e=>window.matchMedia("(max-width: ".concat(e,"px)")))),o=()=>n.findIndex((e=>e.matches)),[r,i]=(0,U.useState)(o());return(0,U.useEffect)((()=>{const e=()=>{i(o)};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){}}}}),[]),r})(),l=t>=0,a=i.length>0,d=()=>{n||e(ri.loadNextPage())};return(0,U.useEffect)((()=>{s<=1&&o&&e(Or.panelVisibleSet({panelVisible:!1}))}),[s]),(0,N.jsx)(Q.xu,{flex:1,style:{width:"100%"},children:a||!l||n?(0,N.jsxs)(N.Fragment,{children:["grid"===r&&(0,N.jsx)(_l,{items:i,onLoadMore:d}),"table"===r&&(0,N.jsx)(Nl,{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"})})})},Xl=()=>{const e=pi((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},Kl=()=>{var e,t;const n=(0,G.I0)(),o=pi(ni);return 0===o.length?null:(0,N.jsx)(Q.kC,{align:"center",justify:"flex-start",style:{background:null==(e=si)?void 0:e[900].hex,borderBottom:"1px solid ".concat(null==(t=si)?void 0:t[900].hex),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:[o.length," ",be()("asset",o.length)," selected"]})}),(0,N.jsx)(Q.zx,{mode:"bleed",onClick:()=>{n(ri.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:()=>{n(fi.showConfirmDeleteAssets({assets:o}))},padding:2,style:{background:"none",boxShadow:"none"},tone:"critical",children:(0,N.jsx)(Q.__,{size:0,children:"Delete"})})]})})};var Gl=(0,Y.oM)({name:"selected",initialState:{assets:[],document:void 0,documentAssetIds:[]},reducers:{}}).reducer;const Yl=(0,Y.oM)({name:"notifications",initialState:{items:[]},reducers:{add(e,t){const{asset:n,status:o,title:r}=t.payload;e.items.push({asset:n,status:o,title:r})}}}),$l=Yl.actions;var Jl=Yl.reducer;const ea=(0,te.l)(((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(ri.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)((()=>o.observable.delete({query:(0,K.Z)(g||(g=Fe(["*[_id in ","]"])),JSON.stringify(n))}))),(0,pe.z)((()=>(0,se.of)(ri.deleteComplete({assetIds:n})))),(0,me.K)((e=>(0,se.of)(ri.deleteError({assetIds:n,error:e})))))}
1)))}),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(ri.fetchRequest.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;var r,i;const s=null==(r=t.payload)?void 0:r.params,l=null==(i=t.payload)?void 0:i.query;return(0,se.of)(t).pipe(zr(n.debug.badConnection),(0,pe.z)((()=>o.observable.fetch(l,s))),(0,pe.z)((e=>{const{items:t}=e;return(0,se.of)(ri.fetchComplete({assets:t}))})),(0,me.K)((e=>(0,se.of)(ri.fetchError({message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500})))))})))}),((e,t)=>e.pipe((0,xe.h)(ri.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)(ri.loadPageIndex({pageIndex:e}))}return(0,ce.c)()})))),((e,t)=>e.pipe((0,xe.h)(ri.loadNextPage.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;return(0,se.of)(ri.loadPageIndex({pageIndex:n.assets.pageIndex+1}))})))),((e,t)=>e.pipe((0,xe.h)(ri.loadPageIndex.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;var o,r,i,s,l,a;const d=n.assets.pageSize,c=t.payload.pageIndex*d,u=c+d,h=null==(o=null==n?void 0:n.selected.document)?void 0:o._id,p=null==(r=null==n?void 0:n.selected)?void 0:r.documentAssetIds,g=_r({assetTypes:n.assets.assetTypes,searchFacets:n.search.facets,searchQuery:n.search.query}),m={...h?{documentId:h}:{},documentAssetIds:p};return(0,se.of)(ri.fetchRequest({params:m,queryFilter:g,selector:(0,K.Z)(f||(f=Fe(["[","...","]"])),c,u),sort:(0,K.Z)(x||(x=Fe(["order("," ",")"])),null==(s=null==(i=n.assets)?void 0:i.order)?void 0:s.field,null==(a=null==(l=n.assets)?void 0:l.order)?void 0:a.direction)}))})))),(e=>e.pipe((0,xe.h)(ri.listenerCreateQueue.match),(0,Ce.e)(2e3),(0,xe.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)(ri.listenerCreateQueueComplete({assets:t}))})))),(e=>e.pipe((0,xe.h)(ri.listenerDeleteQueue.match),(0,Ce.e)(2e3),(0,xe.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)(ri.listenerDeleteQueueComplete({assetIds:t}))})))),(e=>e.pipe((0,xe.h)(ri.listenerUpdateQueue.match),(0,Ce.e)(2e3),(0,xe.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)(ri.listenerUpdateQueueComplete({assets:t}))})))),(e=>e.pipe((0,xe.h)(ri.orderSet.match),(0,pe.z)((()=>(0,se.of)(ri.clear(),ri.loadPageIndex({pageIndex:0})))))),(e=>e.pipe((0,ne.l)(Qr.facetsAdd.type,Qr.facetsClear.type,Qr.facetsRemoveById.type,Qr.facetsRemoveByName.type,Qr.facetsRemoveByTag.type,Qr.facetsUpdate.type,Qr.facetsUpdateById.type,Qr.querySet.type),(0,je.b)(400),(0,pe.z)((()=>(0,se.of)(ri.clear(),ri.loadPageIndex({pageIndex:0})))))),(e=>e.pipe((0,ne.l)(ri.insertUploads.type,ri.listenerUpdateQueueComplete.type,ri.updateComplete.type),(0,pe.z)((()=>(0,se.of)(ri.sort()))))),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(Sr.tagsAddRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assets:r,tag:i}=t.payload;return(0,se.of)(t).pipe(zr(n.debug.badConnection),(0,pe.z)((()=>{const e=ni(n),t=null==e?void 0:e.filter((e=>t=>{var n,o,r,i,s;return(null!=(s=null==(i=null==(r=null==(o=null==(n=null==t?void 0:t.asset)?void 0:n.opt)?void 0:o.media)?void 0:r.tags)?void 0:i.findIndex((t=>t._ref===(null==e?void 0:e._id))))?s:-1)<0})(i)),r=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}))}),o.transaction());return(0,le.D)(r.commit())})),(0,pe.z)((()=>(0,se.of)(Sr.tagsAddComplete({assets:r,tag:i})))),(0,me.K)((e=>(0,se.of)(Sr.tagsAddError({assets:r,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:o}=n;return e.pipe((0,xe.h)(Sr.tagsRemoveRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assets:r,tag:i}=t.payload;return(0,se.of)(t).pipe(zr(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 o;return e.ifRevisionId(null==(o=null==t?void 0:t.asset)?void 0:o._rev).unset(['opt.media.tags[_ref == "'.concat(n._id,'"]')])}})({asset:t,tag:i}))}),o.transaction());return(0,le.D)(e.commit())}
1)),(0,pe.z)((()=>(0,se.of)(Sr.tagsRemoveComplete({assets:r,tag:i})))),(0,me.K)((e=>(0,se.of)(Sr.tagsRemoveError({assets:r,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)(ri.orderSet.type,ri.viewSet.type,Qr.facetsAdd.type,Qr.facetsClear.type,Qr.facetsRemoveById.type,Qr.facetsRemoveByName.type,Qr.facetsRemoveByTag.type,Qr.facetsUpdate.type,Qr.facetsUpdateById.type,Qr.querySet.type),(0,pe.z)((()=>(0,se.of)(ri.pickClear()))))),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(ri.updateRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{asset:r,closeDialogId:i,formData:s}=t.payload;return(0,se.of)(t).pipe(zr(n.debug.badConnection),(0,pe.z)((()=>(0,le.D)(o.patch(r._id).setIfMissing({opt:{}}).setIfMissing({"opt.media":{}}).set(s).commit()))),(0,pe.z)((e=>(0,se.of)(ri.updateComplete({asset:e,closeDialogId:i})))),(0,me.K)((e=>(0,se.of)(ri.updateError({asset:r,error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500}})))))})))}),(e=>e.pipe((0,ne.l)(ri.deleteComplete.type,ri.updateComplete.type,Or.deleteComplete.type,Or.updateComplete.type),(0,xe.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)(gi.actions.remove({id:n})):(0,ce.c)()})))),(e=>e.pipe((0,xe.h)(Or.createComplete.match),(0,pe.z)((e=>{const{assetId:t,tag:n}=null==e?void 0:e.payload;return t?(0,se.of)(gi.actions.inlineTagCreate({tag:n,assetId:t})):n._id?(0,se.of)(gi.actions.remove({id:"tagCreate"})):(0,ce.c)()})))),(e=>e.pipe((0,xe.h)(Or.listenerDeleteQueueComplete.match),(0,pe.z)((e=>{const{tagIds:t}=null==e?void 0:e.payload;return(0,se.of)(gi.actions.inlineTagRemove({tagIds:t}))})))),(e=>e.pipe((0,xe.h)(ri.deleteError.match),(0,pe.z)((e=>{const{assetIds:t}=e.payload,n=t.length;return(0,se.of)(Yl.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,xe.h)(ri.deleteComplete.match),(0,pe.z)((e=>{const{assetIds:t}=e.payload,n=t.length;return(0,se.of)(Yl.actions.add({status:"info",title:"".concat(n," ").concat(be()("asset",n)," deleted")}))})))),(e=>e.pipe((0,xe.h)(Sr.tagsAddComplete.match),(0,pe.z)((e=>{var t,n;const o=null==(n=null==(t=null==e?void 0:e.payload)?void 0:t.assets)?void 0:n.length;return(0,se.of)(Yl.actions.add({status:"info",title:"Tag added to ".concat(o," ").concat(be()("asset",o))}))})))),(e=>e.pipe((0,xe.h)(Sr.tagsRemoveComplete.match),(0,pe.z)((e=>{var t,n;const o=null==(n=null==(t=null==e?void 0:e.payload)?void 0:t.assets)?void 0:n.length;return(0,se.of)(Yl.actions.add({status:"info",title:"Tag removed from ".concat(o," ").concat(be()("asset",o))}))})))),(e=>e.pipe((0,xe.h)(ri.updateComplete.match),(0,Ce.e)(2e3),(0,xe.h)((e=>e.length>0)),(0,pe.z)((e=>{const t=e.length;return(0,se.of)(Yl.actions.add({status:"info",title:"".concat(t," ").concat(be()("asset",t)," updated")}))})))),(e=>e.pipe((0,ne.l)(ri.fetchError.type,ri.updateError.type,Or.createError.type,Or.deleteError.type,Or.fetchError.type,Or.updateError.type,Hl.uploadError.type),(0,pe.z)((e=>{var t;const n=null==(t=e.payload)?void 0:t.error;return(0,se.of)(Yl.actions.add({status:"error",title:"An error occured: ".concat(n.message)}))})))),(e=>e.pipe((0,xe.h)(Or.createComplete.match),(0,pe.z)((()=>(0,se.of)(Yl.actions.add({status:"info",title:"Tag created"})))))),(e=>e.pipe((0,xe.h)(Or.deleteComplete.match),(0,pe.z)((()=>(0,se.of)(Yl.actions.add({status:"info",title:"Tag deleted"})))))),(e=>e.pipe((0,xe.h)(Or.updateComplete.match),(0,pe.z)((()=>(0,se.of)(Yl.actions.add({status:"info",title:"Tag updated"})))))),((e,t)=>e.pipe((0,xe.h)(Or.updateComplete.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;var o,r,i,s,l;const{tag:a}=t.payload,d=null==(o=n.search.facets)?void 0:o.find((e=>"tag"===e.name)),c=n.tags.byIds[a._id];return"searchable"===(null==d?void 0:d.type)&&(null==(r=d.value)?void 0:r.value)===a._id?(0,se.of)(Ur.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==(l=null==c?void 0:c.tag)?void 0:l._id}})):(0,ce.c)()})))),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(Ar.actions.createRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assetId:r,name:i}=t.payload;return(0,se.of)(t).pipe(zr(n.debug.badConnection),Br(o,i),(0,pe.z)((()=>o.observable.create({_type:"media.tag",name:{_type:"slug",current:i}}))),(0,pe.z)((e=>(0,se.of)(Ar.actions.createComplete({assetId:r,tag:e})))),(0,me.K)((e=>(0,se.of)(Ar.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:o}=n;return e.pipe((0,xe.h)(Ar.actions.deleteRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{tag:r}=t.payload;return(0,se.of)(t).pipe(zr(n.debug.badConnection),(0,pe.z)((()=>o.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:r.name.current}))),(0,pe.z)((e=>{const t=e.map((e=>({id:e._id,patch:{ifRevisionID:e._rev,unset:['opt.media.tags[_ref == "'.concat(r._id,'"]')]}}))).reduce(((e,t)=>e.patch(t.id,t.patch)),o.transaction());return t.delete(r._id),(0,le.D)(t.commit())}
1)),(0,pe.z)((()=>(0,se.of)(Ar.actions.deleteComplete({tagId:r._id})))),(0,me.K)((e=>(0,se.of)(Ar.actions.deleteError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},tag:r})))))})))}),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(Ar.actions.fetchRequest.match),(0,we.M)(t),(0,ve.w)((e=>{let[t,n]=e;const{query:r}=t.payload;return(0,se.of)(t).pipe(zr(n.debug.badConnection),(0,pe.z)((()=>o.observable.fetch(r))),(0,pe.z)((e=>{const{items:t}=e;return(0,se.of)(Ar.actions.fetchComplete({tags:t}))})),(0,me.K)((e=>(0,se.of)(Ar.actions.fetchError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500}})))))})))}),(e=>e.pipe((0,xe.h)(Ar.actions.listenerCreateQueue.match),(0,Ce.e)(2e3),(0,xe.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)(Ar.actions.listenerCreateQueueComplete({tags:t}))})))),(e=>e.pipe((0,xe.h)(Ar.actions.listenerDeleteQueue.match),(0,Ce.e)(2e3),(0,xe.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)(Ar.actions.listenerDeleteQueueComplete({tagIds:t}))})))),(e=>e.pipe((0,xe.h)(Ar.actions.listenerUpdateQueue.match),(0,Ce.e)(2e3),(0,xe.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)(Ar.actions.listenerUpdateQueueComplete({tags:t}))})))),(e=>e.pipe((0,ne.l)(Ar.actions.listenerCreateQueueComplete.type,Ar.actions.listenerUpdateQueueComplete.type),(0,Ce.e)(1e3),(0,xe.h)((e=>e.length>0)),(0,pe.z)((()=>(0,se.of)(Ar.actions.sort()))))),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(Ar.actions.updateRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;var r;const{closeDialogId:i,formData:s,tag:l}=t.payload;return(0,se.of)(t).pipe(zr(n.debug.badConnection),Br(o,null==(r=null==s?void 0:s.name)?void 0:r.current),(0,pe.z)((()=>(0,le.D)(o.patch(l._id).set({name:{_type:"slug",current:null==s?void 0:s.name.current}}).commit()))),(0,pe.z)((e=>(0,se.of)(Ar.actions.updateComplete({closeDialogId:i,tag:e})))),(0,me.K)((e=>(0,se.of)(Ar.actions.updateError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},tag:l})))))})))}),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(Hl.uploadStart.match),(0,pe.z)((t=>{const{file:n,uploadItem:r}=t.payload;return(0,ue.T)((0,se.of)(null).pipe((0,pe.z)((()=>(e=>(0,se.of)(null).pipe((0,pe.z)((()=>(0,le.D)((async e=>{const t=await(e=>new Promise((t=>{const n=window.URL.createObjectURL(e),o=new Image;o.onload=()=>{window.URL.revokeObjectURL(n),t(o)},o.src=n})))(e),n=await(o=t,new Promise((e=>{const t=o.width/o.height,n=document.createElement("canvas");n.width=180,n.height=Math.max(180/t,1);try{const r=n.getContext("2d");null==r||r.drawImage(o,0,0,180,180/t),n.toBlob(e,"image/jpeg")}catch(e){console.warn("Unable to generate preview image:",e)}})));var o;if(!n)throw Error("Unable to generate file Blob");return window.URL.createObjectURL(n)})(e))))))(n))),(0,pe.z)((e=>(0,se.of)(Hl.previewReady({blobUrl:e,hash:r.hash}))))),(0,se.of)(null).pipe((0,pe.z)((()=>Ll(o,r.assetType,n,r.hash))),(0,ye.R)(e.pipe((0,xe.h)(Hl.uploadCancel.match),(0,xe.h)((e=>e.payload.hash===r.hash)))),(0,pe.z)((e=>"complete"===(null==e?void 0:e.type)?(0,se.of)(Kr.uploadComplete({asset:e.asset})):"progress"===(null==e?void 0:e.type)&&"upload"===(null==e?void 0:e.stage)?(0,se.of)(Hl.uploadProgress({event:e,uploadHash:r.hash})):(0,ce.c)())),(0,me.K)((e=>(0,se.of)(Hl.uploadError({error:{message:(null==e?void 0:e.message)||"Internal error",statusCode:(null==e?void 0:e.statusCode)||500},hash:r.hash}))))))})))}),((e,t)=>e.pipe((0,xe.h)(Hl.uploadRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{file:o,forceAsAssetType:r}=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)(kl)):(0,ie._)({message:"Unable to generate hash: uploads are only allowed in secure contexts",statusCode:500}))(o))),(0,xe.h)((e=>!n.uploads.byIds[e])),(0,pe.z)((e=>{const t={_type:"upload",assetType:r||(o.type.indexOf("image")>=0?"image":"file"),hash:e,name:o.name,size:o.size,status:"queued"};return(0,se.of)(Hl.uploadStart({file:o,uploadItem:t}))})))})))),((e,t,n)=>{let{client:o}=n;return e.pipe((0,xe.h)(Hl.checkRequest.match),(0,we.M)(t),(0,pe.z)((e=>{let[t,n]=e;const{assets:r}=t.payload,i=r.map((e=>e._id)),s=_r({assetTypes:n.assets.assetTypes,searchFacets:n.search.facets,searchQuery:n.search.query}),l=(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)((()=>o.observable.fetch(l,{documentIds:i}))),(0,pe.z)((e=>{const t=r.reduce(((t,n)=>(t[n.sha1hash]=e.includes(n.sha1hash)?n._id:null,t)),{});return(0,se.of)(Hl.checkComplete({results:t}),ri.insertUploads({results:t}))})))})))}),(e=>e.pipe((0,xe.h)(Kr.uploadComplete.match),(0,pe.z)((e=>(0,se.of)(Hl.checkRequest({assets:[e.payload.asset]}))))))),ta=(0,J.UY)({assets:ii,debug:is,dialog:xi,notifications:Jl,search:Xr,selected:Gl,tags:Fr,uploads:Vl}),na=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),oa=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var n,o;return Array.isArray(e)&&e.forEach((e=>{oa(e,t)})),na(e)&&("reference"===(null==(n=null==e?void 0:e.asset)?void 0:n._type)&&(null==(o=null==e?void 0:e.asset)?void 0:o._ref)&&t.push(e.asset._ref),Object.values(e).forEach((e=>{oa(e,t)}))),t},ra=e=>{const t=oa(e);return[...new Set(t.sort())]};class ia extends U.Component{constructor(e){super(e);const t=(0,oe.k)({dependencies:{client:e.client}});this.store=(0,Y.xC)({reducer:ta,middleware:e=>e({serializableCheck:!1,thunk:!1}).prepend(t),devTools:!0,preloadedState:{assets:{...Yr,assetTypes:(null==e?void 0:e.assetType)?[e.assetType]:["file","image"]},selected:{assets:e.selectedAssets||[],document:e.document,documentAssetIds:e.document?ra(e.document):[]}}}),t.run(ea)}render(){return(0,N.jsx)(G.zt,{store:this.store,children:this.props.children})}}const sa=()=>{var e;return pi((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 ".concat(null==(e=si)?void 0:e[900].hex),height:"100%",overflowX:"hidden",overflowY:"auto",position:"absolute",right:0,top:0,width:"100%"},children:(0,N.jsx)(dl,{})})}):null},la=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"]))),aa=Le.ZP.div(D||(D=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"]))),da=e=>{const{children:t}=e,{onSelect:n}=Rr(),o=(0,G.I0)(),r=pi((e=>e.assets.assetTypes)),i=1===r.length&&"image"===r[0],{getRootProps:s,getInputProps:l,isDragActive:a,open:d}=(0,Oe.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 r=await async function(e){const t=Array.from(e),n=[];for(const o of t)try{await o.slice(0,1).arrayBuffer(),n.push(o)}catch(e){}return n}(n);return(null==n?void 0:n.length)!==r.length&&o($l.add({status:"error",title:"Unable to upload some items (folders and packages aren't supported)"})),r},noClick:!0,noDrag:!!n,onDrop:async e=>{e.forEach((e=>o(Hl.uploadRequest({file:e,forceAsAssetType:1===r.length?r[0]:void 0}))))}});return(0,N.jsx)(pl,{open:d,children:(0,N.jsxs)(la,{...s(),children:[(0,N.jsx)("input",{...l()}),a&&(0,N.jsx)(aa,{children:(0,N.jsx)(Q.kC,{direction:"column",justify:"center",style:{color:ai},children:(0,N.jsx)(Q.xv,{size:3,style:{color:"inherit"},children:"Drop files to upload"})})}),t]})})},ca=e=>{let{onClose:t}=e;const n=Ir(),[o,r]=(0,U.useState)(null),i=(0,G.I0)(),s=e=>{const{documentId:t,result:n,transition:o}=e;"appear"===o&&i(ri.listenerCreateQueue({asset:n})),"disappear"===o&&i(ri.listenerDeleteQueue({assetId:t})),"update"===o&&i(ri.listenerUpdateQueue({asset:n}))},l=e=>{const{documentId:t,result:n,transition:o}=e;"appear"===o&&i(Or.listenerCreateQueue({tag:n})),"disappear"===o&&i(Or.listenerDeleteQueue({tagId:t})),"update"===o&&i(Or.listenerUpdateQueue({tag:n}))};return(0,U.useEffect)((()=>{i(ri.loadPageIndex({pageIndex:0})),i(Or.fetchRequest());const e=n.listen((0,K.Z)(P||(P=Fe(['*[_type in ["sanity.fileAsset", "sanity.imageAsset"] && !(_i
1d in path("drafts.**"))]'])))).subscribe(s),t=n.listen((0,K.Z)(O||(O=Fe(['*[_type == "','" && !(_id in path("drafts.**"))]'])),"media.tag")).subscribe(l);return()=>{null==e||e.unsubscribe(),null==t||t.unsubscribe()}}),[]),(0,N.jsx)(Q.Xp,{element:o,children:(0,N.jsxs)(da,{children:[(0,N.jsx)(ul,{}),(0,N.jsx)(Xl,{}),(0,N.jsx)(Q.Zb,{display:"flex",height:"fill",ref:r,children:(0,N.jsxs)(Q.kC,{direction:"column",flex:1,children:[(0,N.jsx)(gl,{onClose:t}),(0,N.jsx)(ns,{}),(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)(Kl,{}),(0,N.jsx)(Ql,{})]}),(0,N.jsx)(sa,{})]}),(0,N.jsx)(ss,{})]})})]})})},ua=e=>{const t=Ir();return(0,N.jsx)(ia,{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:"dark",theme:Q.Lg,children:(0,N.jsx)(Q.VW,{children:(0,N.jsxs)(Vr,{onSelect:null==e?void 0:e.onSelect,children:[(0,N.jsx)(hi,{}),(0,N.jsx)(ca,{onClose:null==e?void 0:e.onClose})]})})})})};var ha={title:"Media Tag",icon:es,name:"media.tag",type:"document",fields:[{title:"Name",name:"name",type:"slug"}],preview:{select:{name:"name"},prepare(e){const{name:t}=e;return{media:es,title:null==t?void 0:t.current}}}};const pa={icon:Tn,name:"media",title:"Media"},ga={...pa,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})(),o=(0,F.tdq)([]);vr("escape",t);const r=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:r,onDragLeave:r,onDragOver:r,onDrop:r,onMouseUp:r,style:{bottom:0,height:"auto",left:0,position:"fixed",top:0,width:"100%",zIndex:i},children:(0,N.jsx)(ua,{document:o,...e})})})})}},fa={...pa,component:()=>(0,N.jsx)(Q.kC,{direction:"column",height:"fill",flex:1,children:(0,N.jsx)(ua,{})})},xa=(0,F.Cw0)({name:"media",form:{file:{assetSources:e=>[...e,ga]},image:{assetSources:e=>[...e,ga]}},schema:{types:[ha]},tools:e=>[...e,fa]})}}]);

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.