!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0055ed55-1939-4415-9676-15c14067becf",e._sentryDebugIdIdentifier="sentry-dbid-0055ed55-1939-4415-9676-15c14067becf")}catch(e){}}(),("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"v8.4"},(self.webpackChunkcvbuilder=self.webpackChunkcvbuilder||[]).push([[4747],{83449:(e,t,n)=>{function r(e,t){if(!e.colorIdSettings||!e.colorPropertyNames)return;const n=(r=t,function(){let e=(r=2654435769+(r|=0)|0)^r>>>16;return e=Math.imul(e,569420461),e^=e>>>15,e=Math.imul(e,1935289751),((e^=e>>>15)>>>0)/4294967296});var r;const i=Math.floor(n()*e.mainColorCodes.length),s=e.colorIdSettings[i].map((e=>{return function(e){const{l:t,a:n,b:r}=e,i=Math.sqrt(Math.pow(n,2)+Math.pow(r,2));let s=Math.atan2(r,n);return s=s>0?s/Math.PI*180:360-Math.abs(s)/Math.PI*180,{l:t,c:i,h:s}}(function(e){let t=e.x/95.047,n=e.y/100,r=e.z/108.883;return t=t>.008856?Math.pow(t,.333333333):7.787*t+.137931034,n=n>.008856?Math.pow(n,.333333333):7.787*n+.137931034,r=r>.008856?Math.pow(r,.333333333):7.787*r+.137931034,{l:116*n-16,a:500*(t-n),b:200*(n-r)}}(function(e){let t=e.r/255,n=e.g/255,r=e.b/255;return t>.04045?t=Math.pow((t+.055)/1.055,2.4):t/=12.92,n>.04045?n=Math.pow((n+.055)/1.055,2.4):n/=12.92,r>.04045?r=Math.pow((r+.055)/1.055,2.4):r/=12.92,t*=100,n*=100,r*=100,{x:.4124*t+.3576*n+.1805*r,y:.2126*t+.7152*n+.0722*r,z:.0193*t+.1192*n+.9505*r}}({r:(t=parseInt(e,16))>>16&255,g:t>>8&255,b:255&t})));var t})),l=Math.floor(360*n());for(const e of s)e.h+=l,e.h>360?e.h-=360:e.h<0&&(e.h+=360);const o=s.map((e=>{return t=function(e){const t=e.x/100,n=e.y/100,r=e.z/100;let i=3.2406*t+-1.5372*n+-.4986*r,s=-.9689*t+1.8758*n+.0415*r,l=.0557*t+-.204*n+1.057*r;return i>.0031308?i=1.055*Math.pow(i,.41666667)-.055:i*=12.92,s>.0031308?s=1.055*Math.pow(s,.41666667)-.055:s*=12.92,l>.0031308?l=1.055*Math.pow(l,.41666667)-.055:l*=12.92,i*=255,s*=255,l*=255,{r:Math.min(255,Math.max(i,0)),g:Math.min(255,Math.max(s,0)),b:Math.min(255,Math.max(l,0))}}(function(e){const{l:t,a:n,b:r}=e;let i=(t+16)/116,s=n/500+i,l=i-r/200;return i=Math.pow(i,3)>.008856?Math.pow(i,3):(i-.137931034)/7.787,s=Math.pow(s,3)>.008856?Math.pow(s,3):(s-.137931034)/7.787,l=Math.pow(l,3)>.008856?Math.pow(l,3):(l-.137931034)/7.787,s*=95.047,i*=100,l*=108.883,{x:s,y:i,z:l}}(function(e){const{l:t,c:n,h:r}=e;return{l:t,a:Math.cos(.01745329251*r)*n,b:Math.sin(.01745329251*r)*n}}(e))),"#"+[Math.floor(t.r),Math.floor(t.g),Math.floor(t.b)].map((e=>{const t=e.toString(16);return 1===t.length?"0"+t:t})).join("");var t})),a=e.colorPropertyNames,c={};for(let e=0;er})},74949:(e,t,n)=>{n.d(t,{He:()=>ue,L9:()=>oe,Xy:()=>le,_J:()=>se,cd:()=>re,du:()=>me,fz:()=>ae,qC:()=>ce,sD:()=>pe,wq:()=>fe,z6:()=>V});var r,i,s,l,o,a,c,u,p,h,d,m,f,y,g,b,E,S,w,v,C,L,M,I,T,x,R,A,N,D,H,z,k,O,_,F,P,W=n(466);function U(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function q(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer?(Object.defineProperty(e,t,s),null):s}function K(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const X=new Map,B=new Map;function j(e){return(t,n)=>{X.has(t.constructor.name)||X.set(t.constructor.name,[]),X.get(t.constructor.name)?.push({propertyKey:n,value:e})}}function G(){return(e,t)=>{B.has(e.constructor.name)||B.set(e.constructor.name,new Set),B.get(e.constructor.name)?.add(t)}}function $(e){const t=J(e),n=[];return t.forEach((({propertyKey:t,value:r})=>{let i=e[t];i instanceof V&&(i=i.getStyle()),"string"==typeof i&&i.length?n.push({attributeName:r,value:i}):"number"==typeof i?n.push({attributeName:r,value:Q(i)}):"boolean"==typeof i&&n.push({attributeName:r,value:i.toString()})})),n}function J(e){return function(e,t){const n=[];let r=Object.getPrototypeOf(e);for(;null!==r;){const e=t.get(r.constructor.name)||[];n.push(...e),r=Object.getPrototypeOf(r)}return n}(e,X)}function Q(e){return e%1==0?e.toFixed(0):10*e%1==0?e.toFixed(1):e.toFixed(2)}class V{constructor(e){K(this,"style",void 0),K(this,"defaultStyle",void 0),K(this,"isImportant",!1),this.defaultStyle=e}innerAppend(e,t=!1){!this.isImportant&&!t||this.isImportant&&t?this.style||=e:!this.isImportant&&t&&(this.style=e),this.isImportant||=t}append(e,t=!1){"string"==typeof e?e.length&&this.innerAppend(e,t):this.innerAppend(e,t)}appendDeclaration(e,t,n){const r=e.getPropertyValue(t),i=n?n(r):r;this.append(i,"important"===e.getPropertyPriority(t))}getStyle(){return this.style??this.defaultStyle}reset(){this.style=void 0,this.isImportant=!1}getIsImportant(){return this.isImportant}}class Y extends V{constructor(...e){super(...e),K(this,"boldStyle",new V),K(this,"italicStyle",new V),K(this,"underlinedStyle",new V),K(this,"strikethrougStyle",new V)}append(e,t){"string"==typeof e?(this.boldStyle.append(e.includes("!b")?"!b":e.includes("b")?"b":void 0,t),this.italicStyle.append(e.includes("!i")?"!i":e.includes("i")?"i":void 0,t),this.underlinedStyle.append(e.includes("!u")?"!u":e.includes("u")?"u":void 0,t),this.strikethrougStyle.append(e.includes("!s")?"!s":e.includes("s")?"s":void 0,t)):[this.boldStyle,this.italicStyle,this.underlinedStyle,this.strikethrougStyle].forEach((e=>e.append(void 0,t)))}getStyle(){return[this.boldStyle,this.italicStyle,this.underlinedStyle,this.strikethrougStyle].map((e=>e.getStyle())).filter((e=>!!e&&!e.startsWith("!"))).join("")}reset(){[this.boldStyle,this.italicStyle,this.underlinedStyle,this.strikethrougStyle].forEach((e=>e.reset()))}hasStyle(e){return"b"===e?!!this.boldStyle.getStyle():"i"===e?!!this.italicStyle.getStyle():"s"===e?!!this.strikethrougStyle.getStyle():"u"===e&&!!this.underlinedStyle.getStyle()}}class Z extends V{append(e,t){"string"==typeof e&&this.isTransparentColor(e)?super.append(void 0,t):super.append(e,t)}isTransparentColor(e){if("transparent"===e)return!0;if(e.startsWith("rgba(")&&e.endsWith(")")){const t=e.slice(5,-1).split(",").map((e=>e.trim()));return 4===t.length&&0===parseInt(t[3])}return!1}}class ee extends V{getStyle(){const e=super.getStyle();return e===me.REGULAR?void 0:e}}class te extends V{append(e,t){"string"==typeof e&&this.isBlackColor(e)?super.append(void 0,t):super.append(e,t)}isBlackColor(e){if("black"===e)return!0;if("windowtext"===e||"window"===e)return!0;if(e.startsWith("rgba(")&&e.endsWith(")")){const t=e.slice(5,-1).split(",").map((e=>e.trim()));return 4===t.length&&0===parseInt(t[0])&&0===parseInt(t[1])&&0===parseInt(t[2])&&1===parseInt(t[3])}if(e.startsWith("rgb(")&&e.endsWith(")")){const t=e.slice(4,-1).split(",").map((e=>e.trim()));return 3===t.length&&0===parseInt(t[0])&&0===parseInt(t[1])&&0===parseInt(t[2])}return!1}}class ne{deriveRichXmlElementAndProperties(){const e=this.deriveRichXmlElement();return $(this).forEach((({attributeName:t,value:n})=>e.setAttribute(t,n))),e}serializeToRichXml(){return this.deriveRichXmlElementAndProperties().innerHTML.replaceAll("
","
").replaceAll("
","
").replaceAll(" "," ")}copyStylesFromXmlElement(e){J(this).forEach((t=>{if(e.hasAttribute(t.value)){let n=e.getAttribute(t.value);if(function(e,t){return B.get(e.constructor.name)?.has(t.propertyKey)??!1}(this,t)&&(n=parseFloat(n)),"number"==typeof n&&isNaN(n))return;let r=this[t.propertyKey];r instanceof V?r.append(n,!1):this[t.propertyKey]=n}}))}serializeToHtml(){return Array.from(this.buildHtmlDocumentFragment().children).map((e=>e.outerHTML)).join("")}}let re=(r=j("bcolor"),i=j("font"),s=j("color"),l=j("fstyle"),o=j("size"),a=G(),c=j("sizec"),u=G(),h=q((p=class extends ne{constructor(...e){super(...e),U(this,"bcolor",h,this),U(this,"font",d,this),U(this,"color",m,this),U(this,"fstyle",f,this),U(this,"size",y,this),U(this,"sizec",g,this)}copyStylesToHtmlElement(e){const t=e.style;t.backgroundColor=this.bcolor.getStyle()||"",t.fontFamily=this.font||"",t.color=this.color.getStyle()||"","number"==typeof this.sizec&&this.sizec>0&&1!==this.sizec&&(t.fontSize=`${this.sizec}rem`)}}).prototype,"bcolor",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Z}}),d=q(p.prototype,"font",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=q(p.prototype,"color",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new te}}),f=q(p.prototype,"fstyle",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Y}}),y=q(p.prototype,"size",[o,a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=q(p.prototype,"sizec",[c,u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p);class ie extends re{constructor(...e){super(...e),K(this,"li",[]),K(this,"alignat",void 0),K(this,"tabstopat",void 0)}getChildNodes(){return this.li}setChildNode(e,t){t instanceof pe&&(this.li[e]=t)}deriveRichXmlElement(){const e=this.createElementFactory();return this.li.forEach((t=>{const n=Array.from(t.deriveRichXmlElementAndProperties().childNodes),r=document.createElement("li");n.forEach((e=>r.appendChild(e))),e.appendChild(r)})),e}buildHtmlDocumentFragment(){const e=document.createDocumentFragment(),t=this.createElementFactory();return e.appendChild(t),this.li.forEach((e=>{const n=document.createElement("li");n.appendChild(e.buildHtmlDocumentFragment()),t.appendChild(n)})),e}}class se extends ie{constructor(...e){super(...e),K(this,"type",he.NUMERIC)}createElementFactory(){return document.createElement("ol")}}class le extends ie{constructor(...e){super(...e),K(this,"type",de.SOLID_SMALL_CIRCLE)}createElementFactory(){return document.createElement("ul")}}let oe=(b=j("type"),E=j("subp-fontcoeff"),S=G(),w=j("subp-offsetcoeff"),v=G(),L=q((C=class extends re{constructor(...e){super(...e),K(this,"innerText",void 0),U(this,"type",L,this),U(this,"subp_fontcoeff",M,this),U(this,"subp_offsetcoeff",I,this)}getChildNodes(){return[]}setChildNode(e,t){}deriveRichXmlElement(){const e=document.createElement("span");return e.innerHTML=this.innerText??"",e}styleChecksum(){return(0,W.computeJsonChecksum)($(this).reduce(((e,t)=>(e[t.attributeName]=t.value,e)),{}))}buildHtmlDocumentFragment(){const e=document.createDocumentFragment(),t=document.createElement("span");t.innerHTML=this.innerText??"",this.copyStylesToHtmlElement(t);let n=t;const r=e=>{const t=document.createElement(e);t.appendChild(n),n=t};return this.fstyle?.hasStyle("b")&&r("strong"),this.fstyle?.hasStyle("i")&&r("em"),this.fstyle?.hasStyle("u")&&r("u"),this.fstyle?.hasStyle("s")&&r("del"),this.type.getStyle()===me.SUB?r("sub"):this.type.getStyle()===me.SUP&&r("sup"),e.appendChild(n),e}}).prototype,"type",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new ee}}),M=q(C.prototype,"subp_fontcoeff",[E,S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=q(C.prototype,"subp_offsetcoeff",[w,v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C),ae=(T=j("halign"),x=j("space"),R=G(),A=j("space-c"),N=G(),H=q((D=class extends re{constructor(...e){super(...e),K(this,"spans",[]),U(this,"halign",H,this),U(this,"space",z,this),U(this,"space_c",k,this)}getChildNodes(){return this.spans}setChildNode(e,t){t instanceof oe&&(this.spans[e]=t)}mergeSpans(){if(this.spans.length<2)return;let e=this.spans.at(-1)?.styleChecksum()??0;for(let t=this.spans.length-2;t>=0;t--){const n=this.spans[t].styleChecksum();e===n?(this.spans[t].innerText+=this.spans[t+1].innerText??"",this.spans.splice(t+1,1)):e=n}}deriveRichXmlElement(){const e=document.createElement("p");return this.mergeSpans(),this.spans.forEach((t=>e.appendChild(t.deriveRichXmlElementAndProperties()))),e}buildHtmlDocumentFragment(){const e=document.createDocumentFragment(),t=document.createElement("p");return this.copyStylesToHtmlElement(t),e.appendChild(t),this.spans.forEach((e=>t.appendChild(e.buildHtmlDocumentFragment()))),e}copyStylesToHtmlElement(e){super.copyStylesToHtmlElement(e);const t=this.halign.getStyle()??fe.LEFT,n=e.style;t===fe.BLOCK?n.textAlign=" justify":t===fe.CENTER?n.textAlign="center":t===fe.RIGHT&&(n.textAlign="right")}}).prototype,"halign",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new V}}),z=q(D.prototype,"space",[x,R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=q(D.prototype,"space_c",[A,N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new V}}),D);class ce extends re{getChildNodes(){return[]}setChildNode(e,t){}deriveRichXmlElement(){return document.createElement("br")}buildHtmlDocumentFragment(){const e=document.createDocumentFragment(),t=document.createElement("br");return this.copyStylesToHtmlElement(t),e.appendChild(t),e}}let ue=(O=j("thickness"),_=G(),P=q((F=class extends re{constructor(...e){super(...e),U(this,"thickness",P,this)}getChildNodes(){return[]}setChildNode(e,t){}deriveRichXmlElement(){return document.createElement("hr")}buildHtmlDocumentFragment(){const e=document.createDocumentFragment(),t=document.createElement("hr");return this.copyStylesToHtmlElement(t),e.appendChild(t),e}}).prototype,"thickness",[O,_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F);class pe extends re{constructor(...e){super(...e),K(this,"elements",[])}getChildNodes(){return this.elements}setChildNode(e,t){this.elements[e]=t}deriveRichXmlElement(){const e=document.createElement("text");return this.elements.forEach((t=>e.appendChild(t.deriveRichXmlElementAndProperties()))),e}buildHtmlDocumentFragment(){const e=document.createDocumentFragment();return this.elements.forEach((t=>e.appendChild(t.buildHtmlDocumentFragment()))),e}}var he=function(e){return e.NUMERIC="NUMERIC",e.ALPHABETIC="ALPHABETIC",e.ROMAN="ROMAN",e}(he||{}),de=function(e){return e.SOLID_SMALL_CIRCLE="SOLID_SMALL_CIRCLE",e.SOLID_LARGE_CIRCLE="SOLID_LARGE_CIRCLE",e.SOLID_DIAMOND="SOLID_DIAMOND",e.SOLID_SQUARE="SOLID_SQUARE",e.RIGHT_ARROW_FILLED_OUT="RIGHT_ARROW_FILLED_OUT",e.RIGHT_ARROW="RIGHT_ARROW",e.CHECK_MARK="CHECK_MARK",e.TICK_MARK="TICK_MARK",e}(de||{});let me=function(e){return e.REGULAR="REGULAR",e.SUP="SUP",e.SUB="SUB",e}({}),fe=function(e){return e.LEFT="LEFT",e.CENTER="CENTER",e.RIGHT="RIGHT",e.BLOCK="BLOCK",e}({})},49427:(e,t,n)=>{n.d(t,{S:()=>d});var r=n(74949);const i="arabic";function s(e){const t=function(e){const t=[];return Array.from(e.head.querySelectorAll("style")).forEach((e=>{const n=e.innerHTML,r=/@list\s+(l\d+)(?::(level\d+))?\s*\{([^}]+)\}/g;let s;for(;null!==(s=r.exec(n));){const e=s[1],n=s[2],r=s[3],l=/mso-level-number-format\s*:\s*([^;]+);/.exec(r)?.[1].trim()??i;n&&c.includes(n)&&l&&t.push({listId:e,level:c.indexOf(n),msoFormat:l})}})),t}(e);l(e.body,t)}function l(e,t){let n=function(e){const t=[];let n,r,i=e.children;for(let e=0;ee.remove())),o(r,e[1][0]);for(let t=1;t{e instanceof HTMLElement&&"ignore"===e.style.getPropertyValue("mso-list").toLowerCase().trim()&&e.remove()}))}(t);const n=document.createElement("li");n.appendChild(t),e.appendChild(n)}function a(e){const t=e.getAttribute("style")?.split(";").filter((e=>!!e)).reduce(((e,t)=>{const n=t.split(":");return 2===n.length&&(e[n[0]]=n[1]),e}),{});if(!t)return;const n=t["mso-list"];return n?function(e){const t=e.split(" ").map((e=>e.trim()));if(3===t.length&&c.includes(t[1]))return{listId:t[0],level:c.indexOf(t[1]),lfo:t[2]}}(n):void 0}const c=["level1","level2","level3","level4","level5","level6","level7","level8","level9"];function u(e,t){const n=t.find((t=>t.listId===e.listId&&t.level===e.level));return n?"bullet"===n.msoFormat?"ul":"ol":void 0}const p=[".ListContainerWrapper",".NumberListStyle1",".BulletListStyle1",".OutlineElement",".TextRun",".NormalTextRun",".EOP",".ListParagraph",".MsoNormal","li[data-listid]"],h=["p","span","a","em","strong","del","font","label","i","b","u","small","sub","sup","strike"];function d(e){if(!e)return null;try{e=function(e){return e.replace(/<(\w+)([^>]*)>([^<]*)<\/\1>/g,((e,t,n,r)=>`<${t} ${n.replace(/(\r\n|\n|\r)/gm,"")}>${r.replace(/^[\r\n\t]+/g,"").replace(/[\r\n\t]+/g," ")}`)).replace(/(\r\n|\n|\r)/gm,"").replace(/\t/g," ")}(e);const t=(new DOMParser).parseFromString(e,"text/html");!function(e){const t=e.documentElement,n="urn:schemas-microsoft-com:office:office"===t.getAttribute("xmlns:o")&&"urn:schemas-microsoft-com:office:word"===t.getAttribute("xmlns:w"),r=Array.from(e.head.querySelectorAll("meta")).some((e=>{const t=e.getAttribute("content")??"";return t.includes("Microsoft Word")||t.includes("Word.Document")}));return n||r}(t)?function(e){return!!e.body.querySelector(p.join(", "))}(t)&&function(e){!function(e){const t=e.body.querySelectorAll("li[data-listid]"),n=new Map;t.forEach((e=>{const t=e.getAttribute("data-listid");t&&(n.has(t)?n.get(t).push(e):n.set(t,[e]))})),[...n.values()].forEach((e=>{if(e.length<=1)return;const t=e[0].parentElement;for(let n=1;n{const t=e.style.backgroundColor;if(t.startsWith("rgb(")&&t.endsWith(")")){const n=t.slice(4,-1).split(",").map((e=>e.trim()));n.length>=3&&255===parseInt(n[0])&&255===parseInt(n[1])&&255===parseInt(n[2])&&(e.style.backgroundColor="")}}))}(e)}(t):s(t),f(t.body);const n=new r.sD;return y(t.body,n),v(n),n.serializeToRichXml()}catch(t){try{return(new DOMParser).parseFromString(e,"text/html").body.innerText}catch(e){}return'

Could not generate this text. Please contact our support.

'}}const m=new Set(["sub","sup","span","a","em","strong","del","font","i","b","u","small","strike"]);function f(e){let t=e.children;const n=[];let r;for(let e=0;ee.length)).forEach((e=>{const t=document.createElement("p");e[0].replaceWith(t),e.forEach((e=>t.appendChild(e))),i.add(t)})),t=e.children;for(let e=0;e{const n=new r.sD;t.li.push(n),y(e,n)})),t}function E(e,t){let n=e;for(;n;){if(n instanceof HTMLElement){const e=n.style;"bold"===n.style.fontWeight||"bolder"===n.style.fontWeight||!isNaN(parseInt(n.style.fontWeight))&&parseInt(n.style.fontWeight)>=600?t.fstyle?.append("b"):("normal"===n.style.fontWeight||"lighter"===n.style.fontWeight||!isNaN(parseInt(n.style.fontWeight))&&parseInt(n.style.fontWeight)<600)&&t.fstyle?.append("!b"),n.style.textDecoration?.includes("underline")||n.style.textDecorationLine?.includes("underline")?t.fstyle?.append("u"):"none"!==n.style.textDecoration&&"none"!==n.style.textDecorationLine||t.fstyle?.append("!u"),n.style.textDecoration?.includes("line-through")||n.style.textDecorationLine?.includes("line-through")?t.fstyle?.append("s"):"none"!==n.style.textDecoration&&"none"!==n.style.textDecorationLine||t.fstyle?.append("!s"),"italic"===n.style.fontStyle?t.fstyle?.append("i"):"normal"===n.style.fontStyle&&t.fstyle?.append("!i"),t.color.appendDeclaration(e,"color"),t.bcolor.appendDeclaration(e,"background-color"),t.type.appendDeclaration(e,"vertical-align",(e=>"super"===e?r.du.SUP:"sub"===e?r.du.SUB:e.length?r.du.REGULAR:void 0));const i=/\d+(\.\d+)?rem$/.exec(n.style.fontSize);if(i?.[0]){const e=parseFloat(i[0].slice(0,-3));t.sizec??=!isNaN(e)&&e>0&&1!==e?e:void 0}switch("font"===n.tagName.toLowerCase()&&t.color.append(n.getAttribute("color")??void 0,!1),n.tagName.toLowerCase()){case"strong":case"b":t.fstyle?.append("b");break;case"i":case"em":t.fstyle?.append("i");break;case"del":case"strike":case"s":t.fstyle?.append("s");break;case"u":t.fstyle?.append("u");break;case"sub":t.type.append(r.du.SUB,!1);break;case"sup":t.type.append(r.du.SUP,!1)}}n=n.parentElement}}function S(e,t){let n=e;if(e instanceof HTMLParagraphElement&&e.align)switch(e.align.toLowerCase()){case"center":t.halign.append(r.wq.CENTER);break;case"right":t.halign.append(r.wq.RIGHT);break;case"justify":t.halign.append(r.wq.BLOCK)}for(;n;){if(n instanceof HTMLParagraphElement){const e=n.style;t.space_c.appendDeclaration(e,"line-height",(e=>Number(e)||void 0)),t.color.appendDeclaration(e,"color"),t.bcolor.appendDeclaration(e,"background-color"),t.halign.appendDeclaration(e,"text-align",(e=>{switch(e?.toLowerCase()){case"center":return r.wq.CENTER;case"right":return r.wq.RIGHT;case"justify":return r.wq.BLOCK}}));break}n=n.parentElement}}function w(e){const t=e.getChildNodes();for(let e=t.length-1;e>=0;e--)t[e]instanceof r.fz&&!t[e].spans.length?t.splice(e,1):w(t[e])}function v(e){const t=e.getChildNodes();for(let n=0;n