1(self.webpackChunken_base_studio=self.webpackChunken_base_studio||[]).push([[849],{341:function(e,t,n){"use strict";n.d(t,{UQ:function(){return oe},KF:function(){return K},XE:function(){return ne},Qd:function(){return re},Hk:function(){return ie}});var r=n(5987),i=n(4942),o=n(9439),a=n(7294),s=n(9797),l=n(3144),u=n(5671),c=n(6219),d=n(2996);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){return e.sort((function(e,t){var n=e.compareDocumentPosition(t);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0}))}function p(e,t,n){var r=e+1;return n&&r>=t&&(r=0),r}function m(e,t,n){var r=e-1;return n&&r<0&&(r=t),r}var v="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,g=(0,l.Z)((function e(){var t=this;(0,u.Z)(this,e),(0,i.Z)(this,"descendants",new Map),(0,i.Z)(this,"register",(function(e){var n;if(null!=e)return"object"==typeof(n=e)&&"nodeType"in n&&n.nodeType===Node.ELEMENT_NODE?t.registerNode(e):function(n){t.registerNode(n,e)}})),(0,i.Z)(this,"unregister",(function(e){t.descendants.delete(e);var n=h(Array.from(t.descendants.keys()));t.assignIndex(n)})),(0,i.Z)(this,"destroy",(function(){t.descendants.clear()}
1)),(0,i.Z)(this,"assignIndex",(function(e){t.descendants.forEach((function(t){var n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()}))})),(0,i.Z)(this,"count",(function(){return t.descendants.size})),(0,i.Z)(this,"enabledCount",(function(){return t.enabledValues().length})),(0,i.Z)(this,"values",(function(){return Array.from(t.descendants.values()).sort((function(e,t){return e.index-t.index}))})),(0,i.Z)(this,"enabledValues",(function(){return t.values().filter((function(e){return!e.disabled}))})),(0,i.Z)(this,"item",(function(e){if(0!==t.count())return t.values()[e]})),(0,i.Z)(this,"enabledItem",(function(e){if(0!==t.enabledCount())return t.enabledValues()[e]})),(0,i.Z)(this,"first",(function(){return t.item(0)})),(0,i.Z)(this,"firstEnabled",(function(){return t.enabledItem(0)})),(0,i.Z)(this,"last",(function(){return t.item(t.descendants.size-1)})),(0,i.Z)(this,"lastEnabled",(function(){var e=t.enabledValues().length-1;return t.enabledItem(e)})),(0,i.Z)(this,"indexOf",(function(e){var n,r;return e&&null!==(n=null==(r=t.descendants.get(e))?void 0:r.index)&&void 0!==n?n:-1})),(0,i.Z)(this,"enabledIndexOf",(function(e){return null==e?-1:t.enabledValues().findIndex((function(t){return t.node.isSameNode(e)}))})),(0,i.Z)(this,"next",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=p(e,t.count(),n);return t.item(r)})),(0,i.Z)(this,"nextEnabled",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.item(e);if(r){var i=t.enabledIndexOf(r.node),o=p(i,t.enabledCount(),n);return t.enabledItem(o)}})),(0,i.Z)(this,"prev",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=m(e,t.count()-1,n);return t.item(r)})),(0,i.Z)(this,"prevEnabled",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.item(e);if(r){var i=t.enabledIndexOf(r.node),o=m(i,t.enabledCount()-1,n);return t.enabledItem(o)}})),(0,i.Z)(this,"registerNode",(function(e,n){if(e&&!t.descendants.has(e)){var r=h(Array.from(t.descendants.keys()).concat(e));(null==n?void 0:n.disabled)&&(n.disabled=!!n.disabled);var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({node:e,index:-1},n);t.descendants.set(e,o),t.assignIndex(r)}}))}));var y=(0,c.k)({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),b=(0,o.Z)(y,2),w=b[0],x=b[1];var k=n(3953),O=n(5179);var I=n(3401),j=n(5200),_=["onChange","defaultIndex","index","allowMultiple","allowToggle"],N=["isDisabled","isFocusable","id"],E=["htmlProps"],S=["children","reduceMotion"],C=["htmlProps","descendants"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")};var A=function(e){e.condition,e.message};function D(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.some((function(t){return null==t||t(e),null==e?void 0:e.defaultPrevented}))}}var M=(0,c.k)({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),T=(0,o.Z)(M,2),U=T[0],F=T[1],H=(0,c.k)({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),q=(0,o.Z)(H,2),B=q[0],R=q[1],G=[w,function(){return x()},function(){return e=(0,a.useRef)(new g),v((function(){return function(){return e.current.destroy()}})),e.current;var e},function(e){return function(e){var t=x(),n=(0,a.useState)(-1),r=(0,o.Z)(n,2),i=r[0],s=r[1],l=(0,a.useRef)(null);v((function(){return function(){l.current&&t.unregister(l.current)}}),[]),v((function(){if(l.current){var e=Number(l.current.dataset.index);i==e||Number.isNaN(e)||s(e)}}));var u=e?t.register(e):t.register;return{descendants:t,index:i,enabledIndex:t.enabledIndexOf(l.current),register:(0,d.lq)(u,l)}}(e)}],V=(0,o.Z)(G,4),W=V[0],L=(V[1],V[2]),$=V[3],K=(0,s.Gp)((function(e,t){var n=(0,R().getButtonProps)(e,t),r=z
1({display:"flex",alignItems:"center",width:"100%",outline:0},F().button);return a.createElement(s.m$.button,z(z({},n),{},{className:Z("chakra-accordion__button",e.className),__css:r}))}));function X(e){var t=e.onChange,n=e.defaultIndex,i=e.index,s=e.allowMultiple,l=e.allowToggle,u=(0,r.Z)(e,_);!function(e){var t=e.index||e.defaultIndex,n=null==t&&!Array.isArray(t)&&e.allowMultiple;A({condition:!!n,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ".concat(typeof t,",")})}(e),function(e){A({condition:!(!e.allowMultiple||!e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(e);var c=L(),d=(0,a.useState)(-1),f=(0,o.Z)(d,2),h=f[0],p=f[1];(0,a.useEffect)((function(){return function(){p(-1)}}),[]);var m=function(e){var t=e.value,n=e.defaultValue,r=e.onChange,i=e.shouldUpdate,s=void 0===i?function(e,t){return e!==t}:i,l=(0,O.W)(r),u=(0,O.W)(s),c=(0,a.useState)(n),d=(0,o.Z)(c,2),f=d[0],h=d[1],p=void 0!==t,m=p?t:f,v=(0,a.useCallback)((function(e){var t="function"==typeof e?e(m):e;u(m,t)&&(p||h(t),l(t))}),[p,l,m,u]);return[m,v]}({value:i,defaultValue:function(){return s?null!=n?n:[]:null!=n?n:-1},onChange:t}),v=(0,o.Z)(m,2),g=v[0],y=v[1];return{index:g,setIndex:y,htmlProps:u,getAccordionItemProps:function(e){var t=!1;null!==e&&(t=Array.isArray(g)?g.includes(e):g===e);return{isOpen:t,onChange:function(t){if(null!==e)if(s&&Array.isArray(g)){var n=t?g.concat(e):g.filter((function(t){return t!==e}));y(n)}else t?y(e):l&&y(-1)}}},focusedIndex:h,setFocusedIndex:p,descendants:c}}K.displayName="AccordionButton";var Q=(0,c.k)({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"}),Y=(0,o.Z)(Q,2),J=Y[0],ee=Y[1];function te(e){var t=e.isDisabled,n=e.isFocusable,i=e.id,o=(0,r.Z)(e,N),s=ee(),l=s.getAccordionItemProps,u=s.setFocusedIndex,c=(0,a.useRef)(null),f=(0,a.useId)(),h=null!=i?i:f,p="accordion-button-".concat(h),m="accordion-panel-".concat(h);!function(e){A({condition:!(!e.isFocusable||e.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(e);var v=$({disabled:t&&!n}),g=v.register,y=v.index,b=v.descendants,w=l(-1===y?null:y),x=w.isOpen,k=w.onChange;!function(e){A({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:x,isDisabled:t});var O=(0,a.useCallback)((function(){null==k||k(!x),u(y)}),[y,u,x,k]),I=(0,a.useCallback)((function(e){var t={ArrowDown:function(){var e=b.nextEnabled(y);null==e||e.node.focus()},ArrowUp:function(){var e=b.prevEnabled(y);null==e||e.node.focus()},Home:function(){var e=b.firstEnabled();null==e||e.node.focus()},End:function(){var e=b.lastEnabled();null==e||e.node.focus()}}[e.key];t&&(e.preventDefault(),t(e))}),[b,y]),j=(0,a.useCallback)((function(){u(y)}),[u,y]),_=(0,a.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return z(z({},e),{},{type:"button",ref:(0,d.lq)(g,c,n),id:p,disabled:!!t,"aria-expanded":!!x,"aria-controls":m,onClick:D(e.onClick,O),onFocus:D(e.onFocus,j),onKeyDown:D(e.onKeyDown,I)})}),[p,t,x,O,j,I,m,g]),E=(0,a.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return z(z({},e),{},{ref:t,role:"region",id:m,"aria-labelledby":p,hidden:!x})}),[p,x,m]);return{isOpen:x,isDisabled:t,isFocusable:n,onOpen:function(){null==k||k(!0)},onClose:function(){null==k||k(!1)},getButtonProps:_,getPanelProps:E,htmlProps:o}}function ne(e){var t=R(),n=t.isOpen,r=t.isDisabled,i=ee().reduceMotion,o=Z("chakra-accordion__icon",e.className),s=z({opacity:r?.4:1,transform:n?"rotate(-180deg)":void 0,transition:i?void 0:"transform 0.2s",transformOrigin:"center"},F().icon);return a.createElement(k.JO,z({viewBox:"0 0 24 24","aria-hidden":!0,
1className:o,__css:s},e),a.createElement("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}))}ne.displayName="AccordionIcon";var re=(0,s.Gp)((function(e,t){var n=e.children,i=e.className,o=te(e),l=o.htmlProps,u=(0,r.Z)(o,E),c=z(z({},F().container),{},{overflowAnchor:"none"}),d=(0,a.useMemo)((function(){return u}),[u]);return a.createElement(B,{value:d},a.createElement(s.m$.div,z(z({ref:t},l),{},{className:Z("chakra-accordion__item",i),__css:c}),"function"==typeof n?n({isExpanded:!!u.isOpen,isDisabled:!!u.isDisabled}):n))}));re.displayName="AccordionItem";var ie=(0,s.Gp)((function(e,t){var n=ee().reduceMotion,r=R(),i=r.getPanelProps,o=r.isOpen,l=i(e,t),u=Z("chakra-accordion__panel",e.className),c=F();n||delete l.hidden;var d=a.createElement(s.m$.div,z(z({},l),{},{__css:c.panel,className:u}));return n?d:a.createElement(I.UO,{in:o},d)}));ie.displayName="AccordionPanel";var oe=(0,s.Gp)((function(e,t){var n=e.children,i=e.reduceMotion,o=(0,r.Z)(e,S),l=(0,s.jC)("Accordion",o),u=X((0,j.Lr)(o)),c=u.htmlProps,d=u.descendants,f=(0,r.Z)(u,C),h=(0,a.useMemo)((function(){return z(z({},f),{},{reduceMotion:!!i})}),[f,i]);return a.createElement(W,{value:d},a.createElement(J,{value:h},a.createElement(U,{value:l},a.createElement(s.m$.div,z(z({ref:t},c),{},{className:Z("chakra-accordion",o.className),__css:l.root}),n))))}));oe.displayName="Accordion"},2156:function(e,t,n){e.exports=n(8482)},5261:function(e,t,n){"use strict";var r=n(6494),i=n(9515),o=n(6579),a=n(546),s=n(3991),l=["projectId","dataset","imageOptions","ignoreUnknownTypes"],u={imageOptions:{},ignoreUnknownTypes:!0};function c(e){return"block"===e._type&&e.listItem}e.exports=function(e,t,n,d){var f=r({},u,t),h=Array.isArray(f.blocks)?f.blocks:[f.blocks],p=a(h),m=o(p,f.listNestMode),v=s(n,f.serializers||{}),g=l.reduce((function(e,t){var n=f[t];return void 0!==n&&(e[t]=n),e}),{});function y(t,n,r,o){return"list"===(h=t)._type&&h.listItem?(s=(a=t).listItem,l=a.level,u=a._key,f=a.children.map(y),e(v.list,{key:u,level:l,type:s,options:g},f)):c(t)?function(t,n){var r=t._key,o=i(t).map(y);return e(v.listItem,{node:t,serializers:v,index:n,key:r,options:g},o)}(t,function(e,t){for(var n=0,r=0;r<t.length;r++){if(t[r]===e)return n;c(t[r])&&n++}return n}(t,r)):function(e){return"string"==typeof e||e.marks||"span"===e._type}(t)?d(t,v,n,{serializeNode:y}):function(t,n,r){var o=i(t).map((function(e,t,n){return y(e,t,n,!0)})),a={key:t._key||"block-".concat(n),node:t,isInline:r,serializers:v,options:g};return e(v.block,a,o)}(t,n,o);var a,s,l,u,f,h}var b=Boolean(f.renderContainerOnSingleChild),w=m.map(y);if(b||w.length>1){var x=f.className?{className:f.className}:{};return e(v.container,x,w)}return w[0]?w[0]:"function"==typeof v.empty?e(v.empty):v.empty}},9515:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function n(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var i=e.marks.reduce((function(e,r){e[r]=e[r]?e[r]+1:1;for(var i=t+1;i<n.length;i++){var o=n[i];if(!o.marks||!Array.isArray(o.marks)||-1===o.marks.indexOf(r))break;e[r]++}return e}),{}),o=r.bind(null,i);return e.marks.slice().sort(o)}function r(e,n,r){var i=e[n]||0,o=e[r]||0;if(i!==o)return o-i;var a=t.indexOf(n),s=t.indexOf(r);return a!==s?a-s:n<r?-1:n>r?1:0}e.exports=function(e){var t=e.children,r=e.markDefs;if(!t||!t.length)return[];var i=t.map(n),o={_type:"span",children:[]},a=[o];return t.forEach((function(e,t){var n=i[t];if(n){var o=1;if(a.length>1)for(;o<a.length;o++){var s=a[o].markKey,l=n.indexOf(s);if(-1===l)break;n.splice(l,1)}var u,c=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}return}(a=a.slice(0,o));if(n.forEach((function(t){var n={_type:"span",_key:e._key,children:[],mark:r.find((function(e){return e._key===t}))||t,markKey:t};c.children.push(n),a.push(n),c=n})),"span"!==(u=e)._type||"string"!=typeof u.text||!Array.isArray(u.marks)&&void 0!==u.marks)c.children=c.children.concat(e);else{for(var d=e.text.split("\n"),f=d.length;f-- >1;)d.splice(f,0,"\n");c.children=c.children.concat(d)}}else{a[a.length-1].children.push(e)}})),o.children}},546:function(e,t,n){"use strict";var r=n(6494);function i(e){var t=0,n=e.length;if(0===n)return t;for(var r=0;r<n;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}e.exports=function(e){return e.map((function(e){return e._key?e:r({_key:(t=e,i(JSON.stringify(t)).toString(36).replace(/[^A-Za-z0-9]/g,""))},e);var t}))}},3904:function(e,t,n){"use strict";
1var r=n(8430),i=n(2885),o=n(6494),a=encodeURIComponent,s="You must either:\n - Pass `projectId` and `dataset` to the block renderer\n - Materialize images to include the `url` field.\n\nFor more information, see ".concat(r("block-content-image-materializing"));e.exports=function(e){var t=e.node,n=e.options,r=n.projectId,l=n.dataset,u=t.asset;if(!u)throw new Error("Image does not have required `asset` property");if(u.url)return u.url+function(e){var t=e.imageOptions,n=Object.keys(t);if(!n.length)return"";var r=n.map((function(e){return"".concat(a(e),"=").concat(a(t[e]))}));return"?".concat(r.join("&"))}(n);if(!r||!l)throw new Error(s);if(!u._ref)throw new Error("Invalid image reference in block, no `_ref` found on `asset`");return i(o({projectId:r,dataset:l},n.imageOptions||{})).image(t).toString()}},8482:function(e,t,n){"use strict";var r=n(2898),i=n(5261),o=n(3904),a=n(3991);e.exports={blocksToNodes:function(e,t,n,o){if(n)return i(e,t,n,o);var a=r(e);return i(e,t,a.defaultSerializers,a.serializeSpan)},getSerializers:r,getImageUrl:o,mergeSerializers:a}},3991:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=n(6494);e.exports=function(e,t){return Object.keys(e).reduce((function(n,o){var a=r(e[o]);return n[o]="function"===a?void 0!==t[o]?t[o]:e[o]:"object"===a?i({},e[o],t[o]):void 0===t[o]?e[o]:t[o],n}),{})}},6579:function(e,t,n){"use strict";var r=n(6494);function i(e){return Boolean(e.listItem)}function o(e,t){return e.level===t.level&&e.listItem===t.listItem}function a(e){return{_type:"list",_key:"".concat(e._key,"-parent"),level:e.level,listItem:e.listItem,children:[e]}}function s(e){return e.children&&e.children[e.children.length-1]}function l(e,t){var n="string"==typeof t.listItem;if("list"===e._type&&e.level===t.level&&n&&e.listItem===t.listItem)return e;var r=s(e);return!!r&&l(r,t)}e.exports=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html",u=[],c=0;c<e.length;c++){var d=e[c];if(i(d))if(t)if(o(d,t))t.children.push(d);else if(d.level>t.level){var f=a(d);if("html"===n){var h=s(t),p=r({},h,{children:h.children.concat(f)});t.children[t.children.length-1]=p}else t.children.push(f);t=f}else if(d.level<t.level){var m=l(u[u.length-1],d);if(m){(t=m).children.push(d);continue}t=a(d),u.push(t)}else if(d.listItem===t.listItem)console.warn("Unknown state encountered for block",d),u.push(d);else{var v=l(u[u.length-1],{level:d.level});if(v&&v.listItem===d.listItem){(t=v).children.push(d);continue}t=a(d),u.push(t)}else t=a(d),u.push(t);else u.push(d),t=null}return u}},2898:function(e,t,n){"use strict";var r=n(6494),i=n(3904);e.exports=function(e,t){var n=t||{useDashedStyles:!1};function o(t,n){return e(t,null,n.children)}return{defaultSerializers:{types:{block:function(t){var n=t.node.style||"normal";return/^h\d/.test(n)?e(n,null,t.children):e("blockquote"===n?"blockquote":"p",null,t.children)},image:function(t){if(!t.node.asset)return null;var n=e("img",{src:i(t)});return t.isInline?n:e("figure",null,n)}},marks:{strong:o.bind(null,"strong"),em:o.bind(null,"em"),code:o.bind(null,"code"),underline:function(t){var r=n.useDashedStyles?{"text-decoration":"underline"}:{textDecoration:"underline"};return e("span",{style:r},t.children)},"strike-through":function(t){return e("del",null,t.children)},link:function(t){return e("a",{href:t.mark.href},t.children)}},list:function(t){var n="bullet"===t.type?"ul":"ol";return e(n,null,t.children)},listItem:function(t){var n=t.node.style&&"normal"!==t.node.style?e(t.serializers.types.block,t,t.children):t.children;return e("li",null,n)},block:function(t){var n=t.node,r=t.serializers,i=t.options,o=t.isInline,a=t.children,s=n._type,l=r.types[s];if(!l){if(i.ignoreUnknownTypes)return console.warn('Unknown block type "'.concat(s,'", please specify a serializer for it in the `serializers.types` prop')),e(r.unknownType,{node:n,options:i,isInline:o},a);throw new Error('Unknown block type "'.concat(s,'", please specify a serializer for it in the `serializers.types` prop'))}return e(l,{node:n,options:i,isInline:o},a)},span:function(t){var n=t.node,r=n.mark,i=n.children,o="string"==typeof r?r:r._type,a=t.serializers.marks[o];return a?e(a,t.node,i):(console.warn('Unknown mark type "'.concat(o,'", please specify a serializer for it in the `serializers.marks` prop')),e(t.serializers.unknownMark,null,i))},hardBreak:function(){return e("br")},unknownType:function(t){return e("div",{style:{display:"none"}}
1,'Unknown block type "'.concat(t.node._type,'", please specify a serializer for it in the `serializers.types` prop'))},unknownMark:"span",container:"div",text:void 0,empty:""},serializeSpan:function(t,n,i,o){if("\n"===t&&n.hardBreak)return e(n.hardBreak,{key:"hb-".concat(i)});if("string"==typeof t)return n.text?e(n.text,{key:"text-".concat(i)},t):t;var a;t.children&&(a={children:t.children.map((function(e,n){return o.serializeNode(e,n,t.children,!0)}))});var s=r({},t,a);return e(n.span,{key:t._key||"span-".concat(i),node:s,serializers:n})}}}},8430:function(e){e.exports=function(e){return"https://docs.sanity.io/help/"+e}},1072:function(e,t,n){"use strict";var r=n(7294),i=n(5697),o=n(2156),a=n(8804),s=a.serializers,l=a.serializeSpan,u=a.renderProps,c=o.getImageUrl,d=o.blocksToNodes,f=o.mergeSerializers,h=r.createElement,p=function e(t){var n=f(e.defaultSerializers,t.serializers),r=Object.assign({},u,t,{serializers:n,blocks:t.blocks||[]});return d(h,r,s,l)};p.defaultSerializers=s,p.getImageUrl=c,p.propTypes={className:i.string,renderContainerOnSingleChild:i.bool,ignoreUnknownTypes:i.bool,projectId:i.string,dataset:i.string,imageOptions:i.object,serializers:i.shape({types:i.object,marks:i.object,list:i.func,listItem:i.func,block:i.func,span:i.func}),blocks:i.oneOfType([i.arrayOf(i.shape({_type:i.string.isRequired})),i.shape({_type:i.string.isRequired})]).isRequired},p.defaultProps={ignoreUnknownTypes:!0,renderContainerOnSingleChild:!1,serializers:{},imageOptions:{}},e.exports=p},8804:function(e,t,n){"use strict";var r=n(7294),i=(0,n(2156).getSerializers)(r.createElement),o=i.defaultSerializers,a=i.serializeSpan;e.exports={serializeSpan:a,serializers:o,renderProps:{nestMarks:!0}}},2885:function(e){e.exports=function(){function e(){return e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.apply(this,arguments)}function t(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){var n=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=t(e)))return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var i="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(e){var t=e.split("-"),n=t[1],r=t[2],o=t[3];if(!n||!r||!o)throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+i+'".');var a=r.split("x"),s=+a[0],l=+a[1];if(!isFinite(s)||!isFinite(l))throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+i+'".');return{id:n,width:s,height:l,format:o}}var a=function(e){return!!e&&"string"==typeof e._ref},s=function(e){return!!e&&"string"==typeof e._id},l=function(e){var t=e;return!(!t||!t.asset)&&"string"==typeof t.asset.url};function u(e){if(!e)return null;var t;if("string"==typeof e&&c(e))t={asset:{_ref:d(e)}};else if("string"==typeof e)t={asset:{_ref:e}};else if(a(e))t={asset:e};else if(s(e))t={asset:{_ref:e._id||""}};else if(l(e))t={asset:{_ref:d(e.asset.url)}};else{if("object"!=typeof e.asset)return null;t=e}var n=e;return n.crop&&(t.crop=n.crop),n.hotspot&&(t.hotspot=n.hotspot),f(t)}function c(e){return/^https?:\/\//.test(""+e)}function d(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}function f(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}var h=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]
1];function p(t){var n=e({},t||{}),r=n.source;delete n.source;var i=u(r);if(!i)return null;var a=o(i.asset._ref||i.asset._id||""),s=Math.round(i.crop.left*a.width),l=Math.round(i.crop.top*a.height),c={left:s,top:l,width:Math.round(a.width-i.crop.right*a.width-s),height:Math.round(a.height-i.crop.bottom*a.height-l)},d=i.hotspot.height*a.height/2,f=i.hotspot.width*a.width/2,h=i.hotspot.x*a.width,p=i.hotspot.y*a.height,g={left:h-f,top:p-d,right:h+f,bottom:p+d};return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n=e(e({},n),v({crop:c,hotspot:g},n))),m(e(e({},n),{},{asset:a}))}function m(e){var t=e.baseUrl||"https://cdn.sanity.io",n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,r=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,i=[];if(e.rect){var o=e.rect,a=o.left,s=o.top,l=o.width,u=o.height;(0!==a||0!==s||u!==e.asset.height||l!==e.asset.width)&&i.push("rect="+a+","+s+","+l+","+u)}e.bg&&i.push("bg="+e.bg),e.focalPoint&&(i.push("fp-x="+e.focalPoint.x),i.push("fp-y="+e.focalPoint.y));var c=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return c&&i.push("flip="+c),h.forEach((function(t){var n=t[0],r=t[1];void 0!==e[n]?i.push(r+"="+encodeURIComponent(e[n])):void 0!==e[r]&&i.push(r+"="+encodeURIComponent(e[r]))})),0===i.length?r:r+"?"+i.join("&")}function v(e,t){var n,r=t.width,i=t.height;if(!r||!i)return{width:r,height:i,rect:e.crop};var o=e.crop,a=e.hotspot,s=r/i;if(o.width/o.height>s){var l=o.height,u=l*s,c=o.top,d=(a.right-a.left)/2+a.left-u/2;d<o.left?d=o.left:d+u>o.left+o.width&&(d=o.left+o.width-u),n={left:Math.round(d),top:Math.round(c),width:Math.round(u),height:Math.round(l)}}else{var f=o.width,h=f/s,p=o.left,m=(a.bottom-a.top)/2+a.top-h/2;m<o.top?m=o.top:m+h>o.top+o.height&&(m=o.top+o.height-h),n={left:Math.max(0,Math.floor(p)),top:Math.max(0,Math.floor(m)),width:Math.round(f),height:Math.round(h)}}return{width:r,height:i,rect:n}}var g=["clip","crop","fill","fillmax","max","scale","min"],y=["top","bottom","left","right","center","focalpoint","entropy"],b=["format"];function w(e){return!!e&&"object"==typeof e.clientConfig}function x(e){for(var t,n=r(h);!(t=n()).done;){var i=t.value,o=i[0],a=i[1];if(e===o||e===a)return o}return e}function k(e){var t=e;if(w(t)){var n=t.clientConfig,r=n.apiHost,i=n.projectId,o=n.dataset;return new O(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:i,dataset:o})}return new O(null,e)}var O=function(){function t(t,n){this.options=e(t?e({},t.options||{}):{},n||{})}var n=t.prototype;return n.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,i={baseUrl:r};for(var o in n)n.hasOwnProperty(o)&&(i[x(o)]=n[o]);return new t(this,e({baseUrl:r},i))},n.image=function(e){return this.withOptions({source:e})},n.dataset=function(e){return this.withOptions({dataset:e})},n.projectId=function(e){return this.withOptions({projectId:e})},n.bg=function(e){return this.withOptions({bg:e})},n.dpr=function(e){return this.withOptions({dpr:e})},n.width=function(e){return this.withOptions({width:e})},n.height=function(e){return this.withOptions({height:e})},n.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},n.maxWidth=function(e){return this.withOptions({maxWidth:e})},n.minWidth=function(e){return this.withOptions({minWidth:e})},n.maxHeight=function(e){return this.withOptions({maxHeight:e})},n.minHeight=function(e){return this.withOptions({minHeight:e})},n.size=function(e,t){return this.withOptions({width:e,height:t})},n.blur=function(e){return this.withOptions({blur:e})},n.sharpen=function(e){return this.withOptions({sharpen:e})},n.rect=function(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})},n.format=function(e){return this.withOptions({format:e})},n.invert=function(e){return this.withOptions({invert:e})},n.orientation=function(e){return this.withOptions({orientation:e})},n.quality=function(e){return this.withOptions({quality:e})},n.forceDownload=function(e){return this.withOptions({download:e})},n.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},n.flipVertical=function(){return this.withOptions({flipVertical:!0})},n.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},n.fit=function(e){if(-1===g.indexOf(e))throw new Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},n.crop=function(e){if(-1===y.indexOf(e))throw new Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},n.saturation=function(e){return this.withOptions({saturation:e})},n.auto=function(e){if(-1===b.indexOf(e))throw new Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},n.pad=function(e){return this.withOptions({pad:e})},n.url=function(){return p(this.options)},n.toString=function(){return this.url()},t}();return k}()},2716:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(1072),i=n.n(r),o=n(5116),a=n(3550),s=n(5893),l=function(e){var t=e.node.style,n=void 0===t?"normal":t,r=e.children;switch(n){case"h1":return(0,s.jsx)(o.X6,{as:"h1",size:"2xl",my:"8",children:r});case"h2":return(0,s.jsx)(o.X6,{as:"h2",size:"xl",my:"6",children:r});case"h3":return(0,s.jsx)(o.X6,{as:"h3",size:"lg",my:"5",children:r});case"h4":return(0,s.jsx)(o.X6,{as:"h4",size:"md",my:"4",children:r});case"blockquote":return(0,s.jsx)(o.EK,{as:"blockquote",my:"2",p:2,bg:"primary.100",children:r});case"normal":return(0,s.jsx)(o.xv,{my:"2",lineHeight:"tall",children:r});default:return i().defaultSerializers.types.block(e)}},u=function(e){var t=e.children;return(0,s.jsx)(o.HC,{children:t})},c=function(e){var t=e.children,n=e.type;return"bullet"===n?(0,s.jsx)(o.QI,{spacing:3,children:t}):"number"===n?(0,s.jsx)(o.GS,{spacing:3,children:t}):(0,s.jsx)(o.aV,{spacing:3,children:t})},d=function(e){var t=e.mark,n=e.children;return(0,s.jsx)(o.rU,{href:t.href,children:n})};function f(e){var t=e.data,n=(0,a.Z)().translateBlock;return(0,s.jsx)(i(),{blocks:n(t),serializers:{types:{block:l},listItem:u,list:c,marks:{link:d}},projectId:"qssoymsm",dataset:"production"})}},4e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3366),i=n(3723),o=n(5893),a=["hotspot","crop"];function s(e){var t=e.hotspot,n=e.crop,s=(0,r.Z)(e,a),l={};if(n){var u=n.left,c=n.right,d=n.top,f=n.bottom,h=s.image,p=h.width,m=h.height,v=1-(u||0)-(c||0),g=1-(d||0)-(f||0);if(1!==v||1!==g){var y=p*v/(m*g);l.style={aspectRatio:y},l.imgStyle={width:100*v+"%",height:100*g+"%"},l.objectFit="none"}}return t&&(l.objectPosition=[null==t?void 0:t.x,null==t?void 0:t.y].map((function(e){return e?(100*e).toFixed(2)+"%":"100%"})).join(" ")),(0,o.jsx)(i.G,Object.assign({},l,s))}},7606:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5116),i=n(3550),o=n(5893);function a(e){var t=e.state,n=(0,i.Z)().format,a="gray",s=n("state.outOfStock");
1return"new"===t&&(a="green",s=n("state.new")),"sale"===t&&(a="red",s=n("state.sale")),(0,o.jsx)(r.Ct,{rounded:"full",px:"2",mb:1,fontSize:"0.8em",colorScheme:a,children:s})}},9141:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5116),i=n(7782),o=n(3550),a=n(1746),s=n(4e3),l=n(7606),u=n(5893);function c(e){var t,n,c,d,f,h,p,m,v,g,y=e.product,b=(0,o.Z)().translate,w="/productos/"+((null==y||null===(t=y.slug)||void 0===t?void 0:t.current)||"");if(!y.title)return null;var x=y.description?b(y.description):"",k=(y.price||0)/100;return(0,u.jsxs)(r.xu,{w:"100%",overflow:"hidden",willChange:"transform",position:"relative",transition:".3s ease-in-out",role:"group",_hover:{transform:"scale(1.1)",color:"primary.600"},as:i.Link,to:w,children:[(0,u.jsx)(r.xu,{w:"100%",h:"20rem",overflow:"hidden",willChange:"transform",position:"relative",rounded:"lg",display:"grid",children:(null==y||null===(n=y.images)||void 0===n||null===(c=n[0])||void 0===c?void 0:c.asset)&&(null==y?void 0:y.title)&&(0,u.jsx)(s.Z,{image:y.images[0].asset.gatsbyImageData,hotspot:y.images[0].hotspot,crop:y.images[0].crop,alt:b(y.title),style:{height:"20rem"}})}),(0,u.jsxs)(r.xu,{py:"2",children:[!!y.state&&(0,u.jsx)(l.Z,{state:y.state}),(0,u.jsx)(r.xv,{fontSize:"lg",color:"gray.600",mb:1,_groupHover:{color:"primary.600"},children:y.title?b(y.title):""}),(0,u.jsx)(r.xv,{fontSize:"xl",children:(0,a.Z)(y.price||0)})]}),(0,u.jsx)(r.xu,{display:"none",children:(0,u.jsx)("button",{className:"snipcart-add-item",type:"button","data-item-id":y._id,"data-item-price":k,"data-item-url":"/productos/"+(null==y||null===(d=y.slug)||void 0===d?void 0:d.current),"data-item-description":x,"data-item-image":null==y||null===(f=y.images)||void 0===f||null===(h=f[0])||void 0===h||null===(p=h.asset)||void 0===p||null===(m=p.gatsbyImageData)||void 0===m||null===(v=m.images)||void 0===v||null===(g=v.fallback)||void 0===g?void 0:g.src,"data-item-name":b(y.title),"data-item-max-quantity":1,children:"Hidden button"})})]})}},4690:function(e,t,n){"use strict";var r=n(5414),i=n(1597),o=n(7782),a=n(7294),s=n(5893);t.Z=function(e){var t,n,l,u,c,d,f,h=e.description,p=void 0===h?"":h,m=e.meta,v=void 0===m?[]:m,g=e.title,y=void 0===g?"":g,b=e.image,w=(0,a.useContext)(o.I18nextContext).language,x=(0,i.useStaticQuery)("2011928189").siteSettings,k=p||(null==x||null===(t=x.openGraph)||void 0===t||null===(n=t.description)||void 0===n?void 0:n[w])||"",O=(null==x||null===(l=x.openGraph)||void 0===l||null===(u=l.title)||void 0===u?void 0:u[w])||"En Base Studio",I=y||O,j=null!=b?b:null==x||null===(c=x.openGraph)||void 0===c||null===(d=c.image)||void 0===d||null===(f=d.asset)||void 0===f?void 0:f.gatsbyImageData;return(0,s.jsx)(r.Helmet,{htmlAttributes:{lang:w},title:I,titleTemplate:O?"%s | "+O:null,meta:[{name:"description",content:k},{property:"og:title",content:I},{property:"og:description",content:k},{property:"og:type",content:"website"},{name:"og:image",content:j.images.fallback.src},{name:"og:image:width",content:""+j.width},{name:"og:image:height",content:""+j.height},{name:"twitter:image",content:j.images.fallback.src},{name:"twitter:card",content:"summary"},{name:"twitter:title",content:I},{name:"twitter:description",content:k}].concat(v)})}},1746:function(e,t,n){"use strict";function r(e){void 0===e&&(e=0);var t={style:"currency",currency:"USD",minimumFractionDigits:2};return e%100==0&&(t.minimumFractionDigits=0),Intl.NumberFormat("en-US",t).format(e/100)}n.d(t,{Z:function(){return r}})}}]); 2//# sourceMappingURL=51975a1a41ff513967a7f1b42cda158330f76150-5b6ca7a7947feb614472.js.map
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.