@windstream/react-shared-components 0.2.69 → 0.2.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("clsx"),t=require("tailwind-merge"),r=require("js-base64"),n=require("js-cookie"),o=require("react/jsx-runtime"),i=require("react"),a=require("@windstream/react-shared-components"),u=require("@windstream/react-shared-components"),l=require("@windstream/react-shared-components"),c=require("@windstream/react-shared-components"),s=require("@windstream/react-shared-components");const d=t.extendTailwindMerge({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),f="utm_parameters",p=".gokinetic.com";function E(e){if("undefined"==typeof window)return"";const t=n.get(e);return t?r.Base64.decode(t):null}const y=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const h="network-auth.com";function m(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search).get("base_grant_url");if(!e)return null;const t=function(e){try{const t=new URL(e);if("https:"!==t.protocol)return null;const{hostname:r}=t;return r===h||r.endsWith(`.${h}`)?t:null}catch(e){return null}}(e);return t?(t.searchParams.set("continue_url","https://www.gokinetic.com/free-public-wifi/success"),t.searchParams.set("duration","86400"),t.toString()):null}const v=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,L=e=>{if(!e)return null;if(v(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return v(t)?t:null}return null};function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var A,_={},S={},O={};function T(){return A||(A=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=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}({})}(O)),O}var g,D={};function I(){return g||(g=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=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}({})}(D)),D}var N,C={};function R(){return N||(N=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=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}({})}(C)),C}var B,j={};function w(){return B||(B=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get CONTAINERS(){return f},get HEADINGS(){return p},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return s},get TEXT_CONTAINERS(){return E},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return h},get V1_NODE_TYPES(){return y},get VOID_BLOCKS(){return d}});var t=T(),r=I(),n=R();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,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a,u,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],s=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],f=(i(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.LIST_ITEM,c),i(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),i(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),i(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),i(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),i(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),p=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],E=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(u=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return o(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)?o(e,t):void 0}}(u)||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.")}()),y=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,r.INLINES.HYPERLINK,r.INLINES.ENTRY_HYPERLINK,r.INLINES.ASSET_HYPERLINK,r.INLINES.EMBEDDED_ENTRY,"text"],h=[n.MARKS.BOLD,n.MARKS.CODE,n.MARKS.ITALIC,n.MARKS.UNDERLINE]}(j)),j}var P,K={};var H,x={};var M,k={};var U,G={};function Y(){return U||(U=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get isBlock(){return u},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return f}});var t=T(),r=I();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,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function i(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(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!1}function a(e){return i(r.INLINES,e.nodeType)}function u(e){return i(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var r=e.content[0];return"text"===r.nodeType&&""===r.value}function s(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 f(e){return!s(e)||e.content.length<d?e:c(e.content[e.content.length-1])?o(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){n(e,t,r[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(G)),G}var W,$,q={},V={};function z(){return $?W:($=1,W=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var Q,F,J={};function X(){return Q||(Q=1,function(e){function t(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 r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);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 t(e,r)}(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(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get enumError(){return a},get maxSizeError(){return i},get minSizeError(){return o},get requiredPropertyError(){return l},get typeMismatchError(){return n},get unknownPropertyError(){return u}});var n=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}},o=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}},i=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}},a=function(e){var t=e.expected,n=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:r(t).sort(),path:o.toArray(),value:n}},u=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}},l=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}}(J)),J}function Z(){return F||(F=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(z()),r=X();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 o(e,t,r){return t&&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)}}(e.prototype,t),e}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){return e&&e.__esModule?e:{default:e}}function u(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.")}()}var l=function(){function e(n,o){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"obj",void 0),i(this,"path",void 0),i(this,"_errors",void 0),i(this,"catch",void 0),i(this,"exists",void 0),i(this,"object",void 0),i(this,"string",void 0),i(this,"number",void 0),i(this,"array",void 0),i(this,"enum",void 0),i(this,"empty",void 0),i(this,"minLength",void 0),i(this,"noAdditionalProperties",void 0),i(this,"each",void 0),this.obj=n,this.path=o,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=l._errors).push.apply(n,u(t))},this.exists=function(e){return e in a.obj||(a.catch((0,r.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var n=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(n))return!0;var o,i=e?a.path.of(e):a.path,u=null!==(o=null!=e?e:a.path.last())&&void 0!==o?o:"value";return a.catch((0,r.typeMismatchError)({typeName:"Object",property:u,path:i,value:n})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,r.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var n=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(a.catch((0,r.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:n})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,r.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=a.obj[e];return!("string"!=typeof n||!t.includes(n))||(a.catch((0,r.enumError)({expected:t,value:n,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,r.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var n=a.obj[e];return n.length>=t||(a.catch((0,r.minSizeError)({min:t,value:n,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,r.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var r=a.obj[e],n=!1;r.forEach(function(r,o){if(!n){var i=t(r,a.path.of(e).of(o));i.length>0&&(n=!0),a.catch.apply(a,u(i))}})}}}return o(e,[{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})}}]),e}()}(V)),V}var ee,te={};function re(){return ee||(ee=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get EntityLinkAssertion(){return y},get HyperLinkAssertion(){return h},get NodeAssertion(){return E},get VOID_CONTENT(){return p},get assert(){return m},get assertLink(){return v}});var t=Z();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){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,r){return t=l(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 n(e)}(e,f()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,r){return t&&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)}}(e.prototype,t),e}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 l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(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&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function d(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.")}()}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}var p=[],E=function(){function e(t,r){i(this,e),u(this,"contentRule",void 0),u(this,"validateData",void 0),this.contentRule=t,this.validateData=r}return a(e,[{key:"assert",value:function(e,r){var n=new t.ObjectAssertion(e,r);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,r),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(n.minLength("content",u),0===i.length?n.empty("content"):n.each("content",function(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var l,c,s,f=null!==(s=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,r.of("data")))&&void 0!==s?s:[];(l=n).catch.apply(l,d(f))}return n.errors}}]),e}(),y=function(e){function r(e,a){var l;return i(this,r),l=o(this,r,[a,function(e,t){return n(l).assertLink(e,t)}]),u(l,"linkType",void 0),u(l,"type",void 0),u(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,r){var n=new t.ObjectAssertion(e,r);if(n.object("target")){var o,i=new t.ObjectAssertion(e.target.sys,r.of("target").of("sys"));i.object()&&(i.enum("type",[l.type]),i.enum("linkType",[l.linkType]),"Link"===l.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=n).catch.apply(o,d(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(r,e),r}(E),h=function(e){function r(){var e;return i(this,r),e=o(this,r,[["text"],function(t,r){return n(e).assertLink(t,r)}]),u(e,"assertLink",function(e,r){var n=new t.ObjectAssertion(e,r);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return c(r,e),r}(E),m=function(e,t){return new E(e,t)},v=function(e,t){return new y(e,t)}}(te)),te}var ne,oe={};function ie(){return ne||(ne=1,function(e){function t(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 r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);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 t(e,r)}(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(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return o}});var o=function e(){var t=this,o=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),r(this,"path",void 0),r(this,"of",void 0),r(this,"isRoot",void 0),r(this,"last",void 0),r(this,"toArray",void 0),this.path=o,this.of=function(r){return new e(n(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}}}(oe)),oe}var ae,ue,le,ce,se={};function de(){return ue||(ue=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=T(),r=I(),n=w(),o=Z(),i=re(),a=ie(),u=(ae||(ae=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return r}});var t=Z();function r(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.noAdditionalProperties(["nodeType","data","value","marks"]),n.object("data"),n.each("marks",function(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.string("type"),n.errors):n.errors}),n.string("value"),n.errors):n.errors}}(se)),se);function l(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 c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){return function(e){if(Array.isArray(e))return l(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 l(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 l(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,f=(0,i.assert)(s(Object.values(r.INLINES)).concat(["text"]).sort()),p=(0,i.assert)([t.BLOCKS.LIST_ITEM]),E=(0,i.assertLink)("Entry",i.VOID_CONTENT),y=(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var r=new o.ObjectAssertion(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors}),h=(c(d={},t.BLOCKS.DOCUMENT,(0,i.assert)(n.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,f),c(d,t.BLOCKS.HEADING_1,f),c(d,t.BLOCKS.HEADING_2,f),c(d,t.BLOCKS.HEADING_3,f),c(d,t.BLOCKS.HEADING_4,f),c(d,t.BLOCKS.HEADING_5,f),c(d,t.BLOCKS.HEADING_6,f),c(d,t.BLOCKS.QUOTE,(0,i.assert)(n.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,E),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,i.assertLink)("Asset",i.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,i.assert)(i.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,p),c(d,t.BLOCKS.UL_LIST,p),c(d,t.BLOCKS.LIST_ITEM,(0,i.assert)(s(n.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,y),c(d,t.BLOCKS.TABLE_HEADER_CELL,y),c(d,r.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,r.INLINES.EMBEDDED_ENTRY,E),c(d,r.INLINES.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,r.INLINES.ENTRY_HYPERLINK,(0,i.assertLink)("Entry",["text"])),c(d,r.INLINES.ASSET_HYPERLINK,(0,i.assertLink)("Asset",["text"])),c(d,r.INLINES.RESOURCE_HYPERLINK,(0,i.assertLink)("Contentful:Entry",["text"])),d);function m(e,t){if("text"===e.nodeType)return(0,u.assertText)(e,t);var r=h[e.nodeType].assert(e,t);if(r.length>0)return r;var n=new o.ObjectAssertion(e,t);return n.each("content",function(e,t){return m(e,t)}),n.errors}var v=function(e){var r=new a.Path,n=new o.ObjectAssertion(e,r);return n.object()&&n.enum("nodeType",[t.BLOCKS.DOCUMENT]),n.errors.length>0?n.errors:m(e,r)}}(q)),q}function fe(){return le||(le=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return r.INLINES},get MARKS(){return n.MARKS},get helpers(){return i},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=T(),r=I(),n=R();u(w(),e),u((P||(P=1,Object.defineProperty(K,"__esModule",{value:!0})),K),e),u((H||(H=1,Object.defineProperty(x,"__esModule",{value:!0})),x),e);var o=(M||(M=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return r}});var t=T(),r={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(k)),k),i=c(Y()),a=de();function u(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 l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(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}}(S)),S}var pe=function(){if(ce)return _;ce=1;var e=i,t=fe();function r(t,r){return t.map((t,o)=>{return i=n(t,r),a=o,e.isValidElement(i)&&null===i.key?e.cloneElement(i,{key:a}):i;var i,a})}function n(n,o){const{renderNode:i,renderMark:a,renderText:u,preserveWhitespace:l}=o;if(t.helpers.isText(n)){let t=u?u(n.value):n.value;if(l&&!u){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const r=t.split("\n"),n=[];r.forEach((t,o)=>{n.push(t),o!==r.length-1&&n.push(e.createElement("br",null))}),t=n}return n.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=r(n.content,o);return n.nodeType&&i[n.nodeType]?i[n.nodeType](n,t):e.createElement(e.Fragment,null,t)}}const o={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,r)=>e.createElement("p",null,r),[t.BLOCKS.HEADING_1]:(t,r)=>e.createElement("h1",null,r),[t.BLOCKS.HEADING_2]:(t,r)=>e.createElement("h2",null,r),[t.BLOCKS.HEADING_3]:(t,r)=>e.createElement("h3",null,r),[t.BLOCKS.HEADING_4]:(t,r)=>e.createElement("h4",null,r),[t.BLOCKS.HEADING_5]:(t,r)=>e.createElement("h5",null,r),[t.BLOCKS.HEADING_6]:(t,r)=>e.createElement("h6",null,r),[t.BLOCKS.EMBEDDED_ENTRY]:(t,r)=>e.createElement("div",null,r),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,r)=>e.createElement("div",null,r),[t.BLOCKS.UL_LIST]:(t,r)=>e.createElement("ul",null,r),[t.BLOCKS.OL_LIST]:(t,r)=>e.createElement("ol",null,r),[t.BLOCKS.LIST_ITEM]:(t,r)=>e.createElement("li",null,r),[t.BLOCKS.QUOTE]:(t,r)=>e.createElement("blockquote",null,r),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,r)=>e.createElement("table",null,e.createElement("tbody",null,r)),[t.BLOCKS.TABLE_ROW]:(t,r)=>e.createElement("tr",null,r),[t.BLOCKS.TABLE_HEADER_CELL]:(t,r)=>e.createElement("th",null,r),[t.BLOCKS.TABLE_CELL]:(t,r)=>e.createElement("td",null,r),[t.INLINES.ASSET_HYPERLINK]:e=>u(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>u(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>l(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>u(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,r)=>l(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,r)=>e.createElement("a",{href:t.data.uri},r)},a={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function u(t,r){return e.createElement("span",{key:r.data.target.sys.id},"type: ",r.nodeType," id: ",r.data.target.sys.id)}function l(t,r){return e.createElement("span",{key:r.data.target.sys.urn},"type: ",r.nodeType," urn: ",r.data.target.sys.urn)}return _.documentToReactComponents=function(e,r={}){if(!e)return null;let i=e;return r.stripEmptyTrailingParagraph&&(i=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),n(i,{renderNode:{...o,...r.renderNode},renderMark:{...a,...r.renderMark},renderText:r.renderText,preserveWhitespace:r.preserveWhitespace})},_}(),Ee=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}({}),ye=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}({}),he=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 me(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 ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Le,be=[Ee.PARAGRAPH,Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6,Ee.OL_LIST,Ee.UL_LIST,Ee.HR,Ee.QUOTE,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,Ee.EMBEDDED_RESOURCE,Ee.TABLE],Ae=[Ee.PARAGRAPH,Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6,Ee.OL_LIST,Ee.UL_LIST,Ee.HR,Ee.QUOTE,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,Ee.EMBEDDED_RESOURCE];Ee.TABLE,Ee.TABLE_ROW,Ee.TABLE_CELL,Ee.TABLE_HEADER_CELL,Ee.HR,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,Ee.EMBEDDED_RESOURCE;var _e,Se=(ve(Le={},Ee.OL_LIST,[Ee.LIST_ITEM]),ve(Le,Ee.UL_LIST,[Ee.LIST_ITEM]),ve(Le,Ee.LIST_ITEM,Ae),ve(Le,Ee.QUOTE,[Ee.PARAGRAPH]),ve(Le,Ee.TABLE,[Ee.TABLE_ROW]),ve(Le,Ee.TABLE_ROW,[Ee.TABLE_CELL,Ee.TABLE_HEADER_CELL]),ve(Le,Ee.TABLE_CELL,[Ee.PARAGRAPH,Ee.UL_LIST,Ee.OL_LIST]),ve(Le,Ee.TABLE_HEADER_CELL,[Ee.PARAGRAPH]),Le),Oe=[Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6];[Ee.PARAGRAPH].concat(function(e){if(Array.isArray(e))return me(e)}(_e=Oe)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(_e)||function(e,t){if(e){if("string"==typeof e)return me(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)?me(e,t):void 0}}(_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.")}()),Ee.DOCUMENT,Ee.PARAGRAPH,Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6,Ee.OL_LIST,Ee.UL_LIST,Ee.LIST_ITEM,Ee.HR,Ee.QUOTE,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,ye.HYPERLINK,ye.ENTRY_HYPERLINK,ye.ASSET_HYPERLINK,ye.EMBEDDED_ENTRY,Ee.DOCUMENT,Ee.PARAGRAPH;var Te=b(z());function ge(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 De(e){return function(e){if(Array.isArray(e))return ge(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 ge(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 ge(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 Ie=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 Ne(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 Ce(e,t,r){return t&&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)}}(e.prototype,t),e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Be(e){return function(e){if(Array.isArray(e))return Ne(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 Ne(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 Ne(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 je=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),Re(this,"obj",void 0),Re(this,"path",void 0),Re(this,"_errors",void 0),Re(this,"catch",void 0),Re(this,"exists",void 0),Re(this,"object",void 0),Re(this,"string",void 0),Re(this,"number",void 0),Re(this,"array",void 0),Re(this,"enum",void 0),Re(this,"empty",void 0),Re(this,"minLength",void 0),Re(this,"noAdditionalProperties",void 0),Re(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,Be(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(Te(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(Ie({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(Ie({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(Ie({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(Ie({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:De(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,Be(a))}})}}}return Ce(e,[{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})}}]),e}();function we(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 Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t,r){return t=ke(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 Pe(e)}(e,We()?Reflect.construct(t,r||[],ke(e).constructor):t.apply(e,r))}function He(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t&&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)}}(e.prototype,t),e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ke(e)}function Ue(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&&Ge(e,t)}function Ge(e,t){return Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ge(e,t)}function Ye(e){return function(e){if(Array.isArray(e))return we(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 we(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 we(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 We(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(We=function(){return!!e})()}var $e=[],qe=function(){function e(t,r){He(this,e),Me(this,"contentRule",void 0),Me(this,"validateData",void 0),this.contentRule=t,this.validateData=r}return xe(e,[{key:"assert",value:function(e,t){var r=new je(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 je(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,Ye(s))}return r.errors}}]),e}(),Ve=function(e){function t(e,r){var n;return He(this,t),n=Ke(this,t,[r,function(e,t){return Pe(n).assertLink(e,t)}]),Me(n,"linkType",void 0),Me(n,"type",void 0),Me(n,"assertLink",void 0),n.linkType=e,n.assertLink=function(e,t){var r=new je(e,t);if(r.object("target")){var o,i=new je(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,Ye(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},n.type=n.linkType.startsWith("Contentful:")?"ResourceLink":"Link",n}return Ue(t,e),t}(qe),ze=function(e){function t(){var e;return He(this,t),e=Ke(this,t,[["text"],function(t,r){return Pe(e).assertLink(t,r)}]),Me(e,"assertLink",function(e,t){var r=new je(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return Ue(t,e),t}(qe),Qe=function(e,t){return new qe(e,t)},Fe=function(e,t){return new Ve(e,t)};function Je(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 Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ze(e){return function(e){if(Array.isArray(e))return Je(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 Je(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 Je(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 et,tt=Qe(Ze(Object.values(ye)).concat(["text"]).sort()),rt=Qe([Ee.LIST_ITEM]),nt=Fe("Entry",$e),ot=Qe(function(){return{nodeTypes:[Ee.PARAGRAPH],min:1}},function(e,t){var r=new je(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors});Xe(et={},Ee.DOCUMENT,Qe(be)),Xe(et,Ee.PARAGRAPH,tt),Xe(et,Ee.HEADING_1,tt),Xe(et,Ee.HEADING_2,tt),Xe(et,Ee.HEADING_3,tt),Xe(et,Ee.HEADING_4,tt),Xe(et,Ee.HEADING_5,tt),Xe(et,Ee.HEADING_6,tt),Xe(et,Ee.QUOTE,Qe(Se[Ee.QUOTE])),Xe(et,Ee.EMBEDDED_ENTRY,nt),Xe(et,Ee.EMBEDDED_ASSET,Fe("Asset",$e)),Xe(et,Ee.EMBEDDED_RESOURCE,Fe("Contentful:Entry",$e)),Xe(et,Ee.HR,Qe($e)),Xe(et,Ee.OL_LIST,rt),Xe(et,Ee.UL_LIST,rt),Xe(et,Ee.LIST_ITEM,Qe(Ze(Ae).sort())),Xe(et,Ee.TABLE,Qe(function(){return{nodeTypes:[Ee.TABLE_ROW],min:1}})),Xe(et,Ee.TABLE_ROW,Qe(function(){return{nodeTypes:[Ee.TABLE_CELL,Ee.TABLE_HEADER_CELL],min:1}})),Xe(et,Ee.TABLE_CELL,ot),Xe(et,Ee.TABLE_HEADER_CELL,ot),Xe(et,ye.HYPERLINK,new ze),Xe(et,ye.EMBEDDED_ENTRY,nt),Xe(et,ye.EMBEDDED_RESOURCE,Fe("Contentful:Entry",$e)),Xe(et,ye.ENTRY_HYPERLINK,Fe("Entry",["text"])),Xe(et,ye.ASSET_HYPERLINK,Fe("Asset",["text"])),Xe(et,ye.RESOURCE_HYPERLINK,Fe("Contentful:Entry",["text"]));const it=e=>Array.isArray(null==e?void 0:e.content)&&e.content.every(e=>"text"===(null==e?void 0:e.nodeType)&&(!e.value||""===e.value.trim())),at=(e,t)=>{var r,n,o,i,a,u,l,c;const s=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.target;if((null==s?void 0:s.fields)||(null===(n=null==s?void 0:s.sys)||void 0===n?void 0:n.contentType))return s;const d=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.id;if(!d)return null;return null!==(c=[...null!==(a=null===(i=null==t?void 0:t.entries)||void 0===i?void 0:i.block)&&void 0!==a?a:[],...null!==(l=null===(u=null==t?void 0:t.entries)||void 0===u?void 0:u.inline)&&void 0!==l?l:[]].find(e=>{var t;return(null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.id)===d}))&&void 0!==c?c:null},ut=e=>{var t,r,n,o,i;return null!==(i=null!==(o=null===(n=null===(r=null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.contentType)||void 0===r?void 0:r.sys)||void 0===n?void 0:n.id)&&void 0!==o?o:null==e?void 0:e.__typename)&&void 0!==i?i:""},lt=e=>{var t,r;return null!==(r=null!==(t=null==e?void 0:e.fields)&&void 0!==t?t:e)&&void 0!==r?r:{}},ct=e=>{var t,r,n,o,i,a,u,l,c,s,d,f,p,E,y,h,m,v,L;return{image:null!==(a=null!==(o=null===(n=null===(r=null===(t=null==e?void 0:e.image)||void 0===t?void 0:t.fields)||void 0===r?void 0:r.file)||void 0===n?void 0:n.url)&&void 0!==o?o:null===(i=null==e?void 0:e.image)||void 0===i?void 0:i.url)&&void 0!==a?a:null==e?void 0:e.image,link:null==e?void 0:e.link,videoPopup:Boolean(null==e?void 0:e.videoPopup),videoSourceType:null==e?void 0:e.videoSourceType,videoAssetUrl:null!==(f=null!==(s=null===(c=null===(l=null===(u=null==e?void 0:e.videoAssetUrl)||void 0===u?void 0:u.fields)||void 0===l?void 0:l.file)||void 0===c?void 0:c.url)&&void 0!==s?s:null===(d=null==e?void 0:e.videoAssetUrl)||void 0===d?void 0:d.url)&&void 0!==f?f:null==e?void 0:e.videoAssetUrl,videoAssetType:null!==(v=null!==(h=null===(y=null===(E=null===(p=null==e?void 0:e.videoAssetUrl)||void 0===p?void 0:p.fields)||void 0===E?void 0:E.file)||void 0===y?void 0:y.contentType)&&void 0!==h?h:null===(m=null==e?void 0:e.videoAssetUrl)||void 0===m?void 0:m.contentType)&&void 0!==v?v:null==e?void 0:e.videoAssetType,title:null!==(L=null==e?void 0:e.title)&&void 0!==L?L:null==e?void 0:e.entryTitle,description:null==e?void 0:e.description}},st=e=>{if(!e)return"";try{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;return new URL(t).hostname.toLowerCase()}catch(e){return""}},dt=e=>{const t=e.toLowerCase().replace(/\.$/,""),r=t.split(".").slice(-2).join("."),n=(t.slice(0,t.length-r.length).replace(/\.$/,"").split(".")[0]||"").replace(/-(dev|development|staging|stage|qa|test|uat|prod|production)$/,"");return`${r}|${""===n||"www"===n||"kinetic"===n?"main":n}`},ft=e=>{if(!/^https?:\/\//i.test(e))return!1;try{const t=new URL(e).hostname.toLowerCase(),r=st(process.env.NEXT_PUBLIC_SITE_URL)||st(process.env.NEXT_PUBLIC_MAIN_SITE_URL)||("undefined"!=typeof window?window.location.hostname.toLowerCase():"");return!r||dt(t)!==dt(r)}catch(e){return!1}},pt=e=>({renderMark:{[he.BOLD]:e=>o.jsx("strong",{className:"font-black",children:e}),[he.ITALIC]:e=>o.jsx("em",{children:e}),[he.UNDERLINE]:e=>o.jsx("u",{children:e}),[he.CODE]:e=>o.jsx("code",{children:e})},renderNode:{[Ee.PARAGRAPH]:(e,t)=>o.jsx("div",{className:"body3 mb-4 whitespace-pre-line",children:it(e)?"\n":t}),[Ee.HEADING_1]:(e,t)=>o.jsx(c.Text,{as:"h1",className:"heading2 md:heading1",children:t}),[Ee.HEADING_2]:(e,t)=>o.jsx(c.Text,{as:"h2",className:"heading3 md:heading2",children:t}),[Ee.HEADING_3]:(e,t)=>o.jsx(c.Text,{as:"h3",className:"heading4 md:heading3",children:t}),[Ee.HEADING_4]:(e,t)=>o.jsx(c.Text,{as:"h4",className:"heading5 md:heading4",children:t}),[Ee.HEADING_5]:(e,t)=>o.jsx(c.Text,{as:"h5",className:"heading6 md:heading5",children:t}),[Ee.HEADING_6]:(e,t)=>o.jsx(c.Text,{as:"h6",className:"heading6",children:t}),[Ee.QUOTE]:(e,t)=>o.jsx("blockquote",{children:t}),[Ee.UL_LIST]:(e,t)=>o.jsx("ul",{className:"list-disc pl-6",children:t}),[Ee.OL_LIST]:(e,t)=>o.jsx("ol",{className:"list-decimal pl-6",children:t}),[Ee.LIST_ITEM]:(e,t)=>o.jsx("li",{children:t}),[ye.HYPERLINK]:(e,t)=>{var r;const n=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.uri,i=ft(n);return o.jsx("a",{href:n,target:i?"_blank":void 0,rel:i?"noopener":void 0,children:t})},[Ee.EMBEDDED_ASSET]:e=>{var t,r;const n=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.target,i=null==n?void 0:n.fields,a=(null==n?void 0:n.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),u=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return o.jsx("img",{src:l,alt:u,style:{maxWidth:"100%"}})},[Ee.EMBEDDED_ENTRY]:t=>{const r=at(t,e);if(!r)return null;const n=ut(r),i=lt(r);switch(n){case"callout":return o.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[o.jsx("strong",{children:i.title}),o.jsx("div",{children:i.body})]});case"componentVideoLink":case"ComponentVideoLink":return o.jsx(s.VideoLink,{videoLink:ct(i)});default:return null}},[ye.EMBEDDED_ENTRY]:t=>{var r;const n=at(t,e);if(!n)return null;const i=ut(n),a=lt(n);switch(i){case"componentCheckList":return o.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",a.title]});case"componentVideoLink":case"ComponentVideoLink":return o.jsx(s.VideoLink,{videoLink:ct(a)});default:return o.jsx("span",{children:null!==(r=null==a?void 0:a.title)&&void 0!==r?r:""})}}}});function Et(e,t,r="body1",n="body1 font-bold",i,a,l="body2"){if(!e||!Array.isArray(e.content))return null;const c=new WeakSet,s=(e,t=!1)=>{var r;const n=t||(null==e?void 0:e.nodeType)===Ee.LIST_ITEM;n&&(null==e?void 0:e.nodeType)===ye.HYPERLINK&&c.add(e),null===(r=null==e?void 0:e.content)||void 0===r||r.forEach(e=>s(e,n))};s(e);const d=pt(a),f={...d,...i,renderNode:{...d.renderNode,...null==i?void 0:i.renderNode,[Ee.PARAGRAPH]:(e,t)=>o.jsx("div",{className:[r,"whitespace-pre-line"].filter(Boolean).join(" "),children:it(e)?"\n":t}),[ye.HYPERLINK]:(e,r)=>{var i;const a=null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.uri,s=ft(a),d=null!=t?t:s;return o.jsx(u.Link,{href:a,target:d?"_blank":void 0,rel:d?"noopener":void 0,variant:"default",className:c.has(e)?l:n,children:r})}}};return pe.documentToReactComponents(e,f)}const yt={renderMark:{[he.BOLD]:e=>i.createElement("span",{className:"label1"},e)}};Object.defineProperty(exports,"clsx",{enumerable:!0,get:function(){return e.clsx}}),exports.SpeedCardBg=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,exports.UTM_PARAM_NAMES=y,exports.buildPreservedQueryHref=function(e,t){if(!t)return e;const r=new URLSearchParams(t),n=new Set(y),o=new Set([...n,"searchtext","page"]);let i,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,a=t.searchParams}else{const[t,r]=e.split("?");i=t,a=new URLSearchParams(r||"")}}catch(t){return e}const u=new URLSearchParams(a);r.forEach((e,t)=>{o.has(t.toLowerCase())||u.has(t)||u.set(t,e)});const l=u.toString();return l?`${i}?${l}`:i},exports.buildWifiGrantRedirectUrl=m,exports.combineExistingAndNewUTMs=function(e,t){if(!t)return e||{};if(!e)return t;if(["utm_campaign","utm_medium","utm_source","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"].every(r=>(e[r]||"")===(t[r]||"")))return{...t,utm_content:e.utm_content||t.utm_content,utm_term:e.utm_term||t.utm_term};const r=!!t.utm_content,n=!!t.utm_term;return{...t,...!r&&e.utm_content&&{utm_content:e.utm_content},...!n&&e.utm_term&&{utm_term:e.utm_term}}},exports.cx=(...t)=>d(e.clsx(...t)),exports.getCampaignProperties=function(e){if(!e)return null;const t={};return e.utm_campaign&&(t.name=e.utm_campaign),e.utm_source&&(t.source=e.utm_source),e.utm_medium&&(t.medium=e.utm_medium),e.utm_term&&(t.term=e.utm_term),e.utm_content&&(t.content=e.utm_content),e.utm_campaign_id&&(t.campaign_id=e.utm_campaign_id),e.utm_adgroup_id&&(t.adgroup_id=e.utm_adgroup_id),e.gclid&&(t.gclid=e.gclid),e.fbclid&&(t.fbclid=e.fbclid),e.msclkid&&(t.msclkid=e.msclkid),Object.keys(t).length>0?t:null},exports.getCookie=E,exports.getOrganicTrafficUtmParameters=function(){if("undefined"==typeof document)return null;const e=document.referrer;if(!e)return{utm_medium:"direct",utm_source:"direct"};let t;try{t=new URL(e).hostname.toLowerCase()}catch(e){return{utm_medium:"direct",utm_source:"direct"}}return t.includes("windstream.com")||t.includes("gokinetic.com")?null:t.includes("google.")?{utm_medium:"organic",utm_source:"google"}:t.includes("bing.")?{utm_medium:"organic",utm_source:"bing"}:{utm_medium:"referral",utm_source:t}},exports.getParsedCookie=e=>{try{return JSON.parse(E(e)||"")}catch(e){return null}},exports.getUTMs=function(){if("undefined"==typeof window)return null;const e=n.get(f);if(!e)return null;try{const t=r.Base64.decode(e);return JSON.parse(t)}catch(e){return null}},exports.getUtmParametersFromURL=function(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search),t={};let r=!1;for(const n of y){const o=e.get(n);o&&(t[n]=o,r=!0)}return r?t:null},exports.label1BoldOptions=yt,exports.redirectToWifiGrantUrl=function(){const e=m();return!!e&&(window.location.href=e,!0)},exports.removeUTMs=function(e=p){n.remove(f,{domain:e,path:"/"})},exports.renderContentfulRichText=Et,exports.renderContentfulRichTextTable=function(e,t){if(!e||!Array.isArray(e.content))return null;const r=pt(t),n={...r,renderMark:{...r.renderMark,[he.BOLD]:e=>o.jsx("strong",{className:"label4 md:label2",children:e})},renderNode:{...r.renderNode,[Ee.PARAGRAPH]:(e,t)=>o.jsx(o.Fragment,{children:t}),[Ee.TABLE]:(e,t)=>{var r,n;return o.jsx("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:o.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(n=null===(r=e.content[0])||void 0===r?void 0:r.content)||void 0===n?void 0:n.length)>2?"min-w-[100.1%]":"min-w-full"),children:o.jsx("tbody",{children:t})})})},[Ee.TABLE_ROW]:(e,t)=>o.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:t}),[Ee.TABLE_HEADER_CELL]:(e,t)=>{var r;const n=(null===(r=e.parent)||void 0===r?void 0:r.content.length)>2;return o.jsx("th",{className:`label4 break-words py-4 text-center md:label2 ${n?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t})},[Ee.TABLE_CELL]:(e,t)=>{var r,n,i,a;const u=(null===(r=e.parent)||void 0===r?void 0:r.content.length)>2,c=null===(a=null===(i=null===(n=e.content[0])||void 0===n?void 0:n.content[0])||void 0===i?void 0:i.value)||void 0===a?void 0:a.toLowerCase().trim();return o.jsx("td",{className:`rt-table-cell footnote break-words bg-white py-2 text-center align-top leading-5 text-text md:body2 first:text-left md:py-4 md:leading-7 ${u?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:o.jsxs(o.Fragment,{children:[" ","yes"===c?o.jsx(l.MaterialIcon,{name:"check_circle",color:"#24A76A",fill:1}):"no"===c?o.jsx(l.MaterialIcon,{name:"cancel",color:"#CECECE",fill:1}):t]})})},[ye.EMBEDDED_ENTRY]:e=>{var r,n,i,u;const l=e.data.target.sys.id,c=null===(n=null===(r=null==t?void 0:t.entries)||void 0===r?void 0:r.inline)||void 0===n?void 0:n.find(e=>e.sys.id===l);if(!c)return null;if("ComponentCheckList"===c.__typename){const e=(null===(u=null===(i=c.list)||void 0===i?void 0:i.items)||void 0===u?void 0:u.map(e=>{var t;return Et(L(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return o.jsx(a.Checklist,{items:e,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return o.jsx("span",{children:c.title||""})}}};return pe.documentToReactComponents(e,n)},exports.setCookie=(e,t,o)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),a=r.Base64.encode(i);n.set(e,a,o)},exports.setUTMs=function(e,t=p){if("undefined"==typeof window)return;const o=JSON.stringify(e),i=r.Base64.encode(o);n.set(f,i,{domain:t,path:"/",sameSite:"Lax"})},exports.toDocument=L,exports.useContentfulRichText=function(e,t,r){return i.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const n=pt(null==r?void 0:r.links),i={...n,renderMark:{...n.renderMark,...(null==r?void 0:r.boldClassName)?{[he.BOLD]:e=>o.jsx("strong",{className:r.boldClassName,children:e})}:{},...null==t?void 0:t.renderMark},renderNode:{...n.renderNode,...null==t?void 0:t.renderNode}};return pe.documentToReactComponents(e,i)},[e,t,null==r?void 0:r.boldClassName,null==r?void 0:r.links])},exports.useProcessedChecklist=function(e,t,r,n){return i.useMemo(()=>{var o,i;const a=null!==(i=null===(o=null==e?void 0:e.list)||void 0===o?void 0:o.items)&&void 0!==i?i:[];return t?a.map(e=>{var t,o;return null!==(o=Et(L(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,n,void 0,r))&&void 0!==o?o:""}):a.map(e=>{var t,o,i,a,u;return{title:null!==(o=Et(L(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,n,void 0,r))&&void 0!==o?o:"",iconUrl:null!==(a=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==a?a:void 0,anchorId:null!==(u=null==e?void 0:e.anchorId)&&void 0!==u?u:void 0}})},[e,t,r,n])};
1
+ "use strict";var e=require("clsx"),t=require("tailwind-merge"),r=require("js-base64"),n=require("js-cookie"),o=require("react/jsx-runtime"),i=require("react"),a=require("@windstream/react-shared-components"),u=require("@windstream/react-shared-components"),l=require("@windstream/react-shared-components"),c=require("@windstream/react-shared-components"),s=require("@windstream/react-shared-components");const d=t.extendTailwindMerge({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),f="utm_parameters",p=".gokinetic.com";function E(e){if("undefined"==typeof window)return"";const t=n.get(e);return t?r.Base64.decode(t):null}const y=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const h="network-auth.com";function m(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search).get("base_grant_url");if(!e)return null;const t=function(e){try{const t=new URL(e);if("https:"!==t.protocol)return null;const{hostname:r}=t;return r===h||r.endsWith(`.${h}`)?t:null}catch(e){return null}}(e);return t?(t.searchParams.set("continue_url","https://www.gokinetic.com/free-public-wifi/success"),t.searchParams.set("duration","86400"),t.toString()):null}const v=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,L=e=>{if(!e)return null;if(v(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return v(t)?t:null}return null};function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var A,_={},S={},O={};function T(){return A||(A=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=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}({})}(O)),O}var g,I={};function D(){return g||(g=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=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}({})}(I)),I}var N,C={};function R(){return N||(N=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=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}({})}(C)),C}var B,j={};function w(){return B||(B=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get CONTAINERS(){return f},get HEADINGS(){return p},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return s},get TEXT_CONTAINERS(){return E},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return h},get V1_NODE_TYPES(){return y},get VOID_BLOCKS(){return d}});var t=T(),r=D(),n=R();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,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a,u,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],s=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],f=(i(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.LIST_ITEM,c),i(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),i(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),i(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),i(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),i(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),p=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],E=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(u=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return o(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)?o(e,t):void 0}}(u)||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.")}()),y=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,r.INLINES.HYPERLINK,r.INLINES.ENTRY_HYPERLINK,r.INLINES.ASSET_HYPERLINK,r.INLINES.EMBEDDED_ENTRY,"text"],h=[n.MARKS.BOLD,n.MARKS.CODE,n.MARKS.ITALIC,n.MARKS.UNDERLINE]}(j)),j}var P,K={};var H,x={};var M,k={};var U,G={};function Y(){return U||(U=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get isBlock(){return u},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return f}});var t=T(),r=D();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,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function i(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(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!1}function a(e){return i(r.INLINES,e.nodeType)}function u(e){return i(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var r=e.content[0];return"text"===r.nodeType&&""===r.value}function s(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 f(e){return!s(e)||e.content.length<d?e:c(e.content[e.content.length-1])?o(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){n(e,t,r[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(G)),G}var W,$,q={},V={};function z(){return $?W:($=1,W=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var Q,F,J={};function X(){return Q||(Q=1,function(e){function t(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 r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);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 t(e,r)}(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(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get enumError(){return a},get maxSizeError(){return i},get minSizeError(){return o},get requiredPropertyError(){return l},get typeMismatchError(){return n},get unknownPropertyError(){return u}});var n=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}},o=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}},i=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}},a=function(e){var t=e.expected,n=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:r(t).sort(),path:o.toArray(),value:n}},u=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:r.toArray()}},l=function(e){var t=e.property,r=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:r.toArray()}}}(J)),J}function Z(){return F||(F=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(z()),r=X();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 o(e,t,r){return t&&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)}}(e.prototype,t),e}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){return e&&e.__esModule?e:{default:e}}function u(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.")}()}var l=function(){function e(n,o){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"obj",void 0),i(this,"path",void 0),i(this,"_errors",void 0),i(this,"catch",void 0),i(this,"exists",void 0),i(this,"object",void 0),i(this,"string",void 0),i(this,"number",void 0),i(this,"array",void 0),i(this,"enum",void 0),i(this,"empty",void 0),i(this,"minLength",void 0),i(this,"noAdditionalProperties",void 0),i(this,"each",void 0),this.obj=n,this.path=o,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=l._errors).push.apply(n,u(t))},this.exists=function(e){return e in a.obj||(a.catch((0,r.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var n=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(n))return!0;var o,i=e?a.path.of(e):a.path,u=null!==(o=null!=e?e:a.path.last())&&void 0!==o?o:"value";return a.catch((0,r.typeMismatchError)({typeName:"Object",property:u,path:i,value:n})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,r.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var n=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(a.catch((0,r.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:n})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,r.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=a.obj[e];return!("string"!=typeof n||!t.includes(n))||(a.catch((0,r.enumError)({expected:t,value:n,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,r.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var n=a.obj[e];return n.length>=t||(a.catch((0,r.minSizeError)({min:t,value:n,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,r.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var r=a.obj[e],n=!1;r.forEach(function(r,o){if(!n){var i=t(r,a.path.of(e).of(o));i.length>0&&(n=!0),a.catch.apply(a,u(i))}})}}}return o(e,[{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})}}]),e}()}(V)),V}var ee,te={};function re(){return ee||(ee=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get EntityLinkAssertion(){return y},get HyperLinkAssertion(){return h},get NodeAssertion(){return E},get VOID_CONTENT(){return p},get assert(){return m},get assertLink(){return v}});var t=Z();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){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,r){return t=l(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 n(e)}(e,f()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,r){return t&&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)}}(e.prototype,t),e}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 l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(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&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function d(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.")}()}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}var p=[],E=function(){function e(t,r){i(this,e),u(this,"contentRule",void 0),u(this,"validateData",void 0),this.contentRule=t,this.validateData=r}return a(e,[{key:"assert",value:function(e,r){var n=new t.ObjectAssertion(e,r);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,r),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(n.minLength("content",u),0===i.length?n.empty("content"):n.each("content",function(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var l,c,s,f=null!==(s=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,r.of("data")))&&void 0!==s?s:[];(l=n).catch.apply(l,d(f))}return n.errors}}]),e}(),y=function(e){function r(e,a){var l;return i(this,r),l=o(this,r,[a,function(e,t){return n(l).assertLink(e,t)}]),u(l,"linkType",void 0),u(l,"type",void 0),u(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,r){var n=new t.ObjectAssertion(e,r);if(n.object("target")){var o,i=new t.ObjectAssertion(e.target.sys,r.of("target").of("sys"));i.object()&&(i.enum("type",[l.type]),i.enum("linkType",[l.linkType]),"Link"===l.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=n).catch.apply(o,d(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(r,e),r}(E),h=function(e){function r(){var e;return i(this,r),e=o(this,r,[["text"],function(t,r){return n(e).assertLink(t,r)}]),u(e,"assertLink",function(e,r){var n=new t.ObjectAssertion(e,r);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return c(r,e),r}(E),m=function(e,t){return new E(e,t)},v=function(e,t){return new y(e,t)}}(te)),te}var ne,oe={};function ie(){return ne||(ne=1,function(e){function t(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 r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);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 t(e,r)}(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(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return o}});var o=function e(){var t=this,o=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),r(this,"path",void 0),r(this,"of",void 0),r(this,"isRoot",void 0),r(this,"last",void 0),r(this,"toArray",void 0),this.path=o,this.of=function(r){return new e(n(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}}}(oe)),oe}var ae,ue,le,ce,se={};function de(){return ue||(ue=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=T(),r=D(),n=w(),o=Z(),i=re(),a=ie(),u=(ae||(ae=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return r}});var t=Z();function r(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.noAdditionalProperties(["nodeType","data","value","marks"]),n.object("data"),n.each("marks",function(e,r){var n=new t.ObjectAssertion(e,r);return n.object()?(n.string("type"),n.errors):n.errors}),n.string("value"),n.errors):n.errors}}(se)),se);function l(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 c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){return function(e){if(Array.isArray(e))return l(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 l(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 l(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,f=(0,i.assert)(s(Object.values(r.INLINES)).concat(["text"]).sort()),p=(0,i.assert)([t.BLOCKS.LIST_ITEM]),E=(0,i.assertLink)("Entry",i.VOID_CONTENT),y=(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var r=new o.ObjectAssertion(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors}),h=(c(d={},t.BLOCKS.DOCUMENT,(0,i.assert)(n.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,f),c(d,t.BLOCKS.HEADING_1,f),c(d,t.BLOCKS.HEADING_2,f),c(d,t.BLOCKS.HEADING_3,f),c(d,t.BLOCKS.HEADING_4,f),c(d,t.BLOCKS.HEADING_5,f),c(d,t.BLOCKS.HEADING_6,f),c(d,t.BLOCKS.QUOTE,(0,i.assert)(n.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,E),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,i.assertLink)("Asset",i.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,i.assert)(i.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,p),c(d,t.BLOCKS.UL_LIST,p),c(d,t.BLOCKS.LIST_ITEM,(0,i.assert)(s(n.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,y),c(d,t.BLOCKS.TABLE_HEADER_CELL,y),c(d,r.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,r.INLINES.EMBEDDED_ENTRY,E),c(d,r.INLINES.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,r.INLINES.ENTRY_HYPERLINK,(0,i.assertLink)("Entry",["text"])),c(d,r.INLINES.ASSET_HYPERLINK,(0,i.assertLink)("Asset",["text"])),c(d,r.INLINES.RESOURCE_HYPERLINK,(0,i.assertLink)("Contentful:Entry",["text"])),d);function m(e,t){if("text"===e.nodeType)return(0,u.assertText)(e,t);var r=h[e.nodeType].assert(e,t);if(r.length>0)return r;var n=new o.ObjectAssertion(e,t);return n.each("content",function(e,t){return m(e,t)}),n.errors}var v=function(e){var r=new a.Path,n=new o.ObjectAssertion(e,r);return n.object()&&n.enum("nodeType",[t.BLOCKS.DOCUMENT]),n.errors.length>0?n.errors:m(e,r)}}(q)),q}function fe(){return le||(le=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return r.INLINES},get MARKS(){return n.MARKS},get helpers(){return i},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=T(),r=D(),n=R();u(w(),e),u((P||(P=1,Object.defineProperty(K,"__esModule",{value:!0})),K),e),u((H||(H=1,Object.defineProperty(x,"__esModule",{value:!0})),x),e);var o=(M||(M=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return r}});var t=T(),r={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(k)),k),i=c(Y()),a=de();function u(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 l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(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}}(S)),S}var pe=function(){if(ce)return _;ce=1;var e=i,t=fe();function r(t,r){return t.map((t,o)=>{return i=n(t,r),a=o,e.isValidElement(i)&&null===i.key?e.cloneElement(i,{key:a}):i;var i,a})}function n(n,o){const{renderNode:i,renderMark:a,renderText:u,preserveWhitespace:l}=o;if(t.helpers.isText(n)){let t=u?u(n.value):n.value;if(l&&!u){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const r=t.split("\n"),n=[];r.forEach((t,o)=>{n.push(t),o!==r.length-1&&n.push(e.createElement("br",null))}),t=n}return n.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=r(n.content,o);return n.nodeType&&i[n.nodeType]?i[n.nodeType](n,t):e.createElement(e.Fragment,null,t)}}const o={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,r)=>e.createElement("p",null,r),[t.BLOCKS.HEADING_1]:(t,r)=>e.createElement("h1",null,r),[t.BLOCKS.HEADING_2]:(t,r)=>e.createElement("h2",null,r),[t.BLOCKS.HEADING_3]:(t,r)=>e.createElement("h3",null,r),[t.BLOCKS.HEADING_4]:(t,r)=>e.createElement("h4",null,r),[t.BLOCKS.HEADING_5]:(t,r)=>e.createElement("h5",null,r),[t.BLOCKS.HEADING_6]:(t,r)=>e.createElement("h6",null,r),[t.BLOCKS.EMBEDDED_ENTRY]:(t,r)=>e.createElement("div",null,r),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,r)=>e.createElement("div",null,r),[t.BLOCKS.UL_LIST]:(t,r)=>e.createElement("ul",null,r),[t.BLOCKS.OL_LIST]:(t,r)=>e.createElement("ol",null,r),[t.BLOCKS.LIST_ITEM]:(t,r)=>e.createElement("li",null,r),[t.BLOCKS.QUOTE]:(t,r)=>e.createElement("blockquote",null,r),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,r)=>e.createElement("table",null,e.createElement("tbody",null,r)),[t.BLOCKS.TABLE_ROW]:(t,r)=>e.createElement("tr",null,r),[t.BLOCKS.TABLE_HEADER_CELL]:(t,r)=>e.createElement("th",null,r),[t.BLOCKS.TABLE_CELL]:(t,r)=>e.createElement("td",null,r),[t.INLINES.ASSET_HYPERLINK]:e=>u(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>u(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>l(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>u(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,r)=>l(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,r)=>e.createElement("a",{href:t.data.uri},r)},a={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function u(t,r){return e.createElement("span",{key:r.data.target.sys.id},"type: ",r.nodeType," id: ",r.data.target.sys.id)}function l(t,r){return e.createElement("span",{key:r.data.target.sys.urn},"type: ",r.nodeType," urn: ",r.data.target.sys.urn)}return _.documentToReactComponents=function(e,r={}){if(!e)return null;let i=e;return r.stripEmptyTrailingParagraph&&(i=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),n(i,{renderNode:{...o,...r.renderNode},renderMark:{...a,...r.renderMark},renderText:r.renderText,preserveWhitespace:r.preserveWhitespace})},_}(),Ee=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}({}),ye=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}({}),he=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 me(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 ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Le,be=[Ee.PARAGRAPH,Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6,Ee.OL_LIST,Ee.UL_LIST,Ee.HR,Ee.QUOTE,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,Ee.EMBEDDED_RESOURCE,Ee.TABLE],Ae=[Ee.PARAGRAPH,Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6,Ee.OL_LIST,Ee.UL_LIST,Ee.HR,Ee.QUOTE,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,Ee.EMBEDDED_RESOURCE];Ee.TABLE,Ee.TABLE_ROW,Ee.TABLE_CELL,Ee.TABLE_HEADER_CELL,Ee.HR,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,Ee.EMBEDDED_RESOURCE;var _e,Se=(ve(Le={},Ee.OL_LIST,[Ee.LIST_ITEM]),ve(Le,Ee.UL_LIST,[Ee.LIST_ITEM]),ve(Le,Ee.LIST_ITEM,Ae),ve(Le,Ee.QUOTE,[Ee.PARAGRAPH]),ve(Le,Ee.TABLE,[Ee.TABLE_ROW]),ve(Le,Ee.TABLE_ROW,[Ee.TABLE_CELL,Ee.TABLE_HEADER_CELL]),ve(Le,Ee.TABLE_CELL,[Ee.PARAGRAPH,Ee.UL_LIST,Ee.OL_LIST]),ve(Le,Ee.TABLE_HEADER_CELL,[Ee.PARAGRAPH]),Le),Oe=[Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6];[Ee.PARAGRAPH].concat(function(e){if(Array.isArray(e))return me(e)}(_e=Oe)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(_e)||function(e,t){if(e){if("string"==typeof e)return me(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)?me(e,t):void 0}}(_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.")}()),Ee.DOCUMENT,Ee.PARAGRAPH,Ee.HEADING_1,Ee.HEADING_2,Ee.HEADING_3,Ee.HEADING_4,Ee.HEADING_5,Ee.HEADING_6,Ee.OL_LIST,Ee.UL_LIST,Ee.LIST_ITEM,Ee.HR,Ee.QUOTE,Ee.EMBEDDED_ENTRY,Ee.EMBEDDED_ASSET,ye.HYPERLINK,ye.ENTRY_HYPERLINK,ye.ASSET_HYPERLINK,ye.EMBEDDED_ENTRY,Ee.DOCUMENT,Ee.PARAGRAPH;var Te=b(z());function ge(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 Ie(e){return function(e){if(Array.isArray(e))return ge(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 ge(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 ge(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 De=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 Ne(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 Ce(e,t,r){return t&&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)}}(e.prototype,t),e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Be(e){return function(e){if(Array.isArray(e))return Ne(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 Ne(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 Ne(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 je=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),Re(this,"obj",void 0),Re(this,"path",void 0),Re(this,"_errors",void 0),Re(this,"catch",void 0),Re(this,"exists",void 0),Re(this,"object",void 0),Re(this,"string",void 0),Re(this,"number",void 0),Re(this,"array",void 0),Re(this,"enum",void 0),Re(this,"empty",void 0),Re(this,"minLength",void 0),Re(this,"noAdditionalProperties",void 0),Re(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,Be(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(Te(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(De({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(De({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(De({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(De({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:Ie(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,Be(a))}})}}}return Ce(e,[{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})}}]),e}();function we(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 Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t,r){return t=ke(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 Pe(e)}(e,We()?Reflect.construct(t,r||[],ke(e).constructor):t.apply(e,r))}function He(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t&&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)}}(e.prototype,t),e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ke(e)}function Ue(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&&Ge(e,t)}function Ge(e,t){return Ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ge(e,t)}function Ye(e){return function(e){if(Array.isArray(e))return we(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 we(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 we(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 We(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(We=function(){return!!e})()}var $e=[],qe=function(){function e(t,r){He(this,e),Me(this,"contentRule",void 0),Me(this,"validateData",void 0),this.contentRule=t,this.validateData=r}return xe(e,[{key:"assert",value:function(e,t){var r=new je(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 je(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,Ye(s))}return r.errors}}]),e}(),Ve=function(e){function t(e,r){var n;return He(this,t),n=Ke(this,t,[r,function(e,t){return Pe(n).assertLink(e,t)}]),Me(n,"linkType",void 0),Me(n,"type",void 0),Me(n,"assertLink",void 0),n.linkType=e,n.assertLink=function(e,t){var r=new je(e,t);if(r.object("target")){var o,i=new je(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,Ye(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},n.type=n.linkType.startsWith("Contentful:")?"ResourceLink":"Link",n}return Ue(t,e),t}(qe),ze=function(e){function t(){var e;return He(this,t),e=Ke(this,t,[["text"],function(t,r){return Pe(e).assertLink(t,r)}]),Me(e,"assertLink",function(e,t){var r=new je(e,t);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return Ue(t,e),t}(qe),Qe=function(e,t){return new qe(e,t)},Fe=function(e,t){return new Ve(e,t)};function Je(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 Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ze(e){return function(e){if(Array.isArray(e))return Je(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 Je(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 Je(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 et,tt=Qe(Ze(Object.values(ye)).concat(["text"]).sort()),rt=Qe([Ee.LIST_ITEM]),nt=Fe("Entry",$e),ot=Qe(function(){return{nodeTypes:[Ee.PARAGRAPH],min:1}},function(e,t){var r=new je(e,t);return r.noAdditionalProperties(["colspan","rowspan"]),r.number("colspan",!0),r.number("rowspan",!0),r.errors});Xe(et={},Ee.DOCUMENT,Qe(be)),Xe(et,Ee.PARAGRAPH,tt),Xe(et,Ee.HEADING_1,tt),Xe(et,Ee.HEADING_2,tt),Xe(et,Ee.HEADING_3,tt),Xe(et,Ee.HEADING_4,tt),Xe(et,Ee.HEADING_5,tt),Xe(et,Ee.HEADING_6,tt),Xe(et,Ee.QUOTE,Qe(Se[Ee.QUOTE])),Xe(et,Ee.EMBEDDED_ENTRY,nt),Xe(et,Ee.EMBEDDED_ASSET,Fe("Asset",$e)),Xe(et,Ee.EMBEDDED_RESOURCE,Fe("Contentful:Entry",$e)),Xe(et,Ee.HR,Qe($e)),Xe(et,Ee.OL_LIST,rt),Xe(et,Ee.UL_LIST,rt),Xe(et,Ee.LIST_ITEM,Qe(Ze(Ae).sort())),Xe(et,Ee.TABLE,Qe(function(){return{nodeTypes:[Ee.TABLE_ROW],min:1}})),Xe(et,Ee.TABLE_ROW,Qe(function(){return{nodeTypes:[Ee.TABLE_CELL,Ee.TABLE_HEADER_CELL],min:1}})),Xe(et,Ee.TABLE_CELL,ot),Xe(et,Ee.TABLE_HEADER_CELL,ot),Xe(et,ye.HYPERLINK,new ze),Xe(et,ye.EMBEDDED_ENTRY,nt),Xe(et,ye.EMBEDDED_RESOURCE,Fe("Contentful:Entry",$e)),Xe(et,ye.ENTRY_HYPERLINK,Fe("Entry",["text"])),Xe(et,ye.ASSET_HYPERLINK,Fe("Asset",["text"])),Xe(et,ye.RESOURCE_HYPERLINK,Fe("Contentful:Entry",["text"]));const it=e=>Array.isArray(null==e?void 0:e.content)&&e.content.every(e=>"text"===(null==e?void 0:e.nodeType)&&(!e.value||""===e.value.trim())),at=(e,t)=>{var r,n,o,i,a,u,l,c;const s=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.target;if((null==s?void 0:s.fields)||(null===(n=null==s?void 0:s.sys)||void 0===n?void 0:n.contentType))return s;const d=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.id;if(!d)return null;return null!==(c=[...null!==(a=null===(i=null==t?void 0:t.entries)||void 0===i?void 0:i.block)&&void 0!==a?a:[],...null!==(l=null===(u=null==t?void 0:t.entries)||void 0===u?void 0:u.inline)&&void 0!==l?l:[]].find(e=>{var t;return(null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.id)===d}))&&void 0!==c?c:null},ut=e=>{var t,r,n,o,i;return null!==(i=null!==(o=null===(n=null===(r=null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.contentType)||void 0===r?void 0:r.sys)||void 0===n?void 0:n.id)&&void 0!==o?o:null==e?void 0:e.__typename)&&void 0!==i?i:""},lt=e=>{var t,r;return null!==(r=null!==(t=null==e?void 0:e.fields)&&void 0!==t?t:e)&&void 0!==r?r:{}},ct=e=>{var t,r,n,o,i,a,u,l,c,s,d,f,p,E,y,h,m,v,L,b,A,_,S;return{image:null!==(a=null!==(o=null===(n=null===(r=null===(t=null==e?void 0:e.image)||void 0===t?void 0:t.fields)||void 0===r?void 0:r.file)||void 0===n?void 0:n.url)&&void 0!==o?o:null===(i=null==e?void 0:e.image)||void 0===i?void 0:i.url)&&void 0!==a?a:null==e?void 0:e.image,link:"string"==typeof(null==e?void 0:e.link)?e.link:null!==(c=null===(l=null===(u=null==e?void 0:e.link)||void 0===u?void 0:u.fields)||void 0===l?void 0:l.href)&&void 0!==c?c:null===(s=null==e?void 0:e.link)||void 0===s?void 0:s.href,videoPopup:Boolean(null==e?void 0:e.videoPopup),videoSourceType:null==e?void 0:e.videoSourceType,videoAssetUrl:null!==(h=null!==(E=null===(p=null===(f=null===(d=null==e?void 0:e.videoAssetUrl)||void 0===d?void 0:d.fields)||void 0===f?void 0:f.file)||void 0===p?void 0:p.url)&&void 0!==E?E:null===(y=null==e?void 0:e.videoAssetUrl)||void 0===y?void 0:y.url)&&void 0!==h?h:null==e?void 0:e.videoAssetUrl,videoAssetType:null!==(_=null!==(b=null===(L=null===(v=null===(m=null==e?void 0:e.videoAssetUrl)||void 0===m?void 0:m.fields)||void 0===v?void 0:v.file)||void 0===L?void 0:L.contentType)&&void 0!==b?b:null===(A=null==e?void 0:e.videoAssetUrl)||void 0===A?void 0:A.contentType)&&void 0!==_?_:null==e?void 0:e.videoAssetType,title:null!==(S=null==e?void 0:e.title)&&void 0!==S?S:null==e?void 0:e.entryTitle,description:null==e?void 0:e.description}},st=e=>{if(!e)return"";try{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;return new URL(t).hostname.toLowerCase()}catch(e){return""}},dt=e=>{const t=e.toLowerCase().replace(/\.$/,""),r=t.split(".").slice(-2).join("."),n=(t.slice(0,t.length-r.length).replace(/\.$/,"").split(".")[0]||"").replace(/-(dev|development|staging|stage|qa|test|uat|prod|production)$/,"");return`${r}|${""===n||"www"===n||"kinetic"===n?"main":n}`},ft=e=>{if(!/^https?:\/\//i.test(e))return!1;try{const t=new URL(e).hostname.toLowerCase(),r=st(process.env.NEXT_PUBLIC_SITE_URL)||st(process.env.NEXT_PUBLIC_MAIN_SITE_URL)||("undefined"!=typeof window?window.location.hostname.toLowerCase():"");return!r||dt(t)!==dt(r)}catch(e){return!1}},pt=e=>({renderText:e=>e.includes("[")&&e.includes("]")?(e=>{const t=/\[([a-zA-Z0-9_-]+)\]/g,r=[];let n,i=0;for(;null!==(n=t.exec(e));)n.index>i&&r.push(e.substring(i,n.index)),r.push(o.jsx(l.MaterialIcon,{name:n[1],size:20,className:"inline-block align-middle"},`icon-${n.index}-${n[1]}`)),i=n.index+n[0].length;return i<e.length&&r.push(e.substring(i)),r.length>0?r:[e]})(e):e,renderMark:{[he.BOLD]:e=>o.jsx("strong",{className:"font-black",children:e}),[he.ITALIC]:e=>o.jsx("em",{children:e}),[he.UNDERLINE]:e=>o.jsx("u",{children:e}),[he.CODE]:e=>o.jsx("code",{children:e})},renderNode:{[Ee.PARAGRAPH]:(e,t)=>o.jsx("div",{className:"body3 mb-4 whitespace-pre-line",children:it(e)?"\n":t}),[Ee.HEADING_1]:(e,t)=>o.jsx(c.Text,{as:"h1",className:"heading2 md:heading1",children:t}),[Ee.HEADING_2]:(e,t)=>o.jsx(c.Text,{as:"h2",className:"heading3 md:heading2",children:t}),[Ee.HEADING_3]:(e,t)=>o.jsx(c.Text,{as:"h3",className:"heading4 md:heading3",children:t}),[Ee.HEADING_4]:(e,t)=>o.jsx(c.Text,{as:"h4",className:"heading5 md:heading4",children:t}),[Ee.HEADING_5]:(e,t)=>o.jsx(c.Text,{as:"h5",className:"heading6 md:heading5",children:t}),[Ee.HEADING_6]:(e,t)=>o.jsx(c.Text,{as:"h6",className:"heading6",children:t}),[Ee.QUOTE]:(e,t)=>o.jsx("blockquote",{children:t}),[Ee.UL_LIST]:(e,t)=>o.jsx("ul",{className:"list-disc pl-6",children:t}),[Ee.OL_LIST]:(e,t)=>o.jsx("ol",{className:"list-decimal pl-6",children:t}),[Ee.LIST_ITEM]:(e,t)=>o.jsx("li",{children:t}),[ye.HYPERLINK]:(e,t)=>{var r;const n=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.uri,i=ft(n);return o.jsx("a",{href:n,target:i?"_blank":void 0,rel:i?"noopener":void 0,children:t})},[Ee.EMBEDDED_ASSET]:e=>{var t,r;const n=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.target,i=null==n?void 0:n.fields,a=(null==n?void 0:n.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),u=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return o.jsx("img",{src:l,alt:u,style:{maxWidth:"100%"}})},[Ee.EMBEDDED_ENTRY]:t=>{const r=at(t,e);if(!r)return null;const n=ut(r),i=lt(r);switch(n){case"callout":return o.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[o.jsx("strong",{children:i.title}),o.jsx("div",{children:i.body})]});case"componentVideoLink":case"ComponentVideoLink":return o.jsx(s.VideoLink,{videoLink:ct(i)});default:return null}},[ye.EMBEDDED_ENTRY]:t=>{var r;const n=at(t,e);if(!n)return null;const i=ut(n),a=lt(n);switch(i){case"componentCheckList":return o.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",a.title]});case"componentVideoLink":case"ComponentVideoLink":return o.jsx(s.VideoLink,{videoLink:ct(a)});default:return o.jsx("span",{children:null!==(r=null==a?void 0:a.title)&&void 0!==r?r:""})}}}});function Et(e,t,r="body1",n="body1 font-bold",i,a,l="body2"){if(!e||!Array.isArray(e.content))return null;const c=new WeakSet,s=(e,t=!1)=>{var r;const n=t||(null==e?void 0:e.nodeType)===Ee.LIST_ITEM;n&&(null==e?void 0:e.nodeType)===ye.HYPERLINK&&c.add(e),null===(r=null==e?void 0:e.content)||void 0===r||r.forEach(e=>s(e,n))};s(e);const d=pt(a),f={...d,...i,renderNode:{...d.renderNode,...null==i?void 0:i.renderNode,[Ee.PARAGRAPH]:(e,t)=>o.jsx("div",{className:[r,"whitespace-pre-line"].filter(Boolean).join(" "),children:it(e)?"\n":t}),[ye.HYPERLINK]:(e,r)=>{var i;const a=null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.uri,s=ft(a),d=null!=t?t:s;return o.jsx(u.Link,{href:a,target:d?"_blank":void 0,rel:d?"noopener":void 0,variant:"default",className:c.has(e)?l:n,children:r})}}};return pe.documentToReactComponents(e,f)}const yt={renderMark:{[he.BOLD]:e=>i.createElement("span",{className:"label1"},e)}};Object.defineProperty(exports,"clsx",{enumerable:!0,get:function(){return e.clsx}}),exports.SpeedCardBg=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,exports.UTM_PARAM_NAMES=y,exports.buildPreservedQueryHref=function(e,t){if(!t)return e;const r=new URLSearchParams(t),n=new Set(y),o=new Set([...n,"searchtext","page"]);let i,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,a=t.searchParams}else{const[t,r]=e.split("?");i=t,a=new URLSearchParams(r||"")}}catch(t){return e}const u=new URLSearchParams(a);r.forEach((e,t)=>{o.has(t.toLowerCase())||u.has(t)||u.set(t,e)});const l=u.toString();return l?`${i}?${l}`:i},exports.buildWifiGrantRedirectUrl=m,exports.combineExistingAndNewUTMs=function(e,t){if(!t)return e||{};if(!e)return t;if(["utm_campaign","utm_medium","utm_source","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"].every(r=>(e[r]||"")===(t[r]||"")))return{...t,utm_content:e.utm_content||t.utm_content,utm_term:e.utm_term||t.utm_term};const r=!!t.utm_content,n=!!t.utm_term;return{...t,...!r&&e.utm_content&&{utm_content:e.utm_content},...!n&&e.utm_term&&{utm_term:e.utm_term}}},exports.cx=(...t)=>d(e.clsx(...t)),exports.getCampaignProperties=function(e){if(!e)return null;const t={};return e.utm_campaign&&(t.name=e.utm_campaign),e.utm_source&&(t.source=e.utm_source),e.utm_medium&&(t.medium=e.utm_medium),e.utm_term&&(t.term=e.utm_term),e.utm_content&&(t.content=e.utm_content),e.utm_campaign_id&&(t.campaign_id=e.utm_campaign_id),e.utm_adgroup_id&&(t.adgroup_id=e.utm_adgroup_id),e.gclid&&(t.gclid=e.gclid),e.fbclid&&(t.fbclid=e.fbclid),e.msclkid&&(t.msclkid=e.msclkid),Object.keys(t).length>0?t:null},exports.getCookie=E,exports.getOrganicTrafficUtmParameters=function(){if("undefined"==typeof document)return null;const e=document.referrer;if(!e)return{utm_medium:"direct",utm_source:"direct"};let t;try{t=new URL(e).hostname.toLowerCase()}catch(e){return{utm_medium:"direct",utm_source:"direct"}}return t.includes("windstream.com")||t.includes("gokinetic.com")?null:t.includes("google.")?{utm_medium:"organic",utm_source:"google"}:t.includes("bing.")?{utm_medium:"organic",utm_source:"bing"}:{utm_medium:"referral",utm_source:t}},exports.getParsedCookie=e=>{try{return JSON.parse(E(e)||"")}catch(e){return null}},exports.getUTMs=function(){if("undefined"==typeof window)return null;const e=n.get(f);if(!e)return null;try{const t=r.Base64.decode(e);return JSON.parse(t)}catch(e){return null}},exports.getUtmParametersFromURL=function(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search),t={};let r=!1;for(const n of y){const o=e.get(n);o&&(t[n]=o,r=!0)}return r?t:null},exports.label1BoldOptions=yt,exports.redirectToWifiGrantUrl=function(){const e=m();return!!e&&(window.location.href=e,!0)},exports.removeUTMs=function(e=p){n.remove(f,{domain:e,path:"/"})},exports.renderContentfulRichText=Et,exports.renderContentfulRichTextTable=function(e,t){if(!e||!Array.isArray(e.content))return null;const r=pt(t),n={...r,renderMark:{...r.renderMark,[he.BOLD]:e=>o.jsx("strong",{className:"label4 md:label2",children:e})},renderNode:{...r.renderNode,[Ee.PARAGRAPH]:(e,t)=>o.jsx(o.Fragment,{children:t}),[Ee.TABLE]:(e,t)=>{var r,n;return o.jsx("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:o.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(n=null===(r=e.content[0])||void 0===r?void 0:r.content)||void 0===n?void 0:n.length)>2?"min-w-[100.1%]":"min-w-full"),children:o.jsx("tbody",{children:t})})})},[Ee.TABLE_ROW]:(e,t)=>o.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:t}),[Ee.TABLE_HEADER_CELL]:(e,t)=>{var r;const n=(null===(r=e.parent)||void 0===r?void 0:r.content.length)>2;return o.jsx("th",{className:`label4 break-words py-4 text-center md:label2 ${n?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t})},[Ee.TABLE_CELL]:(e,t)=>{var r,n,i,a;const u=(null===(r=e.parent)||void 0===r?void 0:r.content.length)>2,c=null===(a=null===(i=null===(n=e.content[0])||void 0===n?void 0:n.content[0])||void 0===i?void 0:i.value)||void 0===a?void 0:a.toLowerCase().trim();return o.jsx("td",{className:`rt-table-cell footnote break-words bg-white py-2 text-center align-top leading-5 text-text md:body2 first:text-left md:py-4 md:leading-7 ${u?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:o.jsxs(o.Fragment,{children:[" ","yes"===c?o.jsx(l.MaterialIcon,{name:"check_circle",color:"#24A76A",fill:1}):"no"===c?o.jsx(l.MaterialIcon,{name:"cancel",color:"#CECECE",fill:1}):t]})})},[ye.EMBEDDED_ENTRY]:e=>{var r,n,i,u;const l=e.data.target.sys.id,c=null===(n=null===(r=null==t?void 0:t.entries)||void 0===r?void 0:r.inline)||void 0===n?void 0:n.find(e=>e.sys.id===l);if(!c)return null;if("ComponentCheckList"===c.__typename){const e=(null===(u=null===(i=c.list)||void 0===i?void 0:i.items)||void 0===u?void 0:u.map(e=>{var t;return Et(L(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return o.jsx(a.Checklist,{items:e,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return o.jsx("span",{children:c.title||""})}}};return pe.documentToReactComponents(e,n)},exports.setCookie=(e,t,o)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),a=r.Base64.encode(i);n.set(e,a,o)},exports.setUTMs=function(e,t=p){if("undefined"==typeof window)return;const o=JSON.stringify(e),i=r.Base64.encode(o);n.set(f,i,{domain:t,path:"/",sameSite:"Lax"})},exports.toDocument=L,exports.useContentfulRichText=function(e,t,r){return i.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const n=pt(null==r?void 0:r.links),i={...n,renderMark:{...n.renderMark,...(null==r?void 0:r.boldClassName)?{[he.BOLD]:e=>o.jsx("strong",{className:r.boldClassName,children:e})}:{},...null==t?void 0:t.renderMark},renderNode:{...n.renderNode,...null==t?void 0:t.renderNode}};return pe.documentToReactComponents(e,i)},[e,t,null==r?void 0:r.boldClassName,null==r?void 0:r.links])},exports.useProcessedChecklist=function(e,t,r,n){return i.useMemo(()=>{var o,i;const a=null!==(i=null===(o=null==e?void 0:e.list)||void 0===o?void 0:o.items)&&void 0!==i?i:[];return t?a.map(e=>{var t,o;return null!==(o=Et(L(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,n,void 0,r))&&void 0!==o?o:""}):a.map(e=>{var t,o,i,a,u;return{title:null!==(o=Et(L(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,n,void 0,r))&&void 0!==o?o:"",iconUrl:null!==(a=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==a?a:void 0,anchorId:null!==(u=null==e?void 0:e.anchorId)&&void 0!==u?u:void 0}})},[e,t,r,n])};
2
2
  //# sourceMappingURL=index.js.map