"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_blog_ooi||[]).push([[7635],{48837:(e,t,a)=>{a.d(t,{$M:()=>m,Cw:()=>D,F9:()=>l,Ib:()=>c,T4:()=>v,_B:()=>n,qU:()=>N,ws:()=>d});var o=a(42049),i=a(31031),r=a(6702),n=(e=>(e.Unstyled="unstyled",e.HeaderOne="header-one",e.HeaderTwo="header-two",e.HeaderThree="header-three",e.HeaderFour="header-four",e.HeaderFive="header-five",e.HeaderSix="header-six",e.UnorderedListItem="unordered-list-item",e.OrderedListItem="ordered-list-item",e.Blockquote="blockquote",e.CodeBlock="code-block",e.Atomic="atomic",e))(n||{}),d=(e=>(e[e["header-one"]=1]="header-one",e[e["header-two"]=2]="header-two",e[e["header-three"]=3]="header-three",e[e["header-four"]=4]="header-four",e[e["header-five"]=5]="header-five",e[e["header-six"]=6]="header-six",e))(d||{});const l={"unordered-list-item":o.A.BULLETED_LIST,"ordered-list-item":o.A.ORDERED_LIST},u=((0,r.P)(Object.entries(l).map((([e,t])=>[t,e]))),{[i.D8]:o.A.BUTTON,[i.DL]:o.A.BUTTON,[i.n6]:o.A.DIVIDER,[i.gg]:o.A.FILE,[i.EU]:o.A.GALLERY,[i.Dr]:o.A.GIF,[i.dk]:o.A.HTML,[i.V5]:o.A.IMAGE,[i.XU]:o.A.IMAGE,[i.vT]:o.A.COLLAPSIBLE_LIST,[i.$I]:o.A.LINK_PREVIEW,[i.Rx]:o.A.APP_EMBED,[i.pE]:o.A.VIDEO,[i.W5]:o.A.AUDIO,[i.Rm]:o.A.VIDEO,[i.N]:o.A.POLL,[i._U]:o.A.TABLE,[i.Fl]:o.A.EMBED,[i.SJ]:o.A.EXTERNAL}),s=[i.XU,i.Rm],v=((0,r.P)(Object.entries(u).filter((([e])=>!s.includes(e))).map((([e,t])=>[t,e]))),{BOLD:o.g.BOLD,ITALIC:o.g.ITALIC,UNDERLINE:o.g.UNDERLINE,[i.Of]:o.g.SPOILER,[i.Dv]:o.g.ANCHOR,[i.iZ]:o.g.MENTION,[i.y1]:o.g.LINK,[i.SJ]:o.g.EXTERNAL}),c={BOLD:{type:o.g.BOLD,fontWeightValue:700},NOT_BOLD:{type:o.g.BOLD,fontWeightValue:400},ITALIC:{type:o.g.ITALIC,italicData:!0},NOT_ITALIC:{type:o.g.ITALIC,italicData:!1},UNDERLINE:{type:o.g.UNDERLINE,underlineData:!0},NOT_UNDERLINE:{type:o.g.UNDERLINE,underlineData:!1}},D={...u,...v},O=((0,r.P)(Object.entries(v).map((([e,t])=>[t,e]))),i.Dv,i.y1,i.iZ,{unstyled:"paragraphData","unordered-list-item":"paragraphData","ordered-list-item":"paragraphData","header-one":"headingData","header-two":"headingData","header-three":"headingData","header-four":"headingData","header-five":"headingData","header-six":"headingData","code-block":"codeBlockData",blockquote:"paragraphData"}),S=(0,r.P)(Object.entries(u).map((([e,t])=>[e,i.fC[t]]))),N={...{[i.Dv]:"anchorData",[i.y1]:"linkData",[i.iZ]:"mentionData",EMOJI_TYPE:"emojiData"},COLOR:"colorData",FONT_SIZE:"fontSizeData"},m={...N,...S,...O}},87919:(e,t,a)=>{a.d(t,{Kk:()=>Se});const o={seconds:"0",nanos:0},i={fromJSON(e){const t={...o};return t.seconds=void 0!==e.seconds&&null!==e.seconds?String(e.seconds):"0",t.nanos=void 0!==e.nanos&&null!==e.nanos?Number(e.nanos):0,t},toJSON(e){const t={};return void 0!==e.seconds&&(t.seconds=e.seconds),void 0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t}};var r=a(30257),n=a(9792);const d={},l={fromJSON(e){const t={...d};return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),t}};var u=a(69272),s=a(89597),v=a(19927),c=a(91639);const D={level:0},O={fromJSON(e){const t={...D};return t.level=void 0!==e.level&&null!==e.level?Number(e.level):0,t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):void 0,t},toJSON(e){const t={};return void 0!==e.level&&(t.level=Math.round(e.level)),void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),void 0!==e.indentation&&(t.indentation=e.indentation),t}};var S=a(60432),N=a(85336),m=a(15590),E=(e=>(e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN",e.UNRECOGNIZED="UNRECOGNIZED",e))(E||{});const L={},g={fromJSON(e){const t={...L};return t.containerData=void 0!==e.containerData&&null!==e.containerData?n.b$.fromJSON(e.containerData):void 0,t.mapSettings=void 0!==e.mapSettings&&null!==e.mapSettings?f.fromJSON(e.mapSettings):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?n.b$.toJSON(e.containerData):void 0),void 0!==e.mapSettings&&(t.mapSettings=e.mapSettings?f.toJSON(e.mapSettings):void 0),t}},A={mapType:E.ROADMAP},f={fromJSON(e){const t={...A};return t.address=void 0!==e.address&&null!==e.address?String(e.address):void 0,t.draggable=void 0!==e.draggable&&null!==e.draggable?Boolean(e.draggable):void 0,t.marker=void 0!==e.marker&&null!==e.marker?Boolean(e.marker):void 0,t.streetViewControl=void 0!==e.streetViewControl&&null!==e.streetViewControl?Boolean(e.streetViewControl):void 0,t.zoomControl=void 0!==e.zoomControl&&null!==e.zoomControl?Boolean(e.zoomControl):void 0,t.lat=void 0!==e.lat&&null!==e.lat?Number(e.lat):void 0,t.lng=void 0!==e.lng&&null!==e.lng?Number(e.lng):void 0,t.locationName=void 0!==e.locationName&&null!==e.locationName?String(e.locationName):void 0,t.viewModeControl=void 0!==e.viewModeControl&&null!==e.viewModeControl?Boolean(e.viewModeControl):void 0,t.initialZoom=void 0!==e.initialZoom&&null!==e.initialZoom?Number(e.initialZoom):void 0,t.mapType=void 0!==e.mapType&&null!==e.mapType?function(e){switch(e){case 0:case"ROADMAP":return E.ROADMAP;case 1:case"SATELITE":return E.SATELITE;case 2:case"HYBRID":return E.HYBRID;case 3:case"TERRAIN":return E.TERRAIN;default:return E.UNRECOGNIZED}}(e.mapType):E.ROADMAP,t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),void 0!==e.draggable&&(t.draggable=e.draggable),void 0!==e.marker&&(t.marker=e.marker),void 0!==e.streetViewControl&&(t.streetViewControl=e.streetViewControl),void 0!==e.zoomControl&&(t.zoomControl=e.zoomControl),void 0!==e.lat&&(t.lat=e.lat),void 0!==e.lng&&(t.lng=e.lng),void 0!==e.locationName&&(t.locationName=e.locationName),void 0!==e.viewModeControl&&(t.viewModeControl=e.viewModeControl),void 0!==e.initialZoom&&(t.initialZoom=e.initialZoom),void 0!==e.mapType&&(t.mapType=function(e){switch(e){case E.ROADMAP:return"ROADMAP";case E.SATELITE:return"SATELITE";case E.HYBRID:return"HYBRID";case E.TERRAIN:return"TERRAIN";default:return"UNKNOWN"}}(e.mapType)),t}},T={},p={fromJSON(e){const t={...T};return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):void 0,t.level=void 0!==e.level&&null!==e.level?Number(e.level):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),void 0!==e.indentation&&(t.indentation=e.indentation),void 0!==e.level&&(t.level=e.level),t}};var I=a(67684),J=a(31412),h=a(77782),b=a(34416),B=a(57508),C=a(18117),R=(e=>(e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM",e.UNRECOGNIZED="UNRECOGNIZED",e))(R||{});const y={},P={fromJSON(e){const t={...y};return t.cellStyle=void 0!==e.cellStyle&&null!==e.cellStyle?_.fromJSON(e.cellStyle):void 0,t.borderColors=void 0!==e.borderColors&&null!==e.borderColors?V.fromJSON(e.borderColors):void 0,t},toJSON(e){const t={};return void 0!==e.cellStyle&&(t.cellStyle=e.cellStyle?_.toJSON(e.cellStyle):void 0),void 0!==e.borderColors&&(t.borderColors=e.borderColors?V.toJSON(e.borderColors):void 0),t}},k={verticalAlignment:R.TOP},_={fromJSON(e){const t={...k};return t.verticalAlignment=void 0!==e.verticalAlignment&&null!==e.verticalAlignment?function(e){switch(e){case 0:case"TOP":return R.TOP;case 1:case"MIDDLE":return R.MIDDLE;case 2:case"BOTTOM":return R.BOTTOM;default:return R.UNRECOGNIZED}}(e.verticalAlignment):R.TOP,t.backgroundColor=void 0!==e.backgroundColor&&null!==e.backgroundColor?String(e.backgroundColor):void 0,t},toJSON(e){const t={};return void 0!==e.verticalAlignment&&(t.verticalAlignment=function(e){switch(e){case R.TOP:return"TOP";case R.MIDDLE:return"MIDDLE";case R.BOTTOM:return"BOTTOM";default:return"UNKNOWN"}}(e.verticalAlignment)),void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),t}},M={},V={fromJSON(e){const t={...M};return t.left=void 0!==e.left&&null!==e.left?String(e.left):void 0,t.right=void 0!==e.right&&null!==e.right?String(e.right):void 0,t.top=void 0!==e.top&&null!==e.top?String(e.top):void 0,t.bottom=void 0!==e.bottom&&null!==e.bottom?String(e.bottom):void 0,t},toJSON(e){const t={};return void 0!==e.left&&(t.left=e.left),void 0!==e.right&&(t.right=e.right),void 0!==e.top&&(t.top=e.top),void 0!==e.bottom&&(t.bottom=e.bottom),t}};var x=a(16048);const U={},w={fromJSON(e){const t={...U};return t.fields=Object.entries(e.fields??{}).reduce(((e,[t,a])=>(e[t]=G.fromJSON(a),e)),{}),t},toJSON(e){const t={fields:{}};return e.fields&&Object.entries(e.fields).forEach((([e,a])=>{t.fields[e]=G.toJSON(a)})),t}},H={},G={fromJSON(e){const t={...H};return t.nullValue=void 0!==e.nullValue&&null!==e.nullValue?function(e){switch(e){case 0:case"NULL_VALUE":return x.X.NULL_VALUE;default:return x.X.UNRECOGNIZED}}(e.nullValue):void 0,t.numberValue=void 0!==e.numberValue&&null!==e.numberValue?Number(e.numberValue):void 0,t.stringValue=void 0!==e.stringValue&&null!==e.stringValue?String(e.stringValue):void 0,t.boolValue=void 0!==e.boolValue&&null!==e.boolValue?Boolean(e.boolValue):void 0,t.structValue=void 0!==e.structValue&&null!==e.structValue?w.fromJSON(e.structValue):void 0,t.listValue=void 0!==e.listValue&&null!==e.listValue?W.fromJSON(e.listValue):void 0,t},toJSON(e){const t={};return void 0!==e.nullValue&&(t.nullValue=void 0!==e.nullValue?e.nullValue===x.X.NULL_VALUE?"NULL_VALUE":"UNKNOWN":void 0),void 0!==e.numberValue&&(t.numberValue=e.numberValue),void 0!==e.stringValue&&(t.stringValue=e.stringValue),void 0!==e.boolValue&&(t.boolValue=e.boolValue),void 0!==e.structValue&&(t.structValue=e.structValue?w.toJSON(e.structValue):void 0),void 0!==e.listValue&&(t.listValue=e.listValue?W.toJSON(e.listValue):void 0),t}},F={},W={fromJSON(e){const t={...F};return t.values=(e.values??[]).map((e=>G.fromJSON(e))),t},toJSON(e){const t={};return e.values?t.values=e.values.map((e=>e?G.toJSON(e):void 0)):t.values=[],t}};var K=a(10983);const X={indentation:0},Z={fromJSON(e){const t={...X};return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t.offset=void 0!==e.offset&&null!==e.offset?Number(e.offset):void 0,t.start=void 0!==e.start&&null!==e.start?Number(e.start):void 0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),void 0!==e.offset&&(t.offset=e.offset),void 0!==e.start&&(t.start=e.start),t}},q={indentation:0},z={fromJSON(e){const t={...q};return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t.offset=void 0!==e.offset&&null!==e.offset?Number(e.offset):void 0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),void 0!==e.offset&&(t.offset=e.offset),t}},Y={indentation:0},j={fromJSON(e){const t={...Y};return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),t}},$={},Q={fromJSON(e){const t={...$};return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?n.xJ.fromJSON(e.textStyle):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?n.xJ.toJSON(e.textStyle):void 0),t}},ee={anchor:""},te={fromJSON(e){const t={...ee};return t.anchor=void 0!==e.anchor&&null!==e.anchor?String(e.anchor):"",t},toJSON(e){const t={};return void 0!==e.anchor&&(t.anchor=e.anchor),t}},ae={},oe={fromJSON(e){const t={...ae};return t.background=void 0!==e.background&&null!==e.background?String(e.background):void 0,t.foreground=void 0!==e.foreground&&null!==e.foreground?String(e.foreground):void 0,t},toJSON(e){const t={};return void 0!==e.background&&(t.background=e.background),void 0!==e.foreground&&(t.foreground=e.foreground),t}},ie={},re={fromJSON(e){const t={...ie};return t.link=void 0!==e.link&&null!==e.link?n.N_.fromJSON(e.link):void 0,t},toJSON(e){const t={};return void 0!==e.link&&(t.link=e.link?n.N_.toJSON(e.link):void 0),t}},ne={name:"",slug:""},de={fromJSON(e){const t={...ne};return t.name=void 0!==e.name&&null!==e.name?String(e.name):"",t.slug=void 0!==e.slug&&null!==e.slug?String(e.slug):"",t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.name&&(t.name=e.name),void 0!==e.slug&&(t.slug=e.slug),void 0!==e.id&&(t.id=e.id),t}};var le=a(89830);const ue={unit:le.P.PX},se={fromJSON(e){const t={...ue};return t.unit=void 0!==e.unit&&null!==e.unit?function(e){switch(e){case 0:case"PX":return le.P.PX;case 1:case"EM":return le.P.EM;default:return le.P.UNRECOGNIZED}}(e.unit):le.P.PX,t.value=void 0!==e.value&&null!==e.value?Number(e.value):void 0,t},toJSON(e){const t={};return void 0!==e.unit&&(t.unit=function(e){switch(e){case le.P.PX:return"PX";case le.P.EM:return"EM";default:return"UNKNOWN"}}(e.unit)),void 0!==e.value&&(t.value=e.value),t}},ve={},ce={fromJSON(e){const t={...ve};return t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.id&&(t.id=e.id),t}};var De=a(42049);const Oe={},Se={fromJSON(e){const t={...Oe};return t.nodes=(e.nodes??[]).map((e=>me.fromJSON(e))),t.metadata=void 0!==e.metadata&&null!==e.metadata?Ie.fromJSON(e.metadata):void 0,t.documentStyle=void 0!==e.documentStyle&&null!==e.documentStyle?Be.fromJSON(e.documentStyle):void 0,t},toJSON(e){const t={};return e.nodes?t.nodes=e.nodes.map((e=>e?me.toJSON(e):void 0)):t.nodes=[],void 0!==e.metadata&&(t.metadata=e.metadata?Ie.toJSON(e.metadata):void 0),void 0!==e.documentStyle&&(t.documentStyle=e.documentStyle?Be.toJSON(e.documentStyle):void 0),t}},Ne={type:De.A.PARAGRAPH,id:""},me={fromJSON(e){const t={...Ne};return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"PARAGRAPH":return De.A.PARAGRAPH;case 1:case"TEXT":return De.A.TEXT;case 2:case"HEADING":return De.A.HEADING;case 3:case"BULLETED_LIST":return De.A.BULLETED_LIST;case 4:case"ORDERED_LIST":return De.A.ORDERED_LIST;case 5:case"LIST_ITEM":return De.A.LIST_ITEM;case 6:case"BLOCKQUOTE":return De.A.BLOCKQUOTE;case 7:case"CODE_BLOCK":return De.A.CODE_BLOCK;case 8:case"VIDEO":return De.A.VIDEO;case 9:case"DIVIDER":return De.A.DIVIDER;case 10:case"FILE":return De.A.FILE;case 11:case"GALLERY":return De.A.GALLERY;case 12:case"GIF":return De.A.GIF;case 13:case"HTML":return De.A.HTML;case 14:case"IMAGE":return De.A.IMAGE;case 15:case"LINK_PREVIEW":return De.A.LINK_PREVIEW;case 16:case"MAP":return De.A.MAP;case 17:case"POLL":return De.A.POLL;case 18:case"APP_EMBED":return De.A.APP_EMBED;case 19:case"BUTTON":return De.A.BUTTON;case 20:case"COLLAPSIBLE_LIST":return De.A.COLLAPSIBLE_LIST;case 21:case"TABLE":return De.A.TABLE;case 22:case"EMBED":return De.A.EMBED;case 23:case"COLLAPSIBLE_ITEM":return De.A.COLLAPSIBLE_ITEM;case 24:case"COLLAPSIBLE_ITEM_TITLE":return De.A.COLLAPSIBLE_ITEM_TITLE;case 25:case"COLLAPSIBLE_ITEM_BODY":return De.A.COLLAPSIBLE_ITEM_BODY;case 26:case"TABLE_CELL":return De.A.TABLE_CELL;case 27:case"TABLE_ROW":return De.A.TABLE_ROW;case 28:case"EXTERNAL":return De.A.EXTERNAL;case 29:case"AUDIO":return De.A.AUDIO;case 30:case"CAPTION":return De.A.CAPTION;default:return De.A.UNRECOGNIZED}}(e.type):De.A.PARAGRAPH,t.id=void 0!==e.id&&null!==e.id?String(e.id):"",t.nodes=(e.nodes??[]).map((e=>me.fromJSON(e))),t.style=void 0!==e.style&&null!==e.style?Le.fromJSON(e.style):void 0,t.buttonData=void 0!==e.buttonData&&null!==e.buttonData?r.vL.fromJSON(e.buttonData):void 0,t.codeBlockData=void 0!==e.codeBlockData&&null!==e.codeBlockData?l.fromJSON(e.codeBlockData):void 0,t.dividerData=void 0!==e.dividerData&&null!==e.dividerData?u.ws.fromJSON(e.dividerData):void 0,t.fileData=void 0!==e.fileData&&null!==e.fileData?s.HW.fromJSON(e.fileData):void 0,t.galleryData=void 0!==e.galleryData&&null!==e.galleryData?v.J_.fromJSON(e.galleryData):void 0,t.gifData=void 0!==e.gifData&&null!==e.gifData?c.P.fromJSON(e.gifData):void 0,t.headingData=void 0!==e.headingData&&null!==e.headingData?O.fromJSON(e.headingData):void 0,t.htmlData=void 0!==e.htmlData&&null!==e.htmlData?S.mI.fromJSON(e.htmlData):void 0,t.imageData=void 0!==e.imageData&&null!==e.imageData?N.m.fromJSON(e.imageData):void 0,t.linkPreviewData=void 0!==e.linkPreviewData&&null!==e.linkPreviewData?m.d.fromJSON(e.linkPreviewData):void 0,t.mapData=void 0!==e.mapData&&null!==e.mapData?g.fromJSON(e.mapData):void 0,t.paragraphData=void 0!==e.paragraphData&&null!==e.paragraphData?p.fromJSON(e.paragraphData):void 0,t.pollData=void 0!==e.pollData&&null!==e.pollData?I.s9.fromJSON(e.pollData):void 0,t.textData=void 0!==e.textData&&null!==e.textData?Ae.fromJSON(e.textData):void 0,t.appEmbedData=void 0!==e.appEmbedData&&null!==e.appEmbedData?J.$L.fromJSON(e.appEmbedData):void 0,t.videoData=void 0!==e.videoData&&null!==e.videoData?h.e.fromJSON(e.videoData):void 0,t.embedData=void 0!==e.embedData&&null!==e.embedData?b.Y.fromJSON(e.embedData):void 0,t.collapsibleListData=void 0!==e.collapsibleListData&&null!==e.collapsibleListData?B.b0.fromJSON(e.collapsibleListData):void 0,t.tableData=void 0!==e.tableData&&null!==e.tableData?C.l.fromJSON(e.tableData):void 0,t.tableCellData=void 0!==e.tableCellData&&null!==e.tableCellData?P.fromJSON(e.tableCellData):void 0,t.externalData=void 0!==e.externalData&&null!==e.externalData?w.fromJSON(e.externalData):void 0,t.audioData=void 0!==e.audioData&&null!==e.audioData?K.z.fromJSON(e.audioData):void 0,t.orderedListData=void 0!==e.orderedListData&&null!==e.orderedListData?Z.fromJSON(e.orderedListData):void 0,t.bulletedListData=void 0!==e.bulletedListData&&null!==e.bulletedListData?z.fromJSON(e.bulletedListData):void 0,t.blockquoteData=void 0!==e.blockquoteData&&null!==e.blockquoteData?j.fromJSON(e.blockquoteData):void 0,t.captionData=void 0!==e.captionData&&null!==e.captionData?Q.fromJSON(e.captionData):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case De.A.PARAGRAPH:return"PARAGRAPH";case De.A.TEXT:return"TEXT";case De.A.HEADING:return"HEADING";case De.A.BULLETED_LIST:return"BULLETED_LIST";case De.A.ORDERED_LIST:return"ORDERED_LIST";case De.A.LIST_ITEM:return"LIST_ITEM";case De.A.BLOCKQUOTE:return"BLOCKQUOTE";case De.A.CODE_BLOCK:return"CODE_BLOCK";case De.A.VIDEO:return"VIDEO";case De.A.DIVIDER:return"DIVIDER";case De.A.FILE:return"FILE";case De.A.GALLERY:return"GALLERY";case De.A.GIF:return"GIF";case De.A.HTML:return"HTML";case De.A.IMAGE:return"IMAGE";case De.A.LINK_PREVIEW:return"LINK_PREVIEW";case De.A.MAP:return"MAP";case De.A.POLL:return"POLL";case De.A.APP_EMBED:return"APP_EMBED";case De.A.BUTTON:return"BUTTON";case De.A.COLLAPSIBLE_LIST:return"COLLAPSIBLE_LIST";case De.A.TABLE:return"TABLE";case De.A.EMBED:return"EMBED";case De.A.COLLAPSIBLE_ITEM:return"COLLAPSIBLE_ITEM";case De.A.COLLAPSIBLE_ITEM_TITLE:return"COLLAPSIBLE_ITEM_TITLE";case De.A.COLLAPSIBLE_ITEM_BODY:return"COLLAPSIBLE_ITEM_BODY";case De.A.TABLE_CELL:return"TABLE_CELL";case De.A.TABLE_ROW:return"TABLE_ROW";case De.A.EXTERNAL:return"EXTERNAL";case De.A.AUDIO:return"AUDIO";case De.A.CAPTION:return"CAPTION";default:return"UNKNOWN"}}(e.type)),void 0!==e.id&&(t.id=e.id),e.nodes?t.nodes=e.nodes.map((e=>e?me.toJSON(e):void 0)):t.nodes=[],void 0!==e.style&&(t.style=e.style?Le.toJSON(e.style):void 0),void 0!==e.buttonData&&(t.buttonData=e.buttonData?r.vL.toJSON(e.buttonData):void 0),void 0!==e.codeBlockData&&(t.codeBlockData=e.codeBlockData?l.toJSON(e.codeBlockData):void 0),void 0!==e.dividerData&&(t.dividerData=e.dividerData?u.ws.toJSON(e.dividerData):void 0),void 0!==e.fileData&&(t.fileData=e.fileData?s.HW.toJSON(e.fileData):void 0),void 0!==e.galleryData&&(t.galleryData=e.galleryData?v.J_.toJSON(e.galleryData):void 0),void 0!==e.gifData&&(t.gifData=e.gifData?c.P.toJSON(e.gifData):void 0),void 0!==e.headingData&&(t.headingData=e.headingData?O.toJSON(e.headingData):void 0),void 0!==e.htmlData&&(t.htmlData=e.htmlData?S.mI.toJSON(e.htmlData):void 0),void 0!==e.imageData&&(t.imageData=e.imageData?N.m.toJSON(e.imageData):void 0),void 0!==e.linkPreviewData&&(t.linkPreviewData=e.linkPreviewData?m.d.toJSON(e.linkPreviewData):void 0),void 0!==e.mapData&&(t.mapData=e.mapData?g.toJSON(e.mapData):void 0),void 0!==e.paragraphData&&(t.paragraphData=e.paragraphData?p.toJSON(e.paragraphData):void 0),void 0!==e.pollData&&(t.pollData=e.pollData?I.s9.toJSON(e.pollData):void 0),void 0!==e.textData&&(t.textData=e.textData?Ae.toJSON(e.textData):void 0),void 0!==e.appEmbedData&&(t.appEmbedData=e.appEmbedData?J.$L.toJSON(e.appEmbedData):void 0),void 0!==e.videoData&&(t.videoData=e.videoData?h.e.toJSON(e.videoData):void 0),void 0!==e.embedData&&(t.embedData=e.embedData?b.Y.toJSON(e.embedData):void 0),void 0!==e.collapsibleListData&&(t.collapsibleListData=e.collapsibleListData?B.b0.toJSON(e.collapsibleListData):void 0),void 0!==e.tableData&&(t.tableData=e.tableData?C.l.toJSON(e.tableData):void 0),void 0!==e.tableCellData&&(t.tableCellData=e.tableCellData?P.toJSON(e.tableCellData):void 0),void 0!==e.externalData&&(t.externalData=e.externalData?w.toJSON(e.externalData):void 0),void 0!==e.audioData&&(t.audioData=e.audioData?K.z.toJSON(e.audioData):void 0),void 0!==e.orderedListData&&(t.orderedListData=e.orderedListData?Z.toJSON(e.orderedListData):void 0),void 0!==e.bulletedListData&&(t.bulletedListData=e.bulletedListData?z.toJSON(e.bulletedListData):void 0),void 0!==e.blockquoteData&&(t.blockquoteData=e.blockquoteData?j.toJSON(e.blockquoteData):void 0),void 0!==e.captionData&&(t.captionData=e.captionData?Q.toJSON(e.captionData):void 0),t}},Ee={},Le={fromJSON(e){const t={...Ee};return t.paddingTop=void 0!==e.paddingTop&&null!==e.paddingTop?String(e.paddingTop):void 0,t.paddingBottom=void 0!==e.paddingBottom&&null!==e.paddingBottom?String(e.paddingBottom):void 0,t.backgroundColor=void 0!==e.backgroundColor&&null!==e.backgroundColor?String(e.backgroundColor):void 0,t},toJSON(e){const t={};return void 0!==e.paddingTop&&(t.paddingTop=e.paddingTop),void 0!==e.paddingBottom&&(t.paddingBottom=e.paddingBottom),void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),t}},ge={text:""},Ae={fromJSON(e){const t={...ge};return t.text=void 0!==e.text&&null!==e.text?String(e.text):"",t.decorations=(e.decorations??[]).map((e=>Te.fromJSON(e))),t},toJSON(e){const t={};return void 0!==e.text&&(t.text=e.text),e.decorations?t.decorations=e.decorations.map((e=>e?Te.toJSON(e):void 0)):t.decorations=[],t}},fe={type:De.g.BOLD},Te={fromJSON(e){const t={...fe};return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"BOLD":return De.g.BOLD;case 1:case"ITALIC":return De.g.ITALIC;case 2:case"UNDERLINE":return De.g.UNDERLINE;case 3:case"SPOILER":return De.g.SPOILER;case 4:case"ANCHOR":return De.g.ANCHOR;case 5:case"MENTION":return De.g.MENTION;case 6:case"LINK":return De.g.LINK;case 7:case"COLOR":return De.g.COLOR;case 8:case"FONT_SIZE":return De.g.FONT_SIZE;case 9:case"EXTERNAL":return De.g.EXTERNAL;default:return De.g.UNRECOGNIZED}}(e.type):De.g.BOLD,t.anchorData=void 0!==e.anchorData&&null!==e.anchorData?te.fromJSON(e.anchorData):void 0,t.colorData=void 0!==e.colorData&&null!==e.colorData?oe.fromJSON(e.colorData):void 0,t.linkData=void 0!==e.linkData&&null!==e.linkData?re.fromJSON(e.linkData):void 0,t.mentionData=void 0!==e.mentionData&&null!==e.mentionData?de.fromJSON(e.mentionData):void 0,t.fontSizeData=void 0!==e.fontSizeData&&null!==e.fontSizeData?se.fromJSON(e.fontSizeData):void 0,t.fontWeightValue=void 0!==e.fontWeightValue&&null!==e.fontWeightValue?Number(e.fontWeightValue):void 0,t.italicData=void 0!==e.italicData&&null!==e.italicData?Boolean(e.italicData):void 0,t.underlineData=void 0!==e.underlineData&&null!==e.underlineData?Boolean(e.underlineData):void 0,t.spoilerData=void 0!==e.spoilerData&&null!==e.spoilerData?ce.fromJSON(e.spoilerData):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case De.g.BOLD:return"BOLD";case De.g.ITALIC:return"ITALIC";case De.g.UNDERLINE:return"UNDERLINE";case De.g.SPOILER:return"SPOILER";case De.g.ANCHOR:return"ANCHOR";case De.g.MENTION:return"MENTION";case De.g.LINK:return"LINK";case De.g.COLOR:return"COLOR";case De.g.FONT_SIZE:return"FONT_SIZE";case De.g.EXTERNAL:return"EXTERNAL";default:return"UNKNOWN"}}(e.type)),void 0!==e.anchorData&&(t.anchorData=e.anchorData?te.toJSON(e.anchorData):void 0),void 0!==e.colorData&&(t.colorData=e.colorData?oe.toJSON(e.colorData):void 0),void 0!==e.linkData&&(t.linkData=e.linkData?re.toJSON(e.linkData):void 0),void 0!==e.mentionData&&(t.mentionData=e.mentionData?de.toJSON(e.mentionData):void 0),void 0!==e.fontSizeData&&(t.fontSizeData=e.fontSizeData?se.toJSON(e.fontSizeData):void 0),void 0!==e.fontWeightValue&&(t.fontWeightValue=e.fontWeightValue),void 0!==e.italicData&&(t.italicData=e.italicData),void 0!==e.underlineData&&(t.underlineData=e.underlineData),void 0!==e.spoilerData&&(t.spoilerData=e.spoilerData?ce.toJSON(e.spoilerData):void 0),t}},pe={version:0},Ie={fromJSON(e){const t={...pe};return t.version=void 0!==e.version&&null!==e.version?Number(e.version):0,t.createdTimestamp=void 0!==e.createdTimestamp&&null!==e.createdTimestamp?Ce(e.createdTimestamp):void 0,t.updatedTimestamp=void 0!==e.updatedTimestamp&&null!==e.updatedTimestamp?Ce(e.updatedTimestamp):void 0,t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.version&&(t.version=Math.round(e.version)),void 0!==e.createdTimestamp&&(t.createdTimestamp=e.createdTimestamp.toISOString()),void 0!==e.updatedTimestamp&&(t.updatedTimestamp=e.updatedTimestamp.toISOString()),void 0!==e.id&&(t.id=e.id),t}},Je={},he={fromJSON(e){const t={...Je};return t.decorations=(e.decorations??[]).map((e=>Te.fromJSON(e))),t.nodeStyle=void 0!==e.nodeStyle&&null!==e.nodeStyle?Le.fromJSON(e.nodeStyle):void 0,t.lineHeight=void 0!==e.lineHeight&&null!==e.lineHeight?String(e.lineHeight):void 0,t},toJSON(e){const t={};return e.decorations?t.decorations=e.decorations.map((e=>e?Te.toJSON(e):void 0)):t.decorations=[],void 0!==e.nodeStyle&&(t.nodeStyle=e.nodeStyle?Le.toJSON(e.nodeStyle):void 0),void 0!==e.lineHeight&&(t.lineHeight=e.lineHeight),t}},be={},Be={fromJSON(e){const t={...be};return t.headerOne=void 0!==e.headerOne&&null!==e.headerOne?he.fromJSON(e.headerOne):void 0,t.headerTwo=void 0!==e.headerTwo&&null!==e.headerTwo?he.fromJSON(e.headerTwo):void 0,t.headerThree=void 0!==e.headerThree&&null!==e.headerThree?he.fromJSON(e.headerThree):void 0,t.headerFour=void 0!==e.headerFour&&null!==e.headerFour?he.fromJSON(e.headerFour):void 0,t.headerFive=void 0!==e.headerFive&&null!==e.headerFive?he.fromJSON(e.headerFive):void 0,t.headerSix=void 0!==e.headerSix&&null!==e.headerSix?he.fromJSON(e.headerSix):void 0,t.paragraph=void 0!==e.paragraph&&null!==e.paragraph?he.fromJSON(e.paragraph):void 0,t.blockquote=void 0!==e.blockquote&&null!==e.blockquote?he.fromJSON(e.blockquote):void 0,t.codeBlock=void 0!==e.codeBlock&&null!==e.codeBlock?he.fromJSON(e.codeBlock):void 0,t},toJSON(e){const t={};return void 0!==e.headerOne&&(t.headerOne=e.headerOne?he.toJSON(e.headerOne):void 0),void 0!==e.headerTwo&&(t.headerTwo=e.headerTwo?he.toJSON(e.headerTwo):void 0),void 0!==e.headerThree&&(t.headerThree=e.headerThree?he.toJSON(e.headerThree):void 0),void 0!==e.headerFour&&(t.headerFour=e.headerFour?he.toJSON(e.headerFour):void 0),void 0!==e.headerFive&&(t.headerFive=e.headerFive?he.toJSON(e.headerFive):void 0),void 0!==e.headerSix&&(t.headerSix=e.headerSix?he.toJSON(e.headerSix):void 0),void 0!==e.paragraph&&(t.paragraph=e.paragraph?he.toJSON(e.paragraph):void 0),void 0!==e.blockquote&&(t.blockquote=e.blockquote?he.toJSON(e.blockquote):void 0),void 0!==e.codeBlock&&(t.codeBlock=e.codeBlock?he.toJSON(e.codeBlock):void 0),t}};function Ce(e){return e instanceof Date?e:"string"==typeof e?new Date(e):function(e){let t=1e3*Number(e.seconds);return t+=e.nanos/1e6,new Date(t)}(i.fromJSON(e))}}}]); //# sourceMappingURL=7635.chunk.min.js.map