PageSourceSearch

https://www.comfama.com/ayuda/component---src-components-organisms…rticle-template-tsx-c51e0e818eae40547f9f.js

js comfama.com collected 2026-09-24 17:19:21 UTC 50,092 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcomfama_centrodeayuda_archetype=self.webpackChunkcomfama_centrodeayuda_archetype||[]).push([[966],{478:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return o}});var n=r(9578),o={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}},623:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get isBlock(){return c},get isEmptyParagraph(){return f},get isInline(){return l},get isText(){return s},get stripEmptyTrailingParagraphFromDocument(){return p}});var n=r(9578),o=r(3612);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function u(e,t){var r=!0,n=!1,o=void 0;try{for(var i,a=Object.keys(e)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){if(t===e[i.value])return!0}}catch(u){n=!0,o=u}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!1}function l(e){return u(o.INLINES,e.nodeType)}function c(e){return u(n.BLOCKS,e.nodeType)}function s(e){return"text"===e.nodeType}function f(e){if(e.nodeType!==n.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var t=e.content[0];return"text"===t.nodeType&&""===t.value}function E(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!E(e)||e.content.length<d?e:f(e.content[e.content.length-1])?a(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){i(e,t,r[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}},1463:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get EntityLinkAssertion(){return v},get HyperLinkAssertion(){return m},get NodeAssertion(){return h},get VOID_CONTENT(){return y},get assert(){return L},get assertLink(){return b}});var n=r(9225);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,r){return t=s(t),function(e,t){if(t&&("object"==(r=t,r&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;var r;return i(e)}(e,p()?Reflect.construct(t,r||[],s(e).constructor):t.apply(e,r))}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
1function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function d(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p=function(){return!!e})()}var y=[],h=function(){function e(t,r){u(this,e),c(this,"contentRule",void 0),c(this,"validateData",void 0),this.contentRule=t,this.validateData=r}var t,r,o;return t=e,(r=[{key:"assert",value:function(e,t){var r=new n.ObjectAssertion(e,t);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=o.nodeTypes,a=o.min,u=void 0===a?0:a;if(0===i.length&&u>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(u," with no nodeTypes"));if(r.minLength("content",u),0===i.length?r.empty("content"):r.each("content",function(e,t){var r=new n.ObjectAssertion(e,t);return r.object()?(r.enum("nodeType",i),r.errors):r.errors}),r.object("data")){var l,c,s,f=null!==(s=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,t.of("data")))&&void 0!==s?s:[];(l=r).catch.apply(l,d(f))}return r.errors}}])&&l(t.prototype,r),o&&l(t,o),e}(),v=function(e){function t(e,r){var o;return u(this,t),c(o=a(this,t,[r,function(e,t){return i(o).assertLink(e,t)}]),"linkType",void 0),c(o,"type",void 0),c(o,"assertLink",void 0),o.linkType=e,o.assertLink=function(e,t){var r=new n.ObjectAssertion(e,t);if(r.object("target")){var i,a=new n.ObjectAssertion(e.target.sys,t.of("target").of("sys"));a.object()&&(a.enum("type",[o.type]),a.enum("linkType",[o.linkType]),"Link"===o.type?(a.string("id"),a.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===o.type&&(a.string("urn"),a.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(a.errors))}return r.noAdditionalProperties(["target"]),r.errors},o.type=o.linkType.startsWith("Contentful:")?"ResourceLink":"Link",o}return f(t,e),t}(h),m=function(e){function t(){var e;return u(this,t),c(e=a(this,t,[["text"],function(t,r){return i(e).assertLink(t,r)}]),"assertLink",function(e,t){var r=new n.ObjectAssertion(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return f(t,e),t}(h),L=function(e,t){return new h(e,t)},b=function(e,t){return new v(e,t)}},1723:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get CONTAINERS(){return p},get HEADINGS(){return y},get LIST_ITEM_BLOCKS(){return f},get TABLE_BLOCKS(){return E},get TEXT_CONTAINERS(){return h},get TOP_LEVEL_BLOCKS(){return s},get V1_MARKS(){return m},get V1_NODE_TYPES(){return v},get VOID_BLOCKS(){return d}});var n=r(9578),o=r(3612),i=r(3096);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l,c,s=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],f=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],E=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],d=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],p=(u(l={},n.BLOCKS.OL_LIST,[n.BLOCKS.LIST_ITEM]),u(l,n.BLOCKS.UL_LIST,[n.BLOCKS.LIST_ITEM]),u(l,n.BLOCKS.LIST_ITEM,f),u(l,n.BLOCKS.QUOTE,[n.BLOCKS.PARAGRAPH]),u(l,n.BLOCKS.TABLE,[n.BLOCKS.TABLE_ROW]),u(l,n.BLOCKS.TABLE_ROW,[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL]),u(l,n.BLOCKS.TABLE_CELL,[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST]),u(l,n.BLOCKS.TABLE_HEADER_CELL,[n.BLOCKS.PARAGRAPH]),l),y=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],h=[n.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return a(e)}(c=y)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return a(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(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,o.INLINES.HYPERLINK,o.INLINES.ENTRY_HYPERLINK,o.INLINES.ASSET_HYPERLINK,o.INLINES.EMBEDDED_ENTRY,"text"],m=[i.MARKS.BOLD,i.MARKS.CODE,i.MARKS.ITALIC,i.MARKS.UNDERLINE]},1932:function(e,t,r){var n=r(6540),o=r(7220),i=r(4848);t.A=e=>{let{closeVideoModal:t,linkID:r}=e;return(0,n.useEffect)(()=>{document.body.classList.add("noscroll")},[]),(0,i.jsxs)("div",{className:"a-video-modal",onClick:t,children:[(0,i.jsx)("div",{className:"close-modal-icon",children:(0,i.jsx)("img",{src:o.A,alt:"ícono cerrar video"})}),(0,i.jsx)("iframe",{className:"a-video-modal__player",src:"https://www.youtube.com/embed/"+r+"?autoplay=1;",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})]})}}
1,3096:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return r}});var r=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})},3278:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get BLOCKS(){return n.BLOCKS},get EMPTY_DOCUMENT(){return a.EMPTY_DOCUMENT},get INLINES(){return o.INLINES},get MARKS(){return i.MARKS},get helpers(){return u},get validateRichTextDocument(){return l.validateRichTextDocument}});var n=r(9578),o=r(3612),i=r(3096);c(r(1723),t),c(r(3347),t),c(r(9635),t);var a=r(478),u=f(r(623)),l=r(9383);function c(e,t){return Object.keys(e).forEach(function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}},3347:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},3488:function(e,t){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get enumError(){return u},get maxSizeError(){return a},get minSizeError(){return i},get requiredPropertyError(){return c},get typeMismatchError(){return o},get unknownPropertyError(){return l}});var o=function(e){var t=e.path,r=e.property,n=e.typeName,o=e.value;return{details:'The type of "'.concat(r,'" is incorrect, expected type: ').concat(n),name:"type",path:t.toArray(),type:n,value:o}},i=function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:r}},a=function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:r}},u=function(e){var t=e.expected,r=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:o.toArray(),value:r}},l=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}},c=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}},3612:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return r}});var r=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})},4240:function(e,t,r){var n=r(6540),o=r(3278);function i(e,t){return e.map((e,r)=>{return o=a(e,t),i=r,n.isValidElement(o)&&null===o.key?n.cloneElement(o,{key:i}):o;var o,i})}function a(e,t){const{renderNode:r,renderMark:a,renderText:u,preserveWhitespace:l}=t;if(o.helpers.isText(e)){let t=u?u(e.value):e.value;if(l&&!u){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const e=t.split("\n"),r=[];e.forEach((t,o)=>{r.push(t),o!==e.length-1&&r.push(n.createElement("br",null))}),t=r}return e.marks.reduce((e,t)=>
1a[t.type]?a[t.type](e):e,t)}{const o=i(e.content,t);return e.nodeType&&r[e.nodeType]?r[e.nodeType](e,o):n.createElement(n.Fragment,null,o)}}const u={[o.BLOCKS.DOCUMENT]:(e,t)=>t,[o.BLOCKS.PARAGRAPH]:(e,t)=>n.createElement("p",null,t),[o.BLOCKS.HEADING_1]:(e,t)=>n.createElement("h1",null,t),[o.BLOCKS.HEADING_2]:(e,t)=>n.createElement("h2",null,t),[o.BLOCKS.HEADING_3]:(e,t)=>n.createElement("h3",null,t),[o.BLOCKS.HEADING_4]:(e,t)=>n.createElement("h4",null,t),[o.BLOCKS.HEADING_5]:(e,t)=>n.createElement("h5",null,t),[o.BLOCKS.HEADING_6]:(e,t)=>n.createElement("h6",null,t),[o.BLOCKS.EMBEDDED_ENTRY]:(e,t)=>n.createElement("div",null,t),[o.BLOCKS.EMBEDDED_RESOURCE]:(e,t)=>n.createElement("div",null,t),[o.BLOCKS.UL_LIST]:(e,t)=>n.createElement("ul",null,t),[o.BLOCKS.OL_LIST]:(e,t)=>n.createElement("ol",null,t),[o.BLOCKS.LIST_ITEM]:(e,t)=>n.createElement("li",null,t),[o.BLOCKS.QUOTE]:(e,t)=>n.createElement("blockquote",null,t),[o.BLOCKS.HR]:()=>n.createElement("hr",null),[o.BLOCKS.TABLE]:(e,t)=>n.createElement("table",null,n.createElement("tbody",null,t)),[o.BLOCKS.TABLE_ROW]:(e,t)=>n.createElement("tr",null,t),[o.BLOCKS.TABLE_HEADER_CELL]:(e,t)=>
1n.createElement("th",null,t),[o.BLOCKS.TABLE_CELL]:(e,t)=>n.createElement("td",null,t),[o.INLINES.ASSET_HYPERLINK]:e=>c(o.INLINES.ASSET_HYPERLINK,e),[o.INLINES.ENTRY_HYPERLINK]:e=>c(o.INLINES.ENTRY_HYPERLINK,e),[o.INLINES.RESOURCE_HYPERLINK]:e=>s(o.INLINES.RESOURCE_HYPERLINK,e),[o.INLINES.EMBEDDED_ENTRY]:e=>c(o.INLINES.EMBEDDED_ENTRY,e),[o.INLINES.EMBEDDED_RESOURCE]:(e,t)=>s(o.INLINES.EMBEDDED_RESOURCE,e),[o.INLINES.HYPERLINK]:(e,t)=>n.createElement("a",{href:e.data.uri},t)},l={[o.MARKS.BOLD]:e=>n.createElement("b",null,e),[o.MARKS.ITALIC]:e=>n.createElement("i",null,e),[o.MARKS.UNDERLINE]:e=>n.createElement("u",null,e),[o.MARKS.CODE]:e=>n.createElement("code",null,e),[o.MARKS.SUPERSCRIPT]:e=>n.createElement("sup",null,e),[o.MARKS.SUBSCRIPT]:e=>n.createElement("sub",null,e),[o.MARKS.STRIKETHROUGH]:e=>n.createElement("s",null,e)};function c(e,t){return n.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function s(e,t){return n.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}t.i=function(e,t={}){if(!e)return null;let r=e;return t.stripEmptyTrailingParagraph&&(r=o.helpers.stripEmptyTrailingParagraphFromDocument(e)),a(r,{renderNode:{...u,...t.renderNode},renderMark:{...l,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}},5256:function(e,t){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=r,this.of=function(r){return new e(o(t.path).concat([r]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}},5371:function(e,t,r){r.r(t),r.d(t,{Head:function(){return de},default:function(){return pe}});var n=r(9108),o=r(6540),i=r(4500),a=r(5552),u=r(4240),l=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),c=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),s=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d,p,y=[l.PARAGRAPH,l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6,l.OL_LIST,l.UL_LIST,l.HR,l.QUOTE,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,l.EMBEDDED_RESOURCE,l.TABLE],h=[l.PARAGRAPH,l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6,l.OL_LIST,l.UL_LIST,l.HR,l.QUOTE,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,l.EMBEDDED_RESOURCE],v=(l.TABLE,l.TABLE_ROW,l.TABLE_CELL,l.TABLE_HEADER_CELL,l.HR,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,l.EMBEDDED_RESOURCE,E(d={},l.OL_LIST,[l.LIST_ITEM]),E(d,l.UL_LIST,[l.LIST_ITEM]),E(d,l.LIST_ITEM,h),E(d,l.QUOTE,[l.PARAGRAPH]),E(d,l.TABLE,[l.TABLE_ROW]),E(d,l.TABLE_ROW,[l.TABLE_CELL,l.TABLE_HEADER_CELL]),E(d,l.TABLE_CELL,[l.PARAGRAPH,l.UL_LIST,l.OL_LIST]),E(d,l.TABLE_HEADER_CELL,[l.PARAGRAPH]),d),m=[l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6];[l.PARAGRAPH].concat(function(e){if(Array.isArray(e))return f(e)}(p=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(p)||function(e,t){if(e){if("string"==typeof e)return f(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(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(p)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l.DOCUMENT,l.PARAGRAPH,l.HEADING_1,l.HEADING_2,l.HEADING_3,l.HEADING_4,l.HEADING_5,l.HEADING_6,l.OL_LIST,l.UL_LIST,l.LIST_ITEM,l.HR,l.QUOTE,l.EMBEDDED_ENTRY,l.EMBEDDED_ASSET,c.HYPERLINK,c.ENTRY_HYPERLINK,c.ASSET_HYPERLINK,c.EMBEDDED_ENTRY,s.BOLD,s.CODE,s.ITALIC,s.UNDERLINE,l.DOCUMENT,l.PARAGRAPH;var L=r(6368);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function A(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);
1if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var S=function(e){var t=e.path,r=e.property,n=e.typeName,o=e.value;return{details:'The type of "'.concat(r,'" is incorrect, expected type: ').concat(n),name:"type",path:t.toArray(),type:n,value:o}};function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var D=function(){function e(t,r){var n=this,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),T(this,"obj",void 0),T(this,"path",void 0),T(this,"_errors",void 0),T(this,"catch",void 0),T(this,"exists",void 0),T(this,"object",void 0),T(this,"string",void 0),T(this,"number",void 0),T(this,"array",void 0),T(this,"enum",void 0),T(this,"empty",void 0),T(this,"minLength",void 0),T(this,"noAdditionalProperties",void 0),T(this,"each",void 0),this.obj=t,this.path=r,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;(n=o._errors).push.apply(n,I(t))},this.exists=function(e){return e in n.obj||(n.catch(function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}({property:e,path:n.path.of(e)})),!1)},this.object=function(e){var t=e?n.obj[e]:n.obj;if(e&&!n.exists(e))return!1;if(L(t))return!0;var r,o=e?n.path.of(e):n.path,i=null!==(r=null!=e?e:n.path.last())&&void 0!==r?r:"value";return n.catch(S({typeName:"Object",property:i,path:o,value:t})),!1},this.string=function(e){var t=n.obj[e];return!(e&&!n.exists(e))&&("string"==typeof t||(n.catch(S({typeName:"String",property:e,path:n.path.of(e),value:t})),!1))},this.number=function(e,t){var r=n.obj[e];return!(!t||e in n.obj)||!!n.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(n.catch(S({typeName:"Number",property:e,path:n.path.of(e),value:r})),!1))},this.array=function(e){var t=n.obj[e];return!(e&&!n.exists(e))&&(!!Array.isArray(t)||(n.catch(S({typeName:"Array",property:e,path:n.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=n.obj[e];return!("string"!=typeof r||!t.includes(r))||(n.catch(function(e){var t=e.expected,r=e.value,n=e.path;return{details:"Value must be one of expected values",name:"in",expected:A(t).sort(),path:n.toArray(),value:r}}({expected:t,value:r,path:n.path.of(e)})),!1)},this.empty=function(e){if(!n.array(e))return!1;var t=n.obj[e];return 0===t.length||(n.catch(function(e){var t=e.max,r=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:r}}({max:0,value:t,path:n.path.of(e)})),!1)},this.minLength=function(e,t){if(!n.array(e))return!1;var r=n.obj[e];return r.length>=t||(n.catch(function(e){var t=e.min,r=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:r}}({min:t,value:r,path:n.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(n.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return n.catch(function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}}({property:e,path:n.path.of(e)}))}),0===t.length},this.each=function(e,t){if(n.array(e)){var r=n.obj[e],o=!1;r.forEach(function(r,i){if(!o){var a=t(r,n.path.of(e).of(i));a.length>0&&(o=!0),n.catch.apply(n,I(a))}})}}}var t,r,n;return t=e,(r=[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===n})}}])&&_(t.prototype,r),n&&_(t,n),e}();function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t,r){return t=P(t),function(e,t){if(t&&("object"==(r=t,r&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;var r;return g(e)}(e,M()?Reflect.construct(t,r||[],P(e).constructor):t.apply(e,r))}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function K(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H(e,t)}
1function H(e,t){return H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},H(e,t)}function w(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return N(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M=function(){return!!e})()}var x=[],k=function(){function e(t,r){R(this,e),j(this,"contentRule",void 0),j(this,"validateData",void 0),this.contentRule=t,this.validateData=r}var t,r,n;return t=e,(r=[{key:"assert",value:function(e,t){var r=new D(e,t);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var n=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),o=n.nodeTypes,i=n.min,a=void 0===i?0:i;if(0===o.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(r.minLength("content",a),0===o.length?r.empty("content"):r.each("content",function(e,t){var r=new D(e,t);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var u,l,c,s=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(u=r).catch.apply(u,w(s))}return r.errors}}])&&B(t.prototype,r),n&&B(t,n),e}(),G=function(e){function t(e,r){var n;return R(this,t),j(n=C(this,t,[r,function(e,t){return g(n).assertLink(e,t)}]),"linkType",void 0),j(n,"type",void 0),j(n,"assertLink",void 0),n.linkType=e,n.assertLink=function(e,t){var r=new D(e,t);if(r.object("target")){var o,i=new D(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[n.type]),i.enum("linkType",[n.linkType]),"Link"===n.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===n.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=r).catch.apply(o,w(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},n.type=n.linkType.startsWith("Contentful:")?"ResourceLink":"Link",n}return K(t,e),t}(k),U=function(e){function t(){var e;return R(this,t),j(e=C(this,t,[["text"],function(t,r){return g(e).assertLink(t,r)}]),"assertLink",function(e,t){var r=new D(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return K(t,e),t}(k),Y=function(e,t){return new k(e,t)},W=function(e,t){return new G(e,t)};function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return V(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var $,q=Y(z(Object.values(c)).concat(["text"]).sort()),J=Y([l.LIST_ITEM]),F=W("Entry",x),X=Y(function(){return{nodeTypes:[l.PARAGRAPH],min:1}},function(e,t){var r=new D(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors});Q($={},l.DOCUMENT,Y(y)),Q($,l.PARAGRAPH,q),Q($,l.HEADING_1,q),Q($,l.HEADING_2,q),Q($,l.HEADING_3,q),Q($,l.HEADING_4,q),Q($,l.HEADING_5,q),Q($,l.HEADING_6,q),Q($,l.QUOTE,Y(v[l.QUOTE])),Q($,l.EMBEDDED_ENTRY,F),Q($,l.EMBEDDED_ASSET,W("Asset",x)),Q($,l.EMBEDDED_RESOURCE,W("Contentful:Entry",x)),Q($,l.HR,Y(x)),Q($,l.OL_LIST,J),Q($,l.UL_LIST,J),Q($,l.LIST_ITEM,Y(z(h).sort())),Q($,l.TABLE,Y(function(){return{nodeTypes:[l.TABLE_ROW],min:1}})),Q($,l.TABLE_ROW,Y(function(){return{nodeTypes:[l.TABLE_CELL,l.TABLE_HEADER_CELL],min:1}})),Q($,l.TABLE_CELL,X),Q($,l.TABLE_HEADER_CELL,X),Q($,c.HYPERLINK,new U),Q($,c.EMBEDDED_ENTRY,F),Q($,c.EMBEDDED_RESOURCE,W("Contentful:Entry",x)),Q($,c.ENTRY_HYPERLINK,W("Entry",["text"])),Q($,c.ASSET_HYPERLINK,W("Asset",["text"])),Q($,c.RESOURCE_HYPERLINK,W("Contentful:Entry",["text"]));var Z=r(9871),ee=r(8455),te=r(1932),re=r(4848);var ne=e=>{const{0:t,1:r}=(0,o.useState)(!1);return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)("span",{className:"a-article-button",onClick:()=>r(!0),role:"button",tabIndex:0,children:e.text}),t&&(0,re.jsx)(te.A,{closeVideoModal:()=>r(!1),linkID:e.idVideo})]})},oe=r(5817);var ie=r(5510);var ae=e=>{let{articleId:t,articleName:r}=e;const{choices:n,selectedChoice:i,handleChoice:a}=(()=>{const{window:e,localStorage:t}=(0,Z.A)(),{0:r,1:n}=(0,o.useState)([{name:"Sí",value:!0},{name:"No",value:!1}]),{0:i,1:a}=(0,o.useState)({});return(0,o.useEffect)(()=>{const o=JSON.parse((null==t?void 0:t.getItem("choices"))||"[]");if(o&&o.length>0){const t=o.find(t=>{var r,n;if(t.path===(null==e||null===(r=e.location)||void 0===r?void 0:r.pathname)||t.path===(null==e||null===(n=e.location)||void 0===n?void 0:n.pathname)+"/")return t});if(t){const e=r.filter(e=>e.value===t.value);n(e),a(e[0])}}},[]),{choices:r,selectedChoice:i,handleChoice:o=>{const i=JSON.parse((null==t?void 0:t.getItem("choices"))||"[]");i.length<1?t.setItem("choices",JSON.stringify([{value:o,path:e.location.pathname}])):(i.push({value:o,path:e.location.pathname}),t.setItem("choices",JSON.stringify(i)));const u=r.filter(e=>e.value===o);n(u),a(u[0])}}})();return(0,re.jsx)("div",{className:"m-rating-article",children:(0,re.jsxs)("div",{className:"rating-content "+(i.name?"rating-content--open":""),children:[(0,re.jsxs)("div",{className:"rating-box "+(i.name?"rating-box--open":""),children:[(0,re.jsx)("p",{tabIndex:-1,
1className:"rating-title "+(i.name?"rating-title--open":""),children:"¿Te resultó útil este contenido?"}),(0,re.jsx)("div",{className:"choices",children:n.map(e=>{let{name:t,value:n}=e;return(0,re.jsxs)("div",{className:"choices__item "+(n?"gtmArticuloLike"+(null==r?void 0:r.replace(/ /g,"")):"gtmArticulodislike"+(null==r?void 0:r.replace(/ /g,""))),children:[(0,re.jsx)("button",{className:(n?"choices__item--like gtmArticuloLike"+(null==r?void 0:r.replace(/ /g,"")):"gtmArticulodislike"+(null==r?void 0:r.replace(/ /g,"")))+" "+(i.value===n?"selected-choice":""),onClick:()=>a(n),"aria-label":"Responder con un "+t,tabIndex:i.name?-1:0,children:(0,re.jsx)(ie.p,{isActive:i.name})}),(0,re.jsx)("small",{children:t})]},t)})})]}),(0,re.jsx)("p",{className:"rated-message "+(i.name?"open":"closed"),children:"¡Gracias por tu respuesta!"})]})})},ue=r(8693);var le=e=>{let{data:t}=e;return 0===t.length?(0,re.jsx)(re.Fragment,{}):(0,re.jsxs)("div",{className:"m-related-articles",children:[(0,re.jsx)("h2",{children:"Artículos relacionados"}),(0,re.jsx)("ul",{children:null==t?void 0:t.map(e=>{let{url:t,h2:r}=e;return(0,re.jsxs)("li",{children:[(0,re.jsx)("div",{className:"bullet"}),(0,re.jsx)(ue.Link,{to:t,tabIndex:0,rel:"noopener noreferrer",onKeyDown:e=>(0,ee.Sk)(e,t),children:r})]},t)})})]})};var ce=e=>{var t,r,n;let{data:o,selectedSubcategory:i}=e;const{window:a}=(0,Z.A)(),f=null==o||null===(t=o.body)||void 0===t?void 0:t.filter(e=>{var t,r;return(null===(t=e.descripcion)||void 0===t||null===(r=t.references)||void 0===r?void 0:r.length)>0}),E=null!=f&&null!==(r=f[0])&&void 0!==r&&r.descripcion?f[0].descripcion:f,d=null==E?void 0:E.references,p={renderMark:{[s.CODE]:e=>ne(JSON.parse(e))},renderNode:{[l.HEADING_1]:(e,t)=>(0,re.jsx)("h1",{children:t}),[l.HEADING_2]:(e,t)=>(0,re.jsx)("h2",{children:t}),[l.HEADING_3]:(e,t)=>(0,re.jsx)("h3",{children:t}),[l.PARAGRAPH]:(e,t)=>(0,re.jsx)("p",{className:"a-paragraph",children:t}),[l.UL_LIST]:(e,t)=>(0,re.jsx)("ul",{className:"m-unorder-list",children:t}),[l.OL_LIST]:(e,t)=>(0,re.jsx)("ol",{className:"m-order-list",children:t}),[l.LIST_ITEM]:(e,t)=>(0,re.jsxs)("li",{className:"a-list-item",children:[(0,re.jsx)("div",{className:"bullet"}),t]}),[l.EMBEDDED_ASSET]:e=>{var t;const r=null==d?void 0:d.find(t=>{var r,n,o;return(null==e||null===(r=e.data)||void 0===r||null===(n=r.target)||void 0===n||null===(o=n.sys)||void 0===o?void 0:o.id)===t.contentful_id});return(0,re.jsx)("img",{src:null==r||null===(t=r.file)||void 0===t?void 0:t.url,alt:"Imagen "+(null==r?void 0:r.title)})},[c.HYPERLINK]:(e,t)=>{var r;return(0,re.jsx)("a",{rel:"noopener noreferrer",href:null==e||null===(r=e.data)||void 0===r?void 0:r.uri,target:"_blank",onKeyDown:t=>{var r;return(0,ee.Sk)(t,null==e||null===(r=e.data)||void 0===r?void 0:r.uri,!0)},children:t})}}};return(0,re.jsxs)("section",{className:"m-article-section",children:[(0,re.jsx)(oe.A,{selectedSubcategory:i,articleName:null==o?void 0:o.name}),(0,re.jsxs)("div",{className:"m-article-content",children:[(0,re.jsx)("h1",{className:"m-article-content__title",children:null==o?void 0:o.name}),(0,re.jsx)("div",{className:"m-article-content__body",children:null==o||null===(n=o.body)||void 0===n?void 0:n.map((e,t)=>{switch(e.tipoComponente){case"boton":return(0,re.jsx)("button",{onClick:()=>{return t=e.boton[0].url,void(a.location.href=t);var t},children:e.boton[0].copy},t);case"texto":return(0,u.i)(JSON.parse(e.descripcion.raw),p);default:return(0,re.jsxs)("div",{style:{display:"none"},children:[(0,re.jsxs)("pre",{children:[e.h3,", ",e.idVideo]}),(0,re.jsx)("img",{src:e.video[0].file.url,alt:""})]},t)}})})]}),(0,re.jsx)(ae,{articleId:null==o?void 0:o.id,articleName:null==o?void 0:o.name}),(0,re.jsx)(le,{data:null==o?void 0:o.relatedArticles})]})},se=r(3565);var fe=e=>{var t;let{data:r}=e;const{selectedSubCategory:n}=(0,a.c)(),{selectedTab:u}=(0,o.useContext)(i.F);return(0,o.useEffect)(()=>{var e,t;u.set(null!==(e=null===(t=r.dataArticle)||void 0===t?void 0:t.userType)&&void 0!==e?e:"personas")},[null===(t=r.dataArticle)||void 0===t?void 0:t.userType]),(0,re.jsxs)("div",{className:"o-article-page",children:[(0,re.jsx)("div",{className:"o-content-container",children:(0,re.jsx)(ce,{data:r.dataArticle,selectedSubcategory:n})}),(0,re.jsx)(se.A,{hideMobile:!0})]})},Ee=r(3701);const de=e=>{var t,r,n,o,i,a;let{pageContext:u,location:l}=e;return(0,re.jsx)(Ee.A,{title:null===(t=u.dataSEO)||void 0===t?void 0:t.metaTitle,de
1scription:null===(r=u.dataSEO)||void 0===r?void 0:r.metaDescription,index:null===(n=u.dataSEO)||void 0===n?void 0:n.index,ogImage:null===(o=u.dataSEO)||void 0===o||null===(i=o.metaImage)||void 0===i||null===(a=i.file)||void 0===a?void 0:a.url,pathname:l.pathname})};var pe=e=>{let{pageContext:t}=e;return(0,re.jsx)(n.A,{children:(0,re.jsx)(fe,{data:t})})}},5817:function(e,t,r){var n=r(8693),o=r(8455),i=r(4848);t.A=e=>{var t;let{selectedSubcategory:r,articleName:a}=e;return(0,i.jsx)("nav",{className:"a-breadcumbs",children:(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:(0,i.jsx)(n.Link,{to:"/","aria-label":"Regresar al inicio",onKeyDown:e=>(0,o.Sk)(e,"/"),children:"Centro de ayuda"})}),(0,i.jsx)("span",{children:"/"}),(0,i.jsx)("li",{children:(0,i.jsx)(n.Link,{to:null!==(t=null==r?void 0:r.url)&&void 0!==t?t:"/","aria-label":"Ir a "+(null==r?void 0:r.name),onKeyDown:e=>{var t;return(0,o.Sk)(e,null!==(t=null==r?void 0:r.url)&&void 0!==t?t:"/")},children:null==r?void 0:r.name})}),a&&(0,i.jsx)("span",{className:"slash",children:"/"}),a&&(0,i.jsx)("li",{className:"article_name",children:a})]})})}},6368:function(e){e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},9225:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ObjectAssertion",{enumerable:!0,get:function(){return s}});var n=l(r(6368)),o=r(3488);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=function(){function e(t,r){var i=this,a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,"obj",void 0),u(this,"path",void 0),u(this,"_errors",void 0),u(this,"catch",void 0),u(this,"exists",void 0),u(this,"object",void 0),u(this,"string",void 0),u(this,"number",void 0),u(this,"array",void 0),u(this,"enum",void 0),u(this,"empty",void 0),u(this,"minLength",void 0),u(this,"noAdditionalProperties",void 0),u(this,"each",void 0),this.obj=t,this.path=r,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;(n=a._errors).push.apply(n,c(t))},this.exists=function(e){return e in i.obj||(i.catch((0,o.requiredPropertyError)({property:e,path:i.path.of(e)})),!1)},this.object=function(e){var t=e?i.obj[e]:i.obj;if(e&&!i.exists(e))return!1;if((0,n.default)(t))return!0;var r,a=e?i.path.of(e):i.path,u=null!==(r=null!=e?e:i.path.last())&&void 0!==r?r:"value";return i.catch((0,o.typeMismatchError)({typeName:"Object",property:u,path:a,value:t})),!1},this.string=function(e){var t=i.obj[e];return!(e&&!i.exists(e))&&("string"==typeof t||(i.catch((0,o.typeMismatchError)({typeName:"String",property:e,path:i.path.of(e),value:t})),!1))},this.number=function(e,t){var r=i.obj[e];return!(!t||e in i.obj)||!!i.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(i.catch((0,o.typeMismatchError)({typeName:"Number",property:e,path:i.path.of(e),value:r})),!1))},this.array=function(e){var t=i.obj[e];return!(e&&!i.exists(e))&&(!!Array.isArray(t)||(i.catch((0,o.typeMismatchError)({typeName:"Array",property:e,path:i.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=i.obj[e];return!("string"!=typeof r||!t.includes(r))||(i.catch((0,o.enumError)({expected:t,value:r,path:i.path.of(e)})),!1)},this.empty=function(e){if(!i.array(e))return!1;var t=i.obj[e];return 0===t.length||(i.catch((0,o.maxSizeError)({max:0,value:t,path:i.path.of(e)})),!1)},this.minLength=function(e,t){if(!i.array(e))return!1;var r=i.obj[e];return r.length>=t||(i.catch((0,o.minSizeError)({min:t,value:r,path:i.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(i.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return i.catch((0,o.unknownPropertyError)({property:e,path:i.path.of(e)}))}),0===t.length},this.each=function(e,t){if(i.array(e)){var r=i.obj[e],n=!1;r.forEach(function(r,o){if(!n){var a=t(r,i.path.of(e).of(o));a.length>0&&(n=!0),i.catch.apply(i,c(a))}})}}}var t,r,i;return t=e,(r=[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(r,n){return e._errors.findIndex(function(e){return t(r)===t(e)})===n})}}])&&a(t.prototype,r),i&&a(t,i),e}()}
1,9383:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validateRichTextDocument",{enumerable:!0,get:function(){return b}});var n=r(9578),o=r(3612),i=r(1723),a=r(9225),u=r(1463),l=r(5256),c=r(9592);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,p=(0,u.assert)(E(Object.values(o.INLINES)).concat(["text"]).sort()),y=(0,u.assert)([n.BLOCKS.LIST_ITEM]),h=(0,u.assertLink)("Entry",u.VOID_CONTENT),v=(0,u.assert)(function(){return{nodeTypes:[n.BLOCKS.PARAGRAPH],min:1}},function(e,t){var r=new a.ObjectAssertion(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors}),m=(f(d={},n.BLOCKS.DOCUMENT,(0,u.assert)(i.TOP_LEVEL_BLOCKS)),f(d,n.BLOCKS.PARAGRAPH,p),f(d,n.BLOCKS.HEADING_1,p),f(d,n.BLOCKS.HEADING_2,p),f(d,n.BLOCKS.HEADING_3,p),f(d,n.BLOCKS.HEADING_4,p),f(d,n.BLOCKS.HEADING_5,p),f(d,n.BLOCKS.HEADING_6,p),f(d,n.BLOCKS.QUOTE,(0,u.assert)(i.CONTAINERS[n.BLOCKS.QUOTE])),f(d,n.BLOCKS.EMBEDDED_ENTRY,h),f(d,n.BLOCKS.EMBEDDED_ASSET,(0,u.assertLink)("Asset",u.VOID_CONTENT)),f(d,n.BLOCKS.EMBEDDED_RESOURCE,(0,u.assertLink)("Contentful:Entry",u.VOID_CONTENT)),f(d,n.BLOCKS.HR,(0,u.assert)(u.VOID_CONTENT)),f(d,n.BLOCKS.OL_LIST,y),f(d,n.BLOCKS.UL_LIST,y),f(d,n.BLOCKS.LIST_ITEM,(0,u.assert)(E(i.LIST_ITEM_BLOCKS).sort())),f(d,n.BLOCKS.TABLE,(0,u.assert)(function(){return{nodeTypes:[n.BLOCKS.TABLE_ROW],min:1}})),f(d,n.BLOCKS.TABLE_ROW,(0,u.assert)(function(){return{nodeTypes:[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],min:1}})),f(d,n.BLOCKS.TABLE_CELL,v),f(d,n.BLOCKS.TABLE_HEADER_CELL,v),f(d,o.INLINES.HYPERLINK,new u.HyperLinkAssertion),f(d,o.INLINES.EMBEDDED_ENTRY,h),f(d,o.INLINES.EMBEDDED_RESOURCE,(0,u.assertLink)("Contentful:Entry",u.VOID_CONTENT)),f(d,o.INLINES.ENTRY_HYPERLINK,(0,u.assertLink)("Entry",["text"])),f(d,o.INLINES.ASSET_HYPERLINK,(0,u.assertLink)("Asset",["text"])),f(d,o.INLINES.RESOURCE_HYPERLINK,(0,u.assertLink)("Contentful:Entry",["text"])),d);function L(e,t){if("text"===e.nodeType)return(0,c.assertText)(e,t);var r=m[e.nodeType].assert(e,t);if(r.length>0)return r;var n=new a.ObjectAssertion(e,t);return n.each("content",function(e,t){return L(e,t)}),n.errors}var b=function(e){var t=new l.Path,r=new a.ObjectAssertion(e,t);return r.object()&&r.enum("nodeType",[n.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:L(e,t)}},9578:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return r}});var r=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})},9592:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"assertText",{enumerable:!0,get:function(){return o}});var n=r(9225);function o(e,t){var r=new n.ObjectAssertion(e,t);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,t){var r=new n.ObjectAssertion(e,t);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}
1,9635:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})}}]);
2//# sourceMappingURL=component---src-components-organisms-article-template-article-template-tsx-c51e0e818eae40547f9f.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.